code-server
Version:
Run VS Code on a remote server.
15 lines • 127 kB
JavaScript
/*!--------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/(function(){var J=["require","exports","vs/base/common/platform","vs/base/common/functional","vs/base/common/process","vs/base/common/path","vs/base/common/extpath","fs","vs/base/common/errors","vs/base/common/iterator","vs/base/common/lazy","vs/base/common/lifecycle","vs/base/common/linkedList","vs/base/common/stopwatch","vs/base/common/event","vs/base/common/cancellation","vs/base/common/cache","vs/base/common/strings","vs/base/common/types","vs/base/node/terminalEncoding","child_process","vs/nls!vs/platform/environment/node/argv","vs/platform/environment/node/argv","vs/platform/environment/node/stdin","os","vs/platform/environment/node/wait","vs/nls","vs/nls!vs/server/node/server.cli","minimist","vs/server/node/server.cli","url","http"],Y=function(Q){for(var e=[],m=0,_=Q.length;m<_;m++)e[m]=J[Q[m]];return e};define(J[8],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),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.setUnexpectedErrorHandler=e.errorHandler=e.ErrorHandler=void 0;class m{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(s){setTimeout(()=>{throw s.stack?new Error(s.message+`
`+s.stack):s},0)}}addListener(s){return this.listeners.push(s),()=>{this._removeListener(s)}}emit(s){this.listeners.forEach(f=>{f(s)})}_removeListener(s){this.listeners.splice(this.listeners.indexOf(s),1)}setUnexpectedErrorHandler(s){this.unexpectedErrorHandler=s}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(s){this.unexpectedErrorHandler(s),this.emit(s)}onUnexpectedExternalError(s){this.unexpectedErrorHandler(s)}}e.ErrorHandler=m,e.errorHandler=new m;function _(r){e.errorHandler.setUnexpectedErrorHandler(r)}e.setUnexpectedErrorHandler=_;function v(r){S(r)||e.errorHandler.onUnexpectedError(r)}e.onUnexpectedError=v;function y(r){S(r)||e.errorHandler.onUnexpectedExternalError(r)}e.onUnexpectedExternalError=y;function P(r){if(r instanceof Error){let{name:s,message:f}=r;const c=r.stacktrace||r.stack;return{$isError:!0,name:s,message:f,stack:c}}return r}e.transformErrorForSerialization=P;const E="Canceled";function S(r){return r instanceof O?!0:r instanceof Error&&r.name===E&&r.message===E}e.isCancellationError=S;class O extends Error{constructor(){super(E);this.name=this.message}}e.CancellationError=O;function U(){const r=new Error(E);return r.name=r.message,r}e.canceled=U;function H(r){return r?new Error(`Illegal argument: ${r}`):new Error("Illegal argument")}e.illegalArgument=H;function j(r){return r?new Error(`Illegal state: ${r}`):new Error("Illegal state")}e.illegalState=j;function R(r){return r?new Error(`readonly property '${r} cannot be changed'`):new Error("readonly property cannot be changed")}e.readonly=R;function w(r){const s=new Error(`${r} has been disposed`);return s.name="DISPOSED",s}e.disposed=w;function N(r){return r?r.message?r.message:r.stack?r.stack.split(`
`)[0]:String(r):"Error"}e.getErrorMessage=N;class b extends Error{constructor(s){super("NotImplemented");s&&(this.message=s)}}e.NotImplementedError=b;class T extends Error{constructor(s){super("NotSupported");s&&(this.message=s)}}e.NotSupportedError=T;class q extends Error{constructor(){super(...arguments);this.isExpected=!0}}e.ExpectedError=q;class o extends Error{constructor(){super(...arguments);this.logTelemetry=!1}}e.ErrorNoTelemetry=o}),define(J[3],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=void 0;function m(_){const v=this;let y=!1,P;return function(){return y||(y=!0,P=_.apply(v,arguments)),P}}e.once=m}),define(J[9],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var m;(function(_){function v(s){return s&&typeof s=="object"&&typeof s[Symbol.iterator]=="function"}_.is=v;const y=Object.freeze([]);function P(){return y}_.empty=P;function*E(s){yield s}_.single=E;function S(s){return s||y}_.from=S;function O(s){return!s||s[Symbol.iterator]().next().done===!0}_.isEmpty=O;function U(s){return s[Symbol.iterator]().next().value}_.first=U;function H(s,f){for(const c of s)if(f(c))return!0;return!1}_.some=H;function j(s,f){for(const c of s)if(f(c))return c}_.find=j;function*R(s,f){for(const c of s)f(c)&&(yield c)}_.filter=R;function*w(s,f){let c=0;for(const a of s)yield f(a,c++)}_.map=w;function*N(...s){for(const f of s)for(const c of f)yield c}_.concat=N;function*b(s){for(const f of s)for(const c of f)yield c}_.concatNested=b;function T(s,f,c){let a=c;for(const l of s)a=f(a,l);return a}_.reduce=T;function*q(s,f,c=s.length){for(f<0&&(f+=s.length),c<0?c+=s.length:c>s.length&&(c=s.length);f<c;f++)yield s[f]}_.slice=q;function o(s,f=Number.POSITIVE_INFINITY){const c=[];if(f===0)return[c,s];const a=s[Symbol.iterator]();for(let l=0;l<f;l++){const t=a.next();if(t.done)return[c,_.empty()];c.push(t.value)}return[c,{[Symbol.iterator](){return a}}]}_.consume=o;function r(s,f,c=(a,l)=>a===l){const a=s[Symbol.iterator](),l=f[Symbol.iterator]();for(;;){const t=a.next(),n=l.next();if(t.done!==n.done)return!1;if(t.done)return!0;if(!c(t.value,n.value))return!1}}_.equals=r})(m=e.Iterable||(e.Iterable={}))}),define(J[10],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lazy=void 0;class m{constructor(v){this.executor=v,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(v){this._error=v}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}map(v){return new m(()=>v(this.getValue()))}}e.Lazy=m}),define(J[11],Y([0,1,3,9]),function(Q,e,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.disposeOnReturn=e.ImmortalReference=e.AsyncReferenceCollection=e.ReferenceCollection=e.SafeDisposable=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.MultiDisposeError=e.markAsSingleton=e.setDisposableTracker=void 0;const v=!1;let y=null;function P(t){y=t}if(e.setDisposableTracker=P,v){const t="__is_disposable_tracked__";P(new class{trackDisposable(n){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{n[t]||console.log(u)},3e3)}setParent(n,u){if(n&&n!==q.None)try{n[t]=!0}catch{}}markAsDisposed(n){if(n&&n!==q.None)try{n[t]=!0}catch{}}markAsSingleton(n){}})}function E(t){return y?.trackDisposable(t),t}function S(t){y?.markAsDisposed(t)}function O(t,n){y?.setParent(t,n)}function U(t,n){if(!!y)for(const u of t)y.setParent(u,n)}function H(t){return y?.markAsSingleton(t),t}e.markAsSingleton=H;class j extends Error{constructor(n){super(`Encountered errors while disposing of store. Errors: [${n.join(", ")}]`);this.errors=n}}e.MultiDisposeError=j;function R(t){return typeof t.dispose=="function"&&t.dispose.length===0}e.isDisposable=R;function w(t){if(_.Iterable.is(t)){let n=[];for(const u of t)if(u)try{u.dispose()}catch(C){n.push(C)}if(n.length===1)throw n[0];if(n.length>1)throw new j(n);return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}e.dispose=w;function N(...t){const n=b(()=>w(t));return U(t,n),n}e.combinedDisposable=N;function b(t){const n=E({dispose:(0,m.once)(()=>{S(n),t()})});return n}e.toDisposable=b;class T{constructor(){this._toDispose=new Set,this._isDisposed=!1,E(this)}dispose(){this._isDisposed||(S(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{w(this._toDispose.values())}finally{this._toDispose.clear()}}add(n){if(!n)return n;if(n===this)throw new Error("Cannot register a disposable on itself!");return O(n,this),this._isDisposed?T.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(n),n}}e.DisposableStore=T,T.DISABLE_DISPOSED_WARNING=!1;class q{constructor(){this._store=new T,E(this),O(this._store,this)}dispose(){S(this),this._store.dispose()}_register(n){if(n===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(n)}}e.Disposable=q,q.None=Object.freeze({dispose(){}});class o{constructor(){this._isDisposed=!1,E(this)}get value(){return this._isDisposed?void 0:this._value}set value(n){this._isDisposed||n===this._value||(this._value?.dispose(),n&&O(n,this),this._value=n)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,S(this),this._value?.dispose(),this._value=void 0}clearAndLeak(){const n=this._value;return this._value=void 0,n&&O(n,null),n}}e.MutableDisposable=o;class r{constructor(n){this._disposable=n,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter==0&&this._disposable.dispose(),this}}e.RefCountedDisposable=r;class s{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,E(this)}set(n){let u=n;return this.unset=()=>u=void 0,this.isset=()=>u!==void 0,this.dispose=()=>{u&&(u(),u=void 0,S(this))},this}}e.SafeDisposable=s;class f{constructor(){this.references=new Map}acquire(n,...u){let C=this.references.get(n);C||(C={counter:0,object:this.createReferencedObject(n,...u)},this.references.set(n,C));const{object:h}=C,A=(0,m.once)(()=>{--C.counter==0&&(this.destroyReferencedObject(n,C.object),this.references.delete(n))});return C.counter++,{object:h,dispose:A}}}e.ReferenceCollection=f;class c{constructor(n){this.referenceCollection=n}async acquire(n,...u){const C=this.referenceCollection.acquire(n,...u);try{return{object:await C.object,dispose:()=>C.dispose()}}catch(h){throw C.dispose(),h}}}e.AsyncReferenceCollection=c;class a{constructor(n){this.object=n}dispose(){}}e.ImmortalReference=a;function l(t){const n=new T;try{t(n)}finally{n.dispose()}}e.disposeOnReturn=l}),define(J[12],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class m{constructor(y){this.element=y,this.next=m.Undefined,this.prev=m.Undefined}}m.Undefined=new m(void 0);class _{constructor(){this._first=m.Undefined,this._last=m.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===m.Undefined}clear(){let y=this._first;for(;y!==m.Undefined;){const P=y.next;y.prev=m.Undefined,y.next=m.Undefined,y=P}this._first=m.Undefined,this._last=m.Undefined,this._size=0}unshift(y){return this._insert(y,!1)}push(y){return this._insert(y,!0)}_insert(y,P){const E=new m(y);if(this._first===m.Undefined)this._first=E,this._last=E;else if(P){const O=this._last;this._last=E,E.prev=O,O.next=E}else{const O=this._first;this._first=E,E.next=O,O.prev=E}this._size+=1;let S=!1;return()=>{S||(S=!0,this._remove(E))}}shift(){if(this._first!==m.Undefined){const y=this._first.element;return this._remove(this._first),y}}pop(){if(this._last!==m.Undefined){const y=this._last.element;return this._remove(this._last),y}}_remove(y){if(y.prev!==m.Undefined&&y.next!==m.Undefined){const P=y.prev;P.next=y.next,y.next.prev=P}else y.prev===m.Undefined&&y.next===m.Undefined?(this._first=m.Undefined,this._last=m.Undefined):y.next===m.Undefined?(this._last=this._last.prev,this._last.next=m.Undefined):y.prev===m.Undefined&&(this._first=this._first.next,this._first.prev=m.Undefined);this._size-=1}*[Symbol.iterator](){let y=this._first;for(;y!==m.Undefined;)yield y.element,y=y.next}}e.LinkedList=_}),define(J[2],Y([0,1]),function(Q,e){"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.translationsConfigFile=e.locale=e.Language=e.language=e.userAgent=e.platform=e.isCI=e.isIOS=e.isWebWorker=e.isWeb=e.isElectron=e.isNative=e.isLinuxSnap=e.isLinux=e.isMacintosh=e.isWindows=e.PlatformToString=e.Platform=e.isElectronSandboxed=e.globals=void 0;const m="en";let _=!1,v=!1,y=!1,P=!1,E=!1,S=!1,O=!1,U=!1,H=!1,j,R=m,w,N;e.globals=typeof self=="object"?self:typeof global=="object"?global:{};let b;typeof e.globals.vscode!="undefined"&&typeof e.globals.vscode.process!="undefined"?b=e.globals.vscode.process:typeof process!="undefined"&&(b=process);const T=typeof b?.versions?.electron=="string",q=T&&b?.type==="renderer";if(e.isElectronSandboxed=q&&b?.sandboxed,typeof navigator=="object"&&!q){N=navigator.userAgent,_=N.indexOf("Windows")>=0,v=N.indexOf("Macintosh")>=0,U=(N.indexOf("Macintosh")>=0||N.indexOf("iPad")>=0||N.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,y=N.indexOf("Linux")>=0,S=!0,j=navigator.language,R=j;const n=typeof document!="undefined"&&document.getElementById("vscode-remote-nls-configuration"),u=n&&n.getAttribute("data-settings");if(u)try{const C=JSON.parse(u);j=C.locale,w=C._translationsConfigFile,R=C.availableLanguages["*"]||m}catch{}}else if(typeof b=="object"){_=b.platform==="win32",v=b.platform==="darwin",y=b.platform==="linux",P=y&&!!b.env.SNAP&&!!b.env.SNAP_REVISION,O=T,H=!!b.env.CI||!!b.env.BUILD_ARTIFACTSTAGINGDIRECTORY,j=m,R=m;const n=b.env.VSCODE_NLS_CONFIG;if(n)try{const u=JSON.parse(n),C=u.availableLanguages["*"];j=u.locale,R=C||m,w=u._translationsConfigFile}catch{}E=!0}else console.error("Unable to resolve platform.");var o;(function(n){n[n.Web=0]="Web",n[n.Mac=1]="Mac",n[n.Linux=2]="Linux",n[n.Windows=3]="Windows"})(o=e.Platform||(e.Platform={}));function r(n){switch(n){case 0:return"Web";case 1:return"Mac";case 2:return"Linux";case 3:return"Windows"}}e.PlatformToString=r;let s=0;v?s=1:_?s=3:y&&(s=2),e.isWindows=_,e.isMacintosh=v,e.isLinux=y,e.isLinuxSnap=P,e.isNative=E,e.isElectron=O,e.isWeb=S,e.isWebWorker=S&&typeof e.globals.importScripts=="function",e.isIOS=U,e.isCI=H,e.platform=s,e.userAgent=N,e.language=R;var f;(function(n){function u(){return e.language}n.value=u;function C(){return e.language.length===2?e.language==="en":e.language.length>=3?e.language[0]==="e"&&e.language[1]==="n"&&e.language[2]==="-":!1}n.isDefaultVariant=C;function h(){return e.language==="en"}n.isDefault=h})(f=e.Language||(e.Language={})),e.locale=j,e.translationsConfigFile=w,e.setTimeout0=(()=>{if(typeof e.globals.postMessage=="function"&&!e.globals.importScripts){let n=[];e.globals.addEventListener("message",C=>{if(C.data&&C.data.vscodeScheduleAsyncWork)for(let h=0,A=n.length;h<A;h++){const B=n[h];if(B.id===C.data.vscodeScheduleAsyncWork){n.splice(h,1),B.callback();return}}});let u=0;return C=>{const h=++u;n.push({id:h,callback:C}),e.globals.postMessage({vscodeScheduleAsyncWork:h},"*")}}return n=>setTimeout(n)})();var c;(function(n){n[n.Windows=1]="Windows",n[n.Macintosh=2]="Macintosh",n[n.Linux=3]="Linux"})(c=e.OperatingSystem||(e.OperatingSystem={})),e.OS=v||U?2:_?1:3;let a=!0,l=!1;function t(){if(!l){l=!0;const n=new Uint8Array(2);n[0]=1,n[1]=2,a=new Uint16Array(n.buffer)[0]===(2<<8)+1}return a}e.isLittleEndian=t,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(J[4],Y([0,1,2]),function(Q,e,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arch=e.platform=e.env=e.cwd=void 0;let _;if(typeof m.globals.vscode!="undefined"&&typeof m.globals.vscode.process!="undefined"){const v=m.globals.vscode.process;_={get platform(){return v.platform},get arch(){return v.arch},get env(){return v.env},cwd(){return v.cwd()}}}else typeof process!="undefined"?_={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:_={get platform(){return m.isWindows?"win32":m.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=_.cwd,e.env=_.env,e.platform=_.platform,e.arch=_.arch}),define(J[5],Y([0,1,4]),function(Q,e,m){"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 _=65,v=97,y=90,P=122,E=46,S=47,O=92,U=58,H=63;class j extends Error{constructor(r,s,f){let c;typeof s=="string"&&s.indexOf("not ")===0?(c="must not be",s=s.replace(/^not /,"")):c="must be";const a=r.indexOf(".")!==-1?"property":"argument";let l=`The "${r}" ${a} ${c} of type ${s}`;l+=`. Received type ${typeof f}`;super(l);this.code="ERR_INVALID_ARG_TYPE"}}function R(o,r){if(typeof o!="string")throw new j(r,"string",o)}function w(o){return o===S||o===O}function N(o){return o===S}function b(o){return o>=_&&o<=y||o>=v&&o<=P}function T(o,r,s,f){let c="",a=0,l=-1,t=0,n=0;for(let u=0;u<=o.length;++u){if(u<o.length)n=o.charCodeAt(u);else{if(f(n))break;n=S}if(f(n)){if(!(l===u-1||t===1))if(t===2){if(c.length<2||a!==2||c.charCodeAt(c.length-1)!==E||c.charCodeAt(c.length-2)!==E){if(c.length>2){const C=c.lastIndexOf(s);C===-1?(c="",a=0):(c=c.slice(0,C),a=c.length-1-c.lastIndexOf(s)),l=u,t=0;continue}else if(c.length!==0){c="",a=0,l=u,t=0;continue}}r&&(c+=c.length>0?`${s}..`:"..",a=2)}else c.length>0?c+=`${s}${o.slice(l+1,u)}`:c=o.slice(l+1,u),a=u-l-1;l=u,t=0}else n===E&&t!==-1?++t:t=-1}return c}function q(o,r){if(r===null||typeof r!="object")throw new j("pathObject","Object",r);const s=r.dir||r.root,f=r.base||`${r.name||""}${r.ext||""}`;return s?s===r.root?`${s}${f}`:`${s}${o}${f}`:f}e.win32={resolve(...o){let r="",s="",f=!1;for(let c=o.length-1;c>=-1;c--){let a;if(c>=0){if(a=o[c],R(a,"path"),a.length===0)continue}else r.length===0?a=m.cwd():(a=m.env[`=${r}`]||m.cwd(),(a===void 0||a.slice(0,2).toLowerCase()!==r.toLowerCase()&&a.charCodeAt(2)===O)&&(a=`${r}\\`));const l=a.length;let t=0,n="",u=!1;const C=a.charCodeAt(0);if(l===1)w(C)&&(t=1,u=!0);else if(w(C))if(u=!0,w(a.charCodeAt(1))){let h=2,A=h;for(;h<l&&!w(a.charCodeAt(h));)h++;if(h<l&&h!==A){const B=a.slice(A,h);for(A=h;h<l&&w(a.charCodeAt(h));)h++;if(h<l&&h!==A){for(A=h;h<l&&!w(a.charCodeAt(h));)h++;(h===l||h!==A)&&(n=`\\\\${B}\\${a.slice(A,h)}`,t=h)}}}else t=1;else b(C)&&a.charCodeAt(1)===U&&(n=a.slice(0,2),t=2,l>2&&w(a.charCodeAt(2))&&(u=!0,t=3));if(n.length>0)if(r.length>0){if(n.toLowerCase()!==r.toLowerCase())continue}else r=n;if(f){if(r.length>0)break}else if(s=`${a.slice(t)}\\${s}`,f=u,u&&r.length>0)break}return s=T(s,!f,"\\",w),f?`${r}\\${s}`:`${r}${s}`||"."},normalize(o){R(o,"path");const r=o.length;if(r===0)return".";let s=0,f,c=!1;const a=o.charCodeAt(0);if(r===1)return N(a)?"\\":o;if(w(a))if(c=!0,w(o.charCodeAt(1))){let t=2,n=t;for(;t<r&&!w(o.charCodeAt(t));)t++;if(t<r&&t!==n){const u=o.slice(n,t);for(n=t;t<r&&w(o.charCodeAt(t));)t++;if(t<r&&t!==n){for(n=t;t<r&&!w(o.charCodeAt(t));)t++;if(t===r)return`\\\\${u}\\${o.slice(n)}\\`;t!==n&&(f=`\\\\${u}\\${o.slice(n,t)}`,s=t)}}}else s=1;else b(a)&&o.charCodeAt(1)===U&&(f=o.slice(0,2),s=2,r>2&&w(o.charCodeAt(2))&&(c=!0,s=3));let l=s<r?T(o.slice(s),!c,"\\",w):"";return l.length===0&&!c&&(l="."),l.length>0&&w(o.charCodeAt(r-1))&&(l+="\\"),f===void 0?c?`\\${l}`:l:c?`${f}\\${l}`:`${f}${l}`},isAbsolute(o){R(o,"path");const r=o.length;if(r===0)return!1;const s=o.charCodeAt(0);return w(s)||r>2&&b(s)&&o.charCodeAt(1)===U&&w(o.charCodeAt(2))},join(...o){if(o.length===0)return".";let r,s;for(let a=0;a<o.length;++a){const l=o[a];R(l,"path"),l.length>0&&(r===void 0?r=s=l:r+=`\\${l}`)}if(r===void 0)return".";let f=!0,c=0;if(typeof s=="string"&&w(s.charCodeAt(0))){++c;const a=s.length;a>1&&w(s.charCodeAt(1))&&(++c,a>2&&(w(s.charCodeAt(2))?++c:f=!1))}if(f){for(;c<r.length&&w(r.charCodeAt(c));)c++;c>=2&&(r=`\\${r.slice(c)}`)}return e.win32.normalize(r)},relative(o,r){if(R(o,"from"),R(r,"to"),o===r)return"";const s=e.win32.resolve(o),f=e.win32.resolve(r);if(s===f||(o=s.toLowerCase(),r=f.toLowerCase(),o===r))return"";let c=0;for(;c<o.length&&o.charCodeAt(c)===O;)c++;let a=o.length;for(;a-1>c&&o.charCodeAt(a-1)===O;)a--;const l=a-c;let t=0;for(;t<r.length&&r.charCodeAt(t)===O;)t++;let n=r.length;for(;n-1>t&&r.charCodeAt(n-1)===O;)n--;const u=n-t,C=l<u?l:u;let h=-1,A=0;for(;A<C;A++){const $=o.charCodeAt(c+A);if($!==r.charCodeAt(t+A))break;$===O&&(h=A)}if(A!==C){if(h===-1)return f}else{if(u>C){if(r.charCodeAt(t+A)===O)return f.slice(t+A+1);if(A===2)return f.slice(t+A)}l>C&&(o.charCodeAt(c+A)===O?h=A:A===2&&(h=3)),h===-1&&(h=0)}let B="";for(A=c+h+1;A<=a;++A)(A===a||o.charCodeAt(A)===O)&&(B+=B.length===0?"..":"\\..");return t+=h,B.length>0?`${B}${f.slice(t,n)}`:(f.charCodeAt(t)===O&&++t,f.slice(t,n))},toNamespacedPath(o){if(typeof o!="string")return o;if(o.length===0)return"";const r=e.win32.resolve(o);if(r.length<=2)return o;if(r.charCodeAt(0)===O){if(r.charCodeAt(1)===O){const s=r.charCodeAt(2);if(s!==H&&s!==E)return`\\\\?\\UNC\\${r.slice(2)}`}}else if(b(r.charCodeAt(0))&&r.charCodeAt(1)===U&&r.charCodeAt(2)===O)return`\\\\?\\${r}`;return o},dirname(o){R(o,"path");const r=o.length;if(r===0)return".";let s=-1,f=0;const c=o.charCodeAt(0);if(r===1)return w(c)?o:".";if(w(c)){if(s=f=1,w(o.charCodeAt(1))){let t=2,n=t;for(;t<r&&!w(o.charCodeAt(t));)t++;if(t<r&&t!==n){for(n=t;t<r&&w(o.charCodeAt(t));)t++;if(t<r&&t!==n){for(n=t;t<r&&!w(o.charCodeAt(t));)t++;if(t===r)return o;t!==n&&(s=f=t+1)}}}}else b(c)&&o.charCodeAt(1)===U&&(s=r>2&&w(o.charCodeAt(2))?3:2,f=s);let a=-1,l=!0;for(let t=r-1;t>=f;--t)if(w(o.charCodeAt(t))){if(!l){a=t;break}}else l=!1;if(a===-1){if(s===-1)return".";a=s}return o.slice(0,a)},basename(o,r){r!==void 0&&R(r,"ext"),R(o,"path");let s=0,f=-1,c=!0,a;if(o.length>=2&&b(o.charCodeAt(0))&&o.charCodeAt(1)===U&&(s=2),r!==void 0&&r.length>0&&r.length<=o.length){if(r===o)return"";let l=r.length-1,t=-1;for(a=o.length-1;a>=s;--a){const n=o.charCodeAt(a);if(w(n)){if(!c){s=a+1;break}}else t===-1&&(c=!1,t=a+1),l>=0&&(n===r.charCodeAt(l)?--l==-1&&(f=a):(l=-1,f=t))}return s===f?f=t:f===-1&&(f=o.length),o.slice(s,f)}for(a=o.length-1;a>=s;--a)if(w(o.charCodeAt(a))){if(!c){s=a+1;break}}else f===-1&&(c=!1,f=a+1);return f===-1?"":o.slice(s,f)},extname(o){R(o,"path");let r=0,s=-1,f=0,c=-1,a=!0,l=0;o.length>=2&&o.charCodeAt(1)===U&&b(o.charCodeAt(0))&&(r=f=2);for(let t=o.length-1;t>=r;--t){const n=o.charCodeAt(t);if(w(n)){if(!a){f=t+1;break}continue}c===-1&&(a=!1,c=t+1),n===E?s===-1?s=t:l!==1&&(l=1):s!==-1&&(l=-1)}return s===-1||c===-1||l===0||l===1&&s===c-1&&s===f+1?"":o.slice(s,c)},format:q.bind(null,"\\"),parse(o){R(o,"path");const r={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return r;const s=o.length;let f=0,c=o.charCodeAt(0);if(s===1)return w(c)?(r.root=r.dir=o,r):(r.base=r.name=o,r);if(w(c)){if(f=1,w(o.charCodeAt(1))){let h=2,A=h;for(;h<s&&!w(o.charCodeAt(h));)h++;if(h<s&&h!==A){for(A=h;h<s&&w(o.charCodeAt(h));)h++;if(h<s&&h!==A){for(A=h;h<s&&!w(o.charCodeAt(h));)h++;h===s?f=h:h!==A&&(f=h+1)}}}}else if(b(c)&&o.charCodeAt(1)===U){if(s<=2)return r.root=r.dir=o,r;if(f=2,w(o.charCodeAt(2))){if(s===3)return r.root=r.dir=o,r;f=3}}f>0&&(r.root=o.slice(0,f));let a=-1,l=f,t=-1,n=!0,u=o.length-1,C=0;for(;u>=f;--u){if(c=o.charCodeAt(u),w(c)){if(!n){l=u+1;break}continue}t===-1&&(n=!1,t=u+1),c===E?a===-1?a=u:C!==1&&(C=1):a!==-1&&(C=-1)}return t!==-1&&(a===-1||C===0||C===1&&a===t-1&&a===l+1?r.base=r.name=o.slice(l,t):(r.name=o.slice(l,a),r.base=o.slice(l,t),r.ext=o.slice(a,t))),l>0&&l!==f?r.dir=o.slice(0,l-1):r.dir=r.root,r},sep:"\\",delimiter:";",win32:null,posix:null},e.posix={resolve(...o){let r="",s=!1;for(let f=o.length-1;f>=-1&&!s;f--){const c=f>=0?o[f]:m.cwd();R(c,"path"),c.length!==0&&(r=`${c}/${r}`,s=c.charCodeAt(0)===S)}return r=T(r,!s,"/",N),s?`/${r}`:r.length>0?r:"."},normalize(o){if(R(o,"path"),o.length===0)return".";const r=o.charCodeAt(0)===S,s=o.charCodeAt(o.length-1)===S;return o=T(o,!r,"/",N),o.length===0?r?"/":s?"./":".":(s&&(o+="/"),r?`/${o}`:o)},isAbsolute(o){return R(o,"path"),o.length>0&&o.charCodeAt(0)===S},join(...o){if(o.length===0)return".";let r;for(let s=0;s<o.length;++s){const f=o[s];R(f,"path"),f.length>0&&(r===void 0?r=f:r+=`/${f}`)}return r===void 0?".":e.posix.normalize(r)},relative(o,r){if(R(o,"from"),R(r,"to"),o===r||(o=e.posix.resolve(o),r=e.posix.resolve(r),o===r))return"";const s=1,f=o.length,c=f-s,a=1,l=r.length-a,t=c<l?c:l;let n=-1,u=0;for(;u<t;u++){const h=o.charCodeAt(s+u);if(h!==r.charCodeAt(a+u))break;h===S&&(n=u)}if(u===t)if(l>t){if(r.charCodeAt(a+u)===S)return r.slice(a+u+1);if(u===0)return r.slice(a+u)}else c>t&&(o.charCodeAt(s+u)===S?n=u:u===0&&(n=0));let C="";for(u=s+n+1;u<=f;++u)(u===f||o.charCodeAt(u)===S)&&(C+=C.length===0?"..":"/..");return`${C}${r.slice(a+n)}`},toNamespacedPath(o){return o},dirname(o){if(R(o,"path"),o.length===0)return".";const r=o.charCodeAt(0)===S;let s=-1,f=!0;for(let c=o.length-1;c>=1;--c)if(o.charCodeAt(c)===S){if(!f){s=c;break}}else f=!1;return s===-1?r?"/":".":r&&s===1?"//":o.slice(0,s)},basename(o,r){r!==void 0&&R(r,"ext"),R(o,"path");let s=0,f=-1,c=!0,a;if(r!==void 0&&r.length>0&&r.length<=o.length){if(r===o)return"";let l=r.length-1,t=-1;for(a=o.length-1;a>=0;--a){const n=o.charCodeAt(a);if(n===S){if(!c){s=a+1;break}}else t===-1&&(c=!1,t=a+1),l>=0&&(n===r.charCodeAt(l)?--l==-1&&(f=a):(l=-1,f=t))}return s===f?f=t:f===-1&&(f=o.length),o.slice(s,f)}for(a=o.length-1;a>=0;--a)if(o.charCodeAt(a)===S){if(!c){s=a+1;break}}else f===-1&&(c=!1,f=a+1);return f===-1?"":o.slice(s,f)},extname(o){R(o,"path");let r=-1,s=0,f=-1,c=!0,a=0;for(let l=o.length-1;l>=0;--l){const t=o.charCodeAt(l);if(t===S){if(!c){s=l+1;break}continue}f===-1&&(c=!1,f=l+1),t===E?r===-1?r=l:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||f===-1||a===0||a===1&&r===f-1&&r===s+1?"":o.slice(r,f)},format:q.bind(null,"/"),parse(o){R(o,"path");const r={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return r;const s=o.charCodeAt(0)===S;let f;s?(r.root="/",f=1):f=0;let c=-1,a=0,l=-1,t=!0,n=o.length-1,u=0;for(;n>=f;--n){const C=o.charCodeAt(n);if(C===S){if(!t){a=n+1;break}continue}l===-1&&(t=!1,l=n+1),C===E?c===-1?c=n:u!==1&&(u=1):c!==-1&&(u=-1)}if(l!==-1){const C=a===0&&s?1:a;c===-1||u===0||u===1&&c===l-1&&c===a+1?r.base=r.name=o.slice(C,l):(r.name=o.slice(C,c),r.base=o.slice(C,l),r.ext=o.slice(c,l))}return a>0?r.dir=o.slice(0,a-1):s&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=m.platform==="win32"?e.win32.normalize:e.posix.normalize,e.isAbsolute=m.platform==="win32"?e.win32.isAbsolute:e.posix.isAbsolute,e.join=m.platform==="win32"?e.win32.join:e.posix.join,e.resolve=m.platform==="win32"?e.win32.resolve:e.posix.resolve,e.relative=m.platform==="win32"?e.win32.relative:e.posix.relative,e.dirname=m.platform==="win32"?e.win32.dirname:e.posix.dirname,e.basename=m.platform==="win32"?e.win32.basename:e.posix.basename,e.extname=m.platform==="win32"?e.win32.extname:e.posix.extname,e.format=m.platform==="win32"?e.win32.format:e.posix.format,e.parse=m.platform==="win32"?e.win32.parse:e.posix.parse,e.toNamespacedPath=m.platform==="win32"?e.win32.toNamespacedPath:e.posix.toNamespacedPath,e.sep=m.platform==="win32"?e.win32.sep:e.posix.sep,e.delimiter=m.platform==="win32"?e.win32.delimiter:e.posix.delimiter}),define(J[13],Y([0,1,2]),function(Q,e,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StopWatch=void 0;const _=m.globals.performance&&typeof m.globals.performance.now=="function";class v{constructor(P){this._highResolution=_&&P,this._startTime=this._now(),this._stopTime=-1}static create(P=!0){return new v(P)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?m.globals.performance.now():Date.now()}}e.StopWatch=v}),define(J[14],Y([0,1,8,3,11,12,13]),function(Q,e,m,_,v,y,P){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Relay=e.EventBufferer=e.EventMultiplexer=e.MicrotaskEmitter=e.DebounceEmitter=e.PauseableEmitter=e.AsyncEmitter=e.Emitter=e.setGlobalLeakWarningThreshold=e.Event=void 0;let E=!1,S=!1;var O;(function(a){a.None=()=>v.Disposable.None;function l(W){if(S){const{onListenerDidAdd:I}=W,p=w.create();let L=0;W.onListenerDidAdd=()=>{++L==2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),p.print()),I?.()}}}function t(W){return(I,p=null,L)=>{let k=!1,z;return z=W(V=>{if(!k)return z?z.dispose():k=!0,I.call(p,V)},null,L),k&&z.dispose(),z}}a.once=t;function n(W,I,p){return $((L,k=null,z)=>W(V=>L.call(k,I(V)),null,z),p)}a.map=n;function u(W,I,p){return $((L,k=null,z)=>W(V=>{I(V),L.call(k,V)},null,z),p)}a.forEach=u;function C(W,I,p){return $((L,k=null,z)=>W(V=>I(V)&&L.call(k,V),null,z),p)}a.filter=C;function h(W){return W}a.signal=h;function A(...W){return(I,p=null,L)=>(0,v.combinedDisposable)(...W.map(k=>k(z=>I.call(p,z),null,L)))}a.any=A;function B(W,I,p,L){let k=p;return n(W,z=>(k=I(k,z),k),L)}a.reduce=B;function $(W,I){let p;const L={onFirstListenerAdd(){p=W(k.fire,k)},onLastListenerRemove(){p.dispose()}};I||l(L);const k=new b(L);return I&&I.add(k),k.event}function e1(W,I,p=100,L=!1,k,z){let V,X,h1,w1=0;const y1={leakWarningThreshold:k,onFirstListenerAdd(){V=W(b1=>{w1++,X=I(X,b1),L&&!h1&&(C1.fire(X),X=void 0),clearTimeout(h1),h1=setTimeout(()=>{const A1=X;X=void 0,h1=void 0,(!L||w1>1)&&C1.fire(A1),w1=0},p)})},onLastListenerRemove(){V.dispose()}};z||l(y1);const C1=new b(y1);return z&&z.add(C1),C1.event}a.debounce=e1;function n1(W,I=(L,k)=>L===k,p){let L=!0,k;return C(W,z=>{const V=L||!I(z,k);return L=!1,k=z,V},p)}a.latch=n1;function t1(W,I,p){return[a.filter(W,I,p),a.filter(W,L=>!I(L),p)]}a.split=t1;function l1(W,I=!1,p=[]){let L=p.slice(),k=W(X=>{L?L.push(X):V.fire(X)});const z=()=>{L&&L.forEach(X=>V.fire(X)),L=null},V=new b({onFirstListenerAdd(){k||(k=W(X=>V.fire(X)))},onFirstListenerDidAdd(){L&&(I?setTimeout(z):z())},onLastListenerRemove(){k&&k.dispose(),k=null}});return V.event}a.buffer=l1;class F{constructor(I){this.event=I}map(I){return new F(n(this.event,I))}forEach(I){return new F(u(this.event,I))}filter(I){return new F(C(this.event,I))}reduce(I,p){return new F(B(this.event,I,p))}latch(){return new F(n1(this.event))}debounce(I,p=100,L=!1,k){return new F(e1(this.event,I,p,L,k))}on(I,p,L){return this.event(I,p,L)}once(I,p,L){return t(this.event)(I,p,L)}}function G(W){return new F(W)}a.chain=G;function Z(W,I,p=L=>L){const L=(...X)=>V.fire(p(...X)),k=()=>W.on(I,L),z=()=>W.removeListener(I,L),V=new b({onFirstListenerAdd:k,onLastListenerRemove:z});return V.event}a.fromNodeEventEmitter=Z;function o1(W,I,p=L=>L){const L=(...X)=>V.fire(p(...X)),k=()=>W.addEventListener(I,L),z=()=>W.removeEventListener(I,L),V=new b({onFirstListenerAdd:k,onLastListenerRemove:z});return V.event}a.fromDOMEventEmitter=o1;function i1(W){return new Promise(I=>t(W)(I))}a.toPromise=i1;function s1(W,I){return I(void 0),W(p=>I(p))}a.runAndSubscribe=s1;function m1(W,I){let p=null;function L(z){p?.dispose(),p=new v.DisposableStore,I(z,p)}L(void 0);const k=W(z=>L(z));return(0,v.toDisposable)(()=>{k.dispose(),p?.dispose()})}a.runAndSubscribeWithStore=m1})(O=e.Event||(e.Event={}));class U{constructor(l){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${l}_${U._idPool++}`}start(l){this._stopWatch=new P.StopWatch(!0),this._listenerCount=l}stop(){if(this._stopWatch){const l=this._stopWatch.elapsed();this._elapsedOverall+=l,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${l.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}U._idPool=0;let H=-1;function j(a){const l=H;return H=a,{dispose(){H=l}}}e.setGlobalLeakWarningThreshold=j;class R{constructor(l,t=Math.random().toString(18).slice(2,5)){this.customThreshold=l,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(l,t){let n=H;if(typeof this.customThreshold=="number"&&(n=this.customThreshold),n<=0||t<n)return;this._stacks||(this._stacks=new Map);const u=this._stacks.get(l.value)||0;if(this._stacks.set(l.value,u+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=n*.5;let C,h=0;for(const[A,B]of this._stacks)(!C||h<B)&&(C=A,h=B);console.warn(`[${this.name}] potential listener LEAK detected, having ${t} listeners already. MOST frequent listener (${h}):`),console.warn(C)}return()=>{const C=this._stacks.get(l.value)||0;this._stacks.set(l.value,C-1)}}}class w{constructor(l){this.value=l}static create(){return new w(new Error().stack??"")}print(){console.warn(this.value.split(`
`).slice(2).join(`
`))}}class N{constructor(l,t,n){this.callback=l,this.callbackThis=t,this.stack=n,this.subscription=new v.SafeDisposable}invoke(l){this.callback.call(this.callbackThis,l)}}class b{constructor(l){this._disposed=!1,this._options=l,this._leakageMon=H>0?new R(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=this._options?._profName?new U(this._options._profName):void 0}dispose(){if(!this._disposed){if(this._disposed=!0,this._listeners){if(E){const l=Array.from(this._listeners);queueMicrotask(()=>{for(const t of l)t.subscription.isset()&&(t.subscription.unset(),t.stack?.print())})}this._listeners.clear()}this._deliveryQueue?.clear(),this._options?.onLastListenerRemove?.(),this._leakageMon?.dispose()}}get event(){return this._event||(this._event=(l,t,n)=>{this._listeners||(this._listeners=new y.LinkedList);const u=this._listeners.isEmpty();u&&this._options?.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);let C,h;this._leakageMon&&this._listeners.size>=30&&(h=w.create(),C=this._leakageMon.check(h,this._listeners.size+1)),E&&(h=h??w.create());const A=new N(l,t,h),B=this._listeners.push(A);u&&this._options?.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options?.onListenerDidAdd&&this._options.onListenerDidAdd(this,l,t);const $=A.subscription.set(()=>{C&&C(),this._disposed||(B(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return n instanceof v.DisposableStore?n.add($):Array.isArray(n)&&n.push($),$}),this._event}fire(l){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new y.LinkedList);for(let t of this._listeners)this._deliveryQueue.push([t,l]);for(this._perfMon?.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[t,n]=this._deliveryQueue.shift();try{t.invoke(n)}catch(u){(0,m.onUnexpectedError)(u)}}this._perfMon?.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}e.Emitter=b;class T extends b{async fireAsync(l,t,n){if(!!this._listeners){this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new y.LinkedList);for(const u of this._listeners)this._asyncDeliveryQueue.push([u,l]);for(;this._asyncDeliveryQueue.size>0&&!t.isCancellationRequested;){const[u,C]=this._asyncDeliveryQueue.shift(),h=[],A={...C,token:t,waitUntil:B=>{if(Object.isFrozen(h))throw new Error("waitUntil can NOT be called asynchronous");n&&(B=n(B,u.callback)),h.push(B)}};try{u.invoke(A)}catch(B){(0,m.onUnexpectedError)(B);continue}Object.freeze(h),await Promise.allSettled(h).then(B=>{for(const $ of B)$.status==="rejected"&&(0,m.onUnexpectedError)($.reason)})}}}}e.AsyncEmitter=T;class q extends b{constructor(l){super(l);this._isPaused=0,this._eventQueue=new y.LinkedList,this._mergeFn=l?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){const l=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(l))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(l){this._listeners&&(this._isPaused!==0?this._eventQueue.push(l):super.fire(l))}}e.PauseableEmitter=q;class o extends q{constructor(l){super(l);this._delay=l.delay??100}fire(l){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(l)}}e.DebounceEmitter=o;class r extends b{constructor(l){super(l);this._queuedEvents=[],this._mergeFn=l?.merge}fire(l){this._queuedEvents.push(l),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(t=>super.fire(t)),this._queuedEvents=[]})}}e.MicrotaskEmitter=r;class s{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new b({onFirstListenerAdd:()=>this.onFirstListenerAdd(),onLastListenerRemove:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(l){const t={event:l,listener:null};this.events.push(t),this.hasListeners&&this.hook(t);const n=()=>{this.hasListeners&&this.unhook(t);const u=this.events.indexOf(t);this.events.splice(u,1)};return(0,v.toDisposable)((0,_.once)(n))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(l=>this.hook(l))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(l=>this.unhook(l))}hook(l){l.listener=l.event(t=>this.emitter.fire(t))}unhook(l){l.listener&&l.listener.dispose(),l.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=s;class f{constructor(){this.buffers=[]}wrapEvent(l){return(t,n,u)=>l(C=>{const h=this.buffers[this.buffers.length-1];h?h.push(()=>t.call(n,C)):t.call(n,C)},void 0,u)}bufferEvents(l){const t=[];this.buffers.push(t);const n=l();return this.buffers.pop(),t.forEach(u=>u()),n}}e.EventBufferer=f;class c{constructor(){this.listening=!1,this.inputEvent=O.None,this.inputEventListener=v.Disposable.None,this.emitter=new b({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(l){this.inputEvent=l,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=l(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=c}),define(J[15],Y([0,1,14]),function(Q,e,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const _=Object.freeze(function(E,S){const O=setTimeout(E.bind(S),0);return{dispose(){clearTimeout(O)}}});var v;(function(E){function S(O){return O===E.None||O===E.Cancelled||O instanceof y?!0:!O||typeof O!="object"?!1:typeof O.isCancellationRequested=="boolean"&&typeof O.onCancellationRequested=="function"}E.isCancellationToken=S,E.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:m.Event.None}),E.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:_})})(v=e.CancellationToken||(e.CancellationToken={}));class y{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?_:(this._emitter||(this._emitter=new m.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class P{constructor(S){this._token=void 0,this._parentListener=void 0,this._parentListener=S&&S.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new y),this._token}cancel(){this._token?this._token instanceof y&&this._token.cancel():this._token=v.Cancelled}dispose(S=!1){S&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof y&&this._token.dispose():this._token=v.None}}e.CancellationTokenSource=P}),define(J[16],Y([0,1,15]),function(Q,e,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCachedComputed=e.Cache=void 0;class _{constructor(P){this.task=P,this.result=null}get(){if(this.result)return this.result;const P=new m.CancellationTokenSource,E=this.task(P.token);return this.result={promise:E,dispose:()=>{this.result=null,P.cancel(),P.dispose()}},this.result}}e.Cache=_;class v{constructor(P){this.computeFn=P,this.lastCache=void 0,this.lastArgKey=void 0}get(P){const E=JSON.stringify(P);return this.lastArgKey!==E&&(this.lastArgKey=E,this.lastCache=this.computeFn(P)),this.lastCache}}e.LRUCachedComputed=v}),define(J[17],Y([0,1,16,10]),function(Q,e,m,_){"use strict";var v;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.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.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.compareSubstringIgnoreCase=e.compareIgnoreCase=e.compareSubstring=e.compare=e.lastNonWhitespaceIndex=e.getLeadingWhitespace=e.firstNonWhitespaceIndex=e.splitLines=e.regExpFlags=e.regExpContainsBackreference=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 y(i){return!i||typeof i!="string"?!0:i.trim().length===0}e.isFalsyOrWhitespace=y;const P=/{(\d+)}/g;function E(i,...d){return d.length===0?i:i.replace(P,function(g,D){const M=parseInt(D,10);return isNaN(M)||M<0||M>=d.length?g:d[M]})}e.format=E;const S=/{([^}]+)}/g;function O(i,d){return i.replace(S,(g,D)=>d[D]??g)}e.format2=O;function U(i){return i.replace(/[<>&]/g,function(d){switch(d){case"<":return"<";case">":return">";case"&":return"&";default:return d}})}e.escape=U;function H(i){return i.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=H;function j(i,d){let g=0;const D=d.charCodeAt(0);for(let M=i.length-1;M>=0;M--)i.charCodeAt(M)===D&&g++;return g}e.count=j;function R(i,d,g="\u2026"){return i.length<=d?i:`${i.substr(0,d)}${g}`}e.truncate=R;function w(i,d=" "){const g=N(i,d);return b(g,d)}e.trim=w;function N(i,d){if(!i||!d)return i;const g=d.length;if(g===0||i.length===0)return i;let D=0;for(;i.indexOf(d,D)===D;)D=D+g;return i.substring(D)}e.ltrim=N;function b(i,d){if(!i||!d)return i;const g=d.length,D=i.length;if(g===0||D===0)return i;let M=D,K=-1;for(;K=i.lastIndexOf(d,M-1),!(K===-1||K+g!==M);){if(K===0)return"";M=K}return i.substring(0,M)}e.rtrim=b;function T(i){return i.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=T;function q(i){return i.replace(/\*/g,"")}e.stripWildcards=q;function o(i,d,g={}){if(!i)throw new Error("Cannot create regex from empty string");d||(i=H(i)),g.wholeWord&&(/\B/.test(i.charAt(0))||(i="\\b"+i),/\B/.test(i.charAt(i.length-1))||(i=i+"\\b"));let D="";return g.global&&(D+="g"),g.matchCase||(D+="i"),g.multiline&&(D+="m"),g.unicode&&(D+="u"),new RegExp(i,D)}e.createRegExp=o;function r(i){return i.source==="^"||i.source==="^$"||i.source==="$"||i.source==="^\\s*$"?!1:!!(i.exec("")&&i.lastIndex===0)}e.regExpLeadsToEndlessLoop=r;function s(i){return!!i.match(/([^\\]|^)(\\\\)*\\\d+/)}e.regExpContainsBackreference=s;function f(i){return(i.global?"g":"")+(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")}e.regExpFlags=f;function c(i){return i.split(/\r\n|\r|\n/)}e.splitLines=c;function a(i){for(let d=0,g=i.length;d<g;d++){const D=i.charCodeAt(d);if(D!==32&&D!==9)return d}return-1}e.firstNonWhitespaceIndex=a;function l(i,d=0,g=i.length){for(let D=d;D<g;D++){const M=i.charCodeAt(D);if(M!==32&&M!==9)return i.substring(d,D)}return i.substring(d,g)}e.getLeadingWhitespace=l;function t(i,d=i.length-1){for(let g=d;g>=0;g--){const D=i.charCodeAt(g);if(D!==32&&D!==9)return g}return-1}e.lastNonWhitespaceIndex=t;function n(i,d){return i<d?-1:i>d?1:0}e.compare=n;function u(i,d,g=0,D=i.length,M=0,K=d.length){for(;g<D&&M<K;g++,M++){let u1=i.charCodeAt(g),x=d.charCodeAt(M);if(u1<x)return-1;if(u1>x)return 1}const r1=D-g,g1=K-M;return r1<g1?-1:r1>g1?1:0}e.compareSubstring=u;function C(i,d){return h(i,d,0,i.length,0,d.length)}e.compareIgnoreCase=C;function h(i,d,g=0,D=i.length,M=0,K=d.length){for(;g<D&&M<K;g++,M++){let u1=i.charCodeAt(g),x=d.charCodeAt(M);if(u1===x)continue;if(u1>=128||x>=128)return u(i.toLowerCase(),d.toLowerCase(),g,D,M,K);A(u1)&&(u1-=32),A(x)&&(x-=32);const a1=u1-x;if(a1!==0)return a1}const r1=D-g,g1=K-M;return r1<g1?-1:r1>g1?1:0}e.compareSubstringIgnoreCase=h;function A(i){return i>=97&&i<=122}e.isLowerAsciiLetter=A;function B(i){return i>=65&&i<=90}e.isUpperAsciiLetter=B;function $(i,d){return i.length===d.length&&h(i,d)===0}e.equalsIgnoreCase=$;function e1(i,d){const g=d.length;return d.length>i.length?!1:h(i,d,0,g)===0}e.startsWithIgnoreCase=e1;function n1(i,d){let g,D=Math.min(i.length,d.length);for(g=0;g<D;g++)if(i.charCodeAt(g)!==d.charCodeAt(g))return g;return D}e.commonPrefixLength=n1;function t1(i,d){let g,D=Math.min(i.length,d.length);const M=i.length-1,K=d.length-1;for(g=0;g<D;g++)if(i.charCodeAt(M-g)!==d.charCodeAt(K-g))return g;return D}e.commonSuffixLength=t1;function l1(i){return 55296<=i&&i<=56319}e.isHighSurrogate=l1;function F(i){return 56320<=i&&i<=57343}e.isLowSurrogate=F;function G(i,d){return(i-55296<<10)+(d-56320)+65536}e.computeCodePoint=G;function Z(i,d,g){const D=i.charCodeAt(g);if(l1(D)&&g+1<d){const M=i.charCodeAt(g+1);if(F(M))return G(D,M)}return D}e.getNextCodePoint=Z;function o1(i,d){const g=i.charCodeAt(d-1);if(F(g)&&d>1){const D=i.charCodeAt(d-2);if(l1(D))return G(D,g)}return g}class i1{constructor(d,g=0){this._str=d,this._len=d.length,this._offset=g}get offset(){return this._offset}setOffset(d){this._offset=d}prevCodePoint(){const d=o1(this._str,this._offset);return this._offset-=d>=65536?2:1,d}nextCodePoint(){const d=Z(this._str,this._len,this._offset);return this._offset+=d>=65536?2:1,d}eol(){return this._offset>=this._len}}e.CodePointIterator=i1;class s1{constructor(d,g=0){this._iterator=new i1(d,g)}get offset(){return this._iterator.offset}nextGraphemeLength(){const d=d1.getInstance(),g=this._iterator,D=g.offset;let M=d.getGraphemeBreakType(g.nextCodePoint());for(;!g.eol();){const K=g.offset,r1=d.getGraphemeBreakType(g.nextCodePoint());if(L1(M,r1)){g.setOffset(K);break}M=r1}return g.offset-D}prevGraphemeLength(){const d=d1.getInstance(),g=this._iterator,D=g.offset;let M=d.getGraphemeBreakType(g.prevCodePoint());for(;g.offset>0;){const K=g.offset,r1=d.getGraphemeBreakType(g.prevCodePoint());if(L1(r1,M)){g.setOffset(K);break}M=r1}return D-g.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=s1;function m1(i,d){return new s1(i,d).nextGraphemeLength()}e.nextCharLength=m1;function W(i,d){return new s1(i,d).prevGraphemeLength()}e.prevCharLength=W;function I(i,d){d>0&&F(i.charCodeAt(d))&&d--;const g=d+m1(i,d);return[g-W(i,g),g]}e.getCharContainingOffset=I;const p=/(?:[\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 L(i){return p.test(i)}e.containsRTL=L;const k=/^[\t\n\r\x20-\x7E]*$/;function z(i){return k.test(i)}e.isBasicASCII=z,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function V(i){return e.UNUSUAL_LINE_TERMINATORS.test(i)}e.containsUnusualLineTerminators=V;function X(i){return i>=11904&&i<=55215||i>=63744&&i<=64255||i>=65281&&i<=65374}e.isFullWidthCharacter=X;function h1(i){return i>=127462&&i<=127487||i===8986||i===8987||i===9200||i===9203||i>=9728&&i<=10175||i===11088||i===11093||i>=127744&&i<=128591||i>=128640&&i<=128764||i>=128992&&i<=129008||i>=129280&&i<=129535||i>=129648&&i<=129782}e.isEmojiImprecise=h1;function w1(i,d){if(i.length<d)return i;const g=/\b/g;let D=0;for(;g.test(i)&&!(i.length-g.lastIndex<d);)D=g.lastIndex,g.lastIndex+=1;return i.substring(D).replace(/^\s/,"")}e.lcut=w1;const y1=/\x1B\x5B[12]?K/g,C1=/\x1b\[\d+m/g,b1=/\x1b\[0?m/g;function A1(i){return i&&(i=i.replace(y1,""),i=i.replace(C1,""),i=i.replace(b1,"")),i}e.removeAnsiEscapeCodes=A1,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function E1(i){return!!(i&&i.length>0&&i.charCodeAt(0)===65279)}e.startsWithUTF8BOM=E1;function S1(i){return E1(i)?i.substr(1):i}e.stripUTF8BOM=S1;function O1(i,d){if(!i||!d||i.length<d.length)return!1;const g=d.length,D=i.toLowerCase();let M=0,K=-1;for(;M<g;){const r1=D.indexOf(d[M],K+1);if(r1<0)return!1;K=r1,M++}return!0}e.fuzzyContains=O1;function P1(i,d=!1){return i?(d&&(i=i.replace(/\\./g,"")),i.toLowerCase()!==i):!1}e.containsUppercaseCharacter=P1;function F1(i){return i.charAt(0).toUpperCase()+i.slice(1)}e.uppercaseFirstLetter=F1;function N1(i,d=1){if(d===0)return"";let g=-1;do g=i.indexOf(`
`,g+1),d--;while(d>0&&g>=0);return g===-1?i:(i[g-1]==="\r"&&g--,i.substr(0,g))}e.getNLines=N1;function I1(i){const d=90-65+1;return i=i%(2*d),i<d?String.fromCharCode(97+i):String.fromCharCode(65+i-d)}e.singleLetterHash=I1;function R1(i){return d1.getInstance().getGraphemeBreakType(i)}e.getGraphemeBreakType=R1;function L1(i,d){return i===0?d!==5&&d!==7:i===2&&d===3?!1:i===4||i===2||i===3||d===4||d===2||d===3?!0:!(i===8&&(d===8||d===9||d===11||d===12)||(i===11||i===9)&&(d===9||d===10)||(i===12||i===10)&&d===10||d===5||d===13||d===7||i===1||i===13&&d===14||i===6&&d===6)}var k1;(function(i){i[i.Other=0]="Other",i[i.Prepend=1]="Prepend",i[i.CR=2]="CR",i[i.LF=3]="LF",i[i.Control=4]="Control",i[i.Extend=5]="Extend",i[i.Regional_Indicator=6]="Regional_Indicator",i[i.SpacingMark=7]="SpacingMark",i[i.L=8]="L",i[i.V=9]="V",i[i.T=10]="T",i[i.LV=11]="LV",i[i.LVT=12]="LVT",i[i.ZWJ=13]="ZWJ",i[i.Extended_Pictographic=14]="Extended_Pictographic"})(k1=e.GraphemeBreakType||(e.GraphemeBreakType={}));class d1{constructor(){this._data=M1()}static getInstance(){return d1._INSTANCE||(d1._INSTANCE=new d1),d1._INSTANCE}getGraphemeBreakType(d){if(d<32)return d===10?3:d===13?2:4;if(d<127)return 0;const g=this._data,D=g.length/3;let M=1;for(;M<=D;)if(d<g[3*M])M=2*M;else if(d>g[3*M+1])M=2*M+1;else return g[3*M+2];return 0}}d1._INSTANCE=null;function M1(){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 $1(i,d){if(i===0)return 0;const g=U1(i,d);if(g!==void 0)return g;const D=new i1(d,i);return D.prevCodePoint(),D.offset}e.getLeftDeleteOffset=$1;function U1(i,d){const g=new i1(d,i);let D=g.prevCodePoint();for(;T1(D)||D===65039||D===8419;){if(g.offset===0)return;D=g.prevCodePoint()}if(!h1(D))return;let M=g.offset;return M>0&&g.prevCodePoint()===8205&&(M=g.offset),M}function T1(i){return 127995<=i&&i<=127999}var D1;(function(i){i[i.zwj=8205]="zwj",i[i.emojiVariantSelector=65039]="emojiVariantSelector",i[i.enclosingKeyCap=8419]="enclosingKeyCap"})(D1||(D1={})),e.noBreakWhitespace="\xA0";class c1{constructor(d){this.confusableDictionary=d}static getInstance(d){return c1.cache.get(Array.from(d))}static getLocales(){return c1._locales.getValue()}isAmbiguous(d){return this.confusableDictionary.has(d)}getPrimaryConfusable(d){return this.confusableDictionary.get(d)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=c1,v=c1,c1.ambiguousCharacterData=new _.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],"_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]}')),c1.cache=new m.LRUCachedComputed(i=>{function d(x){const a1=new Map;for(let f1=0;f1<x.length;f1+=2)a1.set(x[f1],x[f1+1]);return a1}function g(x,a1){const f1=new Map(x);for(const[p1,_1]of a1)f1.set(p1,_1);return f1}function D(x,a1){if(!x)return a1;const f1=new Map;for(const[p1,_1]of x)a1.has(p1)&&f1.set(p1,_1);return f1}const M=v.ambiguousCharacterData.getValue();let K=i.filter(x=>!x.startsWith("_")&&x in M);K.length===0&&(K=["_default"]);let r1;for(const x of K){const a1=d(M[x]);r1=D(r1,a1)}const g1=d(M._common),u1=g(g1,r1);return new c1(u1)}),c1._locales=new _.Lazy(()=>Object.keys(c1.ambiguousCharacterData.getValue()).filter(i=>!i.startsWith("_")));class v1{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 getData(){return this._data||(this._data=new Set(v1.getRawData())),this._data}static isInvisibleCharacter(d){return v1.getData().has(d)}static get codePoints(){return v1.getData()}}e.InvisibleCharacters=v1,v1._data=void 0}),define(J[18],Y([0,1]),function(Q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertNever=e.withUndefinedAsNull=e.withNullAsUndefined=e.createProxyObject=e.getAllMethodNames=e.getAllPropertyNames=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.isObject=e.isStringArray=e.isString=e.isArray=void 0;function m(n){return Array.isArray(n)}e.isArray=m;function _(n){return typeof n=="string"}e.isString=_;function v(n){return Array.isArray(n)&&n.every(u=>_(u))}e.isStringArray=v;function y(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)&&!(n instanceof RegExp)&&!(n instanceof Date)}e.isObject=y;function P(n){return typeof n=="number"&&!isNaN(n)}e.isNumber=P;function E(n){return!!n&&typeof n[Symbol.iterator]=="function"}e.isIterable=E;function S(n){return n===!0||n===!1}e.isBoolean=S;function O(n){return typeof n=="undefined"}e.isUndefined=O;function U(n){return!H(n)}e.isDefined=U;function H(n){return O(n)||n===null}e.isUndefinedOrNull=H;function j(n,u){if(!n)throw new Error(u?`Unexpected type, expected '${u}'`:"Unexpected type")}e.assertType=j;function R(n){if(H(n))throw new Error("Assertion Failed: argument is undefined or null");return n}e.assertIsDefined=R;function w(...n){const u=[];for(let C=0;C<n.length;C++){const h=n[C];if(H(h))throw new Error(`Assertion Failed: argument at index ${C} is undefined or null`);u.push(h)}return u}e.assertAllDefined=w;const N=Object.prototype.hasOwnProperty;function b(n){if(!y(n))return!1;for(let u in n)if(N.call(n,u))return!1;return!0}e.isEmptyObject=b;function T(n){return typeof n=="function"}e.isFunction=T;function q(...n){return n.length>0&&n.every(T)}e.areFunctions=q;function o(n,u){const C=Math.min(n.length,u.length);for(let h=0;h<C;h++)r(n[h],u[h])}e.validateConstraints=o;function r(n,u){if(_(u)){if(typeof n!==u)throw new Error(`argument does not match constraint: typeof ${u}`)}else if(T(u)){try{if(n instanceof u)return}catch{}if(!H(n)&&n.constructor===u||u.length===1&&u.call(void 0,n)===!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=r;function s(n){let u=[],C=Object.getPrototypeOf(n);for(;Object.prototype!==C;)u=u.concat(Object.getOwnPropertyNames(C)),C=Object.getPrototypeOf(C);return u}e.getAllPropertyNames=s;function f(n){const u=[];for(const C of s(n))typeof n[C]=="function"&&u.push(C);return u}e.getAllMethodNames=f;function c(n,u){const C=A=>function(){const B=Array.prototype.slice.call(arguments,0);return u(A,B)};let h={};for(const A of n)h[A]=C(A);return h}e.createProxyObject=c;function a(n){return n===null?void 0:n}e.withNullAsUndefined=a;function l(n){return typeof n=="undefined"?null:n}e.withUndefinedAsNull=l;function t(n,u="Unreachable"){throw new Error(u)}e.assertNever=t}),define(J[6],Y([0,1,5,2,17,18]),function(Q,e,m,_,v,y){"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 P(t){return t===47||t===92}e.isPathSeparator=P;function E(t){return t.replace(/[\\/]/g,m.posix.sep)}e.toSlashes=E;function S(t){return t.indexOf("/")===-1&&(t=E(t)),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t),t}e.toPosixPath=S;function O(t,n=m.posix.sep){if(!t)return"";const u=t.length,C=t.charCodeAt(0);if(P(C)){if(P(t.charCodeAt(1))&&!P(t.charCodeAt(2))){let A=3;const B=A;for(;A<u&&!P(t.charCodeAt(A));A++);if(B!==A&&!P(t.charCodeAt(A+1))){for(A+=1;A<u;A++)if(P(t.charCodeAt(A)))return t.slice(0,A+1).replace(/[\\/]/g,n)}}return n}else if(T(C)&&t.charCodeAt(1)===58)return P(t.charCodeAt(2))?t.slice(0,2)+n:t.slice(0,2);let h=t.indexOf("://");if(h!==-1){for(h+=3;h<u;h++)if(P(t.charCodeAt(h)))return t.slice(0,h+1)}return""}e.getRoot=O;function U(t){if(!_.isWindows||!t||t.length<5)return!1;let n=t.charCodeAt(0);if(n!==92||(n=t.charCodeAt(1),n!==92))return!1;let u=2;const C=u;for(;u<t.length&&(n=t.charCodeAt(u),n!==92);u++);return!(C===u||(n=t.charCodeAt(u+1),isNaN(n)||n===92))}e.isUNC=U;const H=/[\\/:\*\?"<>\|]/g,j=/[\\/]/g,R=/^(con|prn|aux|clock\$|nul|lpt[0-9]|com[0-9])(\.(.*?))?$/i;function w(t,n=_.isWindows){const u=n?H:j;return!(!t||t.length===0||/^\s+$/.test(t)||(u.lastIndex=0,u.test(t))||n&&R.test(t)||t==="."||t===".."||n&&t[t.length-1]==="."||n&&t.length!==t.trim().length||t.length>255)}e.isValidBasename=w;function N(t,n,u){const C=t===n;return!u||C?C:!t||!n?!1:(0,v.equalsIgnoreCase)(t,n)}e.isEqual=N;function b(t,n,u,C=m.sep){if(t===n)return!0;if(!t||!n||n.length>t.length)return!1;if(u){if(!(0,v.startsWithIgnoreCase)(t,n))return!1;if(n.length===t.length)return!0;let A=n.length;return n.charAt(n.length-1)===C&&A--,t.charAt(A)===C}return n.charAt(n.length-1)!==C&&(n+=C),t.indexOf(n)===0}e.isEqualOrParent=b;function T(t){return t>=65&&t<=90||t>=97&&t<=122}e.isWindowsDriveLetter=T;function q(t,n){return _.isWindows&&t.endsWith(":")&&(t+=m.sep),(0,m.isAbsolute)(t)||(t=(0,m.join)(n,t)),t=(0,m.normalize)(t),_.isWindows?(t=(0,v.rtrim)(t,m.sep),t.endsWith(":")&&(t+=m.sep)):(t=(0,v.rtrim)(t,m.sep),t||(t=m.sep)),t}e.sanitizeFilePath=q;function o(t){const n=(0,m.normalize)(t);return _.isWindows?t.length>3?!1:r(n)&&(t.length===2||n.charCodeAt(2)===92):n===m.posix.sep}e.isRootOrDriveLetter=o;function r(t,n){return(n!==void 0?n:_.isWindows)?T(t.charCodeAt(0))&&t.charCodeAt(1)===58:!1}e.hasDriveLetter=r;function s(t){return r(t)?t[0]:void 0}e.getDriveLetter=s;function f(t,n,u){return n.length>t.length?-1:t===n?0:(u&&(t=t.toLowerCase(),n=n.toLowerCase()),t.indexOf(n))}e.indexOfPath=f;function c(t){const n=t.split(":");let u,C,h;for(const A of n){const B=Number(A);(0,y.isNumber)(B)?C===void 0?C=B:h===void 0&&(h=B):u=u?[u,A].join(":"):A}if(!u)throw new Error("Format for `--goto` should be: `FILE:LINE(:COLUMN)`");return{path:u,line:C!==void 0?C:void 0,column:h!==void 0?h:C!==void 0?1:void 0}}e.parseLineAndColumnAware=c;const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function l(t,n,u=8){let C="";for(let A=0;A<u;A++)C+=a.charAt(Math.floor(Math.random()*a.length));let h;return n?h=`${n}-${C}`:h=C,t?(0,m.join)(t,h):h}e.randomPath=l}),define(J[19],Y([0,1,20,2]),function(Q,e,m,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveTerminalEncoding=void 0;const v={"437":"cp437","850":"cp850","852":"cp852","855":"cp855","857":"cp857","860":"cp860","861":"cp861","863":"cp863","865":"cp865","866":"cp866","869":"cp869","936":"cp936","1252":"cp1252"};function y(O){const U=O.replace(/[^a-zA-Z0-9]/g,"").toLowerCase();return P[U]||U}const P={ibm866:"cp866",big5:"cp950"},E="utf8";async function S(O){let U;const H=process.env.VSCODE_CLI_ENCODING;H?(O&&console.log(`Found VSCODE_CLI_ENCODING variable: ${H}`),U=Promise.resolve(H)):_.isWindows?U=new Promise(R=>{O&&console.log('Running "chcp" to detect terminal encoding...'),(0,m.exec)("chcp",(w,N,b)=>{if(N){O&&console.log(`Output from "chcp" command is: ${N}`);const T=Object.keys(v);for(const q of T)if(N.indexOf(q)>=0)return R(v[q])}return R(void 0)})}):U=new Promise(R=>{O&&console.log('Running "locale charmap" to detect terminal encoding...'),(0,m.exec)("locale charmap",(w,N,b)=>R(N))});const j=await U;return O&&console.log(`Detected raw terminal encoding: ${j}`),!j||j.toLowerCase()==="utf-8"||j.toLowerCase()===E?E:y(j)}e.resolveTerminalEncoding=S}),define(J[21],Y([26,27]),function(Q,e){return Q.create("vs/platform/environment/node/argv",e)}),define(J[22],Y([0,1,28,2,21]),function(Q,e,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildVersionMessage=e.buildHelpMessage=e.formatOptions=e.parseArgs=e.OPTIONS=void 0;const y={o:(0,v.localize)(0,null),e:(0,v.localize)(1,null),t:(0,v.localize)(2,null)};e.OPTIONS={diff:{type:"boolean",cat:"o",alias:"d",args:["file","file"],description:(0,v.localize)(3,null)},add:{type:"boolean",cat:"o",alias:"a",args:"folder",description:(0,v.localize)(4,null)},goto:{type:"boolean",cat:"o",alias:"g",args:"file:line[:character]",description:(0,v.localize)(5,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:(0,v.localize)(6,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:(0,v.localize)(7,null)},wait:{type:"boolean",cat:"o",alias:"w",description:(0,v.localize)(8,null)},waitMarkerFilePath:{type:"string"},locale:{type:"string",cat:"o",args:"locale",description:(0,v.localize)(9,null)},"user-data-dir":{type:"string",cat:"o",args:"dir",description:(0,v.localize)(10,null)},help:{type:"boolean",cat:"o",alias:"h",description:(0,v.localize)(11,null)},"extensions-dir":{type:"string",deprecates:["extensionHomePath"],cat:"e",args:"dir",description:(0,v.localize)(12,null)},"extensions-download-dir":{type:"string"},"builtin-extensions-dir":{type:"string"},"list-extensions":{type:"boolean",cat:"e",description:(0,v.localize)(13,null)},"show-versions":{type:"boolean",cat:"e",description:(0,v.localize)(14,null)},category:{type:"string",cat:"e",description:(0,v.localize)(15,null),args:"category"},"install-extension":{type:"string[]",cat:"e",args:"ext-id | path",description:(0,v.localize)(16,null)},"pre-release":{type:"boolean",cat:"e",description:(0,v.localize)(17,null)},"uninstall-extension":{type:"string[]",cat:"e",args:"ext-id",description:(0,v.localize)(18,null)},"enable-proposed-api":{type:"string[]",cat:"e",args:"ext-id",description:(0,v.localize)(19,null)},version:{type:"boolean",cat:"t",alias:"v",description:(0,v.localize)(20,null)},verbose:{type:"boolean",cat:"t",description:(0,v.localize)(21,null)},log:{type:"string",cat:"t",args:"level",description:(0,v.localize)(22,null)},status:{type:"boolean",alias:"s",cat:"t",description:(0,v.localize)(23,null)},"prof-startup":{type:"boolean",cat:"t",description:(0,v.localize)(24,null)},"prof-append-timers":{type:"string"},"no-cached-data":{type:"boolean"},"prof-startup-prefix":{type:"string"},"prof-v8-extensions":{type:"boolean"},"disable-extensions":{type:"boolean",deprecates:["disableExtensions"],cat:"t",description:(0,v.localize)(25,null)},"disable-extension":{type:"string[]",cat:"t",args:"ext-id",description:(0,v.localize)(26,null)},sync:{type:"string",cat:"t",description:(0,v.localize)(27,null),args:["on | off"]},"inspect-extensions":{type:"string",deprecates:["debugPluginHost"],args:"port",cat:"t",description:(0,v.localize)(28,null)},"inspect-brk-extensions":{type:"string",deprecates:["debugBrkPluginHost"],args:"port",cat:"t",description:(0,v.localize)(29,null)},"disable-gpu":{type:"boolean",cat:"t",description:(0,v.localize)(30,null)},"ms-enable-electron-run-as-node":{type:"boolean"},"max-memory":{type:"string",cat:"t",description:(0,v.localize)(31,null),args:"memory"},telemetry:{type:"boolean",cat:"t",description:(0,v.localize)(32,null)},remote:{type:"string"},"folder-uri":{type:"string[]",cat:"o",args:"uri"},"file-uri":{type:"string[]",cat:"o",args:"uri"},"locate-extension":{type:"string[]"},extensionDevelopmentPath:{type:"string[]"},extensionDevelopmentKind:{type:"string[]"},extensionTestsPath:{type:"string"},extensionEnvironment:{type:"string"},debugId:{type:"string"},debugRenderer:{type:"boolean"},"inspect-ptyhost":{type:"string"},"inspect-brk-ptyhost":{type:"string"},"inspect-search":{type:"string",deprecates:["debugSearch"]},"inspect-brk-search":{type:"string",deprecates:["debugBrkSearch"]},"export-default-configuration":{type:"string"},"install-source":{type:"string"},driver:{type:"string"},logExtensionHostCommunication:{type:"boolean"},"skip-release-notes":{type:"boolean"},"skip-welcome":{type:"boolean"},"disable-telemetry":{type:"boolean"},"disable-updates":{type:"boolean"},"disable-keytar":{type:"boolean"},"disable-workspace-trust":{type:"boolean"},"disable-crash-reporter":{type:"boolean"},"crash-reporter-directory":{type:"string"},"crash-reporter-id":{type:"string"},"skip-add-to-recently-opened":{type:"boolean"},"unity-launch":{type:"boolean"},"open-url":{type:"boolean"},"file-write":{type:"boolean"},"file-chmod":{type:"boolean"},"driver-verbose":{type:"boolean"},"install-builtin-extension":{type:"string[]"},force:{type:"boolean"},"do-not-sync":{type:"boolean"},trace:{type:"boolean"},"trace-category-filter":{type:"string"},"trace-options":{type:"string"},"force-user-env":{type:"boolean"},"force-disable-user-env":{type:"boolean"},"open-devtools":{type:"boolean"},__sandbox:{type:"boolean"},logsPath:{type:"string"},"no-proxy-server":{type:"boolean"},"no-sandbox":{type:"boolean",alias:"sandbox"},"proxy-server":{type:"string"},"proxy-bypass-list":{type:"string"},"proxy-pac-url":{type:"string"},"js-flags":{type:"string"},inspect:{type:"string"},"inspect-brk":{type:"string"},nolazy:{type:"boolean"},"force-device-scale-factor":{type:"string"},"force-renderer-accessibility":{type:"boolean"},"ignore-certificate-errors":{type:"boolean"},"allow-insecure-localhost":{type:"boolean"},"log-net-log":{type:"string"},vmodule:{type:"string"},_urls:{type:"string[]"},"disable-dev-shm-usage":{type:"boolean"},_:{type:"string[]"}};const P={onUnknownOption:()=>{},onMultipleValues:()=>{},onDeprecatedOption:()=>{}};function E(w,N,b=P){const T={},q=[],o=[];for(let c in N){const a=N[c];a.alias&&(T[c]=a.alias),a.type==="string"||a.type==="string[]"?(q.push(c),a.deprecates&&q.push(...a.deprecates)):a.type==="boolean"&&(o.push(c),a.deprecates&&o.push(...a.deprecates))}const r=m(w,{string:q,boolean:o,alias:T}),s={},f=r;s._=r._.map(c=>String(c)).filter(c=>c.length>0),delete f._;for(let c in N){const a=N[c];a.alias&&delete f[a.alias];let l=f[c];if(a.deprecates)for(const t of a.deprecates)f.hasOwnProperty(t)&&(l||(l=f[t],l&&b.onDeprecatedOption(t,a.deprecationMessage||(0,v.localize)(33,null))),delete f[t]);typeof l!="undefined"&&(a.type==="string[]"?l&&!Array.isArray(l)&&(l=[l]):a.type==="string"&&Array.isArray(l)&&(l=l.pop(),b.onMultipleValues(c,l)),s[c]=l,a.deprecationMessage&&b.onDeprecatedOption(c,a.deprecationMessage)),delete f[c]}for(let c in f)b.onUnknownOption(c);return s}e.parseArgs=E;function S(w,N){let b="";return N.args&&(Array.isArray(N.args)?b=` <${N.args.join("> <")}>`:b=` <${N.args}>`),N.alias?`-${N.alias} --${w}${b}`:`--${w}${b}`}function O(w,N){let b=0,T=[];for(const s in w){const f=w[s],c=S(s,f);b=Math.max(b,c.length),T.push([c,f.description])}let q=b+2+1;if(N-q<25)return T.reduce((s,f)=>s.concat([` ${f[0]}`,` ${f[1]}`]),[]);let o=N-q-1,r=[];for(const s of T){let f=s[0],c=H(s[1],o),a=U(q-f.length-2);r.push(" "+f+a+c[0]);for(let l=1;l<c.length;l++)r.push(U(q)+c[l])}return r}e.formatOptions=O;function U(w){return" ".repeat(w)}function H(w,N){let b=[];for(;w.length;){let T=w.length<N?w.length:w.lastIndexOf(" ",N),q=w.slice(0,T).trim();w=w.slice(T),b.push(q)}return b}function j(w,N,b,T,q){const o=process.stdout.isTTY&&process.stdout.columns||80,r=q?.noInputFiles!==!0?`[${(0,v.localize)(34,null)}...]`:"",s=[`${w} ${b}`];s.push(""),s.push(`${(0,v.localize)(35,null)}: ${N} [${(0,v.localize)(36,null)}]${r}`),s.push(""),q?.noPipe!==!0&&(_.isWindows?s.push((0,v.localize)(37,null,N)):s.push((0,v.localize)(38,null,N)),s.push(""));const f={};for(const c in T){const a=T[c];if(a.description&&a.cat){let l=f[a.cat];l||(f[a.cat]=l={}),l[c]=a}}for(let c in f){const a=c;let l=f[a];l&&(s.push(y[a]),s.push(...O(l,o)),s.push(""))}return s.join(`
`)}e.buildHelpMessage=j;function R(w,N){return`${w||(0,v.localize)(39,null)}
${N||(0,v.localize)(40,null)}
${process.arch}`}e.buildVersionMessage=R}),define(J[23],Y([0,1,7,24,6,19]),function(Q,e,m,_,v,y){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readFromStdin=e.getStdinFilePath=e.stdinDataListener=e.hasStdinWithoutTty=void 0;function P(){try{return!process.stdin.isTTY}catch{}return!1}e.hasStdinWithoutTty=P;function E(U){return new Promise(H=>{const j=()=>H(!0);setTimeout(()=>{process.stdin.removeListener("data",j),H(!1)},U),process.stdin.once("data",j)})}e.stdinDataListener=E;function S(){return(0,v.randomPath)((0,_.tmpdir)(),"code-stdin",3)}e.getStdinFilePath=S;async function O(U,H){const j=(0,m.createWriteStream)(U);let R=await(0,y.resolveTerminalEncoding)(H);const w=await new Promise((b,T)=>{Q(["@vscode/iconv-lite-umd"],b,T)});w.encodingExists(R)||(console.log(`Unsupported terminal encoding: ${R}, falling back to UTF-8.`),R="utf8");const N=w.getDecoder(R);process.stdin.on("data",b=>j.write(N.write(b))),process.stdin.on("end",()=>{const b=N.end();typeof b=="string"&&j.write(b),j.end()}),process.stdin.on("error",b=>j.destroy(b)),process.stdin.on("close",()=>j.close())}e.readFromStdin=O}),define(J[25],Y([0,1,7,24,6]),function(Q,e,m,_,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWaitMarkerFile=void 0;function y(P){const E=(0,v.randomPath)((0,_.tmpdir)());try{return(0,m.writeFileSync)(E,""),P&&console.log(`Marker file for --wait created: ${E}`),E}catch(S){P&&console.error(`Failed to create marker file for --wait: ${S}`);return}}e.createWaitMarkerFile=y}),define(J[29],Y([0,1,7,30,20,31,4,5,22,25,23]),function(Q,e,m,_,v,y,P,E,S,O,U){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.main=void 0;const H=$=>{switch($){case"user-data-dir":case"extensions-dir":case"export-default-configuration":case"install-source":case"driver":case"extensions-download-dir":case"builtin-extensions-dir":case"telemetry":return!1;default:return!0}},j=$=>{switch($){case"version":case"help":case"folder-uri":case"file-uri":case"add":case"diff":case"wait":case"goto":case"reuse-window":case"new-window":case"status":case"install-extension":case"uninstall-extension":case"list-extensions":case"force":case"show-versions":case"category":case"verbose":case"remote":return!0;default:return!1}},R=process.env.VSCODE_IPC_HOOK_CLI,w=process.env.VSCODE_CLIENT_COMMAND,N=process.env.VSCODE_CLIENT_COMMAND_CWD,b=process.env.VSCODE_CLI_AUTHORITY,T=process.env.VSCODE_STDIN_FILE_PATH;function q($,e1){if(!R&&!w){console.log("Command is only available in WSL or inside a Visual Studio Code terminal.");return}const n1={...S.OPTIONS},t1=w?H:j;for(const p in S.OPTIONS){const L=p;t1(L)||delete n1[L]}R&&(n1.openExternal={type:"boolean"});const l1={onMultipleValues:(p,L)=>{console.error(`Option ${p} can only be defined once. Using value ${L}.`)},onUnknownOption:p=>{console.error(`Ignoring option ${p}: not supported for ${$.executableName}.`)},onDeprecatedOption:(p,L)=>{console.warn(`Option '${p}' is deprecated: ${L}`)}},F=(0,S.parseArgs)(e1,n1,l1),G=b?n:p=>p,Z=!!F.verbose;if(F.help){console.log((0,S.buildHelpMessage)($.productName,$.executableName,$.version,n1));return}if(F.version){console.log((0,S.buildVersionMessage)($.version,$.commit));return}if(R&&F.openExternal){r(F._,Z);return}let o1=F.remote;(o1==="local"||o1==="false"||o1==="")&&(o1=null);const i1=(F["folder-uri"]||[]).map(G);F["folder-uri"]=i1;const s1=(F["file-uri"]||[]).map(G);F["file-uri"]=s1;const m1=F._;let W=!1;for(let p of m1)p==="-"?W=!0:t(p,G,i1,s1);if(F._=[],W&&s1.length===0&&i1.length===0&&(0,U.hasStdinWithoutTty)())try{let p=T;p||(p=(0,U.getStdinFilePath)(),(0,U.readFromStdin)(p,Z)),t(p,G,i1,s1),F.wait=!0,F["skip-add-to-recently-opened"]=!0,console.log(`Reading from stdin via: ${p}`)}catch(p){console.log(`Failed to create file to read via stdin: ${p.toString()}`)}F.extensionDevelopmentPath&&(F.extensionDevelopmentPath=F.extensionDevelopmentPath.map(p=>G(l(p).href))),F.extensionTestsPath&&(F.extensionTestsPath=G(l(F.extensionTestsPath).href));const I=F["crash-reporter-directory"];if(I!==void 0&&!I.match(/^([a-zA-Z]:[\\\/])/)){console.log(`The crash reporter directory '${I}' must be an absolute Windows path (e.g. c:/crashes)`);return}if(w){if(F["install-extension"]!==void 0||F["uninstall-extension"]!==void 0||F["list-extensions"]){const k=[];F["install-extension"]?.forEach(V=>k.push("--install-extension",V)),F["uninstall-extension"]?.forEach(V=>k.push("--uninstall-extension",V)),["list-extensions","force","show-versions","category"].forEach(V=>{const X=F[V];X!==void 0&&k.push(`--${V}=${X}`)}),v.fork((0,E.join)(__dirname,"../../../server-main.js"),k,{stdio:"inherit"}).on("error",V=>console.log(V));return}let p=[];for(let k in F){let z=F[k];if(typeof z=="boolean")z&&p.push("--"+k);else if(Array.isArray(z))for(let V of z)p.push(`--${k}=${V.toString()}`);else z&&p.push(`--${k}=${z.toString()}`)}o1!==null&&p.push(`--remote=${o1||b}`);const L=(0,E.extname)(w);if(L===".bat"||L===".cmd"){const k=N||(0,P.cwd)();Z&&console.log(`Invoking: cmd.exe /C ${w} ${p.join(" ")} in ${k}`),v.spawn("cmd.exe",["/C",w,...p],{stdio:"inherit",cwd:k})}else{const k=(0,E.dirname)(w),z={...process.env,ELECTRON_RUN_AS_NODE:"1"};p.unshift("--ms-enable-electron-run-as-node"),p.unshift("resources/app/out/cli.js"),Z&&console.log(`Invoking: cd "${k}" && ELECTRON_RUN_AS_NODE=1 "${w}" "${p.join('" "')}"`),v.spawn(w,p,{cwd:k,env:z,stdio:["inherit"]})}}else{if(F.status){s({type:"status"},Z).then(L=>{console.log(L)}).catch(L=>{console.error("Error when requesting status:",L)});return}if(F["install-extension"]!==void 0||F["uninstall-extension"]!==void 0||F["list-extensions"]){s({type:"extensionManagement",list:F["list-extensions"]?{showVersions:F["show-versions"],category:F.category}:void 0,install:f(F["install-extension"]),uninstall:f(F["uninstall-extension"]),force:F.force},Z).then(L=>{console.log(L)}).catch(L=>{console.error("Error when invoking the extension management command:",L)});return}let p;if(F.wait){if(!s1.length){console.log("At least one file must be provided to wait for.");return}p=(0,O.createWaitMarkerFile)(Z)}s({type:"open",fileURIs:s1,folderURIs:i1,diffMode:F.diff,addMode:F.add,gotoLineMode:F.goto,forceReuseWindow:F["reuse-window"],forceNewWindow:F["new-window"],waitMarkerFilePath:p,remoteAuthority:o1},Z).catch(L=>{console.error("Error when invoking the open command:",L)}),p&&o(p)}}e.main=q;async function o($){for(;m.existsSync($);)await new Promise(e1=>setTimeout(e1,1e3))}function r($,e1){let n1=[];for(let t1 of $)try{/^(http|https|file):\/\//.test(t1)?n1.push(_.parse(t1).href):n1.push(l(t1).href)}catch{console.log(`Invalid url: ${t1}`)}n1.length&&s({type:"openExternal",uris:n1},e1).catch(t1=>{console.error("Error when invoking the open external command:",t1)})}function s($,e1){return e1&&console.log(JSON.stringify($,null," ")),new Promise((n1,t1)=>{const l1=JSON.stringify($);if(!R){console.log("Message "+l1),n1("");return}const F={socketPath:R,path:"/",method:"POST",headers:{"content-type":"application/json",accept:"application/json"}},G=y.request(F,Z=>{if(Z.headers["content-type"]!=="application/json"){t1("Error in response: Invalid content type: Expected 'application/json', is: "+Z.headers["content-type"]);return}const o1=[];Z.setEncoding("utf8"),Z.on("data",i1=>{o1.push(i1)}),Z.on("error",i1=>c("Error in response.",i1)),Z.on("end",()=>{const i1=o1.join("");try{const s1=JSON.parse(i1);Z.statusCode===200?n1(s1):t1(s1)}catch{t1("Error in response: Unable to parse response as JSON: "+i1)}})});G.on("error",Z=>c("Error in request.",Z)),G.write(l1),G.end()})}function f($){return $?.map(e1=>/\.vsix$/i.test(e1)?l(e1).href:e1)}function c($,e1){console.error("Unable to connect to VS Code server: "+$),console.error(e1),process.exit(1)}const a=process.env.PWD||(0,P.cwd)();function l($){return $=$.trim(),$=(0,E.resolve)(a,$),_.pathToFileURL($)}function t($,e1,n1,t1){let l1=l($),F=e1(l1.href);try{let G=m.lstatSync(m.realpathSync($));G.isFile()?t1.push(F):G.isDirectory()?n1.push(F):$==="/dev/null"&&t1.push(F)}catch(G){G.code==="ENOENT"?t1.push(F):console.log(`Problem accessing file ${$}. Ignoring file`,G)}}function n($){return $.replace(/^file:\/\//,"vscode-remote://"+b)}let[,,u,C,h,A,...B]=process.argv;q({productName:u,version:C,commit:h,executableName:A},B)})}).call(this);
//# sourceMappingURL=server.cli.js.map