/*!--------------------------------------------------------
 * Copyright (C) Microsoft Corporation. All rights reserved.
 *--------------------------------------------------------*/(function(){var he=["require","exports","vs/base/common/platform","vs/base/common/errors","vs/base/common/uri","vs/base/common/types","vs/base/common/lifecycle","vs/base/common/event","vs/base/common/cancellation","vs/base/common/path","vs/base/common/buffer","vs/base/common/process","vs/base/common/strings","vs/base/common/objects","vs/base/common/network","vs/base/common/async","vs/base/common/functional","vs/base/common/lazy","vs/base/common/extpath","vs/base/common/processes","vs/base/common/resources","vs/platform/instantiation/common/instantiation","vs/base/common/amd","vs/base/common/decorators","vs/base/common/arrays","vs/base/common/iterator","vs/base/common/linkedList","vs/base/common/map","vs/base/common/normalization","vs/base/common/stopwatch","vs/base/common/cache","vs/base/common/stream","vs/base/common/symbols","vs/base/common/uuid","vs/nls!vs/base/common/platform","vs/base/common/console","vs/base/common/marshalling","vs/amdX","vs/base/node/pfs","vs/base/node/processes","vs/base/parts/ipc/common/ipc","vs/base/parts/ipc/node/ipc.cp","vs/platform/configuration/common/configuration","vs/platform/product/common/product","vs/platform/remote/common/remoteHosts","vs/platform/telemetry/common/commonProperties","vs/platform/telemetry/common/telemetry","vs/platform/telemetry/common/telemetryIpc","vs/platform/telemetry/common/telemetryUtils","vs/platform/telemetry/common/1dsAppender","vs/platform/telemetry/node/1dsAppender","vs/nls","vs/nls!vs/workbench/contrib/debug/node/telemetryApp","fs","os","util","child_process","https","vs/workbench/contrib/debug/node/telemetryApp"],me=function(ae){for(var e=[],w=0,N=ae.length;w<N;w++)e[w]=he[ae[w]];return e};define(he[22],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoaderStats=e.isESM=void 0,e.isESM=!1;class w{static get(){const I=new Map,R=new Map,$=new Map,D=new Map;function m(M,y){M.has(y.detail)||M.set(y.detail,-y.timestamp)}function c(M,y){const p=M.get(y.detail);p&&(p>=0||M.set(y.detail,p+y.timestamp))}let P=[];typeof ae=="function"&&typeof ae.getStats=="function"&&(P=ae.getStats().slice(0).sort((M,y)=>M.timestamp-y.timestamp));for(const M of P)switch(M.type){case 10:m(I,M);break;case 11:case 12:c(I,M);break;case 21:m(R,M);break;case 22:c(R,M);break;case 33:m($,M);break;case 34:c($,M);break;case 31:m(D,M);break;case 32:c(D,M);break}let q=0;$.forEach(M=>q+=M);function T(M){const y=[];return M.forEach((p,s)=>y.push([s,p])),y}return{amdLoad:T(I),amdInvoke:T(R),nodeRequire:T($),nodeEval:T(D),nodeRequireTotal:q}}static toMarkdownTable(I,R){let $="";const D=[];return I.forEach((m,c)=>{D[c]=m.length}),R.forEach(m=>{m.forEach((c,P)=>{typeof c>"u"&&(c=m[P]="-");const q=c.toString().length;D[P]=Math.max(q,D[P])})}),I.forEach((m,c)=>{$+=`| ${m+" ".repeat(D[c]-m.toString().length)} `}),$+=`|
`,I.forEach((m,c)=>{$+=`| ${"-".repeat(D[c])} `}),$+=`|
`,R.forEach(m=>{m.forEach((c,P)=>{typeof c<"u"&&($+=`| ${c+" ".repeat(D[P]-c.toString().length)} `)}),$+=`|
`}),$}}e.LoaderStats=w}),define(he[23],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.throttle=e.debounce=e.memoize=void 0;function w($){return(D,m,c)=>{let P=null,q=null;if(typeof c.value=="function"?(P="value",q=c.value):typeof c.get=="function"&&(P="get",q=c.get),!q)throw new Error("not supported");c[P]=$(q,m)}}function N($,D,m){let c=null,P=null;if(typeof m.value=="function"?(c="value",P=m.value,P.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof m.get=="function"&&(c="get",P=m.get),!P)throw new Error("not supported");const q=`$memoize$${D}`;m[c]=function(...T){return this.hasOwnProperty(q)||Object.defineProperty(this,q,{configurable:!1,enumerable:!1,writable:!1,value:P.apply(this,T)}),this[q]}}e.memoize=N;function I($,D,m){return w((c,P)=>{const q=`$debounce$${P}`,T=`$debounce$result$${P}`;return function(...M){this[T]||(this[T]=m?m():void 0),clearTimeout(this[q]),D&&(this[T]=D(this[T],...M),M=[this[T]]),this[q]=setTimeout(()=>{c.apply(this,M),this[T]=m?m():void 0},$)}})}e.debounce=I;function R($,D,m){return w((c,P)=>{const q=`$throttle$timer$${P}`,T=`$throttle$result$${P}`,M=`$throttle$lastRun$${P}`,y=`$throttle$pending$${P}`;return function(...p){if(this[T]||(this[T]=m?m():void 0),(this[M]===null||this[M]===void 0)&&(this[M]=-Number.MAX_VALUE),D&&(this[T]=D(this[T],...p)),this[y])return;const s=this[M]+$;s<=Date.now()?(this[M]=Date.now(),c.apply(this,[this[T]]),this[T]=m?m():void 0):(this[y]=!0,this[q]=setTimeout(()=>{this[y]=!1,this[M]=Date.now(),c.apply(this,[this[T]]),this[T]=m?m():void 0},s-Date.now()))}})}e.throttle=R}),define(he[3],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BugIndicatingError=e.ErrorNoTelemetry=e.ExpectedError=e.NotSupportedError=e.NotImplementedError=e.getErrorMessage=e.disposed=e.readonly=e.illegalState=e.illegalArgument=e.canceled=e.CancellationError=e.isCancellationError=e.transformErrorForSerialization=e.onUnexpectedExternalError=e.onUnexpectedError=e.isSigPipeError=e.setUnexpectedErrorHandler=e.errorHandler=e.ErrorHandler=void 0;class w{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(n){setTimeout(()=>{throw n.stack?C.isErrorNoTelemetry(n)?new C(n.message+`

`+n.stack):new Error(n.message+`

`+n.stack):n},0)}}addListener(n){return this.listeners.push(n),()=>{this._removeListener(n)}}emit(n){this.listeners.forEach(L=>{L(n)})}_removeListener(n){this.listeners.splice(this.listeners.indexOf(n),1)}setUnexpectedErrorHandler(n){this.unexpectedErrorHandler=n}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(n){this.unexpectedErrorHandler(n),this.emit(n)}onUnexpectedExternalError(n){this.unexpectedErrorHandler(n)}}e.ErrorHandler=w,e.errorHandler=new w;function N(t){e.errorHandler.setUnexpectedErrorHandler(t)}e.setUnexpectedErrorHandler=N;function I(t){if(!t||typeof t!="object")return!1;const n=t;return n.code==="EPIPE"&&n.syscall?.toUpperCase()==="WRITE"}e.isSigPipeError=I;function R(t){c(t)||e.errorHandler.onUnexpectedError(t)}e.onUnexpectedError=R;function $(t){c(t)||e.errorHandler.onUnexpectedExternalError(t)}e.onUnexpectedExternalError=$;function D(t){if(t instanceof Error){const{name:n,message:L}=t;let u=t.errorCode;const l=t.stacktrace||t.stack;return{$isError:!0,name:n,message:L,stack:l,errorCode:u,data:t.data}}return t}e.transformErrorForSerialization=D;const m="Canceled";function c(t){return t instanceof P?!0:t instanceof Error&&t.name===m&&t.message===m}e.isCancellationError=c;class P extends Error{constructor(){super(m),this.name=this.message}}e.CancellationError=P;function q(){const t=new Error(m);return t.name=t.message,t}e.canceled=q;function T(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}e.illegalArgument=T;function M(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}e.illegalState=M;function y(t){return t?new Error(`readonly property '${t} cannot be changed'`):new Error("readonly property cannot be changed")}e.readonly=y;function p(t){const n=new Error(`${t} has been disposed`);return n.name="DISPOSED",n}e.disposed=p;function s(t){return t?t.message?t.message:t.stack?t.stack.split(`
`)[0]:String(t):"Error"}e.getErrorMessage=s;class v extends Error{constructor(n){super("NotImplemented"),n&&(this.message=n)}}e.NotImplementedError=v;class a extends Error{constructor(n){super("NotSupported"),n&&(this.message=n)}}e.NotSupportedError=a;class O extends Error{constructor(){super(...arguments),this.isExpected=!0}}e.ExpectedError=O;class C extends Error{constructor(n){super(n),this.name="CodeExpectedError"}static fromError(n){if(n instanceof C)return n;const L=new C;return L.message=n.message,L.stack=n.stack,L}static isErrorNoTelemetry(n){return n.name==="CodeExpectedError"}}e.ErrorNoTelemetry=C;class U extends Error{constructor(n){super(n||"An unexpected bug occurred."),Object.setPrototypeOf(this,U.prototype)}}e.BugIndicatingError=U}),define(he[24],me([0,1,3]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CallbackIterable=e.ArrayQueue=e.findMaxIdxBy=e.findMinBy=e.findLastMaxBy=e.findMaxBy=e.reverseOrder=e.booleanComparator=e.numberComparator=e.tieBreakComparators=e.compareBy=e.CompareResult=e.splice=e.insertInto=e.mapFind=e.getRandomElement=e.asArray=e.mapArrayOrNot=e.pushMany=e.pushToEnd=e.pushToStart=e.shuffle=e.arrayInsert=e.remove=e.insert=e.index=e.range=e.flatten=e.commonPrefixLength=e.lastOrDefault=e.firstOrDefault=e.findLastIndex=e.findLast=e.uniqueFilter=e.distinct=e.isNonEmptyArray=e.isFalsyOrEmpty=e.move=e.coalesceInPlace=e.coalesce=e.topAsync=e.top=e.delta=e.sortedDiff=e.groupBy=e.quickSelect=e.findFirstInSorted=e.binarySearch2=e.binarySearch=e.removeFastWithoutKeepingOrder=e.equals=e.tail2=e.tail=void 0;function N(f,A=0){return f[f.length-(1+A)]}e.tail=N;function I(f){if(f.length===0)throw new Error("Invalid tail call");return[f.slice(0,f.length-1),f[f.length-1]]}e.tail2=I;function R(f,A,_=(F,G)=>F===G){if(f===A)return!0;if(!f||!A||f.length!==A.length)return!1;for(let F=0,G=f.length;F<G;F++)if(!_(f[F],A[F]))return!1;return!0}e.equals=R;function $(f,A){const _=f.length-1;A<_&&(f[A]=f[_]),f.pop()}e.removeFastWithoutKeepingOrder=$;function D(f,A,_){return m(f.length,F=>_(f[F],A))}e.binarySearch=D;function m(f,A){let _=0,F=f-1;for(;_<=F;){const G=(_+F)/2|0,re=A(G);if(re<0)_=G+1;else if(re>0)F=G-1;else return G}return-(_+1)}e.binarySearch2=m;function c(f,A){let _=0,F=f.length;if(F===0)return 0;for(;_<F;){const G=Math.floor((_+F)/2);A(f[G])?F=G:_=G+1}return _}e.findFirstInSorted=c;function P(f,A,_){if(f=f|0,f>=A.length)throw new TypeError("invalid index");const F=A[Math.floor(A.length*Math.random())],G=[],re=[],ye=[];for(const be of A){const Ee=_(be,F);Ee<0?G.push(be):Ee>0?re.push(be):ye.push(be)}return f<G.length?P(f,G,_):f<G.length+ye.length?ye[0]:P(f-(G.length+ye.length),re,_)}e.quickSelect=P;function q(f,A){const _=[];let F;for(const G of f.slice(0).sort(A))!F||A(F[0],G)!==0?(F=[G],_.push(F)):F.push(G);return _}e.groupBy=q;function T(f,A,_){const F=[];function G(be,Ee,Ce){if(Ee===0&&Ce.length===0)return;const _e=F[F.length-1];_e&&_e.start+_e.deleteCount===be?(_e.deleteCount+=Ee,_e.toInsert.push(...Ce)):F.push({start:be,deleteCount:Ee,toInsert:Ce})}let re=0,ye=0;for(;;){if(re===f.length){G(re,0,A.slice(ye));break}if(ye===A.length){G(re,f.length-re,[]);break}const be=f[re],Ee=A[ye],Ce=_(be,Ee);Ce===0?(re+=1,ye+=1):Ce<0?(G(re,1,[]),re+=1):Ce>0&&(G(re,0,[Ee]),ye+=1)}return F}e.sortedDiff=T;function M(f,A,_){const F=T(f,A,_),G=[],re=[];for(const ye of F)G.push(...f.slice(ye.start,ye.start+ye.deleteCount)),re.push(...ye.toInsert);return{removed:G,added:re}}e.delta=M;function y(f,A,_){if(_===0)return[];const F=f.slice(0,_).sort(A);return s(f,A,F,_,f.length),F}e.top=y;function p(f,A,_,F,G){return _===0?Promise.resolve([]):new Promise((re,ye)=>{(async()=>{const be=f.length,Ee=f.slice(0,_).sort(A);for(let Ce=_,_e=Math.min(_+F,be);Ce<be;Ce=_e,_e=Math.min(_e+F,be)){if(Ce>_&&await new Promise(Oe=>setTimeout(Oe)),G&&G.isCancellationRequested)throw new w.CancellationError;s(f,A,Ee,Ce,_e)}return Ee})().then(re,ye)})}e.topAsync=p;function s(f,A,_,F,G){for(const re=_.length;F<G;F++){const ye=f[F];if(A(ye,_[re-1])<0){_.pop();const be=c(_,Ee=>A(ye,Ee)<0);_.splice(be,0,ye)}}}function v(f){return f.filter(A=>!!A)}e.coalesce=v;function a(f){let A=0;for(let _=0;_<f.length;_++)f[_]&&(f[A]=f[_],A+=1);f.length=A}e.coalesceInPlace=a;function O(f,A,_){f.splice(_,0,f.splice(A,1)[0])}e.move=O;function C(f){return!Array.isArray(f)||f.length===0}e.isFalsyOrEmpty=C;function U(f){return Array.isArray(f)&&f.length>0}e.isNonEmptyArray=U;function t(f,A=_=>_){const _=new Set;return f.filter(F=>{const G=A(F);return _.has(G)?!1:(_.add(G),!0)})}e.distinct=t;function n(f){const A=new Set;return _=>{const F=f(_);return A.has(F)?!1:(A.add(F),!0)}}e.uniqueFilter=n;function L(f,A){const _=u(f,A);if(_!==-1)return f[_]}e.findLast=L;function u(f,A){for(let _=f.length-1;_>=0;_--){const F=f[_];if(A(F))return _}return-1}e.findLastIndex=u;function l(f,A){return f.length>0?f[0]:A}e.firstOrDefault=l;function i(f,A){return f.length>0?f[f.length-1]:A}e.lastOrDefault=i;function r(f,A,_=(F,G)=>F===G){let F=0;for(let G=0,re=Math.min(f.length,A.length);G<re&&_(f[G],A[G]);G++)F++;return F}e.commonPrefixLength=r;function g(f){return[].concat(...f)}e.flatten=g;function S(f,A){let _=typeof A=="number"?f:0;typeof A=="number"?_=f:(_=0,A=f);const F=[];if(_<=A)for(let G=_;G<A;G++)F.push(G);else for(let G=_;G>A;G--)F.push(G);return F}e.range=S;function o(f,A,_){return f.reduce((F,G)=>(F[A(G)]=_?_(G):G,F),Object.create(null))}e.index=o;function d(f,A){return f.push(A),()=>k(f,A)}e.insert=d;function k(f,A){const _=f.indexOf(A);if(_>-1)return f.splice(_,1),A}e.remove=k;function K(f,A,_){const F=f.slice(0,A),G=f.slice(A);return F.concat(_,G)}e.arrayInsert=K;function ie(f,A){let _;if(typeof A=="number"){let F=A;_=()=>{const G=Math.sin(F++)*179426549;return G-Math.floor(G)}}else _=Math.random;for(let F=f.length-1;F>0;F-=1){const G=Math.floor(_()*(F+1)),re=f[F];f[F]=f[G],f[G]=re}}e.shuffle=ie;function oe(f,A){const _=f.indexOf(A);_>-1&&(f.splice(_,1),f.unshift(A))}e.pushToStart=oe;function ge(f,A){const _=f.indexOf(A);_>-1&&(f.splice(_,1),f.push(A))}e.pushToEnd=ge;function le(f,A){for(const _ of A)f.push(_)}e.pushMany=le;function H(f,A){return Array.isArray(f)?f.map(A):A(f)}e.mapArrayOrNot=H;function ne(f){return Array.isArray(f)?f:[f]}e.asArray=ne;function se(f){return f[Math.floor(Math.random()*f.length)]}e.getRandomElement=se;function fe(f,A){for(const _ of f){const F=A(_);if(F!==void 0)return F}}e.mapFind=fe;function z(f,A,_){const F=j(f,A),G=f.length,re=_.length;f.length=G+re;for(let ye=G-1;ye>=F;ye--)f[ye+re]=f[ye];for(let ye=0;ye<re;ye++)f[ye+F]=_[ye]}e.insertInto=z;function b(f,A,_,F){const G=j(f,A),re=f.splice(G,_);return z(f,G,F),re}e.splice=b;function j(f,A){return A<0?Math.max(A+f.length,0):Math.min(A,f.length)}var V;(function(f){function A(re){return re<0}f.isLessThan=A;function _(re){return re<=0}f.isLessThanOrEqual=_;function F(re){return re>0}f.isGreaterThan=F;function G(re){return re===0}f.isNeitherLessOrGreaterThan=G,f.greaterThan=1,f.lessThan=-1,f.neitherLessOrGreaterThan=0})(V||(e.CompareResult=V={}));function te(f,A){return(_,F)=>A(f(_),f(F))}e.compareBy=te;function x(...f){return(A,_)=>{for(const F of f){const G=F(A,_);if(!V.isNeitherLessOrGreaterThan(G))return G}return V.neitherLessOrGreaterThan}}e.tieBreakComparators=x;const ve=(f,A)=>f-A;e.numberComparator=ve;const de=(f,A)=>(0,e.numberComparator)(f?1:0,A?1:0);e.booleanComparator=de;function Y(f){return(A,_)=>-f(A,_)}e.reverseOrder=Y;function E(f,A){if(f.length===0)return;let _=f[0];for(let F=1;F<f.length;F++){const G=f[F];A(G,_)>0&&(_=G)}return _}e.findMaxBy=E;function B(f,A){if(f.length===0)return;let _=f[0];for(let F=1;F<f.length;F++){const G=f[F];A(G,_)>=0&&(_=G)}return _}e.findLastMaxBy=B;function J(f,A){return E(f,(_,F)=>-A(_,F))}e.findMinBy=J;function Z(f,A){if(f.length===0)return-1;let _=0;for(let F=1;F<f.length;F++){const G=f[F];A(G,f[_])>0&&(_=F)}return _}e.findMaxIdxBy=Z;class ue{constructor(A){this.items=A,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(A){let _=this.firstIdx;for(;_<this.items.length&&A(this.items[_]);)_++;const F=_===this.firstIdx?null:this.items.slice(this.firstIdx,_);return this.firstIdx=_,F}takeFromEndWhile(A){let _=this.lastIdx;for(;_>=0&&A(this.items[_]);)_--;const F=_===this.lastIdx?null:this.items.slice(_+1,this.lastIdx+1);return this.lastIdx=_,F}peek(){if(this.length!==0)return this.items[this.firstIdx]}peekLast(){if(this.length!==0)return this.items[this.lastIdx]}dequeue(){const A=this.items[this.firstIdx];return this.firstIdx++,A}removeLast(){const A=this.items[this.lastIdx];return this.lastIdx--,A}takeCount(A){const _=this.items.slice(this.firstIdx,this.firstIdx+A);return this.firstIdx+=A,_}}e.ArrayQueue=ue;class X{static{this.empty=new X(A=>{})}constructor(A){this.iterate=A}forEach(A){this.iterate(_=>(A(_),!0))}toArray(){const A=[];return this.iterate(_=>(A.push(_),!0)),A}filter(A){return new X(_=>this.iterate(F=>A(F)?_(F):!0))}map(A){return new X(_=>this.iterate(F=>_(A(F))))}some(A){let _=!1;return this.iterate(F=>(_=A(F),!_)),_}findFirst(A){let _;return this.iterate(F=>A(F)?(_=F,!1):!0),_}findLast(A){let _;return this.iterate(F=>(A(F)&&(_=F),!0)),_}findLastMaxBy(A){let _,F=!0;return this.iterate(G=>((F||V.isGreaterThan(A(G,_)))&&(F=!1,_=G),!0)),_}}e.CallbackIterable=X}),define(he[16],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=void 0;function w(N){const I=this;let R=!1,$;return function(){return R||(R=!0,$=N.apply(I,arguments)),$}}e.once=w}),define(he[25],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var w;(function(N){function I(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}N.is=I;const R=Object.freeze([]);function $(){return R}N.empty=$;function*D(C){yield C}N.single=D;function m(C){return I(C)?C:D(C)}N.wrap=m;function c(C){return C||R}N.from=c;function P(C){return!C||C[Symbol.iterator]().next().done===!0}N.isEmpty=P;function q(C){return C[Symbol.iterator]().next().value}N.first=q;function T(C,U){for(const t of C)if(U(t))return!0;return!1}N.some=T;function M(C,U){for(const t of C)if(U(t))return t}N.find=M;function*y(C,U){for(const t of C)U(t)&&(yield t)}N.filter=y;function*p(C,U){let t=0;for(const n of C)yield U(n,t++)}N.map=p;function*s(...C){for(const U of C)for(const t of U)yield t}N.concat=s;function v(C,U,t){let n=t;for(const L of C)n=U(n,L);return n}N.reduce=v;function*a(C,U,t=C.length){for(U<0&&(U+=C.length),t<0?t+=C.length:t>C.length&&(t=C.length);U<t;U++)yield C[U]}N.slice=a;function O(C,U=Number.POSITIVE_INFINITY){const t=[];if(U===0)return[t,C];const n=C[Symbol.iterator]();for(let L=0;L<U;L++){const u=n.next();if(u.done)return[t,N.empty()];t.push(u.value)}return[t,{[Symbol.iterator](){return n}}]}N.consume=O})(w||(e.Iterable=w={}))}),define(he[17],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lazy=void 0;class w{constructor(I){this.executor=I,this._didRun=!1}get hasValue(){return this._didRun}get value(){if(!this._didRun)try{this._value=this.executor()}catch(I){this._error=I}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}e.Lazy=w}),define(he[6],me([0,1,16,25]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.disposeOnReturn=e.ImmortalReference=e.AsyncReferenceCollection=e.ReferenceCollection=e.SafeDisposable=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.disposeIfDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.setDisposableTracker=void 0;const I=!1;let R=null;function $(i){R=i}if(e.setDisposableTracker=$,I){const i="__is_disposable_tracked__";$(new class{trackDisposable(r){const g=new Error("Potentially leaked disposable").stack;setTimeout(()=>{r[i]||console.log(g)},3e3)}setParent(r,g){if(r&&r!==a.None)try{r[i]=!0}catch{}}markAsDisposed(r){if(r&&r!==a.None)try{r[i]=!0}catch{}}markAsSingleton(r){}})}function D(i){return R?.trackDisposable(i),i}function m(i){R?.markAsDisposed(i)}function c(i,r){R?.setParent(i,r)}function P(i,r){if(R)for(const g of i)R.setParent(g,r)}function q(i){return R?.markAsSingleton(i),i}e.markAsSingleton=q;function T(i){return typeof i.dispose=="function"&&i.dispose.length===0}e.isDisposable=T;function M(i){if(N.Iterable.is(i)){const r=[];for(const g of i)if(g)try{g.dispose()}catch(S){r.push(S)}if(r.length===1)throw r[0];if(r.length>1)throw new AggregateError(r,"Encountered errors while disposing of store");return Array.isArray(i)?[]:i}else if(i)return i.dispose(),i}e.dispose=M;function y(i){for(const r of i)T(r)&&r.dispose();return[]}e.disposeIfDisposable=y;function p(...i){const r=s(()=>M(i));return P(i,r),r}e.combinedDisposable=p;function s(i){const r=D({dispose:(0,w.once)(()=>{m(r),i()})});return r}e.toDisposable=s;class v{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1,D(this)}dispose(){this._isDisposed||(m(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{M(this._toDispose)}finally{this._toDispose.clear()}}add(r){if(!r)return r;if(r===this)throw new Error("Cannot register a disposable on itself!");return c(r,this),this._isDisposed?v.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(r),r}}e.DisposableStore=v;class a{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new v,D(this),c(this._store,this)}dispose(){m(this),this._store.dispose()}_register(r){if(r===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(r)}}e.Disposable=a;class O{constructor(){this._isDisposed=!1,D(this)}get value(){return this._isDisposed?void 0:this._value}set value(r){this._isDisposed||r===this._value||(this._value?.dispose(),r&&c(r,this),this._value=r)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,m(this),this._value?.dispose(),this._value=void 0}clearAndLeak(){const r=this._value;return this._value=void 0,r&&c(r,null),r}}e.MutableDisposable=O;class C{constructor(r){this._disposable=r,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=C;class U{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,D(this)}set(r){let g=r;return this.unset=()=>g=void 0,this.isset=()=>g!==void 0,this.dispose=()=>{g&&(g(),g=void 0,m(this))},this}}e.SafeDisposable=U;class t{constructor(){this.references=new Map}acquire(r,...g){let S=this.references.get(r);S||(S={counter:0,object:this.createReferencedObject(r,...g)},this.references.set(r,S));const{object:o}=S,d=(0,w.once)(()=>{--S.counter===0&&(this.destroyReferencedObject(r,S.object),this.references.delete(r))});return S.counter++,{object:o,dispose:d}}}e.ReferenceCollection=t;class n{constructor(r){this.referenceCollection=r}async acquire(r,...g){const S=this.referenceCollection.acquire(r,...g);try{return{object:await S.object,dispose:()=>S.dispose()}}catch(o){throw S.dispose(),o}}}e.AsyncReferenceCollection=n;class L{constructor(r){this.object=r}dispose(){}}e.ImmortalReference=L;function u(i){const r=new v;try{i(r)}finally{r.dispose()}}e.disposeOnReturn=u;class l{constructor(){this._store=new Map,this._isDisposed=!1,D(this)}dispose(){m(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{M(this._store.values())}finally{this._store.clear()}}has(r){return this._store.has(r)}get(r){return this._store.get(r)}set(r,g,S=!1){this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),S||this._store.get(r)?.dispose(),this._store.set(r,g)}deleteAndDispose(r){this._store.get(r)?.dispose(),this._store.delete(r)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=l}),define(he[26],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class w{static{this.Undefined=new w(void 0)}constructor(R){this.element=R,this.next=w.Undefined,this.prev=w.Undefined}}class N{constructor(){this._first=w.Undefined,this._last=w.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===w.Undefined}clear(){let R=this._first;for(;R!==w.Undefined;){const $=R.next;R.prev=w.Undefined,R.next=w.Undefined,R=$}this._first=w.Undefined,this._last=w.Undefined,this._size=0}unshift(R){return this._insert(R,!1)}push(R){return this._insert(R,!0)}_insert(R,$){const D=new w(R);if(this._first===w.Undefined)this._first=D,this._last=D;else if($){const c=this._last;this._last=D,D.prev=c,c.next=D}else{const c=this._first;this._first=D,D.next=c,c.prev=D}this._size+=1;let m=!1;return()=>{m||(m=!0,this._remove(D))}}shift(){if(this._first!==w.Undefined){const R=this._first.element;return this._remove(this._first),R}}pop(){if(this._last!==w.Undefined){const R=this._last.element;return this._remove(this._last),R}}_remove(R){if(R.prev!==w.Undefined&&R.next!==w.Undefined){const $=R.prev;$.next=R.next,R.next.prev=$}else R.prev===w.Undefined&&R.next===w.Undefined?(this._first=w.Undefined,this._last=w.Undefined):R.next===w.Undefined?(this._last=this._last.prev,this._last.next=w.Undefined):R.prev===w.Undefined&&(this._first=this._first.next,this._first.prev=w.Undefined);this._size-=1}*[Symbol.iterator](){let R=this._first;for(;R!==w.Undefined;)yield R.element,R=R.next}}e.LinkedList=N}),define(he[27],me([0,1]),function(ae,e){"use strict";var w,N,I;Object.defineProperty(e,"__esModule",{value:!0}),e.CounterSet=e.LRUCache=e.LinkedMap=e.Touch=e.ResourceSet=e.ResourceMap=e.setToString=e.mapToString=e.getOrSet=void 0;function R(p,s,v){let a=p.get(s);return a===void 0&&(a=v,p.set(s,a)),a}e.getOrSet=R;function $(p){const s=[];return p.forEach((v,a)=>{s.push(`${a} => ${v}`)}),`Map(${p.size}) {${s.join(", ")}}`}e.mapToString=$;function D(p){const s=[];return p.forEach(v=>{s.push(v)}),`Set(${p.size}) {${s.join(", ")}}`}e.setToString=D;class m{constructor(s,v){this.uri=s,this.value=v}}class c{static{this.defaultToKey=s=>s.toString()}constructor(s,v){this[w]="ResourceMap",s instanceof c?(this.map=new Map(s.map),this.toKey=v??c.defaultToKey):(this.map=new Map,this.toKey=s??c.defaultToKey)}set(s,v){return this.map.set(this.toKey(s),new m(s,v)),this}get(s){return this.map.get(this.toKey(s))?.value}has(s){return this.map.has(this.toKey(s))}get size(){return this.map.size}clear(){this.map.clear()}delete(s){return this.map.delete(this.toKey(s))}forEach(s,v){typeof v<"u"&&(s=s.bind(v));for(const[a,O]of this.map)s(O.value,O.uri,this)}*values(){for(const s of this.map.values())yield s.value}*keys(){for(const s of this.map.values())yield s.uri}*entries(){for(const s of this.map.values())yield[s.uri,s.value]}*[(w=Symbol.toStringTag,Symbol.iterator)](){for(const[,s]of this.map)yield[s.uri,s.value]}}e.ResourceMap=c;class P{constructor(s,v){this[N]="ResourceSet",!s||typeof s=="function"?this._map=new c(s):(this._map=new c(v),s.forEach(this.add,this))}get size(){return this._map.size}add(s){return this._map.set(s,s),this}clear(){this._map.clear()}delete(s){return this._map.delete(s)}forEach(s,v){this._map.forEach((a,O)=>s.call(v,O,O,this))}has(s){return this._map.has(s)}entries(){return this._map.entries()}keys(){return this._map.keys()}values(){return this._map.keys()}[(N=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}}e.ResourceSet=P;var q;(function(p){p[p.None=0]="None",p[p.AsOld=1]="AsOld",p[p.AsNew=2]="AsNew"})(q||(e.Touch=q={}));class T{constructor(){this[I]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(s){return this._map.has(s)}get(s,v=0){const a=this._map.get(s);if(a)return v!==0&&this.touch(a,v),a.value}set(s,v,a=0){let O=this._map.get(s);if(O)O.value=v,a!==0&&this.touch(O,a);else{switch(O={key:s,value:v,next:void 0,previous:void 0},a){case 0:this.addItemLast(O);break;case 1:this.addItemFirst(O);break;case 2:this.addItemLast(O);break;default:this.addItemLast(O);break}this._map.set(s,O),this._size++}return this}delete(s){return!!this.remove(s)}remove(s){const v=this._map.get(s);if(v)return this._map.delete(s),this.removeItem(v),this._size--,v.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const s=this._head;return this._map.delete(s.key),this.removeItem(s),this._size--,s.value}forEach(s,v){const a=this._state;let O=this._head;for(;O;){if(v?s.bind(v)(O.value,O.key,this):s(O.value,O.key,this),this._state!==a)throw new Error("LinkedMap got modified during iteration.");O=O.next}}keys(){const s=this,v=this._state;let a=this._head;const O={[Symbol.iterator](){return O},next(){if(s._state!==v)throw new Error("LinkedMap got modified during iteration.");if(a){const C={value:a.key,done:!1};return a=a.next,C}else return{value:void 0,done:!0}}};return O}values(){const s=this,v=this._state;let a=this._head;const O={[Symbol.iterator](){return O},next(){if(s._state!==v)throw new Error("LinkedMap got modified during iteration.");if(a){const C={value:a.value,done:!1};return a=a.next,C}else return{value:void 0,done:!0}}};return O}entries(){const s=this,v=this._state;let a=this._head;const O={[Symbol.iterator](){return O},next(){if(s._state!==v)throw new Error("LinkedMap got modified during iteration.");if(a){const C={value:[a.key,a.value],done:!1};return a=a.next,C}else return{value:void 0,done:!0}}};return O}[(I=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(s){if(s>=this.size)return;if(s===0){this.clear();return}let v=this._head,a=this.size;for(;v&&a>s;)this._map.delete(v.key),v=v.next,a--;this._head=v,this._size=a,v&&(v.previous=void 0),this._state++}addItemFirst(s){if(!this._head&&!this._tail)this._tail=s;else if(this._head)s.next=this._head,this._head.previous=s;else throw new Error("Invalid list");this._head=s,this._state++}addItemLast(s){if(!this._head&&!this._tail)this._head=s;else if(this._tail)s.previous=this._tail,this._tail.next=s;else throw new Error("Invalid list");this._tail=s,this._state++}removeItem(s){if(s===this._head&&s===this._tail)this._head=void 0,this._tail=void 0;else if(s===this._head){if(!s.next)throw new Error("Invalid list");s.next.previous=void 0,this._head=s.next}else if(s===this._tail){if(!s.previous)throw new Error("Invalid list");s.previous.next=void 0,this._tail=s.previous}else{const v=s.next,a=s.previous;if(!v||!a)throw new Error("Invalid list");v.previous=a,a.next=v}s.next=void 0,s.previous=void 0,this._state++}touch(s,v){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(v!==1&&v!==2)){if(v===1){if(s===this._head)return;const a=s.next,O=s.previous;s===this._tail?(O.next=void 0,this._tail=O):(a.previous=O,O.next=a),s.previous=void 0,s.next=this._head,this._head.previous=s,this._head=s,this._state++}else if(v===2){if(s===this._tail)return;const a=s.next,O=s.previous;s===this._head?(a.previous=void 0,this._head=a):(a.previous=O,O.next=a),s.next=void 0,s.previous=this._tail,this._tail.next=s,this._tail=s,this._state++}}}toJSON(){const s=[];return this.forEach((v,a)=>{s.push([a,v])}),s}fromJSON(s){this.clear();for(const[v,a]of s)this.set(v,a)}}e.LinkedMap=T;class M extends T{constructor(s,v=1){super(),this._limit=s,this._ratio=Math.min(Math.max(0,v),1)}get limit(){return this._limit}set limit(s){this._limit=s,this.checkTrim()}get ratio(){return this._ratio}set ratio(s){this._ratio=Math.min(Math.max(0,s),1),this.checkTrim()}get(s,v=2){return super.get(s,v)}peek(s){return super.get(s,0)}set(s,v){return super.set(s,v,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=M;class y{constructor(){this.map=new Map}add(s){return this.map.set(s,(this.map.get(s)||0)+1),this}delete(s){let v=this.map.get(s)||0;return v===0?!1:(v--,v===0?this.map.delete(s):this.map.set(s,v),!0)}has(s){return this.map.has(s)}}e.CounterSet=y}),define(he[28],me([0,1,27]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeAccents=e.normalizeNFD=e.normalizeNFC=void 0;const N=new w.LRUCache(1e4);function I(c){return m(c,"NFC",N)}e.normalizeNFC=I;const R=new w.LRUCache(1e4);function $(c){return m(c,"NFD",R)}e.normalizeNFD=$;const D=/[^\u0000-\u0080]/;function m(c,P,q){if(!c)return c;const T=q.get(c);if(T)return T;let M;return D.test(c)?M=c.normalize(P):M=c,q.set(c,M),M}e.removeAccents=function(){const c=/[\u0300-\u036f]/g;return function(P){return $(P).replace(c,"")}}()}),define(he[29],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StopWatch=void 0;const w=globalThis.performance&&typeof globalThis.performance.now=="function";class N{static create(R){return new N(R)}constructor(R){this._now=w&&R===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}e.StopWatch=N}),define(he[7],me([0,1,3,16,6,26,29]),function(ae,e,w,N,I,R,$){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Relay=e.EventBufferer=e.DynamicListEventMultiplexer=e.EventMultiplexer=e.MicrotaskEmitter=e.DebounceEmitter=e.PauseableEmitter=e.AsyncEmitter=e.createEventDeliveryQueue=e.Emitter=e.setGlobalLeakWarningThreshold=e.EventProfiling=e.Event=void 0;const D=!1,m=!1;var c;(function(S){S.None=()=>I.Disposable.None;function o(X){if(m){const{onDidAddListener:f}=X,A=y.create();let _=0;X.onDidAddListener=()=>{++_===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),A.print()),f?.()}}}function d(X,f){return se(X,()=>{},0,void 0,!0,void 0,f)}S.defer=d;function k(X){return(f,A=null,_)=>{let F=!1,G;return G=X(re=>{if(!F)return G?G.dispose():F=!0,f.call(A,re)},null,_),F&&G.dispose(),G}}S.once=k;function K(X,f,A){return ne((_,F=null,G)=>X(re=>_.call(F,f(re)),null,G),A)}S.map=K;function ie(X,f,A){return ne((_,F=null,G)=>X(re=>{f(re),_.call(F,re)},null,G),A)}S.forEach=ie;function oe(X,f,A){return ne((_,F=null,G)=>X(re=>f(re)&&_.call(F,re),null,G),A)}S.filter=oe;function ge(X){return X}S.signal=ge;function le(...X){return(f,A=null,_)=>(0,I.combinedDisposable)(...X.map(F=>F(G=>f.call(A,G),null,_)))}S.any=le;function H(X,f,A,_){let F=A;return K(X,G=>(F=f(F,G),F),_)}S.reduce=H;function ne(X,f){let A;const _={onWillAddFirstListener(){A=X(F.fire,F)},onDidRemoveLastListener(){A?.dispose()}};f||o(_);const F=new O(_);return f?.add(F),F.event}function se(X,f,A=100,_=!1,F=!1,G,re){let ye,be,Ee,Ce=0,_e;const Oe={leakWarningThreshold:G,onWillAddFirstListener(){ye=X(ke=>{Ce++,be=f(be,ke),_&&!Ee&&(Pe.fire(be),be=void 0),_e=()=>{const Ne=be;be=void 0,Ee=void 0,(!_||Ce>1)&&Pe.fire(Ne),Ce=0},typeof A=="number"?(clearTimeout(Ee),Ee=setTimeout(_e,A)):Ee===void 0&&(Ee=0,queueMicrotask(_e))})},onWillRemoveListener(){F&&Ce>0&&_e?.()},onDidRemoveLastListener(){_e=void 0,ye.dispose()}};re||o(Oe);const Pe=new O(Oe);return re?.add(Pe),Pe.event}S.debounce=se;function fe(X,f=0,A){return S.debounce(X,(_,F)=>_?(_.push(F),_):[F],f,void 0,!0,void 0,A)}S.accumulate=fe;function z(X,f=(_,F)=>_===F,A){let _=!0,F;return oe(X,G=>{const re=_||!f(G,F);return _=!1,F=G,re},A)}S.latch=z;function b(X,f,A){return[S.filter(X,f,A),S.filter(X,_=>!f(_),A)]}S.split=b;function j(X,f=!1,A=[]){let _=A.slice(),F=X(ye=>{_?_.push(ye):re.fire(ye)});const G=()=>{_?.forEach(ye=>re.fire(ye)),_=null},re=new O({onWillAddFirstListener(){F||(F=X(ye=>re.fire(ye)))},onDidAddFirstListener(){_&&(f?setTimeout(G):G())},onDidRemoveLastListener(){F&&F.dispose(),F=null}});return re.event}S.buffer=j;class V{constructor(f){this.event=f,this.disposables=new I.DisposableStore}map(f){return new V(K(this.event,f,this.disposables))}forEach(f){return new V(ie(this.event,f,this.disposables))}filter(f){return new V(oe(this.event,f,this.disposables))}reduce(f,A){return new V(H(this.event,f,A,this.disposables))}latch(){return new V(z(this.event,void 0,this.disposables))}debounce(f,A=100,_=!1,F=!1,G){return new V(se(this.event,f,A,_,F,G,this.disposables))}on(f,A,_){return this.event(f,A,_)}once(f,A,_){return k(this.event)(f,A,_)}dispose(){this.disposables.dispose()}}function te(X){return new V(X)}S.chain=te;function x(X,f,A=_=>_){const _=(...ye)=>re.fire(A(...ye)),F=()=>X.on(f,_),G=()=>X.removeListener(f,_),re=new O({onWillAddFirstListener:F,onDidRemoveLastListener:G});return re.event}S.fromNodeEventEmitter=x;function ve(X,f,A=_=>_){const _=(...ye)=>re.fire(A(...ye)),F=()=>X.addEventListener(f,_),G=()=>X.removeEventListener(f,_),re=new O({onWillAddFirstListener:F,onDidRemoveLastListener:G});return re.event}S.fromDOMEventEmitter=ve;function de(X){return new Promise(f=>k(X)(f))}S.toPromise=de;function Y(X){const f=new O;return X.then(A=>{f.fire(A)},()=>{f.fire(void 0)}).finally(()=>{f.dispose()}),f.event}S.fromPromise=Y;function E(X,f){return f(void 0),X(A=>f(A))}S.runAndSubscribe=E;function B(X,f){let A=null;function _(G){A?.dispose(),A=new I.DisposableStore,f(G,A)}_(void 0);const F=X(G=>_(G));return(0,I.toDisposable)(()=>{F.dispose(),A?.dispose()})}S.runAndSubscribeWithStore=B;class J{constructor(f,A){this._observable=f,this._counter=0,this._hasChanged=!1;const _={onWillAddFirstListener:()=>{f.addObserver(this)},onDidRemoveLastListener:()=>{f.removeObserver(this)}};A||o(_),this.emitter=new O(_),A&&A.add(this.emitter)}beginUpdate(f){this._counter++}handlePossibleChange(f){}handleChange(f,A){this._hasChanged=!0}endUpdate(f){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Z(X,f){return new J(X,f).emitter.event}S.fromObservable=Z;function ue(X){return f=>{let A=0,_=!1;const F={beginUpdate(){A++},endUpdate(){A--,A===0&&(X.reportChanges(),_&&(_=!1,f()))},handlePossibleChange(){},handleChange(){_=!0}};return X.addObserver(F),X.reportChanges(),{dispose(){X.removeObserver(F)}}}}S.fromObservableLight=ue})(c||(e.Event=c={}));class P{static{this.all=new Set}static{this._idPool=0}constructor(o){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${o}_${P._idPool++}`,P.all.add(this)}start(o){this._stopWatch=new $.StopWatch,this.listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this.durations.push(o),this.elapsedOverall+=o,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=P;let q=-1;function T(S){const o=q;return q=S,{dispose(){q=o}}}e.setGlobalLeakWarningThreshold=T;class M{constructor(o,d=Math.random().toString(18).slice(2,5)){this.threshold=o,this.name=d,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(o,d){const k=this.threshold;if(k<=0||d<k)return;this._stacks||(this._stacks=new Map);const K=this._stacks.get(o.value)||0;if(this._stacks.set(o.value,K+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let ie,oe=0;for(const[ge,le]of this._stacks)(!ie||oe<le)&&(ie=ge,oe=le);console.warn(`[${this.name}] potential listener LEAK detected, having ${d} listeners already. MOST frequent listener (${oe}):`),console.warn(ie)}return()=>{const ie=this._stacks.get(o.value)||0;this._stacks.set(o.value,ie-1)}}}class y{static create(){return new y(new Error().stack??"")}constructor(o){this.value=o}print(){console.warn(this.value.split(`
`).slice(2).join(`
`))}}let p=0;class s{constructor(o){this.value=o,this.id=p++}}const v=2,a=(S,o)=>{if(S instanceof s)o(S);else for(let d=0;d<S.length;d++){const k=S[d];k&&o(k)}};class O{constructor(o){this._size=0,this._options=o,this._leakageMon=q>0||this._options?.leakWarningThreshold?new M(this._options?.leakWarningThreshold??q):void 0,this._perfMon=this._options?._profName?new P(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){if(!this._disposed){if(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners){if(D){const o=this._listeners;queueMicrotask(()=>{a(o,d=>d.stack?.print())})}this._listeners=void 0,this._size=0}this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose()}}get event(){return this._event??=(o,d,k)=>{if(this._disposed)return I.Disposable.None;d&&(o=o.bind(d));const K=new s(o);let ie,oe;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(K.stack=y.create(),ie=this._leakageMon.check(K.stack,this._size+1)),D&&(K.stack=oe??y.create()),this._listeners?this._listeners instanceof s?(this._deliveryQueue??=new U,this._listeners=[this._listeners,K]):this._listeners.push(K):(this._options?.onWillAddFirstListener?.(this),this._listeners=K,this._options?.onDidAddFirstListener?.(this)),this._size++;const ge=(0,I.toDisposable)(()=>{ie?.(),this._removeListener(K)});return k instanceof I.DisposableStore?k.add(ge):Array.isArray(k)&&k.push(ge),ge},this._event}_removeListener(o){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}const d=this._listeners,k=d.indexOf(o);if(k===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,d[k]=void 0;const K=this._deliveryQueue.current===this;if(this._size*v<=d.length){let ie=0;for(let oe=0;oe<d.length;oe++)d[oe]?d[ie++]=d[oe]:K&&(this._deliveryQueue.end--,ie<this._deliveryQueue.i&&this._deliveryQueue.i--);d.length=ie}}_deliver(o,d){if(!o)return;const k=this._options?.onListenerError||w.onUnexpectedError;if(!k){o.value(d);return}try{o.value(d)}catch(K){k(K)}}_deliverQueue(o){const d=o.current._listeners;for(;o.i<o.end;)this._deliver(d[o.i++],o.value);o.reset()}fire(o){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof s)this._deliver(this._listeners,o);else{const d=this._deliveryQueue;d.enqueue(this,o,this._listeners.length),this._deliverQueue(d)}this._perfMon?.stop()}hasListeners(){return this._size>0}}e.Emitter=O;const C=()=>new U;e.createEventDeliveryQueue=C;class U{constructor(){this.i=-1,this.end=0}enqueue(o,d,k){this.i=0,this.end=k,this.current=o,this.value=d}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class t extends O{async fireAsync(o,d,k){if(this._listeners)for(this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new R.LinkedList),a(this._listeners,K=>this._asyncDeliveryQueue.push([K.value,o]));this._asyncDeliveryQueue.size>0&&!d.isCancellationRequested;){const[K,ie]=this._asyncDeliveryQueue.shift(),oe=[],ge={...ie,token:d,waitUntil:le=>{if(Object.isFrozen(oe))throw new Error("waitUntil can NOT be called asynchronous");k&&(le=k(le,K)),oe.push(le)}};try{K(ge)}catch(le){(0,w.onUnexpectedError)(le);continue}Object.freeze(oe),await Promise.allSettled(oe).then(le=>{for(const H of le)H.status==="rejected"&&(0,w.onUnexpectedError)(H.reason)})}}}e.AsyncEmitter=t;class n extends O{get isPaused(){return this._isPaused!==0}constructor(o){super(o),this._isPaused=0,this._eventQueue=new R.LinkedList,this._mergeFn=o?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._size&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}e.PauseableEmitter=n;class L extends n{constructor(o){super(o),this._delay=o.delay??100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}e.DebounceEmitter=L;class u extends O{constructor(o){super(o),this._queuedEvents=[],this._mergeFn=o?.merge}fire(o){this.hasListeners()&&(this._queuedEvents.push(o),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(d=>super.fire(d)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=u;class l{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new O({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(o){const d={event:o,listener:null};this.events.push(d),this.hasListeners&&this.hook(d);const k=()=>{this.hasListeners&&this.unhook(d);const K=this.events.indexOf(d);this.events.splice(K,1)};return(0,I.toDisposable)((0,N.once)(k))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(o=>this.hook(o))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(o=>this.unhook(o))}hook(o){o.listener=o.event(d=>this.emitter.fire(d))}unhook(o){o.listener&&o.listener.dispose(),o.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=l;class i{constructor(o,d,k,K){this._store=new I.DisposableStore;const ie=this._store.add(new l),oe=this._store.add(new I.DisposableMap);function ge(le){oe.set(le,ie.add(K(le)))}for(const le of o)ge(le);this._store.add(d(le=>{ge(le)})),this._store.add(k(le=>{oe.deleteAndDispose(le)})),this.event=ie.event}dispose(){this._store.dispose()}}e.DynamicListEventMultiplexer=i;class r{constructor(){this.buffers=[]}wrapEvent(o){return(d,k,K)=>o(ie=>{const oe=this.buffers[this.buffers.length-1];oe?oe.push(()=>d.call(k,ie)):d.call(k,ie)},void 0,K)}bufferEvents(o){const d=[];this.buffers.push(d);const k=o();return this.buffers.pop(),d.forEach(K=>K()),k}}e.EventBufferer=r;class g{constructor(){this.listening=!1,this.inputEvent=c.None,this.inputEventListener=I.Disposable.None,this.emitter=new O({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(o){this.inputEvent=o,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=o(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=g}),define(he[8],me([0,1,7]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const N=Object.freeze(function(D,m){const c=setTimeout(D.bind(m),0);return{dispose(){clearTimeout(c)}}});var I;(function(D){function m(c){return c===D.None||c===D.Cancelled||c instanceof R?!0:!c||typeof c!="object"?!1:typeof c.isCancellationRequested=="boolean"&&typeof c.onCancellationRequested=="function"}D.isCancellationToken=m,D.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:w.Event.None}),D.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:N})})(I||(e.CancellationToken=I={}));class R{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?N:(this._emitter||(this._emitter=new w.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ${constructor(m){this._token=void 0,this._parentListener=void 0,this._parentListener=m&&m.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new R),this._token}cancel(){this._token?this._token instanceof R&&this._token.cancel():this._token=I.Cancelled}dispose(m=!1){m&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof R&&this._token.dispose():this._token=I.None}}e.CancellationTokenSource=$}),define(he[30],me([0,1,8]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=e.Cache=void 0;class N{constructor(D){this.task=D,this.result=null}get(){if(this.result)return this.result;const D=new w.CancellationTokenSource,m=this.task(D.token);return this.result={promise:m,dispose:()=>{this.result=null,D.cancel(),D.dispose()}},this.result}}e.Cache=N;class I{constructor(D){this.fn=D,this.lastCache=void 0,this.lastArgKey=void 0}get(D){const m=JSON.stringify(D);return this.lastArgKey!==m&&(this.lastArgKey=m,this.lastCache=this.fn(D)),this.lastCache}}e.LRUCachedFunction=I;class R{get cachedValues(){return this._map}constructor(D){this.fn=D,this._map=new Map}get(D){if(this._map.has(D))return this._map.get(D);const m=this.fn(D);return this._map.set(D,m),m}}e.CachedFunction=R}),define(he[31],me([0,1,3,6]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prefixedStream=e.prefixedReadable=e.transform=e.toReadable=e.emptyStream=e.toStream=e.peekStream=e.listenStream=e.consumeStream=e.peekReadable=e.consumeReadable=e.newWriteableStream=e.isReadableBufferedStream=e.isReadableStream=e.isReadable=void 0;function I(C){const U=C;return U?typeof U.read=="function":!1}e.isReadable=I;function R(C){const U=C;return U?[U.on,U.pause,U.resume,U.destroy].every(t=>typeof t=="function"):!1}e.isReadableStream=R;function $(C){const U=C;return U?R(U.stream)&&Array.isArray(U.buffer)&&typeof U.ended=="boolean":!1}e.isReadableBufferedStream=$;function D(C,U){return new m(C,U)}e.newWriteableStream=D;class m{constructor(U,t){this.reducer=U,this.options=t,this.state={flowing:!1,ended:!1,destroyed:!1},this.buffer={data:[],error:[]},this.listeners={data:[],error:[],end:[]},this.pendingWritePromises=[]}pause(){this.state.destroyed||(this.state.flowing=!1)}resume(){this.state.destroyed||this.state.flowing||(this.state.flowing=!0,this.flowData(),this.flowErrors(),this.flowEnd())}write(U){if(!this.state.destroyed){if(this.state.flowing)this.emitData(U);else if(this.buffer.data.push(U),typeof this.options?.highWaterMark=="number"&&this.buffer.data.length>this.options.highWaterMark)return new Promise(t=>this.pendingWritePromises.push(t))}}error(U){this.state.destroyed||(this.state.flowing?this.emitError(U):this.buffer.error.push(U))}end(U){this.state.destroyed||(typeof U<"u"&&this.write(U),this.state.flowing?(this.emitEnd(),this.destroy()):this.state.ended=!0)}emitData(U){this.listeners.data.slice(0).forEach(t=>t(U))}emitError(U){this.listeners.error.length===0?(0,w.onUnexpectedError)(U):this.listeners.error.slice(0).forEach(t=>t(U))}emitEnd(){this.listeners.end.slice(0).forEach(U=>U())}on(U,t){if(!this.state.destroyed)switch(U){case"data":this.listeners.data.push(t),this.resume();break;case"end":this.listeners.end.push(t),this.state.flowing&&this.flowEnd()&&this.destroy();break;case"error":this.listeners.error.push(t),this.state.flowing&&this.flowErrors();break}}removeListener(U,t){if(this.state.destroyed)return;let n;switch(U){case"data":n=this.listeners.data;break;case"end":n=this.listeners.end;break;case"error":n=this.listeners.error;break}if(n){const L=n.indexOf(t);L>=0&&n.splice(L,1)}}flowData(){if(this.buffer.data.length>0){const U=this.reducer(this.buffer.data);this.emitData(U),this.buffer.data.length=0;const t=[...this.pendingWritePromises];this.pendingWritePromises.length=0,t.forEach(n=>n())}}flowErrors(){if(this.listeners.error.length>0){for(const U of this.buffer.error)this.emitError(U);this.buffer.error.length=0}}flowEnd(){return this.state.ended?(this.emitEnd(),this.listeners.end.length>0):!1}destroy(){this.state.destroyed||(this.state.destroyed=!0,this.state.ended=!0,this.buffer.data.length=0,this.buffer.error.length=0,this.listeners.data.length=0,this.listeners.error.length=0,this.listeners.end.length=0,this.pendingWritePromises.length=0)}}function c(C,U){const t=[];let n;for(;(n=C.read())!==null;)t.push(n);return U(t)}e.consumeReadable=c;function P(C,U,t){const n=[];let L;for(;(L=C.read())!==null&&n.length<t;)n.push(L);return L===null&&n.length>0?U(n):{read:()=>{if(n.length>0)return n.shift();if(typeof L<"u"){const u=L;return L=void 0,u}return C.read()}}}e.peekReadable=P;function q(C,U){return new Promise((t,n)=>{const L=[];T(C,{onData:u=>{U&&L.push(u)},onError:u=>{U?n(u):t(void 0)},onEnd:()=>{t(U?U(L):void 0)}})})}e.consumeStream=q;function T(C,U,t){C.on("error",n=>{t?.isCancellationRequested||U.onError(n)}),C.on("end",()=>{t?.isCancellationRequested||U.onEnd()}),C.on("data",n=>{t?.isCancellationRequested||U.onData(n)})}e.listenStream=T;function M(C,U){return new Promise((t,n)=>{const L=new N.DisposableStore,u=[],l=g=>{if(u.push(g),u.length>U)return L.dispose(),C.pause(),t({stream:C,buffer:u,ended:!1})},i=g=>n(g),r=()=>t({stream:C,buffer:u,ended:!0});L.add((0,N.toDisposable)(()=>C.removeListener("error",i))),C.on("error",i),L.add((0,N.toDisposable)(()=>C.removeListener("end",r))),C.on("end",r),L.add((0,N.toDisposable)(()=>C.removeListener("data",l))),C.on("data",l)})}e.peekStream=M;function y(C,U){const t=D(U);return t.end(C),t}e.toStream=y;function p(){const C=D(()=>{throw new Error("not supported")});return C.end(),C}e.emptyStream=p;function s(C){let U=!1;return{read:()=>U?null:(U=!0,C)}}e.toReadable=s;function v(C,U,t){const n=D(t);return T(C,{onData:L=>n.write(U.data(L)),onError:L=>n.error(U.error?U.error(L):L),onEnd:()=>n.end()}),n}e.transform=v;function a(C,U,t){let n=!1;return{read:()=>{const L=U.read();return n?L:(n=!0,L!==null?t([C,L]):C)}}}e.prefixedReadable=a;function O(C,U,t){let n=!1;const L=D(t);return T(U,{onData:u=>n?L.write(u):(n=!0,L.write(t([C,u]))),onError:u=>L.error(u),onEnd:()=>{n||(n=!0,L.write(C)),L.end()}}),L}e.prefixedStream=O}),define(he[10],me([0,1,17,31]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeBase64=e.decodeBase64=e.prefixedBufferStream=e.prefixedBufferReadable=e.newWriteableBufferStream=e.streamToBufferReadableStream=e.bufferToStream=e.bufferedStreamToBuffer=e.streamToBuffer=e.bufferToReadable=e.readableToBuffer=e.writeUInt8=e.readUInt8=e.writeUInt32LE=e.readUInt32LE=e.writeUInt32BE=e.readUInt32BE=e.writeUInt16LE=e.readUInt16LE=e.binaryIndexOf=e.VSBuffer=void 0;const I=typeof Buffer<"u",R=new w.Lazy(()=>new Uint8Array(256));let $,D;class m{static alloc(d){return I?new m(Buffer.allocUnsafe(d)):new m(new Uint8Array(d))}static wrap(d){return I&&!Buffer.isBuffer(d)&&(d=Buffer.from(d.buffer,d.byteOffset,d.byteLength)),new m(d)}static fromString(d,k){return!(k?.dontUseNodeBuffer||!1)&&I?new m(Buffer.from(d)):($||($=new TextEncoder),new m($.encode(d)))}static fromByteArray(d){const k=m.alloc(d.length);for(let K=0,ie=d.length;K<ie;K++)k.buffer[K]=d[K];return k}static concat(d,k){if(typeof k>"u"){k=0;for(let oe=0,ge=d.length;oe<ge;oe++)k+=d[oe].byteLength}const K=m.alloc(k);let ie=0;for(let oe=0,ge=d.length;oe<ge;oe++){const le=d[oe];K.set(le,ie),ie+=le.byteLength}return K}constructor(d){this.buffer=d,this.byteLength=this.buffer.byteLength}clone(){const d=m.alloc(this.byteLength);return d.set(this),d}toString(){return I?this.buffer.toString():(D||(D=new TextDecoder),D.decode(this.buffer))}slice(d,k){return new m(this.buffer.subarray(d,k))}set(d,k){if(d instanceof m)this.buffer.set(d.buffer,k);else if(d instanceof Uint8Array)this.buffer.set(d,k);else if(d instanceof ArrayBuffer)this.buffer.set(new Uint8Array(d),k);else if(ArrayBuffer.isView(d))this.buffer.set(new Uint8Array(d.buffer,d.byteOffset,d.byteLength),k);else throw new Error("Unknown argument 'array'")}readUInt32BE(d){return T(this.buffer,d)}writeUInt32BE(d,k){M(this.buffer,d,k)}readUInt32LE(d){return y(this.buffer,d)}writeUInt32LE(d,k){p(this.buffer,d,k)}readUInt8(d){return s(this.buffer,d)}writeUInt8(d,k){v(this.buffer,d,k)}indexOf(d,k=0){return c(this.buffer,d instanceof m?d.buffer:d,k)}}e.VSBuffer=m;function c(o,d,k=0){const K=d.byteLength,ie=o.byteLength;if(K===0)return 0;if(K===1)return o.indexOf(d[0]);if(K>ie-k)return-1;const oe=R.value;oe.fill(d.length);for(let ne=0;ne<d.length;ne++)oe[d[ne]]=d.length-ne-1;let ge=k+d.length-1,le=ge,H=-1;for(;ge<ie;)if(o[ge]===d[le]){if(le===0){H=ge;break}ge--,le--}else ge+=Math.max(d.length-le,oe[o[ge]]),le=d.length-1;return H}e.binaryIndexOf=c;function P(o,d){return o[d+0]<<0>>>0|o[d+1]<<8>>>0}e.readUInt16LE=P;function q(o,d,k){o[k+0]=d&255,d=d>>>8,o[k+1]=d&255}e.writeUInt16LE=q;function T(o,d){return o[d]*2**24+o[d+1]*2**16+o[d+2]*2**8+o[d+3]}e.readUInt32BE=T;function M(o,d,k){o[k+3]=d,d=d>>>8,o[k+2]=d,d=d>>>8,o[k+1]=d,d=d>>>8,o[k]=d}e.writeUInt32BE=M;function y(o,d){return o[d+0]<<0>>>0|o[d+1]<<8>>>0|o[d+2]<<16>>>0|o[d+3]<<24>>>0}e.readUInt32LE=y;function p(o,d,k){o[k+0]=d&255,d=d>>>8,o[k+1]=d&255,d=d>>>8,o[k+2]=d&255,d=d>>>8,o[k+3]=d&255}e.writeUInt32LE=p;function s(o,d){return o[d]}e.readUInt8=s;function v(o,d,k){o[k]=d}e.writeUInt8=v;function a(o){return N.consumeReadable(o,d=>m.concat(d))}e.readableToBuffer=a;function O(o){return N.toReadable(o)}e.bufferToReadable=O;function C(o){return N.consumeStream(o,d=>m.concat(d))}e.streamToBuffer=C;async function U(o){return o.ended?m.concat(o.buffer):m.concat([...o.buffer,await C(o.stream)])}e.bufferedStreamToBuffer=U;function t(o){return N.toStream(o,d=>m.concat(d))}e.bufferToStream=t;function n(o){return N.transform(o,{data:d=>typeof d=="string"?m.fromString(d):m.wrap(d)},d=>m.concat(d))}e.streamToBufferReadableStream=n;function L(o){return N.newWriteableStream(d=>m.concat(d),o)}e.newWriteableBufferStream=L;function u(o,d){return N.prefixedReadable(o,d,k=>m.concat(k))}e.prefixedBufferReadable=u;function l(o,d){return N.prefixedStream(o,d,k=>m.concat(k))}e.prefixedBufferStream=l;function i(o){let d=0,k=0,K=0;const ie=new Uint8Array(Math.floor(o.length/4*3)),oe=le=>{switch(k){case 3:ie[K++]=d|le,k=0;break;case 2:ie[K++]=d|le>>>2,d=le<<6,k=3;break;case 1:ie[K++]=d|le>>>4,d=le<<4,k=2;break;default:d=le<<2,k=1}};for(let le=0;le<o.length;le++){const H=o.charCodeAt(le);if(H>=65&&H<=90)oe(H-65);else if(H>=97&&H<=122)oe(H-97+26);else if(H>=48&&H<=57)oe(H-48+52);else if(H===43||H===45)oe(62);else if(H===47||H===95)oe(63);else{if(H===61)break;throw new SyntaxError(`Unexpected base64 character ${o[le]}`)}}const ge=K;for(;k>0;)oe(0);return m.wrap(ie).slice(0,ge)}e.decodeBase64=i;const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";function S({buffer:o},d=!0,k=!1){const K=k?g:r;let ie="";const oe=o.byteLength%3;let ge=0;for(;ge<o.byteLength-oe;ge+=3){const le=o[ge+0],H=o[ge+1],ne=o[ge+2];ie+=K[le>>>2],ie+=K[(le<<4|H>>>4)&63],ie+=K[(H<<2|ne>>>6)&63],ie+=K[ne&63]}if(oe===1){const le=o[ge+0];ie+=K[le>>>2],ie+=K[le<<4&63],d&&(ie+="==")}else if(oe===2){const le=o[ge+0],H=o[ge+1];ie+=K[le>>>2],ie+=K[(le<<4|H>>>4)&63],ie+=K[H<<2&63],d&&(ie+="=")}return ie}e.encodeBase64=S}),define(he[12],me([0,1,30,17]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InvisibleCharacters=e.AmbiguousCharacters=e.noBreakWhitespace=e.getLeftDeleteOffset=e.GraphemeBreakType=e.getGraphemeBreakType=e.singleLetterHash=e.getNLines=e.uppercaseFirstLetter=e.containsUppercaseCharacter=e.fuzzyContains=e.repeat=e.stripUTF8BOM=e.startsWithUTF8BOM=e.UTF8_BOM_CHARACTER=e.removeAnsiEscapeCodes=e.lcut=e.isEmojiImprecise=e.isFullWidthCharacter=e.containsUnusualLineTerminators=e.UNUSUAL_LINE_TERMINATORS=e.isBasicASCII=e.containsRTL=e.charCount=e.getCharContainingOffset=e.prevCharLength=e.nextCharLength=e.GraphemeIterator=e.CodePointIterator=e.getNextCodePoint=e.computeCodePoint=e.isLowSurrogate=e.isHighSurrogate=e.commonSuffixLength=e.commonPrefixLength=e.startsWithIgnoreCase=e.equalsIgnoreCase=e.isUpperAsciiLetter=e.isLowerAsciiLetter=e.isAsciiDigit=e.compareSubstringIgnoreCase=e.compareIgnoreCase=e.compareSubstring=e.compare=e.replaceAsync=e.lastNonWhitespaceIndex=e.getLeadingWhitespace=e.firstNonWhitespaceIndex=e.splitLines=e.regExpLeadsToEndlessLoop=e.createRegExp=e.stripWildcards=e.convertSimple2RegExpPattern=e.rtrim=e.ltrim=e.trim=e.truncate=e.count=e.escapeRegExpCharacters=e.escape=e.format2=e.format=e.isFalsyOrWhitespace=void 0;function I(h){return!h||typeof h!="string"?!0:h.trim().length===0}e.isFalsyOrWhitespace=I;const R=/{(\d+)}/g;function $(h,...W){return W.length===0?h:h.replace(R,function(Q,ee){const ce=parseInt(ee,10);return isNaN(ce)||ce<0||ce>=W.length?Q:W[ce]})}e.format=$;const D=/{([^}]+)}/g;function m(h,W){return h.replace(D,(Q,ee)=>W[ee]??Q)}e.format2=m;function c(h){return h.replace(/[<>&]/g,function(W){switch(W){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return W}})}e.escape=c;function P(h){return h.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=P;function q(h,W){let Q=0;const ee=W.charCodeAt(0);for(let ce=h.length-1;ce>=0;ce--)h.charCodeAt(ce)===ee&&Q++;return Q}e.count=q;function T(h,W,Q="\u2026"){return h.length<=W?h:`${h.substr(0,W)}${Q}`}e.truncate=T;function M(h,W=" "){const Q=y(h,W);return p(Q,W)}e.trim=M;function y(h,W){if(!h||!W)return h;const Q=W.length;if(Q===0||h.length===0)return h;let ee=0;for(;h.indexOf(W,ee)===ee;)ee=ee+Q;return h.substring(ee)}e.ltrim=y;function p(h,W){if(!h||!W)return h;const Q=W.length,ee=h.length;if(Q===0||ee===0)return h;let ce=ee,we=-1;for(;we=h.lastIndexOf(W,ce-1),!(we===-1||we+Q!==ce);){if(we===0)return"";ce=we}return h.substring(0,ce)}e.rtrim=p;function s(h){return h.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=s;function v(h){return h.replace(/\*/g,"")}e.stripWildcards=v;function a(h,W,Q={}){if(!h)throw new Error("Cannot create regex from empty string");W||(h=P(h)),Q.wholeWord&&(/\B/.test(h.charAt(0))||(h="\\b"+h),/\B/.test(h.charAt(h.length-1))||(h=h+"\\b"));let ee="";return Q.global&&(ee+="g"),Q.matchCase||(ee+="i"),Q.multiline&&(ee+="m"),Q.unicode&&(ee+="u"),new RegExp(h,ee)}e.createRegExp=a;function O(h){return h.source==="^"||h.source==="^$"||h.source==="$"||h.source==="^\\s*$"?!1:!!(h.exec("")&&h.lastIndex===0)}e.regExpLeadsToEndlessLoop=O;function C(h){return h.split(/\r\n|\r|\n/)}e.splitLines=C;function U(h){for(let W=0,Q=h.length;W<Q;W++){const ee=h.charCodeAt(W);if(ee!==32&&ee!==9)return W}return-1}e.firstNonWhitespaceIndex=U;function t(h,W=0,Q=h.length){for(let ee=W;ee<Q;ee++){const ce=h.charCodeAt(ee);if(ce!==32&&ce!==9)return h.substring(W,ee)}return h.substring(W,Q)}e.getLeadingWhitespace=t;function n(h,W=h.length-1){for(let Q=W;Q>=0;Q--){const ee=h.charCodeAt(Q);if(ee!==32&&ee!==9)return Q}return-1}e.lastNonWhitespaceIndex=n;function L(h,W,Q){const ee=[];let ce=0;for(const we of h.matchAll(W)){if(ee.push(h.slice(ce,we.index)),we.index===void 0)throw new Error("match.index should be defined");ce=we.index+we[0].length,ee.push(Q(we[0],...we.slice(1),we.index,h,we.groups))}return ee.push(h.slice(ce)),Promise.all(ee).then(we=>we.join(""))}e.replaceAsync=L;function u(h,W){return h<W?-1:h>W?1:0}e.compare=u;function l(h,W,Q=0,ee=h.length,ce=0,we=W.length){for(;Q<ee&&ce<we;Q++,ce++){const De=h.charCodeAt(Q),Le=W.charCodeAt(ce);if(De<Le)return-1;if(De>Le)return 1}const Ae=ee-Q,Re=we-ce;return Ae<Re?-1:Ae>Re?1:0}e.compareSubstring=l;function i(h,W){return r(h,W,0,h.length,0,W.length)}e.compareIgnoreCase=i;function r(h,W,Q=0,ee=h.length,ce=0,we=W.length){for(;Q<ee&&ce<we;Q++,ce++){let De=h.charCodeAt(Q),Le=W.charCodeAt(ce);if(De===Le)continue;if(De>=128||Le>=128)return l(h.toLowerCase(),W.toLowerCase(),Q,ee,ce,we);S(De)&&(De-=32),S(Le)&&(Le-=32);const Se=De-Le;if(Se!==0)return Se}const Ae=ee-Q,Re=we-ce;return Ae<Re?-1:Ae>Re?1:0}e.compareSubstringIgnoreCase=r;function g(h){return h>=48&&h<=57}e.isAsciiDigit=g;function S(h){return h>=97&&h<=122}e.isLowerAsciiLetter=S;function o(h){return h>=65&&h<=90}e.isUpperAsciiLetter=o;function d(h,W){return h.length===W.length&&r(h,W)===0}e.equalsIgnoreCase=d;function k(h,W){const Q=W.length;return W.length>h.length?!1:r(h,W,0,Q)===0}e.startsWithIgnoreCase=k;function K(h,W){const Q=Math.min(h.length,W.length);let ee;for(ee=0;ee<Q;ee++)if(h.charCodeAt(ee)!==W.charCodeAt(ee))return ee;return Q}e.commonPrefixLength=K;function ie(h,W){const Q=Math.min(h.length,W.length);let ee;const ce=h.length-1,we=W.length-1;for(ee=0;ee<Q;ee++)if(h.charCodeAt(ce-ee)!==W.charCodeAt(we-ee))return ee;return Q}e.commonSuffixLength=ie;function oe(h){return 55296<=h&&h<=56319}e.isHighSurrogate=oe;function ge(h){return 56320<=h&&h<=57343}e.isLowSurrogate=ge;function le(h,W){return(h-55296<<10)+(W-56320)+65536}e.computeCodePoint=le;function H(h,W,Q){const ee=h.charCodeAt(Q);if(oe(ee)&&Q+1<W){const ce=h.charCodeAt(Q+1);if(ge(ce))return le(ee,ce)}return ee}e.getNextCodePoint=H;function ne(h,W){const Q=h.charCodeAt(W-1);if(ge(Q)&&W>1){const ee=h.charCodeAt(W-2);if(oe(ee))return le(ee,Q)}return Q}class se{get offset(){return this._offset}constructor(W,Q=0){this._str=W,this._len=W.length,this._offset=Q}setOffset(W){this._offset=W}prevCodePoint(){const W=ne(this._str,this._offset);return this._offset-=W>=65536?2:1,W}nextCodePoint(){const W=H(this._str,this._len,this._offset);return this._offset+=W>=65536?2:1,W}eol(){return this._offset>=this._len}}e.CodePointIterator=se;class fe{get offset(){return this._iterator.offset}constructor(W,Q=0){this._iterator=new se(W,Q)}nextGraphemeLength(){const W=Pe.getInstance(),Q=this._iterator,ee=Q.offset;let ce=W.getGraphemeBreakType(Q.nextCodePoint());for(;!Q.eol();){const we=Q.offset,Ae=W.getGraphemeBreakType(Q.nextCodePoint());if(_e(ce,Ae)){Q.setOffset(we);break}ce=Ae}return Q.offset-ee}prevGraphemeLength(){const W=Pe.getInstance(),Q=this._iterator,ee=Q.offset;let ce=W.getGraphemeBreakType(Q.prevCodePoint());for(;Q.offset>0;){const we=Q.offset,Ae=W.getGraphemeBreakType(Q.prevCodePoint());if(_e(Ae,ce)){Q.setOffset(we);break}ce=Ae}return ee-Q.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=fe;function z(h,W){return new fe(h,W).nextGraphemeLength()}e.nextCharLength=z;function b(h,W){return new fe(h,W).prevGraphemeLength()}e.prevCharLength=b;function j(h,W){W>0&&ge(h.charCodeAt(W))&&W--;const Q=W+z(h,W);return[Q-b(h,Q),Q]}e.getCharContainingOffset=j;function V(h){const W=new fe(h);let Q=0;for(;!W.eol();)Q++,W.nextGraphemeLength();return Q}e.charCount=V;let te;function x(){return/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/}function ve(h){return te||(te=x()),te.test(h)}e.containsRTL=ve;const de=/^[\t\n\r\x20-\x7E]*$/;function Y(h){return de.test(h)}e.isBasicASCII=Y,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function E(h){return e.UNUSUAL_LINE_TERMINATORS.test(h)}e.containsUnusualLineTerminators=E;function B(h){return h>=11904&&h<=55215||h>=63744&&h<=64255||h>=65281&&h<=65374}e.isFullWidthCharacter=B;function J(h){return h>=127462&&h<=127487||h===8986||h===8987||h===9200||h===9203||h>=9728&&h<=10175||h===11088||h===11093||h>=127744&&h<=128591||h>=128640&&h<=128764||h>=128992&&h<=129008||h>=129280&&h<=129535||h>=129648&&h<=129782}e.isEmojiImprecise=J;function Z(h,W){if(h.length<W)return h;const Q=/\b/g;let ee=0;for(;Q.test(h)&&!(h.length-Q.lastIndex<W);)ee=Q.lastIndex,Q.lastIndex+=1;return h.substring(ee).replace(/^\s/,"")}e.lcut=Z;const ue=/(:?\x1b\[|\x9B)[=?>!]?[\d;:]*["$#'* ]?[a-zA-Z@^`{}|~]/g,X=/\x1b\].*?\x07/g;function f(h){return h&&(h=h.replace(ue,"").replace(X,"")),h}e.removeAnsiEscapeCodes=f,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function A(h){return!!(h&&h.length>0&&h.charCodeAt(0)===65279)}e.startsWithUTF8BOM=A;function _(h){return A(h)?h.substr(1):h}e.stripUTF8BOM=_;function F(h,W){let Q="";for(let ee=0;ee<W;ee++)Q+=h;return Q}e.repeat=F;function G(h,W){if(!h||!W||h.length<W.length)return!1;const Q=W.length,ee=h.toLowerCase();let ce=0,we=-1;for(;ce<Q;){const Ae=ee.indexOf(W[ce],we+1);if(Ae<0)return!1;we=Ae,ce++}return!0}e.fuzzyContains=G;function re(h,W=!1){return h?(W&&(h=h.replace(/\\./g,"")),h.toLowerCase()!==h):!1}e.containsUppercaseCharacter=re;function ye(h){return h.charAt(0).toUpperCase()+h.slice(1)}e.uppercaseFirstLetter=ye;function be(h,W=1){if(W===0)return"";let Q=-1;do Q=h.indexOf(`
`,Q+1),W--;while(W>0&&Q>=0);return Q===-1?h:(h[Q-1]==="\r"&&Q--,h.substr(0,Q))}e.getNLines=be;function Ee(h){return h=h%(2*26),h<26?String.fromCharCode(97+h):String.fromCharCode(65+h-26)}e.singleLetterHash=Ee;function Ce(h){return Pe.getInstance().getGraphemeBreakType(h)}e.getGraphemeBreakType=Ce;function _e(h,W){return h===0?W!==5&&W!==7:h===2&&W===3?!1:h===4||h===2||h===3||W===4||W===2||W===3?!0:!(h===8&&(W===8||W===9||W===11||W===12)||(h===11||h===9)&&(W===9||W===10)||(h===12||h===10)&&W===10||W===5||W===13||W===7||h===1||h===13&&W===14||h===6&&W===6)}var Oe;(function(h){h[h.Other=0]="Other",h[h.Prepend=1]="Prepend",h[h.CR=2]="CR",h[h.LF=3]="LF",h[h.Control=4]="Control",h[h.Extend=5]="Extend",h[h.Regional_Indicator=6]="Regional_Indicator",h[h.SpacingMark=7]="SpacingMark",h[h.L=8]="L",h[h.V=9]="V",h[h.T=10]="T",h[h.LV=11]="LV",h[h.LVT=12]="LVT",h[h.ZWJ=13]="ZWJ",h[h.Extended_Pictographic=14]="Extended_Pictographic"})(Oe||(e.GraphemeBreakType=Oe={}));class Pe{static{this._INSTANCE=null}static getInstance(){return Pe._INSTANCE||(Pe._INSTANCE=new Pe),Pe._INSTANCE}constructor(){this._data=ke()}getGraphemeBreakType(W){if(W<32)return W===10?3:W===13?2:4;if(W<127)return 0;const Q=this._data,ee=Q.length/3;let ce=1;for(;ce<=ee;)if(W<Q[3*ce])ce=2*ce;else if(W>Q[3*ce+1])ce=2*ce+1;else return Q[3*ce+2];return 0}}function ke(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function Ne(h,W){if(h===0)return 0;const Q=$e(h,W);if(Q!==void 0)return Q;const ee=new se(W,h);return ee.prevCodePoint(),ee.offset}e.getLeftDeleteOffset=Ne;function $e(h,W){const Q=new se(W,h);let ee=Q.prevCodePoint();for(;ze(ee)||ee===65039||ee===8419;){if(Q.offset===0)return;ee=Q.prevCodePoint()}if(!J(ee))return;let ce=Q.offset;return ce>0&&Q.prevCodePoint()===8205&&(ce=Q.offset),ce}function ze(h){return 127995<=h&&h<=127999}var qe;(function(h){h[h.zwj=8205]="zwj",h[h.emojiVariantSelector=65039]="emojiVariantSelector",h[h.enclosingKeyCap=8419]="enclosingKeyCap"})(qe||(qe={})),e.noBreakWhitespace="\xA0";class Te{static{this.ambiguousCharacterData=new N.Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))}static{this.cache=new w.LRUCachedFunction(W=>{function Q(Se){const Ie=new Map;for(let pe=0;pe<Se.length;pe+=2)Ie.set(Se[pe],Se[pe+1]);return Ie}function ee(Se,Ie){const pe=new Map(Se);for(const[Me,Fe]of Ie)pe.set(Me,Fe);return pe}function ce(Se,Ie){if(!Se)return Ie;const pe=new Map;for(const[Me,Fe]of Se)Ie.has(Me)&&pe.set(Me,Fe);return pe}const we=this.ambiguousCharacterData.value;let Ae=W.filter(Se=>!Se.startsWith("_")&&Se in we);Ae.length===0&&(Ae=["_default"]);let Re;for(const Se of Ae){const Ie=Q(we[Se]);Re=ce(Re,Ie)}const De=Q(we._common),Le=ee(De,Re);return new Te(Le)})}static getInstance(W){return Te.cache.get(Array.from(W))}static{this._locales=new N.Lazy(()=>Object.keys(Te.ambiguousCharacterData.value).filter(W=>!W.startsWith("_")))}static getLocales(){return Te._locales.value}constructor(W){this.confusableDictionary=W}isAmbiguous(W){return this.confusableDictionary.has(W)}getPrimaryConfusable(W){return this.confusableDictionary.get(W)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=Te;class Ue{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static{this._data=void 0}static getData(){return this._data||(this._data=new Set(Ue.getRawData())),this._data}static isInvisibleCharacter(W){return Ue.getData().has(W)}static get codePoints(){return Ue.getData()}}e.InvisibleCharacters=Ue}),define(he[32],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MicrotaskDelay=void 0,e.MicrotaskDelay=Symbol("MicrotaskDelay")}),define(he[5],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.withNullAsUndefined=e.validateConstraint=e.validateConstraints=e.areFunctions=e.isFunction=e.isEmptyObject=e.assertAllDefined=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isStringArray=e.isString=void 0;function w(t){return typeof t=="string"}e.isString=w;function N(t){return Array.isArray(t)&&t.every(n=>w(n))}e.isStringArray=N;function I(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}e.isObject=I;function R(t){const n=Object.getPrototypeOf(Uint8Array);return typeof t=="object"&&t instanceof n}e.isTypedArray=R;function $(t){return typeof t=="number"&&!isNaN(t)}e.isNumber=$;function D(t){return!!t&&typeof t[Symbol.iterator]=="function"}e.isIterable=D;function m(t){return t===!0||t===!1}e.isBoolean=m;function c(t){return typeof t>"u"}e.isUndefined=c;function P(t){return!q(t)}e.isDefined=P;function q(t){return c(t)||t===null}e.isUndefinedOrNull=q;function T(t,n){if(!t)throw new Error(n?`Unexpected type, expected '${n}'`:"Unexpected type")}e.assertType=T;function M(t){if(q(t))throw new Error("Assertion Failed: argument is undefined or null");return t}e.assertIsDefined=M;function y(...t){const n=[];for(let L=0;L<t.length;L++){const u=t[L];if(q(u))throw new Error(`Assertion Failed: argument at index ${L} is undefined or null`);n.push(u)}return n}e.assertAllDefined=y;const p=Object.prototype.hasOwnProperty;function s(t){if(!I(t))return!1;for(const n in t)if(p.call(t,n))return!1;return!0}e.isEmptyObject=s;function v(t){return typeof t=="function"}e.isFunction=v;function a(...t){return t.length>0&&t.every(v)}e.areFunctions=a;function O(t,n){const L=Math.min(t.length,n.length);for(let u=0;u<L;u++)C(t[u],n[u])}e.validateConstraints=O;function C(t,n){if(w(n)){if(typeof t!==n)throw new Error(`argument does not match constraint: typeof ${n}`)}else if(v(n)){try{if(t instanceof n)return}catch{}if(!q(t)&&t.constructor===n||n.length===1&&n.call(void 0,t)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}e.validateConstraint=C;function U(t){return t===null?void 0:t}e.withNullAsUndefined=U}),define(he[13],me([0,1,5]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createProxyObject=e.getAllMethodNames=e.getAllPropertyNames=e.filter=e.getCaseInsensitive=e.distinct=e.getOrDefault=e.safeStringify=e.equals=e.mixin=e.cloneAndChange=e.deepFreeze=e.deepClone=void 0;function N(a){if(!a||typeof a!="object"||a instanceof RegExp)return a;const O=Array.isArray(a)?[]:{};return Object.entries(a).forEach(([C,U])=>{O[C]=U&&typeof U=="object"?N(U):U}),O}e.deepClone=N;function I(a){if(!a||typeof a!="object")return a;const O=[a];for(;O.length>0;){const C=O.shift();Object.freeze(C);for(const U in C)if(R.call(C,U)){const t=C[U];typeof t=="object"&&!Object.isFrozen(t)&&!(0,w.isTypedArray)(t)&&O.push(t)}}return a}e.deepFreeze=I;const R=Object.prototype.hasOwnProperty;function $(a,O){return D(a,O,new Set)}e.cloneAndChange=$;function D(a,O,C){if((0,w.isUndefinedOrNull)(a))return a;const U=O(a);if(typeof U<"u")return U;if(Array.isArray(a)){const t=[];for(const n of a)t.push(D(n,O,C));return t}if((0,w.isObject)(a)){if(C.has(a))throw new Error("Cannot clone recursive data-structure");C.add(a);const t={};for(const n in a)R.call(a,n)&&(t[n]=D(a[n],O,C));return C.delete(a),t}return a}function m(a,O,C=!0){return(0,w.isObject)(a)?((0,w.isObject)(O)&&Object.keys(O).forEach(U=>{U in a?C&&((0,w.isObject)(a[U])&&(0,w.isObject)(O[U])?m(a[U],O[U],C):a[U]=O[U]):a[U]=O[U]}),a):O}e.mixin=m;function c(a,O){if(a===O)return!0;if(a==null||O===null||O===void 0||typeof a!=typeof O||typeof a!="object"||Array.isArray(a)!==Array.isArray(O))return!1;let C,U;if(Array.isArray(a)){if(a.length!==O.length)return!1;for(C=0;C<a.length;C++)if(!c(a[C],O[C]))return!1}else{const t=[];for(U in a)t.push(U);t.sort();const n=[];for(U in O)n.push(U);if(n.sort(),!c(t,n))return!1;for(C=0;C<t.length;C++)if(!c(a[t[C]],O[t[C]]))return!1}return!0}e.equals=c;function P(a){const O=new Set;return JSON.stringify(a,(C,U)=>{if((0,w.isObject)(U)||Array.isArray(U)){if(O.has(U))return"[Circular]";O.add(U)}return U})}e.safeStringify=P;function q(a,O,C){const U=O(a);return typeof U>"u"?C:U}e.getOrDefault=q;function T(a,O){const C=Object.create(null);return!a||!O||Object.keys(O).forEach(t=>{const n=a[t],L=O[t];c(n,L)||(C[t]=L)}),C}e.distinct=T;function M(a,O){const C=O.toLowerCase(),U=Object.keys(a).find(t=>t.toLowerCase()===C);return U?a[U]:a[O]}e.getCaseInsensitive=M;function y(a,O){const C=Object.create(null);for(const[U,t]of Object.entries(a))O(U,t)&&(C[U]=t);return C}e.filter=y;function p(a){let O=[];for(;Object.prototype!==a;)O=O.concat(Object.getOwnPropertyNames(a)),a=Object.getPrototypeOf(a);return O}e.getAllPropertyNames=p;function s(a){const O=[];for(const C of p(a))typeof a[C]=="function"&&O.push(C);return O}e.getAllMethodNames=s;function v(a,O){const C=t=>function(){const n=Array.prototype.slice.call(arguments,0);return O(t,n)},U={};for(const t of a)U[t]=C(t);return U}e.createProxyObject=v}),define(he[33],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=e.isUUID=void 0;const w=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function N(I){return w.test(I)}e.isUUID=N,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let I;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?I=crypto.getRandomValues.bind(crypto):I=function(D){for(let m=0;m<D.length;m++)D[m]=Math.floor(Math.random()*256);return D};const R=new Uint8Array(16),$=[];for(let D=0;D<256;D++)$.push(D.toString(16).padStart(2,"0"));return function(){I(R),R[6]=R[6]&15|64,R[8]=R[8]&63|128;let m=0,c="";return c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c+="-",c+=$[R[m++]],c+=$[R[m++]],c+="-",c+=$[R[m++]],c+=$[R[m++]],c+="-",c+=$[R[m++]],c+=$[R[m++]],c+="-",c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c+=$[R[m++]],c}}()}),define(he[34],me([51,52]),function(ae,e){return ae.create("vs/base/common/platform",e)}),define(he[2],me([0,1,34]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAndroid=e.isEdge=e.isSafari=e.isFirefox=e.isChrome=e.isLittleEndian=e.OS=e.OperatingSystem=e.setTimeout0=e.setTimeout0IsFaster=e.translationsConfigFile=e.platformLocale=e.locale=e.Language=e.language=e.userAgent=e.platform=e.isCI=e.isMobile=e.isIOS=e.isWebWorker=e.isWeb=e.isElectron=e.isNative=e.isLinuxSnap=e.isLinux=e.isMacintosh=e.isWindows=e.PlatformToString=e.Platform=e.globals=e.LANGUAGE_DEFAULT=void 0,e.LANGUAGE_DEFAULT="en";let N=!1,I=!1,R=!1,$=!1,D=!1,m=!1,c=!1,P=!1,q=!1,T=!1,M,y=e.LANGUAGE_DEFAULT,p=e.LANGUAGE_DEFAULT,s,v;e.globals=typeof self=="object"?self:typeof global=="object"?global:{};let a;typeof e.globals.vscode<"u"&&typeof e.globals.vscode.process<"u"?a=e.globals.vscode.process:typeof process<"u"&&(a=process);const O=typeof a?.versions?.electron=="string",C=O&&a?.type==="renderer";if(typeof navigator=="object"&&!C)v=navigator.userAgent,N=v.indexOf("Windows")>=0,I=v.indexOf("Macintosh")>=0,P=(v.indexOf("Macintosh")>=0||v.indexOf("iPad")>=0||v.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,R=v.indexOf("Linux")>=0,T=v?.indexOf("Mobi")>=0,m=!0,M=w.getConfiguredDefaultLocale(w.localize(0,null))||e.LANGUAGE_DEFAULT,y=M,p=navigator.language;else if(typeof a=="object"){N=a.platform==="win32",I=a.platform==="darwin",R=a.platform==="linux",$=R&&!!a.env.SNAP&&!!a.env.SNAP_REVISION,c=O,q=!!a.env.CI||!!a.env.BUILD_ARTIFACTSTAGINGDIRECTORY,M=e.LANGUAGE_DEFAULT,y=e.LANGUAGE_DEFAULT;const g=a.env.VSCODE_NLS_CONFIG;if(g)try{const S=JSON.parse(g),o=S.availableLanguages["*"];M=S.locale,p=S.osLocale,y=o||e.LANGUAGE_DEFAULT,s=S._translationsConfigFile}catch{}D=!0}else console.error("Unable to resolve platform.");var U;(function(g){g[g.Web=0]="Web",g[g.Mac=1]="Mac",g[g.Linux=2]="Linux",g[g.Windows=3]="Windows"})(U||(e.Platform=U={}));function t(g){switch(g){case 0:return"Web";case 1:return"Mac";case 2:return"Linux";case 3:return"Windows"}}e.PlatformToString=t;let n=0;I?n=1:N?n=3:R&&(n=2),e.isWindows=N,e.isMacintosh=I,e.isLinux=R,e.isLinuxSnap=$,e.isNative=D,e.isElectron=c,e.isWeb=m,e.isWebWorker=m&&typeof e.globals.importScripts=="function",e.isIOS=P,e.isMobile=T,e.isCI=q,e.platform=n,e.userAgent=v,e.language=y;var L;(function(g){function S(){return e.language}g.value=S;function o(){return e.language.length===2?e.language==="en":e.language.length>=3?e.language[0]==="e"&&e.language[1]==="n"&&e.language[2]==="-":!1}g.isDefaultVariant=o;function d(){return e.language==="en"}g.isDefault=d})(L||(e.Language=L={})),e.locale=M,e.platformLocale=p,e.translationsConfigFile=s,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const g=[];e.globals.addEventListener("message",o=>{if(o.data&&o.data.vscodeScheduleAsyncWork)for(let d=0,k=g.length;d<k;d++){const K=g[d];if(K.id===o.data.vscodeScheduleAsyncWork){g.splice(d,1),K.callback();return}}});let S=0;return o=>{const d=++S;g.push({id:d,callback:o}),e.globals.postMessage({vscodeScheduleAsyncWork:d},"*")}}return g=>setTimeout(g)})();var u;(function(g){g[g.Windows=1]="Windows",g[g.Macintosh=2]="Macintosh",g[g.Linux=3]="Linux"})(u||(e.OperatingSystem=u={})),e.OS=I||P?2:N?1:3;let l=!0,i=!1;function r(){if(!i){i=!0;const g=new Uint8Array(2);g[0]=1,g[1]=2,l=new Uint16Array(g.buffer)[0]===(2<<8)+1}return l}e.isLittleEndian=r,e.isChrome=!!(e.userAgent&&e.userAgent.indexOf("Chrome")>=0),e.isFirefox=!!(e.userAgent&&e.userAgent.indexOf("Firefox")>=0),e.isSafari=!!(!e.isChrome&&e.userAgent&&e.userAgent.indexOf("Safari")>=0),e.isEdge=!!(e.userAgent&&e.userAgent.indexOf("Edg/")>=0),e.isAndroid=!!(e.userAgent&&e.userAgent.indexOf("Android")>=0)}),define(he[11],me([0,1,2]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arch=e.platform=e.env=e.cwd=void 0;let N;if(typeof w.globals.vscode<"u"&&typeof w.globals.vscode.process<"u"){const I=w.globals.vscode.process;N={get platform(){return I.platform},get arch(){return I.arch},get env(){return I.env},cwd(){return I.cwd()}}}else typeof process<"u"?N={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:N={get platform(){return w.isWindows?"win32":w.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=N.cwd,e.env=N.env,e.platform=N.platform,e.arch=N.arch}),define(he[9],me([0,1,11]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.delimiter=e.sep=e.toNamespacedPath=e.parse=e.format=e.extname=e.basename=e.dirname=e.relative=e.resolve=e.join=e.isAbsolute=e.normalize=e.posix=e.win32=void 0;const N=65,I=97,R=90,$=122,D=46,m=47,c=92,P=58,q=63;class T extends Error{constructor(n,L,u){let l;typeof L=="string"&&L.indexOf("not ")===0?(l="must not be",L=L.replace(/^not /,"")):l="must be";const i=n.indexOf(".")!==-1?"property":"argument";let r=`The "${n}" ${i} ${l} of type ${L}`;r+=`. Received type ${typeof u}`,super(r),this.code="ERR_INVALID_ARG_TYPE"}}function M(t,n){if(t===null||typeof t!="object")throw new T(n,"Object",t)}function y(t,n){if(typeof t!="string")throw new T(n,"string",t)}const p=w.platform==="win32";function s(t){return t===m||t===c}function v(t){return t===m}function a(t){return t>=N&&t<=R||t>=I&&t<=$}function O(t,n,L,u){let l="",i=0,r=-1,g=0,S=0;for(let o=0;o<=t.length;++o){if(o<t.length)S=t.charCodeAt(o);else{if(u(S))break;S=m}if(u(S)){if(!(r===o-1||g===1))if(g===2){if(l.length<2||i!==2||l.charCodeAt(l.length-1)!==D||l.charCodeAt(l.length-2)!==D){if(l.length>2){const d=l.lastIndexOf(L);d===-1?(l="",i=0):(l=l.slice(0,d),i=l.length-1-l.lastIndexOf(L)),r=o,g=0;continue}else if(l.length!==0){l="",i=0,r=o,g=0;continue}}n&&(l+=l.length>0?`${L}..`:"..",i=2)}else l.length>0?l+=`${L}${t.slice(r+1,o)}`:l=t.slice(r+1,o),i=o-r-1;r=o,g=0}else S===D&&g!==-1?++g:g=-1}return l}function C(t,n){M(n,"pathObject");const L=n.dir||n.root,u=n.base||`${n.name||""}${n.ext||""}`;return L?L===n.root?`${L}${u}`:`${L}${t}${u}`:u}e.win32={resolve(...t){let n="",L="",u=!1;for(let l=t.length-1;l>=-1;l--){let i;if(l>=0){if(i=t[l],y(i,"path"),i.length===0)continue}else n.length===0?i=w.cwd():(i=w.env[`=${n}`]||w.cwd(),(i===void 0||i.slice(0,2).toLowerCase()!==n.toLowerCase()&&i.charCodeAt(2)===c)&&(i=`${n}\\`));const r=i.length;let g=0,S="",o=!1;const d=i.charCodeAt(0);if(r===1)s(d)&&(g=1,o=!0);else if(s(d))if(o=!0,s(i.charCodeAt(1))){let k=2,K=k;for(;k<r&&!s(i.charCodeAt(k));)k++;if(k<r&&k!==K){const ie=i.slice(K,k);for(K=k;k<r&&s(i.charCodeAt(k));)k++;if(k<r&&k!==K){for(K=k;k<r&&!s(i.charCodeAt(k));)k++;(k===r||k!==K)&&(S=`\\\\${ie}\\${i.slice(K,k)}`,g=k)}}}else g=1;else a(d)&&i.charCodeAt(1)===P&&(S=i.slice(0,2),g=2,r>2&&s(i.charCodeAt(2))&&(o=!0,g=3));if(S.length>0)if(n.length>0){if(S.toLowerCase()!==n.toLowerCase())continue}else n=S;if(u){if(n.length>0)break}else if(L=`${i.slice(g)}\\${L}`,u=o,o&&n.length>0)break}return L=O(L,!u,"\\",s),u?`${n}\\${L}`:`${n}${L}`||"."},normalize(t){y(t,"path");const n=t.length;if(n===0)return".";let L=0,u,l=!1;const i=t.charCodeAt(0);if(n===1)return v(i)?"\\":t;if(s(i))if(l=!0,s(t.charCodeAt(1))){let g=2,S=g;for(;g<n&&!s(t.charCodeAt(g));)g++;if(g<n&&g!==S){const o=t.slice(S,g);for(S=g;g<n&&s(t.charCodeAt(g));)g++;if(g<n&&g!==S){for(S=g;g<n&&!s(t.charCodeAt(g));)g++;if(g===n)return`\\\\${o}\\${t.slice(S)}\\`;g!==S&&(u=`\\\\${o}\\${t.slice(S,g)}`,L=g)}}}else L=1;else a(i)&&t.charCodeAt(1)===P&&(u=t.slice(0,2),L=2,n>2&&s(t.charCodeAt(2))&&(l=!0,L=3));let r=L<n?O(t.slice(L),!l,"\\",s):"";return r.length===0&&!l&&(r="."),r.length>0&&s(t.charCodeAt(n-1))&&(r+="\\"),u===void 0?l?`\\${r}`:r:l?`${u}\\${r}`:`${u}${r}`},isAbsolute(t){y(t,"path");const n=t.length;if(n===0)return!1;const L=t.charCodeAt(0);return s(L)||n>2&&a(L)&&t.charCodeAt(1)===P&&s(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let n,L;for(let i=0;i<t.length;++i){const r=t[i];y(r,"path"),r.length>0&&(n===void 0?n=L=r:n+=`\\${r}`)}if(n===void 0)return".";let u=!0,l=0;if(typeof L=="string"&&s(L.charCodeAt(0))){++l;const i=L.length;i>1&&s(L.charCodeAt(1))&&(++l,i>2&&(s(L.charCodeAt(2))?++l:u=!1))}if(u){for(;l<n.length&&s(n.charCodeAt(l));)l++;l>=2&&(n=`\\${n.slice(l)}`)}return e.win32.normalize(n)},relative(t,n){if(y(t,"from"),y(n,"to"),t===n)return"";const L=e.win32.resolve(t),u=e.win32.resolve(n);if(L===u||(t=L.toLowerCase(),n=u.toLowerCase(),t===n))return"";let l=0;for(;l<t.length&&t.charCodeAt(l)===c;)l++;let i=t.length;for(;i-1>l&&t.charCodeAt(i-1)===c;)i--;const r=i-l;let g=0;for(;g<n.length&&n.charCodeAt(g)===c;)g++;let S=n.length;for(;S-1>g&&n.charCodeAt(S-1)===c;)S--;const o=S-g,d=r<o?r:o;let k=-1,K=0;for(;K<d;K++){const oe=t.charCodeAt(l+K);if(oe!==n.charCodeAt(g+K))break;oe===c&&(k=K)}if(K!==d){if(k===-1)return u}else{if(o>d){if(n.charCodeAt(g+K)===c)return u.slice(g+K+1);if(K===2)return u.slice(g+K)}r>d&&(t.charCodeAt(l+K)===c?k=K:K===2&&(k=3)),k===-1&&(k=0)}let ie="";for(K=l+k+1;K<=i;++K)(K===i||t.charCodeAt(K)===c)&&(ie+=ie.length===0?"..":"\\..");return g+=k,ie.length>0?`${ie}${u.slice(g,S)}`:(u.charCodeAt(g)===c&&++g,u.slice(g,S))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;const n=e.win32.resolve(t);if(n.length<=2)return t;if(n.charCodeAt(0)===c){if(n.charCodeAt(1)===c){const L=n.charCodeAt(2);if(L!==q&&L!==D)return`\\\\?\\UNC\\${n.slice(2)}`}}else if(a(n.charCodeAt(0))&&n.charCodeAt(1)===P&&n.charCodeAt(2)===c)return`\\\\?\\${n}`;return t},dirname(t){y(t,"path");const n=t.length;if(n===0)return".";let L=-1,u=0;const l=t.charCodeAt(0);if(n===1)return s(l)?t:".";if(s(l)){if(L=u=1,s(t.charCodeAt(1))){let g=2,S=g;for(;g<n&&!s(t.charCodeAt(g));)g++;if(g<n&&g!==S){for(S=g;g<n&&s(t.charCodeAt(g));)g++;if(g<n&&g!==S){for(S=g;g<n&&!s(t.charCodeAt(g));)g++;if(g===n)return t;g!==S&&(L=u=g+1)}}}}else a(l)&&t.charCodeAt(1)===P&&(L=n>2&&s(t.charCodeAt(2))?3:2,u=L);let i=-1,r=!0;for(let g=n-1;g>=u;--g)if(s(t.charCodeAt(g))){if(!r){i=g;break}}else r=!1;if(i===-1){if(L===-1)return".";i=L}return t.slice(0,i)},basename(t,n){n!==void 0&&y(n,"ext"),y(t,"path");let L=0,u=-1,l=!0,i;if(t.length>=2&&a(t.charCodeAt(0))&&t.charCodeAt(1)===P&&(L=2),n!==void 0&&n.length>0&&n.length<=t.length){if(n===t)return"";let r=n.length-1,g=-1;for(i=t.length-1;i>=L;--i){const S=t.charCodeAt(i);if(s(S)){if(!l){L=i+1;break}}else g===-1&&(l=!1,g=i+1),r>=0&&(S===n.charCodeAt(r)?--r===-1&&(u=i):(r=-1,u=g))}return L===u?u=g:u===-1&&(u=t.length),t.slice(L,u)}for(i=t.length-1;i>=L;--i)if(s(t.charCodeAt(i))){if(!l){L=i+1;break}}else u===-1&&(l=!1,u=i+1);return u===-1?"":t.slice(L,u)},extname(t){y(t,"path");let n=0,L=-1,u=0,l=-1,i=!0,r=0;t.length>=2&&t.charCodeAt(1)===P&&a(t.charCodeAt(0))&&(n=u=2);for(let g=t.length-1;g>=n;--g){const S=t.charCodeAt(g);if(s(S)){if(!i){u=g+1;break}continue}l===-1&&(i=!1,l=g+1),S===D?L===-1?L=g:r!==1&&(r=1):L!==-1&&(r=-1)}return L===-1||l===-1||r===0||r===1&&L===l-1&&L===u+1?"":t.slice(L,l)},format:C.bind(null,"\\"),parse(t){y(t,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;const L=t.length;let u=0,l=t.charCodeAt(0);if(L===1)return s(l)?(n.root=n.dir=t,n):(n.base=n.name=t,n);if(s(l)){if(u=1,s(t.charCodeAt(1))){let k=2,K=k;for(;k<L&&!s(t.charCodeAt(k));)k++;if(k<L&&k!==K){for(K=k;k<L&&s(t.charCodeAt(k));)k++;if(k<L&&k!==K){for(K=k;k<L&&!s(t.charCodeAt(k));)k++;k===L?u=k:k!==K&&(u=k+1)}}}}else if(a(l)&&t.charCodeAt(1)===P){if(L<=2)return n.root=n.dir=t,n;if(u=2,s(t.charCodeAt(2))){if(L===3)return n.root=n.dir=t,n;u=3}}u>0&&(n.root=t.slice(0,u));let i=-1,r=u,g=-1,S=!0,o=t.length-1,d=0;for(;o>=u;--o){if(l=t.charCodeAt(o),s(l)){if(!S){r=o+1;break}continue}g===-1&&(S=!1,g=o+1),l===D?i===-1?i=o:d!==1&&(d=1):i!==-1&&(d=-1)}return g!==-1&&(i===-1||d===0||d===1&&i===g-1&&i===r+1?n.base=n.name=t.slice(r,g):(n.name=t.slice(r,i),n.base=t.slice(r,g),n.ext=t.slice(i,g))),r>0&&r!==u?n.dir=t.slice(0,r-1):n.dir=n.root,n},sep:"\\",delimiter:";",win32:null,posix:null};const U=(()=>{if(p){const t=/\\/g;return()=>{const n=w.cwd().replace(t,"/");return n.slice(n.indexOf("/"))}}return()=>w.cwd()})();e.posix={resolve(...t){let n="",L=!1;for(let u=t.length-1;u>=-1&&!L;u--){const l=u>=0?t[u]:U();y(l,"path"),l.length!==0&&(n=`${l}/${n}`,L=l.charCodeAt(0)===m)}return n=O(n,!L,"/",v),L?`/${n}`:n.length>0?n:"."},normalize(t){if(y(t,"path"),t.length===0)return".";const n=t.charCodeAt(0)===m,L=t.charCodeAt(t.length-1)===m;return t=O(t,!n,"/",v),t.length===0?n?"/":L?"./":".":(L&&(t+="/"),n?`/${t}`:t)},isAbsolute(t){return y(t,"path"),t.length>0&&t.charCodeAt(0)===m},join(...t){if(t.length===0)return".";let n;for(let L=0;L<t.length;++L){const u=t[L];y(u,"path"),u.length>0&&(n===void 0?n=u:n+=`/${u}`)}return n===void 0?".":e.posix.normalize(n)},relative(t,n){if(y(t,"from"),y(n,"to"),t===n||(t=e.posix.resolve(t),n=e.posix.resolve(n),t===n))return"";const L=1,u=t.length,l=u-L,i=1,r=n.length-i,g=l<r?l:r;let S=-1,o=0;for(;o<g;o++){const k=t.charCodeAt(L+o);if(k!==n.charCodeAt(i+o))break;k===m&&(S=o)}if(o===g)if(r>g){if(n.charCodeAt(i+o)===m)return n.slice(i+o+1);if(o===0)return n.slice(i+o)}else l>g&&(t.charCodeAt(L+o)===m?S=o:o===0&&(S=0));let d="";for(o=L+S+1;o<=u;++o)(o===u||t.charCodeAt(o)===m)&&(d+=d.length===0?"..":"/..");return`${d}${n.slice(i+S)}`},toNamespacedPath(t){return t},dirname(t){if(y(t,"path"),t.length===0)return".";const n=t.charCodeAt(0)===m;let L=-1,u=!0;for(let l=t.length-1;l>=1;--l)if(t.charCodeAt(l)===m){if(!u){L=l;break}}else u=!1;return L===-1?n?"/":".":n&&L===1?"//":t.slice(0,L)},basename(t,n){n!==void 0&&y(n,"ext"),y(t,"path");let L=0,u=-1,l=!0,i;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n===t)return"";let r=n.length-1,g=-1;for(i=t.length-1;i>=0;--i){const S=t.charCodeAt(i);if(S===m){if(!l){L=i+1;break}}else g===-1&&(l=!1,g=i+1),r>=0&&(S===n.charCodeAt(r)?--r===-1&&(u=i):(r=-1,u=g))}return L===u?u=g:u===-1&&(u=t.length),t.slice(L,u)}for(i=t.length-1;i>=0;--i)if(t.charCodeAt(i)===m){if(!l){L=i+1;break}}else u===-1&&(l=!1,u=i+1);return u===-1?"":t.slice(L,u)},extname(t){y(t,"path");let n=-1,L=0,u=-1,l=!0,i=0;for(let r=t.length-1;r>=0;--r){const g=t.charCodeAt(r);if(g===m){if(!l){L=r+1;break}continue}u===-1&&(l=!1,u=r+1),g===D?n===-1?n=r:i!==1&&(i=1):n!==-1&&(i=-1)}return n===-1||u===-1||i===0||i===1&&n===u-1&&n===L+1?"":t.slice(n,u)},format:C.bind(null,"/"),parse(t){y(t,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;const L=t.charCodeAt(0)===m;let u;L?(n.root="/",u=1):u=0;let l=-1,i=0,r=-1,g=!0,S=t.length-1,o=0;for(;S>=u;--S){const d=t.charCodeAt(S);if(d===m){if(!g){i=S+1;break}continue}r===-1&&(g=!1,r=S+1),d===D?l===-1?l=S:o!==1&&(o=1):l!==-1&&(o=-1)}if(r!==-1){const d=i===0&&L?1:i;l===-1||o===0||o===1&&l===r-1&&l===i+1?n.base=n.name=t.slice(d,r):(n.name=t.slice(d,l),n.base=t.slice(d,r),n.ext=t.slice(l,r))}return i>0?n.dir=t.slice(0,i-1):L&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=p?e.win32.normalize:e.posix.normalize,e.isAbsolute=p?e.win32.isAbsolute:e.posix.isAbsolute,e.join=p?e.win32.join:e.posix.join,e.resolve=p?e.win32.resolve:e.posix.resolve,e.relative=p?e.win32.relative:e.posix.relative,e.dirname=p?e.win32.dirname:e.posix.dirname,e.basename=p?e.win32.basename:e.posix.basename,e.extname=p?e.win32.extname:e.posix.extname,e.format=p?e.win32.format:e.posix.format,e.parse=p?e.win32.parse:e.posix.parse,e.toNamespacedPath=p?e.win32.toNamespacedPath:e.posix.toNamespacedPath,e.sep=p?e.win32.sep:e.posix.sep,e.delimiter=p?e.win32.delimiter:e.posix.delimiter}),define(he[18],me([0,1,9,2,12,5]),function(ae,e,w,N,I,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.randomPath=e.parseLineAndColumnAware=e.indexOfPath=e.getDriveLetter=e.hasDriveLetter=e.isRootOrDriveLetter=e.sanitizeFilePath=e.isWindowsDriveLetter=e.isEqualOrParent=e.isEqual=e.isValidBasename=e.isUNC=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function $(i){return i===47||i===92}e.isPathSeparator=$;function D(i){return i.replace(/[\\/]/g,w.posix.sep)}e.toSlashes=D;function m(i){return i.indexOf("/")===-1&&(i=D(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=m;function c(i,r=w.posix.sep){if(!i)return"";const g=i.length,S=i.charCodeAt(0);if($(S)){if($(i.charCodeAt(1))&&!$(i.charCodeAt(2))){let d=3;const k=d;for(;d<g&&!$(i.charCodeAt(d));d++);if(k!==d&&!$(i.charCodeAt(d+1))){for(d+=1;d<g;d++)if($(i.charCodeAt(d)))return i.slice(0,d+1).replace(/[\\/]/g,r)}}return r}else if(v(S)&&i.charCodeAt(1)===58)return $(i.charCodeAt(2))?i.slice(0,2)+r:i.slice(0,2);let o=i.indexOf("://");if(o!==-1){for(o+=3;o<g;o++)if($(i.charCodeAt(o)))return i.slice(0,o+1)}return""}e.getRoot=c;function P(i){if(!N.isWindows||!i||i.length<5)return!1;let r=i.charCodeAt(0);if(r!==92||(r=i.charCodeAt(1),r!==92))return!1;let g=2;const S=g;for(;g<i.length&&(r=i.charCodeAt(g),r!==92);g++);return!(S===g||(r=i.charCodeAt(g+1),isNaN(r)||r===92))}e.isUNC=P;const q=/[\\/:\*\?"<>\|]/g,T=/[\\/]/g,M=/^(con|prn|aux|clock\$|nul|lpt[0-9]|com[0-9])(\.(.*?))?$/i;function y(i,r=N.isWindows){const g=r?q:T;return!(!i||i.length===0||/^\s+$/.test(i)||(g.lastIndex=0,g.test(i))||r&&M.test(i)||i==="."||i===".."||r&&i[i.length-1]==="."||r&&i.length!==i.trim().length||i.length>255)}e.isValidBasename=y;function p(i,r,g){const S=i===r;return!g||S?S:!i||!r?!1:(0,I.equalsIgnoreCase)(i,r)}e.isEqual=p;function s(i,r,g,S=w.sep){if(i===r)return!0;if(!i||!r||r.length>i.length)return!1;if(g){if(!(0,I.startsWithIgnoreCase)(i,r))return!1;if(r.length===i.length)return!0;let d=r.length;return r.charAt(r.length-1)===S&&d--,i.charAt(d)===S}return r.charAt(r.length-1)!==S&&(r+=S),i.indexOf(r)===0}e.isEqualOrParent=s;function v(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=v;function a(i,r){return N.isWindows&&i.endsWith(":")&&(i+=w.sep),(0,w.isAbsolute)(i)||(i=(0,w.join)(r,i)),i=(0,w.normalize)(i),N.isWindows?(i=(0,I.rtrim)(i,w.sep),i.endsWith(":")&&(i+=w.sep)):(i=(0,I.rtrim)(i,w.sep),i||(i=w.sep)),i}e.sanitizeFilePath=a;function O(i){const r=(0,w.normalize)(i);return N.isWindows?i.length>3?!1:C(r)&&(i.length===2||r.charCodeAt(2)===92):r===w.posix.sep}e.isRootOrDriveLetter=O;function C(i,r=N.isWindows){return r?v(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=C;function U(i,r=N.isWindows){return C(i,r)?i[0]:void 0}e.getDriveLetter=U;function t(i,r,g){return r.length>i.length?-1:i===r?0:(g&&(i=i.toLowerCase(),r=r.toLowerCase()),i.indexOf(r))}e.indexOfPath=t;function n(i){const r=i.split(":");let g,S,o;for(const d of r){const k=Number(d);(0,R.isNumber)(k)?S===void 0?S=k:o===void 0&&(o=k):g=g?[g,d].join(":"):d}if(!g)throw new Error("Format for `--goto` should be: `FILE:LINE(:COLUMN)`");return{path:g,line:S!==void 0?S:void 0,column:o!==void 0?o:S!==void 0?1:void 0}}e.parseLineAndColumnAware=n;const L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",u="BDEFGHIJKMOQRSTUVWXYZbdefghijkmoqrstuvwxyz0123456789";function l(i,r,g=8){let S="";for(let d=0;d<g;d++){let k;d===0&&N.isWindows&&!r&&(g===3||g===4)?k=u:k=L,S+=k.charAt(Math.floor(Math.random()*k.length))}let o;return r?o=`${r}-${S}`:o=S,i?(0,w.join)(i,o):o}e.randomPath=l}),define(he[19],me([0,1,2]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeDangerousEnvVariables=e.sanitizeProcessEnvironment=e.TerminateResponseCode=e.Source=void 0;var N;(function(D){D[D.stdout=0]="stdout",D[D.stderr=1]="stderr"})(N||(e.Source=N={}));var I;(function(D){D[D.Success=0]="Success",D[D.Unknown=1]="Unknown",D[D.AccessDenied=2]="AccessDenied",D[D.ProcessNotFound=3]="ProcessNotFound"})(I||(e.TerminateResponseCode=I={}));function R(D,...m){const c=m.reduce((T,M)=>(T[M]=!0,T),{}),P=[/^ELECTRON_.+$/,/^VSCODE_(?!(PORTABLE|SHELL_LOGIN|ENV_REPLACE|ENV_APPEND|ENV_PREPEND)).+$/,/^SNAP(|_.*)$/,/^GDK_PIXBUF_.+$/];Object.keys(D).filter(T=>!c[T]).forEach(T=>{for(let M=0;M<P.length;M++)if(T.search(P[M])!==-1){delete D[T];break}})}e.sanitizeProcessEnvironment=R;function $(D){D&&(delete D.DEBUG,w.isMacintosh&&delete D.DYLD_LIBRARY_PATH,w.isLinux&&delete D.LD_PRELOAD)}e.removeDangerousEnvVariables=$}),define(he[4],me([0,1,9,2]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.isUriComponents=e.URI=void 0;const I=/^\w[\w\d+.-]*$/,R=/^\//,$=/^\/\//;function D(u,l){if(!u.scheme&&l)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${u.authority}", path: "${u.path}", query: "${u.query}", fragment: "${u.fragment}"}`);if(u.scheme&&!I.test(u.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(u.path){if(u.authority){if(!R.test(u.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if($.test(u.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function m(u,l){return!u&&!l?"file":u}function c(u,l){switch(u){case"https":case"http":case"file":l?l[0]!==q&&(l=q+l):l=q;break}return l}const P="",q="/",T=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class M{static isUri(l){return l instanceof M?!0:l?typeof l.authority=="string"&&typeof l.fragment=="string"&&typeof l.path=="string"&&typeof l.query=="string"&&typeof l.scheme=="string"&&typeof l.fsPath=="string"&&typeof l.with=="function"&&typeof l.toString=="function":!1}constructor(l,i,r,g,S,o=!1){typeof l=="object"?(this.scheme=l.scheme||P,this.authority=l.authority||P,this.path=l.path||P,this.query=l.query||P,this.fragment=l.fragment||P):(this.scheme=m(l,o),this.authority=i||P,this.path=c(this.scheme,r||P),this.query=g||P,this.fragment=S||P,D(this,o))}get fsPath(){return C(this,!1)}with(l){if(!l)return this;let{scheme:i,authority:r,path:g,query:S,fragment:o}=l;return i===void 0?i=this.scheme:i===null&&(i=P),r===void 0?r=this.authority:r===null&&(r=P),g===void 0?g=this.path:g===null&&(g=P),S===void 0?S=this.query:S===null&&(S=P),o===void 0?o=this.fragment:o===null&&(o=P),i===this.scheme&&r===this.authority&&g===this.path&&S===this.query&&o===this.fragment?this:new s(i,r,g,S,o)}static parse(l,i=!1){const r=T.exec(l);return r?new s(r[2]||P,L(r[4]||P),L(r[5]||P),L(r[7]||P),L(r[9]||P),i):new s(P,P,P,P,P)}static file(l){let i=P;if(N.isWindows&&(l=l.replace(/\\/g,q)),l[0]===q&&l[1]===q){const r=l.indexOf(q,2);r===-1?(i=l.substring(2),l=q):(i=l.substring(2,r),l=l.substring(r)||q)}return new s("file",i,l,P,P)}static from(l,i){return new s(l.scheme,l.authority,l.path,l.query,l.fragment,i)}static joinPath(l,...i){if(!l.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return N.isWindows&&l.scheme==="file"?r=M.file(w.win32.join(C(l,!0),...i)).path:r=w.posix.join(l.path,...i),l.with({path:r})}toString(l=!1){return U(this,l)}toJSON(){return this}static revive(l){if(l){if(l instanceof M)return l;{const i=new s(l);return i._formatted=l.external??null,i._fsPath=l._sep===p?l.fsPath??null:null,i}}else return}}e.URI=M;function y(u){return!u||typeof u!="object"?!1:typeof u.scheme=="string"&&(typeof u.authority=="string"||typeof u.authority>"u")&&(typeof u.path=="string"||typeof u.path>"u")&&(typeof u.query=="string"||typeof u.query>"u")&&(typeof u.fragment=="string"||typeof u.fragment>"u")}e.isUriComponents=y;const p=N.isWindows?1:void 0;class s extends M{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=C(this,!1)),this._fsPath}toString(l=!1){return l?U(this,!0):(this._formatted||(this._formatted=U(this,!1)),this._formatted)}toJSON(){const l={$mid:1};return this._fsPath&&(l.fsPath=this._fsPath,l._sep=p),this._formatted&&(l.external=this._formatted),this.path&&(l.path=this.path),this.scheme&&(l.scheme=this.scheme),this.authority&&(l.authority=this.authority),this.query&&(l.query=this.query),this.fragment&&(l.fragment=this.fragment),l}}const v={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function a(u,l,i){let r,g=-1;for(let S=0;S<u.length;S++){const o=u.charCodeAt(S);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||l&&o===47||i&&o===91||i&&o===93||i&&o===58)g!==-1&&(r+=encodeURIComponent(u.substring(g,S)),g=-1),r!==void 0&&(r+=u.charAt(S));else{r===void 0&&(r=u.substr(0,S));const d=v[o];d!==void 0?(g!==-1&&(r+=encodeURIComponent(u.substring(g,S)),g=-1),r+=d):g===-1&&(g=S)}}return g!==-1&&(r+=encodeURIComponent(u.substring(g))),r!==void 0?r:u}function O(u){let l;for(let i=0;i<u.length;i++){const r=u.charCodeAt(i);r===35||r===63?(l===void 0&&(l=u.substr(0,i)),l+=v[r]):l!==void 0&&(l+=u[i])}return l!==void 0?l:u}function C(u,l){let i;return u.authority&&u.path.length>1&&u.scheme==="file"?i=`//${u.authority}${u.path}`:u.path.charCodeAt(0)===47&&(u.path.charCodeAt(1)>=65&&u.path.charCodeAt(1)<=90||u.path.charCodeAt(1)>=97&&u.path.charCodeAt(1)<=122)&&u.path.charCodeAt(2)===58?l?i=u.path.substr(1):i=u.path[1].toLowerCase()+u.path.substr(2):i=u.path,N.isWindows&&(i=i.replace(/\//g,"\\")),i}e.uriToFsPath=C;function U(u,l){const i=l?O:a;let r="",{scheme:g,authority:S,path:o,query:d,fragment:k}=u;if(g&&(r+=g,r+=":"),(S||g==="file")&&(r+=q,r+=q),S){let K=S.indexOf("@");if(K!==-1){const ie=S.substr(0,K);S=S.substr(K+1),K=ie.lastIndexOf(":"),K===-1?r+=i(ie,!1,!1):(r+=i(ie.substr(0,K),!1,!1),r+=":",r+=i(ie.substr(K+1),!1,!0)),r+="@"}S=S.toLowerCase(),K=S.lastIndexOf(":"),K===-1?r+=i(S,!1,!0):(r+=i(S.substr(0,K),!1,!0),r+=S.substr(K))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const K=o.charCodeAt(1);K>=65&&K<=90&&(o=`/${String.fromCharCode(K+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const K=o.charCodeAt(0);K>=65&&K<=90&&(o=`${String.fromCharCode(K+32)}:${o.substr(2)}`)}r+=i(o,!0,!1)}return d&&(r+="?",r+=i(d,!1,!1)),k&&(r+="#",r+=l?k:a(k,!1,!1)),r}function t(u){try{return decodeURIComponent(u)}catch{return u.length>3?u.substr(0,3)+t(u.substr(3)):u}}const n=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function L(u){return u.match(n)?u.replace(n,l=>t(l)):u}}),define(he[35],me([0,1,4]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=e.getFirstFrame=e.parse=e.isRemoteConsoleLog=void 0;function N(c){const P=c;return P&&typeof P.type=="string"&&typeof P.severity=="string"}e.isRemoteConsoleLog=N;function I(c){const P=[];let q;try{const T=JSON.parse(c.arguments),M=T[T.length-1];M&&M.__$stack&&(T.pop(),q=M.__$stack),P.push(...T)}catch{P.push("Unable to log remote console arguments",c.arguments)}return{args:P,stack:q}}e.parse=I;function R(c){if(typeof c!="string")return R(I(c).stack);const P=c;if(P){const q=$(P),T=/at [^\/]*((?:(?:[a-zA-Z]+:)|(?:[\/])|(?:\\\\))(?:.+)):(\d+):(\d+)/.exec(q||"");if(T&&T.length===4)return{uri:w.URI.file(T[1]),line:Number(T[2]),column:Number(T[3])}}}e.getFirstFrame=R;function $(c){if(!c)return c;const P=c.indexOf(`
`);return P===-1?c:c.substring(0,P)}function D(c,P){const{args:q,stack:T}=I(c),M=typeof q[0]=="string"&&q.length===1;let y=$(T);y&&(y=`(${y.trim()})`);let p=[];if(typeof q[0]=="string"?y&&M?p=[`%c[${P}] %c${q[0]} %c${y}`,m("blue"),m(""),m("grey")]:p=[`%c[${P}] %c${q[0]}`,m("blue"),m(""),...q.slice(1)]:p=[`%c[${P}]%`,m("blue"),...q],y&&!M&&p.push(y),typeof console[c.severity]!="function")throw new Error("Unknown console method");console[c.severity].apply(console,p)}e.log=D;function m(c){return`color: ${c}`}}),define(he[36],me([0,1,10,4]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=e.stringify=void 0;function I(m){return JSON.stringify(m,$)}e.stringify=I;function R(m){let c=JSON.parse(m);return c=D(c),c}e.parse=R;function $(m,c){return c instanceof RegExp?{$mid:2,source:c.source,flags:c.flags}:c}function D(m,c=0){if(!m||c>200)return m;if(typeof m=="object"){switch(m.$mid){case 1:return N.URI.revive(m);case 2:return new RegExp(m.source,m.flags);case 16:return new Date(m.source)}if(m instanceof w.VSBuffer||m instanceof Uint8Array)return m;if(Array.isArray(m))for(let P=0;P<m.length;++P)m[P]=D(m[P],c+1);else for(const P in m)Object.hasOwnProperty.call(m,P)&&(m[P]=D(m[P],c+1))}return m}e.revive=D}),define(he[14],me([0,1,3,2,4]),function(ae,e,w,N,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.nodeModulesAsarUnpackedPath=e.nodeModulesAsarPath=e.nodeModulesPath=e.builtinExtensionsPath=e.RemoteAuthorities=e.connectionTokenQueryName=e.connectionTokenCookieName=e.Schemas=void 0;var R;(function(c){c.inMemory="inmemory",c.vscode="vscode",c.internal="private",c.walkThrough="walkThrough",c.walkThroughSnippet="walkThroughSnippet",c.http="http",c.https="https",c.file="file",c.mailto="mailto",c.untitled="untitled",c.data="data",c.attachment="attachment",c.command="command",c.vscodeRemote="vscode-remote",c.vscodeRemoteResource="vscode-remote-resource",c.vscodeManagedRemoteResource="vscode-managed-remote-resource",c.vscodeUserData="vscode-userdata",c.vscodeCustomEditor="vscode-custom-editor",c.vscodeNotebookCell="vscode-notebook-cell",c.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",c.vscodeNotebookCellOutput="vscode-notebook-cell-output",c.vscodeInteractiveInput="vscode-interactive-input",c.vscodeSettings="vscode-settings",c.vscodeWorkspaceTrust="vscode-workspace-trust",c.vscodeTerminal="vscode-terminal",c.vscodeChatSesssion="vscode-chat-editor",c.webviewPanel="webview-panel",c.vscodeWebview="vscode-webview",c.extension="extension",c.vscodeFileResource="vscode-file",c.tmp="tmp",c.vsls="vsls",c.vscodeSourceControl="vscode-scm"})(R||(e.Schemas=R={})),e.connectionTokenCookieName="vscode-tkn",e.connectionTokenQueryName="tkn";class ${constructor(){this._defaultWebPort=80,this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${R.vscodeRemoteResource}`}setPreferredWebSchema(P){this._preferredWebSchema=P}setDelegate(P){this._delegate=P}setServerRootPath(P){this._remoteResourcesPath=`${P}/${R.vscodeRemoteResource}`}set(P,q,T){this._hosts[P]=q,this._ports[P]=T}setConnectionToken(P,q){this._connectionTokens[P]=q}getPreferredWebSchema(){return this._preferredWebSchema}rewrite(P){if(this._delegate)try{return this._delegate(P)}catch(s){return w.onUnexpectedError(s),P}const q=P.authority;let T=this._hosts[q];T&&T.indexOf(":")!==-1&&T.indexOf("[")===-1&&(T=`[${T}]`);const M=this._ports[q],y=this._connectionTokens[q];let p=`path=${encodeURIComponent(P.path)}`;return typeof y=="string"&&(p+=`&${e.connectionTokenQueryName}=${encodeURIComponent(y)}`),I.URI.from({scheme:N.isWeb?this._preferredWebSchema:R.vscodeRemoteResource,authority:N.isWeb&&M===this._defaultWebPort?`${T}`:`${T}:${M}`,path:this._remoteResourcesPath,query:p})}}e.RemoteAuthorities=new $,e.builtinExtensionsPath="vs/../../extensions",e.nodeModulesPath="vs/../../node_modules",e.nodeModulesAsarPath="vs/../../node_modules.asar",e.nodeModulesAsarUnpackedPath="vs/../../node_modules.asar.unpacked";class D{static{this.FALLBACK_AUTHORITY="vscode-app"}asBrowserUri(P){const q=this.toUri(P,ae);return this.uriToBrowserUri(q)}uriToBrowserUri(P){return P.scheme===R.vscodeRemote?e.RemoteAuthorities.rewrite(P):P.scheme===R.file&&(N.isNative||N.isWebWorker&&N.globals.origin===`${R.vscodeFileResource}://${D.FALLBACK_AUTHORITY}`)?P.with({scheme:R.vscodeFileResource,authority:P.authority||D.FALLBACK_AUTHORITY,query:null,fragment:null}):P}asFileUri(P){const q=this.toUri(P,ae);return this.uriToFileUri(q)}uriToFileUri(P){return P.scheme===R.vscodeFileResource?P.with({scheme:R.file,authority:P.authority!==D.FALLBACK_AUTHORITY?P.authority:null,query:null,fragment:null}):P}toUri(P,q){return I.URI.isUri(P)?P:I.URI.parse(q.toUrl(P))}}e.FileAccess=new D;var m;(function(c){const P=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);c.CoopAndCoep=Object.freeze(P.get("3"));const q="vscode-coi";function T(y){let p;typeof y=="string"?p=new URL(y).searchParams:y instanceof URL?p=y.searchParams:I.URI.isUri(y)&&(p=new URL(y.toString(!0)).searchParams);const s=p?.get(q);if(s)return P.get(s)}c.getHeadersFromQuery=T;function M(y,p,s){if(!globalThis.crossOriginIsolated)return;const v=p&&s?"3":s?"2":"1";y instanceof URLSearchParams?y.set(q,v):y[q]=v}c.addSearchParam=M})(m||(e.COI=m={}))}),define(he[37],me([0,1,22,14,2,4]),function(ae,e,w,N,I,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.importAMDNodeModule=void 0;class ${constructor(T,M,y){this.id=T,this.dependencies=M,this.callback=y}}class D{static{this.INSTANCE=new D}constructor(){this._isWebWorker=typeof self=="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",this._isRenderer=typeof document=="object",this._defineCalls=[],this._initialized=!1}_initialize(){this._initialized||(this._initialized=!0,globalThis.define=(T,M,y)=>{typeof T!="string"&&(y=M,M=T,T=null),(typeof M!="object"||!Array.isArray(M))&&(y=M,M=null),this._defineCalls.push(new $(T,M,y))},globalThis.define.amd=!0,this._isRenderer?this._amdPolicy=window.trustedTypes?.createPolicy("amdLoader",{createScriptURL(T){if(T.startsWith(window.location.origin)||T.startsWith("vscode-file://vscode-app"))return T;throw new Error(`[trusted_script_src] Invalid script url: ${T}`)}}):this._isWebWorker&&(this._amdPolicy=globalThis.trustedTypes?.createPolicy("amdLoader",{createScriptURL(T){return T}})))}async load(T){this._initialize();const M=await(this._isWebWorker?this._workerLoadScript(T):this._isRenderer?this._rendererLoadScript(T):this._nodeJSLoadScript(T));if(!M)throw new Error(`Did not receive a define call from script ${T}`);if(Array.isArray(M.dependencies)&&M.dependencies.length>0)throw new Error(`Cannot resolve dependencies for script ${T}. The dependencies are: ${M.dependencies.join(", ")}`);return typeof M.callback=="function"?M.callback([]):M.callback}_rendererLoadScript(T){return new Promise((M,y)=>{const p=document.createElement("script");p.setAttribute("async","async"),p.setAttribute("type","text/javascript");const s=()=>{p.removeEventListener("load",v),p.removeEventListener("error",a)},v=O=>{s(),M(this._defineCalls.pop())},a=O=>{s(),y(O)};p.addEventListener("load",v),p.addEventListener("error",a),this._amdPolicy&&(T=this._amdPolicy.createScriptURL(T)),p.setAttribute("src",T),document.getElementsByTagName("head")[0].appendChild(p)})}_workerLoadScript(T){return new Promise((M,y)=>{try{this._amdPolicy&&(T=this._amdPolicy.createScriptURL(T)),importScripts(T),M(this._defineCalls.pop())}catch(p){y(p)}})}async _nodeJSLoadScript(T){try{const M=globalThis._VSCODE_NODE_MODULES.fs,y=globalThis._VSCODE_NODE_MODULES.vm,p=globalThis._VSCODE_NODE_MODULES.module,s=R.URI.parse(T).fsPath,v=M.readFileSync(s).toString(),a=p.wrap(v.replace(/^#!.*/,""));return new y.Script(a).runInThisContext().apply(),this._defineCalls.pop()}catch(M){throw M}}}const m=new Map;let c={};typeof globalThis.require=="object"&&(c=globalThis.require.paths??{});async function P(q,T,M){if(w.isESM){M===void 0&&(M=!!(globalThis._VSCODE_PRODUCT_JSON??globalThis.vscode?.context?.configuration()?.product)?.commit),c[q]&&(q=c[q]);const y=`${q}/${T}`;if(m.has(y))return m.get(y);let p;if(/^\w[\w\d+.-]*:\/\//.test(y))p=y;else{const O=`${M&&!I.isWeb?N.nodeModulesAsarPath:N.nodeModulesPath}/${y}`;p=N.FileAccess.asBrowserUri(O).toString(!0)}const s=D.INSTANCE.load(p);return m.set(y,s),s}else return await new Promise((y,p)=>{ae([q],y,p)})}e.importAMDNodeModule=P}),define(he[20],me([0,1,18,14,9,2,12,4]),function(ae,e,w,N,I,R,$,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toLocalResource=e.DataUri=e.distinctParents=e.addTrailingPathSeparator=e.removeTrailingPathSeparator=e.hasTrailingPathSeparator=e.isEqualAuthority=e.isAbsolutePath=e.resolvePath=e.relativePath=e.normalizePath=e.joinPath=e.dirname=e.extname=e.basename=e.basenameOrAuthority=e.getComparisonKey=e.isEqualOrParent=e.isEqual=e.extUriIgnorePathCase=e.extUriBiasedIgnorePathCase=e.extUri=e.ExtUri=e.originalFSPath=void 0;function m(M){return(0,D.uriToFsPath)(M,!0)}e.originalFSPath=m;class c{constructor(y){this._ignorePathCasing=y}compare(y,p,s=!1){return y===p?0:(0,$.compare)(this.getComparisonKey(y,s),this.getComparisonKey(p,s))}isEqual(y,p,s=!1){return y===p?!0:!y||!p?!1:this.getComparisonKey(y,s)===this.getComparisonKey(p,s)}getComparisonKey(y,p=!1){return y.with({path:this._ignorePathCasing(y)?y.path.toLowerCase():void 0,fragment:p?null:void 0}).toString()}ignorePathCasing(y){return this._ignorePathCasing(y)}isEqualOrParent(y,p,s=!1){if(y.scheme===p.scheme){if(y.scheme===N.Schemas.file)return w.isEqualOrParent(m(y),m(p),this._ignorePathCasing(y))&&y.query===p.query&&(s||y.fragment===p.fragment);if((0,e.isEqualAuthority)(y.authority,p.authority))return w.isEqualOrParent(y.path,p.path,this._ignorePathCasing(y),"/")&&y.query===p.query&&(s||y.fragment===p.fragment)}return!1}joinPath(y,...p){return D.URI.joinPath(y,...p)}basenameOrAuthority(y){return(0,e.basename)(y)||y.authority}basename(y){return I.posix.basename(y.path)}extname(y){return I.posix.extname(y.path)}dirname(y){if(y.path.length===0)return y;let p;return y.scheme===N.Schemas.file?p=D.URI.file(I.dirname(m(y))).path:(p=I.posix.dirname(y.path),y.authority&&p.length&&p.charCodeAt(0)!==47&&(console.error(`dirname("${y.toString})) resulted in a relative path`),p="/")),y.with({path:p})}normalizePath(y){if(!y.path.length)return y;let p;return y.scheme===N.Schemas.file?p=D.URI.file(I.normalize(m(y))).path:p=I.posix.normalize(y.path),y.with({path:p})}relativePath(y,p){if(y.scheme!==p.scheme||!(0,e.isEqualAuthority)(y.authority,p.authority))return;if(y.scheme===N.Schemas.file){const a=I.relative(m(y),m(p));return R.isWindows?w.toSlashes(a):a}let s=y.path||"/";const v=p.path||"/";if(this._ignorePathCasing(y)){let a=0;for(const O=Math.min(s.length,v.length);a<O&&!(s.charCodeAt(a)!==v.charCodeAt(a)&&s.charAt(a).toLowerCase()!==v.charAt(a).toLowerCase());a++);s=v.substr(0,a)+s.substr(a)}return I.posix.relative(s,v)}resolvePath(y,p){if(y.scheme===N.Schemas.file){const s=D.URI.file(I.resolve(m(y),p));return y.with({authority:s.authority,path:s.path})}return p=w.toPosixPath(p),y.with({path:I.posix.resolve(y.path,p)})}isAbsolutePath(y){return!!y.path&&y.path[0]==="/"}isEqualAuthority(y,p){return y===p||y!==void 0&&p!==void 0&&(0,$.equalsIgnoreCase)(y,p)}hasTrailingPathSeparator(y,p=I.sep){if(y.scheme===N.Schemas.file){const s=m(y);return s.length>w.getRoot(s).length&&s[s.length-1]===p}else{const s=y.path;return s.length>1&&s.charCodeAt(s.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(y.fsPath)}}removeTrailingPathSeparator(y,p=I.sep){return(0,e.hasTrailingPathSeparator)(y,p)?y.with({path:y.path.substr(0,y.path.length-1)}):y}addTrailingPathSeparator(y,p=I.sep){let s=!1;if(y.scheme===N.Schemas.file){const v=m(y);s=v!==void 0&&v.length===w.getRoot(v).length&&v[v.length-1]===p}else{p="/";const v=y.path;s=v.length===1&&v.charCodeAt(v.length-1)===47}return!s&&!(0,e.hasTrailingPathSeparator)(y,p)?y.with({path:y.path+"/"}):y}}e.ExtUri=c,e.extUri=new c(()=>!1),e.extUriBiasedIgnorePathCase=new c(M=>M.scheme===N.Schemas.file?!R.isLinux:!0),e.extUriIgnorePathCase=new c(M=>!0),e.isEqual=e.extUri.isEqual.bind(e.extUri),e.isEqualOrParent=e.extUri.isEqualOrParent.bind(e.extUri),e.getComparisonKey=e.extUri.getComparisonKey.bind(e.extUri),e.basenameOrAuthority=e.extUri.basenameOrAuthority.bind(e.extUri),e.basename=e.extUri.basename.bind(e.extUri),e.extname=e.extUri.extname.bind(e.extUri),e.dirname=e.extUri.dirname.bind(e.extUri),e.joinPath=e.extUri.joinPath.bind(e.extUri),e.normalizePath=e.extUri.normalizePath.bind(e.extUri),e.relativePath=e.extUri.relativePath.bind(e.extUri),e.resolvePath=e.extUri.resolvePath.bind(e.extUri),e.isAbsolutePath=e.extUri.isAbsolutePath.bind(e.extUri),e.isEqualAuthority=e.extUri.isEqualAuthority.bind(e.extUri),e.hasTrailingPathSeparator=e.extUri.hasTrailingPathSeparator.bind(e.extUri),e.removeTrailingPathSeparator=e.extUri.removeTrailingPathSeparator.bind(e.extUri),e.addTrailingPathSeparator=e.extUri.addTrailingPathSeparator.bind(e.extUri);function P(M,y){const p=[];for(let s=0;s<M.length;s++){const v=y(M[s]);M.some((a,O)=>O===s?!1:(0,e.isEqualOrParent)(v,y(a)))||p.push(M[s])}return p}e.distinctParents=P;var q;(function(M){M.META_DATA_LABEL="label",M.META_DATA_DESCRIPTION="description",M.META_DATA_SIZE="size",M.META_DATA_MIME="mime";function y(p){const s=new Map;p.path.substring(p.path.indexOf(";")+1,p.path.lastIndexOf(";")).split(";").forEach(O=>{const[C,U]=O.split(":");C&&U&&s.set(C,U)});const a=p.path.substring(0,p.path.indexOf(";"));return a&&s.set(M.META_DATA_MIME,a),s}M.parseMetaData=y})(q||(e.DataUri=q={}));function T(M,y,p){if(y){let s=M.path;return s&&s[0]!==I.posix.sep&&(s=I.posix.sep+s),M.with({scheme:p,authority:y,path:s})}return M.with({scheme:p})}e.toLocalResource=T}),define(he[15],me([0,1,8,3,7,6,20,2,32]),function(ae,e,w,N,I,R,$,D,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCancelableAsyncIterable=e.CancelableAsyncIterableObject=e.AsyncIterableObject=e.Promises=e.DeferredPromise=e.IntervalCounter=e.TaskSequentializer=e.retry=e.IdleValue=e.runWhenIdle=e.ThrottledWorker=e.RunOnceWorker=e.ProcessTimeRunOnceScheduler=e.RunOnceScheduler=e.IntervalTimer=e.TimeoutTimer=e.ResourceQueue=e.LimitedQueue=e.Queue=e.Limiter=e.firstParallel=e.first=e.sequence=e.disposableTimeout=e.timeout=e.AutoOpenBarrier=e.Barrier=e.ThrottledDelayer=e.Delayer=e.SequencerByKey=e.Sequencer=e.Throttler=e.asPromise=e.raceTimeout=e.raceCancellablePromises=e.raceCancellationError=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function c(Y){return!!Y&&typeof Y.then=="function"}e.isThenable=c;function P(Y){const E=new w.CancellationTokenSource,B=Y(E.token),J=new Promise((Z,ue)=>{const X=E.token.onCancellationRequested(()=>{X.dispose(),E.dispose(),ue(new N.CancellationError)});Promise.resolve(B).then(f=>{X.dispose(),E.dispose(),Z(f)},f=>{X.dispose(),E.dispose(),ue(f)})});return new class{cancel(){E.cancel()}then(Z,ue){return J.then(Z,ue)}catch(Z){return this.then(void 0,Z)}finally(Z){return J.finally(Z)}}}e.createCancelablePromise=P;function q(Y,E,B){return new Promise((J,Z)=>{const ue=E.onCancellationRequested(()=>{ue.dispose(),J(B)});Y.then(J,Z).finally(()=>ue.dispose())})}e.raceCancellation=q;function T(Y,E){return new Promise((B,J)=>{const Z=E.onCancellationRequested(()=>{Z.dispose(),J(new N.CancellationError)});Y.then(B,J).finally(()=>Z.dispose())})}e.raceCancellationError=T;async function M(Y){let E=-1;const B=Y.map((J,Z)=>J.then(ue=>(E=Z,ue)));try{return await Promise.race(B)}finally{Y.forEach((J,Z)=>{Z!==E&&J.cancel()})}}e.raceCancellablePromises=M;function y(Y,E,B){let J;const Z=setTimeout(()=>{J?.(void 0),B?.()},E);return Promise.race([Y.finally(()=>clearTimeout(Z)),new Promise(ue=>J=ue)])}e.raceTimeout=y;function p(Y){return new Promise((E,B)=>{const J=Y();c(J)?J.then(E,B):E(J)})}e.asPromise=p;class s{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(E){if(this.isDisposed)throw new Error("Throttler is disposed");if(this.activePromise){if(this.queuedPromiseFactory=E,!this.queuedPromise){const B=()=>{if(this.queuedPromise=null,this.isDisposed)return;const J=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,J};this.queuedPromise=new Promise(J=>{this.activePromise.then(B,B).then(J)})}return new Promise((B,J)=>{this.queuedPromise.then(B,J)})}return this.activePromise=E(),new Promise((B,J)=>{this.activePromise.then(Z=>{this.activePromise=null,B(Z)},Z=>{this.activePromise=null,J(Z)})})}dispose(){this.isDisposed=!0}}e.Throttler=s;class v{constructor(){this.current=Promise.resolve(null)}queue(E){return this.current=this.current.then(()=>E(),()=>E())}}e.Sequencer=v;class a{constructor(){this.promiseMap=new Map}queue(E,B){const Z=(this.promiseMap.get(E)??Promise.resolve()).catch(()=>{}).then(B).finally(()=>{this.promiseMap.get(E)===Z&&this.promiseMap.delete(E)});return this.promiseMap.set(E,Z),Z}}e.SequencerByKey=a;const O=(Y,E)=>{let B=!0;const J=setTimeout(()=>{B=!1,E()},Y);return{isTriggered:()=>B,dispose:()=>{clearTimeout(J),B=!1}}},C=Y=>{let E=!0;return queueMicrotask(()=>{E&&(E=!1,Y())}),{isTriggered:()=>E,dispose:()=>{E=!1}}};class U{constructor(E){this.defaultDelay=E,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(E,B=this.defaultDelay){this.task=E,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((Z,ue)=>{this.doResolve=Z,this.doReject=ue}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const Z=this.task;return this.task=null,Z()}}));const J=()=>{this.deferred=null,this.doResolve?.(null)};return this.deferred=B===m.MicrotaskDelay?C(J):O(B,J),this.completionPromise}isTriggered(){return!!this.deferred?.isTriggered()}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject?.(new N.CancellationError),this.completionPromise=null)}cancelTimeout(){this.deferred?.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=U;class t{constructor(E){this.delayer=new U(E),this.throttler=new s}trigger(E,B){return this.delayer.trigger(()=>this.throttler.queue(E),B)}isTriggered(){return this.delayer.isTriggered()}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}e.ThrottledDelayer=t;class n{constructor(){this._isOpen=!1,this._promise=new Promise((E,B)=>{this._completePromise=E})}isOpen(){return this._isOpen}open(){this._isOpen=!0,this._completePromise(!0)}wait(){return this._promise}}e.Barrier=n;class L extends n{constructor(E){super(),this._timeout=setTimeout(()=>this.open(),E)}open(){clearTimeout(this._timeout),super.open()}}e.AutoOpenBarrier=L;function u(Y,E){return E?new Promise((B,J)=>{const Z=setTimeout(()=>{ue.dispose(),B()},Y),ue=E.onCancellationRequested(()=>{clearTimeout(Z),ue.dispose(),J(new N.CancellationError)})}):P(B=>u(Y,B))}e.timeout=u;function l(Y,E=0){const B=setTimeout(Y,E);return(0,R.toDisposable)(()=>clearTimeout(B))}e.disposableTimeout=l;function i(Y){const E=[];let B=0;const J=Y.length;function Z(){return B<J?Y[B++]():null}function ue(X){X!=null&&E.push(X);const f=Z();return f?f.then(ue):Promise.resolve(E)}return Promise.resolve(null).then(ue)}e.sequence=i;function r(Y,E=J=>!!J,B=null){let J=0;const Z=Y.length,ue=()=>{if(J>=Z)return Promise.resolve(B);const X=Y[J++];return Promise.resolve(X()).then(A=>E(A)?Promise.resolve(A):ue())};return ue()}e.first=r;function g(Y,E=J=>!!J,B=null){if(Y.length===0)return Promise.resolve(B);let J=Y.length;const Z=()=>{J=-1;for(const ue of Y)ue.cancel?.()};return new Promise((ue,X)=>{for(const f of Y)f.then(A=>{--J>=0&&E(A)?(Z(),ue(A)):J===0&&ue(B)}).catch(A=>{--J>=0&&(Z(),X(A))})})}e.firstParallel=g;class S{constructor(E){this._size=0,this.maxDegreeOfParalellism=E,this.outstandingPromises=[],this.runningPromises=0,this._onDrained=new I.Emitter}get onDrained(){return this._onDrained.event}get size(){return this._size}queue(E){return this._size++,new Promise((B,J)=>{this.outstandingPromises.push({factory:E,c:B,e:J}),this.consume()})}consume(){for(;this.outstandingPromises.length&&this.runningPromises<this.maxDegreeOfParalellism;){const E=this.outstandingPromises.shift();this.runningPromises++;const B=E.factory();B.then(E.c,E.e),B.then(()=>this.consumed(),()=>this.consumed())}}consumed(){this._size--,this.runningPromises--,this.outstandingPromises.length>0?this.consume():this._onDrained.fire()}dispose(){this._onDrained.dispose()}}e.Limiter=S;class o extends S{constructor(){super(1)}}e.Queue=o;class d{constructor(){this.sequentializer=new fe,this.tasks=0}queue(E){return this.sequentializer.isRunning()?this.sequentializer.queue(()=>this.sequentializer.run(this.tasks++,E())):this.sequentializer.run(this.tasks++,E())}}e.LimitedQueue=d;class k{constructor(){this.queues=new Map,this.drainers=new Set}async whenDrained(){if(this.isDrained())return;const E=new j;return this.drainers.add(E),E.p}isDrained(){for(const[,E]of this.queues)if(E.size>0)return!1;return!0}queueFor(E,B=$.extUri){const J=B.getComparisonKey(E);let Z=this.queues.get(J);return Z||(Z=new o,I.Event.once(Z.onDrained)(()=>{Z?.dispose(),this.queues.delete(J),this.onDidQueueDrain()}),this.queues.set(J,Z)),Z}onDidQueueDrain(){this.isDrained()&&this.releaseDrainers()}releaseDrainers(){for(const E of this.drainers)E.complete();this.drainers.clear()}dispose(){for(const[,E]of this.queues)E.dispose();this.queues.clear(),this.releaseDrainers()}}e.ResourceQueue=k;class K{constructor(E,B){this._token=-1,typeof E=="function"&&typeof B=="number"&&this.setIfNotSet(E,B)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(E,B){this.cancel(),this._token=setTimeout(()=>{this._token=-1,E()},B)}setIfNotSet(E,B){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,E()},B))}}e.TimeoutTimer=K;class ie{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(E,B){this.cancel(),this._token=setInterval(()=>{E()},B)}}e.IntervalTimer=ie;class oe{constructor(E,B){this.timeoutToken=-1,this.runner=E,this.timeout=B,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(E=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,E)}get delay(){return this.timeout}set delay(E){this.timeout=E}isScheduled(){return this.timeoutToken!==-1}flush(){this.isScheduled()&&(this.cancel(),this.doRun())}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner?.()}}e.RunOnceScheduler=oe;class ge{constructor(E,B){B%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${B}ms is not a multiple of 1000ms.`),this.runner=E,this.timeout=B,this.counter=0,this.intervalToken=-1,this.intervalHandler=this.onInterval.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearInterval(this.intervalToken),this.intervalToken=-1)}schedule(E=this.timeout){E%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${E}ms is not a multiple of 1000ms.`),this.cancel(),this.counter=Math.ceil(E/1e3),this.intervalToken=setInterval(this.intervalHandler,1e3)}isScheduled(){return this.intervalToken!==-1}onInterval(){this.counter--,!(this.counter>0)&&(clearInterval(this.intervalToken),this.intervalToken=-1,this.runner?.())}}e.ProcessTimeRunOnceScheduler=ge;class le extends oe{constructor(E,B){super(E,B),this.units=[]}work(E){this.units.push(E),this.isScheduled()||this.schedule()}doRun(){const E=this.units;this.units=[],this.runner?.(E)}dispose(){this.units=[],super.dispose()}}e.RunOnceWorker=le;class H extends R.Disposable{constructor(E,B){super(),this.options=E,this.handler=B,this.pendingWork=[],this.throttler=this._register(new R.MutableDisposable),this.disposed=!1}get pending(){return this.pendingWork.length}work(E){if(this.disposed)return!1;if(typeof this.options.maxBufferedWork=="number"){if(this.throttler.value){if(this.pending+E.length>this.options.maxBufferedWork)return!1}else if(this.pending+E.length-this.options.maxWorkChunkSize>this.options.maxBufferedWork)return!1}for(const B of E)this.pendingWork.push(B);return this.throttler.value||this.doWork(),!0}doWork(){this.handler(this.pendingWork.splice(0,this.options.maxWorkChunkSize)),this.pendingWork.length>0&&(this.throttler.value=new oe(()=>{this.throttler.clear(),this.doWork()},this.options.throttleDelay),this.throttler.value.schedule())}dispose(){super.dispose(),this.disposed=!0}}e.ThrottledWorker=H,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=Y=>{(0,D.setTimeout0)(()=>{if(E)return;const B=Date.now()+15;Y(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,B-Date.now())}}))});let E=!1;return{dispose(){E||(E=!0)}}}:e.runWhenIdle=(Y,E)=>{const B=requestIdleCallback(Y,typeof E=="number"?{timeout:E}:void 0);let J=!1;return{dispose(){J||(J=!0,cancelIdleCallback(B))}}}}();class ne{constructor(E){this._didRun=!1,this._executor=()=>{try{this._value=E()}catch(B){this._error=B}finally{this._didRun=!0}},this._handle=(0,e.runWhenIdle)(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}e.IdleValue=ne;async function se(Y,E,B){let J;for(let Z=0;Z<B;Z++)try{return await Y()}catch(ue){J=ue,await u(E)}throw J}e.retry=se;class fe{isRunning(E){return typeof E=="number"?this._running?.taskId===E:!!this._running}get running(){return this._running?.promise}cancelRunning(){this._running?.cancel()}run(E,B,J){return this._running={taskId:E,cancel:()=>J?.(),promise:B},B.then(()=>this.doneRunning(E),()=>this.doneRunning(E)),B}doneRunning(E){this._running&&E===this._running.taskId&&(this._running=void 0,this.runQueued())}runQueued(){if(this._queued){const E=this._queued;this._queued=void 0,E.run().then(E.promiseResolve,E.promiseReject)}}queue(E){if(this._queued)this._queued.run=E;else{let B,J;const Z=new Promise((ue,X)=>{B=ue,J=X});this._queued={run:E,promise:Z,promiseResolve:B,promiseReject:J}}return this._queued.promise}hasQueued(){return!!this._queued}async join(){return this._queued?.promise??this._running?.promise}}e.TaskSequentializer=fe;class z{constructor(E,B=()=>Date.now()){this.interval=E,this.nowFn=B,this.lastIncrementTime=0,this.value=0}increment(){const E=this.nowFn();return E-this.lastIncrementTime>this.interval&&(this.lastIncrementTime=E,this.value=0),this.value++,this.value}}e.IntervalCounter=z;var b;(function(Y){Y[Y.Resolved=0]="Resolved",Y[Y.Rejected=1]="Rejected"})(b||(b={}));class j{get isRejected(){return this.outcome?.outcome===1}get isResolved(){return this.outcome?.outcome===0}get isSettled(){return!!this.outcome}get value(){return this.outcome?.outcome===0?this.outcome?.value:void 0}constructor(){this.p=new Promise((E,B)=>{this.completeCallback=E,this.errorCallback=B})}complete(E){return new Promise(B=>{this.completeCallback(E),this.outcome={outcome:0,value:E},B()})}error(E){return new Promise(B=>{this.errorCallback(E),this.outcome={outcome:1,value:E},B()})}cancel(){return this.error(new N.CancellationError)}}e.DeferredPromise=j;var V;(function(Y){async function E(J){let Z;const ue=await Promise.all(J.map(X=>X.then(f=>f,f=>{Z||(Z=f)})));if(typeof Z<"u")throw Z;return ue}Y.settled=E;function B(J){return new Promise(async(Z,ue)=>{try{await J(Z,ue)}catch(X){ue(X)}})}Y.withAsyncBody=B})(V||(e.Promises=V={}));var te;(function(Y){Y[Y.Initial=0]="Initial",Y[Y.DoneOK=1]="DoneOK",Y[Y.DoneError=2]="DoneError"})(te||(te={}));class x{static fromArray(E){return new x(B=>{B.emitMany(E)})}static fromPromise(E){return new x(async B=>{B.emitMany(await E)})}static fromPromises(E){return new x(async B=>{await Promise.all(E.map(async J=>B.emitOne(await J)))})}static merge(E){return new x(async B=>{await Promise.all(E.map(async J=>{for await(const Z of J)B.emitOne(Z)}))})}static{this.EMPTY=x.fromArray([])}constructor(E){this._state=0,this._results=[],this._error=null,this._onStateChanged=new I.Emitter,queueMicrotask(async()=>{const B={emitOne:J=>this.emitOne(J),emitMany:J=>this.emitMany(J),reject:J=>this.reject(J)};try{await Promise.resolve(E(B)),this.resolve()}catch(J){this.reject(J)}finally{B.emitOne=void 0,B.emitMany=void 0,B.reject=void 0}})}[Symbol.asyncIterator](){let E=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(E<this._results.length)return{done:!1,value:this._results[E++]};if(this._state===1)return{done:!0,value:void 0};await I.Event.toPromise(this._onStateChanged.event)}while(!0)}}}static map(E,B){return new x(async J=>{for await(const Z of E)J.emitOne(B(Z))})}map(E){return x.map(this,E)}static filter(E,B){return new x(async J=>{for await(const Z of E)B(Z)&&J.emitOne(Z)})}filter(E){return x.filter(this,E)}static coalesce(E){return x.filter(E,B=>!!B)}coalesce(){return x.coalesce(this)}static async toPromise(E){const B=[];for await(const J of E)B.push(J);return B}toPromise(){return x.toPromise(this)}emitOne(E){this._state===0&&(this._results.push(E),this._onStateChanged.fire())}emitMany(E){this._state===0&&(this._results=this._results.concat(E),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(E){this._state===0&&(this._state=2,this._error=E,this._onStateChanged.fire())}}e.AsyncIterableObject=x;class ve extends x{constructor(E,B){super(B),this._source=E}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=ve;function de(Y){const E=new w.CancellationTokenSource,B=Y(E.token);return new ve(E,async J=>{const Z=E.token.onCancellationRequested(()=>{Z.dispose(),E.dispose(),J.reject(new N.CancellationError)});try{for await(const ue of B){if(E.token.isCancellationRequested)return;J.emitOne(ue)}Z.dispose(),E.dispose()}catch(ue){Z.dispose(),E.dispose(),J.reject(ue)}})}e.createCancelableAsyncIterable=de}),define(he[38],me([0,1,53,54,55,15,18,28,9,2,20,4]),function(ae,e,w,N,I,R,$,D,m,c,P,q){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Promises=e.writeFileSync=e.configureFlushOnWrite=e.SymlinkSupport=e.whenDeleted=e.readdirSync=e.rimrafSync=e.RimRafMode=void 0;var T;(function(H){H[H.UNLINK=0]="UNLINK",H[H.MOVE=1]="MOVE"})(T||(e.RimRafMode=T={}));async function M(H,ne=T.UNLINK,se){if((0,$.isRootOrDriveLetter)(H))throw new Error("rimraf - will refuse to recursively delete root");return ne===T.UNLINK?p(H):y(H,se)}async function y(H,ne=(0,$.randomPath)((0,N.tmpdir)())){try{try{await w.promises.rename(H,ne)}catch(se){return se.code==="ENOENT"?void 0:p(H)}p(ne).catch(se=>{})}catch(se){if(se.code!=="ENOENT")throw se}}async function p(H){return(0,I.promisify)(w.rm)(H,{recursive:!0,force:!0,maxRetries:3})}function s(H){if((0,$.isRootOrDriveLetter)(H))throw new Error("rimraf - will refuse to recursively delete root");w.rmSync(H,{recursive:!0,force:!0,maxRetries:3})}e.rimrafSync=s;async function v(H,ne){return C(await(ne?a(H):(0,I.promisify)(w.readdir)(H)))}async function a(H){try{return await(0,I.promisify)(w.readdir)(H,{withFileTypes:!0})}catch(fe){console.warn("[node.js fs] readdir with filetypes failed with error: ",fe)}const ne=[],se=await v(H);for(const fe of se){let z=!1,b=!1,j=!1;try{const V=await e.Promises.lstat((0,m.join)(H,fe));z=V.isFile(),b=V.isDirectory(),j=V.isSymbolicLink()}catch(V){console.warn("[node.js fs] unexpected error from lstat after readdir: ",V)}ne.push({name:fe,isFile:()=>z,isDirectory:()=>b,isSymbolicLink:()=>j})}return ne}function O(H){return C(w.readdirSync(H))}e.readdirSync=O;function C(H){return H.map(ne=>typeof ne=="string"?c.isMacintosh?(0,D.normalizeNFC)(ne):ne:(ne.name=c.isMacintosh?(0,D.normalizeNFC)(ne.name):ne.name,ne))}async function U(H){const ne=await v(H),se=[];for(const fe of ne)await n.existsDirectory((0,m.join)(H,fe))&&se.push(fe);return se}function t(H,ne=1e3){return new Promise(se=>{let fe=!1;const z=setInterval(()=>{fe||(fe=!0,w.access(H,b=>{fe=!1,b&&(clearInterval(z),se(void 0))}))},ne)})}e.whenDeleted=t;var n;(function(H){async function ne(z){let b;try{if(b=await e.Promises.lstat(z),!b.isSymbolicLink())return{stat:b}}catch{}try{return{stat:await e.Promises.stat(z),symbolicLink:b?.isSymbolicLink()?{dangling:!1}:void 0}}catch(j){if(j.code==="ENOENT"&&b)return{stat:b,symbolicLink:{dangling:!0}};if(c.isWindows&&j.code==="EACCES")try{return{stat:await e.Promises.stat(await e.Promises.readlink(z)),symbolicLink:{dangling:!1}}}catch(V){if(V.code==="ENOENT"&&b)return{stat:b,symbolicLink:{dangling:!0}};throw V}throw j}}H.stat=ne;async function se(z){try{const{stat:b,symbolicLink:j}=await H.stat(z);return b.isFile()&&j?.dangling!==!0}catch{}return!1}H.existsFile=se;async function fe(z){try{const{stat:b,symbolicLink:j}=await H.stat(z);return b.isDirectory()&&j?.dangling!==!0}catch{}return!1}H.existsDirectory=fe})(n||(e.SymlinkSupport=n={}));const L=new R.ResourceQueue;function u(H,ne,se){return L.queueFor(q.URI.file(H),P.extUriBiasedIgnorePathCase).queue(()=>{const fe=S(se);return new Promise((z,b)=>r(H,ne,fe,j=>j?b(j):z()))})}let l=!0;function i(H){l=H}e.configureFlushOnWrite=i;function r(H,ne,se,fe){if(!l)return w.writeFile(H,ne,{mode:se.mode,flag:se.flag},fe);w.open(H,se.flag,se.mode,(z,b)=>{if(z)return fe(z);w.writeFile(b,ne,j=>{if(j)return w.close(b,()=>fe(j));w.fdatasync(b,V=>(V&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",V),i(!1)),w.close(b,te=>fe(te))))})})}function g(H,ne,se){const fe=S(se);if(!l)return w.writeFileSync(H,ne,{mode:fe.mode,flag:fe.flag});const z=w.openSync(H,fe.flag,fe.mode);try{w.writeFileSync(z,ne);try{w.fdatasyncSync(z)}catch(b){console.warn("[node.js fs] fdatasyncSync is now disabled for this session because it failed: ",b),i(!1)}}finally{w.closeSync(z)}}e.writeFileSync=g;function S(H){return H?{mode:typeof H.mode=="number"?H.mode:438,flag:typeof H.flag=="string"?H.flag:"w"}:{mode:438,flag:"w"}}async function o(H,ne,se=6e4){if(H!==ne)try{c.isWindows&&typeof se=="number"?await d(H,ne,Date.now(),se):await(0,I.promisify)(w.rename)(H,ne)}catch(fe){if(H.toLowerCase()!==ne.toLowerCase()&&fe.code==="EXDEV"||H.endsWith("."))await k(H,ne,{preserveSymlinks:!1}),await M(H,T.MOVE);else throw fe}}async function d(H,ne,se,fe,z=0){try{return await(0,I.promisify)(w.rename)(H,ne)}catch(b){if(b.code!=="EACCES"&&b.code!=="EPERM"&&b.code!=="EBUSY")throw b;if(Date.now()-se>=fe)throw console.error(`[node.js fs] rename failed after ${z} retries with error: ${b}`),b;if(z===0){let j=!1;try{const{stat:V}=await n.stat(ne);V.isFile()||(j=!0)}catch{}if(j)throw b}return await(0,R.timeout)(Math.min(100,z*10)),d(H,ne,se,fe,z+1)}}async function k(H,ne,se){return ie(H,ne,{root:{source:H,target:ne},options:se,handledSourcePaths:new Set})}const K=511;async function ie(H,ne,se){if(se.handledSourcePaths.has(H))return;se.handledSourcePaths.add(H);const{stat:fe,symbolicLink:z}=await n.stat(H);if(z){if(se.options.preserveSymlinks)try{return await le(H,ne,se)}catch(b){console.warn("[node.js fs] copy of symlink failed: ",b)}if(z.dangling)return}return fe.isDirectory()?oe(H,ne,fe.mode&K,se):ge(H,ne,fe.mode&K)}async function oe(H,ne,se,fe){await e.Promises.mkdir(ne,{recursive:!0,mode:se});const z=await v(H);for(const b of z)await ie((0,m.join)(H,b),(0,m.join)(ne,b),fe)}async function ge(H,ne,se){await e.Promises.copyFile(H,ne),await e.Promises.chmod(ne,se)}async function le(H,ne,se){let fe=await e.Promises.readlink(H);(0,$.isEqualOrParent)(fe,se.root.source,!c.isLinux)&&(fe=(0,m.join)(se.root.target,fe.substr(se.root.source.length+1))),await e.Promises.symlink(fe,ne)}e.Promises=new class{get access(){return(0,I.promisify)(w.access)}get stat(){return(0,I.promisify)(w.stat)}get lstat(){return(0,I.promisify)(w.lstat)}get utimes(){return(0,I.promisify)(w.utimes)}get read(){return(H,ne,se,fe,z)=>new Promise((b,j)=>{w.read(H,ne,se,fe,z,(V,te,x)=>V?j(V):b({bytesRead:te,buffer:x}))})}get readFile(){return(0,I.promisify)(w.readFile)}get write(){return(H,ne,se,fe,z)=>new Promise((b,j)=>{w.write(H,ne,se,fe,z,(V,te,x)=>V?j(V):b({bytesWritten:te,buffer:x}))})}get appendFile(){return(0,I.promisify)(w.appendFile)}get fdatasync(){return(0,I.promisify)(w.fdatasync)}get truncate(){return(0,I.promisify)(w.truncate)}get copyFile(){return(0,I.promisify)(w.copyFile)}get open(){return(0,I.promisify)(w.open)}get close(){return(0,I.promisify)(w.close)}get symlink(){return(0,I.promisify)(w.symlink)}get readlink(){return(0,I.promisify)(w.readlink)}get chmod(){return(0,I.promisify)(w.chmod)}get mkdir(){return(0,I.promisify)(w.mkdir)}get unlink(){return(0,I.promisify)(w.unlink)}get rmdir(){return(0,I.promisify)(w.rmdir)}get realpath(){return(0,I.promisify)(w.realpath)}async exists(H){try{return await e.Promises.access(H),!0}catch{return!1}}get readdir(){return v}get readDirsInDir(){return U}get writeFile(){return u}get rm(){return M}get rename(){return o}get copy(){return k}}}),define(he[39],me([0,1,9,2,11,19,5,38]),function(ae,e,w,N,I,R,$,D){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.win32=e.createQueuedSender=e.getWindowsShell=e.TerminateResponseCode=e.Source=void 0,Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return R.Source}}),Object.defineProperty(e,"TerminateResponseCode",{enumerable:!0,get:function(){return R.TerminateResponseCode}});function m(q=I.env){return q.comspec||"cmd.exe"}e.getWindowsShell=m;function c(q){let T=[],M=!1;const y=function(p){if(M){T.push(p);return}(!q.send(p,v=>{if(v&&console.error(v),M=!1,T.length>0){const a=T.slice(0);T=[],a.forEach(O=>y(O))}})||N.isWindows)&&(M=!0)};return{send:y}}e.createQueuedSender=c;var P;(function(q){async function T(M,y,p){if(w.isAbsolute(M))return M;if(y===void 0&&(y=I.cwd()),w.dirname(M)!=="."||(p===void 0&&$.isString(I.env.PATH)&&(p=I.env.PATH.split(w.delimiter)),p===void 0||p.length===0))return w.join(y,M);async function v(a){if(await D.Promises.exists(a)){let O;try{O=await D.Promises.stat(a)}catch(C){C.message.startsWith("EACCES")&&(O=await D.Promises.lstat(a))}return O?!O.isDirectory():!1}return!1}for(const a of p){let O;if(w.isAbsolute(a)?O=w.join(a,M):O=w.join(y,a,M),await v(O))return O;let C=O+".com";if(await v(C)||(C=O+".exe",await v(C)))return C}return w.join(y,M)}q.findExecutable=T})(P||(e.win32=P={}))});var We=this&&this.__decorate||function(ae,e,w,N){var I=arguments.length,R=I<3?e:N===null?N=Object.getOwnPropertyDescriptor(e,w):N,$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")R=Reflect.decorate(ae,e,w,N);else for(var D=ae.length-1;D>=0;D--)($=ae[D])&&(R=(I<3?$(R):I>3?$(e,w,R):$(e,w))||R);return I>3&&R&&Object.defineProperty(e,w,R),R};define(he[40],me([0,1,24,15,10,8,23,3,7,6,36,12,5]),function(ae,e,w,N,I,R,$,D,m,c,P,q,T){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IPCLogger=e.ProxyChannel=e.StaticRouter=e.getNextTickChannel=e.getDelayedChannel=e.IPCClient=e.IPCServer=e.ChannelClient=e.RequestInitiator=e.ChannelServer=e.deserialize=e.serialize=e.BufferWriter=e.BufferReader=void 0;var M;(function(z){z[z.Promise=100]="Promise",z[z.PromiseCancel=101]="PromiseCancel",z[z.EventListen=102]="EventListen",z[z.EventDispose=103]="EventDispose"})(M||(M={}));function y(z){switch(z){case 100:return"req";case 101:return"cancel";case 102:return"subscribe";case 103:return"unsubscribe"}}var p;(function(z){z[z.Initialize=200]="Initialize",z[z.PromiseSuccess=201]="PromiseSuccess",z[z.PromiseError=202]="PromiseError",z[z.PromiseErrorObj=203]="PromiseErrorObj",z[z.EventFire=204]="EventFire"})(p||(p={}));function s(z){switch(z){case 200:return"init";case 201:return"reply:";case 202:case 203:return"replyErr:";case 204:return"event:"}}var v;(function(z){z[z.Uninitialized=0]="Uninitialized",z[z.Idle=1]="Idle"})(v||(v={}));function a(z){let b=0;for(let j=0;;j+=7){const V=z.read(1);if(b|=(V.buffer[0]&127)<<j,!(V.buffer[0]&128))return b}}const O=L(0);function C(z,b){if(b===0){z.write(O);return}let j=0;for(let te=b;te!==0;te=te>>>7)j++;const V=I.VSBuffer.alloc(j);for(let te=0;b!==0;te++)V.buffer[te]=b&127,b=b>>>7,b>0&&(V.buffer[te]|=128);z.write(V)}class U{constructor(b){this.buffer=b,this.pos=0}read(b){const j=this.buffer.slice(this.pos,this.pos+b);return this.pos+=j.byteLength,j}}e.BufferReader=U;class t{constructor(){this.buffers=[]}get buffer(){return I.VSBuffer.concat(this.buffers)}write(b){this.buffers.push(b)}}e.BufferWriter=t;var n;(function(z){z[z.Undefined=0]="Undefined",z[z.String=1]="String",z[z.Buffer=2]="Buffer",z[z.VSBuffer=3]="VSBuffer",z[z.Array=4]="Array",z[z.Object=5]="Object",z[z.Int=6]="Int"})(n||(n={}));function L(z){const b=I.VSBuffer.alloc(1);return b.writeUInt8(z,0),b}const u={Undefined:L(n.Undefined),String:L(n.String),Buffer:L(n.Buffer),VSBuffer:L(n.VSBuffer),Array:L(n.Array),Object:L(n.Object),Uint:L(n.Int)},l=typeof Buffer<"u";function i(z,b){if(typeof b>"u")z.write(u.Undefined);else if(typeof b=="string"){const j=I.VSBuffer.fromString(b);z.write(u.String),C(z,j.byteLength),z.write(j)}else if(l&&Buffer.isBuffer(b)){const j=I.VSBuffer.wrap(b);z.write(u.Buffer),C(z,j.byteLength),z.write(j)}else if(b instanceof I.VSBuffer)z.write(u.VSBuffer),C(z,b.byteLength),z.write(b);else if(Array.isArray(b)){z.write(u.Array),C(z,b.length);for(const j of b)i(z,j)}else if(typeof b=="number"&&(b|0)===b)z.write(u.Uint),C(z,b);else{const j=I.VSBuffer.fromString(JSON.stringify(b));z.write(u.Object),C(z,j.byteLength),z.write(j)}}e.serialize=i;function r(z){switch(z.read(1).readUInt8(0)){case n.Undefined:return;case n.String:return z.read(a(z)).toString();case n.Buffer:return z.read(a(z)).buffer;case n.VSBuffer:return z.read(a(z));case n.Array:{const j=a(z),V=[];for(let te=0;te<j;te++)V.push(r(z));return V}case n.Object:return JSON.parse(z.read(a(z)).toString());case n.Int:return a(z)}}e.deserialize=r;class g{constructor(b,j,V=null,te=1e3){this.protocol=b,this.ctx=j,this.logger=V,this.timeoutDelay=te,this.channels=new Map,this.activeRequests=new Map,this.pendingRequests=new Map,this.protocolListener=this.protocol.onMessage(x=>this.onRawMessage(x)),this.sendResponse({type:200})}registerChannel(b,j){this.channels.set(b,j),setTimeout(()=>this.flushPendingRequests(b),0)}sendResponse(b){switch(b.type){case 200:{const j=this.send([b.type]);this.logger?.logOutgoing(j,0,1,s(b.type));return}case 201:case 202:case 204:case 203:{const j=this.send([b.type,b.id],b.data);this.logger?.logOutgoing(j,b.id,1,s(b.type),b.data);return}}}send(b,j=void 0){const V=new t;return i(V,b),i(V,j),this.sendBuffer(V.buffer)}sendBuffer(b){try{return this.protocol.send(b),b.byteLength}catch{return 0}}onRawMessage(b){const j=new U(b),V=r(j),te=r(j),x=V[0];switch(x){case 100:return this.logger?.logIncoming(b.byteLength,V[1],1,`${y(x)}: ${V[2]}.${V[3]}`,te),this.onPromise({type:x,id:V[1],channelName:V[2],name:V[3],arg:te});case 102:return this.logger?.logIncoming(b.byteLength,V[1],1,`${y(x)}: ${V[2]}.${V[3]}`,te),this.onEventListen({type:x,id:V[1],channelName:V[2],name:V[3],arg:te});case 101:return this.logger?.logIncoming(b.byteLength,V[1],1,`${y(x)}`),this.disposeActiveRequest({type:x,id:V[1]});case 103:return this.logger?.logIncoming(b.byteLength,V[1],1,`${y(x)}`),this.disposeActiveRequest({type:x,id:V[1]})}}onPromise(b){const j=this.channels.get(b.channelName);if(!j){this.collectPendingRequest(b);return}const V=new R.CancellationTokenSource;let te;try{te=j.call(this.ctx,b.name,b.arg,V.token)}catch(de){te=Promise.reject(de)}const x=b.id;te.then(de=>{this.sendResponse({id:x,data:de,type:201}),this.activeRequests.delete(b.id)},de=>{de instanceof Error?this.sendResponse({id:x,data:{message:de.message,name:de.name,stack:de.stack?de.stack.split?de.stack.split(`
`):de.stack:void 0},type:202}):this.sendResponse({id:x,data:de,type:203}),this.activeRequests.delete(b.id)});const ve=(0,c.toDisposable)(()=>V.cancel());this.activeRequests.set(b.id,ve)}onEventListen(b){const j=this.channels.get(b.channelName);if(!j){this.collectPendingRequest(b);return}const V=b.id,x=j.listen(this.ctx,b.name,b.arg)(ve=>this.sendResponse({id:V,data:ve,type:204}));this.activeRequests.set(b.id,x)}disposeActiveRequest(b){const j=this.activeRequests.get(b.id);j&&(j.dispose(),this.activeRequests.delete(b.id))}collectPendingRequest(b){let j=this.pendingRequests.get(b.channelName);j||(j=[],this.pendingRequests.set(b.channelName,j));const V=setTimeout(()=>{console.error(`Unknown channel: ${b.channelName}`),b.type===100&&this.sendResponse({id:b.id,data:{name:"Unknown channel",message:`Channel name '${b.channelName}' timed out after ${this.timeoutDelay}ms`,stack:void 0},type:202})},this.timeoutDelay);j.push({request:b,timeoutTimer:V})}flushPendingRequests(b){const j=this.pendingRequests.get(b);if(j){for(const V of j)switch(clearTimeout(V.timeoutTimer),V.request.type){case 100:this.onPromise(V.request);break;case 102:this.onEventListen(V.request);break}this.pendingRequests.delete(b)}}dispose(){this.protocolListener&&(this.protocolListener.dispose(),this.protocolListener=null),(0,c.dispose)(this.activeRequests.values()),this.activeRequests.clear()}}e.ChannelServer=g;var S;(function(z){z[z.LocalSide=0]="LocalSide",z[z.OtherSide=1]="OtherSide"})(S||(e.RequestInitiator=S={}));class o{constructor(b,j=null){this.protocol=b,this.isDisposed=!1,this.state=v.Uninitialized,this.activeRequests=new Set,this.handlers=new Map,this.lastRequestId=0,this._onDidInitialize=new m.Emitter,this.onDidInitialize=this._onDidInitialize.event,this.protocolListener=this.protocol.onMessage(V=>this.onBuffer(V)),this.logger=j}getChannel(b){const j=this;return{call(V,te,x){return j.isDisposed?Promise.reject(new D.CancellationError):j.requestPromise(b,V,te,x)},listen(V,te){return j.isDisposed?m.Event.None:j.requestEvent(b,V,te)}}}requestPromise(b,j,V,te=R.CancellationToken.None){const x=this.lastRequestId++,de={id:x,type:100,channelName:b,name:j,arg:V};if(te.isCancellationRequested)return Promise.reject(new D.CancellationError);let Y;return new Promise((B,J)=>{if(te.isCancellationRequested)return J(new D.CancellationError);const Z=()=>{const A=_=>{switch(_.type){case 201:this.handlers.delete(x),B(_.data);break;case 202:{this.handlers.delete(x);const F=new Error(_.data.message);F.stack=Array.isArray(_.data.stack)?_.data.stack.join(`
`):_.data.stack,F.name=_.data.name,J(F);break}case 203:this.handlers.delete(x),J(_.data);break}};this.handlers.set(x,A),this.sendRequest(de)};let ue=null;this.state===v.Idle?Z():(ue=(0,N.createCancelablePromise)(A=>this.whenInitialized()),ue.then(()=>{ue=null,Z()}));const X=()=>{ue?(ue.cancel(),ue=null):this.sendRequest({id:x,type:101}),J(new D.CancellationError)},f=te.onCancellationRequested(X);Y=(0,c.combinedDisposable)((0,c.toDisposable)(X),f),this.activeRequests.add(Y)}).finally(()=>{this.activeRequests.delete(Y)})}requestEvent(b,j,V){const te=this.lastRequestId++,ve={id:te,type:102,channelName:b,name:j,arg:V};let de=null;const Y=new m.Emitter({onWillAddFirstListener:()=>{de=(0,N.createCancelablePromise)(B=>this.whenInitialized()),de.then(()=>{de=null,this.activeRequests.add(Y),this.sendRequest(ve)})},onDidRemoveLastListener:()=>{de?(de.cancel(),de=null):(this.activeRequests.delete(Y),this.sendRequest({id:te,type:103}))}}),E=B=>Y.fire(B.data);return this.handlers.set(te,E),Y.event}sendRequest(b){switch(b.type){case 100:case 102:{const j=this.send([b.type,b.id,b.channelName,b.name],b.arg);this.logger?.logOutgoing(j,b.id,0,`${y(b.type)}: ${b.channelName}.${b.name}`,b.arg);return}case 101:case 103:{const j=this.send([b.type,b.id]);this.logger?.logOutgoing(j,b.id,0,y(b.type));return}}}send(b,j=void 0){const V=new t;return i(V,b),i(V,j),this.sendBuffer(V.buffer)}sendBuffer(b){try{return this.protocol.send(b),b.byteLength}catch{return 0}}onBuffer(b){const j=new U(b),V=r(j),te=r(j),x=V[0];switch(x){case 200:return this.logger?.logIncoming(b.byteLength,0,0,s(x)),this.onResponse({type:V[0]});case 201:case 202:case 204:case 203:return this.logger?.logIncoming(b.byteLength,V[1],0,s(x),te),this.onResponse({type:V[0],id:V[1],data:te})}}onResponse(b){if(b.type===200){this.state=v.Idle,this._onDidInitialize.fire();return}this.handlers.get(b.id)?.(b)}get onDidInitializePromise(){return m.Event.toPromise(this.onDidInitialize)}whenInitialized(){return this.state===v.Idle?Promise.resolve():this.onDidInitializePromise}dispose(){this.isDisposed=!0,this.protocolListener&&(this.protocolListener.dispose(),this.protocolListener=null),(0,c.dispose)(this.activeRequests.values()),this.activeRequests.clear()}}e.ChannelClient=o,We([$.memoize],o.prototype,"onDidInitializePromise",null);class d{get connections(){const b=[];return this._connections.forEach(j=>b.push(j)),b}constructor(b){this.channels=new Map,this._connections=new Set,this._onDidAddConnection=new m.Emitter,this.onDidAddConnection=this._onDidAddConnection.event,this._onDidRemoveConnection=new m.Emitter,this.onDidRemoveConnection=this._onDidRemoveConnection.event,b(({protocol:j,onDidClientDisconnect:V})=>{m.Event.once(j.onMessage)(x=>{const ve=new U(x),de=r(ve),Y=new g(j,de),E=new o(j);this.channels.forEach((J,Z)=>Y.registerChannel(Z,J));const B={channelServer:Y,channelClient:E,ctx:de};this._connections.add(B),this._onDidAddConnection.fire(B),V(()=>{Y.dispose(),E.dispose(),this._connections.delete(B),this._onDidRemoveConnection.fire(B)})})})}getChannel(b,j){const V=this;return{call(te,x,ve){let de;if((0,T.isFunction)(j)){const E=(0,w.getRandomElement)(V.connections.filter(j));de=E?Promise.resolve(E):m.Event.toPromise(m.Event.filter(V.onDidAddConnection,j))}else de=j.routeCall(V,te,x);const Y=de.then(E=>E.channelClient.getChannel(b));return K(Y).call(te,x,ve)},listen(te,x){if((0,T.isFunction)(j))return V.getMulticastEvent(b,j,te,x);const ve=j.routeEvent(V,te,x).then(de=>de.channelClient.getChannel(b));return K(ve).listen(te,x)}}}getMulticastEvent(b,j,V,te){const x=this;let ve=new c.DisposableStore;const de=new m.Emitter({onWillAddFirstListener:()=>{ve=new c.DisposableStore;const Y=new m.EventMultiplexer,E=new Map,B=Z=>{const X=Z.channelClient.getChannel(b).listen(V,te),f=Y.add(X);E.set(Z,f)},J=Z=>{const ue=E.get(Z);ue&&(ue.dispose(),E.delete(Z))};x.connections.filter(j).forEach(B),m.Event.filter(x.onDidAddConnection,j)(B,void 0,ve),x.onDidRemoveConnection(J,void 0,ve),Y.event(de.fire,de,ve),ve.add(Y)},onDidRemoveLastListener:()=>{ve.dispose()}});return de.event}registerChannel(b,j){this.channels.set(b,j),this._connections.forEach(V=>{V.channelServer.registerChannel(b,j)})}dispose(){this.channels.clear(),this._connections.clear(),this._onDidAddConnection.dispose(),this._onDidRemoveConnection.dispose()}}e.IPCServer=d;class k{constructor(b,j,V=null){const te=new t;i(te,j),b.send(te.buffer),this.channelClient=new o(b,V),this.channelServer=new g(b,j,V)}getChannel(b){return this.channelClient.getChannel(b)}registerChannel(b,j){this.channelServer.registerChannel(b,j)}dispose(){this.channelClient.dispose(),this.channelServer.dispose()}}e.IPCClient=k;function K(z){return{call(b,j,V){return z.then(te=>te.call(b,j,V))},listen(b,j){const V=new m.Relay;return z.then(te=>V.input=te.listen(b,j)),V.event}}}e.getDelayedChannel=K;function ie(z){let b=!1;return{call(j,V,te){return b?z.call(j,V,te):(0,N.timeout)(0).then(()=>b=!0).then(()=>z.call(j,V,te))},listen(j,V){if(b)return z.listen(j,V);const te=new m.Relay;return(0,N.timeout)(0).then(()=>b=!0).then(()=>te.input=z.listen(j,V)),te.event}}}e.getNextTickChannel=ie;class oe{constructor(b){this.fn=b}routeCall(b){return this.route(b)}routeEvent(b){return this.route(b)}async route(b){for(const j of b.connections)if(await Promise.resolve(this.fn(j.ctx)))return Promise.resolve(j);return await m.Event.toPromise(b.onDidAddConnection),await this.route(b)}}e.StaticRouter=oe;var ge;(function(z){function b(x,ve){const de=x,Y=ve&&ve.disableMarshalling,E=new Map;for(const B in de)V(B)&&E.set(B,m.Event.buffer(de[B],!0));return new class{listen(B,J,Z){const ue=E.get(J);if(ue)return ue;if(te(J)){const X=de[J];if(typeof X=="function")return X.call(de,Z)}throw new D.ErrorNoTelemetry(`Event not found: ${J}`)}call(B,J,Z){const ue=de[J];if(typeof ue=="function"){if(!Y&&Array.isArray(Z))for(let X=0;X<Z.length;X++)Z[X]=(0,P.revive)(Z[X]);return ue.apply(de,Z)}throw new D.ErrorNoTelemetry(`Method not found: ${J}`)}}}z.fromService=b;function j(x,ve){const de=ve&&ve.disableMarshalling;return new Proxy({},{get(Y,E){if(typeof E=="string")return ve?.properties?.has(E)?ve.properties.get(E):te(E)?function(B){return x.listen(E,B)}:V(E)?x.listen(E):async function(...B){let J;ve&&!(0,T.isUndefinedOrNull)(ve.context)?J=[ve.context,...B]:J=B;const Z=await x.call(E,J);return de?Z:(0,P.revive)(Z)};throw new D.ErrorNoTelemetry(`Property not found: ${String(E)}`)}})}z.toService=j;function V(x){return x[0]==="o"&&x[1]==="n"&&q.isUpperAsciiLetter(x.charCodeAt(2))}function te(x){return/^onDynamic/.test(x)&&q.isUpperAsciiLetter(x.charCodeAt(9))}})(ge||(e.ProxyChannel=ge={}));const le=[["#2977B1","#FC802D","#34A13A","#D3282F","#9366BA"],["#8B564C","#E177C0","#7F7F7F","#BBBE3D","#2EBECD"]];function H(z){if(Array.isArray(z))return z;if(z&&typeof z=="object"&&typeof z.toString=="function"){const b=z.toString();if(b!=="[object Object]")return b}return z}function ne(z){return Array.isArray(z)?z.map(H):H(z)}function se(z,b,j,V,te,x,ve){ve=ne(ve);const de=le[te],Y=de[V%de.length];let E=[`%c[${z}]%c[${String(b).padStart(7," ")}]%c[len: ${String(j).padStart(5," ")}]%c${String(V).padStart(5," ")} - ${x}`,"color: darkgreen","color: grey","color: grey",`color: ${Y}`];/\($/.test(x)?(E=E.concat(ve),E.push(")")):E.push(ve),console.log.apply(console,E)}class fe{constructor(b,j){this._outgoingPrefix=b,this._incomingPrefix=j,this._totalIncoming=0,this._totalOutgoing=0}logOutgoing(b,j,V,te,x){this._totalOutgoing+=b,se(this._outgoingPrefix,this._totalOutgoing,b,j,V,te,x)}logIncoming(b,j,V,te,x){this._totalIncoming+=b,se(this._incomingPrefix,this._totalIncoming,b,j,V,te,x)}}e.IPCLogger=fe}),define(he[41],me([0,1,56,15,10,8,35,3,7,6,13,39,19,40]),function(ae,e,w,N,I,R,$,D,m,c,P,q,T,M){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Client=e.Server=void 0;class y extends M.ChannelServer{constructor(v){super({send:a=>{try{process.send?.(a.buffer.toString("base64"))}catch{}},onMessage:m.Event.fromNodeEventEmitter(process,"message",a=>I.VSBuffer.wrap(Buffer.from(a,"base64")))},v),process.once("disconnect",()=>this.dispose())}}e.Server=y;class p{constructor(v,a){this.modulePath=v,this.options=a,this.activeRequests=new Set,this.channels=new Map,this._onDidProcessExit=new m.Emitter,this.onDidProcessExit=this._onDidProcessExit.event;const O=a&&a.timeout?a.timeout:6e4;this.disposeDelayer=new N.Delayer(O),this.child=null,this._client=null}getChannel(v){const a=this;return{call(O,C,U){return a.requestPromise(v,O,C,U)},listen(O,C){return a.requestEvent(v,O,C)}}}requestPromise(v,a,O,C=R.CancellationToken.None){if(!this.disposeDelayer)return Promise.reject(new Error("disposed"));if(C.isCancellationRequested)return Promise.reject(D.canceled());this.disposeDelayer.cancel();const U=this.getCachedChannel(v),t=(0,N.createCancelablePromise)(u=>U.call(a,O,u)),n=C.onCancellationRequested(()=>t.cancel()),L=(0,c.toDisposable)(()=>t.cancel());return this.activeRequests.add(L),t.finally(()=>{n.dispose(),this.activeRequests.delete(L),this.activeRequests.size===0&&this.disposeDelayer&&this.disposeDelayer.trigger(()=>this.disposeClient())}),t}requestEvent(v,a,O){if(!this.disposeDelayer)return m.Event.None;this.disposeDelayer.cancel();let C;const U=new m.Emitter({onWillAddFirstListener:()=>{C=this.getCachedChannel(v).listen(a,O)(U.fire,U),this.activeRequests.add(C)},onDidRemoveLastListener:()=>{this.activeRequests.delete(C),C.dispose(),this.activeRequests.size===0&&this.disposeDelayer&&this.disposeDelayer.trigger(()=>this.disposeClient())}});return U.event}get client(){if(!this._client){const v=this.options&&this.options.args?this.options.args:[],a=Object.create(null);a.env={...(0,P.deepClone)(process.env),VSCODE_PARENT_PID:String(process.pid)},this.options&&this.options.env&&(a.env={...a.env,...this.options.env}),this.options&&this.options.freshExecArgv&&(a.execArgv=[]),this.options&&typeof this.options.debug=="number"&&(a.execArgv=["--nolazy","--inspect="+this.options.debug]),this.options&&typeof this.options.debugBrk=="number"&&(a.execArgv=["--nolazy","--inspect-brk="+this.options.debugBrk]),a.execArgv===void 0&&(a.execArgv=process.execArgv.filter(l=>!/^--inspect(-brk)?=/.test(l)).filter(l=>!l.startsWith("--vscode-"))),(0,T.removeDangerousEnvVariables)(a.env),this.child=(0,w.fork)(this.modulePath,v,a);const O=new m.Emitter;m.Event.fromNodeEventEmitter(this.child,"message",l=>l)(l=>{if((0,$.isRemoteConsoleLog)(l)){(0,$.log)(l,`IPC Library: ${this.options.serverName}`);return}O.fire(I.VSBuffer.wrap(Buffer.from(l,"base64")))});const U=this.options.useQueue?(0,q.createQueuedSender)(this.child):this.child,t=l=>this.child&&this.child.connected&&U.send(l.buffer.toString("base64")),n=O.event,L={send:t,onMessage:n};this._client=new M.ChannelClient(L);const u=()=>this.disposeClient();process.once("exit",u),this.child.on("error",l=>console.warn('IPC "'+this.options.serverName+'" errored with '+l)),this.child.on("exit",(l,i)=>{process.removeListener("exit",u),this.activeRequests.forEach(r=>(0,c.dispose)(r)),this.activeRequests.clear(),l!==0&&i!=="SIGTERM"&&console.warn('IPC "'+this.options.serverName+'" crashed with exit code '+l+" and signal "+i),this.disposeDelayer?.cancel(),this.disposeClient(),this._onDidProcessExit.fire({code:l,signal:i})})}return this._client}getCachedChannel(v){let a=this.channels.get(v);return a||(a=this.client.getChannel(v),this.channels.set(v,a)),a}disposeClient(){this._client&&(this.child&&(this.child.kill(),this.child=null),this._client=null,this.channels.clear())}dispose(){this._onDidProcessExit.dispose(),this.disposeDelayer?.cancel(),this.disposeDelayer=void 0,this.disposeClient(),this.activeRequests.clear()}}e.Client=p}),define(he[21],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refineServiceDecorator=e.createDecorator=e.IInstantiationService=e._util=void 0;var w;(function($){$.serviceIds=new Map,$.DI_TARGET="$di$target",$.DI_DEPENDENCIES="$di$dependencies";function D(m){return m[$.DI_DEPENDENCIES]||[]}$.getServiceDependencies=D})(w||(e._util=w={})),e.IInstantiationService=I("instantiationService");function N($,D,m){D[w.DI_TARGET]===D?D[w.DI_DEPENDENCIES].push({id:$,index:m}):(D[w.DI_DEPENDENCIES]=[{id:$,index:m}],D[w.DI_TARGET]=D)}function I($){if(w.serviceIds.has($))return w.serviceIds.get($);const D=function(m,c,P){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");N(D,m,P)};return D.toString=()=>$,w.serviceIds.set($,D),D}e.createDecorator=I;function R($){return $}e.refineServiceDecorator=R}),define(he[42],me([0,1,5,4,21]),function(ae,e,w,N,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLanguageTagSettingPlainKey=e.merge=e.getConfigurationValue=e.removeFromValueTree=e.addToValueTree=e.toValuesTree=e.isConfigured=e.ConfigurationTargetToString=e.ConfigurationTarget=e.isConfigurationUpdateOverrides=e.isConfigurationOverrides=e.IConfigurationService=void 0,e.IConfigurationService=(0,I.createDecorator)("configurationService");function R(v){return v&&typeof v=="object"&&(!v.overrideIdentifier||typeof v.overrideIdentifier=="string")&&(!v.resource||v.resource instanceof N.URI)}e.isConfigurationOverrides=R;function $(v){return v&&typeof v=="object"&&(!v.overrideIdentifiers||Array.isArray(v.overrideIdentifiers))&&!v.overrideIdentifier&&(!v.resource||v.resource instanceof N.URI)}e.isConfigurationUpdateOverrides=$;var D;(function(v){v[v.APPLICATION=1]="APPLICATION",v[v.USER=2]="USER",v[v.USER_LOCAL=3]="USER_LOCAL",v[v.USER_REMOTE=4]="USER_REMOTE",v[v.WORKSPACE=5]="WORKSPACE",v[v.WORKSPACE_FOLDER=6]="WORKSPACE_FOLDER",v[v.DEFAULT=7]="DEFAULT",v[v.MEMORY=8]="MEMORY"})(D||(e.ConfigurationTarget=D={}));function m(v){switch(v){case 1:return"APPLICATION";case 2:return"USER";case 3:return"USER_LOCAL";case 4:return"USER_REMOTE";case 5:return"WORKSPACE";case 6:return"WORKSPACE_FOLDER";case 7:return"DEFAULT";case 8:return"MEMORY"}}e.ConfigurationTargetToString=m;function c(v){return v.applicationValue!==void 0||v.userValue!==void 0||v.userLocalValue!==void 0||v.userRemoteValue!==void 0||v.workspaceValue!==void 0||v.workspaceFolderValue!==void 0}e.isConfigured=c;function P(v,a){const O=Object.create(null);for(const C in v)q(O,C,v[C],a);return O}e.toValuesTree=P;function q(v,a,O,C){const U=a.split("."),t=U.pop();let n=v;for(let L=0;L<U.length;L++){const u=U[L];let l=n[u];switch(typeof l){case"undefined":l=n[u]=Object.create(null);break;case"object":break;default:C(`Ignoring ${a} as ${U.slice(0,L+1).join(".")} is ${JSON.stringify(l)}`);return}n=l}if(typeof n=="object"&&n!==null)try{n[t]=O}catch{C(`Ignoring ${a} as ${U.join(".")} is ${JSON.stringify(n)}`)}else C(`Ignoring ${a} as ${U.join(".")} is ${JSON.stringify(n)}`)}e.addToValueTree=q;function T(v,a){const O=a.split(".");M(v,O)}e.removeFromValueTree=T;function M(v,a){const O=a.shift();if(a.length===0){delete v[O];return}if(Object.keys(v).indexOf(O)!==-1){const C=v[O];typeof C=="object"&&!Array.isArray(C)&&(M(C,a),Object.keys(C).length===0&&delete v[O])}}function y(v,a,O){function C(n,L){let u=n;for(const l of L){if(typeof u!="object"||u===null)return;u=u[l]}return u}const U=a.split("."),t=C(v,U);return typeof t>"u"?O:t}e.getConfigurationValue=y;function p(v,a,O){Object.keys(a).forEach(C=>{C!=="__proto__"&&(C in v?w.isObject(v[C])&&w.isObject(a[C])?p(v[C],a[C],O):O&&(v[C]=a[C]):v[C]=a[C])})}e.merge=p;function s(v){return v.replace(/[\[\]]/g,"")}e.getLanguageTagSettingPlainKey=s}),define(he[43],me([0,1,2,11]),function(ae,e,w,N){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let I;if(typeof w.globals.vscode<"u"&&typeof w.globals.vscode.context<"u"){const R=w.globals.vscode.context.configuration();if(R)I=R.product;else throw new Error("Sandbox: unable to resolve product configuration from preload script.")}else if(globalThis._VSCODE_PRODUCT_JSON&&globalThis._VSCODE_PACKAGE_JSON){if(I=globalThis._VSCODE_PRODUCT_JSON,N.env.VSCODE_DEV&&Object.assign(I,{nameShort:`${I.nameShort} Dev`,nameLong:`${I.nameLong} Dev`,dataFolderName:`${I.dataFolderName}-dev`,serverDataFolderName:I.serverDataFolderName?`${I.serverDataFolderName}-dev`:void 0}),!I.version){const R=globalThis._VSCODE_PACKAGE_JSON;Object.assign(I,{version:R.version})}}else I={},Object.keys(I).length===0&&Object.assign(I,{version:"1.78.0-dev",nameShort:"Azure Data Studio Dev",nameLong:"Azure Data Studio Dev",applicationName:"azuredatastudio-oss",dataFolderName:"azuredatastudio-oss",urlProtocol:"azuredatastudio-oss",reportIssueUrl:"https://github.com/microsoft/azuredatastudio/issues/new",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt"});e.default=I}),define(he[44],me([0,1,14]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseAuthorityWithOptionalPort=e.parseAuthorityWithPort=e.getRemoteServerRootPath=e.getRemoteName=e.getRemoteAuthority=void 0;function N(c){return c.scheme===w.Schemas.vscodeRemote?c.authority:void 0}e.getRemoteAuthority=N;function I(c){if(!c)return;const P=c.indexOf("+");return P<0?c:c.substr(0,P)}e.getRemoteName=I;function R(c){return`/${c.quality??"oss"}-${c.commit??"dev"}`}e.getRemoteServerRootPath=R;function $(c){const{host:P,port:q}=m(c);if(typeof q>"u")throw new Error("Remote authority doesn't contain a port!");return{host:P,port:q}}e.parseAuthorityWithPort=$;function D(c,P){let{host:q,port:T}=m(c);return typeof T>"u"&&(T=P),{host:q,port:T}}e.parseAuthorityWithOptionalPort=D;function m(c){const P=c.match(/^(\[[0-9a-z:]+\]):(\d+)$/);if(P)return{host:P[1],port:parseInt(P[2],10)};const q=c.match(/^(\[[0-9a-z:]+\])$/);if(q)return{host:q[1],port:void 0};const T=c.match(/(.*):(\d+)$/);return T?{host:T[1],port:parseInt(T[2],10)}:{host:c,port:void 0}}}),define(he[45],me([0,1,2,11,33,43]),function(ae,e,w,N,I,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.verifyMicrosoftInternalDomain=e.resolveCommonProperties=void 0;const $=R.default;function D(P){if(w.platform===2&&/^penguin(\.|$)/i.test(P))return"chromebook"}function m(P,q,T,M,y,p,s,v){const a=Object.create(null);a["common.machineId"]=p,a.sessionID=(0,I.generateUuid)()+Date.now(),a.commitHash=M,a.version=y,a["common.platformVersion"]=(P||"").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/,"$1$2$3"),a["common.platform"]=(0,w.PlatformToString)(w.platform),a["common.nodePlatform"]=N.platform,a["common.nodeArch"]=T,a["common.product"]=$.nameShort||"desktop",a["common.application.name"]=$.nameLong,a.quality=$.quality||"dev",s&&(a["common.msftInternal"]=s);let O=0;const C=Date.now();Object.defineProperties(a,{timestamp:{get:()=>new Date,enumerable:!0},"common.timesincesessionstart":{get:()=>Date.now()-C,enumerable:!0},"common.sequence":{get:()=>O++,enumerable:!0}}),w.isLinuxSnap&&(a["common.snap"]="true");const U=D(q);return U&&(a["common.platformDetail"]=U),a}e.resolveCommonProperties=m;function c(P){const q=N.env.USERDNSDOMAIN;if(!q)return!1;const T=q.toLowerCase();return P.some(M=>T===M)}e.verifyMicrosoftInternalDomain=c}),define(he[46],me([0,1,21]),function(ae,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TelemetryConfiguration=e.TelemetryLevel=e.TELEMETRY_OLD_SETTING_ID=e.TELEMETRY_CRASH_REPORTER_SETTING_ID=e.TELEMETRY_SETTING_ID=e.TELEMETRY_SECTION_ID=e.machineIdKey=e.lastSessionDateStorageKey=e.firstSessionDateStorageKey=e.currentSessionDateStorageKey=e.ICustomEndpointTelemetryService=e.ITelemetryService=void 0,e.ITelemetryService=(0,w.createDecorator)("telemetryService"),e.ICustomEndpointTelemetryService=(0,w.createDecorator)("customEndpointTelemetryService"),e.currentSessionDateStorageKey="telemetry.currentSessionDate",e.firstSessionDateStorageKey="telemetry.firstSessionDate",e.lastSessionDateStorageKey="telemetry.lastSessionDate",e.machineIdKey="telemetry.machineId",e.TELEMETRY_SECTION_ID="telemetry",e.TELEMETRY_SETTING_ID="telemetry.telemetryLevel",e.TELEMETRY_CRASH_REPORTER_SETTING_ID="telemetry.enableCrashReporter",e.TELEMETRY_OLD_SETTING_ID="telemetry.enableTelemetry";var N;(function(R){R[R.NONE=0]="NONE",R[R.CRASH=1]="CRASH",R[R.ERROR=2]="ERROR",R[R.USAGE=3]="USAGE"})(N||(e.TelemetryLevel=N={}));var I;(function(R){R.OFF="off",R.CRASH="crash",R.ERROR="error",R.ON="all"})(I||(e.TelemetryConfiguration=I={}))}),define(he[47],me([0,1]),function(ae,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TelemetryAppenderClient=e.TelemetryAppenderChannel=void 0;class w{constructor(R){this.appenders=R}listen(R,$){throw new Error(`Event not found: ${$}`)}call(R,$,{eventName:D,data:m}){return this.appenders.forEach(c=>c.log(D,m)),Promise.resolve(null)}}e.TelemetryAppenderChannel=w;class N{constructor(R){this.channel=R}log(R,$){return this.channel.call("log",{eventName:R,data:$}).then(void 0,D=>`Failed to log telemetry: ${console.warn(D)}`),Promise.resolve(null)}flush(){return Promise.resolve()}}e.TelemetryAppenderClient=N}),define(he[48],me([0,1,13,5,7,42,44,45,46]),function(ae,e,w,N,I,R,$,D,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cleanData=e.getPiiPathsFromEnvironment=e.isInternalTelemetry=e.cleanRemoteAuthority=e.validateTelemetryData=e.getTelemetryLevel=e.isLoggingOnly=e.supportsTelemetry=e.configurationTelemetry=e.NullAppender=e.extensionTelemetryLogChannelId=e.telemetryLogId=e.NullEndpointTelemetryService=e.NullTelemetryService=e.NullTelemetryServiceShape=e.TelemetryTrustedValue=void 0;class c{constructor(l){this.value=l,this.isTrustedTelemetryValue=!0}}e.TelemetryTrustedValue=c;class P{constructor(){this.telemetryLevel=0,this.sessionId="someValue.sessionId",this.machineId="someValue.machineId",this.firstSessionDate="someValue.firstSessionDate",this.sendErrorTelemetry=!1}publicLog(){}publicLog2(){}publicLogError(){}publicLogError2(){}setExperimentProperty(){}}e.NullTelemetryServiceShape=P,e.NullTelemetryService=new P;class q{async publicLog(l,i,r){}async publicLogError(l,i,r){}}e.NullEndpointTelemetryService=q,e.telemetryLogId="telemetry",e.extensionTelemetryLogChannelId="extensionTelemetryLog",e.NullAppender={log:()=>null,flush:()=>Promise.resolve(null)};function T(u,l){return I.Event.debounce(l.onDidChangeConfiguration,(r,g)=>{const S=r?new Set([...r.affectedKeys,...g.affectedKeys]):g.affectedKeys;return{...g,affectedKeys:S}},1e3,!0)(r=>{r.source!==7&&u.publicLog2("updateConfiguration",{configurationSource:(0,R.ConfigurationTargetToString)(r.source),configurationKeys:Array.from(r.affectedKeys)})})}e.configurationTelemetry=T;function M(u,l){return!l.isBuilt&&!l.disableTelemetry?!0:!(l.disableTelemetry||!u.enableTelemetry||l.extensionTestsLocationURI)}e.supportsTelemetry=M;function y(u,l){return!(l.isBuilt||l.disableTelemetry||u.enableTelemetry&&u.aiConfig?.ariaKey)}e.isLoggingOnly=y;function p(u){const l=u.getValue(m.TELEMETRY_SETTING_ID),i=u.getValue(m.TELEMETRY_CRASH_REPORTER_SETTING_ID);if(u.getValue(m.TELEMETRY_OLD_SETTING_ID)===!1||i===!1)return 0;switch(l??"all"){case"all":return 3;case"error":return 2;case"crash":return 1;case"off":return 0}}e.getTelemetryLevel=p;function s(u){const l={},i={},r={};O(u,r);for(let g in r){g=g.length>150?g.substr(g.length-149):g;const S=r[g];typeof S=="number"?i[g]=S:typeof S=="boolean"?i[g]=S?1:0:typeof S=="string"?(S.length>8192&&console.warn(`Telemetry property: ${g} has been trimmed to 8192, the original length is ${S.length}`),l[g]=S.substring(0,8191)):typeof S<"u"&&S!==null&&(l[g]=S)}return{properties:l,measurements:i}}e.validateTelemetryData=s;const v=new Set(["ssh-remote","dev-container","attached-container","wsl","tunnel","codespaces","amlext"]);function a(u){if(!u)return"none";const l=(0,$.getRemoteName)(u);return v.has(l)?l:"other"}e.cleanRemoteAuthority=a;function O(u,l,i=0,r){if(u)for(const g of Object.getOwnPropertyNames(u)){const S=u[g],o=r?r+g:g;Array.isArray(S)?l[o]=(0,w.safeStringify)(S):S instanceof Date?l[o]=S.toISOString():(0,N.isObject)(S)?i<2?O(S,l,i+1,o+"."):l[o]=(0,w.safeStringify)(S):l[o]=S}}function C(u,l){const i=u.msftInternalDomains||[],r=l.getValue("telemetry.internalTesting");return(0,D.verifyMicrosoftInternalDomain)(i)||r}e.isInternalTelemetry=C;function U(u){return[u.appRoot,u.extensionsPath,u.userHome.fsPath,u.tmpDir.fsPath,u.userDataPath]}e.getPiiPathsFromEnvironment=U;function t(u,l){if(!u||!u.includes("/")&&!u.includes("\\"))return u;let i=u;const r=[];for(const d of l)for(;;){const k=d.exec(u);if(!k)break;r.push([k.index,d.lastIndex])}const g=/^[\\\/]?(node_modules|node_modules\.asar)[\\\/]/,S=/(file:\/\/)?([a-zA-Z]:(\\\\|\\|\/)|(\\\\|\\|\/))?([\w-\._]+(\\\\|\\|\/))+[\w-\._]*/g;let o=0;for(i="";;){const d=S.exec(u);if(!d)break;const k=r.some(([K,ie])=>d.index<ie&&K<S.lastIndex);!g.test(d[0])&&!k&&(i+=u.substring(o,d.index)+"<REDACTED: user-file-path>",o=S.lastIndex)}return o<u.length&&(i+=u.substr(o)),i}function n(u){if(!u)return u;const l=[{label:"Google API Key",regex:/AIza[A-Za-z0-9_\\\-]{35}/},{label:"Slack Token",regex:/xox[pbar]\-[A-Za-z0-9]/},{label:"Generic Secret",regex:/(key|token|sig|secret|signature|password|passwd|pwd|android:value)[^a-zA-Z0-9]/i},{label:"Email",regex:/@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+/}];for(const i of l)if(i.regex.test(u))return`<REDACTED: ${i.label}>`;return u}function L(u,l){return(0,w.cloneAndChange)(u,i=>{if(i instanceof c||Object.hasOwnProperty.call(i,"isTrustedTelemetryValue"))return i.value;if(typeof i=="string"){let r=i.replaceAll("%20"," ");r=t(r,l);for(const g of l)r=r.replace(g,"");return r=n(r),r}})}e.cleanData=L}),define(he[49],me([0,1,37,3,13,48]),function(ae,e,w,N,I,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractOneDataSystemAppender=void 0;const $="https://mobile.events.data.microsoft.com/OneCollector/1.0",D="https://mobile.events.data.microsoft.com/ping";async function m(P,q,T){const M=await(0,w.importAMDNodeModule)("@microsoft/1ds-core-js","dist/ms.core.js"),y=await(0,w.importAMDNodeModule)("@microsoft/1ds-post-js","dist/ms.post.js"),p=new M.AppInsightsCore,s=new y.PostChannel,v={instrumentationKey:P,endpointUrl:$,loggingLevelTelemetry:0,loggingLevelConsole:0,disableCookiesUsage:!0,disableDbgExt:!0,disableInstrumentationKeyValidation:!0,channels:[[s]]};if(T){v.extensionConfig={};const a={alwaysUseXhrOverride:!0,httpXHROverride:T};v.extensionConfig[s.identifier]=a}return p.initialize(v,[]),p.addTelemetryInitializer(a=>{q&&(a.ext=a.ext??{},a.ext.utc=a.ext.utc??{},a.ext.utc.flags=8462029)}),p}class c{constructor(q,T,M,y,p){this._isInternalTelemetry=q,this._eventPrefix=T,this._defaultData=M,this._xhrOverride=p,this.endPointUrl=$,this.endPointHealthUrl=D,this._defaultData||(this._defaultData={}),typeof y=="function"?this._aiCoreOrKey=y():this._aiCoreOrKey=y,this._asyncAiCore=null}_withAIClient(q){if(this._aiCoreOrKey){if(typeof this._aiCoreOrKey!="string"){q(this._aiCoreOrKey);return}this._asyncAiCore||(this._asyncAiCore=m(this._aiCoreOrKey,this._isInternalTelemetry,this._xhrOverride)),this._asyncAiCore.then(T=>{q(T)},T=>{(0,N.onUnexpectedError)(T),console.error(T)})}}log(q,T){if(!this._aiCoreOrKey)return;T=(0,I.mixin)(T,this._defaultData),T=(0,R.validateTelemetryData)(T);const M=this._eventPrefix+"/"+q;try{this._withAIClient(y=>{y.pluginVersionString=T?.properties.version??"Unknown",y.track({name:M,baseData:{name:M,properties:T?.properties,measurements:T?.measurements}})})}catch{}}flush(){return this._aiCoreOrKey?new Promise(q=>{this._withAIClient(T=>{T.unload(!0,()=>{this._aiCoreOrKey=void 0,q(void 0)})})}):Promise.resolve(void 0)}}e.AbstractOneDataSystemAppender=c}),define(he[50],me([0,1,10,8,57,49]),function(ae,e,w,N,I,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OneDataSystemAppender=void 0;async function $(P,q){const T=await q.request(P,N.CancellationToken.None),M=(await(0,w.streamToBuffer)(T.stream)).toString(),y=T.res.statusCode??200;return{headers:T.res.headers,statusCode:y,responseData:M}}async function D(P){const q={method:P.type,headers:P.headers};return new Promise((M,y)=>{const p=I.request(P.url??"",q,s=>{s.on("data",function(v){M({headers:s.headers,statusCode:s.statusCode??200,responseData:v.toString()})}),s.on("error",function(v){y(v)})});p.write(P.data,s=>{s&&y(s)}),p.end()})}async function m(P,q,T){const M=typeof q.data=="string"?q.data:new TextDecoder().decode(q.data),y={type:"POST",headers:{...q.headers,"Content-Type":"application/json","Content-Length":Buffer.byteLength(q.data).toString()},url:q.urlString,data:M};try{const p=P?await $(y,P):await D(y);T(p.statusCode,p.headers,p.responseData)}catch{T(0,{})}}class c extends R.AbstractOneDataSystemAppender{constructor(q,T,M,y,p){const s={sendPOST:(v,a)=>{m(q,v,a)}};super(T,M,y,p,s)}}e.OneDataSystemAppender=c}),define(he[58],me([0,1,41,47,50]),function(ae,e,w,N,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const R=new I.OneDataSystemAppender(void 0,!1,process.argv[2],JSON.parse(process.argv[3]),process.argv[4]);process.once("exit",()=>R.flush());const $=new N.TelemetryAppenderChannel([R]);new w.Server("telemetry").registerChannel("telemetryAppender",$)})}).call(this);

//# sourceMappingURL=https://sqlopsbuilds.blob.core.windows.net/sourcemaps/2456f20f53a71b39191908aea4f3e7b3aec8e0b1/core/vs/workbench/contrib/debug/node/telemetryApp.js.map
