var k5=Object.defineProperty;var R5=(P_,km,e_)=>km in P_?k5(P_,km,{enumerable:!0,configurable:!0,writable:!0,value:e_}):P_[km]=e_;var Fv=(P_,km,e_)=>(R5(P_,typeof km!="symbol"?km+"":km,e_),e_);(function(){"use strict";class P_{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(n){setTimeout(()=>{throw n.stack?Rg.isErrorNoTelemetry(n)?new Rg(n.message+` `+n.stack):new Error(n.message+` `+n.stack):n},0)}}emit(n){this.listeners.forEach(c=>{c(n)})}onUnexpectedError(n){this.unexpectedErrorHandler(n),this.emit(n)}onUnexpectedExternalError(n){this.unexpectedErrorHandler(n)}}const km=new P_;function e_(e){iN(e)||km.onUnexpectedError(e)}function XT(e){if(e instanceof Error){const{name:n,message:c}=e,f=e.stacktrace||e.stack;return{$isError:!0,name:n,message:c,stack:f,noTelemetry:Rg.isErrorNoTelemetry(e)}}return e}const oE="Canceled";function iN(e){return e instanceof oN?!0:e instanceof Error&&e.name===oE&&e.message===oE}class oN extends Error{constructor(){super(oE),this.name=this.message}}class Rg extends Error{constructor(n){super(n),this.name="CodeExpectedError"}static fromError(n){if(n instanceof Rg)return n;const c=new Rg;return c.message=n.message,c.stack=n.stack,c}static isErrorNoTelemetry(n){return n.name==="CodeExpectedError"}}class sE extends Error{constructor(n){super(n||"An unexpected bug occurred."),Object.setPrototypeOf(this,sE.prototype);debugger}}function sN(e){const n=this;let c=!1,f;return function(){return c||(c=!0,f=e.apply(n,arguments)),f}}var ey;(function(e){function n(B){return B&&typeof B=="object"&&typeof B[Symbol.iterator]=="function"}e.is=n;const c=Object.freeze([]);function f(){return c}e.empty=f;function*a(B){yield B}e.single=a;function p(B){return n(B)?B:a(B)}e.wrap=p;function x(B){return B||c}e.from=x;function V(B){return!B||B[Symbol.iterator]().next().done===!0}e.isEmpty=V;function g(B){return B[Symbol.iterator]().next().value}e.first=g;function m(B,N){for(const w of B)if(N(w))return!0;return!1}e.some=m;function A(B,N){for(const w of B)if(N(w))return w}e.find=A;function*K(B,N){for(const w of B)N(w)&&(yield w)}e.filter=K;function*ae(B,N){let w=0;for(const O of B)yield N(O,w++)}e.map=ae;function*y(...B){for(const N of B)for(const w of N)yield w}e.concat=y;function k(B,N,w){let O=w;for(const U of B)O=N(O,U);return O}e.reduce=k;function*S(B,N,w=B.length){for(N<0&&(N+=B.length),w<0?w+=B.length:w>B.length&&(w=B.length);N1)throw new AggregateError(n,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function lN(...e){return ry(()=>YT(e))}function ry(e){return{dispose:sN(()=>{e()})}}class F_{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{YT(this._toDispose)}finally{this._toDispose.clear()}}add(n){if(!n)return n;if(n===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?F_.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}}F_.DISABLE_DISPOSED_WARNING=!1;class ty{constructor(){this._store=new F_,this._store}dispose(){this._store.dispose()}_register(n){if(n===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(n)}}ty.None=Object.freeze({dispose(){}});class cN{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(n){let c=n;return this.unset=()=>c=void 0,this.isset=()=>c!==void 0,this.dispose=()=>{c&&(c(),c=void 0)},this}}class ol{constructor(n){this.element=n,this.next=ol.Undefined,this.prev=ol.Undefined}}ol.Undefined=new ol(void 0);class ny{constructor(){this._first=ol.Undefined,this._last=ol.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ol.Undefined}clear(){let n=this._first;for(;n!==ol.Undefined;){const c=n.next;n.prev=ol.Undefined,n.next=ol.Undefined,n=c}this._first=ol.Undefined,this._last=ol.Undefined,this._size=0}unshift(n){return this._insert(n,!1)}push(n){return this._insert(n,!0)}_insert(n,c){const f=new ol(n);if(this._first===ol.Undefined)this._first=f,this._last=f;else if(c){const p=this._last;this._last=f,f.prev=p,p.next=f}else{const p=this._first;this._first=f,f.next=p,p.prev=f}this._size+=1;let a=!1;return()=>{a||(a=!0,this._remove(f))}}shift(){if(this._first!==ol.Undefined){const n=this._first.element;return this._remove(this._first),n}}pop(){if(this._last!==ol.Undefined){const n=this._last.element;return this._remove(this._last),n}}_remove(n){if(n.prev!==ol.Undefined&&n.next!==ol.Undefined){const c=n.prev;c.next=n.next,n.next.prev=c}else n.prev===ol.Undefined&&n.next===ol.Undefined?(this._first=ol.Undefined,this._last=ol.Undefined):n.next===ol.Undefined?(this._last=this._last.prev,this._last.next=ol.Undefined):n.prev===ol.Undefined&&(this._first=this._first.next,this._first.prev=ol.Undefined);this._size-=1}*[Symbol.iterator](){let n=this._first;for(;n!==ol.Undefined;)yield n.element,n=n.next}}let uN=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function fN(e,n){let c;return n.length===0?c=e:c=e.replace(/\{(\d+)\}/g,(f,a)=>{const p=a[0],x=n[p];let V=f;return typeof x=="string"?V=x:(typeof x=="number"||typeof x=="boolean"||x===void 0||x===null)&&(V=String(x)),V}),uN&&(c="["+c.replace(/[aouei]/g,"$&$&")+"]"),c}function dN(e,n,...c){return fN(n,c)}function M5(e){}var lE;const Gv="en";let cE=!1,uE=!1,fE=!1,QT=!1,ay,dE=Gv,pN,Ep;const lu=typeof self=="object"?self:typeof global=="object"?global:{};let cu;typeof lu.vscode<"u"&&typeof lu.vscode.process<"u"?cu=lu.vscode.process:typeof process<"u"&&(cu=process);const mN=typeof((lE=cu==null?void 0:cu.versions)===null||lE===void 0?void 0:lE.electron)=="string"&&(cu==null?void 0:cu.type)==="renderer";if(typeof navigator=="object"&&!mN)Ep=navigator.userAgent,cE=Ep.indexOf("Windows")>=0,uE=Ep.indexOf("Macintosh")>=0,(Ep.indexOf("Macintosh")>=0||Ep.indexOf("iPad")>=0||Ep.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,fE=Ep.indexOf("Linux")>=0,(Ep==null?void 0:Ep.indexOf("Mobi"))>=0,QT=!0,dN({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),ay=Gv,dE=ay;else if(typeof cu=="object"){cE=cu.platform==="win32",uE=cu.platform==="darwin",fE=cu.platform==="linux",fE&&cu.env.SNAP&&cu.env.SNAP_REVISION,cu.env.CI||cu.env.BUILD_ARTIFACTSTAGINGDIRECTORY,ay=Gv,dE=Gv;const e=cu.env.VSCODE_NLS_CONFIG;if(e)try{const n=JSON.parse(e),c=n.availableLanguages["*"];ay=n.locale,dE=c||Gv,pN=n._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const Bv=cE,_N=uE;QT&&lu.importScripts;const Yp=Ep,gN=typeof lu.postMessage=="function"&&!lu.importScripts;(()=>{if(gN){const e=[];lu.addEventListener("message",c=>{if(c.data&&c.data.vscodeScheduleAsyncWork)for(let f=0,a=e.length;f{const f=++n;e.push({id:f,callback:c}),lu.postMessage({vscodeScheduleAsyncWork:f},"*")}}return e=>setTimeout(e)})();const vN=!!(Yp&&Yp.indexOf("Chrome")>=0);Yp&&Yp.indexOf("Firefox")>=0,!vN&&Yp&&Yp.indexOf("Safari")>=0,Yp&&Yp.indexOf("Edg/")>=0,Yp&&Yp.indexOf("Android")>=0;const hN=lu.performance&&typeof lu.performance.now=="function";class iy{static create(n=!0){return new iy(n)}constructor(n){this._highResolution=hN&&n,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?lu.performance.now():Date.now()}}var pE;(function(e){e.None=()=>ty.None;function n(ne,M){return A(ne,()=>{},0,void 0,!0,void 0,M)}e.defer=n;function c(ne){return(M,X=null,G)=>{let Z=!1,E;return E=ne(I=>{if(!Z)return E?E.dispose():Z=!0,M.call(X,I)},null,G),Z&&E.dispose(),E}}e.once=c;function f(ne,M,X){return m((G,Z=null,E)=>ne(I=>G.call(Z,M(I)),null,E),X)}e.map=f;function a(ne,M,X){return m((G,Z=null,E)=>ne(I=>{M(I),G.call(Z,I)},null,E),X)}e.forEach=a;function p(ne,M,X){return m((G,Z=null,E)=>ne(I=>M(I)&&G.call(Z,I),null,E),X)}e.filter=p;function x(ne){return ne}e.signal=x;function V(...ne){return(M,X=null,G)=>lN(...ne.map(Z=>Z(E=>M.call(X,E),null,G)))}e.any=V;function g(ne,M,X,G){let Z=X;return f(ne,E=>(Z=M(Z,E),Z),G)}e.reduce=g;function m(ne,M){let X;const G={onWillAddFirstListener(){X=ne(Z.fire,Z)},onDidRemoveLastListener(){X==null||X.dispose()}},Z=new Qp(G);return M==null||M.add(Z),Z.event}function A(ne,M,X=100,G=!1,Z=!1,E,I){let b,D,C,_=0,d;const h={leakWarningThreshold:E,onWillAddFirstListener(){b=ne(te=>{_++,D=M(D,te),G&&!C&&(P.fire(D),D=void 0),d=()=>{const ce=D;D=void 0,C=void 0,(!G||_>1)&&P.fire(ce),_=0},typeof X=="number"?(clearTimeout(C),C=setTimeout(d,X)):C===void 0&&(C=0,queueMicrotask(d))})},onWillRemoveListener(){Z&&_>0&&(d==null||d())},onDidRemoveLastListener(){d=void 0,b.dispose()}},P=new Qp(h);return I==null||I.add(P),P.event}e.debounce=A;function K(ne,M=0,X){return e.debounce(ne,(G,Z)=>G?(G.push(Z),G):[Z],M,void 0,!0,void 0,X)}e.accumulate=K;function ae(ne,M=(G,Z)=>G===Z,X){let G=!0,Z;return p(ne,E=>{const I=G||!M(E,Z);return G=!1,Z=E,I},X)}e.latch=ae;function y(ne,M,X){return[e.filter(ne,M,X),e.filter(ne,G=>!M(G),X)]}e.split=y;function k(ne,M=!1,X=[]){let G=X.slice(),Z=ne(b=>{G?G.push(b):I.fire(b)});const E=()=>{G==null||G.forEach(b=>I.fire(b)),G=null},I=new Qp({onWillAddFirstListener(){Z||(Z=ne(b=>I.fire(b)))},onDidAddFirstListener(){G&&(M?setTimeout(E):E())},onDidRemoveLastListener(){Z&&Z.dispose(),Z=null}});return I.event}e.buffer=k;class S{constructor(M){this.event=M,this.disposables=new F_}map(M){return new S(f(this.event,M,this.disposables))}forEach(M){return new S(a(this.event,M,this.disposables))}filter(M){return new S(p(this.event,M,this.disposables))}reduce(M,X){return new S(g(this.event,M,X,this.disposables))}latch(){return new S(ae(this.event,void 0,this.disposables))}debounce(M,X=100,G=!1,Z=!1,E){return new S(A(this.event,M,X,G,Z,E,this.disposables))}on(M,X,G){return this.event(M,X,G)}once(M,X,G){return c(this.event)(M,X,G)}dispose(){this.disposables.dispose()}}function F(ne){return new S(ne)}e.chain=F;function B(ne,M,X=G=>G){const G=(...b)=>I.fire(X(...b)),Z=()=>ne.on(M,G),E=()=>ne.removeListener(M,G),I=new Qp({onWillAddFirstListener:Z,onDidRemoveLastListener:E});return I.event}e.fromNodeEventEmitter=B;function N(ne,M,X=G=>G){const G=(...b)=>I.fire(X(...b)),Z=()=>ne.addEventListener(M,G),E=()=>ne.removeEventListener(M,G),I=new Qp({onWillAddFirstListener:Z,onDidRemoveLastListener:E});return I.event}e.fromDOMEventEmitter=N;function w(ne){return new Promise(M=>c(ne)(M))}e.toPromise=w;function O(ne,M){return M(void 0),ne(X=>M(X))}e.runAndSubscribe=O;function U(ne,M){let X=null;function G(E){X==null||X.dispose(),X=new F_,M(E,X)}G(void 0);const Z=ne(E=>G(E));return ry(()=>{Z.dispose(),X==null||X.dispose()})}e.runAndSubscribeWithStore=U;class Q{constructor(M,X){this.obs=M,this._counter=0,this._hasChanged=!1;const G={onWillAddFirstListener:()=>{M.addObserver(this)},onDidRemoveLastListener:()=>{M.removeObserver(this)}};this.emitter=new Qp(G),X&&X.add(this.emitter)}beginUpdate(M){this._counter++}handleChange(M,X){this._hasChanged=!0}endUpdate(M){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function ee(ne,M){return new Q(ne,M).emitter.event}e.fromObservable=ee})(pE||(pE={}));class Og{constructor(n){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${n}_${Og._idPool++}`,Og.all.add(this)}start(n){this._stopWatch=new iy(!0),this.listenerCount=n}stop(){if(this._stopWatch){const n=this._stopWatch.elapsed();this.durations.push(n),this.elapsedOverall+=n,this.invocationCount+=1,this._stopWatch=void 0}}}Og.all=new Set,Og._idPool=0;let yN=-1;class bN{constructor(n,c=Math.random().toString(18).slice(2,5)){this.threshold=n,this.name=c,this._warnCountdown=0}dispose(){var n;(n=this._stacks)===null||n===void 0||n.clear()}check(n,c){const f=this.threshold;if(f<=0||c{const p=this._stacks.get(n.value)||0;this._stacks.set(n.value,p-1)}}}class mE{static create(){var n;return new mE((n=new Error().stack)!==null&&n!==void 0?n:"")}constructor(n){this.value=n}print(){console.warn(this.value.split(` `).slice(2).join(` `))}}class EN{constructor(n,c,f){this.callback=n,this.callbackThis=c,this.stack=f,this.subscription=new cN}invoke(n){this.callback.call(this.callbackThis,n)}}class Qp{constructor(n){var c,f,a,p,x;this._disposed=!1,this._options=n,this._leakageMon=!((c=this._options)===null||c===void 0)&&c.leakWarningThreshold?new bN((a=(f=this._options)===null||f===void 0?void 0:f.leakWarningThreshold)!==null&&a!==void 0?a:yN):void 0,this._perfMon=!((p=this._options)===null||p===void 0)&&p._profName?new Og(this._options._profName):void 0,this._deliveryQueue=(x=this._options)===null||x===void 0?void 0:x.deliveryQueue}dispose(){var n,c,f,a;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(n=this._deliveryQueue)===null||n===void 0||n.clear(this),(f=(c=this._options)===null||c===void 0?void 0:c.onDidRemoveLastListener)===null||f===void 0||f.call(c),(a=this._leakageMon)===null||a===void 0||a.dispose())}get event(){return this._event||(this._event=(n,c,f)=>{var a,p,x;if(this._listeners||(this._listeners=new ny),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),ty.None;const V=this._listeners.isEmpty();V&&(!((a=this._options)===null||a===void 0)&&a.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let g,m;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(m=mE.create(),g=this._leakageMon.check(m,this._listeners.size+1));const A=new EN(n,c,m),K=this._listeners.push(A);V&&(!((p=this._options)===null||p===void 0)&&p.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((x=this._options)===null||x===void 0)&&x.onDidAddListener&&this._options.onDidAddListener(this,n,c);const ae=A.subscription.set(()=>{var y,k;g==null||g(),this._disposed||((k=(y=this._options)===null||y===void 0?void 0:y.onWillRemoveListener)===null||k===void 0||k.call(y,this),K(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return f instanceof F_?f.add(ae):Array.isArray(f)&&f.push(ae),ae}),this._event}fire(n){var c,f;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new SN);for(const a of this._listeners)this._deliveryQueue.push(this,a,n);(c=this._perfMon)===null||c===void 0||c.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(f=this._perfMon)===null||f===void 0||f.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}class TN{constructor(){this._queue=new ny}get size(){return this._queue.size}push(n,c,f){this._queue.push(new DN(n,c,f))}clear(n){const c=new ny;for(const f of this._queue)f.emitter!==n&&c.push(f);this._queue=c}deliver(){for(;this._queue.size>0;){const n=this._queue.shift();try{n.listener.invoke(n.event)}catch(c){e_(c)}}}}class SN extends TN{clear(n){this._queue.clear()}}class DN{constructor(n,c,f){this.emitter=n,this.listener=c,this.event=f}}function LN(e){return typeof e=="string"}function AN(e){let n=[],c=Object.getPrototypeOf(e);for(;Object.prototype!==c;)n=n.concat(Object.getOwnPropertyNames(c)),c=Object.getPrototypeOf(c);return n}function _E(e){const n=[];for(const c of AN(e))typeof e[c]=="function"&&n.push(c);return n}function CN(e,n){const c=a=>function(){const p=Array.prototype.slice.call(arguments,0);return n(a,p)},f={};for(const a of e)f[a]=c(a);return f}class xN{constructor(n){this.fn=n,this.lastCache=void 0,this.lastArgKey=void 0}get(n){const c=JSON.stringify(n);return this.lastArgKey!==c&&(this.lastArgKey=c,this.lastCache=this.fn(n)),this.lastCache}}class ZT{constructor(n){this.executor=n,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(n){this._error=n}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var $T;function IN(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function NN(e){return e.split(/\r\n|\r|\n/)}function kN(e){for(let n=0,c=e.length;n=0;c--){const f=e.charCodeAt(c);if(f!==32&&f!==9)return c}return-1}function eS(e){return e>=65&&e<=90}function gE(e){return 55296<=e&&e<=56319}function ON(e){return 56320<=e&&e<=57343}function wN(e,n){return(e-55296<<10)+(n-56320)+65536}function MN(e,n,c){const f=e.charCodeAt(c);if(gE(f)&&c+1JSON.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]}')),Rd.cache=new xN(e=>{function n(m){const A=new Map;for(let K=0;K!m.startsWith("_")&&m in a);p.length===0&&(p=["_default"]);let x;for(const m of p){const A=n(a[m]);x=f(x,A)}const V=n(a._common),g=c(V,x);return new Rd(g)}),Rd._locales=new ZT(()=>Object.keys(Rd.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class r_{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(r_.getRawData())),this._data}static isInvisibleCharacter(n){return r_.getData().has(n)}static get codePoints(){return r_.getData()}}r_._data=void 0;const GN="$initialize";class BN{constructor(n,c,f,a){this.vsWorker=n,this.req=c,this.method=f,this.args=a,this.type=0}}class rS{constructor(n,c,f,a){this.vsWorker=n,this.seq=c,this.res=f,this.err=a,this.type=1}}class UN{constructor(n,c,f,a){this.vsWorker=n,this.req=c,this.eventName=f,this.arg=a,this.type=2}}class VN{constructor(n,c,f){this.vsWorker=n,this.req=c,this.event=f,this.type=3}}class WN{constructor(n,c){this.vsWorker=n,this.req=c,this.type=4}}class jN{constructor(n){this._workerId=-1,this._handler=n,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(n){this._workerId=n}sendMessage(n,c){const f=String(++this._lastSentReq);return new Promise((a,p)=>{this._pendingReplies[f]={resolve:a,reject:p},this._send(new BN(this._workerId,f,n,c))})}listen(n,c){let f=null;const a=new Qp({onWillAddFirstListener:()=>{f=String(++this._lastSentReq),this._pendingEmitters.set(f,a),this._send(new UN(this._workerId,f,n,c))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(f),this._send(new WN(this._workerId,f)),f=null}});return a.event}handleMessage(n){!n||!n.vsWorker||this._workerId!==-1&&n.vsWorker!==this._workerId||this._handleMessage(n)}_handleMessage(n){switch(n.type){case 1:return this._handleReplyMessage(n);case 0:return this._handleRequestMessage(n);case 2:return this._handleSubscribeEventMessage(n);case 3:return this._handleEventMessage(n);case 4:return this._handleUnsubscribeEventMessage(n)}}_handleReplyMessage(n){if(!this._pendingReplies[n.seq]){console.warn("Got reply to unknown seq");return}const c=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let f=n.err;n.err.$isError&&(f=new Error,f.name=n.err.name,f.message=n.err.message,f.stack=n.err.stack),c.reject(f);return}c.resolve(n.res)}_handleRequestMessage(n){const c=n.req;this._handler.handleMessage(n.method,n.args).then(a=>{this._send(new rS(this._workerId,c,a,void 0))},a=>{a.detail instanceof Error&&(a.detail=XT(a.detail)),this._send(new rS(this._workerId,c,void 0,XT(a)))})}_handleSubscribeEventMessage(n){const c=n.req,f=this._handler.handleEvent(n.eventName,n.arg)(a=>{this._send(new VN(this._workerId,c,a))});this._pendingEvents.set(c,f)}_handleEventMessage(n){if(!this._pendingEmitters.has(n.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(n.req).fire(n.event)}_handleUnsubscribeEventMessage(n){if(!this._pendingEvents.has(n.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(n.req).dispose(),this._pendingEvents.delete(n.req)}_send(n){const c=[];if(n.type===0)for(let f=0;ffunction(){const V=Array.prototype.slice.call(arguments,0);return n(x,V)},a=x=>function(V){return c(x,V)},p={};for(const x of e){if(nS(x)){p[x]=a(x);continue}if(tS(x)){p[x]=c(x,void 0);continue}p[x]=f(x)}return p}class JN{constructor(n,c){this._requestHandlerFactory=c,this._requestHandler=null,this._protocol=new jN({sendMessage:(f,a)=>{n(f,a)},handleMessage:(f,a)=>this._handleMessage(f,a),handleEvent:(f,a)=>this._handleEvent(f,a)})}onmessage(n){this._protocol.handleMessage(n)}_handleMessage(n,c){if(n===GN)return this.initialize(c[0],c[1],c[2],c[3]);if(!this._requestHandler||typeof this._requestHandler[n]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+n));try{return Promise.resolve(this._requestHandler[n].apply(this._requestHandler,c))}catch(f){return Promise.reject(f)}}_handleEvent(n,c){if(!this._requestHandler)throw new Error("Missing requestHandler");if(nS(n)){const f=this._requestHandler[n].call(this._requestHandler,c);if(typeof f!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return f}if(tS(n)){const f=this._requestHandler[n];if(typeof f!="function")throw new Error(`Missing event ${n} on request handler.`);return f}throw new Error(`Malformed event name ${n}`)}initialize(n,c,f,a){this._protocol.setWorkerId(n);const V=HN(a,(g,m)=>this._protocol.sendMessage(g,m),(g,m)=>this._protocol.listen(g,m));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(V),Promise.resolve(_E(this._requestHandler))):(c&&(typeof c.baseUrl<"u"&&delete c.baseUrl,typeof c.paths<"u"&&typeof c.paths.vs<"u"&&delete c.paths.vs,typeof c.trustedTypesPolicy!==void 0&&delete c.trustedTypesPolicy,c.catchError=!0,lu.require.config(c)),new Promise((g,m)=>{const A=lu.require;A([f],K=>{if(this._requestHandler=K.create(V),!this._requestHandler){m(new Error("No RequestHandler!"));return}g(_E(this._requestHandler))},m)}))}}class t_{constructor(n,c,f,a){this.originalStart=n,this.originalLength=c,this.modifiedStart=f,this.modifiedLength=a}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function aS(e,n){return(n<<5)-n+e|0}function KN(e,n){n=aS(149417,n);for(let c=0,f=e.length;c0||this.m_modifiedCount>0)&&this.m_changes.push(new t_(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(n,c){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,c),this.m_originalCount++}AddModifiedElement(n,c){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,c),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class n_{constructor(n,c,f=null){this.ContinueProcessingPredicate=f,this._originalSequence=n,this._modifiedSequence=c;const[a,p,x]=n_._getElements(n),[V,g,m]=n_._getElements(c);this._hasStrings=x&&m,this._originalStringElements=a,this._originalElementsOrHash=p,this._modifiedStringElements=V,this._modifiedElementsOrHash=g,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(n){return n.length>0&&typeof n[0]=="string"}static _getElements(n){const c=n.getElements();if(n_._isStringArray(c)){const f=new Int32Array(c.length);for(let a=0,p=c.length;a=n&&a>=f&&this.ElementsAreEqual(c,a);)c--,a--;if(n>c||f>a){let K;return f<=a?(wg.Assert(n===c+1,"originalStart should only be one more than originalEnd"),K=[new t_(n,0,f,a-f+1)]):n<=c?(wg.Assert(f===a+1,"modifiedStart should only be one more than modifiedEnd"),K=[new t_(n,c-n+1,f,0)]):(wg.Assert(n===c+1,"originalStart should only be one more than originalEnd"),wg.Assert(f===a+1,"modifiedStart should only be one more than modifiedEnd"),K=[]),K}const x=[0],V=[0],g=this.ComputeRecursionPoint(n,c,f,a,x,V,p),m=x[0],A=V[0];if(g!==null)return g;if(!p[0]){const K=this.ComputeDiffRecursive(n,m,f,A,p);let ae=[];return p[0]?ae=[new t_(m+1,c-(m+1)+1,A+1,a-(A+1)+1)]:ae=this.ComputeDiffRecursive(m+1,c,A+1,a,p),this.ConcatenateChanges(K,ae)}return[new t_(n,c-n+1,f,a-f+1)]}WALKTRACE(n,c,f,a,p,x,V,g,m,A,K,ae,y,k,S,F,B,N){let w=null,O=null,U=new oS,Q=c,ee=f,ne=y[0]-F[0]-a,M=-1073741824,X=this.m_forwardHistory.length-1;do{const G=ne+n;G===Q||G=0&&(m=this.m_forwardHistory[X],n=m[0],Q=1,ee=m.length-1)}while(--X>=-1);if(w=U.getReverseChanges(),N[0]){let G=y[0]+1,Z=F[0]+1;if(w!==null&&w.length>0){const E=w[w.length-1];G=Math.max(G,E.getOriginalEnd()),Z=Math.max(Z,E.getModifiedEnd())}O=[new t_(G,ae-G+1,Z,S-Z+1)]}else{U=new oS,Q=x,ee=V,ne=y[0]-F[0]-g,M=1073741824,X=B?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const G=ne+p;G===Q||G=A[G+1]?(K=A[G+1]-1,k=K-ne-g,K>M&&U.MarkNextChange(),M=K+1,U.AddOriginalElement(K+1,k+1),ne=G+1-p):(K=A[G-1],k=K-ne-g,K>M&&U.MarkNextChange(),M=K,U.AddModifiedElement(K+1,k+1),ne=G-1-p),X>=0&&(A=this.m_reverseHistory[X],p=A[0],Q=1,ee=A.length-1)}while(--X>=-1);O=U.getChanges()}return this.ConcatenateChanges(w,O)}ComputeRecursionPoint(n,c,f,a,p,x,V){let g=0,m=0,A=0,K=0,ae=0,y=0;n--,f--,p[0]=0,x[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const k=c-n+(a-f),S=k+1,F=new Int32Array(S),B=new Int32Array(S),N=a-f,w=c-n,O=n-f,U=c-a,ee=(w-N)%2===0;F[N]=n,B[w]=c,V[0]=!1;for(let ne=1;ne<=k/2+1;ne++){let M=0,X=0;A=this.ClipDiagonalBound(N-ne,ne,N,S),K=this.ClipDiagonalBound(N+ne,ne,N,S);for(let Z=A;Z<=K;Z+=2){Z===A||ZM+X&&(M=g,X=m),!ee&&Math.abs(Z-w)<=ne-1&&g>=B[Z])return p[0]=g,x[0]=m,E<=B[Z]&&1447>0&&ne<=1447+1?this.WALKTRACE(N,A,K,O,w,ae,y,U,F,B,g,c,p,m,a,x,ee,V):null}const G=(M-n+(X-f)-ne)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(M,G))return V[0]=!0,p[0]=M,x[0]=X,G>0&&1447>0&&ne<=1447+1?this.WALKTRACE(N,A,K,O,w,ae,y,U,F,B,g,c,p,m,a,x,ee,V):(n++,f++,[new t_(n,c-n+1,f,a-f+1)]);ae=this.ClipDiagonalBound(w-ne,ne,w,S),y=this.ClipDiagonalBound(w+ne,ne,w,S);for(let Z=ae;Z<=y;Z+=2){Z===ae||Z=B[Z+1]?g=B[Z+1]-1:g=B[Z-1],m=g-(Z-w)-U;const E=g;for(;g>n&&m>f&&this.ElementsAreEqual(g,m);)g--,m--;if(B[Z]=g,ee&&Math.abs(Z-N)<=ne&&g<=F[Z])return p[0]=g,x[0]=m,E>=F[Z]&&1447>0&&ne<=1447+1?this.WALKTRACE(N,A,K,O,w,ae,y,U,F,B,g,c,p,m,a,x,ee,V):null}if(ne<=1447){let Z=new Int32Array(K-A+2);Z[0]=N-A+1,Mg.Copy2(F,A,Z,1,K-A+1),this.m_forwardHistory.push(Z),Z=new Int32Array(y-ae+2),Z[0]=w-ae+1,Mg.Copy2(B,ae,Z,1,y-ae+1),this.m_reverseHistory.push(Z)}}return this.WALKTRACE(N,A,K,O,w,ae,y,U,F,B,g,c,p,m,a,x,ee,V)}PrettifyChanges(n){for(let c=0;c0,V=f.modifiedLength>0;for(;f.originalStart+f.originalLength=0;c--){const f=n[c];let a=0,p=0;if(c>0){const K=n[c-1];a=K.originalStart+K.originalLength,p=K.modifiedStart+K.modifiedLength}const x=f.originalLength>0,V=f.modifiedLength>0;let g=0,m=this._boundaryScore(f.originalStart,f.originalLength,f.modifiedStart,f.modifiedLength);for(let K=1;;K++){const ae=f.originalStart-K,y=f.modifiedStart-K;if(aem&&(m=S,g=K)}f.originalStart-=g,f.modifiedStart-=g;const A=[null];if(c>0&&this.ChangesOverlap(n[c-1],n[c],A)){n[c-1]=A[0],n.splice(c,1),c++;continue}}if(this._hasStrings)for(let c=1,f=n.length;c0&&y>g&&(g=y,m=K,A=ae)}return g>0?[m,A]:null}_contiguousSequenceScore(n,c,f){let a=0;for(let p=0;p=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[n])}_OriginalRegionIsBoundary(n,c){if(this._OriginalIsBoundary(n)||this._OriginalIsBoundary(n-1))return!0;if(c>0){const f=n+c;if(this._OriginalIsBoundary(f-1)||this._OriginalIsBoundary(f))return!0}return!1}_ModifiedIsBoundary(n){return n<=0||n>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[n])}_ModifiedRegionIsBoundary(n,c){if(this._ModifiedIsBoundary(n)||this._ModifiedIsBoundary(n-1))return!0;if(c>0){const f=n+c;if(this._ModifiedIsBoundary(f-1)||this._ModifiedIsBoundary(f))return!0}return!1}_boundaryScore(n,c,f,a){const p=this._OriginalRegionIsBoundary(n,c)?1:0,x=this._ModifiedRegionIsBoundary(f,a)?1:0;return p+x}ConcatenateChanges(n,c){const f=[];if(n.length===0||c.length===0)return c.length>0?c:n;if(this.ChangesOverlap(n[n.length-1],c[0],f)){const a=new Array(n.length+c.length-1);return Mg.Copy(n,0,a,0,n.length-1),a[n.length-1]=f[0],Mg.Copy(c,1,a,n.length,c.length-1),a}else{const a=new Array(n.length+c.length);return Mg.Copy(n,0,a,0,n.length),Mg.Copy(c,0,a,n.length,c.length),a}}ChangesOverlap(n,c,f){if(wg.Assert(n.originalStart<=c.originalStart,"Left change is not less than or equal to right change"),wg.Assert(n.modifiedStart<=c.modifiedStart,"Left change is not less than or equal to right change"),n.originalStart+n.originalLength>=c.originalStart||n.modifiedStart+n.modifiedLength>=c.modifiedStart){const a=n.originalStart;let p=n.originalLength;const x=n.modifiedStart;let V=n.modifiedLength;return n.originalStart+n.originalLength>=c.originalStart&&(p=c.originalStart+c.originalLength-n.originalStart),n.modifiedStart+n.modifiedLength>=c.modifiedStart&&(V=c.modifiedStart+c.modifiedLength-n.modifiedStart),f[0]=new t_(a,p,x,V),!0}else return f[0]=null,!1}ClipDiagonalBound(n,c,f,a){if(n>=0&&n=YN&&e<=ZN||e>=QN&&e<=$N}function sy(e,n,c,f){let a="",p=0,x=-1,V=0,g=0;for(let m=0;m<=e.length;++m){if(m2){const A=a.lastIndexOf(c);A===-1?(a="",p=0):(a=a.slice(0,A),p=a.length-1-a.lastIndexOf(c)),x=m,V=0;continue}else if(a.length!==0){a="",p=0,x=m,V=0;continue}}n&&(a+=a.length>0?`${c}..`:"..",p=2)}else a.length>0?a+=`${c}${e.slice(x+1,m)}`:a=e.slice(x+1,m),p=m-x-1;x=m,V=0}else g===a_&&V!==-1?++V:V=-1}return a}function lS(e,n){rk(n,"pathObject");const c=n.dir||n.root,f=n.base||`${n.name||""}${n.ext||""}`;return c?c===n.root?`${c}${f}`:`${c}${e}${f}`:f}const Qu={resolve(...e){let n="",c="",f=!1;for(let a=e.length-1;a>=-1;a--){let p;if(a>=0){if(p=e[a],zl(p,"path"),p.length===0)continue}else n.length===0?p=oy():(p=qN[`=${n}`]||oy(),(p===void 0||p.slice(0,2).toLowerCase()!==n.toLowerCase()&&p.charCodeAt(2)===_f)&&(p=`${n}\\`));const x=p.length;let V=0,g="",m=!1;const A=p.charCodeAt(0);if(x===1)$o(A)&&(V=1,m=!0);else if($o(A))if(m=!0,$o(p.charCodeAt(1))){let K=2,ae=K;for(;K2&&$o(p.charCodeAt(2))&&(m=!0,V=3));if(g.length>0)if(n.length>0){if(g.toLowerCase()!==n.toLowerCase())continue}else n=g;if(f){if(n.length>0)break}else if(c=`${p.slice(V)}\\${c}`,f=m,m&&n.length>0)break}return c=sy(c,!f,"\\",$o),f?`${n}\\${c}`:`${n}${c}`||"."},normalize(e){zl(e,"path");const n=e.length;if(n===0)return".";let c=0,f,a=!1;const p=e.charCodeAt(0);if(n===1)return vE(p)?"\\":e;if($o(p))if(a=!0,$o(e.charCodeAt(1))){let V=2,g=V;for(;V2&&$o(e.charCodeAt(2))&&(a=!0,c=3));let x=c0&&$o(e.charCodeAt(n-1))&&(x+="\\"),f===void 0?a?`\\${x}`:x:a?`${f}\\${x}`:`${f}${x}`},isAbsolute(e){zl(e,"path");const n=e.length;if(n===0)return!1;const c=e.charCodeAt(0);return $o(c)||n>2&&s_(c)&&e.charCodeAt(1)===i_&&$o(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let n,c;for(let p=0;p0&&(n===void 0?n=c=x:n+=`\\${x}`)}if(n===void 0)return".";let f=!0,a=0;if(typeof c=="string"&&$o(c.charCodeAt(0))){++a;const p=c.length;p>1&&$o(c.charCodeAt(1))&&(++a,p>2&&($o(c.charCodeAt(2))?++a:f=!1))}if(f){for(;a=2&&(n=`\\${n.slice(a)}`)}return Qu.normalize(n)},relative(e,n){if(zl(e,"from"),zl(n,"to"),e===n)return"";const c=Qu.resolve(e),f=Qu.resolve(n);if(c===f||(e=c.toLowerCase(),n=f.toLowerCase(),e===n))return"";let a=0;for(;aa&&e.charCodeAt(p-1)===_f;)p--;const x=p-a;let V=0;for(;VV&&n.charCodeAt(g-1)===_f;)g--;const m=g-V,A=xA){if(n.charCodeAt(V+ae)===_f)return f.slice(V+ae+1);if(ae===2)return f.slice(V+ae)}x>A&&(e.charCodeAt(a+ae)===_f?K=ae:ae===2&&(K=3)),K===-1&&(K=0)}let y="";for(ae=a+K+1;ae<=p;++ae)(ae===p||e.charCodeAt(ae)===_f)&&(y+=y.length===0?"..":"\\..");return V+=K,y.length>0?`${y}${f.slice(V,g)}`:(f.charCodeAt(V)===_f&&++V,f.slice(V,g))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const n=Qu.resolve(e);if(n.length<=2)return e;if(n.charCodeAt(0)===_f){if(n.charCodeAt(1)===_f){const c=n.charCodeAt(2);if(c!==ek&&c!==a_)return`\\\\?\\UNC\\${n.slice(2)}`}}else if(s_(n.charCodeAt(0))&&n.charCodeAt(1)===i_&&n.charCodeAt(2)===_f)return`\\\\?\\${n}`;return e},dirname(e){zl(e,"path");const n=e.length;if(n===0)return".";let c=-1,f=0;const a=e.charCodeAt(0);if(n===1)return $o(a)?e:".";if($o(a)){if(c=f=1,$o(e.charCodeAt(1))){let V=2,g=V;for(;V2&&$o(e.charCodeAt(2))?3:2,f=c);let p=-1,x=!0;for(let V=n-1;V>=f;--V)if($o(e.charCodeAt(V))){if(!x){p=V;break}}else x=!1;if(p===-1){if(c===-1)return".";p=c}return e.slice(0,p)},basename(e,n){n!==void 0&&zl(n,"ext"),zl(e,"path");let c=0,f=-1,a=!0,p;if(e.length>=2&&s_(e.charCodeAt(0))&&e.charCodeAt(1)===i_&&(c=2),n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return"";let x=n.length-1,V=-1;for(p=e.length-1;p>=c;--p){const g=e.charCodeAt(p);if($o(g)){if(!a){c=p+1;break}}else V===-1&&(a=!1,V=p+1),x>=0&&(g===n.charCodeAt(x)?--x===-1&&(f=p):(x=-1,f=V))}return c===f?f=V:f===-1&&(f=e.length),e.slice(c,f)}for(p=e.length-1;p>=c;--p)if($o(e.charCodeAt(p))){if(!a){c=p+1;break}}else f===-1&&(a=!1,f=p+1);return f===-1?"":e.slice(c,f)},extname(e){zl(e,"path");let n=0,c=-1,f=0,a=-1,p=!0,x=0;e.length>=2&&e.charCodeAt(1)===i_&&s_(e.charCodeAt(0))&&(n=f=2);for(let V=e.length-1;V>=n;--V){const g=e.charCodeAt(V);if($o(g)){if(!p){f=V+1;break}continue}a===-1&&(p=!1,a=V+1),g===a_?c===-1?c=V:x!==1&&(x=1):c!==-1&&(x=-1)}return c===-1||a===-1||x===0||x===1&&c===a-1&&c===f+1?"":e.slice(c,a)},format:lS.bind(null,"\\"),parse(e){zl(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;const c=e.length;let f=0,a=e.charCodeAt(0);if(c===1)return $o(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if($o(a)){if(f=1,$o(e.charCodeAt(1))){let K=2,ae=K;for(;K0&&(n.root=e.slice(0,f));let p=-1,x=f,V=-1,g=!0,m=e.length-1,A=0;for(;m>=f;--m){if(a=e.charCodeAt(m),$o(a)){if(!g){x=m+1;break}continue}V===-1&&(g=!1,V=m+1),a===a_?p===-1?p=m:A!==1&&(A=1):p!==-1&&(A=-1)}return V!==-1&&(p===-1||A===0||A===1&&p===V-1&&p===x+1?n.base=n.name=e.slice(x,V):(n.name=e.slice(x,p),n.base=e.slice(x,V),n.ext=e.slice(p,V))),x>0&&x!==f?n.dir=e.slice(0,x-1):n.dir=n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},tk=(()=>{if(o_){const e=/\\/g;return()=>{const n=oy().replace(e,"/");return n.slice(n.indexOf("/"))}}return()=>oy()})(),gf={resolve(...e){let n="",c=!1;for(let f=e.length-1;f>=-1&&!c;f--){const a=f>=0?e[f]:tk();zl(a,"path"),a.length!==0&&(n=`${a}/${n}`,c=a.charCodeAt(0)===jc)}return n=sy(n,!c,"/",vE),c?`/${n}`:n.length>0?n:"."},normalize(e){if(zl(e,"path"),e.length===0)return".";const n=e.charCodeAt(0)===jc,c=e.charCodeAt(e.length-1)===jc;return e=sy(e,!n,"/",vE),e.length===0?n?"/":c?"./":".":(c&&(e+="/"),n?`/${e}`:e)},isAbsolute(e){return zl(e,"path"),e.length>0&&e.charCodeAt(0)===jc},join(...e){if(e.length===0)return".";let n;for(let c=0;c0&&(n===void 0?n=f:n+=`/${f}`)}return n===void 0?".":gf.normalize(n)},relative(e,n){if(zl(e,"from"),zl(n,"to"),e===n||(e=gf.resolve(e),n=gf.resolve(n),e===n))return"";const c=1,f=e.length,a=f-c,p=1,x=n.length-p,V=aV){if(n.charCodeAt(p+m)===jc)return n.slice(p+m+1);if(m===0)return n.slice(p+m)}else a>V&&(e.charCodeAt(c+m)===jc?g=m:m===0&&(g=0));let A="";for(m=c+g+1;m<=f;++m)(m===f||e.charCodeAt(m)===jc)&&(A+=A.length===0?"..":"/..");return`${A}${n.slice(p+g)}`},toNamespacedPath(e){return e},dirname(e){if(zl(e,"path"),e.length===0)return".";const n=e.charCodeAt(0)===jc;let c=-1,f=!0;for(let a=e.length-1;a>=1;--a)if(e.charCodeAt(a)===jc){if(!f){c=a;break}}else f=!1;return c===-1?n?"/":".":n&&c===1?"//":e.slice(0,c)},basename(e,n){n!==void 0&&zl(n,"ext"),zl(e,"path");let c=0,f=-1,a=!0,p;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return"";let x=n.length-1,V=-1;for(p=e.length-1;p>=0;--p){const g=e.charCodeAt(p);if(g===jc){if(!a){c=p+1;break}}else V===-1&&(a=!1,V=p+1),x>=0&&(g===n.charCodeAt(x)?--x===-1&&(f=p):(x=-1,f=V))}return c===f?f=V:f===-1&&(f=e.length),e.slice(c,f)}for(p=e.length-1;p>=0;--p)if(e.charCodeAt(p)===jc){if(!a){c=p+1;break}}else f===-1&&(a=!1,f=p+1);return f===-1?"":e.slice(c,f)},extname(e){zl(e,"path");let n=-1,c=0,f=-1,a=!0,p=0;for(let x=e.length-1;x>=0;--x){const V=e.charCodeAt(x);if(V===jc){if(!a){c=x+1;break}continue}f===-1&&(a=!1,f=x+1),V===a_?n===-1?n=x:p!==1&&(p=1):n!==-1&&(p=-1)}return n===-1||f===-1||p===0||p===1&&n===f-1&&n===c+1?"":e.slice(n,f)},format:lS.bind(null,"/"),parse(e){zl(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;const c=e.charCodeAt(0)===jc;let f;c?(n.root="/",f=1):f=0;let a=-1,p=0,x=-1,V=!0,g=e.length-1,m=0;for(;g>=f;--g){const A=e.charCodeAt(g);if(A===jc){if(!V){p=g+1;break}continue}x===-1&&(V=!1,x=g+1),A===a_?a===-1?a=g:m!==1&&(m=1):a!==-1&&(m=-1)}if(x!==-1){const A=p===0&&c?1:p;a===-1||m===0||m===1&&a===x-1&&a===p+1?n.base=n.name=e.slice(A,x):(n.name=e.slice(A,a),n.base=e.slice(A,x),n.ext=e.slice(a,x))}return p>0?n.dir=e.slice(0,p-1):c&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};gf.win32=Qu.win32=Qu,gf.posix=Qu.posix=gf,o_?Qu.normalize:gf.normalize,o_?Qu.resolve:gf.resolve,o_?Qu.relative:gf.relative,o_?Qu.dirname:gf.dirname,o_?Qu.basename:gf.basename,o_?Qu.extname:gf.extname,o_?Qu.sep:gf.sep;const nk=/^\w[\w\d+.-]*$/,ak=/^\//,ik=/^\/\//;function cS(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!nk.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!ak.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(ik.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function ok(e,n){return!e&&!n?"file":e}function sk(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==Tp&&(n=Tp+n):n=Tp;break}return n}const pl="",Tp="/",lk=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class G_{static isUri(n){return n instanceof G_?!0:n?typeof n.authority=="string"&&typeof n.fragment=="string"&&typeof n.path=="string"&&typeof n.query=="string"&&typeof n.scheme=="string"&&typeof n.fsPath=="string"&&typeof n.with=="function"&&typeof n.toString=="function":!1}constructor(n,c,f,a,p,x=!1){typeof n=="object"?(this.scheme=n.scheme||pl,this.authority=n.authority||pl,this.path=n.path||pl,this.query=n.query||pl,this.fragment=n.fragment||pl):(this.scheme=ok(n,x),this.authority=c||pl,this.path=sk(this.scheme,f||pl),this.query=a||pl,this.fragment=p||pl,cS(this,x))}get fsPath(){return hE(this,!1)}with(n){if(!n)return this;let{scheme:c,authority:f,path:a,query:p,fragment:x}=n;return c===void 0?c=this.scheme:c===null&&(c=pl),f===void 0?f=this.authority:f===null&&(f=pl),a===void 0?a=this.path:a===null&&(a=pl),p===void 0?p=this.query:p===null&&(p=pl),x===void 0?x=this.fragment:x===null&&(x=pl),c===this.scheme&&f===this.authority&&a===this.path&&p===this.query&&x===this.fragment?this:new Fg(c,f,a,p,x)}static parse(n,c=!1){const f=lk.exec(n);return f?new Fg(f[2]||pl,ly(f[4]||pl),ly(f[5]||pl),ly(f[7]||pl),ly(f[9]||pl),c):new Fg(pl,pl,pl,pl,pl)}static file(n){let c=pl;if(Bv&&(n=n.replace(/\\/g,Tp)),n[0]===Tp&&n[1]===Tp){const f=n.indexOf(Tp,2);f===-1?(c=n.substring(2),n=Tp):(c=n.substring(2,f),n=n.substring(f)||Tp)}return new Fg("file",c,n,pl,pl)}static from(n){const c=new Fg(n.scheme,n.authority,n.path,n.query,n.fragment);return cS(c,!0),c}static joinPath(n,...c){if(!n.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let f;return Bv&&n.scheme==="file"?f=G_.file(Qu.join(hE(n,!0),...c)).path:f=gf.join(n.path,...c),n.with({path:f})}toString(n=!1){return yE(this,n)}toJSON(){return this}static revive(n){if(n){if(n instanceof G_)return n;{const c=new Fg(n);return c._formatted=n.external,c._fsPath=n._sep===uS?n.fsPath:null,c}}else return n}}const uS=Bv?1:void 0;class Fg extends G_{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=hE(this,!1)),this._fsPath}toString(n=!1){return n?yE(this,!0):(this._formatted||(this._formatted=yE(this,!1)),this._formatted)}toJSON(){const n={$mid:1};return this._fsPath&&(n.fsPath=this._fsPath,n._sep=uS),this._formatted&&(n.external=this._formatted),this.path&&(n.path=this.path),this.scheme&&(n.scheme=this.scheme),this.authority&&(n.authority=this.authority),this.query&&(n.query=this.query),this.fragment&&(n.fragment=this.fragment),n}}const fS={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function dS(e,n,c){let f,a=-1;for(let p=0;p=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===45||x===46||x===95||x===126||n&&x===47||c&&x===91||c&&x===93||c&&x===58)a!==-1&&(f+=encodeURIComponent(e.substring(a,p)),a=-1),f!==void 0&&(f+=e.charAt(p));else{f===void 0&&(f=e.substr(0,p));const V=fS[x];V!==void 0?(a!==-1&&(f+=encodeURIComponent(e.substring(a,p)),a=-1),f+=V):a===-1&&(a=p)}}return a!==-1&&(f+=encodeURIComponent(e.substring(a))),f!==void 0?f:e}function ck(e){let n;for(let c=0;c1&&e.scheme==="file"?c=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?n?c=e.path.substr(1):c=e.path[1].toLowerCase()+e.path.substr(2):c=e.path,Bv&&(c=c.replace(/\//g,"\\")),c}function yE(e,n){const c=n?ck:dS;let f="",{scheme:a,authority:p,path:x,query:V,fragment:g}=e;if(a&&(f+=a,f+=":"),(p||a==="file")&&(f+=Tp,f+=Tp),p){let m=p.indexOf("@");if(m!==-1){const A=p.substr(0,m);p=p.substr(m+1),m=A.lastIndexOf(":"),m===-1?f+=c(A,!1,!1):(f+=c(A.substr(0,m),!1,!1),f+=":",f+=c(A.substr(m+1),!1,!0)),f+="@"}p=p.toLowerCase(),m=p.lastIndexOf(":"),m===-1?f+=c(p,!1,!0):(f+=c(p.substr(0,m),!1,!0),f+=p.substr(m))}if(x){if(x.length>=3&&x.charCodeAt(0)===47&&x.charCodeAt(2)===58){const m=x.charCodeAt(1);m>=65&&m<=90&&(x=`/${String.fromCharCode(m+32)}:${x.substr(3)}`)}else if(x.length>=2&&x.charCodeAt(1)===58){const m=x.charCodeAt(0);m>=65&&m<=90&&(x=`${String.fromCharCode(m+32)}:${x.substr(2)}`)}f+=c(x,!0,!1)}return V&&(f+="?",f+=c(V,!1,!1)),g&&(f+="#",f+=n?g:dS(g,!1,!1)),f}function pS(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+pS(e.substr(3)):e}}const mS=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ly(e){return e.match(mS)?e.replace(mS,n=>pS(n)):e}class Zu{constructor(n,c){this.lineNumber=n,this.column=c}with(n=this.lineNumber,c=this.column){return n===this.lineNumber&&c===this.column?this:new Zu(n,c)}delta(n=0,c=0){return this.with(this.lineNumber+n,this.column+c)}equals(n){return Zu.equals(this,n)}static equals(n,c){return!n&&!c?!0:!!n&&!!c&&n.lineNumber===c.lineNumber&&n.column===c.column}isBefore(n){return Zu.isBefore(this,n)}static isBefore(n,c){return n.lineNumberf||n===f&&c>a?(this.startLineNumber=f,this.startColumn=a,this.endLineNumber=n,this.endColumn=c):(this.startLineNumber=n,this.startColumn=c,this.endLineNumber=f,this.endColumn=a)}isEmpty(){return ws.isEmpty(this)}static isEmpty(n){return n.startLineNumber===n.endLineNumber&&n.startColumn===n.endColumn}containsPosition(n){return ws.containsPosition(this,n)}static containsPosition(n,c){return!(c.lineNumbern.endLineNumber||c.lineNumber===n.startLineNumber&&c.columnn.endColumn)}static strictContainsPosition(n,c){return!(c.lineNumbern.endLineNumber||c.lineNumber===n.startLineNumber&&c.column<=n.startColumn||c.lineNumber===n.endLineNumber&&c.column>=n.endColumn)}containsRange(n){return ws.containsRange(this,n)}static containsRange(n,c){return!(c.startLineNumbern.endLineNumber||c.endLineNumber>n.endLineNumber||c.startLineNumber===n.startLineNumber&&c.startColumnn.endColumn)}strictContainsRange(n){return ws.strictContainsRange(this,n)}static strictContainsRange(n,c){return!(c.startLineNumbern.endLineNumber||c.endLineNumber>n.endLineNumber||c.startLineNumber===n.startLineNumber&&c.startColumn<=n.startColumn||c.endLineNumber===n.endLineNumber&&c.endColumn>=n.endColumn)}plusRange(n){return ws.plusRange(this,n)}static plusRange(n,c){let f,a,p,x;return c.startLineNumbern.endLineNumber?(p=c.endLineNumber,x=c.endColumn):c.endLineNumber===n.endLineNumber?(p=c.endLineNumber,x=Math.max(c.endColumn,n.endColumn)):(p=n.endLineNumber,x=n.endColumn),new ws(f,a,p,x)}intersectRanges(n){return ws.intersectRanges(this,n)}static intersectRanges(n,c){let f=n.startLineNumber,a=n.startColumn,p=n.endLineNumber,x=n.endColumn;const V=c.startLineNumber,g=c.startColumn,m=c.endLineNumber,A=c.endColumn;return fm?(p=m,x=A):p===m&&(x=Math.min(x,A)),f>p||f===p&&a>x?null:new ws(f,a,p,x)}equalsRange(n){return ws.equalsRange(this,n)}static equalsRange(n,c){return!n&&!c?!0:!!n&&!!c&&n.startLineNumber===c.startLineNumber&&n.startColumn===c.startColumn&&n.endLineNumber===c.endLineNumber&&n.endColumn===c.endColumn}getEndPosition(){return ws.getEndPosition(this)}static getEndPosition(n){return new Zu(n.endLineNumber,n.endColumn)}getStartPosition(){return ws.getStartPosition(this)}static getStartPosition(n){return new Zu(n.startLineNumber,n.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(n,c){return new ws(this.startLineNumber,this.startColumn,n,c)}setStartPosition(n,c){return new ws(n,c,this.endLineNumber,this.endColumn)}collapseToStart(){return ws.collapseToStart(this)}static collapseToStart(n){return new ws(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)}collapseToEnd(){return ws.collapseToEnd(this)}static collapseToEnd(n){return new ws(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)}delta(n){return new ws(this.startLineNumber+n,this.startColumn,this.endLineNumber+n,this.endColumn)}static fromPositions(n,c=n){return new ws(n.lineNumber,n.column,c.lineNumber,c.column)}static lift(n){return n?new ws(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):null}static isIRange(n){return n&&typeof n.startLineNumber=="number"&&typeof n.startColumn=="number"&&typeof n.endLineNumber=="number"&&typeof n.endColumn=="number"}static areIntersectingOrTouching(n,c){return!(n.endLineNumbern.startLineNumber}toJSON(){return this}}var _S;(function(e){function n(a){return a<0}e.isLessThan=n;function c(a){return a>0}e.isGreaterThan=c;function f(a){return a===0}e.isNeitherLessOrGreaterThan=f,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(_S||(_S={}));function gS(e){return e<0?0:e>255?255:e|0}function Gg(e){return e<0?0:e>4294967295?4294967295:e|0}class uk{constructor(n){this.values=n,this.prefixSum=new Uint32Array(n.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(n,c){n=Gg(n);const f=this.values,a=this.prefixSum,p=c.length;return p===0?!1:(this.values=new Uint32Array(f.length+p),this.values.set(f.subarray(0,n),0),this.values.set(f.subarray(n),n+p),this.values.set(c,n),n-1=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(n,c){return n=Gg(n),c=Gg(c),this.values[n]===c?!1:(this.values[n]=c,n-1=f.length)return!1;const p=f.length-n;return c>=p&&(c=p),c===0?!1:(this.values=new Uint32Array(f.length-c),this.values.set(f.subarray(0,n),0),this.values.set(f.subarray(n+c),n),this.prefixSum=new Uint32Array(this.values.length),n-1=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(n){return n<0?0:(n=Gg(n),this._getPrefixSum(n))}_getPrefixSum(n){if(n<=this.prefixSumValidIndex[0])return this.prefixSum[n];let c=this.prefixSumValidIndex[0]+1;c===0&&(this.prefixSum[0]=this.values[0],c++),n>=this.values.length&&(n=this.values.length-1);for(let f=c;f<=n;f++)this.prefixSum[f]=this.prefixSum[f-1]+this.values[f];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],n),this.prefixSum[n]}getIndexOf(n){n=Math.floor(n),this.getTotalSum();let c=0,f=this.values.length-1,a=0,p=0,x=0;for(;c<=f;)if(a=c+(f-c)/2|0,p=this.prefixSum[a],x=p-this.values[a],n=p)c=a+1;else break;return new fk(a,n-x)}}class fk{constructor(n,c){this.index=n,this.remainder=c,this._prefixSumIndexOfResultBrand=void 0,this.index=n,this.remainder=c}}class dk{constructor(n,c,f,a){this._uri=n,this._lines=c,this._eol=f,this._versionId=a,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(n){n.eol&&n.eol!==this._eol&&(this._eol=n.eol,this._lineStarts=null);const c=n.changes;for(const f of c)this._acceptDeleteRange(f.range),this._acceptInsertText(new Zu(f.range.startLineNumber,f.range.startColumn),f.text);this._versionId=n.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const n=this._eol.length,c=this._lines.length,f=new Uint32Array(c);for(let a=0;a/?";function mk(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const c of pk)e.indexOf(c)>=0||(n+="\\"+c);return n+="\\s]+)",new RegExp(n,"g")}const vS=mk();function _k(e){let n=vS;if(e&&e instanceof RegExp)if(e.global)n=e;else{let c="g";e.ignoreCase&&(c+="i"),e.multiline&&(c+="m"),e.unicode&&(c+="u"),n=new RegExp(e.source,c)}return n.lastIndex=0,n}const hS=new ny;hS.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function bE(e,n,c,f,a){if(a||(a=ey.first(hS)),c.length>a.maxLen){let m=e-a.maxLen/2;return m<0?m=0:f+=m,c=c.substring(m,e+a.maxLen/2),bE(e,n,c,f,a)}const p=Date.now(),x=e-1-f;let V=-1,g=null;for(let m=1;!(Date.now()-p>=a.timeBudget);m++){const A=x-a.windowSize*m;n.lastIndex=Math.max(0,A);const K=gk(n,c,x,V);if(!K&&g||(g=K,A<=0))break;V=A}if(g){const m={word:g[0],startColumn:f+1+g.index,endColumn:f+1+g.index+g[0].length};return n.lastIndex=0,m}return null}function gk(e,n,c,f){let a;for(;a=e.exec(n);){const p=a.index||0;if(p<=c&&e.lastIndex>=c)return a;if(f>0&&p>f)return null}return null}class EE{constructor(n){const c=gS(n);this._defaultValue=c,this._asciiMap=EE._createAsciiMap(c),this._map=new Map}static _createAsciiMap(n){const c=new Uint8Array(256);return c.fill(n),c}set(n,c){const f=gS(c);n>=0&&n<256?this._asciiMap[n]=f:this._map.set(n,f)}get(n){return n>=0&&n<256?this._asciiMap[n]:this._map.get(n)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class vk{constructor(n,c,f){const a=new Uint8Array(n*c);for(let p=0,x=n*c;pc&&(c=g),V>f&&(f=V),m>f&&(f=m)}c++,f++;const a=new vk(f,c,0);for(let p=0,x=n.length;p=this._maxCharCode?0:this._states.get(n,c)}}let TE=null;function yk(){return TE===null&&(TE=new hk([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),TE}let Uv=null;function bk(){if(Uv===null){Uv=new EE(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let c=0;ca);if(a>0){const V=c.charCodeAt(a-1),g=c.charCodeAt(x);(V===40&&g===41||V===91&&g===93||V===123&&g===125)&&x--}return{range:{startLineNumber:f,startColumn:a+1,endLineNumber:f,endColumn:x+2},url:c.substring(a,x+1)}}static computeLinks(n,c=yk()){const f=bk(),a=[];for(let p=1,x=n.getLineCount();p<=x;p++){const V=n.getLineContent(p),g=V.length;let m=0,A=0,K=0,ae=1,y=!1,k=!1,S=!1,F=!1;for(;m=0?(a+=f?1:-1,a<0?a=n.length-1:a%=n.length,n[a]):null}}SE.INSTANCE=new SE;const yS=Object.freeze(function(e,n){const c=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(c)}}});var uy;(function(e){function n(c){return c===e.None||c===e.Cancelled||c instanceof fy?!0:!c||typeof c!="object"?!1:typeof c.isCancellationRequested=="boolean"&&typeof c.onCancellationRequested=="function"}e.isCancellationToken=n,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pE.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:yS})})(uy||(uy={}));class fy{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?yS:(this._emitter||(this._emitter=new Qp),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Tk{constructor(n){this._token=void 0,this._parentListener=void 0,this._parentListener=n&&n.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new fy),this._token}cancel(){this._token?this._token instanceof fy&&this._token.cancel():this._token=uy.Cancelled}dispose(n=!1){var c;n&&this.cancel(),(c=this._parentListener)===null||c===void 0||c.dispose(),this._token?this._token instanceof fy&&this._token.dispose():this._token=uy.None}}class DE{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(n,c){this._keyCodeToStr[n]=c,this._strToKeyCode[c.toLowerCase()]=n}keyCodeToStr(n){return this._keyCodeToStr[n]}strToKeyCode(n){return this._strToKeyCode[n.toLowerCase()]||0}}const dy=new DE,LE=new DE,AE=new DE,Sk=new Array(230),Dk=Object.create(null),Lk=Object.create(null);(function(){const e="",n=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],c=[],f=[];for(const a of n){const[p,x,V,g,m,A,K,ae,y,k]=a;if(f[V]||(f[V]=!0,Dk[g]=V,Lk[g.toLowerCase()]=V),!c[m]){if(c[m]=!0,!A)throw new Error(`String representation missing for key code ${m} around scan code ${g}`);dy.define(m,A),LE.define(m,y||A),AE.define(m,k||y||A)}K&&(Sk[K]=m)}})();var bS;(function(e){function n(V){return dy.keyCodeToStr(V)}e.toString=n;function c(V){return dy.strToKeyCode(V)}e.fromString=c;function f(V){return LE.keyCodeToStr(V)}e.toUserSettingsUS=f;function a(V){return AE.keyCodeToStr(V)}e.toUserSettingsGeneral=a;function p(V){return LE.strToKeyCode(V)||AE.strToKeyCode(V)}e.fromUserSettings=p;function x(V){if(V>=93&&V<=108)return null;switch(V){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return dy.keyCodeToStr(V)}e.toElectronAccelerator=x})(bS||(bS={}));function Ak(e,n){const c=(n&65535)<<16>>>0;return(e|c)>>>0}class $f extends ws{constructor(n,c,f,a){super(n,c,f,a),this.selectionStartLineNumber=n,this.selectionStartColumn=c,this.positionLineNumber=f,this.positionColumn=a}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(n){return $f.selectionsEqual(this,n)}static selectionsEqual(n,c){return n.selectionStartLineNumber===c.selectionStartLineNumber&&n.selectionStartColumn===c.selectionStartColumn&&n.positionLineNumber===c.positionLineNumber&&n.positionColumn===c.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(n,c){return this.getDirection()===0?new $f(this.startLineNumber,this.startColumn,n,c):new $f(n,c,this.startLineNumber,this.startColumn)}getPosition(){return new Zu(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Zu(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(n,c){return this.getDirection()===0?new $f(n,c,this.endLineNumber,this.endColumn):new $f(this.endLineNumber,this.endColumn,n,c)}static fromPositions(n,c=n){return new $f(n.lineNumber,n.column,c.lineNumber,c.column)}static fromRange(n,c){return c===0?new $f(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new $f(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}static liftSelection(n){return new $f(n.selectionStartLineNumber,n.selectionStartColumn,n.positionLineNumber,n.positionColumn)}static selectionsArrEqual(n,c){if(n&&!c||!n&&c)return!1;if(!n&&!c)return!0;if(n.length!==c.length)return!1;for(let f=0,a=n.length;f{this._map.get(n)===c&&(this._map.delete(n),this.fire([n]))})}registerFactory(n,c){var f;(f=this._factories.get(n))===null||f===void 0||f.dispose();const a=new xk(this,n,c);return this._factories.set(n,a),ry(()=>{const p=this._factories.get(n);!p||p!==a||(this._factories.delete(n),p.dispose())})}getOrCreate(n){return CE(this,void 0,void 0,function*(){const c=this.get(n);if(c)return c;const f=this._factories.get(n);return!f||f.isResolved?null:(yield f.resolve(),this.get(n))})}get(n){return this._map.get(n)||null}isResolved(n){if(this.get(n))return!0;const f=this._factories.get(n);return!!(!f||f.isResolved)}setColorMap(n){this._colorMap=n,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class xk extends ty{get isResolved(){return this._isResolved}constructor(n,c,f){super(),this._registry=n,this._languageId=c,this._factory=f,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return CE(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return CE(this,void 0,void 0,function*(){const n=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,n&&!this._isDisposed&&this._register(this._registry.register(this._languageId,n))})}}class Ik{constructor(n,c,f){this.offset=n,this.type=c,this.language=f,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var TS;(function(e){const n=new Map;n.set(0,lo.symbolMethod),n.set(1,lo.symbolFunction),n.set(2,lo.symbolConstructor),n.set(3,lo.symbolField),n.set(4,lo.symbolVariable),n.set(5,lo.symbolClass),n.set(6,lo.symbolStruct),n.set(7,lo.symbolInterface),n.set(8,lo.symbolModule),n.set(9,lo.symbolProperty),n.set(10,lo.symbolEvent),n.set(11,lo.symbolOperator),n.set(12,lo.symbolUnit),n.set(13,lo.symbolValue),n.set(15,lo.symbolEnum),n.set(14,lo.symbolConstant),n.set(15,lo.symbolEnum),n.set(16,lo.symbolEnumMember),n.set(17,lo.symbolKeyword),n.set(27,lo.symbolSnippet),n.set(18,lo.symbolText),n.set(19,lo.symbolColor),n.set(20,lo.symbolFile),n.set(21,lo.symbolReference),n.set(22,lo.symbolCustomColor),n.set(23,lo.symbolFolder),n.set(24,lo.symbolTypeParameter),n.set(25,lo.account),n.set(26,lo.issues);function c(p){let x=n.get(p);return x||(console.info("No codicon found for CompletionItemKind "+p),x=lo.symbolProperty),x}e.toIcon=c;const f=new Map;f.set("method",0),f.set("function",1),f.set("constructor",2),f.set("field",3),f.set("variable",4),f.set("class",5),f.set("struct",6),f.set("interface",7),f.set("module",8),f.set("property",9),f.set("event",10),f.set("operator",11),f.set("unit",12),f.set("value",13),f.set("constant",14),f.set("enum",15),f.set("enum-member",16),f.set("enumMember",16),f.set("keyword",17),f.set("snippet",27),f.set("text",18),f.set("color",19),f.set("file",20),f.set("reference",21),f.set("customcolor",22),f.set("folder",23),f.set("type-parameter",24),f.set("typeParameter",24),f.set("account",25),f.set("issue",26);function a(p,x){let V=f.get(p);return typeof V>"u"&&!x&&(V=9),V}e.fromString=a})(TS||(TS={}));var SS;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(SS||(SS={}));var DS;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(DS||(DS={}));var LS;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(LS||(LS={}));var AS;(function(e){const n=new Map;n.set(0,lo.symbolFile),n.set(1,lo.symbolModule),n.set(2,lo.symbolNamespace),n.set(3,lo.symbolPackage),n.set(4,lo.symbolClass),n.set(5,lo.symbolMethod),n.set(6,lo.symbolProperty),n.set(7,lo.symbolField),n.set(8,lo.symbolConstructor),n.set(9,lo.symbolEnum),n.set(10,lo.symbolInterface),n.set(11,lo.symbolFunction),n.set(12,lo.symbolVariable),n.set(13,lo.symbolConstant),n.set(14,lo.symbolString),n.set(15,lo.symbolNumber),n.set(16,lo.symbolBoolean),n.set(17,lo.symbolArray),n.set(18,lo.symbolObject),n.set(19,lo.symbolKey),n.set(20,lo.symbolNull),n.set(21,lo.symbolEnumMember),n.set(22,lo.symbolStruct),n.set(23,lo.symbolEvent),n.set(24,lo.symbolOperator),n.set(25,lo.symbolTypeParameter);function c(f){let a=n.get(f);return a||(console.info("No codicon found for SymbolKind "+f),a=lo.symbolProperty),a}e.toIcon=c})(AS||(AS={}));var CS;(function(e){function n(c){return!c||typeof c!="object"?!1:typeof c.id=="string"&&typeof c.title=="string"}e.is=n})(CS||(CS={}));var xS;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(xS||(xS={})),new Ck;var IS;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(IS||(IS={}));var NS;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(NS||(NS={}));var kS;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(kS||(kS={}));var RS;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(RS||(RS={}));var OS;(function(e){e[e.Deprecated=1]="Deprecated"})(OS||(OS={}));var wS;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(wS||(wS={}));var MS;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(MS||(MS={}));var PS;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(PS||(PS={}));var FS;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(FS||(FS={}));var GS;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(GS||(GS={}));var BS;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(BS||(BS={}));var US;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingDelete=6]="autoClosingDelete",e[e.autoClosingOvertype=7]="autoClosingOvertype",e[e.autoClosingQuotes=8]="autoClosingQuotes",e[e.autoIndent=9]="autoIndent",e[e.automaticLayout=10]="automaticLayout",e[e.autoSurround=11]="autoSurround",e[e.bracketPairColorization=12]="bracketPairColorization",e[e.guides=13]="guides",e[e.codeLens=14]="codeLens",e[e.codeLensFontFamily=15]="codeLensFontFamily",e[e.codeLensFontSize=16]="codeLensFontSize",e[e.colorDecorators=17]="colorDecorators",e[e.colorDecoratorsLimit=18]="colorDecoratorsLimit",e[e.columnSelection=19]="columnSelection",e[e.comments=20]="comments",e[e.contextmenu=21]="contextmenu",e[e.copyWithSyntaxHighlighting=22]="copyWithSyntaxHighlighting",e[e.cursorBlinking=23]="cursorBlinking",e[e.cursorSmoothCaretAnimation=24]="cursorSmoothCaretAnimation",e[e.cursorStyle=25]="cursorStyle",e[e.cursorSurroundingLines=26]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=27]="cursorSurroundingLinesStyle",e[e.cursorWidth=28]="cursorWidth",e[e.disableLayerHinting=29]="disableLayerHinting",e[e.disableMonospaceOptimizations=30]="disableMonospaceOptimizations",e[e.domReadOnly=31]="domReadOnly",e[e.dragAndDrop=32]="dragAndDrop",e[e.dropIntoEditor=33]="dropIntoEditor",e[e.emptySelectionClipboard=34]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=35]="experimentalWhitespaceRendering",e[e.extraEditorClassName=36]="extraEditorClassName",e[e.fastScrollSensitivity=37]="fastScrollSensitivity",e[e.find=38]="find",e[e.fixedOverflowWidgets=39]="fixedOverflowWidgets",e[e.folding=40]="folding",e[e.foldingStrategy=41]="foldingStrategy",e[e.foldingHighlight=42]="foldingHighlight",e[e.foldingImportsByDefault=43]="foldingImportsByDefault",e[e.foldingMaximumRegions=44]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=45]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=46]="fontFamily",e[e.fontInfo=47]="fontInfo",e[e.fontLigatures=48]="fontLigatures",e[e.fontSize=49]="fontSize",e[e.fontWeight=50]="fontWeight",e[e.fontVariations=51]="fontVariations",e[e.formatOnPaste=52]="formatOnPaste",e[e.formatOnType=53]="formatOnType",e[e.glyphMargin=54]="glyphMargin",e[e.gotoLocation=55]="gotoLocation",e[e.hideCursorInOverviewRuler=56]="hideCursorInOverviewRuler",e[e.hover=57]="hover",e[e.inDiffEditor=58]="inDiffEditor",e[e.inlineSuggest=59]="inlineSuggest",e[e.letterSpacing=60]="letterSpacing",e[e.lightbulb=61]="lightbulb",e[e.lineDecorationsWidth=62]="lineDecorationsWidth",e[e.lineHeight=63]="lineHeight",e[e.lineNumbers=64]="lineNumbers",e[e.lineNumbersMinChars=65]="lineNumbersMinChars",e[e.linkedEditing=66]="linkedEditing",e[e.links=67]="links",e[e.matchBrackets=68]="matchBrackets",e[e.minimap=69]="minimap",e[e.mouseStyle=70]="mouseStyle",e[e.mouseWheelScrollSensitivity=71]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=72]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=73]="multiCursorMergeOverlapping",e[e.multiCursorModifier=74]="multiCursorModifier",e[e.multiCursorPaste=75]="multiCursorPaste",e[e.multiCursorLimit=76]="multiCursorLimit",e[e.occurrencesHighlight=77]="occurrencesHighlight",e[e.overviewRulerBorder=78]="overviewRulerBorder",e[e.overviewRulerLanes=79]="overviewRulerLanes",e[e.padding=80]="padding",e[e.parameterHints=81]="parameterHints",e[e.peekWidgetDefaultFocus=82]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=83]="definitionLinkOpensInPeek",e[e.quickSuggestions=84]="quickSuggestions",e[e.quickSuggestionsDelay=85]="quickSuggestionsDelay",e[e.readOnly=86]="readOnly",e[e.renameOnType=87]="renameOnType",e[e.renderControlCharacters=88]="renderControlCharacters",e[e.renderFinalNewline=89]="renderFinalNewline",e[e.renderLineHighlight=90]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=91]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=92]="renderValidationDecorations",e[e.renderWhitespace=93]="renderWhitespace",e[e.revealHorizontalRightPadding=94]="revealHorizontalRightPadding",e[e.roundedSelection=95]="roundedSelection",e[e.rulers=96]="rulers",e[e.scrollbar=97]="scrollbar",e[e.scrollBeyondLastColumn=98]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=99]="scrollBeyondLastLine",e[e.scrollPredominantAxis=100]="scrollPredominantAxis",e[e.selectionClipboard=101]="selectionClipboard",e[e.selectionHighlight=102]="selectionHighlight",e[e.selectOnLineNumbers=103]="selectOnLineNumbers",e[e.showFoldingControls=104]="showFoldingControls",e[e.showUnused=105]="showUnused",e[e.snippetSuggestions=106]="snippetSuggestions",e[e.smartSelect=107]="smartSelect",e[e.smoothScrolling=108]="smoothScrolling",e[e.stickyScroll=109]="stickyScroll",e[e.stickyTabStops=110]="stickyTabStops",e[e.stopRenderingLineAfter=111]="stopRenderingLineAfter",e[e.suggest=112]="suggest",e[e.suggestFontSize=113]="suggestFontSize",e[e.suggestLineHeight=114]="suggestLineHeight",e[e.suggestOnTriggerCharacters=115]="suggestOnTriggerCharacters",e[e.suggestSelection=116]="suggestSelection",e[e.tabCompletion=117]="tabCompletion",e[e.tabIndex=118]="tabIndex",e[e.unicodeHighlighting=119]="unicodeHighlighting",e[e.unusualLineTerminators=120]="unusualLineTerminators",e[e.useShadowDOM=121]="useShadowDOM",e[e.useTabStops=122]="useTabStops",e[e.wordBreak=123]="wordBreak",e[e.wordSeparators=124]="wordSeparators",e[e.wordWrap=125]="wordWrap",e[e.wordWrapBreakAfterCharacters=126]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=127]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=128]="wordWrapColumn",e[e.wordWrapOverride1=129]="wordWrapOverride1",e[e.wordWrapOverride2=130]="wordWrapOverride2",e[e.wrappingIndent=131]="wrappingIndent",e[e.wrappingStrategy=132]="wrappingStrategy",e[e.showDeprecated=133]="showDeprecated",e[e.inlayHints=134]="inlayHints",e[e.editorClassName=135]="editorClassName",e[e.pixelRatio=136]="pixelRatio",e[e.tabFocusMode=137]="tabFocusMode",e[e.layoutInfo=138]="layoutInfo",e[e.wrappingInfo=139]="wrappingInfo"})(US||(US={}));var VS;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(VS||(VS={}));var WS;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(WS||(WS={}));var jS;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(jS||(jS={}));var HS;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(HS||(HS={}));var JS;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(JS||(JS={}));var KS;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(KS||(KS={}));var xE;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE"})(xE||(xE={}));var IE;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(IE||(IE={}));var NE;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(NE||(NE={}));var zS;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(zS||(zS={}));var qS;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(qS||(qS={}));var XS;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(XS||(XS={}));var YS;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(YS||(YS={}));var QS;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(QS||(QS={}));var ZS;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(ZS||(ZS={}));var $S;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})($S||($S={}));var eD;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(eD||(eD={}));var rD;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(rD||(rD={}));var kE;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(kE||(kE={}));var tD;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(tD||(tD={}));var nD;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(nD||(nD={}));var aD;(function(e){e[e.Deprecated=1]="Deprecated"})(aD||(aD={}));var iD;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(iD||(iD={}));var oD;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(oD||(oD={}));var sD;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(sD||(sD={}));var lD;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(lD||(lD={}));class Vv{static chord(n,c){return Ak(n,c)}}Vv.CtrlCmd=2048,Vv.Shift=1024,Vv.Alt=512,Vv.WinCtrl=256;function Nk(){return{editor:void 0,languages:void 0,CancellationTokenSource:Tk,Emitter:Qp,KeyCode:xE,KeyMod:Vv,Position:Zu,Range:ws,Selection:$f,SelectionDirection:kE,MarkerSeverity:IE,MarkerTag:NE,Uri:G_,Token:Ik}}var cD;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(cD||(cD={}));var uD;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(uD||(uD={}));var fD;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(fD||(fD={}));function kk(e,n,c,f,a){if(f===0)return!0;const p=n.charCodeAt(f-1);if(e.get(p)!==0||p===13||p===10)return!0;if(a>0){const x=n.charCodeAt(f);if(e.get(x)!==0)return!0}return!1}function Rk(e,n,c,f,a){if(f+a===c)return!0;const p=n.charCodeAt(f+a);if(e.get(p)!==0||p===13||p===10)return!0;if(a>0){const x=n.charCodeAt(f+a-1);if(e.get(x)!==0)return!0}return!1}function Ok(e,n,c,f,a){return kk(e,n,c,f,a)&&Rk(e,n,c,f,a)}class wk{constructor(n,c){this._wordSeparators=n,this._searchRegex=c,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(n){this._searchRegex.lastIndex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(n){const c=n.length;let f;do{if(this._prevMatchStartIndex+this._prevMatchLength===c||(f=this._searchRegex.exec(n),!f))return null;const a=f.index,p=f[0].length;if(a===this._prevMatchStartIndex&&p===this._prevMatchLength){if(p===0){MN(n,c,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=p,!this._wordSeparators||Ok(this._wordSeparators,n,c,a,p))return f}while(f);return null}}function Mk(e,n="Unreachable"){throw new Error(n)}function RE(e){if(!e()){debugger;e(),e_(new sE("Assertion Failed"))}}function dD(e,n){let c=0;for(;c0){const M=N.charCodeAt(O-1);gE(M)&&O--}if(U+1=M){K=!0;break e}A.push(new ws(F,O+1,F,U+1))}}while(ae)}return{ranges:A,hasMore:K,ambiguousCharacterCount:y,invisibleCharacterCount:k,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(n,c){const f=new pD(c);switch(f.shouldHighlightNonBasicASCII(n,null)){case 0:return null;case 2:return{kind:1};case 3:{const p=n.codePointAt(0),x=f.ambiguousCharacters.getPrimaryConfusable(p),V=Rd.getLocales().filter(g=>!Rd.getInstance(new Set([...c.allowedLocales,g])).isAmbiguous(p));return{kind:0,confusableWith:String.fromCodePoint(x),notAmbiguousInLocales:V}}case 1:return{kind:2}}}}function Fk(e,n){return`[${IN(e.map(f=>String.fromCodePoint(f)).join(""))}]`}class pD{constructor(n){this.options=n,this.allowedCodePoints=new Set(n.allowedCodePoints),this.ambiguousCharacters=Rd.getInstance(new Set(n.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const n=new Set;if(this.options.invisibleCharacters)for(const c of r_.codePoints)mD(String.fromCodePoint(c))||n.add(c);if(this.options.ambiguousCharacters)for(const c of this.ambiguousCharacters.getConfusableCodePoints())n.add(c);for(const c of this.allowedCodePoints)n.delete(c);return n}shouldHighlightNonBasicASCII(n,c){const f=n.codePointAt(0);if(this.allowedCodePoints.has(f))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,p=!1;if(c)for(const x of c){const V=x.codePointAt(0),g=FN(x);a=a||g,!g&&!this.ambiguousCharacters.isAmbiguous(V)&&!r_.isInvisibleCharacter(V)&&(p=!0)}return!a&&p?0:this.options.invisibleCharacters&&!mD(n)&&r_.isInvisibleCharacter(f)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(f)?3:0}}function mD(e){return e===" "||e===` `||e===" "}class OE{constructor(n,c,f){this.originalRange=n,this.modifiedRange=c,this.innerChanges=f}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class _D{constructor(n,c){this.originalRange=n,this.modifiedRange=c}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class Rm{constructor(n,c){this.startLineNumber=n,this.endLineNumberExclusive=c}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(n){return new Rm(this.startLineNumber+n,this.endLineNumberExclusive+n)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(n){return new Rm(Math.min(this.startLineNumber,n.startLineNumber),Math.max(this.endLineNumberExclusive,n.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}}const Gk=3;class Bk{computeDiff(n,c,f){var a;const x=new Wk(n,c,{maxComputationTime:f.maxComputationTimeMs,shouldIgnoreTrimWhitespace:f.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),V=[];let g=null;for(const m of x.changes){let A;m.originalEndLineNumber===0?A=new Rm(m.originalStartLineNumber+1,m.originalStartLineNumber+1):A=new Rm(m.originalStartLineNumber,m.originalEndLineNumber+1);let K;m.modifiedEndLineNumber===0?K=new Rm(m.modifiedStartLineNumber+1,m.modifiedStartLineNumber+1):K=new Rm(m.modifiedStartLineNumber,m.modifiedEndLineNumber+1);let ae=new OE(A,K,(a=m.charChanges)===null||a===void 0?void 0:a.map(y=>new _D(new ws(y.originalStartLineNumber,y.originalStartColumn,y.originalEndLineNumber,y.originalEndColumn),new ws(y.modifiedStartLineNumber,y.modifiedStartColumn,y.modifiedEndLineNumber,y.modifiedEndColumn))));g&&(g.modifiedRange.endLineNumberExclusive===ae.modifiedRange.startLineNumber||g.originalRange.endLineNumberExclusive===ae.originalRange.startLineNumber)&&(ae=new OE(g.originalRange.join(ae.originalRange),g.modifiedRange.join(ae.modifiedRange),g.innerChanges&&ae.innerChanges?g.innerChanges.concat(ae.innerChanges):void 0),V.pop()),V.push(ae),g=ae}return RE(()=>dD(V,(m,A)=>A.originalRange.startLineNumber-m.originalRange.endLineNumberExclusive===A.modifiedRange.startLineNumber-m.modifiedRange.endLineNumberExclusive&&m.originalRange.endLineNumberExclusive(n===10?"\\n":String.fromCharCode(n))+`-(${this._lineNumbers[c]},${this._columns[c]})`).join(", ")+"]"}_assertIndex(n,c){if(n<0||n>=c.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(n){return n>0&&n===this._lineNumbers.length?this.getEndLineNumber(n-1):(this._assertIndex(n,this._lineNumbers),this._lineNumbers[n])}getEndLineNumber(n){return n===-1?this.getStartLineNumber(n+1):(this._assertIndex(n,this._lineNumbers),this._charCodes[n]===10?this._lineNumbers[n]+1:this._lineNumbers[n])}getStartColumn(n){return n>0&&n===this._columns.length?this.getEndColumn(n-1):(this._assertIndex(n,this._columns),this._columns[n])}getEndColumn(n){return n===-1?this.getStartColumn(n+1):(this._assertIndex(n,this._columns),this._charCodes[n]===10?1:this._columns[n]+1)}}class Bg{constructor(n,c,f,a,p,x,V,g){this.originalStartLineNumber=n,this.originalStartColumn=c,this.originalEndLineNumber=f,this.originalEndColumn=a,this.modifiedStartLineNumber=p,this.modifiedStartColumn=x,this.modifiedEndLineNumber=V,this.modifiedEndColumn=g}static createFromDiffChange(n,c,f){const a=c.getStartLineNumber(n.originalStart),p=c.getStartColumn(n.originalStart),x=c.getEndLineNumber(n.originalStart+n.originalLength-1),V=c.getEndColumn(n.originalStart+n.originalLength-1),g=f.getStartLineNumber(n.modifiedStart),m=f.getStartColumn(n.modifiedStart),A=f.getEndLineNumber(n.modifiedStart+n.modifiedLength-1),K=f.getEndColumn(n.modifiedStart+n.modifiedLength-1);return new Bg(a,p,x,V,g,m,A,K)}}function Vk(e){if(e.length<=1)return e;const n=[e[0]];let c=n[0];for(let f=1,a=e.length;f0&&c.originalLength<20&&c.modifiedLength>0&&c.modifiedLength<20&&p()){const y=f.createCharSequence(n,c.originalStart,c.originalStart+c.originalLength-1),k=a.createCharSequence(n,c.modifiedStart,c.modifiedStart+c.modifiedLength-1);if(y.getElements().length>0&&k.getElements().length>0){let S=gD(y,k,p,!0).changes;V&&(S=Vk(S)),ae=[];for(let F=0,B=S.length;F1&&S>1;){const F=ae.charCodeAt(k-2),B=y.charCodeAt(S-2);if(F!==B)break;k--,S--}(k>1||S>1)&&this._pushTrimWhitespaceCharChange(a,p+1,1,k,x+1,1,S)}{let k=ME(ae,1),S=ME(y,1);const F=ae.length+1,B=y.length+1;for(;k!0;const n=Date.now();return()=>Date.now()-n ${this.seq2Range}`}}class vf{constructor(n,c){this.start=n,this.endExclusive=c}get isEmpty(){return this.start===this.endExclusive}delta(n){return new vf(this.start+n,this.endExclusive+n)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}join(n){return new vf(Math.min(this.start,n.start),Math.max(this.endExclusive,n.endExclusive))}}class PE{constructor(n,c){this.width=n,this.height=c,this.array=[],this.array=new Array(n*c)}get(n,c){return this.array[n+c*this.width]}set(n,c,f){this.array[n+c*this.width]=f}}class jk{compute(n,c,f){const a=new PE(n.length,c.length),p=new PE(n.length,c.length),x=new PE(n.length,c.length);for(let y=0;y0&&k>0&&p.get(y-1,k-1)===3&&(B+=x.get(y-1,k-1)),B+=f?f(y,k):1):B=-1;const N=Math.max(S,F,B);if(N===B){const w=y>0&&k>0?x.get(y-1,k-1):0;x.set(y,k,w+1),p.set(y,k,3)}else N===S?(x.set(y,k,0),p.set(y,k,1)):N===F&&(x.set(y,k,0),p.set(y,k,2));a.set(y,k,N)}const V=[];let g=n.length,m=c.length;function A(y,k){(y+1!==g||k+1!==m)&&V.push(new Zp(new vf(y+1,g),new vf(k+1,m))),g=y,m=k}let K=n.length-1,ae=c.length-1;for(;K>=0&&ae>=0;)p.get(K,ae)===3?(A(K,ae),K--,ae--):p.get(K,ae)===1?K--:ae--;return A(-1,-1),V.reverse(),V}}function yD(e,n,c){let f=c;return f=Jk(e,n,f),f=Kk(e,n,f),f}function Hk(e,n,c){const f=[];for(const a of c){const p=f[f.length-1];if(!p){f.push(a);continue}a.seq1Range.start-p.seq1Range.endExclusive<=2||a.seq2Range.start-p.seq2Range.endExclusive<=2?f[f.length-1]=new Zp(p.seq1Range.join(a.seq1Range),p.seq2Range.join(a.seq2Range)):f.push(a)}return f}function Jk(e,n,c){const f=[];c.length>0&&f.push(c[0]);for(let a=1;a0?c[f-1].seq2Range.endExclusive:-1,x=f+10?c[f-1].seq1Range.endExclusive:-1,x=f+1a&&c.getElement(e.seq2Range.start-x)===c.getElement(e.seq2Range.endExclusive-x)&&x<20;)x++;x--;let V=0;for(;e.seq2Range.start+Vm&&(m=k,g=A)}return g!==0?new Zp(e.seq1Range.delta(g),e.seq2Range.delta(g)):e}class zk{compute(n,c){if(n.length===0)return[new Zp(new vf(0,0),new vf(0,c.length))];if(c.length===0)return[new Zp(new vf(0,n.length),new vf(0,0))];function f(ae,y){for(;ae=this.negativeArr.length){const f=this.negativeArr;this.negativeArr=new Int32Array(f.length*2),this.negativeArr.set(f)}this.negativeArr[n]=c}else{if(n>=this.positiveArr.length){const f=this.positiveArr;this.positiveArr=new Int32Array(f.length*2),this.positiveArr.set(f)}this.positiveArr[n]=c}}}class Xk{constructor(){this.positiveArr=[],this.negativeArr=[]}get(n){return n<0?(n=-n-1,this.negativeArr[n]):this.positiveArr[n]}set(n,c){n<0?(n=-n-1,this.negativeArr[n]=c):this.positiveArr[n]=c}}class Yk{constructor(){this.dynamicProgrammingDiffing=new jk,this.myersDiffingAlgorithm=new zk}computeDiff(n,c,f){const a=new Map;function p(F){let B=a.get(F);return B===void 0&&(B=a.size,a.set(F,B)),B}const x=n.map(F=>p(F.trim())),V=c.map(F=>p(F.trim())),g=new TD(x,n),m=new TD(V,c);let A=(()=>g.length+m.length<1500?this.dynamicProgrammingDiffing.compute(g,m,(F,B)=>n[F]===c[B]?c[B].length===0?.1:1+Math.log(1+c[B].length):.99):this.myersDiffingAlgorithm.compute(g,m))();A=yD(g,m,A);const K=[],ae=F=>{for(let B=0;BF.seq1Range.start-y===F.seq2Range.start-k);const B=F.seq1Range.start-y;ae(B),y=F.seq1Range.endExclusive,k=F.seq2Range.endExclusive;const N=this.refineDiff(n,c,F);for(const w of N)K.push(w)}return ae(n.length-y),{quitEarly:!1,changes:Qk(K)}}refineDiff(n,c,f){const a=new DD(n,f.seq1Range),p=new DD(c,f.seq2Range),x=a.length+p.length<500?this.dynamicProgrammingDiffing.compute(a,p):this.myersDiffingAlgorithm.compute(a,p);let V=yD(a,p,x);return V=Hk(a,p,V),V.map(m=>new _D(a.translateRange(m.seq1Range).delta(f.seq1Range.start),p.translateRange(m.seq2Range).delta(f.seq2Range.start)))}}function Qk(e){const n=[];for(const c of Zk(e,(f,a)=>a.originalRange.startLineNumber-(f.originalRange.endLineNumber-(f.originalRange.endColumn>1?0:1))<=1||a.modifiedRange.startLineNumber-(f.modifiedRange.endLineNumber-(f.modifiedRange.endColumn>1?0:1))<=1)){const f=c[0],a=c[c.length-1];n.push(new OE(new Rm(f.originalRange.startLineNumber,a.originalRange.endLineNumber+(a.originalRange.endColumn>1||a.modifiedRange.endColumn>1?1:0)),new Rm(f.modifiedRange.startLineNumber,a.modifiedRange.endLineNumber+(a.originalRange.endColumn>1||a.modifiedRange.endColumn>1?1:0)),c))}return RE(()=>dD(n,(c,f)=>f.originalRange.startLineNumber-c.originalRange.endLineNumberExclusive===f.modifiedRange.startLineNumber-c.modifiedRange.endLineNumberExclusive&&c.originalRange.endLineNumberExclusive0?this.elements[n-1]:-1),f=AD(nn?f=p:c=p+1}const a=c===0?0:this.firstCharOnLineOffsets[c-1];return new Zu(c+1,n-a+1)}translateRange(n){return ws.fromPositions(this.translateOffset(n.start),this.translateOffset(n.endExclusive))}}const $k={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function LD(e){return $k[e]}function AD(e){return e===10?7:e===13?6:eR(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function eR(e){return e===32||e===9}const CD={smart:new Bk,experimental:new Yk};var B_=function(e,n,c,f){function a(p){return p instanceof c?p:new c(function(x){x(p)})}return new(c||(c=Promise))(function(p,x){function V(A){try{m(f.next(A))}catch(K){x(K)}}function g(A){try{m(f.throw(A))}catch(K){x(K)}}function m(A){A.done?p(A.value):a(A.value).then(V,g)}m((f=f.apply(e,n||[])).next())})};class rR extends dk{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(n){return this._lines[n-1]}getWordAtPosition(n,c){const f=bE(n.column,_k(c),this._lines[n.lineNumber-1],0);return f?new ws(n.lineNumber,f.startColumn,n.lineNumber,f.endColumn):null}words(n){const c=this._lines,f=this._wordenize.bind(this);let a=0,p="",x=0,V=[];return{*[Symbol.iterator](){for(;;)if(xthis._lines.length)c=this._lines.length,f=this._lines[c-1].length+1,a=!0;else{const p=this._lines[c-1].length+1;f<1?(f=1,a=!0):f>p&&(f=p,a=!0)}return a?{lineNumber:c,column:f}:n}}class U_{constructor(n,c){this._host=n,this._models=Object.create(null),this._foreignModuleFactory=c,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(n){return this._models[n]}_getModels(){const n=[];return Object.keys(this._models).forEach(c=>n.push(this._models[c])),n}acceptNewModel(n){this._models[n.url]=new rR(G_.parse(n.url),n.lines,n.EOL,n.versionId)}acceptModelChanged(n,c){if(!this._models[n])return;this._models[n].onEvents(c)}acceptRemovedModel(n){this._models[n]&&delete this._models[n]}computeUnicodeHighlights(n,c,f){return B_(this,void 0,void 0,function*(){const a=this._getModel(n);return a?Pk.computeUnicodeHighlights(a,c,f):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(n,c,f,a){return B_(this,void 0,void 0,function*(){const p=this._getModel(n),x=this._getModel(c);return!p||!x?null:U_.computeDiff(p,x,f,a)})}static computeDiff(n,c,f,a){const p=a==="experimental"?CD.experimental:CD.smart,x=n.getLinesContent(),V=c.getLinesContent(),g=p.computeDiff(x,V,f);return{identical:g.changes.length>0?!1:this._modelsAreIdentical(n,c),quitEarly:g.quitEarly,changes:g.changes.map(A=>{var K;return[A.originalRange.startLineNumber,A.originalRange.endLineNumberExclusive,A.modifiedRange.startLineNumber,A.modifiedRange.endLineNumberExclusive,(K=A.innerChanges)===null||K===void 0?void 0:K.map(ae=>[ae.originalRange.startLineNumber,ae.originalRange.startColumn,ae.originalRange.endLineNumber,ae.originalRange.endColumn,ae.modifiedRange.startLineNumber,ae.modifiedRange.startColumn,ae.modifiedRange.endLineNumber,ae.modifiedRange.endColumn])]})}}static _modelsAreIdentical(n,c){const f=n.getLineCount(),a=c.getLineCount();if(f!==a)return!1;for(let p=1;p<=f;p++){const x=n.getLineContent(p),V=c.getLineContent(p);if(x!==V)return!1}return!0}computeMoreMinimalEdits(n,c){return B_(this,void 0,void 0,function*(){const f=this._getModel(n);if(!f)return c;const a=[];let p;c=c.slice(0).sort((x,V)=>{if(x.range&&V.range)return ws.compareRangesUsingStarts(x.range,V.range);const g=x.range?0:1,m=V.range?0:1;return g-m});for(let{range:x,text:V,eol:g}of c){if(typeof g=="number"&&(p=g),ws.isEmpty(x)&&!V)continue;const m=f.getValueInRange(x);if(V=V.replace(/\r\n|\n|\r/g,f.eol),m===V)continue;if(Math.max(V.length,m.length)>U_._diffLimit){a.push({range:x,text:V});continue}const A=zN(m,V,!1),K=f.offsetAt(ws.lift(x).getStartPosition());for(const ae of A){const y=f.positionAt(K+ae.originalStart),k=f.positionAt(K+ae.originalStart+ae.originalLength),S={text:V.substr(ae.modifiedStart,ae.modifiedLength),range:{startLineNumber:y.lineNumber,startColumn:y.column,endLineNumber:k.lineNumber,endColumn:k.column}};f.getValueInRange(S.range)!==S.text&&a.push(S)}}return typeof p=="number"&&a.push({eol:p,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a})}computeLinks(n){return B_(this,void 0,void 0,function*(){const c=this._getModel(n);return c?Ek(c):null})}textualSuggest(n,c,f,a){return B_(this,void 0,void 0,function*(){const p=new iy(!0),x=new RegExp(f,a),V=new Set;e:for(const g of n){const m=this._getModel(g);if(m){for(const A of m.words(x))if(!(A===c||!isNaN(Number(A)))&&(V.add(A),V.size>U_._suggestionsLimit))break e}}return{words:Array.from(V),duration:p.elapsed()}})}computeWordRanges(n,c,f,a){return B_(this,void 0,void 0,function*(){const p=this._getModel(n);if(!p)return Object.create(null);const x=new RegExp(f,a),V=Object.create(null);for(let g=c.startLineNumber;gthis._host.fhr(V,g)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(x,c),Promise.resolve(_E(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(n,c){if(!this._foreignModule||typeof this._foreignModule[n]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+n));try{return Promise.resolve(this._foreignModule[n].apply(this._foreignModule,c))}catch(f){return Promise.reject(f)}}}U_._diffLimit=1e5,U_._suggestionsLimit=1e4,typeof importScripts=="function"&&(lu.monaco=Nk());let FE=!1;function xD(e){if(FE)return;FE=!0;const n=new JN(c=>{self.postMessage(c)},c=>new U_(c,e));self.onmessage=c=>{n.onmessage(c.data)}}self.onmessage=e=>{FE||xD(null)};/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var tR=Object.defineProperty,nR=(e,n)=>{for(var c in n)tR(e,c,{get:n[c],enumerable:!0})},ID={};nR(ID,{EndOfLineState:()=>oR,IndentStyle:()=>lR,ScriptKind:()=>W_,ScriptTarget:()=>cR,TokenClass:()=>uR,createClassifier:()=>aR,createLanguageService:()=>RD,displayPartsToString:()=>iR,flattenDiagnosticMessageText:()=>sR,typescript:()=>OD});var ed=void 0,py={exports:{}},Gt=function(e,n,c){if(c||arguments.length===2)for(var f=0,a=n.length,p;f0&&p[p.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!p||m[1]>p[0]&&m[1]=0;$e--){var hr=Ge(oe[$e],$e);if(hr)return hr}}e.forEachRight=x;function V(oe,Ge){if(oe!==void 0)for(var $e=0;$e=0;$e--){var hr=oe[$e];if(Ge(hr,$e))return hr}}e.findLast=F;function B(oe,Ge,$e){for(var hr=$e||0;hr=0;hr--)if(Ge(oe[hr],hr))return hr;return-1}e.findLastIndex=N;function w(oe,Ge){for(var $e=0;$e0;return!1}e.some=Y;function j(oe,Ge,$e){for(var hr,Xr=0;Xr0&&e.Debug.assertGreaterThanOrEqual($e(Ge[Dt],Ge[Dt-1]),0);r:for(var Jt=Xr;XrJt&&e.Debug.assertGreaterThanOrEqual($e(oe[Xr],oe[Xr-1]),0),$e(Ge[Dt],oe[Xr])){case-1:hr.push(Ge[Dt]);continue e;case 0:continue e;case 1:continue r}}return hr}e.relativeComplement=qe;function Xe(oe,Ge){for(var $e=0,hr=0,Xr=oe;hr>1),ta=$e(oe[Dn],Dn);switch(hr(ta,Ge)){case-1:Dt=Dn+1;break;case 0:return Dn;case 1:Jt=Dn-1;break}}return~Dt}e.binarySearchKey=He;function Lr(oe,Ge,$e,hr,Xr){if(oe&&oe.length>0){var Dt=oe.length;if(Dt>0){var Jt=hr===void 0||hr<0?0:hr,Dn=Xr===void 0||Jt+Xr>Dt-1?Dt-1:Jt+Xr,ta=void 0;for(arguments.length<=2?(ta=oe[Jt],Jt++):ta=$e;Jt<=Dn;)ta=Ge(ta,oe[Jt],Jt),Jt++;return ta}}return $e}e.reduceLeft=Lr;var qr=Object.prototype.hasOwnProperty;function lt(oe,Ge){return qr.call(oe,Ge)}e.hasProperty=lt;function rt(oe,Ge){return qr.call(oe,Ge)?oe[Ge]:void 0}e.getProperty=rt;function Rt(oe){var Ge=[];for(var $e in oe)qr.call(oe,$e)&&Ge.push($e);return Ge}e.getOwnKeys=Rt;function an(oe){var Ge=[];do for(var $e=Object.getOwnPropertyNames(oe),hr=0,Xr=$e;hrGe?1:0)}e.compareStringsCaseInsensitive=Mn;function dn(oe,Ge){return en(oe,Ge)}e.compareStringsCaseSensitive=dn;function oa(oe){return oe?Mn:dn}e.getStringComparer=oa;var pt=function(){var oe,Ge,$e=Dn();return ta;function hr(xa,Di,$a){if(xa===Di)return 0;if(xa===void 0)return-1;if(Di===void 0)return 1;var Ji=$a(xa,Di);return Ji<0?-1:Ji>0?1:0}function Xr(xa){var Di=new Intl.Collator(xa,{usage:"sort",sensitivity:"variant"}).compare;return function($a,Ji){return hr($a,Ji,Di)}}function Dt(xa){if(xa!==void 0)return Jt();return function($a,Ji){return hr($a,Ji,Di)};function Di($a,Ji){return $a.localeCompare(Ji)}}function Jt(){return function($a,Ji){return hr($a,Ji,xa)};function xa($a,Ji){return Di($a.toUpperCase(),Ji.toUpperCase())||Di($a,Ji)}function Di($a,Ji){return $aJi?1:0}}function Dn(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?Xr:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?Dt:Jt}function ta(xa){return xa===void 0?oe||(oe=$e(xa)):xa==="en-US"?Ge||(Ge=$e(xa)):$e(xa)}}(),mt,Mt;function It(){return Mt}e.getUILocale=It;function tt(oe){Mt!==oe&&(Mt=oe,mt=void 0)}e.setUILocale=tt;function xn(oe,Ge){var $e=mt||(mt=pt(Mt));return $e(oe,Ge)}e.compareStringsCaseSensitiveUI=xn;function Qn(oe,Ge,$e,hr){return oe===Ge?0:oe===void 0?-1:Ge===void 0?1:hr(oe[$e],Ge[$e])}e.compareProperties=Qn;function Oa(oe,Ge){return St(oe?1:0,Ge?1:0)}e.compareBooleans=Oa;function Ci(oe,Ge,$e){for(var hr=Math.min(2,Math.floor(oe.length*.34)),Xr=Math.floor(oe.length*.4)+1,Dt,Jt=0,Dn=Ge;Jt$e?Jt-$e:1),xa=Math.floor(Ge.length>$e+Jt?$e+Jt:Ge.length);Xr[0]=Jt;for(var Di=Jt,$a=1;$a$e)return;var us=hr;hr=Xr,Xr=us}var bt=hr[Ge.length];return bt>$e?void 0:bt}function va(oe,Ge){var $e=oe.length-Ge.length;return $e>=0&&oe.indexOf(Ge,$e)===$e}e.endsWith=va;function yi(oe,Ge){return va(oe,Ge)?oe.slice(0,oe.length-Ge.length):oe}e.removeSuffix=yi;function ro(oe,Ge){return va(oe,Ge)?oe.slice(0,oe.length-Ge.length):void 0}e.tryRemoveSuffix=ro;function Ka(oe,Ge){return oe.indexOf(Ge)!==-1}e.stringContains=Ka;function Mi(oe){for(var Ge=oe.length,$e=Ge-1;$e>0;$e--){var hr=oe.charCodeAt($e);if(hr>=48&&hr<=57)do--$e,hr=oe.charCodeAt($e);while($e>0&&hr>=48&&hr<=57);else if($e>4&&(hr===110||hr===78)){if(--$e,hr=oe.charCodeAt($e),hr!==105&&hr!==73||(--$e,hr=oe.charCodeAt($e),hr!==109&&hr!==77))break;--$e,hr=oe.charCodeAt($e)}else break;if(hr!==45&&hr!==46)break;Ge=$e}return Ge===oe.length?oe:oe.slice(0,Ge)}e.removeMinAndVersionNumbers=Mi;function io(oe,Ge){for(var $e=0;$eXr&&(Xr=ta.prefix.length,hr=Dn)}return hr}e.findBestPatternMatch=Qo;function uo(oe,Ge){return oe.lastIndexOf(Ge,0)===0}e.startsWith=uo;function za(oe,Ge){return uo(oe,Ge)?oe.substr(Ge.length):oe}e.removePrefix=za;function hi(oe,Ge,$e){return $e===void 0&&($e=ht),uo($e(oe),$e(Ge))?oe.substring(Ge.length):void 0}e.tryRemovePrefix=hi;function Zi(oe,Ge){var $e=oe.prefix,hr=oe.suffix;return Ge.length>=$e.length+hr.length&&uo(Ge,$e)&&va(Ge,hr)}function Po(oe,Ge){return function($e){return oe($e)&&Ge($e)}}e.and=Po;function Fo(){for(var oe=[],Ge=0;Ge=0&&e.isWhiteSpaceLike(oe.charCodeAt(Ge));)Ge--;return oe.slice(0,Ge+1)}})(gr||(gr={}));var gr;(function(e){var n;(function(c){c[c.Off=0]="Off",c[c.Error=1]="Error",c[c.Warning=2]="Warning",c[c.Info=3]="Info",c[c.Verbose=4]="Verbose"})(n=e.LogLevel||(e.LogLevel={})),function(c){var f,a=0;c.currentLogLevel=n.Warning,c.isDebugging=!1;function p(){return f??(f=new e.Version(e.version))}c.getTypeScriptVersion=p;function x(or){return c.currentLogLevel<=or}c.shouldLog=x;function V(or,Cr){c.loggingHost&&x(or)&&c.loggingHost.log(or,Cr)}function g(or){V(n.Info,or)}c.log=g,function(or){function Cr(Hr){V(n.Error,Hr)}or.error=Cr;function Rr(Hr){V(n.Warning,Hr)}or.warn=Rr;function Ke(Hr){V(n.Info,Hr)}or.log=Ke;function Me(Hr){V(n.Verbose,Hr)}or.trace=Me}(g=c.log||(c.log={}));var m={};function A(){return a}c.getAssertionLevel=A;function K(or){var Cr=a;if(a=or,or>Cr)for(var Rr=0,Ke=e.getOwnKeys(m);Rr=Hr.level&&(c[Me]=Hr,m[Me]=void 0)}}c.setAssertionLevel=K;function ae(or){return a>=or}c.shouldAssert=ae;function y(or,Cr){return ae(or)?!0:(m[Cr]={level:or,assertion:c[Cr]},c[Cr]=e.noop,!1)}function k(or,Cr){var Rr=new Error(or?"Debug Failure. ".concat(or):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Rr,Cr||k),Rr}c.fail=k;function S(or,Cr,Rr){return k("".concat(Cr||"Unexpected node.",`\r Node `).concat(P(or.kind)," was unexpected."),Rr||S)}c.failBadSyntaxKind=S;function F(or,Cr,Rr,Ke){or||(Cr=Cr?"False expression: ".concat(Cr):"False expression.",Rr&&(Cr+=`\r Verbose Debug Information: `+(typeof Rr=="string"?Rr:Rr())),k(Cr,Ke||F))}c.assert=F;function B(or,Cr,Rr,Ke,Me){if(or!==Cr){var Hr=Rr?Ke?"".concat(Rr," ").concat(Ke):Rr:"";k("Expected ".concat(or," === ").concat(Cr,". ").concat(Hr),Me||B)}}c.assertEqual=B;function N(or,Cr,Rr,Ke){or>=Cr&&k("Expected ".concat(or," < ").concat(Cr,". ").concat(Rr||""),Ke||N)}c.assertLessThan=N;function w(or,Cr,Rr){or>Cr&&k("Expected ".concat(or," <= ").concat(Cr),Rr||w)}c.assertLessThanOrEqual=w;function O(or,Cr,Rr){or= ").concat(Cr),Rr||O)}c.assertGreaterThanOrEqual=O;function U(or,Cr,Rr){or==null&&k(Cr,Rr||U)}c.assertIsDefined=U;function Q(or,Cr,Rr){return U(or,Cr,Rr||Q),or}c.checkDefined=Q,c.assertDefined=Q;function ee(or,Cr,Rr){for(var Ke=0,Me=or;Ke0&&Ke[0][0]===0?Ke[0][1]:"0";if(Rr){for(var Me="",Hr=or,cr=0,vr=Ke;cror)break;xe!==0&&xe&or&&(Me="".concat(Me).concat(Me?"|":"").concat(Je),Hr&=~xe)}if(Hr===0)return Me}else for(var pr=0,kr=Ke;pr=0;return fe?Se(or,Hr,vr,Cr.message):xe?Le(or,Hr,vr,Cr.message):e.noop}function Dr(or,Cr){return function(){return or(),Cr.apply(this,arguments)}}function br(or,Cr){var Rr=Ye(C(or),Cr);return Dr(Rr,or)}c.deprecate=br}(e.Debug||(e.Debug={}))})(gr||(gr={}));var gr;(function(e){var n=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,c=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,f=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\d*)$/,p=function(){function X(G,Z,E,I,b){if(Z===void 0&&(Z=0),E===void 0&&(E=0),I===void 0&&(I=""),b===void 0&&(b=""),typeof G=="string"){var D=e.Debug.checkDefined(x(G),"Invalid version");G=D.major,Z=D.minor,E=D.patch,I=D.prerelease,b=D.build}e.Debug.assert(G>=0,"Invalid argument: major"),e.Debug.assert(Z>=0,"Invalid argument: minor"),e.Debug.assert(E>=0,"Invalid argument: patch"),e.Debug.assert(!I||c.test(I),"Invalid argument: prerelease"),e.Debug.assert(!b||f.test(b),"Invalid argument: build"),this.major=G,this.minor=Z,this.patch=E,this.prerelease=I?I.split("."):e.emptyArray,this.build=b?b.split("."):e.emptyArray}return X.tryParse=function(G){var Z=x(G);if(Z){var E=Z.major,I=Z.minor,b=Z.patch,D=Z.prerelease,C=Z.build;return new X(E,I,b,D,C)}},X.prototype.compareTo=function(G){return this===G?0:G===void 0?1:e.compareValues(this.major,G.major)||e.compareValues(this.minor,G.minor)||e.compareValues(this.patch,G.patch)||V(this.prerelease,G.prerelease)},X.prototype.increment=function(G){switch(G){case"major":return new X(this.major+1,0,0);case"minor":return new X(this.major,this.minor+1,0);case"patch":return new X(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(G)}},X.prototype.toString=function(){var G="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return e.some(this.prerelease)&&(G+="-".concat(this.prerelease.join("."))),e.some(this.build)&&(G+="+".concat(this.build.join("."))),G},X.zero=new X(0,0,0),X}();e.Version=p;function x(X){var G=n.exec(X);if(G){var Z=G[1],E=G[2],I=E===void 0?"0":E,b=G[3],D=b===void 0?"0":b,C=G[4],_=C===void 0?"":C,d=G[5],h=d===void 0?"":d;if(!(_&&!c.test(_))&&!(h&&!f.test(h)))return{major:parseInt(Z,10),minor:parseInt(I,10),patch:parseInt(D,10),prerelease:_,build:h}}}function V(X,G){if(X===G)return 0;if(X.length===0)return G.length===0?0:1;if(G.length===0)return-1;for(var Z=Math.min(X.length,G.length),E=0;E|>=|=)?\s*([a-z0-9-+.*]+)$/i;function k(X){for(var G=[],Z=0,E=e.trimString(X).split(m);Z=",E.version)),N(I.major)||Z.push(N(I.minor)?w("<",I.version.increment("major")):N(I.patch)?w("<",I.version.increment("minor")):w("<=",I.version)),!0):!1}function B(X,G,Z){var E=S(G);if(!E)return!1;var I=E.version,b=E.major,D=E.minor,C=E.patch;if(N(b))(X==="<"||X===">")&&Z.push(w("<",p.zero));else switch(X){case"~":Z.push(w(">=",I)),Z.push(w("<",I.increment(N(D)?"major":"minor")));break;case"^":Z.push(w(">=",I)),Z.push(w("<",I.increment(I.major>0||N(D)?"major":I.minor>0||N(C)?"minor":"patch")));break;case"<":case">=":Z.push(w(X,I));break;case"<=":case">":Z.push(N(D)?w(X==="<="?"<":">=",I.increment("major")):N(C)?w(X==="<="?"<":">=",I.increment("minor")):w(X,I));break;case"=":case void 0:N(D)||N(C)?(Z.push(w(">=",I)),Z.push(w("<",I.increment(N(D)?"major":"minor")))):Z.push(w("=",I));break;default:return!1}return!0}function N(X){return X==="*"||X==="x"||X==="X"}function w(X,G){return{operator:X,operand:G}}function O(X,G){if(G.length===0)return!0;for(var Z=0,E=G;Z":return E>0;case">=":return E>=0;case"=":return E===0;default:return e.Debug.assertNever(G)}}function ee(X){return e.map(X,ne).join(" || ")||"*"}function ne(X){return e.map(X,M).join(" ")}function M(X){return"".concat(X.operator).concat(X.operand)}})(gr||(gr={}));var gr;(function(e){function n(V,g){return typeof V=="object"&&typeof V.timeOrigin=="number"&&typeof V.mark=="function"&&typeof V.measure=="function"&&typeof V.now=="function"&&typeof g=="function"}function c(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&n(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function f(){if(typeof process<"u"&&process.nextTick&&!process.browser&&typeof py=="object"&&typeof ed=="function")try{var V,g=ed("perf_hooks"),m=g.performance,A=g.PerformanceObserver;if(n(m,A)){V=m;var K=new e.Version(process.versions.node),ae=new e.VersionRange("<12.16.3 || 13 <13.13");return ae.test(K)&&(V={get timeOrigin(){return m.timeOrigin},now:function(){return m.now()},mark:function(y){return m.mark(y)},measure:function(y,k,S){k===void 0&&(k="nodeStart"),S===void 0&&(S="__performance.measure-fix__",m.mark(S)),m.measure(y,k,S),S==="__performance.measure-fix__"&&m.clearMarks("__performance.measure-fix__")}}),{shouldWriteNativeEvents:!1,performance:V,PerformanceObserver:A}}}catch{}}var a=c()||f(),p=a==null?void 0:a.performance;function x(){return a}e.tryGetNativePerformanceHooks=x,e.timestamp=p?function(){return p.now()}:Date.now?Date.now:function(){return+new Date}})(gr||(gr={}));var gr;(function(e){(function(n){var c,f;function a(w,O,U,Q){return w?p(O,U,Q):n.nullTimer}n.createTimerIf=a;function p(w,O,U){var Q=0;return{enter:ee,exit:ne};function ee(){++Q===1&&K(O)}function ne(){--Q===0?(K(U),ae(w,O,U)):Q<0&&e.Debug.fail("enter/exit count does not match.")}}n.createTimer=p,n.nullTimer={enter:e.noop,exit:e.noop};var x=!1,V=e.timestamp(),g=new e.Map,m=new e.Map,A=new e.Map;function K(w){var O;if(x){var U=(O=m.get(w))!==null&&O!==void 0?O:0;m.set(w,U+1),g.set(w,e.timestamp()),f==null||f.mark(w)}}n.mark=K;function ae(w,O,U){var Q,ee;if(x){var ne=(Q=U!==void 0?g.get(U):void 0)!==null&&Q!==void 0?Q:e.timestamp(),M=(ee=O!==void 0?g.get(O):void 0)!==null&&ee!==void 0?ee:V,X=A.get(w)||0;A.set(w,X+(ne-M)),f==null||f.measure(w,O,U)}}n.measure=ae;function y(w){return m.get(w)||0}n.getCount=y;function k(w){return A.get(w)||0}n.getDuration=k;function S(w){A.forEach(function(O,U){return w(U,O)})}n.forEachMeasure=S;function F(){return x}n.isEnabled=F;function B(w){var O;return w===void 0&&(w=e.sys),x||(x=!0,c||(c=e.tryGetNativePerformanceHooks()),c&&(V=c.performance.timeOrigin,(c.shouldWriteNativeEvents||!((O=w==null?void 0:w.cpuProfilingEnabled)===null||O===void 0)&&O.call(w)||w!=null&&w.debugMode)&&(f=c.performance))),!0}n.enable=B;function N(){x&&(g.clear(),m.clear(),A.clear(),f=void 0,x=!1)}n.disable=N})(e.performance||(e.performance={}))})(gr||(gr={}));var gr;(function(e){var n,c={logEvent:e.noop,logErrEvent:e.noop,logPerfEvent:e.noop,logInfoEvent:e.noop,logStartCommand:e.noop,logStopCommand:e.noop,logStartUpdateProgram:e.noop,logStopUpdateProgram:e.noop,logStartUpdateGraph:e.noop,logStopUpdateGraph:e.noop,logStartResolveModule:e.noop,logStopResolveModule:e.noop,logStartParseSourceFile:e.noop,logStopParseSourceFile:e.noop,logStartReadFile:e.noop,logStopReadFile:e.noop,logStartBindFile:e.noop,logStopBindFile:e.noop,logStartScheduledOperation:e.noop,logStopScheduledOperation:e.noop},f;try{var a=(n={}.TS_ETW_MODULE_PATH)!==null&&n!==void 0?n:"./node_modules/@microsoft/typescript-etw";f=ed(a)}catch{f=void 0}e.perfLogger=f&&f.logEvent?f:c})(gr||(gr={}));var gr;(function(e){var n;(function(c){var f,a=0,p=0,x,V=[],g,m=[];function A(ne,M,X){if(e.Debug.assert(!e.tracing,"Tracing already started"),f===void 0)try{f=ed("fs")}catch(b){throw new Error(`tracing requires having fs (original error: `.concat(b.message||b,")"))}x=ne,V.length=0,g===void 0&&(g=e.combinePaths(M,"legend.json")),f.existsSync(M)||f.mkdirSync(M,{recursive:!0});var G=x==="build"?".".concat(process.pid,"-").concat(++a):x==="server"?".".concat(process.pid):"",Z=e.combinePaths(M,"trace".concat(G,".json")),E=e.combinePaths(M,"types".concat(G,".json"));m.push({configFilePath:X,tracePath:Z,typesPath:E}),p=f.openSync(Z,"w"),e.tracing=c;var I={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};f.writeSync(p,`[ `+[On({name:"process_name",args:{name:"tsc"}},I),On({name:"thread_name",args:{name:"Main"}},I),On(On({name:"TracingStartedInBrowser"},I),{cat:"disabled-by-default-devtools.timeline"})].map(function(b){return JSON.stringify(b)}).join(`, `))}c.startTracing=A;function K(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!V.length==(x!=="server")),f.writeSync(p,` ] `),f.closeSync(p),e.tracing=void 0,V.length?Q(V):m[m.length-1].typesPath=void 0}c.stopTracing=K;function ae(ne){x!=="server"&&V.push(ne)}c.recordType=ae,function(ne){ne.Parse="parse",ne.Program="program",ne.Bind="bind",ne.Check="check",ne.CheckTypes="checkTypes",ne.Emit="emit",ne.Session="session"}(c.Phase||(c.Phase={}));function y(ne,M,X){O("I",ne,M,X,'"s":"g"')}c.instant=y;var k=[];function S(ne,M,X,G){G===void 0&&(G=!1),G&&O("B",ne,M,X),k.push({phase:ne,name:M,args:X,time:1e3*e.timestamp(),separateBeginAndEnd:G})}c.push=S;function F(){e.Debug.assert(k.length>0),w(k.length-1,1e3*e.timestamp()),k.length--}c.pop=F;function B(){for(var ne=1e3*e.timestamp(),M=k.length-1;M>=0;M--)w(M,ne);k.length=0}c.popAll=B;var N=1e3*10;function w(ne,M){var X=k[ne],G=X.phase,Z=X.name,E=X.args,I=X.time,b=X.separateBeginAndEnd;b?O("E",G,Z,E,void 0,M):N-I%N<=M-I&&O("X",G,Z,E,'"dur":'.concat(M-I),I)}function O(ne,M,X,G,Z,E){E===void 0&&(E=1e3*e.timestamp()),!(x==="server"&&M==="checkTypes")&&(e.performance.mark("beginTracing"),f.writeSync(p,`, {"pid":1,"tid":1,"ph":"`.concat(ne,'","cat":"').concat(M,'","ts":').concat(E,',"name":"').concat(X,'"')),Z&&f.writeSync(p,",".concat(Z)),G&&f.writeSync(p,',"args":'.concat(JSON.stringify(G))),f.writeSync(p,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function U(ne){var M=e.getSourceFileOfNode(ne);return M?{path:M.path,start:X(e.getLineAndCharacterOfPosition(M,ne.pos)),end:X(e.getLineAndCharacterOfPosition(M,ne.end))}:void 0;function X(G){return{line:G.line+1,character:G.character+1}}}function Q(ne){var M,X,G,Z,E,I,b,D,C,_,d,h,P,te,ce,q,J,Te,Ae,R,Y,j;e.performance.mark("beginDumpTypes");var z=m[m.length-1].typesPath,Ee=f.openSync(z,"w"),_e=new e.Map;f.writeSync(Ee,"[");for(var ke=ne.length,Pe=0;Pe0}e.isRootedDiskPath=p;function x(ge){var Be=F(ge);return Be>0&&Be===ge.length}e.isDiskPathRoot=x;function V(ge){return F(ge)!==0}e.pathIsAbsolute=V;function g(ge){return/^\.\.?($|[\\/])/.test(ge)}e.pathIsRelative=g;function m(ge){return!V(ge)&&!g(ge)}e.pathIsBareSpecifier=m;function A(ge){return e.stringContains(w(ge),".")}e.hasExtension=A;function K(ge,Be){return ge.length>Be.length&&e.endsWith(ge,Be)}e.fileExtensionIs=K;function ae(ge,Be){for(var de=0,De=Be;de0&&f(ge.charCodeAt(ge.length-1))}e.hasTrailingDirectorySeparator=y;function k(ge){return ge>=97&&ge<=122||ge>=65&&ge<=90}function S(ge,Be){var de=ge.charCodeAt(Be);if(de===58)return Be+1;if(de===37&&ge.charCodeAt(Be+1)===51){var De=ge.charCodeAt(Be+2);if(De===97||De===65)return Be+3}return-1}function F(ge){if(!ge)return 0;var Be=ge.charCodeAt(0);if(Be===47||Be===92){if(ge.charCodeAt(1)!==Be)return 1;var de=ge.indexOf(Be===47?e.directorySeparator:e.altDirectorySeparator,2);return de<0?ge.length:de+1}if(k(Be)&&ge.charCodeAt(1)===58){var De=ge.charCodeAt(2);if(De===47||De===92)return 3;if(ge.length===2)return 2}var qe=ge.indexOf(n);if(qe!==-1){var Xe=qe+n.length,Se=ge.indexOf(e.directorySeparator,Xe);if(Se!==-1){var Le=ge.slice(0,qe),Ye=ge.slice(Xe,Se);if(Le==="file"&&(Ye===""||Ye==="localhost")&&k(ge.charCodeAt(Se+1))){var Dr=S(ge,Se+2);if(Dr!==-1){if(ge.charCodeAt(Dr)===47)return~(Dr+1);if(Dr===ge.length)return~Dr}}return~(Se+1)}return~ge.length}return 0}function B(ge){var Be=F(ge);return Be<0?~Be:Be}e.getRootLength=B;function N(ge){ge=X(ge);var Be=B(ge);return Be===ge.length?ge:(ge=P(ge),ge.slice(0,Math.max(Be,ge.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=N;function w(ge,Be,de){ge=X(ge);var De=B(ge);if(De===ge.length)return"";ge=P(ge);var qe=ge.slice(Math.max(B(ge),ge.lastIndexOf(e.directorySeparator)+1)),Xe=Be!==void 0&&de!==void 0?Q(qe,Be,de):void 0;return Xe?qe.slice(0,qe.length-Xe.length):qe}e.getBaseFileName=w;function O(ge,Be,de){if(e.startsWith(Be,".")||(Be="."+Be),ge.length>=Be.length&&ge.charCodeAt(ge.length-Be.length)===46){var De=ge.slice(ge.length-Be.length);if(de(De,Be))return De}}function U(ge,Be,de){if(typeof Be=="string")return O(ge,Be,de)||"";for(var De=0,qe=Be;De=0?De.substring(qe):""}e.getAnyExtensionFromPath=Q;function ee(ge,Be){var de=ge.substring(0,Be),De=ge.substring(Be).split(e.directorySeparator);return De.length&&!e.lastOrUndefined(De)&&De.pop(),Gt([de],De,!0)}function ne(ge,Be){return Be===void 0&&(Be=""),ge=Z(Be,ge),ee(ge,B(ge))}e.getPathComponents=ne;function M(ge){if(ge.length===0)return"";var Be=ge[0]&&te(ge[0]);return Be+ge.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=M;function X(ge){var Be=ge.indexOf("\\");return Be===-1?ge:(c.lastIndex=Be,ge.replace(c,e.directorySeparator))}e.normalizeSlashes=X;function G(ge){if(!e.some(ge))return[];for(var Be=[ge[0]],de=1;de1){if(Be[Be.length-1]!==".."){Be.pop();continue}}else if(Be[0])continue}Be.push(De)}}return Be}e.reducePathComponents=G;function Z(ge){for(var Be=[],de=1;de0==B(Be)>0,"Paths must either both be absolute or both be relative");var De=typeof de=="function"?de:e.identity,qe=typeof de=="boolean"?de:!1,Xe=Ee(ge,Be,qe?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,De);return M(Xe)}e.getRelativePathFromDirectory=_e;function ke(ge,Be,de){return p(ge)?Ie(Be,ge,Be,de,!1):ge}e.convertToRelativePath=ke;function Pe(ge,Be,de){return ce(_e(N(ge),Be,de))}e.getRelativePathFromFile=Pe;function Ie(ge,Be,de,De,qe){var Xe=Ee(E(de,ge),E(de,Be),e.equateStringsCaseSensitive,De),Se=Xe[0];if(qe&&p(Se)){var Le=Se.charAt(0)===e.directorySeparator?"file://":"file:///";Xe[0]=Le+Se}return M(Xe)}e.getRelativePathToDirectoryOrUrl=Ie;function Fe(ge,Be){for(;;){var de=Be(ge);if(de!==void 0)return de;var De=N(ge);if(De===ge)return;ge=De}}e.forEachAncestorDirectory=Fe;function ve(ge){return e.endsWith(ge,"/node_modules")}e.isNodeModulesDirectory=ve})(gr||(gr={}));var gr;(function(e){function n(G){for(var Z=5381,E=0;E"u")){var G=process.version;if(G){var Z=G.indexOf(".");if(Z!==-1)return parseInt(G.substring(1,Z))}}}e.getNodeMajorVersion=M,e.sys=function(){var G="\uFEFF";function Z(){var I,b=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,D=ed("fs"),C=ed("path"),_=ed("os"),d;try{d=ed("crypto")}catch{d=void 0}var h,P="./profile.cpuprofile",te=!1,ce=ed("buffer").Buffer,q=M(),J=q>=4,Te=process.platform==="linux"||process.platform==="darwin",Ae=_.platform(),R=de(),Y=(I=D.realpathSync.native)!==null&&I!==void 0?I:D.realpathSync,j=J&&(process.platform==="win32"||process.platform==="darwin"),z=e.memoize(function(){return process.cwd()}),Ee=ee({pollingWatchFile:k(qe,R),getModifiedTime:Hr,setTimeout,clearTimeout,fsWatch:Xe,useCaseSensitiveFileNames:R,getCurrentDirectory:z,fileExists:Cr,fsSupportsRecursiveFsWatch:j,directoryExists:Rr,getAccessibleSortedChildDirectories:function(xe){return Dr(xe).directories},realpath:Me,tscWatchFile:{}.TSC_WATCHFILE,useNonPollingWatchers:{}.TSC_NONPOLLING_WATCHER,tscWatchDirectory:{}.TSC_WATCHDIRECTORY,defaultWatchFileKind:function(){var xe,Je;return(Je=(xe=E).defaultWatchFileKind)===null||Je===void 0?void 0:Je.call(xe)}}),_e=Ee.watchFile,ke=Ee.watchDirectory,Pe={args:process.argv.slice(2),newLine:_.EOL,useCaseSensitiveFileNames:R,write:function(xe){process.stdout.write(xe)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:Le,writeFile:Ye,watchFile:_e,watchDirectory:ke,resolvePath:function(xe){return C.resolve(xe)},fileExists:Cr,directoryExists:Rr,createDirectory:function(xe){if(!Pe.directoryExists(xe))try{D.mkdirSync(xe)}catch(Je){if(Je.code!=="EEXIST")throw Je}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:z,getDirectories:Ke,getEnvironmentVariable:function(xe){return process.env[xe]||""},readDirectory:br,getModifiedTime:Hr,setModifiedTime:cr,deleteFile:vr,createHash:d?fe:n,createSHA256Hash:d?fe:void 0,getMemoryUsage:function(){return global.gc&&global.gc(),process.memoryUsage().heapUsed},getFileSize:function(xe){try{var Je=Ie(xe);if(Je!=null&&Je.isFile())return Je.size}catch{}return 0},exit:function(xe){ge(function(){return process.exit(xe)})},enableCPUProfiler:Fe,disableCPUProfiler:ge,cpuProfilingEnabled:function(){return!!h||e.contains(process.execArgv,"--cpu-prof")||e.contains(process.execArgv,"--prof")},realpath:Me,debugMode:!!{}.NODE_INSPECTOR_IPC||!!{}.VSCODE_INSPECTOR_OPTIONS||e.some(process.execArgv,function(xe){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(xe)}),tryEnableSourceMapsForHost:function(){try{ed("source-map-support").install()}catch{}},setTimeout,clearTimeout,clearScreen:function(){process.stdout.write("\x1Bc")},setBlocking:function(){process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking&&process.stdout._handle.setBlocking(!0)},bufferFrom:Be,base64decode:function(xe){return Be(xe,"base64").toString("utf8")},base64encode:function(xe){return Be(xe).toString("base64")},require:function(xe,Je){try{var pr=e.resolveJSModule(Je,xe,Pe);return{module:ed(pr),modulePath:pr,error:void 0}}catch(kr){return{module:void 0,modulePath:void 0,error:kr}}}};return Pe;function Ie(xe){return D.statSync(xe,{throwIfNoEntry:!1})}function Fe(xe,Je){if(h)return Je(),!1;var pr=ed("inspector");if(!pr||!pr.Session)return Je(),!1;var kr=new pr.Session;return kr.connect(),kr.post("Profiler.enable",function(){kr.post("Profiler.start",function(){h=kr,P=xe,Je()})}),!0}function ve(xe){for(var Je=0,pr=new e.Map,kr=e.normalizeSlashes(__dirname),Ve="file://".concat(e.getRootLength(kr)===1?"":"/").concat(kr),ur=0,Wr=xe.nodes;ur=2&&pr[0]===254&&pr[1]===255){kr&=-2;for(var Ve=0;Ve=2&&pr[0]===255&&pr[1]===254?pr.toString("utf16le",2):kr>=3&&pr[0]===239&&pr[1]===187&&pr[2]===191?pr.toString("utf8",3):pr.toString("utf8")}function Le(xe,Je){e.perfLogger.logStartReadFile(xe);var pr=Se(xe);return e.perfLogger.logStopReadFile(),pr}function Ye(xe,Je,pr){e.perfLogger.logEvent("WriteFile: "+xe),pr&&(Je=G+Je);var kr;try{kr=D.openSync(xe,"w"),D.writeSync(kr,Je,void 0,"utf8")}finally{kr!==void 0&&D.closeSync(kr)}}function Dr(xe){e.perfLogger.logEvent("ReadDir: "+(xe||"."));try{for(var Je=D.readdirSync(xe||".",{withFileTypes:!0}),pr=[],kr=[],Ve=0,ur=Je;Ve type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1103,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:n(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:n(1106,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:n(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:n(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:n(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202",`Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:n(1205,e.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:n(1208,e.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:n(1210,e.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:n(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:n(1231,e.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:n(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:n(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:n(1258,e.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:n(1261,e.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:n(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n(1263,e.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:n(1264,e.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:n(1265,e.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:n(1266,e.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:n(1267,e.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:n(1268,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1308,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:n(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext:n(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext:n(1324,e.DiagnosticCategory.Error,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext'."),Argument_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node12_or_nodenext:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:n(1361,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:n(1362,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:n(1363,e.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:n(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:n(1365,e.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:n(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:n(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:n(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:n(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:n(1373,e.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:n(1374,e.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:n(1375,e.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:n(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:n(1377,e.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:n(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:n(1379,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:n(1380,e.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:n(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:n(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:n(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:n(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:n(1389,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:n(1390,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:n(1392,e.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:n(1393,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:n(1394,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:n(1395,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:n(1396,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:n(1397,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:n(1398,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:n(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:n(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:n(1401,e.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:n(1402,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:n(1403,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:n(1404,e.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:n(1405,e.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:n(1406,e.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:n(1407,e.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:n(1408,e.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:n(1409,e.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:n(1410,e.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:n(1411,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:n(1412,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:n(1413,e.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:n(1414,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:n(1415,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:n(1416,e.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:n(1417,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:n(1418,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:n(1419,e.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:n(1420,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:n(1421,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:n(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:n(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:n(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:n(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:n(1426,e.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:n(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:n(1428,e.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:n(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:n(1430,e.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:n(1431,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:n(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:n(1433,e.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:n(1434,e.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:n(1435,e.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:n(1436,e.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:n(1437,e.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:n(1438,e.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:n(1439,e.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:n(1440,e.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:n(1441,e.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:n(1442,e.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:n(1443,e.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:n(1444,e.DiagnosticCategory.Error,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:n(1446,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled:n(1448,e.DiagnosticCategory.Error,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:n(1449,e.DiagnosticCategory.Message,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:n(1450,e.DiagnosticCategory.Message,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:n(1451,e.DiagnosticCategory.Error,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:n(1470,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead:n(1471,e.DiagnosticCategory.Error,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead."),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:n(2206,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:n(2207,e.DiagnosticCategory.Error,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:n(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:n(2329,e.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360","The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:n(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:n(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:n(2374,e.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:n(2375,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:n(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:n(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:n(2379,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:n(2380,e.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:n(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:n(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:n(2412,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:n(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:n(2413,e.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:n(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:n(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:n(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:n(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:n(2459,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:n(2460,e.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:n(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:n(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:n(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:n(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:n(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:n(2550,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:n(2556,e.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:n(2568,e.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:n(2570,e.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:n(2576,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:n(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:n(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:n(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:n(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:n(2610,e.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:n(2611,e.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:n(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:n(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:n(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:n(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:n(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:n(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:n(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:n(2623,e.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:n(2624,e.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:n(2625,e.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:n(2626,e.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:n(2627,e.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:n(2628,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:n(2629,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:n(2630,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:n(2631,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:n(2632,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:n(2633,e.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:n(2634,e.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:n(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:n(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:n(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:n(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:n(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:n(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:n(2690,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:n(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:n(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713",`Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:n(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:n(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:n(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:n(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:n(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:n(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:n(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:n(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:n(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:n(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:n(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:n(2793,e.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:n(2794,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:n(2795,e.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:n(2796,e.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:n(2797,e.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:n(2798,e.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:n(2799,e.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:n(2800,e.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:n(2801,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:n(2802,e.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:n(2803,e.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:n(2804,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:n(2805,e.DiagnosticCategory.Error,"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805","Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag."),Private_accessor_was_defined_without_a_getter:n(2806,e.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:n(2807,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:n(2808,e.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:n(2809,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:n(2810,e.DiagnosticCategory.Error,"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810","Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'."),Initializer_for_property_0:n(2811,e.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:n(2812,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:n(2813,e.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:n(2814,e.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:n(2815,e.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:n(2816,e.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:n(2817,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:n(2818,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:n(2819,e.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:n(2820,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext:n(2821,e.DiagnosticCategory.Error,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821","Import assertions are only supported when the '--module' option is set to 'esnext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:n(2822,e.DiagnosticCategory.Error,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:n(2833,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path:n(2834,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0:n(2835,e.DiagnosticCategory.Error,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?"),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:n(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:n(4084,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:n(4111,e.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:n(4112,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:n(4113,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:n(4114,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:n(4115,e.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:n(4116,e.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:n(4117,e.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:n(4118,e.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:n(4119,e.DiagnosticCategory.Error,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:n(4120,e.DiagnosticCategory.Error,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:n(4121,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:n(4122,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:n(4123,e.DiagnosticCategory.Error,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:n(4124,e.DiagnosticCategory.Error,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:n(5025,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:n(5077,e.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:n(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:n(5079,e.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:n(5080,e.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:n(5081,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:n(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:n(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:n(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:n(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:n(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:n(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:n(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:n(5089,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:n(5090,e.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:n(5091,e.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:n(5092,e.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:n(5093,e.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:n(5094,e.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later:n(5095,e.DiagnosticCategory.Error,"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:n(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:n(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:n(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:n(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:n(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:n(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:n(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:n(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:n(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:n(6184,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:n(6224,e.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:n(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:n(6226,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:n(6227,e.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:n(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:n(6230,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:n(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:n(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:n(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:n(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:n(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:n(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:n(6237,e.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:n(6238,e.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:n(6239,e.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:n(6240,e.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:n(6241,e.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:n(6242,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:n(6243,e.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:n(6244,e.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:n(6245,e.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:n(6246,e.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:n(6247,e.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:n(6248,e.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:n(6249,e.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:n(6250,e.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:n(6251,e.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:n(6252,e.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:n(6253,e.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:n(6254,e.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:n(6255,e.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:n(6256,e.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:n(6257,e.DiagnosticCategory.Message,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:n(6258,e.DiagnosticCategory.Error,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:n(6270,e.DiagnosticCategory.Message,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:n(6271,e.DiagnosticCategory.Message,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:n(6272,e.DiagnosticCategory.Message,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:n(6273,e.DiagnosticCategory.Message,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:n(6274,e.DiagnosticCategory.Message,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:n(6275,e.DiagnosticCategory.Message,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:n(6276,e.DiagnosticCategory.Message,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306",`Referenced project '{0}' must have setting "composite": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:n(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:n(6384,e.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:n(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:n(6386,e.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:n(6387,e.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:n(6388,e.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:n(6389,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:n(6390,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:n(6391,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:n(6392,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:n(6393,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:n(6394,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:n(6395,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:n(6396,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:n(6397,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:n(6398,e.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:n(6504,e.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:n(6505,e.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:n(6506,e.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:n(6600,e.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:n(6601,e.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:n(6602,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:n(6603,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:n(6604,e.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:n(6605,e.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:n(6606,e.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:n(6607,e.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:n(6608,e.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:n(6609,e.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:n(6611,e.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:n(6612,e.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:n(6613,e.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:n(6614,e.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:n(6615,e.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:n(6616,e.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:n(6617,e.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:n(6618,e.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:n(6619,e.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:n(6620,e.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:n(6621,e.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6622,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:n(6623,e.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:n(6624,e.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:n(6625,e.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:n(6626,e.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:n(6627,e.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:n(6628,e.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:n(6629,e.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:n(6630,e.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:n(6631,e.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:n(6632,e.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:n(6633,e.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:n(6634,e.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:n(6635,e.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6636,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:n(6637,e.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:n(6638,e.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:n(6639,e.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:n(6641,e.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:n(6642,e.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:n(6643,e.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:n(6644,e.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:n(6645,e.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:n(6646,e.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:n(6647,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:n(6648,e.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:n(6649,e.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:n(6650,e.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:n(6651,e.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:n(6652,e.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:n(6653,e.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:n(6654,e.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6655,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:n(6656,e.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:n(6657,e.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:n(6658,e.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:n(6659,e.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:n(6660,e.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:n(6661,e.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:n(6662,e.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:n(6663,e.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:n(6664,e.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:n(6665,e.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:n(6666,e.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:n(6667,e.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:n(6668,e.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:n(6669,e.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:n(6670,e.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:n(6671,e.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:n(6672,e.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:n(6673,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:n(6674,e.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:n(6675,e.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:n(6676,e.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:n(6677,e.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:n(6678,e.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:n(6679,e.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:n(6680,e.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:n(6681,e.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:n(6682,e.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:n(6683,e.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:n(6684,e.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:n(6685,e.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:n(6686,e.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:n(6687,e.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:n(6688,e.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:n(6689,e.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:n(6690,e.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:n(6691,e.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:n(6692,e.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:n(6693,e.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:n(6694,e.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:n(6695,e.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:n(6697,e.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:n(6698,e.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:n(6699,e.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:n(6700,e.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:n(6701,e.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:n(6702,e.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:n(6703,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:n(6704,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:n(6705,e.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:n(6706,e.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:n(6707,e.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:n(6709,e.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:n(6710,e.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:n(6711,e.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:n(6712,e.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:n(6713,e.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:n(6714,e.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:n(6715,e.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:n(6716,e.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:n(6717,e.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:n(6718,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:n(6803,e.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:n(6900,e.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:n(6901,e.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:n(6902,e.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:n(6903,e.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:n(6904,e.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:n(6905,e.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:n(6906,e.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:n(6907,e.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:n(6908,e.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:n(6909,e.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:n(69010,e.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:n(6911,e.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:n(6912,e.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:n(6913,e.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:n(6914,e.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:n(6915,e.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:n(6916,e.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:n(6917,e.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:n(6918,e.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:n(6919,e.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:n(6920,e.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:n(6921,e.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:n(6922,e.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:n(6923,e.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:n(6924,e.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:n(6925,e.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:n(6926,e.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:n(6927,e.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:n(6928,e.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:n(6929,e.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:n(6930,e.DiagnosticCategory.Message,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:n(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:n(7056,e.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:n(7057,e.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:n(7058,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:n(7059,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:n(7060,e.DiagnosticCategory.Error,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:n(7061,e.DiagnosticCategory.Error,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),JSON_imports_are_experimental_in_ES_module_mode_imports:n(7062,e.DiagnosticCategory.Error,"JSON_imports_are_experimental_in_ES_module_mode_imports_7062","JSON imports are experimental in ES module mode imports."),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:n(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:n(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:n(8004,e.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:n(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:n(8006,e.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:n(8008,e.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:n(8009,e.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:n(8010,e.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:n(8011,e.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:n(8012,e.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:n(8013,e.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:n(8016,e.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:n(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:n(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:n(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:n(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:n(17018,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:n(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013",`Import '{0}' from module "{1}"`),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015",`Add '{0}' to existing import declaration from "{1}"`),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032",`Import default '{0}' from module "{1}"`),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033",`Add default import '{0}' to existing import declaration from "{1}"`),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:n(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:n(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:n(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:n(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:n(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:n(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:n(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:n(90054,e.DiagnosticCategory.Message,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:n(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:n(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:n(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:n(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:n(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:n(95097,e.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:n(95098,e.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:n(95099,e.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:n(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:n(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_function_expression_0_to_arrow_function:n(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:n(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:n(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:n(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:n(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:n(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:n(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:n(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:n(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:n(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:n(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:n(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:n(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:n(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:n(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:n(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:n(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:n(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:n(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:n(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:n(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:n(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:n(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:n(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:n(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:n(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:n(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:n(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:n(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:n(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:n(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:n(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:n(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:n(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:n(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:n(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:n(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:n(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:n(95143,e.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:n(95144,e.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:n(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:n(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:n(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:n(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:n(95149,e.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:n(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:n(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:n(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:n(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:n(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:n(95155,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:n(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:n(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:n(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:n(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:n(95160,e.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:n(95161,e.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:n(95162,e.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:n(95163,e.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:n(95164,e.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:n(95165,e.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:n(95166,e.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:n(95167,e.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:n(95168,e.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:n(95169,e.DiagnosticCategory.Message,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:n(18009,e.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:n(18010,e.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:n(18011,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:n(18012,e.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:n(18013,e.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:n(18014,e.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:n(18015,e.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:n(18016,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:n(18017,e.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:n(18018,e.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:n(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:n(18024,e.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:n(18026,e.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:n(18027,e.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:n(18028,e.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:n(18029,e.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:n(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:n(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:n(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:n(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:n(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:n(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:n(18036,e.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:n(18037,e.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:n(18038,e.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:n(18039,e.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:n(18041,e.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(gr||(gr={}));var gr;(function(e){var n;function c(Le){return Le>=79}e.tokenIsIdentifierOrKeyword=c;function f(Le){return Le===31||c(Le)}e.tokenIsIdentifierOrKeywordOrGreaterThan=f,e.textToKeywordObj=(n={abstract:126,any:130,as:127,asserts:128,assert:129,bigint:157,boolean:133,break:81,case:82,catch:83,class:84,continue:86,const:85},n.constructor=134,n.debugger=87,n.declare=135,n.default=88,n.delete=89,n.do=90,n.else=91,n.enum=92,n.export=93,n.extends=94,n.false=95,n.finally=96,n.for=97,n.from=155,n.function=98,n.get=136,n.if=99,n.implements=117,n.import=100,n.in=101,n.infer=137,n.instanceof=102,n.interface=118,n.intrinsic=138,n.is=139,n.keyof=140,n.let=119,n.module=141,n.namespace=142,n.never=143,n.new=103,n.null=104,n.number=146,n.object=147,n.package=120,n.private=121,n.protected=122,n.public=123,n.override=158,n.readonly=144,n.require=145,n.global=156,n.return=105,n.set=148,n.static=124,n.string=149,n.super=106,n.switch=107,n.symbol=150,n.this=108,n.throw=109,n.true=110,n.try=111,n.type=151,n.typeof=112,n.undefined=152,n.unique=153,n.unknown=154,n.var=113,n.void=114,n.while=115,n.with=116,n.yield=125,n.async=131,n.await=132,n.of=159,n);var a=new e.Map(e.getEntries(e.textToKeywordObj)),p=new e.Map(e.getEntries(On(On({},e.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61}))),x=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],V=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],g=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],m=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],A=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],K=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],ae=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,y=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function k(Le,Ye){if(Le=2?k(Le,A):Ye===1?k(Le,g):k(Le,x)}e.isUnicodeIdentifierStart=S;function F(Le,Ye){return Ye>=2?k(Le,K):Ye===1?k(Le,m):k(Le,V)}function B(Le){var Ye=[];return Le.forEach(function(Dr,br){Ye[Dr]=br}),Ye}var N=B(p);function w(Le){return N[Le]}e.tokenToString=w;function O(Le){return p.get(Le)}e.stringToToken=O;function U(Le){for(var Ye=new Array,Dr=0,br=0;Dr127&&b(or)&&(Ye.push(br),br=Dr);break}}return Ye.push(br),Ye}e.computeLineStarts=U;function Q(Le,Ye,Dr,br){return Le.getPositionOfLineAndCharacter?Le.getPositionOfLineAndCharacter(Ye,Dr,br):ee(ne(Le),Ye,Dr,Le.text,br)}e.getPositionOfLineAndCharacter=Q;function ee(Le,Ye,Dr,br,or){(Ye<0||Ye>=Le.length)&&(or?Ye=Ye<0?0:Ye>=Le.length?Le.length-1:Ye:e.Debug.fail("Bad line number. Line: ".concat(Ye,", lineStarts.length: ").concat(Le.length," , line map is correct? ").concat(br!==void 0?e.arraysEqual(Le,U(br)):"unknown")));var Cr=Le[Ye]+Dr;return or?Cr>Le[Ye+1]?Le[Ye+1]:typeof br=="string"&&Cr>br.length?br.length:Cr:(Ye=8192&&Le<=8203||Le===8239||Le===8287||Le===12288||Le===65279}e.isWhiteSpaceSingleLine=I;function b(Le){return Le===10||Le===13||Le===8232||Le===8233}e.isLineBreak=b;function D(Le){return Le>=48&&Le<=57}function C(Le){return D(Le)||Le>=65&&Le<=70||Le>=97&&Le<=102}function _(Le){return Le<=1114111}function d(Le){return Le>=48&&Le<=55}e.isOctalDigit=d;function h(Le,Ye){var Dr=Le.charCodeAt(Ye);switch(Dr){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return Ye===0;default:return Dr>127}}e.couldStartTrivia=h;function P(Le,Ye,Dr,br,or){if(e.positionIsSynthesized(Ye))return Ye;for(var Cr=!1;;){var Rr=Le.charCodeAt(Ye);switch(Rr){case 13:Le.charCodeAt(Ye+1)===10&&Ye++;case 10:if(Ye++,Dr)return Ye;Cr=!!or;continue;case 9:case 11:case 12:case 32:Ye++;continue;case 47:if(br)break;if(Le.charCodeAt(Ye+1)===47){for(Ye+=2;Ye127&&E(Rr)){Ye++;continue}break}return Ye}}e.skipTrivia=P;var te=7;function ce(Le,Ye){if(e.Debug.assert(Ye>=0),Ye===0||b(Le.charCodeAt(Ye-1))){var Dr=Le.charCodeAt(Ye);if(Ye+te=0&&Dr127&&E(pr)){vr&&b(pr)&&(cr=!0),Dr++;continue}break e}}return vr&&(xe=or(Ke,Me,Hr,cr,Cr,xe)),xe}function Y(Le,Ye,Dr,br){return R(!1,Le,Ye,!1,Dr,br)}e.forEachLeadingCommentRange=Y;function j(Le,Ye,Dr,br){return R(!1,Le,Ye,!0,Dr,br)}e.forEachTrailingCommentRange=j;function z(Le,Ye,Dr,br,or){return R(!0,Le,Ye,!1,Dr,br,or)}e.reduceEachLeadingCommentRange=z;function Ee(Le,Ye,Dr,br,or){return R(!0,Le,Ye,!0,Dr,br,or)}e.reduceEachTrailingCommentRange=Ee;function _e(Le,Ye,Dr,br,or,Cr){return Cr||(Cr=[]),Cr.push({kind:Dr,pos:Le,end:Ye,hasTrailingNewLine:br}),Cr}function ke(Le,Ye){return z(Le,Ye,_e,void 0,void 0)}e.getLeadingCommentRanges=ke;function Pe(Le,Ye){return Ee(Le,Ye,_e,void 0,void 0)}e.getTrailingCommentRanges=Pe;function Ie(Le){var Ye=J.exec(Le);if(Ye)return Ye[0]}e.getShebang=Ie;function Fe(Le,Ye){return Le>=65&&Le<=90||Le>=97&&Le<=122||Le===36||Le===95||Le>127&&S(Le,Ye)}e.isIdentifierStart=Fe;function ve(Le,Ye,Dr){return Le>=65&&Le<=90||Le>=97&&Le<=122||Le>=48&&Le<=57||Le===36||Le===95||(Dr===1?Le===45||Le===58:!1)||Le>127&&F(Le,Ye)}e.isIdentifierPart=ve;function ge(Le,Ye,Dr){var br=de(Le,0);if(!Fe(br,Ye))return!1;for(var or=De(br);or116},isReservedWord:function(){return fe>=81&&fe<=116},isUnterminated:function(){return(Je&4)!==0},getCommentDirectives:function(){return pr},getNumericLiteralFlags:function(){return Je&1008},getTokenFlags:function(){return Je},reScanGreaterToken:Ne,reScanAsteriskEqualsToken:me,reScanSlashToken:Ze,reScanTemplateToken:dr,reScanTemplateHeadOrNoSubstitutionTemplate:et,scanJsxIdentifier:zr,scanJsxAttributeValue:gt,reScanJsxAttributeValue:vt,reScanJsxToken:yt,reScanLessThanToken:jr,reScanHashToken:rr,reScanQuestionToken:Ir,reScanInvalidIdentifier:We,scanJsxToken:Or,scanJsDocToken:ut,scan:be,getText:_t,clearCommentDirectives:rn,setText:sa,setScriptTarget:Kn,setLanguageVariant:na,setOnError:ba,setTextPos:jn,setInJSDocType:en,tryScan:Qt,lookAhead:wt,scanRange:xt};return e.Debug.isDebugging&&Object.defineProperty(Ve,"__debugShowCurrentPositionInText",{get:function(){var St=Ve.getText();return St.slice(0,Ve.getStartPos())+"║"+St.slice(Ve.getStartPos())}}),Ve;function ur(St,Ut,qt){if(Ut===void 0&&(Ut=Me),or){var Mn=Me;Me=Ut,or(St,qt||0),Me=Mn}}function Wr(){for(var St=Me,Ut=!1,qt=!1,Mn="";;){var dn=Ke.charCodeAt(Me);if(dn===95){Je|=512,Ut?(Ut=!1,qt=!0,Mn+=Ke.substring(St,Me)):ur(qt?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Me,1),Me++,St=Me;continue}if(D(dn)){Ut=!0,qt=!1,Me++;continue}break}return Ke.charCodeAt(Me-1)===95&&ur(e.Diagnostics.Numeric_separators_are_not_allowed_here,Me-1,1),Mn+Ke.substring(St,Me)}function He(){var St=Me,Ut=Wr(),qt,Mn;Ke.charCodeAt(Me)===46&&(Me++,qt=Wr());var dn=Me;if(Ke.charCodeAt(Me)===69||Ke.charCodeAt(Me)===101){Me++,Je|=16,(Ke.charCodeAt(Me)===43||Ke.charCodeAt(Me)===45)&&Me++;var oa=Me,pt=Wr();pt?(Mn=Ke.substring(dn,oa)+pt,dn=Me):ur(e.Diagnostics.Digit_expected)}var mt;if(Je&512?(mt=Ut,qt&&(mt+="."+qt),Mn&&(mt+=Mn)):mt=Ke.substring(St,dn),qt!==void 0||Je&16)return Lr(St,qt===void 0&&!!(Je&16)),{type:8,value:""+ +mt};xe=mt;var Mt=je();return Lr(St),{type:Mt,value:xe}}function Lr(St,Ut){if(Fe(de(Ke,Me),Le)){var qt=Me,Mn=he().length;Mn===1&&Ke[qt]==="n"?ur(Ut?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,St,qt-St+1):(ur(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,qt,Mn),Me=qt)}}function qr(){for(var St=Me;d(Ke.charCodeAt(Me));)Me++;return+Ke.substring(St,Me)}function lt(St,Ut){var qt=Rt(St,!1,Ut);return qt?parseInt(qt,16):-1}function rt(St,Ut){return Rt(St,!0,Ut)}function Rt(St,Ut,qt){for(var Mn=[],dn=!1,oa=!1;Mn.length=65&&pt<=70)pt+=97-65;else if(!(pt>=48&&pt<=57||pt>=97&&pt<=102))break;Mn.push(pt),Me++,oa=!1}return Mn.length=Hr){qt+=Ke.substring(Mn,Me),Je|=4,ur(e.Diagnostics.Unterminated_string_literal);break}var dn=Ke.charCodeAt(Me);if(dn===Ut){qt+=Ke.substring(Mn,Me),Me++;break}if(dn===92&&!St){qt+=Ke.substring(Mn,Me),qt+=vn(),Mn=Me;continue}if(b(dn)&&!St){qt+=Ke.substring(Mn,Me),Je|=4,ur(e.Diagnostics.Unterminated_string_literal);break}Me++}return qt}function yn(St){var Ut=Ke.charCodeAt(Me)===96;Me++;for(var qt=Me,Mn="",dn;;){if(Me>=Hr){Mn+=Ke.substring(qt,Me),Je|=4,ur(e.Diagnostics.Unterminated_template_literal),dn=Ut?14:17;break}var oa=Ke.charCodeAt(Me);if(oa===96){Mn+=Ke.substring(qt,Me),Me++,dn=Ut?14:17;break}if(oa===36&&Me+1=Hr)return ur(e.Diagnostics.Unexpected_end_of_text),"";var qt=Ke.charCodeAt(Me);switch(Me++,qt){case 48:return St&&Me=0?String.fromCharCode(Ut):(ur(e.Diagnostics.Hexadecimal_digit_expected),"")}function ar(){var St=rt(1,!1),Ut=St?parseInt(St,16):-1,qt=!1;return Ut<0?(ur(e.Diagnostics.Hexadecimal_digit_expected),qt=!0):Ut>1114111&&(ur(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),qt=!0),Me>=Hr?(ur(e.Diagnostics.Unexpected_end_of_text),qt=!0):Ke.charCodeAt(Me)===125?Me++:(ur(e.Diagnostics.Unterminated_Unicode_escape_sequence),qt=!0),qt?"":Se(Ut)}function wr(){if(Me+5=2&&de(Ke,Me+1)===117&&de(Ke,Me+2)===123){var St=Me;Me+=3;var Ut=rt(1,!1),qt=Ut?parseInt(Ut,16):-1;return Me=St,qt}return-1}function he(){for(var St="",Ut=Me;Me=0&&ve(qt,Le)){Me+=3,Je|=8,St+=ar(),Ut=Me;continue}if(qt=wr(),!(qt>=0&&ve(qt,Le)))break;Je|=1024,St+=Ke.substring(Ut,Me),St+=Se(qt),Me+=6,Ut=Me}else break}return St+=Ke.substring(Ut,Me),St}function ir(){var St=xe.length;if(St>=2&&St<=12){var Ut=xe.charCodeAt(0);if(Ut>=97&&Ut<=122){var qt=a.get(xe);if(qt!==void 0)return fe=qt}}return fe=79}function ue(St){for(var Ut="",qt=!1,Mn=!1;;){var dn=Ke.charCodeAt(Me);if(dn===95){Je|=512,qt?(qt=!1,Mn=!0):ur(Mn?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Me,1),Me++;continue}if(qt=!0,!D(dn)||dn-48>=St)break;Ut+=Ke[Me],Me++,Mn=!1}return Ke.charCodeAt(Me-1)===95&&ur(e.Diagnostics.Numeric_separators_are_not_allowed_here,Me-1,1),Ut}function je(){if(Ke.charCodeAt(Me)===110)return xe+="n",Je&384&&(xe=e.parsePseudoBigInt(xe)+"n"),Me++,9;var St=Je&128?parseInt(xe.slice(2),2):Je&256?parseInt(xe.slice(2),8):+xe;return xe=""+St,8}function be(){var St;cr=Me,Je=0;for(var Ut=!1;;){if(vr=Me,Me>=Hr)return fe=1;var qt=de(Ke,Me);if(qt===35&&Me===0&&Te(Ke,Me)){if(Me=Ae(Ke,Me),Ye)continue;return fe=6}switch(qt){case 10:case 13:if(Je|=1,Ye){Me++;continue}else return qt===13&&Me+1=0&&Fe(pt,Le))return Me+=3,Je|=8,xe=ar()+he(),fe=ir();var mt=wr();return mt>=0&&Fe(mt,Le)?(Me+=6,Je|=1024,xe=String.fromCharCode(mt)+he(),fe=ir()):(ur(e.Diagnostics.Invalid_character),Me++,fe=0);case 35:return Me!==0&&Ke[Me+1]==="!"?(ur(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),Me++,fe=0):(Fe(de(Ke,Me+1),Le)?(Me++,$(de(Ke,Me),Le)):(xe=String.fromCharCode(de(Ke,Me)),ur(e.Diagnostics.Invalid_character,Me++,De(qt))),fe=80);default:var Mt=$(qt,Le);if(Mt)return fe=Mt;if(I(qt)){Me+=De(qt);continue}else if(b(qt)){Je|=1,Me+=De(qt);continue}var It=De(qt);return ur(e.Diagnostics.Invalid_character,Me,It),Me+=It,fe=0}}}function We(){e.Debug.assert(fe===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),Me=vr=cr,Je=0;var St=de(Ke,Me),Ut=$(St,99);return Ut?fe=Ut:(Me+=De(St),fe)}function $(St,Ut){var qt=St;if(Fe(qt,Ut)){for(Me+=De(qt);Me=Hr)return fe=1;var Ut=Ke.charCodeAt(Me);if(Ut===60)return Ke.charCodeAt(Me+1)===47?(Me+=2,fe=30):(Me++,fe=29);if(Ut===123)return Me++,fe=18;for(var qt=0;Me0)break;E(Ut)||(qt=Me)}Me++}return xe=Ke.substring(cr,Me),qt===-1?12:11}function zr(){if(c(fe)){for(var St=!1;Me=Hr)return fe=1;var St=de(Ke,Me);switch(Me+=De(St),St){case 9:case 11:case 12:case 32:for(;Me=0&&Fe(Ut,Le))return Me+=3,Je|=8,xe=ar()+he(),fe=ir();var qt=wr();return qt>=0&&Fe(qt,Le)?(Me+=6,Je|=1024,xe=String.fromCharCode(qt)+he(),fe=ir()):(Me++,fe=0)}if(Fe(St,Le)){for(var Mn=St;Me=0),Me=St,cr=St,vr=St,fe=0,xe=void 0,Je=0}function en(St){kr+=St?1:-1}}e.createScanner=Be;var de=String.prototype.codePointAt?function(Le,Ye){return Le.codePointAt(Ye)}:function(Ye,Dr){var br=Ye.length;if(!(Dr<0||Dr>=br)){var or=Ye.charCodeAt(Dr);if(or>=55296&&or<=56319&&br>Dr+1){var Cr=Ye.charCodeAt(Dr+1);if(Cr>=56320&&Cr<=57343)return(or-55296)*1024+Cr-56320+65536}return or}};function De(Le){return Le>=65536?2:1}function qe(Le){if(e.Debug.assert(0<=Le&&Le<=1114111),Le<=65535)return String.fromCharCode(Le);var Ye=Math.floor((Le-65536)/1024)+55296,Dr=(Le-65536)%1024+56320;return String.fromCharCode(Ye,Dr)}var Xe=String.fromCodePoint?function(Le){return String.fromCodePoint(Le)}:qe;function Se(Le){return Xe(Le)}e.utf16EncodeAsString=Se})(gr||(gr={}));var gr;(function(e){function n(Oe){return e.pathIsRelative(Oe)||e.isRootedDiskPath(Oe)}e.isExternalModuleNameRelative=n;function c(Oe){return e.sortAndDeduplicate(Oe,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=c;function f(Oe){switch(e.getEmitScriptTarget(Oe)){case 99:return"lib.esnext.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}e.getDefaultLibFileName=f;function a(Oe){return Oe.start+Oe.length}e.textSpanEnd=a;function p(Oe){return Oe.length===0}e.textSpanIsEmpty=p;function x(Oe,Qr){return Qr>=Oe.start&&Qr=Oe.pos&&Qr<=Oe.end}e.textRangeContainsPositionInclusive=V;function g(Oe,Qr){return Qr.start>=Oe.start&&a(Qr)<=a(Oe)}e.textSpanContainsTextSpan=g;function m(Oe,Qr){return A(Oe,Qr)!==void 0}e.textSpanOverlapsWith=m;function A(Oe,Qr){var hn=S(Oe,Qr);return hn&&hn.length===0?void 0:hn}e.textSpanOverlap=A;function K(Oe,Qr){return y(Oe.start,Oe.length,Qr.start,Qr.length)}e.textSpanIntersectsWithTextSpan=K;function ae(Oe,Qr,hn){return y(Oe.start,Oe.length,Qr,hn)}e.textSpanIntersectsWith=ae;function y(Oe,Qr,hn,Xn){var gi=Oe+Qr,Ia=hn+Xn;return hn<=gi&&Ia>=Oe}e.decodedTextSpanIntersectsWith=y;function k(Oe,Qr){return Qr<=a(Oe)&&Qr>=Oe.start}e.textSpanIntersectsWithPosition=k;function S(Oe,Qr){var hn=Math.max(Oe.start,Qr.start),Xn=Math.min(a(Oe),a(Qr));return hn<=Xn?B(hn,Xn):void 0}e.textSpanIntersection=S;function F(Oe,Qr){if(Oe<0)throw new Error("start < 0");if(Qr<0)throw new Error("length < 0");return{start:Oe,length:Qr}}e.createTextSpan=F;function B(Oe,Qr){return F(Oe,Qr-Oe)}e.createTextSpanFromBounds=B;function N(Oe){return F(Oe.span.start,Oe.newLength)}e.textChangeRangeNewSpan=N;function w(Oe){return p(Oe.span)&&Oe.newLength===0}e.textChangeRangeIsUnchanged=w;function O(Oe,Qr){if(Qr<0)throw new Error("newLength < 0");return{span:Oe,newLength:Qr}}e.createTextChangeRange=O,e.unchangedTextChangeRange=O(F(0,0),0);function U(Oe){if(Oe.length===0)return e.unchangedTextChangeRange;if(Oe.length===1)return Oe[0];for(var Qr=Oe[0],hn=Qr.span.start,Xn=a(Qr.span),gi=hn+Qr.newLength,Ia=1;Ia=2&&Oe.charCodeAt(0)===95&&Oe.charCodeAt(1)===95?"_"+Oe:Oe}e.escapeLeadingUnderscores=h;function P(Oe){var Qr=Oe;return Qr.length>=3&&Qr.charCodeAt(0)===95&&Qr.charCodeAt(1)===95&&Qr.charCodeAt(2)===95?Qr.substr(1):Qr}e.unescapeLeadingUnderscores=P;function te(Oe){return P(Oe.escapedText)}e.idText=te;function ce(Oe){return Oe.valueDeclaration&&ht(Oe.valueDeclaration)?te(Oe.valueDeclaration.name):P(Oe.escapedName)}e.symbolName=ce;function q(Oe){var Qr=Oe.parent.parent;if(Qr){if(Dt(Qr))return J(Qr);switch(Qr.kind){case 236:if(Qr.declarationList&&Qr.declarationList.declarations[0])return J(Qr.declarationList.declarations[0]);break;case 237:var hn=Qr.expression;switch(hn.kind===220&&hn.operatorToken.kind===63&&(hn=hn.left),hn.kind){case 205:return hn.name;case 206:var Xn=hn.argumentExpression;if(e.isIdentifier(Xn))return Xn}break;case 211:return J(Qr.expression);case 249:{if(Dt(Qr.statement)||za(Qr.statement))return J(Qr.statement);break}}}}function J(Oe){var Qr=j(Oe);return Qr&&e.isIdentifier(Qr)?Qr:void 0}function Te(Oe,Qr){return!!(R(Oe)&&e.isIdentifier(Oe.name)&&te(Oe.name)===te(Qr)||e.isVariableStatement(Oe)&&e.some(Oe.declarationList.declarations,function(hn){return Te(hn,Qr)}))}e.nodeHasName=Te;function Ae(Oe){return Oe.name||q(Oe)}e.getNameOfJSDocTypedef=Ae;function R(Oe){return!!Oe.name}e.isNamedDeclaration=R;function Y(Oe){switch(Oe.kind){case 79:return Oe;case 345:case 338:{var Qr=Oe.name;if(Qr.kind===160)return Qr.right;break}case 207:case 220:{var hn=Oe;switch(e.getAssignmentDeclarationKind(hn)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(hn.left);case 7:case 8:case 9:return hn.arguments[1];default:return}}case 343:return Ae(Oe);case 337:return q(Oe);case 270:{var Xn=Oe.expression;return e.isIdentifier(Xn)?Xn:void 0}case 206:var gi=Oe;if(e.isBindableStaticElementAccessExpression(gi))return gi.argumentExpression}return Oe.name}e.getNonAssignedNameOfDeclaration=Y;function j(Oe){if(Oe!==void 0)return Y(Oe)||(e.isFunctionExpression(Oe)||e.isArrowFunction(Oe)||e.isClassExpression(Oe)?z(Oe):void 0)}e.getNameOfDeclaration=j;function z(Oe){if(Oe.parent){if(e.isPropertyAssignment(Oe.parent)||e.isBindingElement(Oe.parent))return Oe.parent.name;if(e.isBinaryExpression(Oe.parent)&&Oe===Oe.parent.right){if(e.isIdentifier(Oe.parent.left))return Oe.parent.left;if(e.isAccessExpression(Oe.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(Oe.parent.left)}else if(e.isVariableDeclaration(Oe.parent)&&e.isIdentifier(Oe.parent.name))return Oe.parent.name}else return}e.getAssignedName=z;function Ee(Oe,Qr){if(Oe.name)if(e.isIdentifier(Oe.name)){var hn=Oe.name.escapedText;return Je(Oe.parent,Qr).filter(function(Ia){return e.isJSDocParameterTag(Ia)&&e.isIdentifier(Ia.name)&&Ia.name.escapedText===hn})}else{var Xn=Oe.parent.parameters.indexOf(Oe);e.Debug.assert(Xn>-1,"Parameters should always be in their parents' parameter list");var gi=Je(Oe.parent,Qr).filter(e.isJSDocParameterTag);if(Xn=160}e.isNodeKind=Ze;function xr(Oe){return Oe>=0&&Oe<=159}e.isTokenKind=xr;function fr(Oe){return xr(Oe.kind)}e.isToken=fr;function dr(Oe){return Oe.hasOwnProperty("pos")&&Oe.hasOwnProperty("end")}e.isNodeArray=dr;function et(Oe){return 8<=Oe&&Oe<=14}e.isLiteralKind=et;function yt(Oe){return et(Oe.kind)}e.isLiteralExpression=yt;function jr(Oe){return 14<=Oe&&Oe<=17}e.isTemplateLiteralKind=jr;function rr(Oe){return jr(Oe.kind)}e.isTemplateLiteralToken=rr;function Ir(Oe){var Qr=Oe.kind;return Qr===16||Qr===17}e.isTemplateMiddleOrTemplateTail=Ir;function Or(Oe){return e.isImportSpecifier(Oe)||e.isExportSpecifier(Oe)}e.isImportOrExportSpecifier=Or;function zr(Oe){switch(Oe.kind){case 269:case 274:return Oe.isTypeOnly||Oe.parent.parent.isTypeOnly;case 267:return Oe.parent.isTypeOnly;case 266:case 264:return Oe.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=zr;function gt(Oe){return e.isStringLiteral(Oe)||e.isIdentifier(Oe)}e.isAssertionKey=gt;function vt(Oe){return Oe.kind===10||jr(Oe.kind)}e.isStringTextContainingNode=vt;function ut(Oe){return e.isIdentifier(Oe)&&(Oe.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=ut;function ht(Oe){return(e.isPropertyDeclaration(Oe)||mt(Oe))&&e.isPrivateIdentifier(Oe.name)}e.isPrivateIdentifierClassElementDeclaration=ht;function xt(Oe){return e.isPropertyAccessExpression(Oe)&&e.isPrivateIdentifier(Oe.name)}e.isPrivateIdentifierPropertyAccessExpression=xt;function wt(Oe){switch(Oe){case 126:case 131:case 85:case 135:case 88:case 93:case 123:case 121:case 122:case 144:case 124:case 158:return!0}return!1}e.isModifierKind=wt;function Qt(Oe){return!!(e.modifierToFlag(Oe)&16476)}e.isParameterPropertyModifier=Qt;function _t(Oe){return Qt(Oe)||Oe===124||Oe===158}e.isClassMemberModifier=_t;function rn(Oe){return wt(Oe.kind)}e.isModifier=rn;function sa(Oe){var Qr=Oe.kind;return Qr===160||Qr===79}e.isEntityName=sa;function ba(Oe){var Qr=Oe.kind;return Qr===79||Qr===80||Qr===10||Qr===8||Qr===161}e.isPropertyName=ba;function Kn(Oe){var Qr=Oe.kind;return Qr===79||Qr===200||Qr===201}e.isBindingName=Kn;function na(Oe){return!!Oe&&qt(Oe.kind)}e.isFunctionLike=na;function jn(Oe){return!!Oe&&(qt(Oe.kind)||e.isClassStaticBlockDeclaration(Oe))}e.isFunctionLikeOrClassStaticBlockDeclaration=jn;function en(Oe){return Oe&&Ut(Oe.kind)}e.isFunctionLikeDeclaration=en;function St(Oe){return Oe.kind===110||Oe.kind===95}e.isBooleanLiteral=St;function Ut(Oe){switch(Oe){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function qt(Oe){switch(Oe){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return Ut(Oe)}}e.isFunctionLikeKind=qt;function Mn(Oe){return e.isSourceFile(Oe)||e.isModuleBlock(Oe)||e.isBlock(Oe)&&na(Oe.parent)}e.isFunctionOrModuleBlock=Mn;function dn(Oe){var Qr=Oe.kind;return Qr===170||Qr===166||Qr===168||Qr===171||Qr===172||Qr===175||Qr===169||Qr===233}e.isClassElement=dn;function oa(Oe){return Oe&&(Oe.kind===256||Oe.kind===225)}e.isClassLike=oa;function pt(Oe){return Oe&&(Oe.kind===171||Oe.kind===172)}e.isAccessor=pt;function mt(Oe){switch(Oe.kind){case 168:case 171:case 172:return!0;default:return!1}}e.isMethodOrAccessor=mt;function Mt(Oe){var Qr=Oe.kind;return Qr===174||Qr===173||Qr===165||Qr===167||Qr===175}e.isTypeElement=Mt;function It(Oe){return Mt(Oe)||dn(Oe)}e.isClassOrTypeElement=It;function tt(Oe){var Qr=Oe.kind;return Qr===294||Qr===295||Qr===296||Qr===168||Qr===171||Qr===172}e.isObjectLiteralElementLike=tt;function xn(Oe){return e.isTypeNodeKind(Oe.kind)}e.isTypeNode=xn;function Qn(Oe){switch(Oe.kind){case 178:case 179:return!0}return!1}e.isFunctionOrConstructorTypeNode=Qn;function Oa(Oe){if(Oe){var Qr=Oe.kind;return Qr===201||Qr===200}return!1}e.isBindingPattern=Oa;function Ci(Oe){var Qr=Oe.kind;return Qr===203||Qr===204}e.isAssignmentPattern=Ci;function mi(Oe){var Qr=Oe.kind;return Qr===202||Qr===226}e.isArrayBindingElement=mi;function va(Oe){switch(Oe.kind){case 253:case 163:case 202:return!0}return!1}e.isDeclarationBindingElement=va;function yi(Oe){return ro(Oe)||Mi(Oe)}e.isBindingOrAssignmentPattern=yi;function ro(Oe){switch(Oe.kind){case 200:case 204:return!0}return!1}e.isObjectBindingOrAssignmentPattern=ro;function Ka(Oe){switch(Oe.kind){case 202:case 294:case 295:case 296:return!0}return!1}e.isObjectBindingOrAssignmentElement=Ka;function Mi(Oe){switch(Oe.kind){case 201:case 203:return!0}return!1}e.isArrayBindingOrAssignmentPattern=Mi;function io(Oe){var Qr=Oe.kind;return Qr===205||Qr===160||Qr===199}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=io;function ji(Oe){var Qr=Oe.kind;return Qr===205||Qr===160}e.isPropertyAccessOrQualifiedName=ji;function Hi(Oe){switch(Oe.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}}e.isCallLikeExpression=Hi;function to(Oe){return Oe.kind===207||Oe.kind===208}e.isCallOrNewExpression=to;function ko(Oe){var Qr=Oe.kind;return Qr===222||Qr===14}e.isTemplateLiteral=ko;function co(Oe){return Ao(ir(Oe).kind)}e.isLeftHandSideExpression=co;function Ao(Oe){switch(Oe){case 205:case 206:case 208:case 207:case 277:case 278:case 281:case 209:case 203:case 211:case 204:case 225:case 212:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 222:case 95:case 104:case 108:case 110:case 106:case 229:case 230:case 100:return!0;default:return!1}}function Ha(Oe){return Qo(ir(Oe).kind)}e.isUnaryExpression=Ha;function Qo(Oe){switch(Oe){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return Ao(Oe)}}function uo(Oe){switch(Oe.kind){case 219:return!0;case 218:return Oe.operator===45||Oe.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=uo;function za(Oe){return hi(ir(Oe).kind)}e.isExpression=za;function hi(Oe){switch(Oe){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return Qo(Oe)}}function Zi(Oe){var Qr=Oe.kind;return Qr===210||Qr===228}e.isAssertionExpression=Zi;function Po(Oe){return e.isNotEmittedStatement(Oe)||e.isPartiallyEmittedExpression(Oe)}e.isNotEmittedOrPartiallyEmittedNode=Po;function Fo(Oe,Qr){switch(Oe.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return Qr&&Fo(Oe.statement,Qr)}return!1}e.isIterationStatement=Fo;function Go(Oe){return e.isExportAssignment(Oe)||e.isExportDeclaration(Oe)}e.isScopeMarker=Go;function qo(Oe){return e.some(Oe,Go)}e.hasScopeMarker=qo;function Ts(Oe){return!e.isAnyImportOrReExport(Oe)&&!e.isExportAssignment(Oe)&&!e.hasSyntacticModifier(Oe,1)&&!e.isAmbientModule(Oe)}e.needsScopeMarker=Ts;function xs(Oe){return e.isAnyImportOrReExport(Oe)||e.isExportAssignment(Oe)||e.hasSyntacticModifier(Oe,1)}e.isExternalModuleIndicator=xs;function yr(Oe){return Oe.kind===242||Oe.kind===243}e.isForInOrOfStatement=yr;function dt(Oe){return e.isBlock(Oe)||za(Oe)}e.isConciseBody=dt;function tn(Oe){return e.isBlock(Oe)}e.isFunctionBody=tn;function Vn(Oe){return e.isVariableDeclarationList(Oe)||za(Oe)}e.isForInitializer=Vn;function Re(Oe){var Qr=Oe.kind;return Qr===261||Qr===260||Qr===79}e.isModuleBody=Re;function ie(Oe){var Qr=Oe.kind;return Qr===261||Qr===260}e.isNamespaceBody=ie;function _r(Oe){var Qr=Oe.kind;return Qr===79||Qr===260}e.isJSDocNamespaceBody=_r;function oe(Oe){var Qr=Oe.kind;return Qr===268||Qr===267}e.isNamedImportBindings=oe;function Ge(Oe){return Oe.kind===260||Oe.kind===259}e.isModuleOrEnumDeclaration=Ge;function $e(Oe){return Oe===213||Oe===202||Oe===256||Oe===225||Oe===169||Oe===170||Oe===259||Oe===297||Oe===274||Oe===255||Oe===212||Oe===171||Oe===266||Oe===264||Oe===269||Oe===257||Oe===284||Oe===168||Oe===167||Oe===260||Oe===263||Oe===267||Oe===273||Oe===163||Oe===294||Oe===166||Oe===165||Oe===172||Oe===295||Oe===258||Oe===162||Oe===253||Oe===343||Oe===336||Oe===345}function hr(Oe){return Oe===255||Oe===275||Oe===256||Oe===257||Oe===258||Oe===259||Oe===260||Oe===265||Oe===264||Oe===271||Oe===270||Oe===263}function Xr(Oe){return Oe===245||Oe===244||Oe===252||Oe===239||Oe===237||Oe===235||Oe===242||Oe===243||Oe===241||Oe===238||Oe===249||Oe===246||Oe===248||Oe===250||Oe===251||Oe===236||Oe===240||Oe===247||Oe===347||Oe===351||Oe===350}function Dt(Oe){return Oe.kind===162?Oe.parent&&Oe.parent.kind!==342||e.isInJSFile(Oe):$e(Oe.kind)}e.isDeclaration=Dt;function Jt(Oe){return hr(Oe.kind)}e.isDeclarationStatement=Jt;function Dn(Oe){return Xr(Oe.kind)}e.isStatementButNotDeclaration=Dn;function ta(Oe){var Qr=Oe.kind;return Xr(Qr)||hr(Qr)||xa(Oe)}e.isStatement=ta;function xa(Oe){return Oe.kind!==234||Oe.parent!==void 0&&(Oe.parent.kind===251||Oe.parent.kind===291)?!1:!e.isFunctionBlock(Oe)}function Di(Oe){var Qr=Oe.kind;return Xr(Qr)||hr(Qr)||Qr===234}e.isStatementOrBlock=Di;function $a(Oe){var Qr=Oe.kind;return Qr===276||Qr===160||Qr===79}e.isModuleReference=$a;function Ji(Oe){var Qr=Oe.kind;return Qr===108||Qr===79||Qr===205}e.isJsxTagNameExpression=Ji;function Do(Oe){var Qr=Oe.kind;return Qr===277||Qr===287||Qr===278||Qr===11||Qr===281}e.isJsxChild=Do;function us(Oe){var Qr=Oe.kind;return Qr===284||Qr===286}e.isJsxAttributeLike=us;function bt(Oe){var Qr=Oe.kind;return Qr===10||Qr===287}e.isStringLiteralOrJsxExpression=bt;function Pn(Oe){var Qr=Oe.kind;return Qr===279||Qr===278}e.isJsxOpeningLikeElement=Pn;function da(Oe){var Qr=Oe.kind;return Qr===288||Qr===289}e.isCaseOrDefaultClause=da;function ei(Oe){return Oe.kind>=307&&Oe.kind<=345}e.isJSDocNode=ei;function bi(Oe){return Oe.kind===318||Oe.kind===317||Oe.kind===319||Zt(Oe)||xi(Oe)||e.isJSDocTypeLiteral(Oe)||e.isJSDocSignature(Oe)}e.isJSDocCommentContainingNode=bi;function xi(Oe){return Oe.kind>=325&&Oe.kind<=345}e.isJSDocTag=xi;function ka(Oe){return Oe.kind===172}e.isSetAccessor=ka;function _i(Oe){return Oe.kind===171}e.isGetAccessor=_i;function Xi(Oe){var Qr=Oe.jsDoc;return!!Qr&&Qr.length>0}e.hasJSDocNodes=Xi;function Gi(Oe){return!!Oe.type}e.hasType=Gi;function wo(Oe){return!!Oe.initializer}e.hasInitializer=wo;function Ro(Oe){switch(Oe.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}}e.hasOnlyExpressionInitializer=Ro;function rs(Oe){return Oe.kind===284||Oe.kind===286||tt(Oe)}e.isObjectLiteralElement=rs;function is(Oe){return Oe.kind===177||Oe.kind===227}e.isTypeReferenceType=is;var pe=1073741823;function Mr(Oe){for(var Qr=pe,hn=0,Xn=Oe;hn=0),e.getLineStarts(re)[l]}e.getStartPositionOfLine=D;function C(l){var re=E(l),lr=e.getLineAndCharacterOfPosition(re,l.pos);return"".concat(re.fileName,"(").concat(lr.line+1,",").concat(lr.character+1,")")}e.nodePosToString=C;function _(l,re){e.Debug.assert(l>=0);var lr=e.getLineStarts(re),Vr=l,Nt=re.text;if(Vr+1===lr.length)return Nt.length-1;var In=lr[Vr],Un=lr[Vr+1]-1;for(e.Debug.assert(e.isLineBreak(Nt.charCodeAt(Un)));In<=Un&&e.isLineBreak(Nt.charCodeAt(Un));)Un--;return Un}e.getEndLinePosition=_;function d(l,re,lr){return!(lr&&lr(re))&&!l.identifiers.has(re)}e.isFileLevelUniqueName=d;function h(l){return l===void 0?!0:l.pos===l.end&&l.pos>=0&&l.kind!==1}e.nodeIsMissing=h;function P(l){return!h(l)}e.nodeIsPresent=P;function te(l,re,lr){if(re===void 0||re.length===0)return l;for(var Vr=0;Vr0?Ee(l._children[0],re,lr):e.skipTrivia((re||E(l)).text,l.pos,!1,!1,Xr(l))}e.getTokenPosOfNode=Ee;function _e(l,re){return h(l)||!l.decorators?Ee(l,re):e.skipTrivia((re||E(l)).text,l.decorators.end)}e.getNonDecoratorTokenPosOfNode=_e;function ke(l,re,lr){return lr===void 0&&(lr=!1),Fe(l.text,re,lr)}e.getSourceTextOfNodeFromSourceFile=ke;function Pe(l){return!!e.findAncestor(l,e.isJSDocTypeExpression)}function Ie(l){return!!(e.isExportDeclaration(l)&&l.exportClause&&e.isNamespaceExport(l.exportClause)&&l.exportClause.name.escapedText==="default")}e.isExportNamespaceAsDefaultDeclaration=Ie;function Fe(l,re,lr){if(lr===void 0&&(lr=!1),h(re))return"";var Vr=l.substring(lr?re.pos:e.skipTrivia(l,re.pos),re.end);return Pe(re)&&(Vr=Vr.split(/\r\n|\n|\r/).map(function(Nt){return e.trimStringStart(Nt.replace(/^\s*\*/,""))}).join(` `)),Vr}e.getTextOfNodeFromSourceText=Fe;function ve(l,re){return re===void 0&&(re=!1),ke(E(l),l,re)}e.getTextOfNode=ve;function ge(l){return l.pos}function Be(l,re){return e.binarySearch(l,re,ge,e.compareValues)}e.indexOfNode=Be;function de(l){var re=l.emitNode;return re&&re.flags||0}e.getEmitFlags=de;function De(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:e.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:e.emptyArray,AsyncIterator:e.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:e.emptyArray,SharedArrayBuffer:e.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:e.emptyArray,AsyncIterableIterator:e.emptyArray,AsyncGenerator:e.emptyArray,AsyncGeneratorFunction:e.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:e.emptyArray,BigInt64Array:e.emptyArray,BigUint64Array:e.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}}e.getScriptTargetFeatures=De,function(l){l[l.None=0]="None",l[l.NeverAsciiEscape=1]="NeverAsciiEscape",l[l.JsxAttributeEscape=2]="JsxAttributeEscape",l[l.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",l[l.AllowNumericSeparator=8]="AllowNumericSeparator"}(e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}));function qe(l,re,lr){var Vr;if(Xe(l,lr))return ke(re,l);switch(l.kind){case 10:{var Nt=lr&2?Fu:lr&1||de(l)&16777216?wu:Pu;return l.singleQuote?"'"+Nt(l.text,39)+"'":'"'+Nt(l.text,34)+'"'}case 14:case 15:case 16:case 17:{var Nt=lr&1||de(l)&16777216?wu:Pu,In=(Vr=l.rawText)!==null&&Vr!==void 0?Vr:Tf(Nt(l.text,96));switch(l.kind){case 14:return"`"+In+"`";case 15:return"`"+In+"${";case 16:return"}"+In+"${";case 17:return"}"+In+"`"}break}case 8:case 9:return l.text;case 13:return lr&4&&l.isUnterminated?l.text+(l.text.charCodeAt(l.text.length-1)===92?" /":"/"):l.text}return e.Debug.fail("Literal kind '".concat(l.kind,"' not accounted for."))}e.getLiteralText=qe;function Xe(l,re){return Ud(l)||!l.parent||re&4&&l.isUnterminated?!1:e.isNumericLiteral(l)&&l.numericLiteralFlags&512?!!(re&8):!e.isBigIntLiteral(l)}function Se(l){return e.isString(l)?'"'+Pu(l)+'"':""+l}e.getTextOfConstantValue=Se;function Le(l){return e.getBaseFileName(l).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=Le;function Ye(l){return(e.getCombinedNodeFlags(l)&3)!==0||Dr(l)}e.isBlockOrCatchScoped=Ye;function Dr(l){var re=Gd(l);return re.kind===253&&re.parent.kind===291}e.isCatchClauseVariableDeclarationOrBindingElement=Dr;function br(l){return e.isModuleDeclaration(l)&&(l.name.kind===10||cr(l))}e.isAmbientModule=br;function or(l){return e.isModuleDeclaration(l)&&l.name.kind===10}e.isModuleWithStringLiteralName=or;function Cr(l){return e.isModuleDeclaration(l)&&e.isStringLiteral(l.name)}e.isNonGlobalAmbientModule=Cr;function Rr(l){return e.isModuleDeclaration(l)||e.isIdentifier(l)}e.isEffectiveModuleDeclaration=Rr;function Ke(l){return Me(l.valueDeclaration)}e.isShorthandAmbientModuleSymbol=Ke;function Me(l){return!!l&&l.kind===260&&!l.body}function Hr(l){return l.kind===303||l.kind===260||e.isFunctionLikeOrClassStaticBlockDeclaration(l)}e.isBlockScopedContainerTopLevel=Hr;function cr(l){return!!(l.flags&1024)}e.isGlobalScopeAugmentation=cr;function vr(l){return br(l)&&fe(l)}e.isExternalModuleAugmentation=vr;function fe(l){switch(l.parent.kind){case 303:return e.isExternalModule(l.parent);case 261:return br(l.parent.parent)&&e.isSourceFile(l.parent.parent.parent)&&!e.isExternalModule(l.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=fe;function xe(l){var re;return(re=l.declarations)===null||re===void 0?void 0:re.find(function(lr){return!vr(lr)&&!(e.isModuleDeclaration(lr)&&cr(lr))})}e.getNonAugmentationDeclaration=xe;function Je(l){return l===e.ModuleKind.CommonJS||l===e.ModuleKind.Node12||l===e.ModuleKind.NodeNext}function pr(l,re){return e.isExternalModule(l)||re.isolatedModules||Je(bd(re))&&!!l.commonJsModuleIndicator}e.isEffectiveExternalModule=pr;function kr(l,re){switch(l.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return l.isDeclarationFile?!1:pa(re,"alwaysStrict")||e.startsWithUseStrict(l.statements)?!0:e.isExternalModule(l)||re.isolatedModules?bd(re)>=e.ModuleKind.ES2015?!0:!re.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=kr;function Ve(l,re){switch(l.kind){case 303:case 262:case 291:case 260:case 241:case 242:case 243:case 170:case 168:case 171:case 172:case 255:case 212:case 213:case 166:case 169:return!0;case 234:return!e.isFunctionLikeOrClassStaticBlockDeclaration(re)}return!1}e.isBlockScope=Ve;function ur(l){switch(l.kind){case 336:case 343:case 321:return!0;default:return e.assertType(l),Wr(l)}}e.isDeclarationWithTypeParameters=ur;function Wr(l){switch(l.kind){case 173:case 174:case 167:case 175:case 178:case 179:case 315:case 256:case 225:case 257:case 258:case 342:case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return e.assertType(l),!1}}e.isDeclarationWithTypeParameterChildren=Wr;function He(l){switch(l.kind){case 265:case 264:return!0;default:return!1}}e.isAnyImportSyntax=He;function Lr(l){switch(l.kind){case 265:case 264:case 236:case 256:case 255:case 260:case 258:case 257:case 259:return!0;default:return!1}}e.isLateVisibilityPaintedStatement=Lr;function qr(l){return lt(l)||e.isModuleDeclaration(l)||e.isImportTypeNode(l)||rr(l)}e.hasPossibleExternalModuleReference=qr;function lt(l){return He(l)||e.isExportDeclaration(l)}e.isAnyImportOrReExport=lt;function rt(l){return e.findAncestor(l.parent,function(re){return Ve(re,re.parent)})}e.getEnclosingBlockScopeContainer=rt;function Rt(l,re){for(var lr=rt(l);lr;)re(lr),lr=rt(lr)}e.forEachEnclosingBlockScopeContainer=Rt;function an(l){return!l||B(l)===0?"(Missing)":ve(l)}e.declarationNameToString=an;function yn(l){return l.declaration?an(l.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=yn;function vn(l){return l.kind===161&&!Rs(l.expression)}e.isComputedNonLiteralName=vn;function Fn(l){switch(l.kind){case 79:case 80:return l.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(l.text);case 161:return Rs(l.expression)?e.escapeLeadingUnderscores(l.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(l)}}e.getTextOfPropertyName=Fn;function ar(l){switch(l.kind){case 108:return"this";case 80:case 79:return B(l)===0?e.idText(l):ve(l);case 160:return ar(l.left)+"."+ar(l.right);case 205:return e.isIdentifier(l.name)||e.isPrivateIdentifier(l.name)?ar(l.expression)+"."+ar(l.name):e.Debug.assertNever(l.name);case 309:return ar(l.left)+ar(l.right);default:return e.Debug.assertNever(l)}}e.entityNameToString=ar;function wr(l,re,lr,Vr,Nt,In){var Un=E(l);return he(Un,l,re,lr,Vr,Nt,In)}e.createDiagnosticForNode=wr;function sr(l,re,lr,Vr,Nt,In,Un){var ga=e.skipTrivia(l.text,re.pos);return Cn(l,ga,re.end-ga,lr,Vr,Nt,In,Un)}e.createDiagnosticForNodeArray=sr;function he(l,re,lr,Vr,Nt,In,Un){var ga=me(l,re);return Cn(l,ga.start,ga.length,lr,Vr,Nt,In,Un)}e.createDiagnosticForNodeInSourceFile=he;function ir(l,re,lr){var Vr=E(l),Nt=me(Vr,l);return je(Vr,Nt.start,Nt.length,re,lr)}e.createDiagnosticForNodeFromMessageChain=ir;function ue(l,re,lr){e.Debug.assertGreaterThanOrEqual(re,0),e.Debug.assertGreaterThanOrEqual(lr,0),l&&(e.Debug.assertLessThanOrEqual(re,l.text.length),e.Debug.assertLessThanOrEqual(re+lr,l.text.length))}function je(l,re,lr,Vr,Nt){return ue(l,re,lr),{file:l,start:re,length:lr,code:Vr.code,category:Vr.category,messageText:Vr.next?Vr:Vr.messageText,relatedInformation:Nt}}e.createFileDiagnosticFromMessageChain=je;function be(l,re,lr){return{file:l,start:0,length:0,code:re.code,category:re.category,messageText:re.next?re:re.messageText,relatedInformation:lr}}e.createDiagnosticForFileFromMessageChain=be;function We(l,re,lr){return{file:l,start:re.pos,length:re.end-re.pos,code:lr.code,category:lr.category,messageText:lr.message}}e.createDiagnosticForRange=We;function $(l,re){var lr=e.createScanner(l.languageVersion,!0,l.languageVariant,l.text,void 0,re);lr.scan();var Vr=lr.getTokenPos();return e.createTextSpanFromBounds(Vr,lr.getTextPos())}e.getSpanOfTokenAtPosition=$;function Ne(l,re){var lr=e.skipTrivia(l.text,re.pos);if(re.body&&re.body.kind===234){var Vr=e.getLineAndCharacterOfPosition(l,re.body.pos).line,Nt=e.getLineAndCharacterOfPosition(l,re.body.end).line;if(Vr0?re.statements[0].pos:re.end;return e.createTextSpanFromBounds(Nt,In)}if(lr===void 0)return $(l,re.pos);e.Debug.assert(!e.isJSDoc(lr));var Un=h(lr),ga=Un||e.isJsxText(re)?lr.pos:e.skipTrivia(l.text,lr.pos);return Un?(e.Debug.assert(ga===lr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ga===lr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(ga>=lr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ga<=lr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(ga,lr.end)}e.getErrorSpanForNode=me;function Ze(l){return(l.externalModuleIndicator||l.commonJsModuleIndicator)!==void 0}e.isExternalOrCommonJsModule=Ze;function xr(l){return l.scriptKind===6}e.isJsonSourceFile=xr;function fr(l){return!!(e.getCombinedModifierFlags(l)&2048)}e.isEnumConst=fr;function dr(l){return!!(e.getCombinedModifierFlags(l)&64&&!e.isParameterPropertyDeclaration(l,l.parent))}e.isDeclarationReadonly=dr;function et(l){return!!(e.getCombinedNodeFlags(l)&2)}e.isVarConst=et;function yt(l){return!!(e.getCombinedNodeFlags(l)&1)}e.isLet=yt;function jr(l){return l.kind===207&&l.expression.kind===106}e.isSuperCall=jr;function rr(l){return l.kind===207&&l.expression.kind===100}e.isImportCall=rr;function Ir(l){return e.isMetaProperty(l)&&l.keywordToken===100&&l.name.escapedText==="meta"}e.isImportMeta=Ir;function Or(l){return e.isImportTypeNode(l)&&e.isLiteralTypeNode(l.argument)&&e.isStringLiteral(l.argument.literal)}e.isLiteralImportTypeNode=Or;function zr(l){return l.kind===237&&l.expression.kind===10}e.isPrologueDirective=zr;function gt(l){return!!(de(l)&1048576)}e.isCustomPrologue=gt;function vt(l){return gt(l)&&e.isFunctionDeclaration(l)}e.isHoistedFunction=vt;function ut(l){return e.isIdentifier(l.name)&&!l.initializer}function ht(l){return gt(l)&&e.isVariableStatement(l)&&e.every(l.declarationList.declarations,ut)}e.isHoistedVariableStatement=ht;function xt(l,re){return l.kind!==11?e.getLeadingCommentRanges(re.text,l.pos):void 0}e.getLeadingCommentRangesOfNode=xt;function wt(l,re){var lr=l.kind===163||l.kind===162||l.kind===212||l.kind===213||l.kind===211||l.kind===253?e.concatenate(e.getTrailingCommentRanges(re,l.pos),e.getLeadingCommentRanges(re,l.pos)):e.getLeadingCommentRanges(re,l.pos);return e.filter(lr,function(Vr){return re.charCodeAt(Vr.pos+1)===42&&re.charCodeAt(Vr.pos+2)===42&&re.charCodeAt(Vr.pos+3)!==47})}e.getJSDocCommentRanges=wt,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var Qt=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var _t=/^(\/\/\/\s*/;function rn(l){if(176<=l.kind&&l.kind<=199)return!0;switch(l.kind){case 130:case 154:case 146:case 157:case 149:case 133:case 150:case 147:case 152:case 143:return!0;case 114:return l.parent.kind!==216;case 227:return!Ec(l);case 162:return l.parent.kind===194||l.parent.kind===189;case 79:(l.parent.kind===160&&l.parent.right===l||l.parent.kind===205&&l.parent.name===l)&&(l=l.parent),e.Debug.assert(l.kind===79||l.kind===160||l.kind===205,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 160:case 205:case 108:{var re=l.parent;if(re.kind===180)return!1;if(re.kind===199)return!re.isTypeOf;if(176<=re.kind&&re.kind<=199)return!0;switch(re.kind){case 227:return!Ec(re);case 162:return l===re.constraint;case 342:return l===re.constraint;case 166:case 165:case 163:case 253:return l===re.type;case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:return l===re.type;case 173:case 174:case 175:return l===re.type;case 210:return l===re.type;case 207:case 208:return e.contains(re.typeArguments,l);case 209:return!1}}}return!1}e.isPartOfTypeNode=rn;function sa(l,re){for(;l;){if(l.kind===re)return!0;l=l.parent}return!1}e.isChildOfNodeWithKind=sa;function ba(l,re){return lr(l);function lr(Vr){switch(Vr.kind){case 246:return re(Vr);case 262:case 234:case 238:case 239:case 240:case 241:case 242:case 243:case 247:case 248:case 288:case 289:case 249:case 251:case 291:return e.forEachChild(Vr,lr)}}}e.forEachReturnStatement=ba;function Kn(l,re){return lr(l);function lr(Vr){switch(Vr.kind){case 223:re(Vr);var Nt=Vr.expression;Nt&&lr(Nt);return;case 259:case 257:case 260:case 258:return;default:if(e.isFunctionLike(Vr)){if(Vr.name&&Vr.name.kind===161){lr(Vr.name.expression);return}}else rn(Vr)||e.forEachChild(Vr,lr)}}}e.forEachYieldExpression=Kn;function na(l){return l&&l.kind===182?l.elementType:l&&l.kind===177?e.singleOrUndefined(l.typeArguments):void 0}e.getRestParameterElementType=na;function jn(l){switch(l.kind){case 257:case 256:case 225:case 181:return l.members;case 204:return l.properties}}e.getMembersOfDeclaration=jn;function en(l){if(l)switch(l.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return!0}return!1}e.isVariableLike=en;function St(l){return en(l)||e.isAccessor(l)}e.isVariableLikeOrAccessor=St;function Ut(l){return l.parent.kind===254&&l.parent.parent.kind===236}e.isVariableDeclarationInVariableStatement=Ut;function qt(l){return e.isVariableDeclaration(l)?et(l)&&e.isIdentifier(l.name)&&Ut(l):e.isPropertyDeclaration(l)?kf(l)&&qc(l):e.isPropertySignature(l)&&kf(l)}e.isValidESSymbolDeclaration=qt;function Mn(l){switch(l.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return!0}return!1}e.introducesArgumentsExoticObject=Mn;function dn(l,re){for(;;){if(re&&re(l),l.statement.kind!==249)return l.statement;l=l.statement}}e.unwrapInnermostStatementOfLabel=dn;function oa(l){return l&&l.kind===234&&e.isFunctionLike(l.parent)}e.isFunctionBlock=oa;function pt(l){return l&&l.kind===168&&l.parent.kind===204}e.isObjectLiteralMethod=pt;function mt(l){return(l.kind===168||l.kind===171||l.kind===172)&&(l.parent.kind===204||l.parent.kind===225)}e.isObjectLiteralOrClassExpressionMethodOrAccessor=mt;function Mt(l){return l&&l.kind===1}e.isIdentifierTypePredicate=Mt;function It(l){return l&&l.kind===0}e.isThisTypePredicate=It;function tt(l,re,lr){return l.properties.filter(function(Vr){if(Vr.kind===294){var Nt=Fn(Vr.name);return re===Nt||!!lr&&lr===Nt}return!1})}e.getPropertyAssignment=tt;function xn(l,re,lr){return e.firstDefined(tt(l,re),function(Vr){return e.isArrayLiteralExpression(Vr.initializer)?e.find(Vr.initializer.elements,function(Nt){return e.isStringLiteral(Nt)&&Nt.text===lr}):void 0})}e.getPropertyArrayElementValue=xn;function Qn(l){if(l&&l.statements.length){var re=l.statements[0].expression;return e.tryCast(re,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=Qn;function Oa(l,re,lr){return e.firstDefined(Ci(l,re),function(Vr){return e.isArrayLiteralExpression(Vr.initializer)?e.find(Vr.initializer.elements,function(Nt){return e.isStringLiteral(Nt)&&Nt.text===lr}):void 0})}e.getTsConfigPropArrayElementValue=Oa;function Ci(l,re){var lr=Qn(l);return lr?tt(lr,re):e.emptyArray}e.getTsConfigPropArray=Ci;function mi(l){return e.findAncestor(l.parent,e.isFunctionLike)}e.getContainingFunction=mi;function va(l){return e.findAncestor(l.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=va;function yi(l){return e.findAncestor(l.parent,e.isClassLike)}e.getContainingClass=yi;function ro(l){return e.findAncestor(l.parent,function(re){return e.isClassLike(re)||e.isFunctionLike(re)?"quit":e.isClassStaticBlockDeclaration(re)})}e.getContainingClassStaticBlock=ro;function Ka(l){return e.findAncestor(l.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)}e.getContainingFunctionOrClassStaticBlock=Ka;function Mi(l,re){for(e.Debug.assert(l.kind!==303);;){if(l=l.parent,!l)return e.Debug.fail();switch(l.kind){case 161:if(e.isClassLike(l.parent.parent))return l;l=l.parent;break;case 164:l.parent.kind===163&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break;case 213:if(!re)continue;case 255:case 212:case 260:case 169:case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 173:case 174:case 175:case 259:case 303:return l}}}e.getThisContainer=Mi;function io(l){e.isIdentifier(l)&&(e.isClassDeclaration(l.parent)||e.isFunctionDeclaration(l.parent))&&l.parent.name===l&&(l=l.parent);var re=Mi(l,!0);return e.isSourceFile(re)}e.isInTopLevelContext=io;function ji(l){var re=Mi(l,!1);if(re)switch(re.kind){case 170:case 255:case 212:return re}}e.getNewTargetContainer=ji;function Hi(l,re){for(;;){if(l=l.parent,!l)return l;switch(l.kind){case 161:l=l.parent;break;case 255:case 212:case 213:if(!re)continue;case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 169:return l;case 164:l.parent.kind===163&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break}}}e.getSuperContainer=Hi;function to(l){if(l.kind===212||l.kind===213){for(var re=l,lr=l.parent;lr.kind===211;)re=lr,lr=lr.parent;if(lr.kind===207&&lr.expression===re)return lr}}e.getImmediatelyInvokedFunctionExpression=to;function ko(l){return l.kind===106||co(l)}e.isSuperOrSuperProperty=ko;function co(l){var re=l.kind;return(re===205||re===206)&&l.expression.kind===106}e.isSuperProperty=co;function Ao(l){var re=l.kind;return(re===205||re===206)&&l.expression.kind===108}e.isThisProperty=Ao;function Ha(l){var re;return!!l&&e.isVariableDeclaration(l)&&((re=l.initializer)===null||re===void 0?void 0:re.kind)===108}e.isThisInitializedDeclaration=Ha;function Qo(l){return!!l&&(e.isShorthandPropertyAssignment(l)||e.isPropertyAssignment(l))&&e.isBinaryExpression(l.parent.parent)&&l.parent.parent.operatorToken.kind===63&&l.parent.parent.right.kind===108}e.isThisInitializedObjectBindingExpression=Qo;function uo(l){switch(l.kind){case 177:return l.typeName;case 227:return Xc(l.expression)?l.expression:void 0;case 79:case 160:return l}}e.getEntityNameFromTypeNode=uo;function za(l){switch(l.kind){case 209:return l.tag;case 279:case 278:return l.tagName;default:return l.expression}}e.getInvokedExpression=za;function hi(l,re,lr){if(e.isNamedDeclaration(l)&&e.isPrivateIdentifier(l.name))return!1;switch(l.kind){case 256:return!0;case 166:return re.kind===256;case 171:case 172:case 168:return l.body!==void 0&&re.kind===256;case 163:return re.body!==void 0&&(re.kind===170||re.kind===168||re.kind===172)&&lr.kind===256}return!1}e.nodeCanBeDecorated=hi;function Zi(l,re,lr){return l.decorators!==void 0&&hi(l,re,lr)}e.nodeIsDecorated=Zi;function Po(l,re,lr){return Zi(l,re,lr)||Fo(l,re)}e.nodeOrChildIsDecorated=Po;function Fo(l,re){switch(l.kind){case 256:return e.some(l.members,function(lr){return Po(lr,l,re)});case 168:case 172:case 170:return e.some(l.parameters,function(lr){return Zi(lr,l,re)});default:return!1}}e.childIsDecorated=Fo;function Go(l){if(Zi(l))return!0;var re=Lf(l);return!!re&&Fo(re,l)}e.classOrConstructorParameterIsDecorated=Go;function qo(l){var re=l.parent;return re.kind===279||re.kind===278||re.kind===280?re.tagName===l:!1}e.isJSXTagName=qo;function Ts(l){switch(l.kind){case 106:case 104:case 110:case 95:case 13:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 228:case 210:case 229:case 211:case 212:case 225:case 213:case 216:case 214:case 215:case 218:case 219:case 220:case 221:case 224:case 222:case 226:case 277:case 278:case 281:case 223:case 217:case 230:return!0;case 160:for(;l.parent.kind===160;)l=l.parent;return l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||qo(l);case 309:for(;e.isJSDocMemberName(l.parent);)l=l.parent;return l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||qo(l);case 80:return e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===101;case 79:if(l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||qo(l))return!0;case 8:case 9:case 10:case 14:case 108:return xs(l);default:return!1}}e.isExpressionNode=Ts;function xs(l){var re=l.parent;switch(re.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return re.initializer===l;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return re.expression===l;case 241:var lr=re;return lr.initializer===l&&lr.initializer.kind!==254||lr.condition===l||lr.incrementor===l;case 242:case 243:var Vr=re;return Vr.initializer===l&&Vr.initializer.kind!==254||Vr.expression===l;case 210:case 228:return l===re.expression;case 232:return l===re.expression;case 161:return l===re.expression;case 164:case 287:case 286:case 296:return!0;case 227:return re.expression===l&&Ec(re);case 295:return re.objectAssignmentInitializer===l;default:return Ts(re)}}e.isInExpressionContext=xs;function yr(l){for(;l.kind===160||l.kind===79;)l=l.parent;return l.kind===180}e.isPartOfTypeQuery=yr;function dt(l){return e.isNamespaceExport(l)&&!!l.parent.moduleSpecifier}e.isNamespaceReexportDeclaration=dt;function tn(l){return l.kind===264&&l.moduleReference.kind===276}e.isExternalModuleImportEqualsDeclaration=tn;function Vn(l){return e.Debug.assert(tn(l)),l.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=Vn;function Re(l){return ta(l)&&vl(l.initializer).arguments[0]}e.getExternalModuleRequireArgument=Re;function ie(l){return l.kind===264&&l.moduleReference.kind!==276}e.isInternalModuleImportEqualsDeclaration=ie;function _r(l){return Ge(l)}e.isSourceFileJS=_r;function oe(l){return!Ge(l)}e.isSourceFileNotJS=oe;function Ge(l){return!!l&&!!(l.flags&131072)}e.isInJSFile=Ge;function $e(l){return!!l&&!!(l.flags&33554432)}e.isInJsonFile=$e;function hr(l){return!xr(l)}e.isSourceFileNotJson=hr;function Xr(l){return!!l&&!!(l.flags&4194304)}e.isInJSDoc=Xr;function Dt(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)&&l.typeName.escapedText==="Object"&&l.typeArguments&&l.typeArguments.length===2&&(l.typeArguments[0].kind===149||l.typeArguments[0].kind===146)}e.isJSDocIndexSignature=Dt;function Jt(l,re){if(l.kind!==207)return!1;var lr=l,Vr=lr.expression,Nt=lr.arguments;if(Vr.kind!==79||Vr.escapedText!=="require"||Nt.length!==1)return!1;var In=Nt[0];return!re||e.isStringLiteralLike(In)}e.isRequireCall=Jt;function Dn(l){return xa(l,!1)}e.isVariableDeclarationInitializedToRequire=Dn;function ta(l){return xa(l,!0)}e.isVariableDeclarationInitializedToBareOrAccessedRequire=ta;function xa(l,re){return l.kind===202&&(l=l.parent.parent),e.isVariableDeclaration(l)&&!!l.initializer&&Jt(re?vl(l.initializer):l.initializer,!0)}function Di(l){return e.isVariableStatement(l)&&l.declarationList.declarations.length>0&&e.every(l.declarationList.declarations,function(re){return Dn(re)})}e.isRequireVariableStatement=Di;function $a(l){return l===39||l===34}e.isSingleOrDoubleQuote=$a;function Ji(l,re){return ke(re,l).charCodeAt(0)===34}e.isStringDoubleQuoted=Ji;function Do(l){return e.isBinaryExpression(l)||dl(l)||e.isIdentifier(l)||e.isCallExpression(l)}e.isAssignmentDeclaration=Do;function us(l){return Ge(l)&&l.initializer&&e.isBinaryExpression(l.initializer)&&(l.initializer.operatorToken.kind===56||l.initializer.operatorToken.kind===60)&&l.name&&Xc(l.name)&&_i(l.name,l.initializer.left)?l.initializer.right:l.initializer}e.getEffectiveInitializer=us;function bt(l){var re=us(l);return re&&ei(re,Tc(l.name))}e.getDeclaredExpandoInitializer=bt;function Pn(l,re){return e.forEach(l.properties,function(lr){return e.isPropertyAssignment(lr)&&e.isIdentifier(lr.name)&&lr.name.escapedText==="value"&&lr.initializer&&ei(lr.initializer,re)})}function da(l){if(l&&l.parent&&e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63){var re=Tc(l.parent.left);return ei(l.parent.right,re)||bi(l.parent.left,l.parent.right,re)}if(l&&e.isCallExpression(l)&&is(l)){var lr=Pn(l.arguments[2],l.arguments[1].text==="prototype");if(lr)return lr}}e.getAssignedExpandoInitializer=da;function ei(l,re){if(e.isCallExpression(l)){var lr=Si(l.expression);return lr.kind===212||lr.kind===213?l:void 0}if(l.kind===212||l.kind===225||l.kind===213||e.isObjectLiteralExpression(l)&&(l.properties.length===0||re))return l}e.getExpandoInitializer=ei;function bi(l,re,lr){var Vr=e.isBinaryExpression(re)&&(re.operatorToken.kind===56||re.operatorToken.kind===60)&&ei(re.right,lr);if(Vr&&_i(l,re.left))return Vr}function xi(l){var re=e.isVariableDeclaration(l.parent)?l.parent.name:e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63?l.parent.left:void 0;return re&&ei(l.right,Tc(re))&&Xc(re)&&_i(re,l.left)}e.isDefaultedExpandoInitializer=xi;function ka(l){if(e.isBinaryExpression(l.parent)){var re=(l.parent.operatorToken.kind===56||l.parent.operatorToken.kind===60)&&e.isBinaryExpression(l.parent.parent)?l.parent.parent:l.parent;if(re.operatorToken.kind===63&&e.isIdentifier(re.left))return re.left}else if(e.isVariableDeclaration(l.parent))return l.parent.name}e.getNameOfExpando=ka;function _i(l,re){if(td(l)&&td(re))return Md(l)===Md(re);if(e.isIdentifier(l)&&pe(re)&&(re.expression.kind===108||e.isIdentifier(re.expression)&&(re.expression.escapedText==="window"||re.expression.escapedText==="self"||re.expression.escapedText==="global"))){var lr=Qr(re);return e.isPrivateIdentifier(lr)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),_i(l,lr)}return pe(l)&&pe(re)?Ia(l)===Ia(re)&&_i(l.expression,re.expression):!1}e.isSameEntityName=_i;function Xi(l){for(;Zd(l,!0);)l=l.right;return l}e.getRightMostAssignedExpression=Xi;function Gi(l){return e.isIdentifier(l)&&l.escapedText==="exports"}e.isExportsIdentifier=Gi;function wo(l){return e.isIdentifier(l)&&l.escapedText==="module"}e.isModuleIdentifier=wo;function Ro(l){return(e.isPropertyAccessExpression(l)||Mr(l))&&wo(l.expression)&&Ia(l)==="exports"}e.isModuleExportsAccessExpression=Ro;function rs(l){var re=hn(l);return re===5||Ge(l)?re:0}e.getAssignmentDeclarationKind=rs;function is(l){return e.length(l.arguments)===3&&e.isPropertyAccessExpression(l.expression)&&e.isIdentifier(l.expression.expression)&&e.idText(l.expression.expression)==="Object"&&e.idText(l.expression.name)==="defineProperty"&&Rs(l.arguments[1])&&Oe(l.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=is;function pe(l){return e.isPropertyAccessExpression(l)||Mr(l)}e.isLiteralLikeAccess=pe;function Mr(l){return e.isElementAccessExpression(l)&&Rs(l.argumentExpression)}e.isLiteralLikeElementAccess=Mr;function ft(l,re){return e.isPropertyAccessExpression(l)&&(!re&&l.expression.kind===108||e.isIdentifier(l.name)&&Oe(l.expression,!0))||Zt(l,re)}e.isBindableStaticAccessExpression=ft;function Zt(l,re){return Mr(l)&&(!re&&l.expression.kind===108||Xc(l.expression)||ft(l.expression,!0))}e.isBindableStaticElementAccessExpression=Zt;function Oe(l,re){return Xc(l)||ft(l,re)}e.isBindableStaticNameExpression=Oe;function Qr(l){return e.isPropertyAccessExpression(l)?l.name:l.argumentExpression}e.getNameOrArgument=Qr;function hn(l){if(e.isCallExpression(l)){if(!is(l))return 0;var re=l.arguments[0];return Gi(re)||Ro(re)?8:ft(re)&&Ia(re)==="prototype"?9:7}return l.operatorToken.kind!==63||!dl(l.left)||Xn(Xi(l))?0:Oe(l.left.expression,!0)&&Ia(l.left)==="prototype"&&e.isObjectLiteralExpression(jo(l))?6:oo(l.left)}function Xn(l){return e.isVoidExpression(l)&&e.isNumericLiteral(l.expression)&&l.expression.text==="0"}function gi(l){if(e.isPropertyAccessExpression(l))return l.name;var re=Si(l.argumentExpression);return e.isNumericLiteral(re)||e.isStringLiteralLike(re)?re:l}e.getElementOrPropertyAccessArgumentExpressionOrName=gi;function Ia(l){var re=gi(l);if(re){if(e.isIdentifier(re))return re.escapedText;if(e.isStringLiteralLike(re)||e.isNumericLiteral(re))return e.escapeLeadingUnderscores(re.text)}}e.getElementOrPropertyAccessName=Ia;function oo(l){if(l.expression.kind===108)return 4;if(Ro(l))return 2;if(Oe(l.expression,!0)){if(Tc(l.expression))return 3;for(var re=l;!e.isIdentifier(re.expression);)re=re.expression;var lr=re.expression;if((lr.escapedText==="exports"||lr.escapedText==="module"&&Ia(re)==="exports")&&ft(l))return 1;if(Oe(l,!0)||e.isElementAccessExpression(l)&&wd(l))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=oo;function jo(l){for(;e.isBinaryExpression(l.right);)l=l.right;return l.right}e.getInitializerOfBinaryExpression=jo;function Nr(l){return e.isBinaryExpression(l)&&rs(l)===3}e.isPrototypePropertyAssignment=Nr;function Ws(l){return Ge(l)&&l.parent&&l.parent.kind===237&&(!e.isElementAccessExpression(l)||Mr(l))&&!!e.getJSDocTypeTag(l.parent)}e.isSpecialPropertyDeclaration=Ws;function sl(l,re){var lr=l.valueDeclaration;(!lr||!(re.flags&8388608&&!(lr.flags&8388608))&&Do(lr)&&!Do(re)||lr.kind!==re.kind&&Rr(lr))&&(l.valueDeclaration=re)}e.setValueDeclaration=sl;function Pl(l){if(!l||!l.valueDeclaration)return!1;var re=l.valueDeclaration;return re.kind===255||e.isVariableDeclaration(re)&&re.initializer&&e.isFunctionLike(re.initializer)}e.isFunctionSymbol=Pl;function xo(l){var re,lr,Vr;switch(l.kind){case 253:return l.initializer.arguments[0].text;case 265:return(re=e.tryCast(l.moduleSpecifier,e.isStringLiteralLike))===null||re===void 0?void 0:re.text;case 264:return(Vr=e.tryCast((lr=e.tryCast(l.moduleReference,e.isExternalModuleReference))===null||lr===void 0?void 0:lr.expression,e.isStringLiteralLike))===null||Vr===void 0?void 0:Vr.text;default:e.Debug.assertNever(l)}}e.tryGetModuleSpecifierFromDeclaration=xo;function js(l){return Zl(l)||e.Debug.failBadSyntaxKind(l.parent)}e.importFromModuleSpecifier=js;function Zl(l){switch(l.parent.kind){case 265:case 271:return l.parent;case 276:return l.parent.parent;case 207:return rr(l.parent)||Jt(l.parent,!1)?l.parent:void 0;case 195:return e.Debug.assert(e.isStringLiteral(l)),e.tryCast(l.parent.parent,e.isImportTypeNode);default:return}}e.tryGetImportFromModuleSpecifier=Zl;function ql(l){switch(l.kind){case 265:case 271:return l.moduleSpecifier;case 264:return l.moduleReference.kind===276?l.moduleReference.expression:void 0;case 199:return Or(l)?l.argument.literal:void 0;case 207:return l.arguments[0];case 260:return l.name.kind===10?l.name:void 0;default:return e.Debug.assertNever(l)}}e.getExternalModuleName=ql;function fc(l){switch(l.kind){case 265:return l.importClause&&e.tryCast(l.importClause.namedBindings,e.isNamespaceImport);case 264:return l;case 271:return l.exportClause&&e.tryCast(l.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(l)}}e.getNamespaceDeclarationNode=fc;function uu(l){return l.kind===265&&!!l.importClause&&!!l.importClause.name}e.isDefaultImport=uu;function no(l,re){if(l.name){var lr=re(l);if(lr)return lr}if(l.namedBindings){var lr=e.isNamespaceImport(l.namedBindings)?re(l.namedBindings):e.forEach(l.namedBindings.elements,re);if(lr)return lr}}e.forEachImportClauseDeclaration=no;function Xl(l){if(l)switch(l.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return l.questionToken!==void 0}return!1}e.hasQuestionToken=Xl;function dc(l){var re=e.isJSDocFunctionType(l)?e.firstOrUndefined(l.parameters):void 0,lr=e.tryCast(re&&re.name,e.isIdentifier);return!!lr&&lr.escapedText==="new"}e.isJSDocConstructSignature=dc;function Hs(l){return l.kind===343||l.kind===336||l.kind===337}e.isJSDocTypeAlias=Hs;function Ic(l){return Hs(l)||e.isTypeAliasDeclaration(l)}e.isTypeAlias=Ic;function Nc(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&l.expression.operatorToken.kind===63?Xi(l.expression):void 0}function La(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&rs(l.expression)!==0&&e.isBinaryExpression(l.expression.right)&&(l.expression.right.operatorToken.kind===56||l.expression.right.operatorToken.kind===60)?l.expression.right.right:void 0}function fu(l){switch(l.kind){case 236:var re=pc(l);return re&&re.initializer;case 166:return l.initializer;case 294:return l.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=fu;function pc(l){return e.isVariableStatement(l)?e.firstOrUndefined(l.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=pc;function kc(l){return e.isModuleDeclaration(l)&&l.body&&l.body.kind===260?l.body:void 0}function Pr(l,re){var lr;en(l)&&e.hasInitializer(l)&&e.hasJSDocNodes(l.initializer)&&(lr=e.addRange(lr,$r(l,e.last(l.initializer.jsDoc))));for(var Vr=l;Vr&&Vr.parent;){if(e.hasJSDocNodes(Vr)&&(lr=e.addRange(lr,$r(l,e.last(Vr.jsDoc)))),Vr.kind===163){lr=e.addRange(lr,(re?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(Vr));break}if(Vr.kind===162){lr=e.addRange(lr,(re?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(Vr));break}Vr=Kt(Vr)}return lr||e.emptyArray}e.getJSDocCommentsAndTags=Pr;function $r(l,re){if(e.isJSDoc(re)){var lr=e.filter(re.tags,function(Vr){return Lt(l,Vr)});return re.tags===lr?[re]:lr}return Lt(l,re)?[re]:void 0}function Lt(l,re){return!e.isJSDocTypeTag(re)||!re.parent||!e.isJSDoc(re.parent)||!e.isParenthesizedExpression(re.parent.parent)||re.parent.parent===l}function Kt(l){var re=l.parent;if(re.kind===294||re.kind===270||re.kind===166||re.kind===237&&l.kind===205||re.kind===246||kc(re)||e.isBinaryExpression(l)&&l.operatorToken.kind===63)return re;if(re.parent&&(pc(re.parent)===l||e.isBinaryExpression(re)&&re.operatorToken.kind===63))return re.parent;if(re.parent&&re.parent.parent&&(pc(re.parent.parent)||fu(re.parent.parent)===l||La(re.parent.parent)))return re.parent.parent}e.getNextJSDocCommentLocation=Kt;function pn(l){if(l.symbol)return l.symbol;if(e.isIdentifier(l.name)){var re=l.name.escapedText,lr=kn(l);if(lr){var Vr=e.find(lr.parameters,function(Nt){return Nt.name.kind===79&&Nt.name.escapedText===re});return Vr&&Vr.symbol}}}e.getParameterSymbolFromJSDoc=pn;function fn(l){if(e.isJSDoc(l.parent)&&l.parent.tags){var re=e.find(l.parent.tags,Hs);if(re)return re}return kn(l)}e.getEffectiveContainerForJSDocTemplateTag=fn;function kn(l){var re=zn(l);return re&&e.isFunctionLike(re)?re:void 0}e.getHostSignatureFromJSDoc=kn;function zn(l){var re=Fa(l);if(re)return La(re)||Nc(re)||fu(re)||pc(re)||kc(re)||re}e.getEffectiveJSDocHost=zn;function Fa(l){var re=ua(l);if(re){var lr=re.parent;if(lr&&lr.jsDoc&&re===e.lastOrUndefined(lr.jsDoc))return lr}}e.getJSDocHost=Fa;function ua(l){return e.findAncestor(l.parent,e.isJSDoc)}e.getJSDocRoot=ua;function se(l){var re=l.name.escapedText,lr=l.parent.parent.parent.typeParameters;return lr&&e.find(lr,function(Vr){return Vr.name.escapedText===re})}e.getTypeParameterFromJsDoc=se;function er(l){var re=e.lastOrUndefined(l.parameters);return!!re&&Er(re)}e.hasRestParameter=er;function Er(l){var re=e.isJSDocParameterTag(l)?l.typeExpression&&l.typeExpression.type:l.type;return l.dotDotDotToken!==void 0||!!re&&re.kind===316}e.isRestParameter=Er;function ct(l){return!!l.typeArguments}e.hasTypeArguments=ct,function(l){l[l.None=0]="None",l[l.Definite=1]="Definite",l[l.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={}));function jt(l){for(var re=l.parent;;){switch(re.kind){case 220:var lr=re.operatorToken.kind;return ic(lr)&&re.left===l?lr===63||pu(lr)?1:2:0;case 218:case 219:var Vr=re.operator;return Vr===45||Vr===46?2:0;case 242:case 243:return re.initializer===l?1:0;case 211:case 203:case 224:case 229:l=re;break;case 296:l=re.parent;break;case 295:if(re.name!==l)return 0;l=re.parent;break;case 294:if(re.name===l)return 0;l=re.parent;break;default:return 0}re=l.parent}}e.getAssignmentTargetKind=jt;function En(l){return jt(l)!==0}e.isAssignmentTarget=En;function ha(l){switch(l.kind){case 234:case 236:case 247:case 238:case 248:case 262:case 288:case 289:case 249:case 241:case 242:case 243:case 239:case 240:case 251:case 291:return!0}return!1}e.isNodeWithPossibleHoistedDeclaration=ha;function ri(l){return e.isFunctionExpression(l)||e.isArrowFunction(l)||e.isMethodOrAccessor(l)||e.isFunctionDeclaration(l)||e.isConstructorDeclaration(l)}e.isValueSignatureDeclaration=ri;function Ta(l,re){for(;l&&l.kind===re;)l=l.parent;return l}function Ya(l){return Ta(l,190)}e.walkUpParenthesizedTypes=Ya;function fi(l){return Ta(l,211)}e.walkUpParenthesizedExpressions=fi;function ci(l){for(var re;l&&l.kind===190;)re=l,l=l.parent;return[re,l]}e.walkUpParenthesizedTypesAndGetParentAndChild=ci;function Si(l,re){var lr=re?17:1;return e.skipOuterExpressions(l,lr)}e.skipParentheses=Si;function Lo(l){return l.kind!==205&&l.kind!==206?!1:(l=fi(l.parent),l&&l.kind===214)}e.isDeleteTarget=Lo;function Eo(l,re){for(;l;){if(l===re)return!0;l=l.parent}return!1}e.isNodeDescendantOf=Eo;function ks(l){return!e.isSourceFile(l)&&!e.isBindingPattern(l)&&e.isDeclaration(l.parent)&&l.parent.name===l}e.isDeclarationName=ks;function Zs(l){var re=l.parent;switch(l.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(re))return re.parent;case 79:if(e.isDeclaration(re))return re.name===l?re:void 0;if(e.isQualifiedName(re)){var lr=re.parent;return e.isJSDocParameterTag(lr)&&lr.name===re?lr:void 0}else{var Vr=re.parent;return e.isBinaryExpression(Vr)&&rs(Vr)!==0&&(Vr.left.symbol||Vr.symbol)&&e.getNameOfDeclaration(Vr)===l?Vr:void 0}case 80:return e.isDeclaration(re)&&re.name===l?re:void 0;default:return}}e.getDeclarationFromName=Zs;function ku(l){return Rs(l)&&l.parent.kind===161&&e.isDeclaration(l.parent.parent)}e.isLiteralComputedPropertyDeclarationName=ku;function hf(l){var re=l.parent;switch(re.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return re.name===l;case 160:return re.right===l;case 202:case 269:return re.propertyName===l;case 274:case 284:return!0}return!1}e.isIdentifierName=hf;function $l(l){return l.kind===264||l.kind===263||l.kind===266&&!!l.name||l.kind===267||l.kind===273||l.kind===269||l.kind===274||l.kind===270&&ec(l)||e.isBinaryExpression(l)&&rs(l)===2&&ec(l)||e.isPropertyAccessExpression(l)&&e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===63&&Fr(l.parent.right)||l.kind===295||l.kind===294&&Fr(l.initializer)}e.isAliasSymbolDeclaration=$l;function Hc(l){switch(l.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return l.parent;case 160:do l=l.parent;while(l.parent.kind===160);return Hc(l)}}e.getAliasDeclarationFromName=Hc;function Fr(l){return Xc(l)||e.isClassExpression(l)}e.isAliasableExpression=Fr;function ec(l){var re=mc(l);return Fr(re)}e.exportAssignmentIsAlias=ec;function mc(l){return e.isExportAssignment(l)?l.expression:l.right}e.getExportAssignmentExpression=mc;function Ru(l){return l.kind===295?l.name:l.kind===294?l.initializer:l.parent.right}e.getPropertyAssignmentAliasLikeExpression=Ru;function ll(l){var re=Rc(l);if(re&&Ge(l)){var lr=e.getJSDocAugmentsTag(l);if(lr)return lr.class}return re}e.getEffectiveBaseTypeNode=ll;function Rc(l){var re=bf(l.heritageClauses,94);return re&&re.types.length>0?re.types[0]:void 0}e.getClassExtendsHeritageElement=Rc;function yf(l){if(Ge(l))return e.getJSDocImplementsTags(l).map(function(lr){return lr.class});var re=bf(l.heritageClauses,117);return re==null?void 0:re.types}e.getEffectiveImplementsTypeNodes=yf;function po(l){return e.isInterfaceDeclaration(l)?rd(l)||e.emptyArray:e.isClassLike(l)&&e.concatenate(e.singleElementArray(ll(l)),yf(l))||e.emptyArray}e.getAllSuperTypeNodes=po;function rd(l){var re=bf(l.heritageClauses,94);return re?re.types:void 0}e.getInterfaceBaseTypeNodes=rd;function bf(l,re){if(l)for(var lr=0,Vr=l;lr=0)return li[vo]}}function In(Ei){var li;Ei.file?(li=lr.get(Ei.file.fileName),li||(li=[],lr.set(Ei.file.fileName,li),e.insertSorted(re,Ei.file.fileName,e.compareStringsCaseSensitive))):(Vr&&(Vr=!1,l=l.slice()),li=l),e.insertSorted(li,Ei,l_)}function Un(){return Vr=!0,l}function ga(Ei){if(Ei)return lr.get(Ei)||[];var li=e.flatMapToMutable(re,function(vo){return lr.get(vo)});return l.length&&li.unshift.apply(li,l),li}}e.createDiagnosticCollection=rc;var jd=/\$\{/g;function Tf(l){return l.replace(jd,"\\${")}function Ap(l){return l&&!!(e.isNoSubstitutionTemplateLiteral(l)?l.templateFlags:l.head.templateFlags||e.some(l.templateSpans,function(re){return!!re.literal.templateFlags}))}e.hasInvalidEscape=Ap;var Cp=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Sf=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,am=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Hd=new e.Map(e.getEntries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function ad(l){var re=l.toString(16).toUpperCase(),lr=("0000"+re).slice(-4);return"\\u"+lr}function id(l,re,lr){if(l.charCodeAt(0)===0){var Vr=lr.charCodeAt(re+l.length);return Vr>=48&&Vr<=57?"\\x00":"\\0"}return Hd.get(l)||ad(l.charCodeAt(0))}function wu(l,re){var lr=re===96?am:re===39?Sf:Cp;return l.replace(lr,id)}e.escapeString=wu;var Mu=/[^\u0000-\u007F]/g;function Pu(l,re){return l=wu(l,re),Mu.test(l)?l.replace(Mu,function(lr){return ad(lr.charCodeAt(0))}):l}e.escapeNonAsciiString=Pu;var Js=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,vc=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,od=new e.Map(e.getEntries({'"':""","'":"'"}));function wm(l){var re=l.toString(16).toUpperCase();return"&#x"+re+";"}function sd(l){return l.charCodeAt(0)===0?"�":od.get(l)||wm(l.charCodeAt(0))}function Fu(l,re){var lr=re===39?vc:Js;return l.replace(lr,sd)}e.escapeJsxAttributeString=Fu;function Mm(l){var re=l.length;return re>=2&&l.charCodeAt(0)===l.charCodeAt(re-1)&&hc(l.charCodeAt(0))?l.substring(1,re-1):l}e.stripQuotes=Mm;function hc(l){return l===39||l===34||l===96}function Fl(l){var re=l.charCodeAt(0);return re>=97&&re<=122||e.stringContains(l,"-")||e.stringContains(l,":")}e.isIntrinsicJsxName=Fl;var Dl=[""," "];function Gl(l){for(var re=Dl[1],lr=Dl.length;lr<=l;lr++)Dl.push(Dl[lr-1]+re);return Dl[l]}e.getIndentString=Gl;function _l(){return Dl[1].length}e.getIndentSize=_l;function xp(l){var re,lr,Vr,Nt,In,Un=!1;function ga(To){var qu=e.computeLineStarts(To);qu.length>1?(Nt=Nt+qu.length-1,In=re.length-To.length+e.last(qu),Vr=In-re.length===0):Vr=!1}function Ei(To){To&&To.length&&(Vr&&(To=Gl(lr)+To,Vr=!1),re+=To,ga(To))}function li(To){To&&(Un=!1),Ei(To)}function vo(To){To&&(Un=!0),Ei(To)}function wi(){re="",lr=0,Vr=!0,Nt=0,In=0,Un=!1}function Ns(To){To!==void 0&&(re+=To,ga(To),Un=!1)}function qs(To){To&&To.length&&li(To)}function ys(To){(!Vr||To)&&(re+=l,Nt++,In=re.length,Vr=!0,Un=!1)}function oc(){return Vr?re.length:re.length+l.length}return wi(),{write:li,rawWrite:Ns,writeLiteral:qs,writeLine:ys,increaseIndent:function(){lr++},decreaseIndent:function(){lr--},getIndent:function(){return lr},getTextPos:function(){return re.length},getLine:function(){return Nt},getColumn:function(){return Vr?lr*_l():re.length-In},getText:function(){return re},isAtStartOfLine:function(){return Vr},hasTrailingComment:function(){return Un},hasTrailingWhitespace:function(){return!!re.length&&e.isWhiteSpaceLike(re.charCodeAt(re.length-1))},clear:wi,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:li,writeOperator:li,writeParameter:li,writeProperty:li,writePunctuation:li,writeSpace:li,writeStringLiteral:li,writeSymbol:function(To,qu){return li(To)},writeTrailingSemicolon:li,writeComment:vo,getTextPosWithWriteLine:oc}}e.createTextWriter=xp;function Df(l){var re=!1;function lr(){re&&(l.writeTrailingSemicolon(";"),re=!1)}return On(On({},l),{writeTrailingSemicolon:function(){re=!0},writeLiteral:function(Vr){lr(),l.writeLiteral(Vr)},writeStringLiteral:function(Vr){lr(),l.writeStringLiteral(Vr)},writeSymbol:function(Vr,Nt){lr(),l.writeSymbol(Vr,Nt)},writePunctuation:function(Vr){lr(),l.writePunctuation(Vr)},writeKeyword:function(Vr){lr(),l.writeKeyword(Vr)},writeOperator:function(Vr){lr(),l.writeOperator(Vr)},writeParameter:function(Vr){lr(),l.writeParameter(Vr)},writeSpace:function(Vr){lr(),l.writeSpace(Vr)},writeProperty:function(Vr){lr(),l.writeProperty(Vr)},writeComment:function(Vr){lr(),l.writeComment(Vr)},writeLine:function(){lr(),l.writeLine()},increaseIndent:function(){lr(),l.increaseIndent()},decreaseIndent:function(){lr(),l.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=Df;function Jd(l){return l.useCaseSensitiveFileNames?l.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=Jd;function ld(l){return e.createGetCanonicalFileName(Jd(l))}e.hostGetCanonicalFileName=ld;function go(l,re,lr){return re.moduleName||gs(l,re.fileName,lr&&lr.fileName)}e.getResolvedExternalModuleName=go;function Ll(l,re){return l.getCanonicalFileName(e.getNormalizedAbsolutePath(re,l.getCurrentDirectory()))}function Mo(l,re,lr){var Vr=re.getExternalModuleFileFromDeclaration(lr);if(!(!Vr||Vr.isDeclarationFile)){var Nt=ql(lr);if(!(Nt&&e.isStringLiteralLike(Nt)&&!e.pathIsRelative(Nt.text)&&Ll(l,Vr.path).indexOf(Ll(l,e.ensureTrailingDirectorySeparator(l.getCommonSourceDirectory())))===-1))return go(l,Vr)}}e.getExternalModuleNameFromDeclaration=Mo;function gs(l,re,lr){var Vr=function(Ei){return l.getCanonicalFileName(Ei)},Nt=e.toPath(lr?e.getDirectoryPath(lr):l.getCommonSourceDirectory(),l.getCurrentDirectory(),Vr),In=e.getNormalizedAbsolutePath(re,l.getCurrentDirectory()),Un=e.getRelativePathToDirectoryOrUrl(Nt,In,Nt,Vr,!1),ga=z_(Un);return lr?e.ensurePathIsNonModuleName(ga):ga}e.getExternalModuleNameFromPath=gs;function im(l,re,lr){var Vr=re.getCompilerOptions(),Nt;return Vr.outDir?Nt=z_(cl(l,re,Vr.outDir)):Nt=z_(l),Nt+lr}e.getOwnEmitOutputFilePath=im;function Ql(l,re){return cd(l,re.getCompilerOptions(),re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(lr){return re.getCanonicalFileName(lr)})}e.getDeclarationEmitOutputFilePath=Ql;function cd(l,re,lr,Vr,Nt){var In=re.declarationDir||re.outDir,Un=In?Ln(l,In,lr,Vr,Nt):l,ga=An(Un);return z_(Un)+ga}e.getDeclarationEmitOutputFilePathWorker=cd;function An(l){return e.fileExtensionIsOneOf(l,[".mjs",".mts"])?".d.mts":e.fileExtensionIsOneOf(l,[".cjs",".cts"])?".d.cts":e.fileExtensionIsOneOf(l,[".json"])?".json.d.ts":".d.ts"}e.getDeclarationEmitExtensionForPath=An;function fs(l){return l.outFile||l.out}e.outFile=fs;function ii(l,re){var lr,Vr;if(l.paths)return(lr=l.baseUrl)!==null&&lr!==void 0?lr:e.Debug.checkDefined(l.pathsBasePath||((Vr=re.getCurrentDirectory)===null||Vr===void 0?void 0:Vr.call(re)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}e.getPathsBasePath=ii;function wc(l,re,lr){var Vr=l.getCompilerOptions();if(fs(Vr)){var Nt=bd(Vr),In=Vr.emitDeclarationOnly||Nt===e.ModuleKind.AMD||Nt===e.ModuleKind.System;return e.filter(l.getSourceFiles(),function(ga){return(In||!e.isExternalModule(ga))&&ud(ga,l,lr)})}else{var Un=re===void 0?l.getSourceFiles():[re];return e.filter(Un,function(ga){return ud(ga,l,lr)})}}e.getSourceFilesToEmit=wc;function ud(l,re,lr){var Vr=re.getCompilerOptions();return!(Vr.noEmitForJsFiles&&_r(l))&&!l.isDeclarationFile&&!re.isSourceFileFromExternalLibrary(l)&&(lr||!(xr(l)&&re.getResolvedProjectReferenceToRedirect(l.fileName))&&!re.isSourceOfProjectReferenceRedirect(l.fileName))}e.sourceFileMayBeEmitted=ud;function cl(l,re,lr){return Ln(l,lr,re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(Vr){return re.getCanonicalFileName(Vr)})}e.getSourceFilePathInNewDir=cl;function Ln(l,re,lr,Vr,Nt){var In=e.getNormalizedAbsolutePath(l,lr),Un=Nt(In).indexOf(Nt(Vr))===0;return In=Un?In.substring(Vr.length):In,e.combinePaths(re,In)}e.getSourceFilePathInNewDirWorker=Ln;function Pm(l,re,lr,Vr,Nt,In){l.writeFile(lr,Vr,Nt,function(Un){re.add(of(e.Diagnostics.Could_not_write_file_0_Colon_1,lr,Un))},In)}e.writeFile=Pm;function ts(l,re,lr){if(l.length>e.getRootLength(l)&&!lr(l)){var Vr=e.getDirectoryPath(l);ts(Vr,re,lr),re(l)}}function ds(l,re,lr,Vr,Nt,In){try{Vr(l,re,lr)}catch{ts(e.getDirectoryPath(e.normalizePath(l)),Nt,In),Vr(l,re,lr)}}e.writeFileEnsuringDirectories=ds;function Mc(l,re){var lr=e.getLineStarts(l);return e.computeLineOfPosition(lr,re)}e.getLineOfLocalPosition=Mc;function Ks(l,re){return e.computeLineOfPosition(l,re)}e.getLineOfLocalPositionFromLineMap=Ks;function Lf(l){return e.find(l.members,function(re){return e.isConstructorDeclaration(re)&&P(re.body)})}e.getFirstConstructorWithBody=Lf;function Ps(l){if(l&&l.parameters.length>0){var re=l.parameters.length===2&&Af(l.parameters[0]);return l.parameters[re?1:0]}}e.getSetAccessorValueParameter=Ps;function Pc(l){var re=Ps(l);return re&&re.type}e.getSetAccessorTypeAnnotationNode=Pc;function $u(l){if(l.parameters.length&&!e.isJSDocSignature(l)){var re=l.parameters[0];if(Af(re))return re}}e.getThisParameter=$u;function Af(l){return yc(l.name)}e.parameterIsThisKeyword=Af;function yc(l){return!!l&&l.kind===79&&ul(l)}e.isThisIdentifier=yc;function Cf(l){if(!yc(l))return!1;for(;e.isQualifiedName(l.parent)&&l.parent.left===l;)l=l.parent;return l.parent.kind===180}e.isThisInTypeQuery=Cf;function ul(l){return l.originalKeywordKind===108}e.identifierIsThisKeyword=ul;function om(l,re){var lr,Vr,Nt,In;return Ou(re)?(lr=re,re.kind===171?Nt=re:re.kind===172?In=re:e.Debug.fail("Accessor has wrong kind")):e.forEach(l,function(Un){if(e.isAccessor(Un)&&ef(Un)===ef(re)){var ga=Vo(Un.name),Ei=Vo(re.name);ga===Ei&&(lr?Vr||(Vr=Un):lr=Un,Un.kind===171&&!Nt&&(Nt=Un),Un.kind===172&&!In&&(In=Un))}}),{firstAccessor:lr,secondAccessor:Vr,getAccessor:Nt,setAccessor:In}}e.getAllAccessorDeclarations=om;function Gu(l){if(!(!Ge(l)&&e.isFunctionDeclaration(l))){var re=l.type;return re||!Ge(l)?re:e.isJSDocPropertyLikeTag(l)?l.typeExpression&&l.typeExpression.type:e.getJSDocType(l)}}e.getEffectiveTypeAnnotationNode=Gu;function xf(l){return l.type}e.getTypeAnnotationNode=xf;function fd(l){return e.isJSDocSignature(l)?l.type&&l.type.typeExpression&&l.type.typeExpression.type:l.type||(Ge(l)?e.getJSDocReturnType(l):void 0)}e.getEffectiveReturnTypeNode=fd;function dd(l){return e.flatMap(e.getJSDocTags(l),function(re){return If(re)?re.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=dd;function If(l){return e.isJSDocTemplateTag(l)&&!(l.parent.kind===318&&l.parent.tags.some(Hs))}function bc(l){var re=Ps(l);return re&&Gu(re)}e.getEffectiveSetAccessorTypeAnnotationNode=bc;function pd(l,re,lr,Vr){Nf(l,re,lr.pos,Vr)}e.emitNewLineBeforeLeadingComments=pd;function Nf(l,re,lr,Vr){Vr&&Vr.length&&lr!==Vr[0].pos&&Ks(l,lr)!==Ks(l,Vr[0].pos)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=Nf;function Bu(l,re,lr,Vr){lr!==Vr&&Ks(l,lr)!==Ks(l,Vr)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Bu;function zs(l,re,lr,Vr,Nt,In,Un,ga){if(Vr&&Vr.length>0){Nt&&lr.writeSpace(" ");for(var Ei=!1,li=0,vo=Vr;li=ys+2)break}li.push(qs),vo=qs}if(li.length){var ys=Ks(re,e.last(li).end),To=Ks(re,e.skipTrivia(l,Nt.pos));To>=ys+2&&(pd(re,lr,Nt,ga),zs(l,re,lr,li,!1,!0,In,Vr),Ei={nodePos:Nt.pos,detachedCommentEndPos:e.last(li).end})}}return Ei;function qu(_m){return j(l,_m.pos)}}e.emitDetachedComments=Bl;function zc(l,re,lr,Vr,Nt,In){if(l.charCodeAt(Vr+1)===42)for(var Un=e.computeLineAndCharacterOfPosition(re,Vr),ga=re.length,Ei=void 0,li=Vr,vo=Un.line;li0){var ys=qs%_l(),oc=Gl((qs-ys)/_l());for(lr.rawWrite(oc);ys;)lr.rawWrite(" "),ys--}else lr.rawWrite("")}md(l,Nt,lr,In,li,wi),li=wi}else lr.writeComment(l.substring(Vr,Nt))}e.writeCommentRange=zc;function md(l,re,lr,Vr,Nt,In){var Un=Math.min(re,In-1),ga=e.trimString(l.substring(Nt,Un));ga?(lr.writeComment(ga),Un!==re&&lr.writeLine()):lr.rawWrite(Vr)}function Ga(l,re,lr){for(var Vr=0;re=0&&l.kind<=159?0:(l.modifierFlagsCache&536870912||(l.modifierFlagsCache=Uu(l)|536870912),re&&!(l.modifierFlagsCache&4096)&&(lr||Ge(l))&&l.parent&&(l.modifierFlagsCache|=ac(l)|4096),l.modifierFlagsCache&-536875009)}function Ho(l){return qd(l,!0)}e.getEffectiveModifierFlags=Ho;function Ul(l){return qd(l,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Ul;function Xd(l){return qd(l,!1)}e.getSyntacticModifierFlags=Xd;function ac(l){var re=0;return l.parent&&!e.isParameter(l)&&(Ge(l)&&(e.getJSDocPublicTagNoCache(l)&&(re|=4),e.getJSDocPrivateTagNoCache(l)&&(re|=8),e.getJSDocProtectedTagNoCache(l)&&(re|=16),e.getJSDocReadonlyTagNoCache(l)&&(re|=64),e.getJSDocOverrideTagNoCache(l)&&(re|=16384)),e.getJSDocDeprecatedTagNoCache(l)&&(re|=8192)),re}function Rf(l){return Uu(l)|ac(l)}e.getEffectiveModifierFlagsNoCache=Rf;function Uu(l){var re=_d(l.modifiers);return(l.flags&4||l.kind===79&&l.isInJSDocNamespace)&&(re|=1),re}e.getSyntacticModifierFlagsNoCache=Uu;function _d(l){var re=0;if(l)for(var lr=0,Vr=l;lr=63&&l<=78}e.isAssignmentOperator=ic;function Of(l){var re=Vu(l);return re&&!re.isImplements?re.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=Of;function Vu(l){return e.isExpressionWithTypeArguments(l)&&e.isHeritageClause(l.parent)&&e.isClassLike(l.parent.parent)?{class:l.parent.parent,isImplements:l.parent.token===117}:void 0}e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Vu;function Zd(l,re){return e.isBinaryExpression(l)&&(re?l.operatorToken.kind===63:ic(l.operatorToken.kind))&&e.isLeftHandSideExpression(l.left)}e.isAssignmentExpression=Zd;function tf(l){return Zd(l.parent)&&l.parent.left===l}e.isLeftHandSideOfAssignment=tf;function wf(l){if(Zd(l,!0)){var re=l.left.kind;return re===204||re===203}return!1}e.isDestructuringAssignment=wf;function Ec(l){return Of(l)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=Ec;function Xc(l){return l.kind===79||Yc(l)}e.isEntityNameExpression=Xc;function nf(l){switch(l.kind){case 79:return l;case 160:do l=l.left;while(l.kind!==79);return l;case 205:do l=l.expression;while(l.kind!==79);return l}}e.getFirstIdentifier=nf;function Wu(l){return l.kind===79||l.kind===108||l.kind===106||l.kind===230||l.kind===205&&Wu(l.expression)||l.kind===211&&Wu(l.expression)}e.isDottedName=Wu;function Yc(l){return e.isPropertyAccessExpression(l)&&e.isIdentifier(l.name)&&Xc(l.expression)}e.isPropertyAccessEntityNameExpression=Yc;function $d(l){if(e.isPropertyAccessExpression(l)){var re=$d(l.expression);if(re!==void 0)return re+"."+ar(l.name)}else if(e.isElementAccessExpression(l)){var re=$d(l.expression);if(re!==void 0&&e.isPropertyName(l.argumentExpression))return re+"."+Vo(l.argumentExpression)}else if(e.isIdentifier(l))return e.unescapeLeadingUnderscores(l.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=$d;function Tc(l){return ft(l)&&Ia(l)==="prototype"}e.isPrototypeAccess=Tc;function ju(l){return l.parent.kind===160&&l.parent.right===l||l.parent.kind===205&&l.parent.name===l}e.isRightSideOfQualifiedNameOrPropertyAccess=ju;function sm(l){return e.isQualifiedName(l.parent)&&l.parent.right===l||e.isPropertyAccessExpression(l.parent)&&l.parent.name===l||e.isJSDocMemberName(l.parent)&&l.parent.right===l}e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=sm;function Wa(l){return l.kind===204&&l.properties.length===0}e.isEmptyObjectLiteral=Wa;function mu(l){return l.kind===203&&l.elements.length===0}e.isEmptyArrayLiteral=mu;function gn(l){if(!(!Mf(l)||!l.declarations))for(var re=0,lr=l.declarations;re0&&tc(l.declarations[0],512)}function ep(l){return e.find(yu,function(re){return e.fileExtensionIs(l,re)})}e.tryExtractTSExtension=ep;function rp(l){for(var re=[],lr=l.length,Vr=0;Vr>6|192),re.push(Nt&63|128)):Nt<65536?(re.push(Nt>>12|224),re.push(Nt>>6&63|128),re.push(Nt&63|128)):Nt<131072?(re.push(Nt>>18|240),re.push(Nt>>12&63|128),re.push(Nt>>6&63|128),re.push(Nt&63|128)):e.Debug.assert(!1,"Unexpected code point")}return re}var Fc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function tp(l){for(var re="",lr=rp(l),Vr=0,Nt=lr.length,In,Un,ga,Ei;Vr>2,Un=(lr[Vr]&3)<<4|lr[Vr+1]>>4,ga=(lr[Vr+1]&15)<<2|lr[Vr+2]>>6,Ei=lr[Vr+2]&63,Vr+1>=Nt?ga=Ei=64:Vr+2>=Nt&&(Ei=64),re+=Fc.charAt(In)+Fc.charAt(Un)+Fc.charAt(ga)+Fc.charAt(Ei),Vr+=3;return re}e.convertToBase64=tp;function Fm(l){for(var re="",lr=0,Vr=l.length;lr>4&3,vo=(Un&15)<<4|ga>>2&15,wi=(ga&3)<<6|Ei&63;vo===0&&ga!==0?Vr.push(li):wi===0&&Ei!==0?Vr.push(li,vo):Vr.push(li,vo,wi),Nt+=4}return Fm(Vr)}e.base64decode=Ip;function gd(l,re){try{var lr=re.readFile(l);if(!lr)return{};var Vr=e.parseConfigFileTextToJson(l,lr);return Vr.error?{}:Vr.config}catch{return{}}}e.readJson=gd;function Np(l,re){return!re.directoryExists||re.directoryExists(l)}e.directoryProbablyExists=Np;var Vl=`\r `,Pf=` `;function vd(l,re){switch(l.newLine){case 0:return Vl;case 1:return Pf}return re?re():e.sys?e.sys.newLine:Vl}e.getNewLineCharacter=vd;function Gc(l,re){return re===void 0&&(re=l),e.Debug.assert(re>=l||re===-1),{pos:l,end:re}}e.createRange=Gc;function Zc(l,re){return Gc(l.pos,re)}e.moveRangeEnd=Zc;function Ff(l,re){return Gc(re,l.end)}e.moveRangePos=Ff;function T(l){return l.decorators&&l.decorators.length>0?Ff(l,l.decorators.end):l}e.moveRangePastDecorators=T;function Qe(l){return l.modifiers&&l.modifiers.length>0?Ff(l,l.modifiers.end):T(l)}e.moveRangePastModifiers=Qe;function nt(l){return l.pos===l.end}e.isCollapsedRange=nt;function Ot(l,re){return Gc(l,l+e.tokenToString(re).length)}e.createTokenRange=Ot;function fa(l,re){return ti(l,l,re)}e.rangeIsOnSingleLine=fa;function Ra(l,re,lr){return ss(os(l,lr,!1),os(re,lr,!1),lr)}e.rangeStartPositionsAreOnSameLine=Ra;function ia(l,re,lr){return ss(l.end,re.end,lr)}e.rangeEndPositionsAreOnSameLine=ia;function ti(l,re,lr){return ss(os(l,lr,!1),re.end,lr)}e.rangeStartIsOnSameLineAsRangeEnd=ti;function Na(l,re,lr){return ss(l.end,os(re,lr,!1),lr)}e.rangeEndIsOnSameLineAsRangeStart=Na;function Ua(l,re,lr,Vr){var Nt=os(re,lr,Vr);return e.getLinesBetweenPositions(lr,l.end,Nt)}e.getLinesBetweenRangeEndAndRangeStart=Ua;function Bo(l,re,lr){return e.getLinesBetweenPositions(lr,l.end,re.end)}e.getLinesBetweenRangeEndPositions=Bo;function fl(l,re){return!ss(l.pos,l.end,re)}e.isNodeArrayMultiLine=fl;function ss(l,re,lr){return e.getLinesBetweenPositions(lr,l,re)===0}e.positionsAreOnSameLine=ss;function os(l,re,lr){return Yg(l.pos)?-1:e.skipTrivia(re.text,l.pos,!1,lr)}e.getStartPositionOfRange=os;function Wl(l,re,lr,Vr){var Nt=e.skipTrivia(lr.text,l,!1,Vr),In=eu(Nt,re,lr);return e.getLinesBetweenPositions(lr,In??re,Nt)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=Wl;function $c(l,re,lr,Vr){var Nt=e.skipTrivia(lr.text,l,!1,Vr);return e.getLinesBetweenPositions(lr,l,Math.min(re,Nt))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=$c;function eu(l,re,lr){for(re===void 0&&(re=0);l-- >re;)if(!e.isWhiteSpaceLike(lr.text.charCodeAt(l)))return l}function hd(l){var re=e.getParseTreeNode(l);if(re)switch(re.parent.kind){case 259:case 260:return re===re.parent.name}return!1}e.isDeclarationNameOfEnumOrNamespace=hd;function lm(l){return e.filter(l.declarations,af)}e.getInitializedVariables=lm;function af(l){return l.initializer!==void 0}function Gf(l){return l.watch&&l.hasOwnProperty("watch")}e.isWatchSet=Gf;function cm(l){l.close()}e.closeFileWatcher=cm;function yd(l){return l.flags&33554432?l.checkFlags:0}e.getCheckFlags=yd;function jl(l,re){if(re===void 0&&(re=!1),l.valueDeclaration){var lr=re&&l.declarations&&e.find(l.declarations,function(ga){return ga.kind===172})||l.valueDeclaration,Vr=e.getCombinedModifierFlags(lr);return l.parent&&l.parent.flags&32?Vr:Vr&-29}if(yd(l)&6){var Nt=l.checkFlags,In=Nt&1024?8:Nt&256?4:16,Un=Nt&2048?32:0;return In|Un}return l.flags&4194304?36:0}e.getDeclarationModifierFlagsFromSymbol=jl;function np(l,re){return l.flags&2097152?re.getAliasedSymbol(l):l}e.skipAlias=np;function um(l){return l.exportSymbol?l.exportSymbol.flags|l.flags:l.flags}e.getCombinedLocalAndExportSymbolFlags=um;function Ce(l){return at(l)===1}e.isWriteOnlyAccess=Ce;function Tr(l){return at(l)!==0}e.isWriteAccess=Tr;var Gr;(function(l){l[l.Read=0]="Read",l[l.Write=1]="Write",l[l.ReadWrite=2]="ReadWrite"})(Gr||(Gr={}));function at(l){var re=l.parent;if(!re)return 0;switch(re.kind){case 211:return at(re);case 219:case 218:var lr=re.operator;return lr===45||lr===46?ga():0;case 220:var Vr=re,Nt=Vr.left,In=Vr.operatorToken;return Nt===l&&ic(In.kind)?In.kind===63?1:ga():0;case 205:return re.name!==l?0:at(re);case 294:{var Un=at(re.parent);return l===re.name?Ct(Un):Un}case 295:return l===re.objectAssignmentInitializer?0:at(re.parent);case 203:return at(re);default:return 0}function ga(){return re.parent&&fi(re.parent).kind===237?1:2}}function Ct(l){switch(l){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(l)}}function Xt(l,re){if(!l||!re||Object.keys(l).length!==Object.keys(re).length)return!1;for(var lr in l)if(typeof l[lr]=="object"){if(!Xt(l[lr],re[lr]))return!1}else if(typeof l[lr]!="function"&&l[lr]!==re[lr])return!1;return!0}e.compareDataObjects=Xt;function Rn(l,re){l.forEach(re),l.clear()}e.clearMap=Rn;function $n(l,re,lr){var Vr=lr.onDeleteValue,Nt=lr.onExistingValue;l.forEach(function(In,Un){var ga=re.get(Un);ga===void 0?(l.delete(Un),Vr(In,Un)):Nt&&Nt(In,ga,Un)})}e.mutateMapSkippingNewValues=$n;function wa(l,re,lr){$n(l,re,lr);var Vr=lr.createNewValue;re.forEach(function(Nt,In){l.has(In)||l.set(In,Vr(In,Nt))})}e.mutateMap=wa;function Ea(l){if(l.flags&32){var re=Ki(l);return!!re&&tc(re,128)}return!1}e.isAbstractConstructorSymbol=Ea;function Ki(l){var re;return(re=l.declarations)===null||re===void 0?void 0:re.find(e.isClassLike)}e.getClassLikeDeclarationOfSymbol=Ki;function Zo(l){return l.flags&3899393?l.objectFlags:0}e.getObjectFlags=Zo;function $i(l,re){return re.getSignaturesOfType(l,0).length!==0||re.getSignaturesOfType(l,1).length!==0}e.typeHasCallOrConstructSignatures=$i;function Jo(l,re){return!!e.forEachAncestorDirectory(l,function(lr){return re(lr)?!0:void 0})}e.forSomeAncestorDirectory=Jo;function vs(l){return!!l&&!!l.declarations&&!!l.declarations[0]&&e.isNamespaceExportDeclaration(l.declarations[0])}e.isUMDExportSymbol=vs;function gl(l){var re=l.moduleSpecifier;return e.isStringLiteral(re)?re.text:ve(re)}e.showModuleSpecifier=gl;function Is(l){var re;return e.forEachChild(l,function(lr){P(lr)&&(re=lr)},function(lr){for(var Vr=lr.length-1;Vr>=0;Vr--)if(P(lr[Vr])){re=lr[Vr];break}}),re}e.getLastChild=Is;function xl(l,re,lr){return lr===void 0&&(lr=!0),l.has(re)?!1:(l.set(re,lr),!0)}e.addToSeen=xl;function El(l){return e.isClassLike(l)||e.isInterfaceDeclaration(l)||e.isTypeLiteralNode(l)}e.isObjectTypeDeclaration=El;function Hu(l){return l>=176&&l<=199||l===130||l===154||l===146||l===157||l===147||l===133||l===149||l===150||l===114||l===152||l===143||l===227||l===310||l===311||l===312||l===313||l===314||l===315||l===316}e.isTypeNodeKind=Hu;function dl(l){return l.kind===205||l.kind===206}e.isAccessExpression=dl;function Fs(l){return l.kind===205?l.name:(e.Debug.assert(l.kind===206),l.argumentExpression)}e.getNameOfAccessExpression=Fs;function Bf(l){switch(l.kind){case"text":case"internal":return!0;default:return!1}}e.isBundleFileTextLike=Bf;function _u(l){return l.kind===268||l.kind===272}e.isNamedImportsOrExports=_u;function vl(l){for(;dl(l);)l=l.expression;return l}e.getLeftmostAccessExpression=vl;function v(l,re){for(;;){switch(l.kind){case 219:l=l.operand;continue;case 220:l=l.left;continue;case 221:l=l.condition;continue;case 209:l=l.tag;continue;case 207:if(re)return l;case 228:case 206:case 205:case 229:case 348:l=l.expression;continue}return l}}e.getLeftmostExpression=v;function H(l,re){this.flags=l,this.escapedName=re,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function ye(l,re){this.flags=re,(e.Debug.isDebugging||e.tracing)&&(this.checker=l)}function tr(l,re){this.flags=re,e.Debug.isDebugging&&(this.checker=l)}function Ur(l,re,lr){this.pos=re,this.end=lr,this.kind=l,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Ht(l,re,lr){this.pos=re,this.end=lr,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function on(l,re,lr){this.pos=re,this.end=lr,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function si(l,re,lr){this.fileName=l,this.text=re,this.skipTrivia=lr||function(Vr){return Vr}}e.objectAllocator={getNodeConstructor:function(){return Ur},getTokenConstructor:function(){return Ht},getIdentifierConstructor:function(){return on},getPrivateIdentifierConstructor:function(){return Ur},getSourceFileConstructor:function(){return Ur},getSymbolConstructor:function(){return H},getTypeConstructor:function(){return ye},getSignatureConstructor:function(){return tr},getSourceMapSourceConstructor:function(){return si}};function No(l){e.objectAllocator=l}e.setObjectAllocator=No;function hs(l,re,lr){return lr===void 0&&(lr=0),l.replace(/{(\d+)}/g,function(Vr,Nt){return""+e.Debug.checkDefined(re[+Nt+lr])})}e.formatStringFromArgs=hs;function ap(l){e.localizedDiagnosticMessages=l}e.setLocalizedDiagnosticMessages=ap;function Bc(l){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[l.key]||l.message}e.getLocaleSpecificMessage=Bc;function j_(l,re,lr,Vr){ue(void 0,re,lr);var Nt=Bc(Vr);return arguments.length>4&&(Nt=hs(Nt,arguments,4)),{file:void 0,start:re,length:lr,messageText:Nt,category:Vr.category,code:Vr.code,reportsUnnecessary:Vr.reportsUnnecessary,fileName:l}}e.createDetachedDiagnostic=j_;function ip(l){return l.file===void 0&&l.start!==void 0&&l.length!==void 0&&typeof l.fileName=="string"}function H_(l,re){var lr=re.fileName||"",Vr=re.text.length;e.Debug.assertEqual(l.fileName,lr),e.Debug.assertLessThanOrEqual(l.start,Vr),e.Debug.assertLessThanOrEqual(l.start+l.length,Vr);var Nt={file:re,start:l.start,length:l.length,messageText:l.messageText,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary};if(l.relatedInformation){Nt.relatedInformation=[];for(var In=0,Un=l.relatedInformation;In4&&(Nt=hs(Nt,arguments,4)),{file:l,start:re,length:lr,messageText:Nt,category:Vr.category,code:Vr.code,reportsUnnecessary:Vr.reportsUnnecessary,reportsDeprecated:Vr.reportsDeprecated}}e.createFileDiagnostic=Cn;function Uf(l,re){var lr=Bc(re);return arguments.length>2&&(lr=hs(lr,arguments,2)),lr}e.formatMessage=Uf;function of(l){var re=Bc(l);return arguments.length>1&&(re=hs(re,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:re,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary,reportsDeprecated:l.reportsDeprecated}}e.createCompilerDiagnostic=of;function Gm(l,re){return{file:void 0,start:void 0,length:void 0,code:l.code,category:l.category,messageText:l.next?l:l.messageText,relatedInformation:re}}e.createCompilerDiagnosticFromMessageChain=Gm;function kp(l,re){var lr=Bc(re);return arguments.length>2&&(lr=hs(lr,arguments,2)),{messageText:lr,category:re.category,code:re.code,next:l===void 0||Array.isArray(l)?l:[l]}}e.chainDiagnosticMessages=kp;function J_(l,re){for(var lr=l;lr.next;)lr=lr.next[0];lr.next=[re]}e.concatenateDiagnosticMessageChains=J_;function Ju(l){return l.file?l.file.path:void 0}function l_(l,re){return gu(l,re)||Hv(l,re)||0}e.compareDiagnostics=l_;function gu(l,re){return e.compareStringsCaseSensitive(Ju(l),Ju(re))||e.compareValues(l.start,re.start)||e.compareValues(l.length,re.length)||e.compareValues(l.code,re.code)||fm(l.messageText,re.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=gu;function Hv(l,re){return!l.relatedInformation&&!re.relatedInformation?0:l.relatedInformation&&re.relatedInformation?e.compareValues(l.relatedInformation.length,re.relatedInformation.length)||e.forEach(l.relatedInformation,function(lr,Vr){var Nt=re.relatedInformation[Vr];return l_(lr,Nt)})||0:l.relatedInformation?-1:1}function fm(l,re){if(typeof l=="string"&&typeof re=="string")return e.compareStringsCaseSensitive(l,re);if(typeof l=="string")return-1;if(typeof re=="string")return 1;var lr=e.compareStringsCaseSensitive(l.messageText,re.messageText);if(lr)return lr;if(!l.next&&!re.next)return 0;if(!l.next)return-1;if(!re.next)return 1;for(var Vr=Math.min(l.next.length,re.next.length),Nt=0;Ntre.next.length?1:0}function c_(l){return l===4||l===2||l===1||l===6?1:0}e.getLanguageVariant=c_;function dm(l){return l.target||l.module===e.ModuleKind.Node12&&7||l.module===e.ModuleKind.NodeNext&&99||0}e.getEmitScriptTarget=dm;function bd(l){return typeof l.module=="number"?l.module:dm(l)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=bd;function K_(l){var re=l.moduleResolution;if(re===void 0)switch(bd(l)){case e.ModuleKind.CommonJS:re=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:re=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:re=e.ModuleResolutionKind.NodeNext;break;default:re=e.ModuleResolutionKind.Classic;break}return re}e.getEmitModuleResolutionKind=K_;function Ku(l){switch(bd(l)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0;default:return!1}}e.hasJsonModuleEmitEnabled=Ku;function Jv(l){return l.allowUnreachableCode===!1}e.unreachableCodeIsError=Jv;function Wg(l){return l.allowUnusedLabels===!1}e.unusedLabelIsError=Wg;function Il(l){return!!(Hg(l)&&l.declarationMap)}e.getAreDeclarationMapsEnabled=Il;function jg(l){if(l.esModuleInterop!==void 0)return l.esModuleInterop;switch(bd(l)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}e.getESModuleInterop=jg;function Rp(l){var re=bd(l);return l.allowSyntheticDefaultImports!==void 0?l.allowSyntheticDefaultImports:jg(l)||re===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=Rp;function Hg(l){return!!(l.declaration||l.composite)}e.getEmitDeclarations=Hg;function zu(l){return!!(l.preserveConstEnums||l.isolatedModules)}e.shouldPreserveConstEnums=zu;function un(l){return!!(l.incremental||l.composite)}e.isIncrementalCompilation=un;function pa(l,re){return l[re]===void 0?!!l.strict:!!l[re]}e.getStrictOptionValue=pa;function Jn(l){return l.allowJs===void 0?!!l.checkJs:l.allowJs}e.getAllowJSCompilerOption=Jn;function Sa(l){return l.useDefineForClassFields===void 0?dm(l)===99:l.useDefineForClassFields}e.getUseDefineForClassFields=Sa;function Za(l,re){return K(re,l,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=Za;function zi(l,re){return K(re,l,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=zi;function Uo(l,re){return re.strictFlag?pa(l,re.name):l[re.name]}e.getCompilerOptionValue=Uo;function el(l){var re=l.jsx;return re===2||re===4||re===5}e.getJSXTransformEnabled=el;function hl(l,re){var lr=re==null?void 0:re.pragmas.get("jsximportsource"),Vr=e.isArray(lr)?lr[lr.length-1]:lr;return l.jsx===4||l.jsx===5||l.jsxImportSource||Vr?(Vr==null?void 0:Vr.arguments.factory)||l.jsxImportSource||"react":void 0}e.getJSXImplicitImportBase=hl;function Hl(l,re){return l?"".concat(l,"/").concat(re.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}e.getJSXRuntimeImport=Hl;function yl(l){for(var re=!1,lr=0;lr=2&&In.length>=2&&!pm(Nt[Nt.length-2],Vr)&&!pm(In[In.length-2],Vr)&&Vr(Nt[Nt.length-1])===Vr(In[In.length-1]);)Nt.pop(),In.pop(),Un=!0;return Un?[e.getPathFromPathComponents(Nt),e.getPathFromPathComponents(In)]:void 0}function pm(l,re){return l!==void 0&&(re(l)==="node_modules"||e.startsWith(l,"@"))}function op(l){return e.isAnyDirectorySeparator(l.charCodeAt(0))?l.slice(1):void 0}function u_(l,re,lr){var Vr=e.tryRemovePrefix(l,re,lr);return Vr===void 0?void 0:op(Vr)}e.tryRemoveDirectoryPrefix=u_;var f_=/[^\w\s\/]/g;function BE(l){return l.replace(f_,UE)}e.regExpEscape=BE;function UE(l){return"\\"+l}var my=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var Jg="(?!(".concat(e.commonPackageFolders.join("|"),")(/|$))"),Kv={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(Jg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(l){return zv(l,Kv.singleAsteriskRegexFragment)}},Kg={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(Jg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(l){return zv(l,Kg.singleAsteriskRegexFragment)}},vu={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(l){return zv(l,vu.singleAsteriskRegexFragment)}},zg={files:Kv,directories:Kg,exclude:vu};function Op(l,re,lr){var Vr=Bm(l,re,lr);if(!(!Vr||!Vr.length)){var Nt=Vr.map(function(Un){return"(".concat(Un,")")}).join("|"),In=lr==="exclude"?"($|/)":"$";return"^(".concat(Nt,")").concat(In)}}e.getRegularExpressionForWildcard=Op;function Bm(l,re,lr){if(!(l===void 0||l.length===0))return e.flatMap(l,function(Vr){return Vr&&hu(Vr,re,lr,zg[lr])})}e.getRegularExpressionsForWildcards=Bm;function mm(l){return!/[.*?]/.test(l)}e.isImplicitGlob=mm;function VE(l,re,lr){var Vr=l&&hu(l,re,lr,zg[lr]);return Vr&&"^(".concat(Vr,")").concat(lr==="exclude"?"($|/)":"$")}e.getPatternFromSpec=VE;function hu(l,re,lr,Vr){var Nt=Vr.singleAsteriskRegexFragment,In=Vr.doubleAsteriskRegexFragment,Un=Vr.replaceWildcardCharacter,ga="",Ei=!1,li=e.getNormalizedPathComponents(l,re),vo=e.last(li);if(!(lr!=="exclude"&&vo==="**")){li[0]=e.removeTrailingDirectorySeparator(li[0]),mm(vo)&&li.push("**","*");for(var wi=0,Ns=0,qs=li;Ns0;)ga+=")?",wi--;return ga}}function zv(l,re){return l==="*"?re:l==="?"?"[^/]":"\\"+l}function qv(l,re,lr,Vr,Nt){l=e.normalizePath(l),Nt=e.normalizePath(Nt);var In=e.combinePaths(Nt,l);return{includeFilePatterns:e.map(Bm(lr,In,"files"),function(Un){return"^".concat(Un,"$")}),includeFilePattern:Op(lr,In,"files"),includeDirectoryPattern:Op(lr,In,"directories"),excludePattern:Op(re,In,"exclude"),basePaths:qg(l,lr,Vr)}}e.getFileMatcherPatterns=qv;function d_(l,re){return new RegExp(l,re?"":"i")}e.getRegexFromPattern=d_;function sf(l,re,lr,Vr,Nt,In,Un,ga,Ei){l=e.normalizePath(l),In=e.normalizePath(In);for(var li=qv(l,lr,Vr,Nt,In),vo=li.includeFilePatterns&&li.includeFilePatterns.map(function(sp){return d_(sp,Nt)}),wi=li.includeDirectoryPattern&&d_(li.includeDirectoryPattern,Nt),Ns=li.excludePattern&&d_(li.excludePattern,Nt),qs=vo?vo.map(function(){return[]}):[[]],ys=new e.Map,oc=e.createGetCanonicalFileName(Nt),To=0,qu=li.basePaths;To=0)}e.positionIsSynthesized=Yg;function Dy(l){return l===".ts"||l===".tsx"||l===".d.ts"||l===".cts"||l===".mts"||l===".d.mts"||l===".d.cts"}e.extensionIsTS=Dy;function Ly(l){return Dy(l)||l===".json"}e.resolutionExtensionIsTSOrJson=Ly;function Ay(l){var re=Zv(l);return re!==void 0?re:e.Debug.fail("File ".concat(l," has unknown extension."))}e.extensionFromPath=Ay;function KE(l){return Zv(l)!==void 0}e.isAnySupportedFileExtension=KE;function Zv(l){return e.find(Yv,function(re){return e.fileExtensionIs(l,re)})}e.tryGetExtensionFromPath=Zv;function zE(l,re){return l.checkJsDirective?l.checkJsDirective.enabled:re.checkJs}e.isCheckJsEnabledForFile=zE,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function q_(l,re){for(var lr=[],Vr=0,Nt=l;VrVr&&(Vr=In)}return{min:lr,max:Vr}}e.minAndMax=qE;function XE(l){return{pos:Ee(l),end:l.end}}e.rangeOfNode=XE;function ru(l,re){var lr=re.pos-1,Vr=e.skipTrivia(l.text,re.end)+1;return{pos:lr,end:Vr}}e.rangeOfTypeParameters=ru;function Sc(l,re,lr){return re.skipLibCheck&&l.isDeclarationFile||re.skipDefaultLibCheck&&l.hasNoDefaultLib||lr.isSourceOfProjectReferenceRedirect(l.fileName)}e.skipTypeChecking=Sc;function lf(l,re){return l===re||typeof l=="object"&&l!==null&&typeof re=="object"&&re!==null&&e.equalOwnProperties(l,re,lf)}e.isJsonEqual=lf;function bu(l){var re;switch(l.charCodeAt(1)){case 98:case 66:re=1;break;case 111:case 79:re=3;break;case 120:case 88:re=4;break;default:for(var lr=l.length-1,Vr=0;l.charCodeAt(Vr)===48;)Vr++;return l.slice(Vr,lr)||"0"}for(var Nt=2,In=l.length-1,Un=(In-Nt)*re,ga=new Uint16Array((Un>>>4)+(Un&15?1:0)),Ei=In-1,li=0;Ei>=Nt;Ei--,li+=re){var vo=li>>>4,wi=l.charCodeAt(Ei),Ns=wi<=57?wi-48:10+wi-(wi<=70?65:97),qs=Ns<<(li&15);ga[vo]|=qs;var ys=qs>>>16;ys&&(ga[vo+1]|=ys)}for(var oc="",To=ga.length-1,qu=!0;qu;){var _m=0;qu=!1;for(var vo=To;vo>=0;vo--){var m_=_m<<16|ga[vo],sp=m_/10|0;ga[vo]=sp,_m=m_-sp*10,sp&&!qu&&(To=vo,qu=!0)}oc=_m+oc}return oc}e.parsePseudoBigInt=bu;function Cy(l){var re=l.negative,lr=l.base10Value;return(re&&lr!=="0"?"-":"")+lr}e.pseudoBigIntToString=Cy;function X_(l){return!!(l.flags&8388608)||yr(l)||xy(l)||tu(l)||!(Ts(l)||Y_(l))}e.isValidTypeOnlyAliasUseSite=X_;function Y_(l){return e.isIdentifier(l)&&e.isShorthandPropertyAssignment(l.parent)&&l.parent.name===l}function tu(l){for(;l.kind===79||l.kind===205;)l=l.parent;if(l.kind!==161)return!1;if(tc(l.parent,128))return!0;var re=l.parent.parent.kind;return re===257||re===181}function xy(l){if(l.kind!==79)return!1;var re=e.findAncestor(l.parent,function(lr){switch(lr.kind){case 290:return!0;case 205:case 227:return!1;default:return"quit"}});return(re==null?void 0:re.token)===117||(re==null?void 0:re.parent.kind)===257}function rh(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)}e.isIdentifierTypeReference=rh;function YE(l,re){if(re===void 0&&(re=e.equateValues),l.length<2)return!0;for(var lr=l[0],Vr=1,Nt=l.length;Vr3)return!0;var te=e.getExpressionPrecedence(P);switch(e.compareValues(te,d)){case-1:return!(!C&&h===1&&D.kind===223);case 1:return!1;case 0:if(C)return h===1;if(e.isBinaryExpression(P)&&P.operatorToken.kind===b){if(g(b))return!1;if(b===39){var ce=_?m(_):0;if(e.isLiteralKind(ce)&&ce===m(P))return!1}}var q=e.getExpressionAssociativity(P);return q===0}}function g(b){return b===41||b===51||b===50||b===52}function m(b){if(b=e.skipPartiallyEmittedExpressions(b),e.isLiteralKind(b.kind))return b.kind;if(b.kind===220&&b.operatorToken.kind===39){if(b.cachedLiteralKind!==void 0)return b.cachedLiteralKind;var D=m(b.left),C=e.isLiteralKind(D)&&D===m(b.right)?D:0;return b.cachedLiteralKind=C,C}return 0}function A(b,D,C,_){var d=e.skipPartiallyEmittedExpressions(D);return d.kind===211?D:V(b,D,C,_)?c.createParenthesizedExpression(D):D}function K(b,D){return A(b,D,!0)}function ae(b,D,C){return A(b,C,!1,D)}function y(b){return e.isCommaSequence(b)?c.createParenthesizedExpression(b):b}function k(b){var D=e.getOperatorPrecedence(221,57),C=e.skipPartiallyEmittedExpressions(b),_=e.getExpressionPrecedence(C);return e.compareValues(_,D)!==1?c.createParenthesizedExpression(b):b}function S(b){var D=e.skipPartiallyEmittedExpressions(b);return e.isCommaSequence(D)?c.createParenthesizedExpression(b):b}function F(b){var D=e.skipPartiallyEmittedExpressions(b),C=e.isCommaSequence(D);if(!C)switch(e.getLeftmostExpression(D,!1).kind){case 225:case 212:C=!0}return C?c.createParenthesizedExpression(b):b}function B(b){var D=e.getLeftmostExpression(b,!0);switch(D.kind){case 207:return c.createParenthesizedExpression(b);case 208:return D.arguments?b:c.createParenthesizedExpression(b)}return N(b)}function N(b){var D=e.skipPartiallyEmittedExpressions(b);return e.isLeftHandSideExpression(D)&&(D.kind!==208||D.arguments)?b:e.setTextRange(c.createParenthesizedExpression(b),b)}function w(b){return e.isLeftHandSideExpression(b)?b:e.setTextRange(c.createParenthesizedExpression(b),b)}function O(b){return e.isUnaryExpression(b)?b:e.setTextRange(c.createParenthesizedExpression(b),b)}function U(b){var D=e.sameMap(b,Q);return e.setTextRange(c.createNodeArray(D,b.hasTrailingComma),b)}function Q(b){var D=e.skipPartiallyEmittedExpressions(b),C=e.getExpressionPrecedence(D),_=e.getOperatorPrecedence(220,27);return C>_?b:e.setTextRange(c.createParenthesizedExpression(b),b)}function ee(b){var D=e.skipPartiallyEmittedExpressions(b);if(e.isCallExpression(D)){var C=D.expression,_=e.skipPartiallyEmittedExpressions(C).kind;if(_===212||_===213){var d=c.updateCallExpression(D,e.setTextRange(c.createParenthesizedExpression(C),C),D.typeArguments,D.arguments);return c.restoreOuterExpressions(b,d,8)}}var h=e.getLeftmostExpression(D,!1).kind;return h===204||h===212?e.setTextRange(c.createParenthesizedExpression(b),b):b}function ne(b){return!e.isBlock(b)&&(e.isCommaSequence(b)||e.getLeftmostExpression(b,!1).kind===204)?e.setTextRange(c.createParenthesizedExpression(b),b):b}function M(b){return b.kind===188?c.createParenthesizedType(b):b}function X(b){switch(b.kind){case 186:case 187:case 178:case 179:return c.createParenthesizedType(b)}return M(b)}function G(b){switch(b.kind){case 180:case 192:case 189:return c.createParenthesizedType(b)}return X(b)}function Z(b){return c.createNodeArray(e.sameMap(b,X))}function E(b,D){return D===0&&e.isFunctionOrConstructorTypeNode(b)&&b.typeParameters?c.createParenthesizedType(b):b}function I(b){if(e.some(b))return c.createNodeArray(e.sameMap(b,E))}}e.createParenthesizerRules=n,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(c){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(c){return e.identity},parenthesizeLeftSideOfBinary:function(c,f){return f},parenthesizeRightSideOfBinary:function(c,f,a){return a},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(c){return e.cast(c,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(c){return e.cast(c,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(c){return e.cast(c,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(c){return e.cast(c,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(c){return e.cast(c,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(c){return e.cast(c,e.isNodeArray)},parenthesizeTypeArguments:function(c){return c&&e.cast(c,e.isNodeArray)}}})(gr||(gr={}));var gr;(function(e){function n(c){return{convertToFunctionBlock:f,convertToFunctionExpression:a,convertToArrayAssignmentElement:p,convertToObjectAssignmentElement:x,convertToAssignmentPattern:V,convertToObjectAssignmentPattern:g,convertToArrayAssignmentPattern:m,convertToAssignmentElementTarget:A};function f(K,ae){if(e.isBlock(K))return K;var y=c.createReturnStatement(K);e.setTextRange(y,K);var k=c.createBlock([y],ae);return e.setTextRange(k,K),k}function a(K){if(!K.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var ae=c.createFunctionExpression(K.modifiers,K.asteriskToken,K.name,K.typeParameters,K.parameters,K.type,K.body);return e.setOriginalNode(ae,K),e.setTextRange(ae,K),e.getStartsOnNewLine(K)&&e.setStartsOnNewLine(ae,!0),ae}function p(K){if(e.isBindingElement(K)){if(K.dotDotDotToken)return e.Debug.assertNode(K.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(c.createSpreadElement(K.name),K),K);var ae=A(K.name);return K.initializer?e.setOriginalNode(e.setTextRange(c.createAssignment(ae,K.initializer),K),K):ae}return e.cast(K,e.isExpression)}function x(K){if(e.isBindingElement(K)){if(K.dotDotDotToken)return e.Debug.assertNode(K.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(c.createSpreadAssignment(K.name),K),K);if(K.propertyName){var ae=A(K.name);return e.setOriginalNode(e.setTextRange(c.createPropertyAssignment(K.propertyName,K.initializer?c.createAssignment(ae,K.initializer):ae),K),K)}return e.Debug.assertNode(K.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(c.createShorthandPropertyAssignment(K.name,K.initializer),K),K)}return e.cast(K,e.isObjectLiteralElementLike)}function V(K){switch(K.kind){case 201:case 203:return m(K);case 200:case 204:return g(K)}}function g(K){return e.isObjectBindingPattern(K)?e.setOriginalNode(e.setTextRange(c.createObjectLiteralExpression(e.map(K.elements,x)),K),K):e.cast(K,e.isObjectLiteralExpression)}function m(K){return e.isArrayBindingPattern(K)?e.setOriginalNode(e.setTextRange(c.createArrayLiteralExpression(e.map(K.elements,p)),K),K):e.cast(K,e.isArrayLiteralExpression)}function A(K){return e.isBindingPattern(K)?V(K):e.cast(K,e.isExpression)}}e.createNodeConverters=n,e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}})(gr||(gr={}));var gr;(function(e){var n=0;(function(G){G[G.None=0]="None",G[G.NoParenthesizerRules=1]="NoParenthesizerRules",G[G.NoNodeConverters=2]="NoNodeConverters",G[G.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",G[G.NoOriginalNode=8]="NoOriginalNode"})(e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function c(G,Z){var E=G&8?f:a,I=e.memoize(function(){return G&1?e.nullParenthesizerRules:e.createParenthesizerRules(Te)}),b=e.memoize(function(){return G&2?e.nullNodeConverters:e.createNodeConverters(Te)}),D=e.memoizeOne(function(v){return function(H,ye){return Ia(H,v,ye)}}),C=e.memoizeOne(function(v){return function(H){return Qr(v,H)}}),_=e.memoizeOne(function(v){return function(H){return Xn(H,v)}}),d=e.memoizeOne(function(v){return function(){return Mm(v)}}),h=e.memoizeOne(function(v){return function(H){return hc(v,H)}}),P=e.memoizeOne(function(v){return function(H,ye){return Fl(v,H,ye)}}),te=e.memoizeOne(function(v){return function(H,ye){return xf(v,H,ye)}}),ce=e.memoizeOne(function(v){return function(H,ye,tr){return fd(v,H,ye,tr)}}),q=e.memoizeOne(function(v){return function(H,ye,tr){return dd(v,H,ye,tr)}}),J=e.memoizeOne(function(v){return function(H,ye,tr,Ur){return If(v,H,ye,tr,Ur)}}),Te={get parenthesizer(){return I()},get converters(){return b()},createNodeArray:Ae,createNumericLiteral:de,createBigIntLiteral:De,createStringLiteral:Xe,createStringLiteralFromNode:Se,createRegularExpressionLiteral:Le,createLiteralLikeNode:Ye,createIdentifier:or,updateIdentifier:Cr,createTempVariable:Rr,createLoopVariable:Ke,createUniqueName:Me,getGeneratedNameForNode:Hr,createPrivateIdentifier:cr,createToken:fe,createSuper:xe,createThis:Je,createNull:pr,createTrue:kr,createFalse:Ve,createModifier:ur,createModifiersFromModifierFlags:Wr,createQualifiedName:He,updateQualifiedName:Lr,createComputedPropertyName:qr,updateComputedPropertyName:lt,createTypeParameterDeclaration:rt,updateTypeParameterDeclaration:Rt,createParameterDeclaration:an,updateParameterDeclaration:yn,createDecorator:vn,updateDecorator:Fn,createPropertySignature:ar,updatePropertySignature:wr,createPropertyDeclaration:sr,updatePropertyDeclaration:he,createMethodSignature:ir,updateMethodSignature:ue,createMethodDeclaration:je,updateMethodDeclaration:be,createConstructorDeclaration:Ne,updateConstructorDeclaration:me,createGetAccessorDeclaration:Ze,updateGetAccessorDeclaration:xr,createSetAccessorDeclaration:fr,updateSetAccessorDeclaration:dr,createCallSignature:et,updateCallSignature:yt,createConstructSignature:jr,updateConstructSignature:rr,createIndexSignature:Ir,updateIndexSignature:Or,createClassStaticBlockDeclaration:We,updateClassStaticBlockDeclaration:$,createTemplateLiteralTypeSpan:zr,updateTemplateLiteralTypeSpan:gt,createKeywordTypeNode:vt,createTypePredicateNode:ut,updateTypePredicateNode:ht,createTypeReferenceNode:xt,updateTypeReferenceNode:wt,createFunctionTypeNode:Qt,updateFunctionTypeNode:_t,createConstructorTypeNode:rn,updateConstructorTypeNode:Kn,createTypeQueryNode:en,updateTypeQueryNode:St,createTypeLiteralNode:Ut,updateTypeLiteralNode:qt,createArrayTypeNode:Mn,updateArrayTypeNode:dn,createTupleTypeNode:oa,updateTupleTypeNode:pt,createNamedTupleMember:mt,updateNamedTupleMember:Mt,createOptionalTypeNode:It,updateOptionalTypeNode:tt,createRestTypeNode:xn,updateRestTypeNode:Qn,createUnionTypeNode:mi,updateUnionTypeNode:va,createIntersectionTypeNode:yi,updateIntersectionTypeNode:ro,createConditionalTypeNode:Ka,updateConditionalTypeNode:Mi,createInferTypeNode:io,updateInferTypeNode:ji,createImportTypeNode:ko,updateImportTypeNode:co,createParenthesizedType:Ao,updateParenthesizedType:Ha,createThisTypeNode:Qo,createTypeOperatorNode:uo,updateTypeOperatorNode:za,createIndexedAccessTypeNode:hi,updateIndexedAccessTypeNode:Zi,createMappedTypeNode:Po,updateMappedTypeNode:Fo,createLiteralTypeNode:Go,updateLiteralTypeNode:qo,createTemplateLiteralType:Hi,updateTemplateLiteralType:to,createObjectBindingPattern:Ts,updateObjectBindingPattern:xs,createArrayBindingPattern:yr,updateArrayBindingPattern:dt,createBindingElement:tn,updateBindingElement:Vn,createArrayLiteralExpression:ie,updateArrayLiteralExpression:_r,createObjectLiteralExpression:oe,updateObjectLiteralExpression:Ge,createPropertyAccessExpression:G&4?function(v,H){return e.setEmitFlags($e(v,H),131072)}:$e,updatePropertyAccessExpression:hr,createPropertyAccessChain:G&4?function(v,H,ye){return e.setEmitFlags(Xr(v,H,ye),131072)}:Xr,updatePropertyAccessChain:Dt,createElementAccessExpression:Jt,updateElementAccessExpression:Dn,createElementAccessChain:ta,updateElementAccessChain:xa,createCallExpression:Di,updateCallExpression:$a,createCallChain:Ji,updateCallChain:Do,createNewExpression:us,updateNewExpression:bt,createTaggedTemplateExpression:Pn,updateTaggedTemplateExpression:da,createTypeAssertion:ei,updateTypeAssertion:bi,createParenthesizedExpression:xi,updateParenthesizedExpression:ka,createFunctionExpression:_i,updateFunctionExpression:Xi,createArrowFunction:Gi,updateArrowFunction:wo,createDeleteExpression:Ro,updateDeleteExpression:rs,createTypeOfExpression:is,updateTypeOfExpression:pe,createVoidExpression:Mr,updateVoidExpression:ft,createAwaitExpression:Zt,updateAwaitExpression:Oe,createPrefixUnaryExpression:Qr,updatePrefixUnaryExpression:hn,createPostfixUnaryExpression:Xn,updatePostfixUnaryExpression:gi,createBinaryExpression:Ia,updateBinaryExpression:jo,createConditionalExpression:Nr,updateConditionalExpression:Ws,createTemplateExpression:sl,updateTemplateExpression:Pl,createTemplateHead:Zl,createTemplateMiddle:ql,createTemplateTail:fc,createNoSubstitutionTemplateLiteral:uu,createTemplateLiteralLikeNode:js,createYieldExpression:no,updateYieldExpression:Xl,createSpreadElement:dc,updateSpreadElement:Hs,createClassExpression:Ic,updateClassExpression:Nc,createOmittedExpression:La,createExpressionWithTypeArguments:fu,updateExpressionWithTypeArguments:pc,createAsExpression:kc,updateAsExpression:Pr,createNonNullExpression:$r,updateNonNullExpression:Lt,createNonNullChain:Kt,updateNonNullChain:pn,createMetaProperty:fn,updateMetaProperty:kn,createTemplateSpan:zn,updateTemplateSpan:Fa,createSemicolonClassElement:ua,createBlock:se,updateBlock:er,createVariableStatement:Er,updateVariableStatement:ct,createEmptyStatement:jt,createExpressionStatement:En,updateExpressionStatement:ha,createIfStatement:ri,updateIfStatement:Ta,createDoStatement:Ya,updateDoStatement:fi,createWhileStatement:ci,updateWhileStatement:Si,createForStatement:Lo,updateForStatement:Eo,createForInStatement:ks,updateForInStatement:Zs,createForOfStatement:ku,updateForOfStatement:hf,createContinueStatement:$l,updateContinueStatement:Hc,createBreakStatement:Fr,updateBreakStatement:ec,createReturnStatement:mc,updateReturnStatement:Ru,createWithStatement:ll,updateWithStatement:Rc,createSwitchStatement:yf,updateSwitchStatement:po,createLabeledStatement:rd,updateLabeledStatement:bf,createThrowStatement:Od,updateThrowStatement:_s,createTryStatement:Jc,updateTryStatement:Kc,createDebuggerStatement:$p,createVariableDeclaration:ml,updateVariableDeclaration:em,createVariableDeclarationList:Ms,updateVariableDeclarationList:Ja,createFunctionDeclaration:Zn,updateFunctionDeclaration:Oc,createClassDeclaration:Rs,updateClassDeclaration:Ef,createInterfaceDeclaration:Ou,updateInterfaceDeclaration:wd,createTypeAliasDeclaration:Vo,updateTypeAliasDeclaration:td,createEnumDeclaration:Md,updateEnumDeclaration:Pd,createModuleDeclaration:rm,updateModuleDeclaration:Sp,createModuleBlock:Yl,updateModuleBlock:Om,createCaseBlock:nd,updateCaseBlock:Dp,createNamespaceExportDeclaration:Fd,updateNamespaceExportDeclaration:Gd,createImportEqualsDeclaration:Bd,updateImportEqualsDeclaration:Ud,createImportDeclaration:Lp,updateImportDeclaration:tm,createImportClause:Vd,updateImportClause:nm,createAssertClause:Wd,updateAssertClause:du,createAssertEntry:_c,updateAssertEntry:gc,createNamespaceImport:rc,updateNamespaceImport:jd,createNamespaceExport:Tf,updateNamespaceExport:Ap,createNamedImports:Cp,updateNamedImports:Sf,createImportSpecifier:am,updateImportSpecifier:Hd,createExportAssignment:ad,updateExportAssignment:id,createExportDeclaration:wu,updateExportDeclaration:Mu,createNamedExports:Pu,updateNamedExports:Js,createExportSpecifier:vc,updateExportSpecifier:od,createMissingDeclaration:wm,createExternalModuleReference:sd,updateExternalModuleReference:Fu,get createJSDocAllType(){return d(310)},get createJSDocUnknownType(){return d(311)},get createJSDocNonNullableType(){return h(313)},get updateJSDocNonNullableType(){return P(313)},get createJSDocNullableType(){return h(312)},get updateJSDocNullableType(){return P(312)},get createJSDocOptionalType(){return h(314)},get updateJSDocOptionalType(){return P(314)},get createJSDocVariadicType(){return h(316)},get updateJSDocVariadicType(){return P(316)},get createJSDocNamepathType(){return h(317)},get updateJSDocNamepathType(){return P(317)},createJSDocFunctionType:Dl,updateJSDocFunctionType:Gl,createJSDocTypeLiteral:_l,updateJSDocTypeLiteral:xp,createJSDocTypeExpression:Df,updateJSDocTypeExpression:Jd,createJSDocSignature:ld,updateJSDocSignature:go,createJSDocTemplateTag:gs,updateJSDocTemplateTag:im,createJSDocTypedefTag:Ql,updateJSDocTypedefTag:cd,createJSDocParameterTag:An,updateJSDocParameterTag:fs,createJSDocPropertyTag:ii,updateJSDocPropertyTag:wc,createJSDocCallbackTag:ud,updateJSDocCallbackTag:cl,createJSDocAugmentsTag:Ln,updateJSDocAugmentsTag:Pm,createJSDocImplementsTag:ts,updateJSDocImplementsTag:Gu,createJSDocSeeTag:ds,updateJSDocSeeTag:Mc,createJSDocNameReference:Ks,updateJSDocNameReference:Lf,createJSDocMemberName:Ps,updateJSDocMemberName:Pc,createJSDocLink:$u,updateJSDocLink:Af,createJSDocLinkCode:yc,updateJSDocLinkCode:Cf,createJSDocLinkPlain:ul,updateJSDocLinkPlain:om,get createJSDocTypeTag(){return q(341)},get updateJSDocTypeTag(){return J(341)},get createJSDocReturnTag(){return q(339)},get updateJSDocReturnTag(){return J(339)},get createJSDocThisTag(){return q(340)},get updateJSDocThisTag(){return J(340)},get createJSDocEnumTag(){return q(337)},get updateJSDocEnumTag(){return J(337)},get createJSDocAuthorTag(){return te(328)},get updateJSDocAuthorTag(){return ce(328)},get createJSDocClassTag(){return te(330)},get updateJSDocClassTag(){return ce(330)},get createJSDocPublicTag(){return te(331)},get updateJSDocPublicTag(){return ce(331)},get createJSDocPrivateTag(){return te(332)},get updateJSDocPrivateTag(){return ce(332)},get createJSDocProtectedTag(){return te(333)},get updateJSDocProtectedTag(){return ce(333)},get createJSDocReadonlyTag(){return te(334)},get updateJSDocReadonlyTag(){return ce(334)},get createJSDocOverrideTag(){return te(335)},get updateJSDocOverrideTag(){return ce(335)},get createJSDocDeprecatedTag(){return te(329)},get updateJSDocDeprecatedTag(){return ce(329)},createJSDocUnknownTag:bc,updateJSDocUnknownTag:pd,createJSDocText:Nf,updateJSDocText:Bu,createJSDocComment:zs,updateJSDocComment:Bl,createJsxElement:zc,updateJsxElement:md,createJsxSelfClosingElement:Ga,updateJsxSelfClosingElement:wn,createJsxOpeningElement:Ss,updateJsxOpeningElement:Kd,createJsxClosingElement:tc,updateJsxClosingElement:ef,createJsxFragment:qc,createJsxText:Al,updateJsxText:nc,createJsxOpeningFragment:kf,createJsxJsxClosingFragment:rf,updateJsxFragment:zd,createJsxAttribute:$s,updateJsxAttribute:qd,createJsxAttributes:Ho,updateJsxAttributes:Ul,createJsxSpreadAttribute:Xd,updateJsxSpreadAttribute:ac,createJsxExpression:Rf,updateJsxExpression:Uu,createCaseClause:_d,updateCaseClause:Yd,createDefaultClause:Cl,updateDefaultClause:ns,createHeritageClause:pu,updateHeritageClause:Qd,createCatchClause:ic,updateCatchClause:Of,createPropertyAssignment:Vu,updatePropertyAssignment:tf,createShorthandPropertyAssignment:wf,updateShorthandPropertyAssignment:Xc,createSpreadAssignment:nf,updateSpreadAssignment:Wu,createEnumMember:Yc,updateEnumMember:$d,createSourceFile:Tc,updateSourceFile:sm,createBundle:Wa,updateBundle:mu,createUnparsedSource:gn,createUnparsedPrologue:ep,createUnparsedPrepend:rp,createUnparsedTextLike:Fc,createUnparsedSyntheticReference:tp,createInputFiles:Fm,createSyntheticExpression:Qc,createSyntaxList:Ip,createNotEmittedStatement:gd,createPartiallyEmittedExpression:Np,updatePartiallyEmittedExpression:Vl,createCommaListExpression:vd,updateCommaListExpression:Gc,createEndOfDeclarationMarker:Zc,createMergeDeclarationMarker:Ff,createSyntheticReferenceExpression:T,updateSyntheticReferenceExpression:Qe,cloneNode:nt,get createComma(){return D(27)},get createAssignment(){return D(63)},get createLogicalOr(){return D(56)},get createLogicalAnd(){return D(55)},get createBitwiseOr(){return D(51)},get createBitwiseXor(){return D(52)},get createBitwiseAnd(){return D(50)},get createStrictEquality(){return D(36)},get createStrictInequality(){return D(37)},get createEquality(){return D(34)},get createInequality(){return D(35)},get createLessThan(){return D(29)},get createLessThanEquals(){return D(32)},get createGreaterThan(){return D(31)},get createGreaterThanEquals(){return D(33)},get createLeftShift(){return D(47)},get createRightShift(){return D(48)},get createUnsignedRightShift(){return D(49)},get createAdd(){return D(39)},get createSubtract(){return D(40)},get createMultiply(){return D(41)},get createDivide(){return D(43)},get createModulo(){return D(44)},get createExponent(){return D(42)},get createPrefixPlus(){return C(39)},get createPrefixMinus(){return C(40)},get createPrefixIncrement(){return C(45)},get createPrefixDecrement(){return C(46)},get createBitwiseNot(){return C(54)},get createLogicalNot(){return C(53)},get createPostfixIncrement(){return _(45)},get createPostfixDecrement(){return _(46)},createImmediatelyInvokedFunctionExpression:Ot,createImmediatelyInvokedArrowFunction:fa,createVoidZero:Ra,createExportDefault:ia,createExternalModuleExport:ti,createTypeCheck:Na,createMethodCall:Ua,createGlobalMethodCall:os,createFunctionBindCall:Bo,createFunctionCallCall:fl,createFunctionApplyCall:ss,createArraySliceCall:Wl,createArrayConcatCall:$c,createObjectDefinePropertyCall:eu,createReflectGetCall:hd,createReflectSetCall:lm,createPropertyDescriptor:Gf,createCallBinding:Ce,createAssignmentTargetWrapper:Tr,inlineExpressions:Gr,getInternalName:Ct,getLocalName:Xt,getExportName:Rn,getDeclarationName:$n,getNamespaceMemberName:wa,getExternalModuleOrNamespaceExportName:Ea,restoreOuterExpressions:jl,restoreEnclosingLabel:np,createUseStrictPrologue:$i,copyPrologue:Ki,copyStandardPrologue:Jo,copyCustomPrologue:vs,ensureUseStrict:gl,liftToBlock:Is,mergeLexicalEnvironment:El,updateModifiers:Hu};return Te;function Ae(v,H){if(v===void 0||v===e.emptyArray)v=[];else if(e.isNodeArray(v)){if(H===void 0||v.hasTrailingComma===H)return v.transformFlags===void 0&&y(v),e.Debug.attachNodeArrayDebugInfo(v),v;var ye=v.slice();return ye.pos=v.pos,ye.end=v.end,ye.hasTrailingComma=H,ye.transformFlags=v.transformFlags,e.Debug.attachNodeArrayDebugInfo(ye),ye}var tr=v.length,Ur=tr>=1&&tr<=4?v.slice():v;return e.setTextRangePosEnd(Ur,-1,-1),Ur.hasTrailingComma=!!H,y(Ur),e.Debug.attachNodeArrayDebugInfo(Ur),Ur}function R(v){return Z.createBaseNode(v)}function Y(v,H,ye){var tr=R(v);return tr.decorators=dl(H),tr.modifiers=dl(ye),tr.transformFlags|=ae(tr.decorators)|ae(tr.modifiers),tr.symbol=void 0,tr.localSymbol=void 0,tr.locals=void 0,tr.nextContainer=void 0,tr}function j(v,H,ye,tr){var Ur=Y(v,H,ye);if(tr=Fs(tr),Ur.name=tr,tr)switch(Ur.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(tr)){Ur.transformFlags|=m(tr);break}default:Ur.transformFlags|=K(tr);break}return Ur}function z(v,H,ye,tr,Ur){var Ht=j(v,H,ye,tr);return Ht.typeParameters=dl(Ur),Ht.transformFlags|=ae(Ht.typeParameters),Ur&&(Ht.transformFlags|=1),Ht}function Ee(v,H,ye,tr,Ur,Ht,on){var si=z(v,H,ye,tr,Ur);return si.parameters=Ae(Ht),si.type=on,si.transformFlags|=ae(si.parameters)|K(si.type),on&&(si.transformFlags|=1),si}function _e(v,H){return H.typeArguments&&(v.typeArguments=H.typeArguments),E(v,H)}function ke(v,H,ye,tr,Ur,Ht,on,si){var No=Ee(v,H,ye,tr,Ur,Ht,on);return No.body=si,No.transformFlags|=K(No.body)&-16777217,si||(No.transformFlags|=1),No}function Pe(v,H){return H.exclamationToken&&(v.exclamationToken=H.exclamationToken),H.typeArguments&&(v.typeArguments=H.typeArguments),_e(v,H)}function Ie(v,H,ye,tr,Ur,Ht){var on=z(v,H,ye,tr,Ur);return on.heritageClauses=dl(Ht),on.transformFlags|=ae(on.heritageClauses),on}function Fe(v,H,ye,tr,Ur,Ht,on){var si=Ie(v,H,ye,tr,Ur,Ht);return si.members=Ae(on),si.transformFlags|=ae(si.members),si}function ve(v,H,ye,tr,Ur){var Ht=j(v,H,ye,tr);return Ht.initializer=Ur,Ht.transformFlags|=K(Ht.initializer),Ht}function ge(v,H,ye,tr,Ur,Ht){var on=ve(v,H,ye,tr,Ht);return on.type=Ur,on.transformFlags|=K(Ur),Ur&&(on.transformFlags|=1),on}function Be(v,H){var ye=vr(v);return ye.text=H,ye}function de(v,H){H===void 0&&(H=0);var ye=Be(8,typeof v=="number"?v+"":v);return ye.numericLiteralFlags=H,H&384&&(ye.transformFlags|=512),ye}function De(v){var H=Be(9,typeof v=="string"?v:e.pseudoBigIntToString(v)+"n");return H.transformFlags|=4,H}function qe(v,H){var ye=Be(10,v);return ye.singleQuote=H,ye}function Xe(v,H,ye){var tr=qe(v,H);return tr.hasExtendedUnicodeEscape=ye,ye&&(tr.transformFlags|=512),tr}function Se(v){var H=qe(e.getTextOfIdentifierOrLiteral(v),void 0);return H.textSourceNode=v,H}function Le(v){var H=Be(13,v);return H}function Ye(v,H){switch(v){case 8:return de(H,0);case 9:return De(H);case 10:return Xe(H,void 0);case 11:return Al(H,!1);case 12:return Al(H,!0);case 13:return Le(H);case 14:return js(v,H,void 0,0)}}function Dr(v,H){H===void 0&&v&&(H=e.stringToToken(v)),H===79&&(H=void 0);var ye=Z.createBaseIdentifierNode(79);return ye.originalKeywordKind=H,ye.escapedText=e.escapeLeadingUnderscores(v),ye}function br(v,H){var ye=Dr(v,void 0);return ye.autoGenerateFlags=H,ye.autoGenerateId=n,n++,ye}function or(v,H,ye){var tr=Dr(v,ye);return H&&(tr.typeArguments=Ae(H)),tr.originalKeywordKind===132&&(tr.transformFlags|=16777216),tr}function Cr(v,H){return v.typeArguments!==H?E(or(e.idText(v),H),v):v}function Rr(v,H){var ye=1;H&&(ye|=8);var tr=br("",ye);return v&&v(tr),tr}function Ke(v){var H=2;return v&&(H|=8),br("",H)}function Me(v,H){return H===void 0&&(H=0),e.Debug.assert(!(H&7),"Argument out of range: flags"),e.Debug.assert((H&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),br(v,3|H)}function Hr(v,H){H===void 0&&(H=0),e.Debug.assert(!(H&7),"Argument out of range: flags");var ye=br(v&&e.isIdentifier(v)?e.idText(v):"",4|H);return ye.original=v,ye}function cr(v){e.startsWith(v,"#")||e.Debug.fail("First character of private identifier must be #: "+v);var H=Z.createBasePrivateIdentifierNode(80);return H.escapedText=e.escapeLeadingUnderscores(v),H.transformFlags|=8388608,H}function vr(v){return Z.createBaseTokenNode(v)}function fe(v){e.Debug.assert(v>=0&&v<=159,"Invalid token"),e.Debug.assert(v<=14||v>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(v<=8||v>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(v!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var H=vr(v),ye=0;switch(v){case 131:ye=192;break;case 123:case 121:case 122:case 144:case 126:case 135:case 85:case 130:case 146:case 157:case 143:case 147:case 158:case 149:case 133:case 150:case 114:case 154:case 152:ye=1;break;case 106:ye=33554944;break;case 124:ye=512;break;case 108:ye=8192;break}return ye&&(H.transformFlags|=ye),H}function xe(){return fe(106)}function Je(){return fe(108)}function pr(){return fe(104)}function kr(){return fe(110)}function Ve(){return fe(95)}function ur(v){return fe(v)}function Wr(v){var H=[];return v&1&&H.push(ur(93)),v&2&&H.push(ur(135)),v&512&&H.push(ur(88)),v&2048&&H.push(ur(85)),v&4&&H.push(ur(123)),v&8&&H.push(ur(121)),v&16&&H.push(ur(122)),v&128&&H.push(ur(126)),v&32&&H.push(ur(124)),v&16384&&H.push(ur(158)),v&64&&H.push(ur(144)),v&256&&H.push(ur(131)),H}function He(v,H){var ye=R(160);return ye.left=v,ye.right=Fs(H),ye.transformFlags|=K(ye.left)|m(ye.right),ye}function Lr(v,H,ye){return v.left!==H||v.right!==ye?E(He(H,ye),v):v}function qr(v){var H=R(161);return H.expression=I().parenthesizeExpressionOfComputedPropertyName(v),H.transformFlags|=K(H.expression)|512|65536,H}function lt(v,H){return v.expression!==H?E(qr(H),v):v}function rt(v,H,ye){var tr=j(162,void 0,void 0,v);return tr.constraint=H,tr.default=ye,tr.transformFlags=1,tr}function Rt(v,H,ye,tr){return v.name!==H||v.constraint!==ye||v.default!==tr?E(rt(H,ye,tr),v):v}function an(v,H,ye,tr,Ur,Ht,on){var si=ge(163,v,H,tr,Ht,on&&I().parenthesizeExpressionForDisallowedComma(on));return si.dotDotDotToken=ye,si.questionToken=Ur,e.isThisIdentifier(si.name)?si.transformFlags=1:(si.transformFlags|=K(si.dotDotDotToken)|K(si.questionToken),Ur&&(si.transformFlags|=1),e.modifiersToFlags(si.modifiers)&16476&&(si.transformFlags|=4096),(on||ye)&&(si.transformFlags|=512)),si}function yn(v,H,ye,tr,Ur,Ht,on,si){return v.decorators!==H||v.modifiers!==ye||v.dotDotDotToken!==tr||v.name!==Ur||v.questionToken!==Ht||v.type!==on||v.initializer!==si?E(an(H,ye,tr,Ur,Ht,on,si),v):v}function vn(v){var H=R(164);return H.expression=I().parenthesizeLeftSideOfAccess(v),H.transformFlags|=K(H.expression)|1|4096,H}function Fn(v,H){return v.expression!==H?E(vn(H),v):v}function ar(v,H,ye,tr){var Ur=j(165,void 0,v,H);return Ur.type=tr,Ur.questionToken=ye,Ur.transformFlags=1,Ur}function wr(v,H,ye,tr,Ur){return v.modifiers!==H||v.name!==ye||v.questionToken!==tr||v.type!==Ur?E(ar(H,ye,tr,Ur),v):v}function sr(v,H,ye,tr,Ur,Ht){var on=ge(166,v,H,ye,Ur,Ht);return on.questionToken=tr&&e.isQuestionToken(tr)?tr:void 0,on.exclamationToken=tr&&e.isExclamationToken(tr)?tr:void 0,on.transformFlags|=K(on.questionToken)|K(on.exclamationToken)|8388608,(e.isComputedPropertyName(on.name)||e.hasStaticModifier(on)&&on.initializer)&&(on.transformFlags|=4096),(tr||e.modifiersToFlags(on.modifiers)&2)&&(on.transformFlags|=1),on}function he(v,H,ye,tr,Ur,Ht,on){return v.decorators!==H||v.modifiers!==ye||v.name!==tr||v.questionToken!==(Ur!==void 0&&e.isQuestionToken(Ur)?Ur:void 0)||v.exclamationToken!==(Ur!==void 0&&e.isExclamationToken(Ur)?Ur:void 0)||v.type!==Ht||v.initializer!==on?E(sr(H,ye,tr,Ur,Ht,on),v):v}function ir(v,H,ye,tr,Ur,Ht){var on=Ee(167,void 0,v,H,tr,Ur,Ht);return on.questionToken=ye,on.transformFlags=1,on}function ue(v,H,ye,tr,Ur,Ht,on){return v.modifiers!==H||v.name!==ye||v.questionToken!==tr||v.typeParameters!==Ur||v.parameters!==Ht||v.type!==on?_e(ir(H,ye,tr,Ur,Ht,on),v):v}function je(v,H,ye,tr,Ur,Ht,on,si,No){var hs=ke(168,v,H,tr,Ht,on,si,No);return hs.asteriskToken=ye,hs.questionToken=Ur,hs.transformFlags|=K(hs.asteriskToken)|K(hs.questionToken)|512,Ur&&(hs.transformFlags|=1),e.modifiersToFlags(hs.modifiers)&256?ye?hs.transformFlags|=64:hs.transformFlags|=128:ye&&(hs.transformFlags|=1024),hs}function be(v,H,ye,tr,Ur,Ht,on,si,No,hs){return v.decorators!==H||v.modifiers!==ye||v.asteriskToken!==tr||v.name!==Ur||v.questionToken!==Ht||v.typeParameters!==on||v.parameters!==si||v.type!==No||v.body!==hs?Pe(je(H,ye,tr,Ur,Ht,on,si,No,hs),v):v}function We(v,H,ye){var tr=z(169,v,H,void 0,void 0);return tr.body=ye,tr.transformFlags=K(ye)|8388608,tr}function $(v,H,ye,tr){return v.decorators!==H||v.modifier!==ye||v.body!==tr?E(We(H,ye,tr),v):v}function Ne(v,H,ye,tr){var Ur=ke(170,v,H,void 0,void 0,ye,void 0,tr);return Ur.transformFlags|=512,Ur}function me(v,H,ye,tr,Ur){return v.decorators!==H||v.modifiers!==ye||v.parameters!==tr||v.body!==Ur?Pe(Ne(H,ye,tr,Ur),v):v}function Ze(v,H,ye,tr,Ur,Ht){return ke(171,v,H,ye,void 0,tr,Ur,Ht)}function xr(v,H,ye,tr,Ur,Ht,on){return v.decorators!==H||v.modifiers!==ye||v.name!==tr||v.parameters!==Ur||v.type!==Ht||v.body!==on?Pe(Ze(H,ye,tr,Ur,Ht,on),v):v}function fr(v,H,ye,tr,Ur){return ke(172,v,H,ye,void 0,tr,void 0,Ur)}function dr(v,H,ye,tr,Ur,Ht){return v.decorators!==H||v.modifiers!==ye||v.name!==tr||v.parameters!==Ur||v.body!==Ht?Pe(fr(H,ye,tr,Ur,Ht),v):v}function et(v,H,ye){var tr=Ee(173,void 0,void 0,void 0,v,H,ye);return tr.transformFlags=1,tr}function yt(v,H,ye,tr){return v.typeParameters!==H||v.parameters!==ye||v.type!==tr?_e(et(H,ye,tr),v):v}function jr(v,H,ye){var tr=Ee(174,void 0,void 0,void 0,v,H,ye);return tr.transformFlags=1,tr}function rr(v,H,ye,tr){return v.typeParameters!==H||v.parameters!==ye||v.type!==tr?_e(jr(H,ye,tr),v):v}function Ir(v,H,ye,tr){var Ur=Ee(175,v,H,void 0,void 0,ye,tr);return Ur.transformFlags=1,Ur}function Or(v,H,ye,tr,Ur){return v.parameters!==tr||v.type!==Ur||v.decorators!==H||v.modifiers!==ye?_e(Ir(H,ye,tr,Ur),v):v}function zr(v,H){var ye=R(198);return ye.type=v,ye.literal=H,ye.transformFlags=1,ye}function gt(v,H,ye){return v.type!==H||v.literal!==ye?E(zr(H,ye),v):v}function vt(v){return fe(v)}function ut(v,H,ye){var tr=R(176);return tr.assertsModifier=v,tr.parameterName=Fs(H),tr.type=ye,tr.transformFlags=1,tr}function ht(v,H,ye,tr){return v.assertsModifier!==H||v.parameterName!==ye||v.type!==tr?E(ut(H,ye,tr),v):v}function xt(v,H){var ye=R(177);return ye.typeName=Fs(v),ye.typeArguments=H&&I().parenthesizeTypeArguments(Ae(H)),ye.transformFlags=1,ye}function wt(v,H,ye){return v.typeName!==H||v.typeArguments!==ye?E(xt(H,ye),v):v}function Qt(v,H,ye){var tr=Ee(178,void 0,void 0,void 0,v,H,ye);return tr.transformFlags=1,tr}function _t(v,H,ye,tr){return v.typeParameters!==H||v.parameters!==ye||v.type!==tr?_e(Qt(H,ye,tr),v):v}function rn(){for(var v=[],H=0;H0;default:return!0}}function Ce(v,H,ye,tr){tr===void 0&&(tr=!1);var Ur=e.skipOuterExpressions(v,15),Ht,on;return e.isSuperProperty(Ur)?(Ht=Je(),on=Ur):e.isSuperKeyword(Ur)?(Ht=Je(),on=ye!==void 0&&ye<2?e.setTextRange(or("_super"),Ur):Ur):e.getEmitFlags(Ur)&4096?(Ht=Ra(),on=I().parenthesizeLeftSideOfAccess(Ur)):e.isPropertyAccessExpression(Ur)?um(Ur.expression,tr)?(Ht=Rr(H),on=$e(e.setTextRange(Te.createAssignment(Ht,Ur.expression),Ur.expression),Ur.name),e.setTextRange(on,Ur)):(Ht=Ur.expression,on=Ur):e.isElementAccessExpression(Ur)?um(Ur.expression,tr)?(Ht=Rr(H),on=Jt(e.setTextRange(Te.createAssignment(Ht,Ur.expression),Ur.expression),Ur.argumentExpression),e.setTextRange(on,Ur)):(Ht=Ur.expression,on=Ur):(Ht=Ra(),on=I().parenthesizeLeftSideOfAccess(v)),{target:on,thisArg:Ht}}function Tr(v,H){return $e(xi(oe([fr(void 0,void 0,"value",[an(void 0,void 0,void 0,v,void 0,void 0,void 0)],se([En(H)]))])),"value")}function Gr(v){return v.length>10?vd(v):e.reduceLeft(v,Te.createComma)}function at(v,H,ye,tr){tr===void 0&&(tr=0);var Ur=e.getNameOfDeclaration(v);if(Ur&&e.isIdentifier(Ur)&&!e.isGeneratedIdentifier(Ur)){var Ht=e.setParent(e.setTextRange(nt(Ur),Ur),Ur.parent);return tr|=e.getEmitFlags(Ur),ye||(tr|=48),H||(tr|=1536),tr&&e.setEmitFlags(Ht,tr),Ht}return Hr(v)}function Ct(v,H,ye){return at(v,H,ye,49152)}function Xt(v,H,ye){return at(v,H,ye,16384)}function Rn(v,H,ye){return at(v,H,ye,8192)}function $n(v,H,ye){return at(v,H,ye)}function wa(v,H,ye,tr){var Ur=$e(v,e.nodeIsSynthesized(H)?H:nt(H));e.setTextRange(Ur,H);var Ht=0;return tr||(Ht|=48),ye||(Ht|=1536),Ht&&e.setEmitFlags(Ur,Ht),Ur}function Ea(v,H,ye,tr){return v&&e.hasSyntacticModifier(H,1)?wa(v,at(H),ye,tr):Rn(H,ye,tr)}function Ki(v,H,ye,tr){var Ur=Jo(v,H,ye);return vs(v,H,Ur,tr)}function Zo(v){return e.isStringLiteral(v.expression)&&v.expression.text==="use strict"}function $i(){return e.startOnNewLine(En(Xe("use strict")))}function Jo(v,H,ye){e.Debug.assert(H.length===0,"Prologue directives should be at the first statement in the target statements array");for(var tr=!1,Ur=0,Ht=v.length;Ursi&&hs.splice.apply(hs,Gt([Ur,0],H.slice(si,No),!1)),si>on&&hs.splice.apply(hs,Gt([tr,0],H.slice(on,si),!1)),on>Ht&&hs.splice.apply(hs,Gt([ye,0],H.slice(Ht,on),!1)),Ht>0)if(ye===0)hs.splice.apply(hs,Gt([0,0],H.slice(0,Ht),!1));else{for(var ap=new e.Map,Bc=0;Bc=0;Bc--){var ip=H[Bc];ap.has(ip.expression.text)||hs.unshift(ip)}}return e.isNodeArray(v)?e.setTextRange(Ae(hs,v.hasTrailingComma),v):v}function Hu(v,H){var ye;return typeof H=="number"&&(H=Wr(H)),e.isParameter(v)?yn(v,v.decorators,H,v.dotDotDotToken,v.name,v.questionToken,v.type,v.initializer):e.isPropertySignature(v)?wr(v,H,v.name,v.questionToken,v.type):e.isPropertyDeclaration(v)?he(v,v.decorators,H,v.name,(ye=v.questionToken)!==null&&ye!==void 0?ye:v.exclamationToken,v.type,v.initializer):e.isMethodSignature(v)?ue(v,H,v.name,v.questionToken,v.typeParameters,v.parameters,v.type):e.isMethodDeclaration(v)?be(v,v.decorators,H,v.asteriskToken,v.name,v.questionToken,v.typeParameters,v.parameters,v.type,v.body):e.isConstructorDeclaration(v)?me(v,v.decorators,H,v.parameters,v.body):e.isGetAccessorDeclaration(v)?xr(v,v.decorators,H,v.name,v.parameters,v.type,v.body):e.isSetAccessorDeclaration(v)?dr(v,v.decorators,H,v.name,v.parameters,v.body):e.isIndexSignatureDeclaration(v)?Or(v,v.decorators,H,v.parameters,v.type):e.isFunctionExpression(v)?Xi(v,H,v.asteriskToken,v.name,v.typeParameters,v.parameters,v.type,v.body):e.isArrowFunction(v)?wo(v,H,v.typeParameters,v.parameters,v.type,v.equalsGreaterThanToken,v.body):e.isClassExpression(v)?Nc(v,v.decorators,H,v.name,v.typeParameters,v.heritageClauses,v.members):e.isVariableStatement(v)?ct(v,H,v.declarationList):e.isFunctionDeclaration(v)?Oc(v,v.decorators,H,v.asteriskToken,v.name,v.typeParameters,v.parameters,v.type,v.body):e.isClassDeclaration(v)?Ef(v,v.decorators,H,v.name,v.typeParameters,v.heritageClauses,v.members):e.isInterfaceDeclaration(v)?wd(v,v.decorators,H,v.name,v.typeParameters,v.heritageClauses,v.members):e.isTypeAliasDeclaration(v)?td(v,v.decorators,H,v.name,v.typeParameters,v.type):e.isEnumDeclaration(v)?Pd(v,v.decorators,H,v.name,v.members):e.isModuleDeclaration(v)?Sp(v,v.decorators,H,v.name,v.body):e.isImportEqualsDeclaration(v)?Ud(v,v.decorators,H,v.isTypeOnly,v.name,v.moduleReference):e.isImportDeclaration(v)?tm(v,v.decorators,H,v.importClause,v.moduleSpecifier,v.assertClause):e.isExportAssignment(v)?id(v,v.decorators,H,v.expression):e.isExportDeclaration(v)?Mu(v,v.decorators,H,v.isTypeOnly,v.exportClause,v.moduleSpecifier,v.assertClause):e.Debug.assertNever(v)}function dl(v){return v?Ae(v):void 0}function Fs(v){return typeof v=="string"?or(v):v}function Bf(v){return typeof v=="string"?Xe(v):typeof v=="number"?de(v):typeof v=="boolean"?v?kr():Ve():v}function _u(v){return typeof v=="number"?fe(v):v}function vl(v){return v&&e.isNotEmittedStatement(v)?e.setTextRange(ne(jt(),v),v):v}}e.createNodeFactory=c;function f(G,Z){return G!==Z&&e.setTextRange(G,Z),G}function a(G,Z){return G!==Z&&(ne(G,Z),e.setTextRange(G,Z)),G}function p(G){switch(G){case 341:return"type";case 339:return"returns";case 340:return"this";case 337:return"enum";case 328:return"author";case 330:return"class";case 331:return"public";case 332:return"private";case 333:return"protected";case 334:return"readonly";case 335:return"override";case 342:return"template";case 343:return"typedef";case 338:return"param";case 345:return"prop";case 336:return"callback";case 326:return"augments";case 327:return"implements";default:return e.Debug.fail("Unsupported kind: ".concat(e.Debug.formatSyntaxKind(G)))}}var x,V={};function g(G,Z){switch(x||(x=e.createScanner(99,!1,0)),G){case 14:x.setText("`"+Z+"`");break;case 15:x.setText("`"+Z+"${");break;case 16:x.setText("}"+Z+"${");break;case 17:x.setText("}"+Z+"`");break}var E=x.scan();if(E===19&&(E=x.reScanTemplateToken(!1)),x.isUnterminated())return x.setText(void 0),V;var I;switch(E){case 14:case 15:case 16:case 17:I=x.getTokenValue();break}return I===void 0||x.scan()!==1?(x.setText(void 0),V):(x.setText(void 0),I)}function m(G){return K(G)&-16777217}function A(G,Z){return Z|G.transformFlags&33562624}function K(G){if(!G)return 0;var Z=G.transformFlags&~k(G.kind);return e.isNamedDeclaration(G)&&e.isPropertyName(G.name)?A(G.name,Z):Z}function ae(G){return G?G.transformFlags:0}function y(G){for(var Z=0,E=0,I=G;E=176&&G<=199)return-2;switch(G){case 207:case 208:case 203:return 536887296;case 260:return 589443072;case 163:return 536870912;case 213:return 557748224;case 212:case 255:return 591310848;case 254:return 537165824;case 256:case 225:return 536940544;case 170:return 591306752;case 166:return 570433536;case 168:case 171:case 172:return 574529536;case 130:case 146:case 157:case 143:case 149:case 147:case 133:case 150:case 114:case 162:case 165:case 167:case 173:case 174:case 175:case 257:case 258:return-2;case 204:return 536973312;case 291:return 536903680;case 200:case 201:return 536887296;case 210:case 228:case 348:case 211:case 106:return 536870912;case 205:case 206:return 536870912;default:return 536870912}}e.getTransformFlagsSubtreeExclusions=k;var S=e.createBaseNodeFactory();function F(G){return G.flags|=8,G}var B={createBaseSourceFileNode:function(G){return F(S.createBaseSourceFileNode(G))},createBaseIdentifierNode:function(G){return F(S.createBaseIdentifierNode(G))},createBasePrivateIdentifierNode:function(G){return F(S.createBasePrivateIdentifierNode(G))},createBaseTokenNode:function(G){return F(S.createBaseTokenNode(G))},createBaseNode:function(G){return F(S.createBaseNode(G))}};e.factory=c(4,B);function N(G,Z,E){var I,b,D,C,_,d,h,P,te,ce;e.isString(G)?(D="",C=G,_=G.length,d=Z,h=E):(e.Debug.assert(Z==="js"||Z==="dts"),D=(Z==="js"?G.javascriptPath:G.declarationPath)||"",d=Z==="js"?G.javascriptMapPath:G.declarationMapPath,P=function(){return Z==="js"?G.javascriptText:G.declarationText},te=function(){return Z==="js"?G.javascriptMapText:G.declarationMapText},_=function(){return P().length},G.buildInfo&&G.buildInfo.bundle&&(e.Debug.assert(E===void 0||typeof E=="boolean"),I=E,b=Z==="js"?G.buildInfo.bundle.js:G.buildInfo.bundle.dts,ce=G.oldFileOfCurrentEmit));var q=ce?O(e.Debug.assertDefined(b)):w(b,I,_);return q.fileName=D,q.sourceMapPath=d,q.oldFileOfCurrentEmit=ce,P&&te?(Object.defineProperty(q,"text",{get:P}),Object.defineProperty(q,"sourceMapText",{get:te})):(e.Debug.assert(!ce),q.text=C??"",q.sourceMapText=h),q}e.createUnparsedSourceFile=N;function w(G,Z,E){for(var I,b,D,C,_,d,h,P,te=0,ce=G?G.sections:e.emptyArray;te0&&(d[te-P]=ce)}P>0&&(d.length-=P)}}e.moveEmitHelpers=G;function Z(b){var D;return(D=b.emitNode)===null||D===void 0?void 0:D.snippetElement}e.getSnippetElement=Z;function E(b,D){var C=n(b);return C.snippetElement=D,b}e.setSnippetElement=E;function I(b){return n(b).flags|=134217728,b}e.ignoreSourceNewlines=I})(gr||(gr={}));var gr;(function(e){function n(V){var g=V.factory,m=e.memoize(function(){return e.setEmitFlags(g.createTrue(),268435456)}),A=e.memoize(function(){return e.setEmitFlags(g.createFalse(),268435456)});return{getUnscopedHelperName:K,createDecorateHelper:ae,createMetadataHelper:y,createParamHelper:k,createAssignHelper:S,createAwaitHelper:F,createAsyncGeneratorHelper:B,createAsyncDelegatorHelper:N,createAsyncValuesHelper:w,createRestHelper:O,createAwaiterHelper:U,createExtendsHelper:Q,createTemplateObjectHelper:ee,createSpreadArrayHelper:ne,createValuesHelper:M,createReadHelper:X,createGeneratorHelper:G,createCreateBindingHelper:Z,createImportStarHelper:E,createImportStarCallbackHelper:I,createImportDefaultHelper:b,createExportStarHelper:D,createClassPrivateFieldGetHelper:C,createClassPrivateFieldSetHelper:_,createClassPrivateFieldInHelper:d};function K(h){return e.setEmitFlags(g.createIdentifier(h),4098)}function ae(h,P,te,ce){V.requestEmitHelper(e.decorateHelper);var q=[];return q.push(g.createArrayLiteralExpression(h,!0)),q.push(P),te&&(q.push(te),ce&&q.push(ce)),g.createCallExpression(K("__decorate"),void 0,q)}function y(h,P){return V.requestEmitHelper(e.metadataHelper),g.createCallExpression(K("__metadata"),void 0,[g.createStringLiteral(h),P])}function k(h,P,te){return V.requestEmitHelper(e.paramHelper),e.setTextRange(g.createCallExpression(K("__param"),void 0,[g.createNumericLiteral(P+""),h]),te)}function S(h){return e.getEmitScriptTarget(V.getCompilerOptions())>=2?g.createCallExpression(g.createPropertyAccessExpression(g.createIdentifier("Object"),"assign"),void 0,h):(V.requestEmitHelper(e.assignHelper),g.createCallExpression(K("__assign"),void 0,h))}function F(h){return V.requestEmitHelper(e.awaitHelper),g.createCallExpression(K("__await"),void 0,[h])}function B(h,P){return V.requestEmitHelper(e.awaitHelper),V.requestEmitHelper(e.asyncGeneratorHelper),(h.emitNode||(h.emitNode={})).flags|=786432,g.createCallExpression(K("__asyncGenerator"),void 0,[P?g.createThis():g.createVoidZero(),g.createIdentifier("arguments"),h])}function N(h){return V.requestEmitHelper(e.awaitHelper),V.requestEmitHelper(e.asyncDelegator),g.createCallExpression(K("__asyncDelegator"),void 0,[h])}function w(h){return V.requestEmitHelper(e.asyncValues),g.createCallExpression(K("__asyncValues"),void 0,[h])}function O(h,P,te,ce){V.requestEmitHelper(e.restHelper);for(var q=[],J=0,Te=0;Te= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; };`},e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:` var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); };`},e.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:` var __param = (this && this.__param) || function (paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } };`},e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:` var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); };`},e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:` var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`},e.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[e.awaitHelper],text:` var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } function reject(value) { resume("throw", value); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } };`},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[e.awaitHelper],text:` var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var i, p; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } };`},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:` var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } };`},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:` var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; };`},e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:` var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); };`},e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:` var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })();`},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:` var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; };`},e.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:` var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; };`},e.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:` var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); };`},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:` var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); if (o && typeof o.length === "number") return { next: function () { if (o && i >= o.length) o = void 0; return { value: o && o[i++], done: !o }; } }; throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); };`},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:` var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } };`},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:` var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; }));`},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:` var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; });`},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:` var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; };`},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:` var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; };`},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:` var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); };`},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:` var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); };`},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:` var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; };`},e.classPrivateFieldInHelper={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:` var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); return typeof state === "function" ? receiver === state : state.has(receiver); };`};var a;function p(){return a||(a=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadArrayHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.classPrivateFieldInHelper,e.createBindingHelper,e.setModuleDefaultHelper],function(V){return V.name}))}e.getAllUnscopedEmitHelpers=p,e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:f(ND([` const `," = name => super[name];"],[` const `," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:f(ND([` const `,` = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); })(name => super[name], (name, value) => super[name] = value);`],[` const `,` = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); })(name => super[name], (name, value) => super[name] = value);`]),"_superIndex")};function x(V,g){return e.isCallExpression(V)&&e.isIdentifier(V.expression)&&(e.getEmitFlags(V.expression)&4096)!==0&&V.expression.escapedText===g}e.isCallToHelper=x})(gr||(gr={}));var gr;(function(e){function n(Nr){return Nr.kind===8}e.isNumericLiteral=n;function c(Nr){return Nr.kind===9}e.isBigIntLiteral=c;function f(Nr){return Nr.kind===10}e.isStringLiteral=f;function a(Nr){return Nr.kind===11}e.isJsxText=a;function p(Nr){return Nr.kind===13}e.isRegularExpressionLiteral=p;function x(Nr){return Nr.kind===14}e.isNoSubstitutionTemplateLiteral=x;function V(Nr){return Nr.kind===15}e.isTemplateHead=V;function g(Nr){return Nr.kind===16}e.isTemplateMiddle=g;function m(Nr){return Nr.kind===17}e.isTemplateTail=m;function A(Nr){return Nr.kind===25}e.isDotDotDotToken=A;function K(Nr){return Nr.kind===27}e.isCommaToken=K;function ae(Nr){return Nr.kind===39}e.isPlusToken=ae;function y(Nr){return Nr.kind===40}e.isMinusToken=y;function k(Nr){return Nr.kind===41}e.isAsteriskToken=k;function S(Nr){return Nr.kind===53}e.isExclamationToken=S;function F(Nr){return Nr.kind===57}e.isQuestionToken=F;function B(Nr){return Nr.kind===58}e.isColonToken=B;function N(Nr){return Nr.kind===28}e.isQuestionDotToken=N;function w(Nr){return Nr.kind===38}e.isEqualsGreaterThanToken=w;function O(Nr){return Nr.kind===79}e.isIdentifier=O;function U(Nr){return Nr.kind===80}e.isPrivateIdentifier=U;function Q(Nr){return Nr.kind===93}e.isExportModifier=Q;function ee(Nr){return Nr.kind===131}e.isAsyncModifier=ee;function ne(Nr){return Nr.kind===128}e.isAssertsKeyword=ne;function M(Nr){return Nr.kind===132}e.isAwaitKeyword=M;function X(Nr){return Nr.kind===144}e.isReadonlyKeyword=X;function G(Nr){return Nr.kind===124}e.isStaticModifier=G;function Z(Nr){return Nr.kind===126}e.isAbstractModifier=Z;function E(Nr){return Nr.kind===106}e.isSuperKeyword=E;function I(Nr){return Nr.kind===100}e.isImportKeyword=I;function b(Nr){return Nr.kind===160}e.isQualifiedName=b;function D(Nr){return Nr.kind===161}e.isComputedPropertyName=D;function C(Nr){return Nr.kind===162}e.isTypeParameterDeclaration=C;function _(Nr){return Nr.kind===163}e.isParameter=_;function d(Nr){return Nr.kind===164}e.isDecorator=d;function h(Nr){return Nr.kind===165}e.isPropertySignature=h;function P(Nr){return Nr.kind===166}e.isPropertyDeclaration=P;function te(Nr){return Nr.kind===167}e.isMethodSignature=te;function ce(Nr){return Nr.kind===168}e.isMethodDeclaration=ce;function q(Nr){return Nr.kind===169}e.isClassStaticBlockDeclaration=q;function J(Nr){return Nr.kind===170}e.isConstructorDeclaration=J;function Te(Nr){return Nr.kind===171}e.isGetAccessorDeclaration=Te;function Ae(Nr){return Nr.kind===172}e.isSetAccessorDeclaration=Ae;function R(Nr){return Nr.kind===173}e.isCallSignatureDeclaration=R;function Y(Nr){return Nr.kind===174}e.isConstructSignatureDeclaration=Y;function j(Nr){return Nr.kind===175}e.isIndexSignatureDeclaration=j;function z(Nr){return Nr.kind===176}e.isTypePredicateNode=z;function Ee(Nr){return Nr.kind===177}e.isTypeReferenceNode=Ee;function _e(Nr){return Nr.kind===178}e.isFunctionTypeNode=_e;function ke(Nr){return Nr.kind===179}e.isConstructorTypeNode=ke;function Pe(Nr){return Nr.kind===180}e.isTypeQueryNode=Pe;function Ie(Nr){return Nr.kind===181}e.isTypeLiteralNode=Ie;function Fe(Nr){return Nr.kind===182}e.isArrayTypeNode=Fe;function ve(Nr){return Nr.kind===183}e.isTupleTypeNode=ve;function ge(Nr){return Nr.kind===196}e.isNamedTupleMember=ge;function Be(Nr){return Nr.kind===184}e.isOptionalTypeNode=Be;function de(Nr){return Nr.kind===185}e.isRestTypeNode=de;function De(Nr){return Nr.kind===186}e.isUnionTypeNode=De;function qe(Nr){return Nr.kind===187}e.isIntersectionTypeNode=qe;function Xe(Nr){return Nr.kind===188}e.isConditionalTypeNode=Xe;function Se(Nr){return Nr.kind===189}e.isInferTypeNode=Se;function Le(Nr){return Nr.kind===190}e.isParenthesizedTypeNode=Le;function Ye(Nr){return Nr.kind===191}e.isThisTypeNode=Ye;function Dr(Nr){return Nr.kind===192}e.isTypeOperatorNode=Dr;function br(Nr){return Nr.kind===193}e.isIndexedAccessTypeNode=br;function or(Nr){return Nr.kind===194}e.isMappedTypeNode=or;function Cr(Nr){return Nr.kind===195}e.isLiteralTypeNode=Cr;function Rr(Nr){return Nr.kind===199}e.isImportTypeNode=Rr;function Ke(Nr){return Nr.kind===198}e.isTemplateLiteralTypeSpan=Ke;function Me(Nr){return Nr.kind===197}e.isTemplateLiteralTypeNode=Me;function Hr(Nr){return Nr.kind===200}e.isObjectBindingPattern=Hr;function cr(Nr){return Nr.kind===201}e.isArrayBindingPattern=cr;function vr(Nr){return Nr.kind===202}e.isBindingElement=vr;function fe(Nr){return Nr.kind===203}e.isArrayLiteralExpression=fe;function xe(Nr){return Nr.kind===204}e.isObjectLiteralExpression=xe;function Je(Nr){return Nr.kind===205}e.isPropertyAccessExpression=Je;function pr(Nr){return Nr.kind===206}e.isElementAccessExpression=pr;function kr(Nr){return Nr.kind===207}e.isCallExpression=kr;function Ve(Nr){return Nr.kind===208}e.isNewExpression=Ve;function ur(Nr){return Nr.kind===209}e.isTaggedTemplateExpression=ur;function Wr(Nr){return Nr.kind===210}e.isTypeAssertionExpression=Wr;function He(Nr){return Nr.kind===211}e.isParenthesizedExpression=He;function Lr(Nr){return Nr.kind===212}e.isFunctionExpression=Lr;function qr(Nr){return Nr.kind===213}e.isArrowFunction=qr;function lt(Nr){return Nr.kind===214}e.isDeleteExpression=lt;function rt(Nr){return Nr.kind===215}e.isTypeOfExpression=rt;function Rt(Nr){return Nr.kind===216}e.isVoidExpression=Rt;function an(Nr){return Nr.kind===217}e.isAwaitExpression=an;function yn(Nr){return Nr.kind===218}e.isPrefixUnaryExpression=yn;function vn(Nr){return Nr.kind===219}e.isPostfixUnaryExpression=vn;function Fn(Nr){return Nr.kind===220}e.isBinaryExpression=Fn;function ar(Nr){return Nr.kind===221}e.isConditionalExpression=ar;function wr(Nr){return Nr.kind===222}e.isTemplateExpression=wr;function sr(Nr){return Nr.kind===223}e.isYieldExpression=sr;function he(Nr){return Nr.kind===224}e.isSpreadElement=he;function ir(Nr){return Nr.kind===225}e.isClassExpression=ir;function ue(Nr){return Nr.kind===226}e.isOmittedExpression=ue;function je(Nr){return Nr.kind===227}e.isExpressionWithTypeArguments=je;function be(Nr){return Nr.kind===228}e.isAsExpression=be;function We(Nr){return Nr.kind===229}e.isNonNullExpression=We;function $(Nr){return Nr.kind===230}e.isMetaProperty=$;function Ne(Nr){return Nr.kind===231}e.isSyntheticExpression=Ne;function me(Nr){return Nr.kind===348}e.isPartiallyEmittedExpression=me;function Ze(Nr){return Nr.kind===349}e.isCommaListExpression=Ze;function xr(Nr){return Nr.kind===232}e.isTemplateSpan=xr;function fr(Nr){return Nr.kind===233}e.isSemicolonClassElement=fr;function dr(Nr){return Nr.kind===234}e.isBlock=dr;function et(Nr){return Nr.kind===236}e.isVariableStatement=et;function yt(Nr){return Nr.kind===235}e.isEmptyStatement=yt;function jr(Nr){return Nr.kind===237}e.isExpressionStatement=jr;function rr(Nr){return Nr.kind===238}e.isIfStatement=rr;function Ir(Nr){return Nr.kind===239}e.isDoStatement=Ir;function Or(Nr){return Nr.kind===240}e.isWhileStatement=Or;function zr(Nr){return Nr.kind===241}e.isForStatement=zr;function gt(Nr){return Nr.kind===242}e.isForInStatement=gt;function vt(Nr){return Nr.kind===243}e.isForOfStatement=vt;function ut(Nr){return Nr.kind===244}e.isContinueStatement=ut;function ht(Nr){return Nr.kind===245}e.isBreakStatement=ht;function xt(Nr){return Nr.kind===246}e.isReturnStatement=xt;function wt(Nr){return Nr.kind===247}e.isWithStatement=wt;function Qt(Nr){return Nr.kind===248}e.isSwitchStatement=Qt;function _t(Nr){return Nr.kind===249}e.isLabeledStatement=_t;function rn(Nr){return Nr.kind===250}e.isThrowStatement=rn;function sa(Nr){return Nr.kind===251}e.isTryStatement=sa;function ba(Nr){return Nr.kind===252}e.isDebuggerStatement=ba;function Kn(Nr){return Nr.kind===253}e.isVariableDeclaration=Kn;function na(Nr){return Nr.kind===254}e.isVariableDeclarationList=na;function jn(Nr){return Nr.kind===255}e.isFunctionDeclaration=jn;function en(Nr){return Nr.kind===256}e.isClassDeclaration=en;function St(Nr){return Nr.kind===257}e.isInterfaceDeclaration=St;function Ut(Nr){return Nr.kind===258}e.isTypeAliasDeclaration=Ut;function qt(Nr){return Nr.kind===259}e.isEnumDeclaration=qt;function Mn(Nr){return Nr.kind===260}e.isModuleDeclaration=Mn;function dn(Nr){return Nr.kind===261}e.isModuleBlock=dn;function oa(Nr){return Nr.kind===262}e.isCaseBlock=oa;function pt(Nr){return Nr.kind===263}e.isNamespaceExportDeclaration=pt;function mt(Nr){return Nr.kind===264}e.isImportEqualsDeclaration=mt;function Mt(Nr){return Nr.kind===265}e.isImportDeclaration=Mt;function It(Nr){return Nr.kind===266}e.isImportClause=It;function tt(Nr){return Nr.kind===292}e.isAssertClause=tt;function xn(Nr){return Nr.kind===293}e.isAssertEntry=xn;function Qn(Nr){return Nr.kind===267}e.isNamespaceImport=Qn;function Oa(Nr){return Nr.kind===273}e.isNamespaceExport=Oa;function Ci(Nr){return Nr.kind===268}e.isNamedImports=Ci;function mi(Nr){return Nr.kind===269}e.isImportSpecifier=mi;function va(Nr){return Nr.kind===270}e.isExportAssignment=va;function yi(Nr){return Nr.kind===271}e.isExportDeclaration=yi;function ro(Nr){return Nr.kind===272}e.isNamedExports=ro;function Ka(Nr){return Nr.kind===274}e.isExportSpecifier=Ka;function Mi(Nr){return Nr.kind===275}e.isMissingDeclaration=Mi;function io(Nr){return Nr.kind===347}e.isNotEmittedStatement=io;function ji(Nr){return Nr.kind===352}e.isSyntheticReference=ji;function Hi(Nr){return Nr.kind===350}e.isMergeDeclarationMarker=Hi;function to(Nr){return Nr.kind===351}e.isEndOfDeclarationMarker=to;function ko(Nr){return Nr.kind===276}e.isExternalModuleReference=ko;function co(Nr){return Nr.kind===277}e.isJsxElement=co;function Ao(Nr){return Nr.kind===278}e.isJsxSelfClosingElement=Ao;function Ha(Nr){return Nr.kind===279}e.isJsxOpeningElement=Ha;function Qo(Nr){return Nr.kind===280}e.isJsxClosingElement=Qo;function uo(Nr){return Nr.kind===281}e.isJsxFragment=uo;function za(Nr){return Nr.kind===282}e.isJsxOpeningFragment=za;function hi(Nr){return Nr.kind===283}e.isJsxClosingFragment=hi;function Zi(Nr){return Nr.kind===284}e.isJsxAttribute=Zi;function Po(Nr){return Nr.kind===285}e.isJsxAttributes=Po;function Fo(Nr){return Nr.kind===286}e.isJsxSpreadAttribute=Fo;function Go(Nr){return Nr.kind===287}e.isJsxExpression=Go;function qo(Nr){return Nr.kind===288}e.isCaseClause=qo;function Ts(Nr){return Nr.kind===289}e.isDefaultClause=Ts;function xs(Nr){return Nr.kind===290}e.isHeritageClause=xs;function yr(Nr){return Nr.kind===291}e.isCatchClause=yr;function dt(Nr){return Nr.kind===294}e.isPropertyAssignment=dt;function tn(Nr){return Nr.kind===295}e.isShorthandPropertyAssignment=tn;function Vn(Nr){return Nr.kind===296}e.isSpreadAssignment=Vn;function Re(Nr){return Nr.kind===297}e.isEnumMember=Re;function ie(Nr){return Nr.kind===299}e.isUnparsedPrepend=ie;function _r(Nr){return Nr.kind===303}e.isSourceFile=_r;function oe(Nr){return Nr.kind===304}e.isBundle=oe;function Ge(Nr){return Nr.kind===305}e.isUnparsedSource=Ge;function $e(Nr){return Nr.kind===307}e.isJSDocTypeExpression=$e;function hr(Nr){return Nr.kind===308}e.isJSDocNameReference=hr;function Xr(Nr){return Nr.kind===309}e.isJSDocMemberName=Xr;function Dt(Nr){return Nr.kind===322}e.isJSDocLink=Dt;function Jt(Nr){return Nr.kind===323}e.isJSDocLinkCode=Jt;function Dn(Nr){return Nr.kind===324}e.isJSDocLinkPlain=Dn;function ta(Nr){return Nr.kind===310}e.isJSDocAllType=ta;function xa(Nr){return Nr.kind===311}e.isJSDocUnknownType=xa;function Di(Nr){return Nr.kind===312}e.isJSDocNullableType=Di;function $a(Nr){return Nr.kind===313}e.isJSDocNonNullableType=$a;function Ji(Nr){return Nr.kind===314}e.isJSDocOptionalType=Ji;function Do(Nr){return Nr.kind===315}e.isJSDocFunctionType=Do;function us(Nr){return Nr.kind===316}e.isJSDocVariadicType=us;function bt(Nr){return Nr.kind===317}e.isJSDocNamepathType=bt;function Pn(Nr){return Nr.kind===318}e.isJSDoc=Pn;function da(Nr){return Nr.kind===320}e.isJSDocTypeLiteral=da;function ei(Nr){return Nr.kind===321}e.isJSDocSignature=ei;function bi(Nr){return Nr.kind===326}e.isJSDocAugmentsTag=bi;function xi(Nr){return Nr.kind===328}e.isJSDocAuthorTag=xi;function ka(Nr){return Nr.kind===330}e.isJSDocClassTag=ka;function _i(Nr){return Nr.kind===336}e.isJSDocCallbackTag=_i;function Xi(Nr){return Nr.kind===331}e.isJSDocPublicTag=Xi;function Gi(Nr){return Nr.kind===332}e.isJSDocPrivateTag=Gi;function wo(Nr){return Nr.kind===333}e.isJSDocProtectedTag=wo;function Ro(Nr){return Nr.kind===334}e.isJSDocReadonlyTag=Ro;function rs(Nr){return Nr.kind===335}e.isJSDocOverrideTag=rs;function is(Nr){return Nr.kind===329}e.isJSDocDeprecatedTag=is;function pe(Nr){return Nr.kind===344}e.isJSDocSeeTag=pe;function Mr(Nr){return Nr.kind===337}e.isJSDocEnumTag=Mr;function ft(Nr){return Nr.kind===338}e.isJSDocParameterTag=ft;function Zt(Nr){return Nr.kind===339}e.isJSDocReturnTag=Zt;function Oe(Nr){return Nr.kind===340}e.isJSDocThisTag=Oe;function Qr(Nr){return Nr.kind===341}e.isJSDocTypeTag=Qr;function hn(Nr){return Nr.kind===342}e.isJSDocTemplateTag=hn;function Xn(Nr){return Nr.kind===343}e.isJSDocTypedefTag=Xn;function gi(Nr){return Nr.kind===325}e.isJSDocUnknownTag=gi;function Ia(Nr){return Nr.kind===345}e.isJSDocPropertyTag=Ia;function oo(Nr){return Nr.kind===327}e.isJSDocImplementsTag=oo;function jo(Nr){return Nr.kind===346}e.isSyntaxList=jo})(gr||(gr={}));var gr;(function(e){function n(cr){return cr.createExportDeclaration(void 0,void 0,!1,cr.createNamedExports([]),void 0)}e.createEmptyExports=n;function c(cr,vr,fe,xe){if(e.isComputedPropertyName(fe))return e.setTextRange(cr.createElementAccessExpression(vr,fe.expression),xe);var Je=e.setTextRange(e.isMemberName(fe)?cr.createPropertyAccessExpression(vr,fe):cr.createElementAccessExpression(vr,fe),fe);return e.getOrCreateEmitNode(Je).flags|=64,Je}e.createMemberAccessForPropertyName=c;function f(cr,vr){var fe=e.parseNodeFactory.createIdentifier(cr||"React");return e.setParent(fe,e.getParseTreeNode(vr)),fe}function a(cr,vr,fe){if(e.isQualifiedName(vr)){var xe=a(cr,vr.left,fe),Je=cr.createIdentifier(e.idText(vr.right));return Je.escapedText=vr.right.escapedText,cr.createPropertyAccessExpression(xe,Je)}else return f(e.idText(vr),fe)}function p(cr,vr,fe,xe){return vr?a(cr,vr,xe):cr.createPropertyAccessExpression(f(fe,xe),"createElement")}e.createJsxFactoryExpression=p;function x(cr,vr,fe,xe){return vr?a(cr,vr,xe):cr.createPropertyAccessExpression(f(fe,xe),"Fragment")}function V(cr,vr,fe,xe,Je,pr){var kr=[fe];if(xe&&kr.push(xe),Je&&Je.length>0)if(xe||kr.push(cr.createNull()),Je.length>1)for(var Ve=0,ur=Je;Ve0)if(Je.length>1)for(var Wr=0,He=Je;Wr=e.ModuleKind.ES2015&&ur<=e.ModuleKind.ESNext||fe.impliedNodeFormat===e.ModuleKind.ESNext){var Wr=e.getEmitHelpers(fe);if(Wr){for(var He=[],Lr=0,qr=Wr;Lr0?rt[Lr-1]:void 0;return e.Debug.assertEqual(qr[Lr],vr),rt[Lr]=He.onEnter(lt[Lr],yn,an),qr[Lr]=Ve(He,vr),Lr}cr.enter=vr;function fe(He,Lr,qr,lt,rt,Rt,an){e.Debug.assertEqual(qr[Lr],fe),e.Debug.assertIsDefined(He.onLeft),qr[Lr]=Ve(He,fe);var yn=He.onLeft(lt[Lr].left,rt[Lr],lt[Lr]);return yn?(Wr(Lr,lt,yn),ur(Lr,qr,lt,rt,yn)):Lr}cr.left=fe;function xe(He,Lr,qr,lt,rt,Rt,an){return e.Debug.assertEqual(qr[Lr],xe),e.Debug.assertIsDefined(He.onOperator),qr[Lr]=Ve(He,xe),He.onOperator(lt[Lr].operatorToken,rt[Lr],lt[Lr]),Lr}cr.operator=xe;function Je(He,Lr,qr,lt,rt,Rt,an){e.Debug.assertEqual(qr[Lr],Je),e.Debug.assertIsDefined(He.onRight),qr[Lr]=Ve(He,Je);var yn=He.onRight(lt[Lr].right,rt[Lr],lt[Lr]);return yn?(Wr(Lr,lt,yn),ur(Lr,qr,lt,rt,yn)):Lr}cr.right=Je;function pr(He,Lr,qr,lt,rt,Rt,an){e.Debug.assertEqual(qr[Lr],pr),qr[Lr]=Ve(He,pr);var yn=He.onExit(lt[Lr],rt[Lr]);if(Lr>0){if(Lr--,He.foldState){var vn=qr[Lr]===pr?"right":"left";rt[Lr]=He.foldState(rt[Lr],yn,vn)}}else Rt.value=yn;return Lr}cr.exit=pr;function kr(He,Lr,qr,lt,rt,Rt,an){return e.Debug.assertEqual(qr[Lr],kr),Lr}cr.done=kr;function Ve(He,Lr){switch(Lr){case vr:if(He.onLeft)return fe;case fe:if(He.onOperator)return xe;case xe:if(He.onRight)return Je;case Je:return pr;case pr:return kr;case kr:return kr;default:e.Debug.fail("Invalid state")}}cr.nextState=Ve;function ur(He,Lr,qr,lt,rt){return He++,Lr[He]=vr,qr[He]=rt,lt[He]=void 0,He}function Wr(He,Lr,qr){if(e.Debug.shouldAssert(2))for(;He>=0;)e.Debug.assert(Lr[He]!==qr,"Circular traversal detected."),He--}})(Ke||(Ke={}));var Me=function(){function cr(vr,fe,xe,Je,pr,kr){this.onEnter=vr,this.onLeft=fe,this.onOperator=xe,this.onRight=Je,this.onExit=pr,this.foldState=kr}return cr}();function Hr(cr,vr,fe,xe,Je,pr){var kr=new Me(cr,vr,fe,xe,Je,pr);return Ve;function Ve(ur,Wr){for(var He={value:void 0},Lr=[Ke.enter],qr=[ur],lt=[void 0],rt=0;Lr[rt]!==Ke.done;)rt=Lr[rt](kr,rt,Lr,qr,lt,He,Wr);return e.Debug.assertEqual(rt,0),He.value}}e.createBinaryExpressionTrampoline=Hr})(gr||(gr={}));var gr;(function(e){function n(c,f){return f?e.setTextRangePosEnd(c,f.pos,f.end):c}e.setTextRange=n})(gr||(gr={}));var gr;(function(e){var n;(function(_){_[_.None=0]="None",_[_.Yield=1]="Yield",_[_.Await=2]="Await",_[_.Type=4]="Type",_[_.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",_[_.JSDoc=32]="JSDoc"})(n||(n={}));var c;(function(_){_[_.TryParse=0]="TryParse",_[_.Lookahead=1]="Lookahead",_[_.Reparse=2]="Reparse"})(c||(c={}));var f,a,p,x,V;e.parseBaseNodeFactory={createBaseSourceFileNode:function(_){return new(V||(V=e.objectAllocator.getSourceFileConstructor()))(_,-1,-1)},createBaseIdentifierNode:function(_){return new(p||(p=e.objectAllocator.getIdentifierConstructor()))(_,-1,-1)},createBasePrivateIdentifierNode:function(_){return new(x||(x=e.objectAllocator.getPrivateIdentifierConstructor()))(_,-1,-1)},createBaseTokenNode:function(_){return new(a||(a=e.objectAllocator.getTokenConstructor()))(_,-1,-1)},createBaseNode:function(_){return new(f||(f=e.objectAllocator.getNodeConstructor()))(_,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function g(_,d){return d&&_(d)}function m(_,d,h){if(h){if(d)return d(h);for(var P=0,te=h;P=0;--Te)P.push(ce[Te]),te.push(q)}else{var J=d(ce,q);if(J){if(J==="skip")continue;return J}if(ce.kind>=160)for(var Ae=0,R=y(ce);Ae=vs.pos}),xl=Is>=0?e.findIndex(Ct,function(El){return El.start>=gl.pos},Is):-1;Is>=0&&e.addRange(Pe,Ct,Is,xl>=0?xl:void 0),ut(function(){var El=Se;for(Se|=32768,d.setTextPos(gl.pos),fr();me()!==1;){var Hu=d.getStartPos(),dl=Re(0,Ga);if(at.push(dl),Hu===d.getStartPos()&&fr(),Xt>=0){var Fs=Ce.statements[Xt];if(dl.end===Fs.pos)break;dl.end>Fs.pos&&(Xt=$i(Ce.statements,Xt+1))}}Se=El},2),Rn=Xt>=0?Zo(Ce.statements,Xt):-1};Rn!==-1;)$n();if(Xt>=0){var wa=Ce.statements[Xt];e.addRange(at,Ce.statements,Xt);var Ea=e.findIndex(Ct,function(vs){return vs.start>=wa.pos});Ea>=0&&e.addRange(Pe,Ct,Ea)}return Fe=Tr,R.updateSourceFile(Ce,e.setTextRange(R.createNodeArray(at),Ce.statements));function Ki(vs){return!(vs.flags&32768)&&!!(vs.transformFlags&16777216)}function Zo(vs,gl){for(var Is=gl;Is116}function Qt(){return me()===79?!0:me()===125&&ar()||me()===132&&he()?!1:me()>116}function _t(Ce,Tr,Gr){return Gr===void 0&&(Gr=!0),me()===Ce?(Gr&&fr(),!0):(Tr?ir(Tr):ir(e.Diagnostics._0_expected,e.tokenToString(Ce)),!1)}var rn=Object.keys(e.textToKeywordObj).filter(function(Ce){return Ce.length>2});function sa(Ce){var Tr;if(e.isTaggedTemplateExpression(Ce)){je(e.skipTrivia(z,Ce.template.pos),Ce.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Gr=e.isIdentifier(Ce)?e.idText(Ce):void 0;if(!Gr||!e.isIdentifierText(Gr,Ee)){ir(e.Diagnostics._0_expected,e.tokenToString(26));return}var at=e.skipTrivia(z,Ce.pos);switch(Gr){case"const":case"let":case"var":je(at,Ce.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":ba(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":je(at,d.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":ba(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":ba(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63);return}var Ct=(Tr=e.getSpellingSuggestion(Gr,rn,function(Xt){return Xt}))!==null&&Tr!==void 0?Tr:Kn(Gr);if(Ct){je(at,Ce.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Ct);return}me()!==0&&je(at,Ce.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function ba(Ce,Tr,Gr){me()===Gr?ir(Tr):ir(Ce,d.getTokenValue())}function Kn(Ce){for(var Tr=0,Gr=rn;Trat.length+2&&e.startsWith(Ce,at))return"".concat(at," ").concat(Ce.slice(at.length))}}function na(Ce,Tr,Gr){if(me()===59&&!d.hasPrecedingLineBreak()){ir(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(me()===20){ir(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),fr();return}if(Tr&&!pt()){Gr?ir(e.Diagnostics._0_expected,e.tokenToString(26)):ir(e.Diagnostics.Expected_for_property_initializer);return}if(!mt()){if(Gr){me()===18&&ir(e.Diagnostics._0_expected,e.tokenToString(26));return}sa(Ce)}}function jn(Ce){return me()===Ce?(dr(),!0):(ir(e.Diagnostics._0_expected,e.tokenToString(Ce)),!1)}function en(Ce){return me()===Ce?(fr(),!0):!1}function St(Ce){if(me()===Ce)return dn()}function Ut(Ce){if(me()===Ce)return oa()}function qt(Ce,Tr,Gr){return St(Ce)||xn(Ce,!1,Tr||e.Diagnostics._0_expected,Gr||e.tokenToString(Ce))}function Mn(Ce){return Ut(Ce)||xn(Ce,!1,e.Diagnostics._0_expected,e.tokenToString(Ce))}function dn(){var Ce=$(),Tr=me();return fr(),tt(R.createToken(Tr),Ce)}function oa(){var Ce=$(),Tr=me();return dr(),tt(R.createToken(Tr),Ce)}function pt(){return me()===26?!0:me()===19||me()===1||d.hasPrecedingLineBreak()}function mt(){return pt()?(me()===26&&fr(),!0):!1}function Mt(){return mt()||_t(26)}function It(Ce,Tr,Gr,at){var Ct=R.createNodeArray(Ce,at);return e.setTextRangePosEnd(Ct,Tr,Gr??d.getStartPos()),Ct}function tt(Ce,Tr,Gr){return e.setTextRangePosEnd(Ce,Tr,Gr??d.getStartPos()),Se&&(Ce.flags|=Se),Ye&&(Ye=!1,Ce.flags|=65536),Ce}function xn(Ce,Tr,Gr,at){Tr?ue(d.getStartPos(),0,Gr,at):Gr&&ir(Gr,at);var Ct=$(),Xt=Ce===79?R.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(Ce)?R.createTemplateLiteralLikeNode(Ce,"","",void 0):Ce===8?R.createNumericLiteral("",void 0):Ce===10?R.createStringLiteral("",void 0):Ce===275?R.createMissingDeclaration():R.createToken(Ce);return tt(Xt,Ct)}function Qn(Ce){var Tr=Be.get(Ce);return Tr===void 0&&Be.set(Ce,Tr=Ce),Tr}function Oa(Ce,Tr,Gr){if(Ce){De++;var at=$(),Ct=me(),Xt=Qn(d.getTokenValue());return Ze(),tt(R.createIdentifier(Xt,void 0,Ct),at)}if(me()===80)return ir(Gr||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Oa(!0);if(me()===0&&d.tryScan(function(){return d.reScanInvalidIdentifier()===79}))return Oa(!0);De++;var Rn=me()===1,$n=d.isReservedWord(),wa=d.getTokenText(),Ea=$n?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return xn(79,Rn,Tr||Ea,wa)}function Ci(Ce){return Oa(wt(),void 0,Ce)}function mi(Ce,Tr){return Oa(Qt(),Ce,Tr)}function va(Ce){return Oa(e.tokenIsIdentifierOrKeyword(me()),Ce)}function yi(){return e.tokenIsIdentifierOrKeyword(me())||me()===10||me()===8}function ro(){return e.tokenIsIdentifierOrKeyword(me())||me()===10}function Ka(Ce){if(me()===10||me()===8){var Tr=Ro();return Tr.text=Qn(Tr.text),Tr}return Ce&&me()===22?io():me()===80?Hi():va()}function Mi(){return Ka(!0)}function io(){var Ce=$();_t(22);var Tr=Lr(Ms);return _t(23),tt(R.createComputedPropertyName(Tr),Ce)}function ji(Ce){var Tr=de.get(Ce);return Tr===void 0&&de.set(Ce,Tr=Ce),Tr}function Hi(){var Ce=$(),Tr=R.createPrivateIdentifier(ji(d.getTokenText()));return fr(),tt(Tr,Ce)}function to(Ce){return me()===Ce&&xt(co)}function ko(){return fr(),d.hasPrecedingLineBreak()?!1:uo()}function co(){switch(me()){case 85:return fr()===92;case 93:return fr(),me()===88?ht(za):me()===151?ht(Ha):Ao();case 88:return za();case 124:case 136:case 148:return fr(),uo();default:return ko()}}function Ao(){return me()!==41&&me()!==127&&me()!==18&&uo()}function Ha(){return fr(),Ao()}function Qo(){return e.isModifierKind(me())&&xt(co)}function uo(){return me()===22||me()===18||me()===41||me()===25||yi()}function za(){return fr(),me()===84||me()===98||me()===118||me()===126&&ht(bc)||me()===131&&ht(pd)}function hi(Ce,Tr){var Gr=ie(Ce);if(Gr)return!0;switch(Ce){case 0:case 1:case 3:return!(me()===26&&Tr)&&Bl();case 2:return me()===82||me()===88;case 4:return ht(Pr);case 5:return ht(Qd)||me()===26&&!Tr;case 6:return me()===22||yi();case 12:switch(me()){case 22:case 41:case 25:case 24:return!0;default:return yi()}case 18:return yi();case 9:return me()===22||me()===25||yi();case 24:return ro();case 7:return me()===18?ht(Zi):Tr?Qt()&&!qo():$p()&&!qo();case 8:return rf();case 10:return me()===27||me()===25||rf();case 19:return Qt();case 15:switch(me()){case 27:case 24:return!0}case 11:return me()===25||ml();case 16:return js(!1);case 17:return js(!0);case 20:case 21:return me()===27||Eo();case 22:return Mf();case 23:return e.tokenIsIdentifierOrKeyword(me());case 13:return e.tokenIsIdentifierOrKeyword(me())||me()===18;case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function Zi(){if(e.Debug.assert(me()===18),fr()===19){var Ce=fr();return Ce===27||Ce===18||Ce===94||Ce===117}return!0}function Po(){return fr(),Qt()}function Fo(){return fr(),e.tokenIsIdentifierOrKeyword(me())}function Go(){return fr(),e.tokenIsIdentifierOrKeywordOrGreaterThan(me())}function qo(){return me()===117||me()===94?ht(Ts):!1}function Ts(){return fr(),ml()}function xs(){return fr(),Eo()}function yr(Ce){if(me()===1)return!0;switch(Ce){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return me()===19;case 3:return me()===19||me()===82||me()===88;case 7:return me()===18||me()===94||me()===117;case 8:return dt();case 19:return me()===31||me()===20||me()===18||me()===94||me()===117;case 11:return me()===21||me()===26;case 15:case 21:case 10:return me()===23;case 17:case 16:case 18:return me()===21||me()===23;case 20:return me()!==27;case 22:return me()===18||me()===19;case 13:return me()===31||me()===43;case 14:return me()===29&&ht(Gc);default:return!1}}function dt(){return!!(pt()||Dp(me())||me()===38)}function tn(){for(var Ce=0;Ce<25;Ce++)if(qe&1<=0)}function Ji(Ce){return Ce===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Do(){var Ce=It([],$());return Ce.isMissingList=!0,Ce}function us(Ce){return!!Ce.isMissingList}function bt(Ce,Tr,Gr,at){if(_t(Gr)){var Ct=$a(Ce,Tr);return _t(at),Ct}return Do()}function Pn(Ce,Tr){for(var Gr=$(),at=Ce?va(Tr):mi(Tr),Ct=$();en(24);){if(me()===29){at.jsdocDotPos=Ct;break}Ct=$(),at=tt(R.createQualifiedName(at,ei(Ce,!1)),Gr)}return at}function da(Ce,Tr){return tt(R.createQualifiedName(Ce,Tr),Ce.pos)}function ei(Ce,Tr){if(d.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(me())){var Gr=ht(If);if(Gr)return xn(79,!0,e.Diagnostics.Identifier_expected)}if(me()===80){var at=Hi();return Tr?at:xn(79,!0,e.Diagnostics.Identifier_expected)}return Ce?va():mi()}function bi(Ce){var Tr=$(),Gr=[],at;do at=wo(Ce),Gr.push(at);while(at.literal.kind===16);return It(Gr,Tr)}function xi(Ce){var Tr=$();return tt(R.createTemplateExpression(rs(Ce),bi(Ce)),Tr)}function ka(){var Ce=$();return tt(R.createTemplateLiteralType(rs(!1),_i()),Ce)}function _i(){var Ce=$(),Tr=[],Gr;do Gr=Xi(),Tr.push(Gr);while(Gr.literal.kind===16);return It(Tr,Ce)}function Xi(){var Ce=$();return tt(R.createTemplateLiteralTypeSpan(_s(),Gi(!1)),Ce)}function Gi(Ce){return me()===19?(jr(Ce),is()):qt(17,e.Diagnostics._0_expected,e.tokenToString(19))}function wo(Ce){var Tr=$();return tt(R.createTemplateSpan(Lr(Ms),Gi(Ce)),Tr)}function Ro(){return Mr(me())}function rs(Ce){Ce&&rr();var Tr=Mr(me());return e.Debug.assert(Tr.kind===15,"Template head has wrong token kind"),Tr}function is(){var Ce=Mr(me());return e.Debug.assert(Ce.kind===16||Ce.kind===17,"Template fragment has wrong token kind"),Ce}function pe(Ce){var Tr=Ce===14||Ce===17,Gr=d.getTokenText();return Gr.substring(1,Gr.length-(d.isUnterminated()?0:Tr?1:2))}function Mr(Ce){var Tr=$(),Gr=e.isTemplateLiteralKind(Ce)?R.createTemplateLiteralLikeNode(Ce,d.getTokenValue(),pe(Ce),d.getTokenFlags()&2048):Ce===8?R.createNumericLiteral(d.getTokenValue(),d.getNumericLiteralFlags()):Ce===10?R.createStringLiteral(d.getTokenValue(),void 0,d.hasExtendedUnicodeEscape()):e.isLiteralKind(Ce)?R.createLiteralLikeNode(Ce,d.getTokenValue()):e.Debug.fail();return d.hasExtendedUnicodeEscape()&&(Gr.hasExtendedUnicodeEscape=!0),d.isUnterminated()&&(Gr.isUnterminated=!0),fr(),tt(Gr,Tr)}function ft(){return Pn(!0,e.Diagnostics.Type_expected)}function Zt(){if(!d.hasPrecedingLineBreak()&&Ir()===29)return bt(20,_s,29,31)}function Oe(){var Ce=$();return tt(R.createTypeReferenceNode(ft(),Zt()),Ce)}function Qr(Ce){switch(Ce.kind){case 177:return e.nodeIsMissing(Ce.typeName);case 178:case 179:{var Tr=Ce,Gr=Tr.parameters,at=Tr.type;return us(Gr)||Qr(at)}case 190:return Qr(Ce.type);default:return!1}}function hn(Ce){return fr(),tt(R.createTypePredicateNode(void 0,Ce,_s()),Ce.pos)}function Xn(){var Ce=$();return fr(),tt(R.createThisTypeNode(),Ce)}function gi(){var Ce=$();return fr(),tt(R.createJSDocAllType(),Ce)}function Ia(){var Ce=$();return fr(),tt(R.createJSDocNonNullableType(Lo()),Ce)}function oo(){var Ce=$();return fr(),me()===27||me()===19||me()===21||me()===31||me()===63||me()===51?tt(R.createJSDocUnknownType(),Ce):tt(R.createJSDocNullableType(_s()),Ce)}function jo(){var Ce=$(),Tr=Ne();if(ht(Pf)){fr();var Gr=Hs(36),at=no(58,!1);return Me(tt(R.createJSDocFunctionType(Gr,at),Ce),Tr)}return tt(R.createTypeReferenceNode(va(),void 0),Ce)}function Nr(){var Ce=$(),Tr;return(me()===108||me()===103)&&(Tr=va(),_t(58)),tt(R.createParameterDeclaration(void 0,void 0,void 0,Tr,void 0,Ws(),void 0),Ce)}function Ws(){d.setInJSDocType(!0);var Ce=$();if(en(141)){var Tr=R.createJSDocNamepathType(void 0);e:for(;;)switch(me()){case 19:case 1:case 27:case 5:break e;default:dr()}return d.setInJSDocType(!1),tt(Tr,Ce)}var Gr=en(25),at=rd();return d.setInJSDocType(!1),Gr&&(at=tt(R.createJSDocVariadicType(at),Ce)),me()===63?(fr(),tt(R.createJSDocOptionalType(at),Ce)):at}function sl(){var Ce=$();return _t(112),tt(R.createTypeQueryNode(Pn(!0)),Ce)}function Pl(){var Ce=$(),Tr=mi(),Gr,at;en(94)&&(Eo()||!ml()?Gr=_s():at=_c());var Ct=en(63)?_s():void 0,Xt=R.createTypeParameterDeclaration(Tr,Gr,Ct);return Xt.expression=at,tt(Xt,Ce)}function xo(){if(me()===29)return bt(19,Pl,29,31)}function js(Ce){return me()===25||rf()||e.isModifierKind(me())||me()===59||Eo(!Ce)}function Zl(Ce){var Tr=$s(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(Tr)===0&&!e.some(Ce)&&e.isModifierKind(me())&&fr(),Tr}function ql(){return uu(!0)}function fc(){return uu(!1)}function uu(Ce){var Tr=$(),Gr=Ne(),at=Ce?Rt(tf):tf();if(me()===108){var Ct=R.createParameterDeclaration(at,void 0,void 0,Oa(!0),void 0,Kc(),void 0);return at&&be(at[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),Me(tt(Ct,Tr),Gr)}var Xt=Le;Le=!1;var Rn=Ec(),$n=Me(tt(R.createParameterDeclaration(at,Rn,St(25),Zl(Rn),St(57),Kc(),Ja()),Tr),Gr);return Le=Xt,$n}function no(Ce,Tr){if(Xl(Ce,Tr))return rd()}function Xl(Ce,Tr){return Ce===38?(_t(Ce),!0):en(58)?!0:Tr&&me()===38?(ir(e.Diagnostics._0_expected,e.tokenToString(58)),fr(),!0):!1}function dc(Ce){var Tr=ar(),Gr=he();kr(!!(Ce&1)),ur(!!(Ce&2));var at=Ce&32?$a(17,Nr):$a(16,Gr?ql:fc);return kr(Tr),ur(Gr),at}function Hs(Ce){if(!_t(20))return Do();var Tr=dc(Ce);return _t(21),Tr}function Ic(){en(27)||Mt()}function Nc(Ce){var Tr=$(),Gr=Ne();Ce===174&&_t(103);var at=xo(),Ct=Hs(4),Xt=no(58,!0);Ic();var Rn=Ce===173?R.createCallSignature(at,Ct,Xt):R.createConstructSignature(at,Ct,Xt);return Me(tt(Rn,Tr),Gr)}function La(){return me()===22&&ht(fu)}function fu(){if(fr(),me()===25||me()===23)return!0;if(e.isModifierKind(me())){if(fr(),Qt())return!0}else if(Qt())fr();else return!1;return me()===58||me()===27?!0:me()!==57?!1:(fr(),me()===58||me()===27||me()===23)}function pc(Ce,Tr,Gr,at){var Ct=bt(16,fc,22,23),Xt=Kc();Ic();var Rn=R.createIndexSignature(Gr,at,Ct,Xt);return Me(tt(Rn,Ce),Tr)}function kc(Ce,Tr,Gr){var at=Mi(),Ct=St(57),Xt;if(me()===20||me()===29){var Rn=xo(),$n=Hs(4),wa=no(58,!0);Xt=R.createMethodSignature(Gr,at,Ct,Rn,$n,wa)}else{var wa=Kc();Xt=R.createPropertySignature(Gr,at,Ct,wa),me()===63&&(Xt.initializer=Ja())}return Ic(),Me(tt(Xt,Ce),Tr)}function Pr(){if(me()===20||me()===29||me()===136||me()===148)return!0;for(var Ce=!1;e.isModifierKind(me());)Ce=!0,fr();return me()===22?!0:(yi()&&(Ce=!0,fr()),Ce?me()===20||me()===29||me()===57||me()===58||me()===27||pt():!1)}function $r(){if(me()===20||me()===29)return Nc(173);if(me()===103&&ht(Lt))return Nc(174);var Ce=$(),Tr=Ne(),Gr=Ec();return to(136)?pu(Ce,Tr,void 0,Gr,171):to(148)?pu(Ce,Tr,void 0,Gr,172):La()?pc(Ce,Tr,void 0,Gr):kc(Ce,Tr,Gr)}function Lt(){return fr(),me()===20||me()===29}function Kt(){return fr()===24}function pn(){switch(fr()){case 20:case 29:case 24:return!0}return!1}function fn(){var Ce=$();return tt(R.createTypeLiteralNode(kn()),Ce)}function kn(){var Ce;return _t(18)?(Ce=Vn(4,$r),_t(19)):Ce=Do(),Ce}function zn(){return fr(),me()===39||me()===40?fr()===144:(me()===144&&fr(),me()===22&&Po()&&fr()===101)}function Fa(){var Ce=$(),Tr=va();_t(101);var Gr=_s();return tt(R.createTypeParameterDeclaration(Tr,Gr,void 0),Ce)}function ua(){var Ce=$();_t(18);var Tr;(me()===144||me()===39||me()===40)&&(Tr=dn(),Tr.kind!==144&&_t(144)),_t(22);var Gr=Fa(),at=en(127)?_s():void 0;_t(23);var Ct;(me()===57||me()===39||me()===40)&&(Ct=dn(),Ct.kind!==57&&_t(57));var Xt=Kc();Mt();var Rn=Vn(4,$r);return _t(19),tt(R.createMappedTypeNode(Tr,Gr,at,Ct,Xt,Rn),Ce)}function se(){var Ce=$();if(en(25))return tt(R.createRestTypeNode(_s()),Ce);var Tr=_s();if(e.isJSDocNullableType(Tr)&&Tr.pos===Tr.type.pos){var Gr=R.createOptionalTypeNode(Tr.type);return e.setTextRange(Gr,Tr),Gr.flags=Tr.flags,Gr}return Tr}function er(){return fr()===58||me()===57&&fr()===58}function Er(){return me()===25?e.tokenIsIdentifierOrKeyword(fr())&&er():e.tokenIsIdentifierOrKeyword(me())&&er()}function ct(){if(ht(Er)){var Ce=$(),Tr=Ne(),Gr=St(25),at=va(),Ct=St(57);_t(58);var Xt=se(),Rn=R.createNamedTupleMember(Gr,at,Ct,Xt);return Me(tt(Rn,Ce),Tr)}return se()}function jt(){var Ce=$();return tt(R.createTupleTypeNode(bt(21,ct,22,23)),Ce)}function En(){var Ce=$();_t(20);var Tr=_s();return _t(21),tt(R.createParenthesizedType(Tr),Ce)}function ha(){var Ce;if(me()===126){var Tr=$();fr();var Gr=tt(R.createToken(126),Tr);Ce=It([Gr],Tr)}return Ce}function ri(){var Ce=$(),Tr=Ne(),Gr=ha(),at=en(103),Ct=xo(),Xt=Hs(4),Rn=no(38,!1),$n=at?R.createConstructorTypeNode(Gr,Ct,Xt,Rn):R.createFunctionTypeNode(Ct,Xt,Rn);return at||($n.modifiers=Gr),Me(tt($n,Ce),Tr)}function Ta(){var Ce=dn();return me()===24?void 0:Ce}function Ya(Ce){var Tr=$();Ce&&fr();var Gr=me()===110||me()===95||me()===104?dn():Mr(me());return Ce&&(Gr=tt(R.createPrefixUnaryExpression(40,Gr),Tr)),tt(R.createLiteralTypeNode(Gr),Tr)}function fi(){return fr(),me()===100}function ci(){j|=1048576;var Ce=$(),Tr=en(112);_t(100),_t(20);var Gr=_s();_t(21);var at=en(24)?ft():void 0,Ct=Zt();return tt(R.createImportTypeNode(Gr,at,Ct,Tr),Ce)}function Si(){return fr(),me()===8||me()===9}function Lo(){switch(me()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return xt(Ta)||Oe();case 66:d.reScanAsteriskEqualsToken();case 41:return gi();case 60:d.reScanQuestionToken();case 57:return oo();case 98:return jo();case 53:return Ia();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Ya();case 40:return ht(Si)?Ya(!0):Oe();case 114:return dn();case 108:{var Ce=Xn();return me()===139&&!d.hasPrecedingLineBreak()?hn(Ce):Ce}case 112:return ht(fi)?ci():sl();case 18:return ht(zn)?ua():fn();case 22:return jt();case 20:return En();case 100:return ci();case 128:return ht(If)?Od():Oe();case 15:return ka();default:return Oe()}}function Eo(Ce){switch(me()){case 130:case 154:case 149:case 146:case 157:case 133:case 144:case 150:case 153:case 114:case 152:case 104:case 108:case 112:case 143:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 147:case 41:case 57:case 53:case 25:case 137:case 100:case 128:case 14:case 15:return!0;case 98:return!Ce;case 40:return!Ce&&ht(Si);case 20:return!Ce&&ht(ks);default:return Qt()}}function ks(){return fr(),me()===21||js(!1)||Eo()}function Zs(){for(var Ce=$(),Tr=Lo();!d.hasPrecedingLineBreak();)switch(me()){case 53:fr(),Tr=tt(R.createJSDocNonNullableType(Tr),Ce);break;case 57:if(ht(xs))return Tr;fr(),Tr=tt(R.createJSDocNullableType(Tr),Ce);break;case 22:if(_t(22),Eo()){var Gr=_s();_t(23),Tr=tt(R.createIndexedAccessTypeNode(Tr,Gr),Ce)}else _t(23),Tr=tt(R.createArrayTypeNode(Tr),Ce);break;default:return Tr}return Tr}function ku(Ce){var Tr=$();return _t(Ce),tt(R.createTypeOperatorNode(Ce,Hc()),Tr)}function hf(){var Ce=$();return tt(R.createTypeParameterDeclaration(mi(),void 0,void 0),Ce)}function $l(){var Ce=$();return _t(137),tt(R.createInferTypeNode(hf()),Ce)}function Hc(){var Ce=me();switch(Ce){case 140:case 153:case 144:return ku(Ce);case 137:return $l()}return Zs()}function Fr(Ce){if(Rc()){var Tr=ri(),Gr=void 0;return e.isFunctionTypeNode(Tr)?Gr=Ce?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:Gr=Ce?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,be(Tr,Gr),Tr}}function ec(Ce,Tr,Gr){var at=$(),Ct=Ce===51,Xt=en(Ce),Rn=Xt&&Fr(Ct)||Tr();if(me()===Ce||Xt){for(var $n=[Rn];en(Ce);)$n.push(Fr(Ct)||Tr());Rn=tt(Gr(It($n,at)),at)}return Rn}function mc(){return ec(50,Hc,R.createIntersectionTypeNode)}function Ru(){return ec(51,mc,R.createUnionTypeNode)}function ll(){return fr(),me()===103}function Rc(){return me()===29||me()===20&&ht(po)?!0:me()===103||me()===126&&ht(ll)}function yf(){if(e.isModifierKind(me())&&Ec(),Qt()||me()===108)return fr(),!0;if(me()===22||me()===18){var Ce=Pe.length;return $s(),Ce===Pe.length}return!1}function po(){return fr(),!!(me()===21||me()===25||yf()&&(me()===58||me()===27||me()===57||me()===63||me()===21&&(fr(),me()===38)))}function rd(){var Ce=$(),Tr=Qt()&&xt(bf),Gr=_s();return Tr?tt(R.createTypePredicateNode(void 0,Tr,Gr),Ce):Gr}function bf(){var Ce=mi();if(me()===139&&!d.hasPrecedingLineBreak())return fr(),Ce}function Od(){var Ce=$(),Tr=qt(128),Gr=me()===108?Xn():mi(),at=en(139)?_s():void 0;return tt(R.createTypePredicateNode(Tr,Gr,at),Ce)}function _s(){return Wr(40960,Jc)}function Jc(Ce){if(Rc())return ri();var Tr=$(),Gr=Ru();if(!Ce&&!d.hasPrecedingLineBreak()&&en(94)){var at=Jc(!0);_t(57);var Ct=Jc();_t(58);var Xt=Jc();return tt(R.createConditionalTypeNode(Gr,at,Ct,Xt),Tr)}return Gr}function Kc(){return en(58)?_s():void 0}function $p(){switch(me()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return ht(pn);default:return Qt()}}function ml(){if($p())return!0;switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 132:case 125:case 80:return!0;default:return Gd()?!0:Qt()}}function em(){return me()!==18&&me()!==98&&me()!==84&&me()!==59&&ml()}function Ms(){var Ce=sr();Ce&&Ve(!1);for(var Tr=$(),Gr=Zn(),at;at=St(27);)Gr=Bd(Gr,at,Zn(),Tr);return Ce&&Ve(!0),Gr}function Ja(){return en(63)?Zn():void 0}function Zn(){if(Oc())return Ef();var Ce=wd()||Pd();if(Ce)return Ce;var Tr=$(),Gr=nd(0);return Gr.kind===79&&me()===38?Ou(Tr,Gr,void 0):e.isLeftHandSideExpression(Gr)&&e.isAssignmentOperator(et())?Bd(Gr,dn(),Zn(),Tr):Om(Gr,Tr)}function Oc(){return me()===125?ar()?!0:ht(Nf):!1}function Rs(){return fr(),!d.hasPrecedingLineBreak()&&Qt()}function Ef(){var Ce=$();return fr(),!d.hasPrecedingLineBreak()&&(me()===41||ml())?tt(R.createYieldExpression(St(41),Zn()),Ce):tt(R.createYieldExpression(void 0,void 0),Ce)}function Ou(Ce,Tr,Gr){e.Debug.assert(me()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var at=R.createParameterDeclaration(void 0,void 0,void 0,Tr,void 0,void 0,void 0);tt(at,Tr.pos);var Ct=It([at],at.pos,at.end),Xt=qt(38),Rn=Yl(!!Gr),$n=R.createArrowFunction(Gr,void 0,Ct,void 0,Xt,Rn);return cr(tt($n,Ce))}function wd(){var Ce=Vo();if(Ce!==0)return Ce===1?Sp(!0):xt(Md)}function Vo(){return me()===20||me()===29||me()===131?ht(td):me()===38?1:0}function td(){if(me()===131&&(fr(),d.hasPrecedingLineBreak()||me()!==20&&me()!==29))return 0;var Ce=me(),Tr=fr();if(Ce===20){if(Tr===21){var Gr=fr();switch(Gr){case 38:case 58:case 18:return 1;default:return 0}}if(Tr===22||Tr===18)return 2;if(Tr===25||e.isModifierKind(Tr)&&Tr!==131&&ht(Po))return 1;if(!Qt()&&Tr!==108)return 0;switch(fr()){case 58:return 1;case 57:return fr(),me()===58||me()===27||me()===63||me()===21?1:0;case 27:case 63:case 21:return 2}return 0}else{if(e.Debug.assert(Ce===29),!Qt())return 0;if(ke===1){var at=ht(function(){var Ct=fr();if(Ct===94){var Xt=fr();switch(Xt){case 63:case 31:return!1;default:return!0}}else if(Ct===27)return!0;return!1});return at?1:0}return 2}}function Md(){var Ce=d.getTokenPos();if(!(Xe!=null&&Xe.has(Ce))){var Tr=Sp(!1);return Tr||(Xe||(Xe=new e.Set)).add(Ce),Tr}}function Pd(){if(me()===131&&ht(rm)===1){var Ce=$(),Tr=Xc(),Gr=nd(0);return Ou(Ce,Gr,Tr)}}function rm(){if(me()===131){if(fr(),d.hasPrecedingLineBreak()||me()===38)return 0;var Ce=nd(0);if(!d.hasPrecedingLineBreak()&&Ce.kind===79&&me()===38)return 1}return 0}function Sp(Ce){var Tr=$(),Gr=Ne(),at=Xc(),Ct=e.some(at,e.isAsyncModifier)?2:0,Xt=xo(),Rn;if(_t(20)){if(Rn=dc(Ct),!_t(21)&&!Ce)return}else{if(!Ce)return;Rn=Do()}var $n=no(58,!1);if(!($n&&!Ce&&Qr($n))){var wa=$n&&e.isJSDocFunctionType($n);if(!(!Ce&&me()!==38&&(wa||me()!==18))){var Ea=me(),Ki=qt(38),Zo=Ea===38||Ea===18?Yl(e.some(at,e.isAsyncModifier)):mi(),$i=R.createArrowFunction(at,Xt,Rn,$n,Ki,Zo);return Me(tt($i,Tr),Gr)}}}function Yl(Ce){if(me()===18)return Ln(Ce?2:0);if(me()!==26&&me()!==98&&me()!==84&&Bl()&&!em())return Ln(16|(Ce?2:0));var Tr=Le;Le=!1;var Gr=Ce?Rt(Zn):an(Zn);return Le=Tr,Gr}function Om(Ce,Tr){var Gr=St(57);if(!Gr)return Ce;var at;return tt(R.createConditionalExpression(Ce,Gr,Wr(h,Zn),at=qt(58),e.nodeIsPresent(at)?Zn():xn(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),Tr)}function nd(Ce){var Tr=$(),Gr=_c();return Fd(Ce,Gr,Tr)}function Dp(Ce){return Ce===101||Ce===159}function Fd(Ce,Tr,Gr){for(;;){et();var at=e.getBinaryOperatorPrecedence(me()),Ct=me()===42?at>=Ce:at>Ce;if(!Ct||me()===101&&wr())break;if(me()===127){if(d.hasPrecedingLineBreak())break;fr(),Tr=Ud(Tr,_s())}else Tr=Bd(Tr,dn(),nd(at),Gr)}return Tr}function Gd(){return wr()&&me()===101?!1:e.getBinaryOperatorPrecedence(me())>0}function Bd(Ce,Tr,Gr,at){return tt(R.createBinaryExpression(Ce,Tr,Gr),at)}function Ud(Ce,Tr){return tt(R.createAsExpression(Ce,Tr),Ce.pos)}function Lp(){var Ce=$();return tt(R.createPrefixUnaryExpression(me(),xr(gc)),Ce)}function tm(){var Ce=$();return tt(R.createDeleteExpression(xr(gc)),Ce)}function Vd(){var Ce=$();return tt(R.createTypeOfExpression(xr(gc)),Ce)}function nm(){var Ce=$();return tt(R.createVoidExpression(xr(gc)),Ce)}function Wd(){return me()===132?he()?!0:ht(Nf):!1}function du(){var Ce=$();return tt(R.createAwaitExpression(xr(gc)),Ce)}function _c(){if(rc()){var Ce=$(),Tr=jd();return me()===42?Fd(e.getBinaryOperatorPrecedence(me()),Tr,Ce):Tr}var Gr=me(),at=gc();if(me()===42){var Ce=e.skipTrivia(z,at.pos),Ct=at.end;at.kind===210?je(Ce,Ct,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):je(Ce,Ct,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(Gr))}return at}function gc(){switch(me()){case 39:case 40:case 54:case 53:return Lp();case 89:return tm();case 112:return Vd();case 114:return nm();case 29:return sd();case 132:if(Wd())return du();default:return jd()}}function rc(){switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return!1;case 29:if(ke!==1)return!1;default:return!0}}function jd(){if(me()===45||me()===46){var Ce=$();return tt(R.createPrefixUnaryExpression(me(),xr(Tf)),Ce)}else if(ke===1&&me()===29&&ht(Go))return Sf(!0);var Tr=Tf();if(e.Debug.assert(e.isLeftHandSideExpression(Tr)),(me()===45||me()===46)&&!d.hasPrecedingLineBreak()){var Gr=me();return fr(),tt(R.createPostfixUnaryExpression(Tr,Gr),Tr.pos)}return Tr}function Tf(){var Ce=$(),Tr;return me()===100?ht(Lt)?(j|=1048576,Tr=dn()):ht(Kt)?(fr(),fr(),Tr=tt(R.createMetaProperty(100,va()),Ce),j|=2097152):Tr=Ap():Tr=me()===106?Cp():Ap(),Df(Ce,Tr)}function Ap(){var Ce=$(),Tr=Ll();return Gl(Ce,Tr,!0)}function Cp(){var Ce=$(),Tr=dn();if(me()===29){var Gr=$(),at=xt(ld);at!==void 0&&je(Gr,$(),e.Diagnostics.super_may_not_use_type_arguments)}return me()===20||me()===24||me()===22?Tr:(qt(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),tt(R.createPropertyAccessExpression(Tr,ei(!0,!0)),Ce))}function Sf(Ce,Tr,Gr){var at=$(),Ct=wu(Ce),Xt;if(Ct.kind===279){var Rn=ad(Ct),$n=void 0,wa=Rn[Rn.length-1];if((wa==null?void 0:wa.kind)===277&&!C(wa.openingElement.tagName,wa.closingElement.tagName)&&C(Ct.tagName,wa.closingElement.tagName)){var Ea=wa.children.end,Ki=tt(R.createJsxElement(wa.openingElement,wa.children,tt(R.createJsxClosingElement(tt(R.createIdentifier(""),Ea,Ea)),Ea,Ea)),wa.openingElement.pos,Ea);Rn=It(Gt(Gt([],Rn.slice(0,Rn.length-1),!0),[Ki],!1),Rn.pos,Ea),$n=wa.closingElement}else $n=od(Ct,Ce),C(Ct.tagName,$n.tagName)||(Gr&&e.isJsxOpeningElement(Gr)&&C($n.tagName,Gr.tagName)?be(Ct.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(z,Ct.tagName)):be($n.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(z,Ct.tagName)));Xt=tt(R.createJsxElement(Ct,Rn,$n),at)}else Ct.kind===282?Xt=tt(R.createJsxFragment(Ct,ad(Ct),wm(Ce)),at):(e.Debug.assert(Ct.kind===278),Xt=Ct);if(Ce&&me()===29){var Zo=typeof Tr>"u"?Xt.pos:Tr,$i=xt(function(){return Sf(!0,Zo)});if($i){var Jo=xn(27,!1);return e.setTextRangePosWidth(Jo,$i.pos,0),je(e.skipTrivia(z,Zo),$i.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),tt(R.createBinaryExpression(Xt,Jo,$i),at)}}return Xt}function am(){var Ce=$(),Tr=R.createJsxText(d.getTokenValue(),ve===12);return ve=d.scanJsxToken(),tt(Tr,Ce)}function Hd(Ce,Tr){switch(Tr){case 1:if(e.isJsxOpeningFragment(Ce))be(Ce,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Gr=Ce.tagName,at=e.skipTrivia(z,Gr.pos);je(at,Gr.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(z,Ce.tagName))}return;case 30:case 7:return;case 11:case 12:return am();case 18:return Pu(!1);case 29:return Sf(!1,void 0,Ce);default:return e.Debug.assertNever(Tr)}}function ad(Ce){var Tr=[],Gr=$(),at=qe;for(qe|=16384;;){var Ct=Hd(Ce,ve=d.reScanJsxToken());if(!Ct||(Tr.push(Ct),e.isJsxOpeningElement(Ce)&&(Ct==null?void 0:Ct.kind)===277&&!C(Ct.openingElement.tagName,Ct.closingElement.tagName)&&C(Ce.tagName,Ct.closingElement.tagName)))break}return qe=at,It(Tr,Gr)}function id(){var Ce=$();return tt(R.createJsxAttributes(Vn(13,Js)),Ce)}function wu(Ce){var Tr=$();if(_t(29),me()===31)return gt(),tt(R.createJsxOpeningFragment(),Tr);var Gr=Mu(),at=Se&131072?void 0:gn(),Ct=id(),Xt;return me()===31?(gt(),Xt=R.createJsxOpeningElement(Gr,at,Ct)):(_t(43),_t(31,void 0,!1)&&(Ce?fr():gt()),Xt=R.createJsxSelfClosingElement(Gr,at,Ct)),tt(Xt,Tr)}function Mu(){var Ce=$();zr();for(var Tr=me()===108?dn():va();en(24);)Tr=tt(R.createPropertyAccessExpression(Tr,ei(!0,!1)),Ce);return Tr}function Pu(Ce){var Tr=$();if(_t(18)){var Gr,at;return me()!==19&&(Gr=St(25),at=Ms()),Ce?_t(19):_t(19,void 0,!1)&>(),tt(R.createJsxExpression(Gr,at),Tr)}}function Js(){if(me()===18)return vc();zr();var Ce=$();return tt(R.createJsxAttribute(va(),me()!==63?void 0:vt()===10?Ro():Pu(!0)),Ce)}function vc(){var Ce=$();_t(18),_t(25);var Tr=Ms();return _t(19),tt(R.createJsxSpreadAttribute(Tr),Ce)}function od(Ce,Tr){var Gr=$();_t(30);var at=Mu();return _t(31,void 0,!1)&&(Tr||!C(Ce.tagName,at)?fr():gt()),tt(R.createJsxClosingElement(at),Gr)}function wm(Ce){var Tr=$();return _t(30),e.tokenIsIdentifierOrKeyword(me())&&be(Mu(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),_t(31,void 0,!1)&&(Ce?fr():gt()),tt(R.createJsxJsxClosingFragment(),Tr)}function sd(){var Ce=$();_t(29);var Tr=_s();_t(31);var Gr=gc();return tt(R.createTypeAssertion(Tr,Gr),Ce)}function Fu(){return fr(),e.tokenIsIdentifierOrKeyword(me())||me()===22||_l()}function Mm(){return me()===28&&ht(Fu)}function hc(Ce){if(Ce.flags&32)return!0;if(e.isNonNullExpression(Ce)){for(var Tr=Ce.expression;e.isNonNullExpression(Tr)&&!(Tr.flags&32);)Tr=Tr.expression;if(Tr.flags&32){for(;e.isNonNullExpression(Ce);)Ce.flags|=32,Ce=Ce.expression;return!0}}return!1}function Fl(Ce,Tr,Gr){var at=ei(!0,!0),Ct=Gr||hc(Tr),Xt=Ct?R.createPropertyAccessChain(Tr,Gr,at):R.createPropertyAccessExpression(Tr,at);return Ct&&e.isPrivateIdentifier(Xt.name)&&be(Xt.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),tt(Xt,Ce)}function Dl(Ce,Tr,Gr){var at;if(me()===23)at=xn(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Ct=Lr(Ms);e.isStringOrNumericLiteralLike(Ct)&&(Ct.text=Qn(Ct.text)),at=Ct}_t(23);var Xt=Gr||hc(Tr)?R.createElementAccessChain(Tr,Gr,at):R.createElementAccessExpression(Tr,at);return tt(Xt,Ce)}function Gl(Ce,Tr,Gr){for(;;){var at=void 0,Ct=!1;if(Gr&&Mm()?(at=qt(28),Ct=e.tokenIsIdentifierOrKeyword(me())):Ct=en(24),Ct){Tr=Fl(Ce,Tr,at);continue}if(!at&&me()===53&&!d.hasPrecedingLineBreak()){fr(),Tr=tt(R.createNonNullExpression(Tr),Ce);continue}if((at||!sr())&&en(22)){Tr=Dl(Ce,Tr,at);continue}if(_l()){Tr=xp(Ce,Tr,at,void 0);continue}return Tr}}function _l(){return me()===14||me()===15}function xp(Ce,Tr,Gr,at){var Ct=R.createTaggedTemplateExpression(Tr,at,me()===14?(rr(),Ro()):xi(!0));return(Gr||Tr.flags&32)&&(Ct.flags|=32),Ct.questionDotToken=Gr,tt(Ct,Ce)}function Df(Ce,Tr){for(;;){Tr=Gl(Ce,Tr,!0);var Gr=St(28);if(!(Se&131072)&&(me()===29||me()===47)){var at=xt(ld);if(at){if(_l()){Tr=xp(Ce,Tr,Gr,at);continue}var Ct=Jd(),Xt=Gr||hc(Tr)?R.createCallChain(Tr,Gr,at,Ct):R.createCallExpression(Tr,at,Ct);Tr=tt(Xt,Ce);continue}}else if(me()===20){var Ct=Jd(),Xt=Gr||hc(Tr)?R.createCallChain(Tr,Gr,void 0,Ct):R.createCallExpression(Tr,void 0,Ct);Tr=tt(Xt,Ce);continue}if(Gr){var Rn=xn(79,!1,e.Diagnostics.Identifier_expected);Tr=tt(R.createPropertyAccessChain(Tr,Gr,Rn),Ce)}break}return Tr}function Jd(){_t(20);var Ce=$a(11,Ql);return _t(21),Ce}function ld(){if(!(Se&131072)&&Ir()===29){fr();var Ce=$a(20,_s);if(_t(31))return Ce&&go()?Ce:void 0}}function go(){switch(me()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}function Ll(){switch(me()){case 8:case 9:case 10:case 14:return Ro();case 108:case 106:case 104:case 110:case 95:return dn();case 20:return Mo();case 22:return cd();case 18:return fs();case 131:if(!ht(pd))break;return ii();case 84:return Wu();case 98:return ii();case 103:return ud();case 43:case 68:if(yt()===13)return Ro();break;case 15:return xi(!1);case 80:return Hi()}return mi(e.Diagnostics.Expression_expected)}function Mo(){var Ce=$(),Tr=Ne();_t(20);var Gr=Lr(Ms);return _t(21),Me(tt(R.createParenthesizedExpression(Gr),Ce),Tr)}function gs(){var Ce=$();_t(25);var Tr=Zn();return tt(R.createSpreadElement(Tr),Ce)}function im(){return me()===25?gs():me()===27?tt(R.createOmittedExpression(),$()):Zn()}function Ql(){return Wr(h,im)}function cd(){var Ce=$();_t(22);var Tr=d.hasPrecedingLineBreak(),Gr=$a(15,im);return _t(23),tt(R.createArrayLiteralExpression(Gr,Tr),Ce)}function An(){var Ce=$(),Tr=Ne();if(St(25)){var Gr=Zn();return Me(tt(R.createSpreadAssignment(Gr),Ce),Tr)}var at=tf(),Ct=Ec();if(to(136))return pu(Ce,Tr,at,Ct,171);if(to(148))return pu(Ce,Tr,at,Ct,172);var Xt=St(41),Rn=Qt(),$n=Mi(),wa=St(57),Ea=St(53);if(Xt||me()===20||me()===29)return Yd(Ce,Tr,at,Ct,Xt,$n,wa,Ea);var Ki,Zo=Rn&&me()!==58;if(Zo){var $i=St(63),Jo=$i?Lr(Zn):void 0;Ki=R.createShorthandPropertyAssignment($n,Jo),Ki.equalsToken=$i}else{_t(58);var vs=Lr(Zn);Ki=R.createPropertyAssignment($n,vs)}return Ki.decorators=at,Ki.modifiers=Ct,Ki.questionToken=wa,Ki.exclamationToken=Ea,Me(tt(Ki,Ce),Tr)}function fs(){var Ce=$(),Tr=d.getTokenPos();_t(18);var Gr=d.hasPrecedingLineBreak(),at=$a(12,An,!0);if(!_t(19)){var Ct=e.lastOrUndefined(Pe);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Y,Tr,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return tt(R.createObjectLiteralExpression(at,Gr),Ce)}function ii(){var Ce=sr();Ve(!1);var Tr=$(),Gr=Ne(),at=Ec();_t(98);var Ct=St(41),Xt=Ct?1:0,Rn=e.some(at,e.isAsyncModifier)?2:0,$n=Xt&&Rn?yn(wc):Xt?lt(wc):Rn?Rt(wc):wc(),wa=xo(),Ea=Hs(Xt|Rn),Ki=no(58,!1),Zo=Ln(Xt|Rn);Ve(Ce);var $i=R.createFunctionExpression(at,Ct,$n,wa,Ea,Ki,Zo);return Me(tt($i,Tr),Gr)}function wc(){return wt()?Ci():void 0}function ud(){var Ce=$();if(_t(103),en(24)){var Tr=va();return tt(R.createMetaProperty(103,Tr),Ce)}for(var Gr=$(),at=Ll(),Ct;;){at=Gl(Gr,at,!1),Ct=xt(ld),_l()&&(e.Debug.assert(!!Ct,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),at=xp(Gr,at,void 0,Ct),Ct=void 0);break}var Xt;return me()===20?Xt=Jd():Ct&&je(Ce,d.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),tt(R.createNewExpression(at,Ct,Xt),Ce)}function cl(Ce,Tr){var Gr=$(),at=Ne(),Ct=d.getTokenPos();if(_t(18,Tr)||Ce){var Xt=d.hasPrecedingLineBreak(),Rn=Vn(1,Ga);if(!_t(19)){var $n=e.lastOrUndefined(Pe);$n&&$n.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo($n,e.createDetachedDiagnostic(Y,Ct,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var wa=Me(tt(R.createBlock(Rn,Xt),Gr),at);return me()===63&&(ir(e.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses),fr()),wa}else{var Rn=Do();return Me(tt(R.createBlock(Rn,void 0),Gr),at)}}function Ln(Ce,Tr){var Gr=ar();kr(!!(Ce&1));var at=he();ur(!!(Ce&2));var Ct=Le;Le=!1;var Xt=sr();Xt&&Ve(!1);var Rn=cl(!!(Ce&16),Tr);return Xt&&Ve(!0),Le=Ct,kr(Gr),ur(at),Rn}function Pm(){var Ce=$(),Tr=Ne();return _t(26),Me(tt(R.createEmptyStatement(),Ce),Tr)}function ts(){var Ce=$(),Tr=Ne();_t(99),_t(20);var Gr=Lr(Ms);_t(21);var at=Ga(),Ct=en(91)?Ga():void 0;return Me(tt(R.createIfStatement(Gr,at,Ct),Ce),Tr)}function ds(){var Ce=$(),Tr=Ne();_t(90);var Gr=Ga();_t(115),_t(20);var at=Lr(Ms);return _t(21),en(26),Me(tt(R.createDoStatement(Gr,at),Ce),Tr)}function Mc(){var Ce=$(),Tr=Ne();_t(115),_t(20);var Gr=Lr(Ms);_t(21);var at=Ga();return Me(tt(R.createWhileStatement(Gr,at),Ce),Tr)}function Ks(){var Ce=$(),Tr=Ne();_t(97);var Gr=St(132);_t(20);var at;me()!==26&&(me()===113||me()===119||me()===85?at=Ul(!0):at=qr(Ms));var Ct;if(Gr?_t(159):en(159)){var Xt=Lr(Zn);_t(21),Ct=R.createForOfStatement(Gr,at,Xt,Ga())}else if(en(101)){var Xt=Lr(Ms);_t(21),Ct=R.createForInStatement(at,Xt,Ga())}else{_t(26);var Rn=me()!==26&&me()!==21?Lr(Ms):void 0;_t(26);var $n=me()!==21?Lr(Ms):void 0;_t(21),Ct=R.createForStatement(at,Rn,$n,Ga())}return Me(tt(Ct,Ce),Tr)}function Lf(Ce){var Tr=$(),Gr=Ne();_t(Ce===245?81:86);var at=pt()?void 0:mi();Mt();var Ct=Ce===245?R.createBreakStatement(at):R.createContinueStatement(at);return Me(tt(Ct,Tr),Gr)}function Ps(){var Ce=$(),Tr=Ne();_t(105);var Gr=pt()?void 0:Lr(Ms);return Mt(),Me(tt(R.createReturnStatement(Gr),Ce),Tr)}function Pc(){var Ce=$(),Tr=Ne();_t(116),_t(20);var Gr=Lr(Ms);_t(21);var at=He(16777216,Ga);return Me(tt(R.createWithStatement(Gr,at),Ce),Tr)}function $u(){var Ce=$();_t(82);var Tr=Lr(Ms);_t(58);var Gr=Vn(3,Ga);return tt(R.createCaseClause(Tr,Gr),Ce)}function Af(){var Ce=$();_t(88),_t(58);var Tr=Vn(3,Ga);return tt(R.createDefaultClause(Tr),Ce)}function yc(){return me()===82?$u():Af()}function Cf(){var Ce=$();_t(18);var Tr=Vn(2,yc);return _t(19),tt(R.createCaseBlock(Tr),Ce)}function ul(){var Ce=$(),Tr=Ne();_t(107),_t(20);var Gr=Lr(Ms);_t(21);var at=Cf();return Me(tt(R.createSwitchStatement(Gr,at),Ce),Tr)}function om(){var Ce=$(),Tr=Ne();_t(109);var Gr=d.hasPrecedingLineBreak()?void 0:Lr(Ms);return Gr===void 0&&(De++,Gr=tt(R.createIdentifier(""),$())),mt()||sa(Gr),Me(tt(R.createThrowStatement(Gr),Ce),Tr)}function Gu(){var Ce=$(),Tr=Ne();_t(111);var Gr=cl(!1),at=me()===83?xf():void 0,Ct;return(!at||me()===96)&&(_t(96),Ct=cl(!1)),Me(tt(R.createTryStatement(Gr,at,Ct),Ce),Tr)}function xf(){var Ce=$();_t(83);var Tr;en(20)?(Tr=Ho(),_t(21)):Tr=void 0;var Gr=cl(!1);return tt(R.createCatchClause(Tr,Gr),Ce)}function fd(){var Ce=$(),Tr=Ne();return _t(87),Mt(),Me(tt(R.createDebuggerStatement(),Ce),Tr)}function dd(){var Ce=$(),Tr=Ne(),Gr,at=me()===20,Ct=Lr(Ms);return e.isIdentifier(Ct)&&en(58)?Gr=R.createLabeledStatement(Ct,Ga()):(mt()||sa(Ct),Gr=R.createExpressionStatement(Ct),at&&(Tr=!1)),Me(tt(Gr,Ce),Tr)}function If(){return fr(),e.tokenIsIdentifierOrKeyword(me())&&!d.hasPrecedingLineBreak()}function bc(){return fr(),me()===84&&!d.hasPrecedingLineBreak()}function pd(){return fr(),me()===98&&!d.hasPrecedingLineBreak()}function Nf(){return fr(),(e.tokenIsIdentifierOrKeyword(me())||me()===8||me()===9||me()===10)&&!d.hasPrecedingLineBreak()}function Bu(){for(;;)switch(me()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return Rs();case 141:case 142:return ef();case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(fr(),d.hasPrecedingLineBreak())return!1;continue;case 156:return fr(),me()===18||me()===79||me()===93;case 100:return fr(),me()===10||me()===41||me()===18||e.tokenIsIdentifierOrKeyword(me());case 93:var Ce=fr();if(Ce===151&&(Ce=ht(fr)),Ce===63||Ce===41||Ce===18||Ce===88||Ce===127)return!0;continue;case 124:fr();continue;default:return!1}}function zs(){return ht(Bu)}function Bl(){switch(me()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return!0;case 100:return zs()||ht(pn);case 85:case 93:return zs();case 131:case 135:case 118:case 141:case 142:case 151:case 156:return!0;case 123:case 121:case 122:case 124:case 144:return zs()||!ht(If);default:return ml()}}function zc(){return fr(),wt()||me()===18||me()===22}function md(){return ht(zc)}function Ga(){switch(me()){case 26:return Pm();case 18:return cl(!1);case 113:return ac($(),Ne(),void 0,void 0);case 119:if(md())return ac($(),Ne(),void 0,void 0);break;case 98:return Rf($(),Ne(),void 0,void 0);case 84:return Yc($(),Ne(),void 0,void 0);case 99:return ts();case 90:return ds();case 115:return Mc();case 97:return Ks();case 86:return Lf(244);case 81:return Lf(245);case 105:return Ps();case 116:return Pc();case 107:return ul();case 109:return om();case 111:case 83:case 96:return Gu();case 87:return fd();case 59:return Ss();case 131:case 118:case 151:case 141:case 142:case 135:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 144:case 156:if(zs())return Ss();break}return dd()}function wn(Ce){return Ce.kind===135}function Ss(){var Ce=e.some(ht(function(){return tf(),Ec()}),wn);if(Ce){var Tr=Kd();if(Tr)return Tr}var Gr=$(),at=Ne(),Ct=tf(),Xt=Ec();if(Ce){for(var Rn=0,$n=Xt;Rn<$n.length;Rn++){var wa=$n[Rn];wa.flags|=8388608}return He(8388608,function(){return tc(Gr,at,Ct,Xt)})}else return tc(Gr,at,Ct,Xt)}function Kd(){return He(8388608,function(){var Ce=ie(qe);if(Ce)return _r(Ce)})}function tc(Ce,Tr,Gr,at){switch(me()){case 113:case 119:case 85:return ac(Ce,Tr,Gr,at);case 98:return Rf(Ce,Tr,Gr,at);case 84:return Yc(Ce,Tr,Gr,at);case 118:return rp(Ce,Tr,Gr,at);case 151:return Fc(Ce,Tr,Gr,at);case 92:return Fm(Ce,Tr,Gr,at);case 156:case 141:case 142:return Np(Ce,Tr,Gr,at);case 100:return Ff(Ce,Tr,Gr,at);case 93:switch(fr(),me()){case 88:case 63:return eu(Ce,Tr,Gr,at);case 127:return Zc(Ce,Tr,Gr,at);default:return $c(Ce,Tr,Gr,at)}default:if(Gr||at){var Ct=xn(275,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(Ct,Ce),Ct.decorators=Gr,Ct.modifiers=at,Ct}return}}function ef(){return fr(),!d.hasPrecedingLineBreak()&&(Qt()||me()===10)}function qc(Ce,Tr){if(me()!==18&&pt()){Mt();return}return Ln(Ce,Tr)}function zd(){var Ce=$();if(me()===27)return tt(R.createOmittedExpression(),Ce);var Tr=St(25),Gr=$s(),at=Ja();return tt(R.createBindingElement(Tr,void 0,Gr,at),Ce)}function Al(){var Ce=$(),Tr=St(25),Gr=wt(),at=Mi(),Ct;Gr&&me()!==58?(Ct=at,at=void 0):(_t(58),Ct=$s());var Xt=Ja();return tt(R.createBindingElement(Tr,at,Ct,Xt),Ce)}function nc(){var Ce=$();_t(18);var Tr=$a(9,Al);return _t(19),tt(R.createObjectBindingPattern(Tr),Ce)}function kf(){var Ce=$();_t(22);var Tr=$a(10,zd);return _t(23),tt(R.createArrayBindingPattern(Tr),Ce)}function rf(){return me()===18||me()===22||me()===80||wt()}function $s(Ce){return me()===22?kf():me()===18?nc():Ci(Ce)}function qd(){return Ho(!0)}function Ho(Ce){var Tr=$(),Gr=Ne(),at=$s(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations),Ct;Ce&&at.kind===79&&me()===53&&!d.hasPrecedingLineBreak()&&(Ct=dn());var Xt=Kc(),Rn=Dp(me())?void 0:Ja(),$n=R.createVariableDeclaration(at,Ct,Xt,Rn);return Me(tt($n,Tr),Gr)}function Ul(Ce){var Tr=$(),Gr=0;switch(me()){case 113:break;case 119:Gr|=1;break;case 85:Gr|=2;break;default:e.Debug.fail()}fr();var at;if(me()===159&&ht(Xd))at=Do();else{var Ct=wr();pr(Ce),at=$a(8,Ce?Ho:qd),pr(Ct)}return tt(R.createVariableDeclarationList(at,Gr),Tr)}function Xd(){return Po()&&fr()===21}function ac(Ce,Tr,Gr,at){var Ct=Ul(!1);Mt();var Xt=R.createVariableStatement(at,Ct);return Xt.decorators=Gr,Me(tt(Xt,Ce),Tr)}function Rf(Ce,Tr,Gr,at){var Ct=he(),Xt=e.modifiersToFlags(at);_t(98);var Rn=St(41),$n=Xt&512?wc():Ci(),wa=Rn?1:0,Ea=Xt&256?2:0,Ki=xo();Xt&1&&ur(!0);var Zo=Hs(wa|Ea),$i=no(58,!1),Jo=qc(wa|Ea,e.Diagnostics.or_expected);ur(Ct);var vs=R.createFunctionDeclaration(Gr,at,Rn,$n,Ki,Zo,$i,Jo);return Me(tt(vs,Ce),Tr)}function Uu(){if(me()===134)return _t(134);if(me()===10&&ht(fr)===20)return xt(function(){var Ce=Ro();return Ce.text==="constructor"?Ce:void 0})}function _d(Ce,Tr,Gr,at){return xt(function(){if(Uu()){var Ct=xo(),Xt=Hs(0),Rn=no(58,!1),$n=qc(0,e.Diagnostics.or_expected),wa=R.createConstructorDeclaration(Gr,at,Xt,$n);return wa.typeParameters=Ct,wa.type=Rn,Me(tt(wa,Ce),Tr)}})}function Yd(Ce,Tr,Gr,at,Ct,Xt,Rn,$n,wa){var Ea=Ct?1:0,Ki=e.some(at,e.isAsyncModifier)?2:0,Zo=xo(),$i=Hs(Ea|Ki),Jo=no(58,!1),vs=qc(Ea|Ki,wa),gl=R.createMethodDeclaration(Gr,at,Ct,Xt,Rn,Zo,$i,Jo,vs);return gl.exclamationToken=$n,Me(tt(gl,Ce),Tr)}function Cl(Ce,Tr,Gr,at,Ct,Xt){var Rn=!Xt&&!d.hasPrecedingLineBreak()?St(53):void 0,$n=Kc(),wa=Wr(45056,Ja);na(Ct,$n,wa);var Ea=R.createPropertyDeclaration(Gr,at,Ct,Xt||Rn,$n,wa);return Me(tt(Ea,Ce),Tr)}function ns(Ce,Tr,Gr,at){var Ct=St(41),Xt=Mi(),Rn=St(57);return Ct||me()===20||me()===29?Yd(Ce,Tr,Gr,at,Ct,Xt,Rn,void 0,e.Diagnostics.or_expected):Cl(Ce,Tr,Gr,at,Xt,Rn)}function pu(Ce,Tr,Gr,at,Ct){var Xt=Mi(),Rn=xo(),$n=Hs(0),wa=no(58,!1),Ea=qc(0),Ki=Ct===171?R.createGetAccessorDeclaration(Gr,at,Xt,$n,wa,Ea):R.createSetAccessorDeclaration(Gr,at,Xt,$n,Ea);return Ki.typeParameters=Rn,wa&&Ki.kind===172&&(Ki.type=wa),Me(tt(Ki,Ce),Tr)}function Qd(){var Ce;if(me()===59)return!0;for(;e.isModifierKind(me());){if(Ce=me(),e.isClassMemberModifier(Ce))return!0;fr()}if(me()===41||(yi()&&(Ce=me(),fr()),me()===22))return!0;if(Ce!==void 0){if(!e.isKeyword(Ce)||Ce===148||Ce===136)return!0;switch(me()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return pt()}}return!1}function ic(Ce,Tr,Gr,at){qt(124);var Ct=Of();return Me(tt(R.createClassStaticBlockDeclaration(Gr,at,Ct),Ce),Tr)}function Of(){var Ce=ar(),Tr=he();kr(!1),ur(!0);var Gr=cl(!1);return kr(Ce),ur(Tr),Gr}function Vu(){if(he()&&me()===132){var Ce=$(),Tr=mi(e.Diagnostics.Expression_expected);fr();var Gr=Gl(Ce,Tr,!0);return Df(Ce,Gr)}return Tf()}function Zd(){var Ce=$();if(en(59)){var Tr=rt(Vu);return tt(R.createDecorator(Tr),Ce)}}function tf(){for(var Ce=$(),Tr,Gr;Gr=Zd();)Tr=e.append(Tr,Gr);return Tr&&It(Tr,Ce)}function wf(Ce,Tr,Gr){var at=$(),Ct=me();if(me()===85&&Ce){if(!xt(ko))return}else{if(Tr&&me()===124&&ht(vd))return;if(Gr&&me()===124)return;if(!Qo())return}return tt(R.createToken(Ct),at)}function Ec(Ce,Tr){for(var Gr=$(),at,Ct,Xt=!1;Ct=wf(Ce,Tr,Xt);)Ct.kind===124&&(Xt=!0),at=e.append(at,Ct);return at&&It(at,Gr)}function Xc(){var Ce;if(me()===131){var Tr=$();fr();var Gr=tt(R.createToken(131),Tr);Ce=It([Gr],Tr)}return Ce}function nf(){var Ce=$();if(me()===26)return fr(),tt(R.createSemicolonClassElement(),Ce);var Tr=Ne(),Gr=tf(),at=Ec(!0,!0);if(me()===124&&ht(vd))return ic(Ce,Tr,Gr,at);if(to(136))return pu(Ce,Tr,Gr,at,171);if(to(148))return pu(Ce,Tr,Gr,at,172);if(me()===134||me()===10){var Ct=_d(Ce,Tr,Gr,at);if(Ct)return Ct}if(La())return pc(Ce,Tr,Gr,at);if(e.tokenIsIdentifierOrKeyword(me())||me()===10||me()===8||me()===41||me()===22){var Xt=e.some(at,wn);if(Xt){for(var Rn=0,$n=at;Rn<$n.length;Rn++){var wa=$n[Rn];wa.flags|=8388608}return He(8388608,function(){return ns(Ce,Tr,Gr,at)})}else return ns(Ce,Tr,Gr,at)}if(Gr||at){var Ea=xn(79,!0,e.Diagnostics.Declaration_expected);return Cl(Ce,Tr,Gr,at,Ea,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function Wu(){return $d($(),Ne(),void 0,void 0,225)}function Yc(Ce,Tr,Gr,at){return $d(Ce,Tr,Gr,at,256)}function $d(Ce,Tr,Gr,at,Ct){var Xt=he();_t(84);var Rn=Tc(),$n=xo();e.some(at,e.isExportModifier)&&ur(!0);var wa=sm(),Ea;_t(18)?(Ea=ep(),_t(19)):Ea=Do(),ur(Xt);var Ki=Ct===256?R.createClassDeclaration(Gr,at,Rn,$n,wa,Ea):R.createClassExpression(Gr,at,Rn,$n,wa,Ea);return Me(tt(Ki,Ce),Tr)}function Tc(){return wt()&&!ju()?Oa(wt()):void 0}function ju(){return me()===117&&ht(Fo)}function sm(){if(Mf())return Vn(22,Wa)}function Wa(){var Ce=$(),Tr=me();e.Debug.assert(Tr===94||Tr===117),fr();var Gr=$a(7,mu);return tt(R.createHeritageClause(Tr,Gr),Ce)}function mu(){var Ce=$(),Tr=Tf(),Gr=gn();return tt(R.createExpressionWithTypeArguments(Tr,Gr),Ce)}function gn(){return me()===29?bt(20,_s,29,31):void 0}function Mf(){return me()===94||me()===117}function ep(){return Vn(5,nf)}function rp(Ce,Tr,Gr,at){_t(118);var Ct=mi(),Xt=xo(),Rn=sm(),$n=kn(),wa=R.createInterfaceDeclaration(Gr,at,Ct,Xt,Rn,$n);return Me(tt(wa,Ce),Tr)}function Fc(Ce,Tr,Gr,at){_t(151);var Ct=mi(),Xt=xo();_t(63);var Rn=me()===138&&xt(Ta)||_s();Mt();var $n=R.createTypeAliasDeclaration(Gr,at,Ct,Xt,Rn);return Me(tt($n,Ce),Tr)}function tp(){var Ce=$(),Tr=Ne(),Gr=Mi(),at=Lr(Ja);return Me(tt(R.createEnumMember(Gr,at),Ce),Tr)}function Fm(Ce,Tr,Gr,at){_t(92);var Ct=mi(),Xt;_t(18)?(Xt=vn(function(){return $a(6,tp)}),_t(19)):Xt=Do();var Rn=R.createEnumDeclaration(Gr,at,Ct,Xt);return Me(tt(Rn,Ce),Tr)}function Qc(){var Ce=$(),Tr;return _t(18)?(Tr=Vn(1,Ga),_t(19)):Tr=Do(),tt(R.createModuleBlock(Tr),Ce)}function Ip(Ce,Tr,Gr,at,Ct){var Xt=Ct&16,Rn=mi(),$n=en(24)?Ip($(),!1,void 0,void 0,4|Xt):Qc(),wa=R.createModuleDeclaration(Gr,at,Rn,$n,Ct);return Me(tt(wa,Ce),Tr)}function gd(Ce,Tr,Gr,at){var Ct=0,Xt;me()===156?(Xt=mi(),Ct|=1024):(Xt=Ro(),Xt.text=Qn(Xt.text));var Rn;me()===18?Rn=Qc():Mt();var $n=R.createModuleDeclaration(Gr,at,Xt,Rn,Ct);return Me(tt($n,Ce),Tr)}function Np(Ce,Tr,Gr,at){var Ct=0;if(me()===156)return gd(Ce,Tr,Gr,at);if(en(142))Ct|=16;else if(_t(141),me()===10)return gd(Ce,Tr,Gr,at);return Ip(Ce,Tr,Gr,at,Ct)}function Vl(){return me()===145&&ht(Pf)}function Pf(){return fr()===20}function vd(){return fr()===18}function Gc(){return fr()===43}function Zc(Ce,Tr,Gr,at){_t(127),_t(142);var Ct=mi();Mt();var Xt=R.createNamespaceExportDeclaration(Ct);return Xt.decorators=Gr,Xt.modifiers=at,Me(tt(Xt,Ce),Tr)}function Ff(Ce,Tr,Gr,at){_t(100);var Ct=d.getStartPos(),Xt;Qt()&&(Xt=mi());var Rn=!1;if(me()!==155&&(Xt==null?void 0:Xt.escapedText)==="type"&&(Qt()||nt())&&(Rn=!0,Xt=Qt()?mi():void 0),Xt&&!Ot())return fa(Ce,Tr,Gr,at,Xt,Rn);var $n;(Xt||me()===41||me()===18)&&($n=Ra(Xt,Ct,Rn),_t(155));var wa=Na(),Ea;me()===129&&!d.hasPrecedingLineBreak()&&(Ea=Qe()),Mt();var Ki=R.createImportDeclaration(Gr,at,$n,wa,Ea);return Me(tt(Ki,Ce),Tr)}function T(){var Ce=$(),Tr=e.tokenIsIdentifierOrKeyword(me())?va():Mr(10);_t(58);var Gr=Mr(10);return tt(R.createAssertEntry(Tr,Gr),Ce)}function Qe(){var Ce=$();_t(129);var Tr=d.getTokenPos();if(_t(18)){var Gr=d.hasPrecedingLineBreak(),at=$a(24,T,!0);if(!_t(19)){var Ct=e.lastOrUndefined(Pe);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Y,Tr,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return tt(R.createAssertClause(at,Gr),Ce)}else{var at=It([],$(),void 0,!1);return tt(R.createAssertClause(at,!1),Ce)}}function nt(){return me()===41||me()===18}function Ot(){return me()===27||me()===155}function fa(Ce,Tr,Gr,at,Ct,Xt){_t(63);var Rn=ia();Mt();var $n=R.createImportEqualsDeclaration(Gr,at,Xt,Ct,Rn),wa=Me(tt($n,Ce),Tr);return wa}function Ra(Ce,Tr,Gr){var at;return(!Ce||en(27))&&(at=me()===41?Ua():Bo(268)),tt(R.createImportClause(Gr,Ce,at),Tr)}function ia(){return Vl()?ti():Pn(!1)}function ti(){var Ce=$();_t(145),_t(20);var Tr=Na();return _t(21),tt(R.createExternalModuleReference(Tr),Ce)}function Na(){if(me()===10){var Ce=Ro();return Ce.text=Qn(Ce.text),Ce}else return Ms()}function Ua(){var Ce=$();_t(41),_t(127);var Tr=mi();return tt(R.createNamespaceImport(Tr),Ce)}function Bo(Ce){var Tr=$(),Gr=Ce===268?R.createNamedImports(bt(23,ss,18,19)):R.createNamedExports(bt(23,fl,18,19));return tt(Gr,Tr)}function fl(){return os(274)}function ss(){return os(269)}function os(Ce){var Tr=$(),Gr=e.isKeyword(me())&&!Qt(),at=d.getTokenPos(),Ct=d.getTextPos(),Xt=!1,Rn,$n=!0,wa=va();if(wa.escapedText==="type")if(me()===127){var Ea=va();if(me()===127){var Ki=va();e.tokenIsIdentifierOrKeyword(me())?(Xt=!0,Rn=Ea,wa=$i(),$n=!1):(Rn=wa,wa=Ki,$n=!1)}else e.tokenIsIdentifierOrKeyword(me())?(Rn=wa,$n=!1,wa=$i()):(Xt=!0,wa=Ea)}else e.tokenIsIdentifierOrKeyword(me())&&(Xt=!0,wa=$i());$n&&me()===127&&(Rn=wa,_t(127),wa=$i()),Ce===269&&Gr&&je(at,Ct,e.Diagnostics.Identifier_expected);var Zo=Ce===269?R.createImportSpecifier(Xt,Rn,wa):R.createExportSpecifier(Xt,Rn,wa);return tt(Zo,Tr);function $i(){return Gr=e.isKeyword(me())&&!Qt(),at=d.getTokenPos(),Ct=d.getTextPos(),va()}}function Wl(Ce){return tt(R.createNamespaceExport(va()),Ce)}function $c(Ce,Tr,Gr,at){var Ct=he();ur(!0);var Xt,Rn,$n,wa=en(151),Ea=$();en(41)?(en(127)&&(Xt=Wl(Ea)),_t(155),Rn=Na()):(Xt=Bo(272),(me()===155||me()===10&&!d.hasPrecedingLineBreak())&&(_t(155),Rn=Na())),Rn&&me()===129&&!d.hasPrecedingLineBreak()&&($n=Qe()),Mt(),ur(Ct);var Ki=R.createExportDeclaration(Gr,at,wa,Xt,Rn,$n);return Me(tt(Ki,Ce),Tr)}function eu(Ce,Tr,Gr,at){var Ct=he();ur(!0);var Xt;en(63)?Xt=!0:_t(88);var Rn=Zn();Mt(),ur(Ct);var $n=R.createExportAssignment(Gr,at,Xt,Rn);return Me(tt($n,Ce),Tr)}function hd(Ce){Ce.externalModuleIndicator=e.forEach(Ce.statements,lm)||af(Ce)}function lm(Ce){return cm(Ce,93)||e.isImportEqualsDeclaration(Ce)&&e.isExternalModuleReference(Ce.moduleReference)||e.isImportDeclaration(Ce)||e.isExportAssignment(Ce)||e.isExportDeclaration(Ce)?Ce:void 0}function af(Ce){return Ce.flags&2097152?Gf(Ce):void 0}function Gf(Ce){return yd(Ce)?Ce:K(Ce,Gf)}function cm(Ce,Tr){return e.some(Ce.modifiers,function(Gr){return Gr.kind===Tr})}function yd(Ce){return e.isMetaProperty(Ce)&&Ce.keywordToken===100&&Ce.name.escapedText==="meta"}var jl;(function(Ce){Ce[Ce.SourceElements=0]="SourceElements",Ce[Ce.BlockStatements=1]="BlockStatements",Ce[Ce.SwitchClauses=2]="SwitchClauses",Ce[Ce.SwitchClauseStatements=3]="SwitchClauseStatements",Ce[Ce.TypeMembers=4]="TypeMembers",Ce[Ce.ClassMembers=5]="ClassMembers",Ce[Ce.EnumMembers=6]="EnumMembers",Ce[Ce.HeritageClauseElement=7]="HeritageClauseElement",Ce[Ce.VariableDeclarations=8]="VariableDeclarations",Ce[Ce.ObjectBindingElements=9]="ObjectBindingElements",Ce[Ce.ArrayBindingElements=10]="ArrayBindingElements",Ce[Ce.ArgumentExpressions=11]="ArgumentExpressions",Ce[Ce.ObjectLiteralMembers=12]="ObjectLiteralMembers",Ce[Ce.JsxAttributes=13]="JsxAttributes",Ce[Ce.JsxChildren=14]="JsxChildren",Ce[Ce.ArrayLiteralMembers=15]="ArrayLiteralMembers",Ce[Ce.Parameters=16]="Parameters",Ce[Ce.JSDocParameters=17]="JSDocParameters",Ce[Ce.RestProperties=18]="RestProperties",Ce[Ce.TypeParameters=19]="TypeParameters",Ce[Ce.TypeArguments=20]="TypeArguments",Ce[Ce.TupleElementTypes=21]="TupleElementTypes",Ce[Ce.HeritageClauses=22]="HeritageClauses",Ce[Ce.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",Ce[Ce.AssertEntries=24]="AssertEntries",Ce[Ce.Count=25]="Count"})(jl||(jl={}));var np;(function(Ce){Ce[Ce.False=0]="False",Ce[Ce.True=1]="True",Ce[Ce.Unknown=2]="Unknown"})(np||(np={}));var um;(function(Ce){function Tr(Ea,Ki,Zo){Cr("file.js",Ea,99,void 0,1),d.setText(Ea,Ki,Zo),ve=d.scan();var $i=Gr(),Jo=xe("file.js",99,1,!1,[],R.createToken(1),0),vs=e.attachFileToDiagnostics(Pe,Jo);return Ie&&(Jo.jsDocDiagnostics=e.attachFileToDiagnostics(Ie,Jo)),Rr(),$i?{jsDocTypeExpression:$i,diagnostics:vs}:void 0}Ce.parseJSDocTypeExpressionForTests=Tr;function Gr(Ea){var Ki=$(),Zo=(Ea?en:_t)(18),$i=He(4194304,Ws);(!Ea||Zo)&&jn(19);var Jo=R.createJSDocTypeExpression($i);return fe(Jo),tt(Jo,Ki)}Ce.parseJSDocTypeExpression=Gr;function at(){for(var Ea=$(),Ki=en(18),Zo=$(),$i=Pn(!1);me()===80;)Or(),dr(),$i=tt(R.createJSDocMemberName($i,mi()),Zo);Ki&&jn(19);var Jo=R.createJSDocNameReference($i);return fe(Jo),tt(Jo,Ea)}Ce.parseJSDocNameReference=at;function Ct(Ea,Ki,Zo){Cr("",Ea,99,void 0,1);var $i=He(4194304,function(){return wa(Ki,Zo)}),Jo={languageVariant:0,text:Ea},vs=e.attachFileToDiagnostics(Pe,Jo);return Rr(),$i?{jsDoc:$i,diagnostics:vs}:void 0}Ce.parseIsolatedJSDocComment=Ct;function Xt(Ea,Ki,Zo){var $i=ve,Jo=Pe.length,vs=Ye,gl=He(4194304,function(){return wa(Ki,Zo)});return e.setParent(gl,Ea),Se&131072&&(Ie||(Ie=[]),Ie.push.apply(Ie,Pe)),ve=$i,Pe.length=Jo,Ye=vs,gl}Ce.parseJSDocComment=Xt;var Rn;(function(Ea){Ea[Ea.BeginningOfLine=0]="BeginningOfLine",Ea[Ea.SawAsterisk=1]="SawAsterisk",Ea[Ea.SavingComments=2]="SavingComments",Ea[Ea.SavingBackticks=3]="SavingBackticks"})(Rn||(Rn={}));var $n;(function(Ea){Ea[Ea.Property=1]="Property",Ea[Ea.Parameter=2]="Parameter",Ea[Ea.CallbackParameter=4]="CallbackParameter"})($n||($n={}));function wa(Ea,Ki){Ea===void 0&&(Ea=0);var Zo=z,$i=Ki===void 0?Zo.length:Ea+Ki;if(Ki=$i-Ea,e.Debug.assert(Ea>=0),e.Debug.assert(Ea<=$i),e.Debug.assert($i<=Zo.length),!A(Zo,Ea))return;var Jo,vs,gl,Is,xl,El=[],Hu=[];return d.scanRange(Ea+3,Ki-5,function(){var un=1,pa,Jn=Ea-(Zo.lastIndexOf(` `,Ea)+1)+4;function Sa(yl){pa||(pa=Jn),El.push(yl),Jn+=yl.length}for(dr();Rp(5););Rp(4)&&(un=0,Jn=0);e:for(;;){switch(me()){case 59:un===0||un===1?(Fs(El),xl||(xl=$()),si(v(Jn)),un=0,pa=void 0):Sa(d.getTokenText());break;case 4:El.push(d.getTokenText()),un=0,Jn=0;break;case 41:var Za=d.getTokenText();un===1||un===2?(un=2,Sa(Za)):(un=1,Jn+=Za.length);break;case 5:var zi=d.getTokenText();un===2?El.push(zi):pa!==void 0&&Jn+zi.length>pa&&El.push(zi.slice(pa-Jn)),Jn+=zi.length;break;case 1:break e;case 18:un=2;var Uo=d.getStartPos(),el=d.getTextPos()-1,hl=Ur(el);if(hl){Is||dl(El),Hu.push(tt(R.createJSDocText(El.join("")),Is??Ea,Uo)),Hu.push(hl),El=[],Is=d.getTextPos();break}default:un=2,Sa(d.getTokenText());break}dr()}Fs(El),Hu.length&&El.length&&Hu.push(tt(R.createJSDocText(El.join("")),Is??Ea,xl)),Hu.length&&Jo&&e.Debug.assertIsDefined(xl,"having parsed tags implies that the end of the comment span should be set");var Hl=Jo&&It(Jo,vs,gl);return tt(R.createJSDocComment(Hu.length?It(Hu,Ea,xl):El.length?El.join(""):void 0,Hl),Ea,$i)});function dl(un){for(;un.length&&(un[0]===` `||un[0]==="\r");)un.shift()}function Fs(un){for(;un.length&&un[un.length-1].trim()==="";)un.pop()}function Bf(){for(;;){if(dr(),me()===1)return!0;if(!(me()===5||me()===4))return!1}}function _u(){if(!((me()===5||me()===4)&&ht(Bf)))for(;me()===5||me()===4;)dr()}function vl(){if((me()===5||me()===4)&&ht(Bf))return"";for(var un=d.hasPrecedingLineBreak(),pa=!1,Jn="";un&&me()===41||me()===5||me()===4;)Jn+=d.getTokenText(),me()===4?(un=!0,pa=!0,Jn=""):me()===41&&(un=!1),dr();return pa?Jn:""}function v(un){e.Debug.assert(me()===59);var pa=d.getTokenPos();dr();var Jn=zu(void 0),Sa=vl(),Za;switch(Jn.escapedText){case"author":Za=Cn(pa,Jn,un,Sa);break;case"implements":Za=of(pa,Jn,un,Sa);break;case"augments":case"extends":Za=Gm(pa,Jn,un,Sa);break;case"class":case"constructor":Za=Ju(pa,R.createJSDocClassTag,Jn,un,Sa);break;case"public":Za=Ju(pa,R.createJSDocPublicTag,Jn,un,Sa);break;case"private":Za=Ju(pa,R.createJSDocPrivateTag,Jn,un,Sa);break;case"protected":Za=Ju(pa,R.createJSDocProtectedTag,Jn,un,Sa);break;case"readonly":Za=Ju(pa,R.createJSDocReadonlyTag,Jn,un,Sa);break;case"override":Za=Ju(pa,R.createJSDocOverrideTag,Jn,un,Sa);break;case"deprecated":Hr=!0,Za=Ju(pa,R.createJSDocDeprecatedTag,Jn,un,Sa);break;case"this":Za=l_(pa,Jn,un,Sa);break;case"enum":Za=gu(pa,Jn,un,Sa);break;case"arg":case"argument":case"param":return Bc(pa,Jn,2,un);case"return":case"returns":Za=ip(pa,Jn,un,Sa);break;case"template":Za=jg(pa,Jn,un,Sa);break;case"type":Za=H_(pa,Jn,un,Sa);break;case"typedef":Za=Hv(pa,Jn,un,Sa);break;case"callback":Za=dm(pa,Jn,un,Sa);break;case"see":Za=jv(pa,Jn,un,Sa);break;default:Za=on(pa,Jn,un,Sa);break}return Za}function H(un,pa,Jn,Sa){return Sa||(Jn+=pa-un),ye(Jn,Sa.slice(Jn))}function ye(un,pa){var Jn=$(),Sa=[],Za=[],zi,Uo=0,el=!0,hl;function Hl(u_){hl||(hl=un),Sa.push(u_),un+=u_.length}pa!==void 0&&(pa!==""&&Hl(pa),Uo=1);var yl=me();e:for(;;){switch(yl){case 4:Uo=0,Sa.push(d.getTokenText()),un=0;break;case 59:if(Uo===3||Uo===2&&(!el||ht(tr))){Sa.push(d.getTokenText());break}d.setTextPos(d.getTextPos()-1);case 1:break e;case 5:if(Uo===2||Uo===3)Hl(d.getTokenText());else{var Vf=d.getTokenText();hl!==void 0&&un+Vf.length>hl&&Sa.push(Vf.slice(hl-un)),un+=Vf.length}break;case 18:Uo=2;var mo=d.getStartPos(),pm=d.getTextPos()-1,op=Ur(pm);op?(Za.push(tt(R.createJSDocText(Sa.join("")),zi??Jn,mo)),Za.push(op),Sa=[],zi=d.getTextPos()):Hl(d.getTokenText());break;case 61:Uo===3?Uo=2:Uo=3,Hl(d.getTokenText());break;case 41:if(Uo===0){Uo=1,un+=1;break}default:Uo!==3&&(Uo=2),Hl(d.getTokenText());break}el=me()===5,yl=dr()}if(dl(Sa),Fs(Sa),Za.length)return Sa.length&&Za.push(tt(R.createJSDocText(Sa.join("")),zi??Jn)),It(Za,Jn,d.getTextPos());if(Sa.length)return Sa.join("")}function tr(){var un=dr();return un===5||un===4}function Ur(un){var pa=xt(Ht);if(pa){dr(),_u();var Jn=$(),Sa=e.tokenIsIdentifierOrKeyword(me())?Pn(!0):void 0;if(Sa)for(;me()===80;)Or(),dr(),Sa=tt(R.createJSDocMemberName(Sa,mi()),Jn);for(var Za=[];me()!==19&&me()!==4&&me()!==1;)Za.push(d.getTokenText()),dr();var zi=pa==="link"?R.createJSDocLink:pa==="linkcode"?R.createJSDocLinkCode:R.createJSDocLinkPlain;return tt(zi(Sa,Za.join("")),un,d.getTextPos())}}function Ht(){if(vl(),me()===18&&dr()===59&&e.tokenIsIdentifierOrKeyword(dr())){var un=d.getTokenValue();if(un==="link"||un==="linkcode"||un==="linkplain")return un}}function on(un,pa,Jn,Sa){return tt(R.createJSDocUnknownTag(pa,H(un,$(),Jn,Sa)),un)}function si(un){un&&(Jo?Jo.push(un):(Jo=[un],vs=un.pos),gl=un.end)}function No(){return vl(),me()===18?Gr():void 0}function hs(){var un=Rp(22);un&&_u();var pa=Rp(61),Jn=Hg();return pa&&Mn(61),un&&(_u(),St(63)&&Ms(),_t(23)),{name:Jn,isBracketed:un}}function ap(un){switch(un.kind){case 147:return!0;case 182:return ap(un.elementType);default:return e.isTypeReferenceNode(un)&&e.isIdentifier(un.typeName)&&un.typeName.escapedText==="Object"&&!un.typeArguments}}function Bc(un,pa,Jn,Sa){var Za=No(),zi=!Za;vl();var Uo=hs(),el=Uo.name,hl=Uo.isBracketed,Hl=vl();zi&&!ht(Ht)&&(Za=No());var yl=H(un,$(),Sa,Hl),Vf=Jn!==4&&j_(Za,el,Jn,Sa);Vf&&(Za=Vf,zi=!0);var mo=Jn===1?R.createJSDocPropertyTag(pa,el,hl,Za,zi,yl):R.createJSDocParameterTag(pa,el,hl,Za,zi,yl);return tt(mo,un)}function j_(un,pa,Jn,Sa){if(un&&ap(un.type)){for(var Za=$(),zi=void 0,Uo=void 0;zi=xt(function(){return Ku(Jn,Sa,pa)});)(zi.kind===338||zi.kind===345)&&(Uo=e.append(Uo,zi));if(Uo){var el=tt(R.createJSDocTypeLiteral(Uo,un.type.kind===182),Za);return tt(R.createJSDocTypeExpression(el),Za)}}}function ip(un,pa,Jn,Sa){e.some(Jo,e.isJSDocReturnTag)&&je(pa.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=No();return tt(R.createJSDocReturnTag(pa,Za,H(un,$(),Jn,Sa)),un)}function H_(un,pa,Jn,Sa){e.some(Jo,e.isJSDocTypeTag)&&je(pa.pos,d.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=Gr(!0),zi=Jn!==void 0&&Sa!==void 0?H(un,$(),Jn,Sa):void 0;return tt(R.createJSDocTypeTag(pa,Za,zi),un)}function jv(un,pa,Jn,Sa){var Za=me()===22||ht(function(){return dr()===59&&e.tokenIsIdentifierOrKeyword(dr())&&d.getTokenValue()==="link"}),zi=Za?void 0:at(),Uo=Jn!==void 0&&Sa!==void 0?H(un,$(),Jn,Sa):void 0;return tt(R.createJSDocSeeTag(pa,zi,Uo),un)}function Cn(un,pa,Jn,Sa){var Za=$(),zi=Uf(),Uo=d.getStartPos(),el=H(un,Uo,Jn,Sa);el||(Uo=d.getStartPos());var hl=typeof el!="string"?It(e.concatenate([tt(zi,Za,Uo)],el),Za):zi.text+el;return tt(R.createJSDocAuthorTag(pa,hl),un)}function Uf(){for(var un=[],pa=!1,Jn=d.getToken();Jn!==1&&Jn!==4;){if(Jn===29)pa=!0;else{if(Jn===59&&!pa)break;if(Jn===31&&pa){un.push(d.getTokenText()),d.setTextPos(d.getTokenPos()+1);break}}un.push(d.getTokenText()),Jn=dr()}return R.createJSDocText(un.join(""))}function of(un,pa,Jn,Sa){var Za=kp();return tt(R.createJSDocImplementsTag(pa,Za,H(un,$(),Jn,Sa)),un)}function Gm(un,pa,Jn,Sa){var Za=kp();return tt(R.createJSDocAugmentsTag(pa,Za,H(un,$(),Jn,Sa)),un)}function kp(){var un=en(18),pa=$(),Jn=J_(),Sa=gn(),Za=R.createExpressionWithTypeArguments(Jn,Sa),zi=tt(Za,pa);return un&&_t(19),zi}function J_(){for(var un=$(),pa=zu();en(24);){var Jn=zu();pa=tt(R.createPropertyAccessExpression(pa,Jn),un)}return pa}function Ju(un,pa,Jn,Sa,Za){return tt(pa(Jn,H(un,$(),Sa,Za)),un)}function l_(un,pa,Jn,Sa){var Za=Gr(!0);return _u(),tt(R.createJSDocThisTag(pa,Za,H(un,$(),Jn,Sa)),un)}function gu(un,pa,Jn,Sa){var Za=Gr(!0);return _u(),tt(R.createJSDocEnumTag(pa,Za,H(un,$(),Jn,Sa)),un)}function Hv(un,pa,Jn,Sa){var Za,zi=No();vl();var Uo=fm();_u();var el=ye(Jn),hl;if(!zi||ap(zi.type)){for(var Hl=void 0,yl=void 0,Vf=void 0,mo=!1;Hl=xt(function(){return K_(Jn)});)if(mo=!0,Hl.kind===341)if(yl){ir(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var pm=e.lastOrUndefined(Pe);pm&&e.addRelatedInfo(pm,e.createDetachedDiagnostic(Y,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else yl=Hl;else Vf=e.append(Vf,Hl);if(mo){var op=zi&&zi.type.kind===182,u_=R.createJSDocTypeLiteral(Vf,op);zi=yl&&yl.typeExpression&&!ap(yl.typeExpression.type)?yl.typeExpression:tt(u_,un),hl=zi.end}}hl=hl||el!==void 0?$():((Za=Uo??zi)!==null&&Za!==void 0?Za:pa).end,el||(el=H(un,hl,Jn,Sa));var f_=R.createJSDocTypedefTag(pa,zi,Uo,el);return tt(f_,un,hl)}function fm(un){var pa=d.getTokenPos();if(e.tokenIsIdentifierOrKeyword(me())){var Jn=zu();if(en(24)){var Sa=fm(!0),Za=R.createModuleDeclaration(void 0,void 0,Jn,Sa,un?4:void 0);return tt(Za,pa)}return un&&(Jn.isInJSDocNamespace=!0),Jn}}function c_(un){for(var pa=$(),Jn,Sa;Jn=xt(function(){return Ku(4,un)});)Sa=e.append(Sa,Jn);return It(Sa||[],pa)}function dm(un,pa,Jn,Sa){var Za=fm();_u();var zi=ye(Jn),Uo=c_(Jn),el=xt(function(){if(Rp(59)){var Hl=v(Jn);if(Hl&&Hl.kind===339)return Hl}}),hl=tt(R.createJSDocSignature(void 0,Uo,el),un);return zi||(zi=H(un,$(),Jn,Sa)),tt(R.createJSDocCallbackTag(pa,hl,Za,zi),un)}function bd(un,pa){for(;!e.isIdentifier(un)||!e.isIdentifier(pa);)if(!e.isIdentifier(un)&&!e.isIdentifier(pa)&&un.right.escapedText===pa.right.escapedText)un=un.left,pa=pa.left;else return!1;return un.escapedText===pa.escapedText}function K_(un){return Ku(1,un)}function Ku(un,pa,Jn){for(var Sa=!0,Za=!1;;)switch(dr()){case 59:if(Sa){var zi=Jv(un,pa);return zi&&(zi.kind===338||zi.kind===345)&&un!==4&&Jn&&(e.isIdentifier(zi.name)||!bd(Jn,zi.name.left))?!1:zi}Za=!1;break;case 4:Sa=!0,Za=!1;break;case 41:Za&&(Sa=!1),Za=!0;break;case 79:Sa=!1;break;case 1:return!1}}function Jv(un,pa){e.Debug.assert(me()===59);var Jn=d.getStartPos();dr();var Sa=zu();_u();var Za;switch(Sa.escapedText){case"type":return un===1&&H_(Jn,Sa);case"prop":case"property":Za=1;break;case"arg":case"argument":case"param":Za=6;break;default:return!1}return un&Za?Bc(Jn,Sa,un,pa):!1}function Wg(){var un=$(),pa=Rp(22);pa&&_u();var Jn=zu(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Sa;if(pa&&(_u(),_t(63),Sa=He(4194304,Ws),_t(23)),!e.nodeIsMissing(Jn))return tt(R.createTypeParameterDeclaration(Jn,void 0,Sa),un)}function Il(){var un=$(),pa=[];do{_u();var Jn=Wg();Jn!==void 0&&pa.push(Jn),vl()}while(Rp(27));return It(pa,un)}function jg(un,pa,Jn,Sa){var Za=me()===18?Gr():void 0,zi=Il();return tt(R.createJSDocTemplateTag(pa,Za,zi,H(un,$(),Jn,Sa)),un)}function Rp(un){return me()===un?(dr(),!0):!1}function Hg(){var un=zu();for(en(22)&&_t(23);en(24);){var pa=zu();en(22)&&_t(23),un=da(un,pa)}return un}function zu(un){if(!e.tokenIsIdentifierOrKeyword(me()))return xn(79,!un,un||e.Diagnostics.Identifier_expected);De++;var pa=d.getTokenPos(),Jn=d.getTextPos(),Sa=me(),Za=Qn(d.getTokenValue()),zi=tt(R.createIdentifier(Za,void 0,Sa),pa,Jn);return dr(),zi}}})(um=_.JSDocParser||(_.JSDocParser={}))})(U||(U={}));var Q;(function(_){function d(z,Ee,_e,ke){if(ke=ke||e.Debug.shouldAssert(2),R(z,Ee,_e,ke),e.textChangeRangeIsUnchanged(_e))return z;if(z.statements.length===0)return U.parseSourceFile(z.fileName,Ee,z.languageVersion,void 0,!0,z.scriptKind);var Pe=z;e.Debug.assert(!Pe.hasBeenIncrementallyParsed),Pe.hasBeenIncrementallyParsed=!0,U.fixupParentReferences(Pe);var Ie=z.text,Fe=Y(z),ve=Te(z,_e);R(z,Ee,ve,ke),e.Debug.assert(ve.span.start<=_e.span.start),e.Debug.assert(e.textSpanEnd(ve.span)===e.textSpanEnd(_e.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(ve))===e.textSpanEnd(e.textChangeRangeNewSpan(_e)));var ge=e.textChangeRangeNewSpan(ve).length-ve.span.length;J(Pe,ve.span.start,e.textSpanEnd(ve.span),e.textSpanEnd(e.textChangeRangeNewSpan(ve)),ge,Ie,Ee,ke);var Be=U.parseSourceFile(z.fileName,Ee,z.languageVersion,Fe,!0,z.scriptKind);return Be.commentDirectives=h(z.commentDirectives,Be.commentDirectives,ve.span.start,e.textSpanEnd(ve.span),ge,Ie,Ee,ke),Be.impliedNodeFormat=z.impliedNodeFormat,Be}_.updateSourceFile=d;function h(z,Ee,_e,ke,Pe,Ie,Fe,ve){if(!z)return Ee;for(var ge,Be=!1,de=0,De=z;deke){Ye();var Le={range:{pos:Xe.pos+Pe,end:Xe.end+Pe},type:Se};ge=e.append(ge,Le),ve&&e.Debug.assert(Ie.substring(Xe.pos,Xe.end)===Fe.substring(Le.range.pos,Le.range.end))}}return Ye(),ge;function Ye(){Be||(Be=!0,ge?Ee&&ge.push.apply(ge,Ee):ge=Ee)}}function P(z,Ee,_e,ke,Pe,Ie){Ee?ve(z):Fe(z);return;function Fe(ge){var Be="";if(Ie&&te(ge)&&(Be=ke.substring(ge.pos,ge.end)),ge._children&&(ge._children=void 0),e.setTextRangePosEnd(ge,ge.pos+_e,ge.end+_e),Ie&&te(ge)&&e.Debug.assert(Be===Pe.substring(ge.pos,ge.end)),K(ge,Fe,ve),e.hasJSDocNodes(ge))for(var de=0,De=ge.jsDoc;de=Ee,"Adjusting an element that was entirely before the change range"),e.Debug.assert(z.pos<=_e,"Adjusting an element that was entirely after the change range"),e.Debug.assert(z.pos<=z.end);var Ie=Math.min(z.pos,ke),Fe=z.end>=_e?z.end+Pe:Math.min(z.end,ke);e.Debug.assert(Ie<=Fe),z.parent&&(e.Debug.assertGreaterThanOrEqual(Ie,z.parent.pos),e.Debug.assertLessThanOrEqual(Fe,z.parent.end)),e.setTextRangePosEnd(z,Ie,Fe)}function q(z,Ee){if(Ee){var _e=z.pos,ke=function(ve){e.Debug.assert(ve.pos>=_e),_e=ve.end};if(e.hasJSDocNodes(z))for(var Pe=0,Ie=z.jsDoc;Pe_e){P(de,!1,Pe,Ie,Fe,ve);return}var De=de.end;if(De>=Ee){if(de.intersectsChange=!0,de._children=void 0,ce(de,Ee,_e,ke,Pe),K(de,ge,Be),e.hasJSDocNodes(de))for(var qe=0,Xe=de.jsDoc;qe_e){P(de,!0,Pe,Ie,Fe,ve);return}var De=de.end;if(De>=Ee){de.intersectsChange=!0,de._children=void 0,ce(de,Ee,_e,ke,Pe);for(var qe=0,Xe=de;qe0&&Pe<=_e;Pe++){var Ie=Ae(z,ke);e.Debug.assert(Ie.pos<=ke);var Fe=Ie.pos;ke=Math.max(0,Fe-1)}var ve=e.createTextSpanFromBounds(ke,e.textSpanEnd(Ee.span)),ge=Ee.newLength+(Ee.span.start-ke);return e.createTextChangeRange(ve,ge)}function Ae(z,Ee){var _e=z,ke;if(K(z,Fe),ke){var Pe=Ie(ke);Pe.pos>_e.pos&&(_e=Pe)}return _e;function Ie(ve){for(;;){var ge=e.getLastChild(ve);if(ge)ve=ge;else return ve}}function Fe(ve){if(!e.nodeIsMissing(ve))if(ve.pos<=Ee){if(ve.pos>=_e.pos&&(_e=ve),EeEe),!0}}function R(z,Ee,_e,ke){var Pe=z.text;if(_e&&(e.Debug.assert(Pe.length-_e.span.length+_e.newLength===Ee.length),ke||e.Debug.shouldAssert(3))){var Ie=Pe.substr(0,_e.span.start),Fe=Ee.substr(0,_e.span.start);e.Debug.assert(Ie===Fe);var ve=Pe.substring(e.textSpanEnd(_e.span),Pe.length),ge=Ee.substring(e.textSpanEnd(e.textChangeRangeNewSpan(_e)),Ee.length);e.Debug.assert(ve===ge)}}function Y(z){var Ee=z.statements,_e=0;e.Debug.assert(_e=Be.pos&&Fe=Be.pos&&Fe_.checkJsDirective.pos)&&(_.checkJsDirective={enabled:P==="ts-check",end:R.range.end,pos:R.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}})}e.processPragmasIntoFields=M;var X=new e.Map;function G(_){if(X.has(_))return X.get(_);var d=new RegExp("(\\s".concat(_,`\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`),"im");return X.set(_,d),d}var Z=/^\/\/\/\s*<(\S+)\s.*?\/>/im,E=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function I(_,d,h){var P=d.kind===2&&Z.exec(h);if(P){var te=P[1].toLowerCase(),ce=e.commentPragmas[te];if(!ce||!(ce.kind&1))return;if(ce.args){for(var q={},J=0,Te=ce.args;J=Qt.length)break;var sa=rn;if(Qt.charCodeAt(sa)===34){for(rn++;rn32;)rn++;_t.push(Qt.substring(sa,rn))}}ht(_t)}}e.parseCommandLineWorker=S;function F(rr,Ir,Or,zr,gt,vt){if(zr.isTSConfigOnly){var ut=rr[Ir];ut==="null"?(gt[zr.name]=void 0,Ir++):zr.type==="boolean"?ut==="false"?(gt[zr.name]=ar(zr,!1,vt),Ir++):(ut==="true"&&Ir++,vt.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,zr.name))):(vt.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,zr.name)),ut&&!e.startsWith(ut,"-")&&Ir++)}else if(!rr[Ir]&&zr.type!=="boolean"&&vt.push(e.createCompilerDiagnostic(Or.optionTypeMismatchDiagnostic,zr.name,z(zr))),rr[Ir]!=="null")switch(zr.type){case"number":gt[zr.name]=ar(zr,parseInt(rr[Ir]),vt),Ir++;break;case"boolean":var ut=rr[Ir];gt[zr.name]=ar(zr,ut!=="false",vt),(ut==="false"||ut==="true")&&Ir++;break;case"string":gt[zr.name]=ar(zr,rr[Ir]||"",vt),Ir++;break;case"list":var ht=ae(zr,rr[Ir],vt);gt[zr.name]=ht||[],ht&&Ir++;break;default:gt[zr.name]=K(zr,rr[Ir],vt),Ir++;break}else gt[zr.name]=void 0,Ir++;return Ir}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:V,getOptionsNameMap:x,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument};function B(rr,Ir){return S(e.compilerOptionsDidYouMeanDiagnostics,rr,Ir)}e.parseCommandLine=B;function N(rr,Ir){return w(x,rr,Ir)}e.getOptionFromName=N;function w(rr,Ir,Or){Or===void 0&&(Or=!1),Ir=Ir.toLowerCase();var zr=rr(),gt=zr.optionsNameMap,vt=zr.shortOptionNames;if(Or){var ut=vt.get(Ir);ut!==void 0&&(Ir=ut)}return gt.get(Ir)}var O;function U(){return O||(O=a(e.buildOpts))}var Q={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:x},ee={alternateMode:Q,getOptionsNameMap:U,optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function ne(rr){var Ir=S(ee,rr),Or=Ir.options,zr=Ir.watchOptions,gt=Ir.fileNames,vt=Ir.errors,ut=Or;return gt.length===0&>.push("."),ut.clean&&ut.force&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),ut.clean&&ut.verbose&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),ut.clean&&ut.watch&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),ut.watch&&ut.dry&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:ut,watchOptions:zr,projects:gt,errors:vt}}e.parseBuildCommand=ne;function M(rr){var Ir=e.createCompilerDiagnostic.apply(void 0,arguments);return Ir.messageText}e.getDiagnosticText=M;function X(rr,Ir,Or,zr,gt,vt){var ut=I(rr,function(wt){return Or.readFile(wt)});if(!e.isString(ut)){Or.onUnRecoverableConfigFileDiagnostic(ut);return}var ht=e.parseJsonText(rr,ut),xt=Or.getCurrentDirectory();return ht.path=e.toPath(rr,xt,e.createGetCanonicalFileName(Or.useCaseSensitiveFileNames)),ht.resolvedPath=ht.path,ht.originalFileName=ht.fileName,Dr(ht,Or,e.getNormalizedAbsolutePath(e.getDirectoryPath(rr),xt),Ir,e.getNormalizedAbsolutePath(rr,xt),void 0,vt,zr,gt)}e.getParsedCommandLineOfConfigFile=X;function G(rr,Ir){var Or=I(rr,Ir);return e.isString(Or)?Z(rr,Or):{config:{},error:Or}}e.readConfigFile=G;function Z(rr,Ir){var Or=e.parseJsonText(rr,Ir);return{config:R(Or,Or.parseDiagnostics,!1,void 0),error:Or.parseDiagnostics.length?Or.parseDiagnostics[0]:void 0}}e.parseConfigFileTextToJson=Z;function E(rr,Ir){var Or=I(rr,Ir);return e.isString(Or)?e.parseJsonText(rr,Or):{fileName:rr,parseDiagnostics:[Or]}}e.readJsonConfigFile=E;function I(rr,Ir){var Or;try{Or=Ir(rr)}catch(zr){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,rr,zr.message)}return Or===void 0?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,rr):Or}e.tryReadFile=I;function b(rr){return e.arrayToMap(rr,y)}var D={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1},C;function _(){return C||(C=a(e.optionsForWatch))}var d={getOptionsNameMap:_,optionDeclarations:e.optionsForWatch,unknownOptionDiagnostic:e.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Watch_option_0_requires_a_value_of_type_1},h;function P(){return h||(h=b(e.optionDeclarations))}var te;function ce(){return te||(te=b(e.optionsForWatch))}var q;function J(){return q||(q=b(e.typeAcquisitionDeclarations))}var Te;function Ae(){return Te===void 0&&(Te={name:void 0,type:"object",elementOptions:b([{name:"compilerOptions",type:"object",elementOptions:P(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:ce(),extraKeyDiagnostics:d},{name:"typingOptions",type:"object",elementOptions:J(),extraKeyDiagnostics:D},{name:"typeAcquisition",type:"object",elementOptions:J(),extraKeyDiagnostics:D},{name:"extends",type:"string",category:e.Diagnostics.File_Management},{name:"references",type:"list",element:{name:"references",type:"object"},category:e.Diagnostics.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:e.Diagnostics.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},e.compileOnSaveCommandLineOption])}),Te}function R(rr,Ir,Or,zr){var gt,vt=(gt=rr.statements[0])===null||gt===void 0?void 0:gt.expression,ut=Or?Ae():void 0;if(vt&&vt.kind!==204){if(Ir.push(e.createDiagnosticForNodeInSourceFile(rr,vt,e.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,e.getBaseFileName(rr.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),e.isArrayLiteralExpression(vt)){var ht=e.find(vt.elements,e.isObjectLiteralExpression);if(ht)return j(rr,ht,Ir,!0,ut,zr)}return{}}return j(rr,vt,Ir,!0,ut,zr)}function Y(rr,Ir){var Or;return j(rr,(Or=rr.statements[0])===null||Or===void 0?void 0:Or.expression,Ir,!0,void 0,void 0)}e.convertToObject=Y;function j(rr,Ir,Or,zr,gt,vt){if(!Ir)return zr?{}:void 0;return wt(Ir,gt);function ut(_t){return gt&>.elementOptions===_t}function ht(_t,rn,sa,ba){for(var Kn=zr?{}:void 0,na=function(Ut){if(Ut.kind!==294)return Or.push(e.createDiagnosticForNodeInSourceFile(rr,Ut,e.Diagnostics.Property_assignment_expected)),"continue";Ut.questionToken&&Or.push(e.createDiagnosticForNodeInSourceFile(rr,Ut.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),Qt(Ut.name)||Or.push(e.createDiagnosticForNodeInSourceFile(rr,Ut.name,e.Diagnostics.String_literal_with_double_quotes_expected));var qt=e.isComputedNonLiteralName(Ut.name)?void 0:e.getTextOfPropertyName(Ut.name),Mn=qt&&e.unescapeLeadingUnderscores(qt),dn=Mn&&rn?rn.get(Mn):void 0;Mn&&sa&&!dn&&(rn?Or.push(k(Mn,sa,function(mt,Mt,It){return e.createDiagnosticForNodeInSourceFile(rr,Ut.name,mt,Mt,It)})):Or.push(e.createDiagnosticForNodeInSourceFile(rr,Ut.name,sa.unknownOptionDiagnostic,Mn)));var oa=wt(Ut.initializer,dn);if(typeof Mn<"u"&&(zr&&(Kn[Mn]=oa),vt&&(ba||ut(rn)))){var pt=Ee(dn,oa);ba?pt&&vt.onSetValidOptionKeyValueInParent(ba,dn,oa):ut(rn)&&(pt?vt.onSetValidOptionKeyValueInRoot(Mn,Ut.name,oa,Ut.initializer):dn||vt.onSetUnknownOptionKeyValueInRoot(Mn,Ut.name,oa,Ut.initializer))}},jn=0,en=_t.properties;jn=0)return ut.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,Gt(Gt([],vt,!0),[wt],!1).join(" -> "))),{raw:rr||Y(Ir,ut)};var Qt=rr?Je(rr,Or,zr,gt,ut):pr(Ir,Or,zr,gt,ut);if(!((xt=Qt.options)===null||xt===void 0)&&xt.paths&&(Qt.options.pathsBasePath=zr),Qt.extendedConfigPath){vt=vt.concat([wt]);var _t=Ve(Ir,Qt.extendedConfigPath,Or,vt,ut,ht);if(_t&&fe(_t)){var rn=_t.raw,sa=Qt.raw,ba,Kn=function(na){!sa[na]&&rn[na]&&(sa[na]=e.map(rn[na],function(jn){return e.isRootedDiskPath(jn)?jn:e.combinePaths(ba||(ba=e.convertToRelativePath(e.getDirectoryPath(Qt.extendedConfigPath),zr,e.createGetCanonicalFileName(Or.useCaseSensitiveFileNames))),jn)}))};Kn("include"),Kn("exclude"),Kn("files"),sa.compileOnSave===void 0&&(sa.compileOnSave=rn.compileOnSave),Qt.options=e.assign({},_t.options,Qt.options),Qt.watchOptions=Qt.watchOptions&&_t.watchOptions?e.assign({},_t.watchOptions,Qt.watchOptions):Qt.watchOptions||_t.watchOptions}}return Qt}function Je(rr,Ir,Or,zr,gt){e.hasProperty(rr,"excludes")&>.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var vt=qr(rr.compilerOptions,Or,gt,zr),ut=rt(rr.typeAcquisition||rr.typingOptions,Or,gt,zr),ht=Rt(rr.watchOptions,Or,gt);rr.compileOnSave=ur(rr,Or,gt);var xt;if(rr.extends)if(!e.isString(rr.extends))gt.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));else{var wt=zr?Cr(zr,Or):Or;xt=kr(rr.extends,Ir,wt,gt,e.createCompilerDiagnostic)}return{raw:rr,options:vt,watchOptions:ht,typeAcquisition:ut,extendedConfigPath:xt}}function pr(rr,Ir,Or,zr,gt){var vt=Lr(zr),ut,ht,xt,wt,Qt,_t={onSetValidOptionKeyValueInParent:function(sa,ba,Kn){var na;switch(sa){case"compilerOptions":na=vt;break;case"watchOptions":na=xt||(xt={});break;case"typeAcquisition":na=ut||(ut=lt(zr));break;case"typingOptions":na=ht||(ht=lt(zr));break;default:e.Debug.fail("Unknown option")}na[ba.name]=vn(ba,Or,Kn)},onSetValidOptionKeyValueInRoot:function(sa,ba,Kn,na){switch(sa){case"extends":var jn=zr?Cr(zr,Or):Or;wt=kr(Kn,Ir,jn,gt,function(en,St){return e.createDiagnosticForNodeInSourceFile(rr,na,en,St)});return}},onSetUnknownOptionKeyValueInRoot:function(sa,ba,Kn,na){sa==="excludes"&>.push(e.createDiagnosticForNodeInSourceFile(rr,ba,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(f,function(jn){return jn.name===sa})&&(Qt=e.append(Qt,ba))}},rn=R(rr,gt,!0,_t);return ut||(ht?ut=ht.enableAutoDiscovery!==void 0?{enable:ht.enableAutoDiscovery,include:ht.include,exclude:ht.exclude}:ht:ut=lt(zr)),Qt&&rn&&rn.compilerOptions===void 0&>.push(e.createDiagnosticForNodeInSourceFile(rr,Qt[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(Qt[0]))),{raw:rn,options:vt,watchOptions:xt,typeAcquisition:ut,extendedConfigPath:wt}}function kr(rr,Ir,Or,zr,gt){if(rr=e.normalizeSlashes(rr),e.isRootedDiskPath(rr)||e.startsWith(rr,"./")||e.startsWith(rr,"../")){var vt=e.getNormalizedAbsolutePath(rr,Or);if(!Ir.fileExists(vt)&&!e.endsWith(vt,".json")&&(vt="".concat(vt,".json"),!Ir.fileExists(vt))){zr.push(gt(e.Diagnostics.File_0_not_found,rr));return}return vt}var ut=e.nodeModuleNameResolver(rr,e.combinePaths(Or,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},Ir,void 0,void 0,!0);if(ut.resolvedModule)return ut.resolvedModule.resolvedFileName;zr.push(gt(e.Diagnostics.File_0_not_found,rr))}function Ve(rr,Ir,Or,zr,gt,vt){var ut,ht=Or.useCaseSensitiveFileNames?Ir:e.toFileNameLowerCase(Ir),xt,wt,Qt;if(vt&&(xt=vt.get(ht))?(wt=xt.extendedResult,Qt=xt.extendedConfig):(wt=E(Ir,function(_t){return Or.readFile(_t)}),wt.parseDiagnostics.length||(Qt=xe(void 0,wt,Or,e.getDirectoryPath(Ir),e.getBaseFileName(Ir),zr,gt,vt)),vt&&vt.set(ht,{extendedResult:wt,extendedConfig:Qt})),rr&&(rr.extendedSourceFiles=[wt.fileName],wt.extendedSourceFiles&&(ut=rr.extendedSourceFiles).push.apply(ut,wt.extendedSourceFiles)),wt.parseDiagnostics.length){gt.push.apply(gt,wt.parseDiagnostics);return}return Qt}function ur(rr,Ir,Or){if(!e.hasProperty(rr,e.compileOnSaveCommandLineOption.name))return!1;var zr=yn(e.compileOnSaveCommandLineOption,rr.compileOnSave,Ir,Or);return typeof zr=="boolean"&&zr}function Wr(rr,Ir,Or){var zr=[],gt=qr(rr,Ir,zr,Or);return{options:gt,errors:zr}}e.convertCompilerOptionsFromJson=Wr;function He(rr,Ir,Or){var zr=[],gt=rt(rr,Ir,zr,Or);return{options:gt,errors:zr}}e.convertTypeAcquisitionFromJson=He;function Lr(rr){var Ir=rr&&e.getBaseFileName(rr)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return Ir}function qr(rr,Ir,Or,zr){var gt=Lr(zr);return an(P(),rr,Ir,gt,e.compilerOptionsDidYouMeanDiagnostics,Or),zr&&(gt.configFilePath=e.normalizeSlashes(zr)),gt}function lt(rr){return{enable:!!rr&&e.getBaseFileName(rr)==="jsconfig.json",include:[],exclude:[]}}function rt(rr,Ir,Or,zr){var gt=lt(zr),vt=g(rr);return an(J(),vt,Ir,gt,D,Or),gt}function Rt(rr,Ir,Or){return an(ce(),rr,Ir,void 0,d,Or)}function an(rr,Ir,Or,zr,gt,vt){if(Ir){for(var ut in Ir){var ht=rr.get(ut);ht?(zr||(zr={}))[ht.name]=yn(ht,Ir[ut],Or,vt):vt.push(k(ut,gt,e.createCompilerDiagnostic))}return zr}}function yn(rr,Ir,Or,zr){if(Ee(rr,Ir)){var gt=rr.type;if(gt==="list"&&e.isArray(Ir))return sr(rr,Ir,Or,zr);if(!e.isString(gt))return wr(rr,Ir,zr);var vt=ar(rr,Ir,zr);return or(vt)?vt:Fn(rr,Or,vt)}else zr.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,rr.name,z(rr)))}e.convertJsonOption=yn;function vn(rr,Ir,Or){if(!or(Or)){if(rr.type==="list"){var zr=rr;return zr.element.isFilePath||!e.isString(zr.element.type)?e.filter(e.map(Or,function(gt){return vn(zr.element,Ir,gt)}),function(gt){return!!gt}):Or}else if(!e.isString(rr.type))return rr.type.get(e.isString(Or)?Or.toLowerCase():Or);return Fn(rr,Ir,Or)}}function Fn(rr,Ir,Or){return rr.isFilePath&&(Or=e.getNormalizedAbsolutePath(Or,Ir),Or===""&&(Or=".")),Or}function ar(rr,Ir,Or){var zr;if(!or(Ir)){var gt=(zr=rr.extraValidation)===null||zr===void 0?void 0:zr.call(rr,Ir);if(!gt)return Ir;Or.push(e.createCompilerDiagnostic.apply(void 0,gt))}}function wr(rr,Ir,Or){if(!or(Ir)){var zr=Ir.toLowerCase(),gt=rr.type.get(zr);if(gt!==void 0)return ar(rr,gt,Or);Or.push(m(rr))}}function sr(rr,Ir,Or,zr){return e.filter(e.map(Ir,function(gt){return yn(rr.element,gt,Or,zr)}),function(gt){return!!gt})}var he=/(^|\/)\*\*\/?$/,ir=/^[^*?]*(?=\/[^/]*[*?])/;function ue(rr,Ir,Or,zr,gt){gt===void 0&&(gt=e.emptyArray),Ir=e.normalizePath(Ir);var vt=e.createGetCanonicalFileName(zr.useCaseSensitiveFileNames),ut=new e.Map,ht=new e.Map,xt=new e.Map,wt=rr.validatedFilesSpec,Qt=rr.validatedIncludeSpecs,_t=rr.validatedExcludeSpecs,rn=e.getSupportedExtensions(Or,gt),sa=e.getSupportedExtensionsWithJsonIfResolveJsonModule(Or,rn);if(wt)for(var ba=0,Kn=wt;ba0)for(var St=function(oa){if(e.fileExtensionIs(oa,".json")){if(!en){var pt=Qt.filter(function(xn){return e.endsWith(xn,".json")}),mt=e.map(e.getRegularExpressionsForWildcards(pt,Ir,"files"),function(xn){return"^".concat(xn,"$")});en=mt?mt.map(function(xn){return e.getRegexFromPattern(xn,zr.useCaseSensitiveFileNames)}):e.emptyArray}var Mt=e.findIndex(en,function(xn){return xn.test(oa)});if(Mt!==-1){var It=vt(oa);!ut.has(It)&&!xt.has(It)&&xt.set(It,oa)}return"continue"}if(fr(oa,ut,ht,rn,vt))return"continue";dr(oa,ht,rn,vt);var tt=vt(oa);!ut.has(tt)&&!ht.has(tt)&&ht.set(tt,oa)},Ut=0,qt=zr.readDirectory(Ir,e.flatten(sa),_t,Qt,void 0);UtIr}function We(rr,Ir,Or,zr){return $(rr,e.filter(Ir,function(gt){return!be(gt)}),Or,zr)}e.matchesExclude=We;function $(rr,Ir,Or,zr,gt){var vt=e.getRegularExpressionForWildcard(Ir,e.combinePaths(e.normalizePath(zr),gt),"exclude"),ut=vt&&e.getRegexFromPattern(vt,Or);return ut?ut.test(rr)?!0:!e.hasExtension(rr)&&ut.test(e.ensureTrailingDirectorySeparator(rr)):!1}function Ne(rr,Ir,Or,zr,gt){return rr.filter(function(ut){if(!e.isString(ut))return!1;var ht=me(ut,Or);return ht!==void 0&&Ir.push(vt.apply(void 0,ht)),ht===void 0});function vt(ut,ht){var xt=e.getTsConfigPropArrayElementValue(zr,gt,ht);return xt?e.createDiagnosticForNodeInSourceFile(zr,xt,ut,ht):e.createCompilerDiagnostic(ut,ht)}}function me(rr,Ir){if(Ir&&he.test(rr))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,rr];if(be(rr))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,rr]}function Ze(rr,Ir,Or){var zr=rr.validatedIncludeSpecs,gt=rr.validatedExcludeSpecs,vt=e.getRegularExpressionForWildcard(gt,Ir,"exclude"),ut=vt&&new RegExp(vt,Or?"":"i"),ht={};if(zr!==void 0){for(var xt=[],wt=0,Qt=zr;wt=0;vt--){var ut=gt[vt];if(e.fileExtensionIs(rr,ut))return;var ht=zr(e.changeExtension(rr,ut));Ir.delete(ht)}}function et(rr){var Ir={};for(var Or in rr)if(rr.hasOwnProperty(Or)){var zr=N(Or);zr!==void 0&&(Ir[Or]=yt(rr[Or],zr))}return Ir}e.convertCompilerOptionsForTelemetry=et;function yt(rr,Ir){switch(Ir.type){case"object":return"";case"string":return"";case"number":return typeof rr=="number"?rr:"";case"boolean":return typeof rr=="boolean"?rr:"";case"list":var Or=Ir.element;return e.isArray(rr)?rr.map(function(zr){return yt(zr,Or)}):"";default:return e.forEachEntry(Ir.type,function(zr,gt){if(zr===rr)return gt})}}function jr(rr){switch(rr.type){case"number":return 1;case"boolean":return!0;case"string":return rr.isFilePath?"./":"";case"list":return[];case"object":return{};default:var Ir=rr.type.keys().next();return Ir.done?e.Debug.fail("Expected 'option.type' to have entries."):Ir.value}}})(gr||(gr={}));var gr;(function(e){function n(sr){sr.trace(e.formatMessage.apply(void 0,arguments))}e.trace=n;function c(sr,he){return!!sr.traceResolution&&he.trace!==void 0}e.isTraceEnabled=c;function f(sr,he){var ir;if(he&&sr){var ue=sr.packageJsonContent;typeof ue.name=="string"&&typeof ue.version=="string"&&(ir={name:ue.name,subModuleName:he.path.slice(sr.packageDirectory.length+e.directorySeparator.length),version:ue.version})}return he&&{path:he.path,extension:he.ext,packageId:ir}}function a(sr){return f(void 0,sr)}function p(sr){if(sr)return e.Debug.assert(sr.packageId===void 0),{path:sr.path,ext:sr.extension}}var x;(function(sr){sr[sr.TypeScript=0]="TypeScript",sr[sr.JavaScript=1]="JavaScript",sr[sr.Json=2]="Json",sr[sr.TSConfig=3]="TSConfig",sr[sr.DtsOnly=4]="DtsOnly"})(x||(x={}));function V(sr){if(sr)return e.Debug.assert(e.extensionIsTS(sr.extension)),{fileName:sr.path,packageId:sr.packageId}}function g(sr,he,ir,ue){var je;return ue?((je=ue.failedLookupLocations).push.apply(je,ir),ue):{resolvedModule:sr&&{resolvedFileName:sr.path,originalPath:sr.originalPath===!0?void 0:sr.originalPath,extension:sr.extension,isExternalLibraryImport:he,packageId:sr.packageId},failedLookupLocations:ir}}function m(sr,he,ir,ue){if(!e.hasProperty(sr,he)){ue.traceEnabled&&n(ue.host,e.Diagnostics.package_json_does_not_have_a_0_field,he);return}var je=sr[he];if(typeof je!==ir||je===null){ue.traceEnabled&&n(ue.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,he,ir,je===null?"null":typeof je);return}return je}function A(sr,he,ir,ue){var je=m(sr,he,"string",ue);if(je!==void 0){if(!je){ue.traceEnabled&&n(ue.host,e.Diagnostics.package_json_had_a_falsy_0_field,he);return}var be=e.normalizePath(e.combinePaths(ir,je));return ue.traceEnabled&&n(ue.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,he,je,be),be}}function K(sr,he,ir){return A(sr,"typings",he,ir)||A(sr,"types",he,ir)}function ae(sr,he,ir){return A(sr,"tsconfig",he,ir)}function y(sr,he,ir){return A(sr,"main",he,ir)}function k(sr,he){var ir=m(sr,"typesVersions","object",he);if(ir!==void 0)return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),ir}function S(sr,he){var ir=k(sr,he);if(ir!==void 0){if(he.traceEnabled)for(var ue in ir)e.hasProperty(ir,ue)&&!e.VersionRange.tryParse(ue)&&n(he.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,ue);var je=B(ir);if(!je){he.traceEnabled&&n(he.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor);return}var be=je.version,We=je.paths;if(typeof We!="object"){he.traceEnabled&&n(he.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(be,"']"),"object",typeof We);return}return je}}var F;function B(sr){F||(F=new e.Version(e.version));for(var he in sr)if(e.hasProperty(sr,he)){var ir=e.VersionRange.tryParse(he);if(ir!==void 0&&ir.test(F))return{version:he,paths:sr[he]}}}e.getPackageJsonTypesVersionsPaths=B;function N(sr,he){if(sr.typeRoots)return sr.typeRoots;var ir;if(sr.configFilePath?ir=e.getDirectoryPath(sr.configFilePath):he.getCurrentDirectory&&(ir=he.getCurrentDirectory()),ir!==void 0)return w(ir,he)}e.getEffectiveTypeRoots=N;function w(sr,he){if(!he.directoryExists)return[e.combinePaths(sr,O)];var ir;return e.forEachAncestorDirectory(e.normalizePath(sr),function(ue){var je=e.combinePaths(ue,O);he.directoryExists(je)&&(ir||(ir=[])).push(je)}),ir}var O=e.combinePaths("node_modules","@types");function U(sr,he,ir){var ue=typeof ir.useCaseSensitiveFileNames=="function"?ir.useCaseSensitiveFileNames():ir.useCaseSensitiveFileNames;return e.comparePaths(sr,he,!ue)===0}function Q(sr,he,ir,ue,je,be){var We=c(ir,ue);je&&(ir=je.commandLine.options);var $=he?e.getDirectoryPath(he):void 0,Ne=$?be&&be.getOrCreateCacheForDirectory($,je):void 0,me=Ne&&Ne.get(sr,void 0);if(me)return We&&(n(ue,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,sr,he),je&&n(ue,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName),n(ue,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,sr,$),zr(me)),me;var Ze=N(ir,ue);We&&(he===void 0?Ze===void 0?n(ue,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,sr):n(ue,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,sr,Ze):Ze===void 0?n(ue,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,sr,he):n(ue,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,sr,he,Ze),je&&n(ue,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName));var xr=[],fr=e.getEmitModuleResolutionKind(ir)===e.ModuleResolutionKind.Node12?J.Node12Default:e.getEmitModuleResolutionKind(ir)===e.ModuleResolutionKind.NodeNext?J.NodeNextDefault:J.None,dr={compilerOptions:ir,host:ue,traceEnabled:We,failedLookupLocations:xr,packageJsonInfoCache:be,features:fr,conditions:["node","require","types"]},et=gt(),yt=!0;et||(et=vt(),yt=!1);var jr;if(et){var rr=et.fileName,Ir=et.packageId,Or=ir.preserveSymlinks?rr:Ie(rr,ue,We);jr={primary:yt,resolvedFileName:Or,originalPath:U(rr,Or,ue)?void 0:rr,packageId:Ir,isExternalLibraryImport:ve(rr)}}return me={resolvedTypeReferenceDirective:jr,failedLookupLocations:xr},Ne==null||Ne.set(sr,void 0,me),We&&zr(me),me;function zr(ut){var ht;!((ht=ut.resolvedTypeReferenceDirective)===null||ht===void 0)&&ht.resolvedFileName?ut.resolvedTypeReferenceDirective.packageId?n(ue,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,sr,ut.resolvedTypeReferenceDirective.resolvedFileName,e.packageIdToString(ut.resolvedTypeReferenceDirective.packageId),ut.resolvedTypeReferenceDirective.primary):n(ue,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,sr,ut.resolvedTypeReferenceDirective.resolvedFileName,ut.resolvedTypeReferenceDirective.primary):n(ue,e.Diagnostics.Type_reference_directive_0_was_not_resolved,sr)}function gt(){if(Ze&&Ze.length)return We&&n(ue,e.Diagnostics.Resolving_with_primary_search_path_0,Ze.join(", ")),e.firstDefined(Ze,function(ut){var ht=e.combinePaths(ut,sr),xt=e.getDirectoryPath(ht),wt=e.directoryProbablyExists(xt,ue);return!wt&&We&&n(ue,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,xt),V(Ye(x.DtsOnly,ht,!wt,dr))});We&&n(ue,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function vt(){var ut=he&&e.getDirectoryPath(he);if(ut!==void 0){We&&n(ue,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,ut);var ht;if(e.isExternalModuleNameRelative(sr)){var wt=e.normalizePathAndParts(e.combinePaths(ut,sr)).path;ht=Fe(x.DtsOnly,wt,!1,dr,!0)}else{var xt=kr(x.DtsOnly,sr,ut,dr,void 0,void 0);ht=xt&&xt.value}return V(ht)}else We&&n(ue,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}e.resolveTypeReferenceDirective=Q;function ee(sr,he){if(sr.types)return sr.types;var ir=[];if(he.directoryExists&&he.getDirectories){var ue=N(sr,he);if(ue)for(var je=0,be=ue;je0);var ue={sourceFile:sr.configFile,commandLine:{options:sr}};he.setOwnMap(he.getOrCreateMapOfCacheRedirects(ue)),ir==null||ir.setOwnMap(ir.getOrCreateMapOfCacheRedirects(ue))}he.setOwnOptions(sr),ir==null||ir.setOwnOptions(sr)}}function Z(sr,he,ir){return{getOrCreateCacheForDirectory:be,clear:ue,update:je};function ue(){ir.clear()}function je(We){G(We,ir)}function be(We,$){var Ne=e.toPath(We,sr,he);return X(ir,$,Ne,function(){return E()})}}function E(){var sr=new e.Map,he=new e.Map,ir={get:function(je,be){return sr.get(ue(je,be))},set:function(je,be,We){return sr.set(ue(je,be),We),ir},delete:function(je,be){return sr.delete(ue(je,be)),ir},has:function(je,be){return sr.has(ue(je,be))},forEach:function(je){return sr.forEach(function(be,We){var $=he.get(We),Ne=$[0],me=$[1];return je(be,Ne,me)})},size:function(){return sr.size}};return ir;function ue(je,be){var We=be===void 0?je:"".concat(be,"|").concat(je);return he.set(We,[je,be]),We}}e.createModeAwareCache=E;function I(sr,he,ir){e.Debug.assert(he.length===ir.length);for(var ue=E(),je=0;je0;){var We=br(e.getPathFromPathComponents(be),!1,je);if(We)return We;be.pop()}}e.getPackageScopeForPath=Dr;function br(sr,he,ir){var ue,je,be,We=ir.host,$=ir.traceEnabled,Ne=e.combinePaths(sr,"package.json");if(he){ir.failedLookupLocations.push(Ne);return}var me=(ue=ir.packageJsonInfoCache)===null||ue===void 0?void 0:ue.getPackageJsonInfo(Ne);if(me!==void 0){if(typeof me!="boolean")return $&&n(We,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,Ne),me;me&&$&&n(We,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,Ne),ir.failedLookupLocations.push(Ne);return}var Ze=e.directoryProbablyExists(sr,We);if(Ze&&We.fileExists(Ne)){var xr=e.readJson(Ne,We);$&&n(We,e.Diagnostics.Found_package_json_at_0,Ne);var fr=S(xr,ir),dr={packageDirectory:sr,packageJsonContent:xr,versionPaths:fr};return(je=ir.packageJsonInfoCache)===null||je===void 0||je.setPackageJsonInfo(Ne,dr),dr}else Ze&&$&&n(We,e.Diagnostics.File_0_does_not_exist,Ne),(be=ir.packageJsonInfoCache)===null||be===void 0||be.setPackageJsonInfo(Ne,Ze),ir.failedLookupLocations.push(Ne)}e.getPackageJsonInfo=br;function or(sr,he,ir,ue,je,be){var We;if(je)switch(sr){case x.JavaScript:case x.Json:We=y(je,he,ue);break;case x.TypeScript:We=K(je,he,ue)||y(je,he,ue);break;case x.DtsOnly:We=K(je,he,ue);break;case x.TSConfig:We=ae(je,he,ue);break;default:return e.Debug.assertNever(sr)}var $=function(et,yt,jr,rr){var Ir=Le(yt,jr,rr);if(Ir){var Or=Cr(et,Ir);if(Or)return a(Or);rr.traceEnabled&&n(rr.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,Ir)}var zr=et===x.DtsOnly?x.TypeScript:et;return Fe(zr,yt,jr,rr,!1)},Ne=We?!e.directoryProbablyExists(e.getDirectoryPath(We),ue.host):void 0,me=ir||!e.directoryProbablyExists(he,ue.host),Ze=e.combinePaths(he,sr===x.TSConfig?"tsconfig":"index");if(be&&(!We||e.containsPath(he,We))){var xr=e.getRelativePathFromDirectory(he,We||Ze,!1);ue.traceEnabled&&n(ue.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,be.version,e.version,xr);var fr=Lr(sr,xr,he,be.paths,void 0,$,Ne||me,ue);if(fr)return p(fr.value)}var dr=We&&p($(sr,We,Ne,ue));if(dr)return dr;if(!(ue.features&J.EsmMode))return De(sr,Ze,me,ue)}function Cr(sr,he){var ir=e.tryGetExtensionFromPath(he);return ir!==void 0&&Rr(sr,ir)?{path:he,ext:ir}:void 0}function Rr(sr,he){switch(sr){case x.JavaScript:return he===".js"||he===".jsx";case x.TSConfig:case x.Json:return he===".json";case x.TypeScript:return he===".ts"||he===".tsx"||he===".d.ts";case x.DtsOnly:return he===".d.ts"}}function Ke(sr){var he=sr.indexOf(e.directorySeparator);return sr[0]==="@"&&(he=sr.indexOf(e.directorySeparator,he+1)),he===-1?{packageName:sr,rest:""}:{packageName:sr.slice(0,he),rest:sr.slice(he+1)}}e.parsePackageName=Ke;function Me(sr){return e.every(e.getOwnKeys(sr),function(he){return e.startsWith(he,".")})}e.allKeysStartWithDot=Me;function Hr(sr){return!e.some(e.getOwnKeys(sr),function(he){return e.startsWith(he,".")})}function cr(sr,he,ir,ue,je,be){var We,$,Ne=typeof ue.host.useCaseSensitiveFileNames=="function"?ue.host.useCaseSensitiveFileNames():ue.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(ir,"dummy"),($=(We=ue.host).getCurrentDirectory)===null||$===void 0?void 0:$.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Dr(me,ue.packageJsonInfoCache,ue.host,ue.compilerOptions);if(!(!Ze||!Ze.packageJsonContent.exports)&&typeof Ze.packageJsonContent.name=="string"){var xr=e.getPathComponents(he),fr=e.getPathComponents(Ze.packageJsonContent.name);if(e.every(fr,function(et,yt){return xr[yt]===et})){var dr=xr.slice(fr.length);return vr(Ze,sr,e.length(dr)?".".concat(e.directorySeparator).concat(dr.join(e.directorySeparator)):".",ue,je,be)}}}function vr(sr,he,ir,ue,je,be){if(sr.packageJsonContent.exports){if(ir==="."){var We=void 0;if(typeof sr.packageJsonContent.exports=="string"||Array.isArray(sr.packageJsonContent.exports)||typeof sr.packageJsonContent.exports=="object"&&Hr(sr.packageJsonContent.exports)?We=sr.packageJsonContent.exports:e.hasProperty(sr.packageJsonContent.exports,".")&&(We=sr.packageJsonContent.exports["."]),We){var $=Je(he,ue,je,be,ir,sr,!1);return $(We,"",!1)}}else if(Me(sr.packageJsonContent.exports)){if(typeof sr.packageJsonContent.exports!="object")return ue.traceEnabled&&n(ue.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,ir,sr.packageDirectory),wr(void 0);var Ne=xe(he,ue,je,be,ir,sr.packageJsonContent.exports,sr,!1);if(Ne)return Ne}return ue.traceEnabled&&n(ue.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,ir,sr.packageDirectory),wr(void 0)}}function fe(sr,he,ir,ue,je,be){var We,$;if(he==="#"||e.startsWith(he,"#/"))return ue.traceEnabled&&n(ue.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,he),wr(void 0);var Ne=typeof ue.host.useCaseSensitiveFileNames=="function"?ue.host.useCaseSensitiveFileNames():ue.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(ir,"dummy"),($=(We=ue.host).getCurrentDirectory)===null||$===void 0?void 0:$.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Dr(me,ue.packageJsonInfoCache,ue.host,ue.compilerOptions);if(!Ze)return ue.traceEnabled&&n(ue.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,me),wr(void 0);if(!Ze.packageJsonContent.imports)return ue.traceEnabled&&n(ue.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,Ze.packageDirectory),wr(void 0);var xr=xe(sr,ue,je,be,he,Ze.packageJsonContent.imports,Ze,!0);return xr||(ue.traceEnabled&&n(ue.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,he,Ze.packageDirectory),wr(void 0))}function xe(sr,he,ir,ue,je,be,We,$){var Ne=Je(sr,he,ir,ue,je,We,$);if(!e.endsWith(je,e.directorySeparator)&&je.indexOf("*")===-1&&e.hasProperty(be,je)){var me=be[je];return Ne(me,"",!1)}for(var Ze=e.sort(e.filter(e.getOwnKeys(be),function(rr){return rr.indexOf("*")!==-1||e.endsWith(rr,"/")}),function(rr,Ir){return rr.length-Ir.length}),xr=0,fr=Ze;xr0&&!e.endsWith(Ne,"/"))return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0);if(!e.startsWith(Ne,"./")){if(We&&!e.startsWith(Ne,"../")&&!e.startsWith(Ne,"/")&&!e.isRootedDiskPath(Ne)){var dr=Ze?Ne.replace(/\*/g,me):Ne+me,et=Pe(he.features,dr,be.packageDirectory+"/",he.compilerOptions,he.host,ir,[sr],ue);return wr(et.resolvedModule?{path:et.resolvedModule.resolvedFileName,extension:et.resolvedModule.extension,packageId:et.resolvedModule.packageId,originalPath:et.resolvedModule.originalPath}:void 0)}return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0)}var yt=e.pathIsRelative(Ne)?e.getPathComponents(Ne).slice(1):e.getPathComponents(Ne),jr=yt.slice(1);if(jr.indexOf("..")>=0||jr.indexOf(".")>=0||jr.indexOf("node_modules")>=0)return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0);var rr=e.combinePaths(be.packageDirectory,Ne),Ir=e.getPathComponents(me);if(Ir.indexOf("..")>=0||Ir.indexOf(".")>=0||Ir.indexOf("node_modules")>=0)return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0);var Or=e.getNormalizedAbsolutePath(Ze?rr.replace(/\*/g,me):rr+me,(fr=(xr=he.host).getCurrentDirectory)===null||fr===void 0?void 0:fr.call(xr));return wr(f(be,Xe(sr,Or,!1,he)))}else if(typeof Ne=="object"&&Ne!==null)if(Array.isArray(Ne)){if(!e.length(Ne))return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0);for(var ht=0,xt=Ne;ht=0||pr(he.conditions,vt)){var ut=Ne[vt],et=$(ut,me,Ze);if(et)return et}}return}else if(Ne===null)return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,be.packageDirectory,je),wr(void 0);return he.traceEnabled&&n(he.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,be.packageDirectory,je),wr(void 0)}}function pr(sr,he){if(sr.indexOf("types")===-1||!e.startsWith(he,"types@"))return!1;var ir=e.VersionRange.tryParse(he.substring(6));return ir?ir.test(e.version):!1}e.isApplicableVersionedTypesKey=pr;function kr(sr,he,ir,ue,je,be){return ur(sr,he,ir,ue,!1,je,be)}function Ve(sr,he,ir){return ur(x.DtsOnly,sr,he,ir,!0,void 0,void 0)}function ur(sr,he,ir,ue,je,be,We){var $=be&&be.getOrCreateCacheForModuleName(he,ue.features===0?void 0:ue.features&J.EsmMode?e.ModuleKind.ESNext:e.ModuleKind.CommonJS,We);return e.forEachAncestorDirectory(e.normalizeSlashes(ir),function(Ne){if(e.getBaseFileName(Ne)!=="node_modules"){var me=vn($,he,Ne,ue);return me||wr(Wr(sr,he,Ne,ue,je,be,We))}})}function Wr(sr,he,ir,ue,je,be,We){var $=e.combinePaths(ir,"node_modules"),Ne=e.directoryProbablyExists($,ue.host);!Ne&&ue.traceEnabled&&n(ue.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,$);var me=je?void 0:He(sr,he,$,Ne,ue,be,We);if(me)return me;if(sr===x.TypeScript||sr===x.DtsOnly){var Ze=e.combinePaths($,"@types"),xr=Ne;return Ne&&!e.directoryProbablyExists(Ze,ue.host)&&(ue.traceEnabled&&n(ue.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Ze),xr=!1),He(x.DtsOnly,lt(he,ue),Ze,xr,ue,be,We)}}function He(sr,he,ir,ue,je,be,We){var $=e.normalizePath(e.combinePaths(ir,he)),Ne=br($,!ue,je);if(!(je.features&J.Exports)&&Ne){var me=De(sr,$,!ue,je);if(me)return a(me);var Ze=or(sr,$,!ue,je,Ne.packageJsonContent,Ne.versionPaths);return f(Ne,Ze)}var xr=Ke(he),fr=xr.packageName,dr=xr.rest,et=function(Ir,Or,zr,gt){var vt;if(Ne&&Ne.packageJsonContent.exports&>.features&J.Exports)return(vt=vr(Ne,Ir,e.combinePaths(".",dr),gt,be,We))===null||vt===void 0?void 0:vt.value;var ut=De(Ir,Or,zr,gt)||or(Ir,Or,zr,gt,Ne&&Ne.packageJsonContent,Ne&&Ne.versionPaths);return f(Ne,ut)};if(dr!==""){var yt=e.combinePaths(ir,fr);if(Ne=br(yt,!ue,je),Ne&&Ne.versionPaths){je.traceEnabled&&n(je.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,Ne.versionPaths.version,e.version,dr);var jr=ue&&e.directoryProbablyExists(yt,je.host),rr=Lr(sr,dr,yt,Ne.versionPaths.paths,void 0,et,!jr,je);if(rr)return rr.value}}return et(sr,$,!ue,je)}function Lr(sr,he,ir,ue,je,be,We,$){je||(je=e.tryParsePatterns(ue));var Ne=e.matchPatternOrExact(je,he);if(Ne){var me=e.isString(Ne)?void 0:e.matchedText(Ne,he),Ze=e.isString(Ne)?Ne:e.patternText(Ne);$.traceEnabled&&n($.host,e.Diagnostics.Module_name_0_matched_pattern_1,he,Ze);var xr=e.forEach(ue[Ze],function(fr){var dr=me?fr.replace("*",me):fr,et=e.normalizePath(e.combinePaths(ir,dr));$.traceEnabled&&n($.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,fr,dr);var yt=e.tryGetExtensionFromPath(fr);if(yt!==void 0){var jr=Le(et,We,$);if(jr!==void 0)return a({path:jr,ext:yt})}return be(sr,et,We||!e.directoryProbablyExists(e.getDirectoryPath(et),$.host),$)});return{value:xr}}}var qr="__";function lt(sr,he){var ir=Rt(sr);return he.traceEnabled&&ir!==sr&&n(he.host,e.Diagnostics.Scoped_package_detected_looking_in_0,ir),ir}function rt(sr){return"@types/".concat(Rt(sr))}e.getTypesPackageName=rt;function Rt(sr){if(e.startsWith(sr,"@")){var he=sr.replace(e.directorySeparator,qr);if(he!==sr)return he.slice(1)}return sr}e.mangleScopedPackageName=Rt;function an(sr){var he=e.removePrefix(sr,"@types/");return he!==sr?yn(he):sr}e.getPackageNameFromTypesPackageName=an;function yn(sr){return e.stringContains(sr,qr)?"@"+sr.replace(qr,e.directorySeparator):sr}e.unmangleScopedPackageName=yn;function vn(sr,he,ir,ue){var je=sr&&sr.get(ir);if(je)return ue.traceEnabled&&n(ue.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,he,ir),ue.resultFromCache=je,{value:je.resolvedModule&&{path:je.resolvedModule.resolvedFileName,originalPath:je.resolvedModule.originalPath||!0,extension:je.resolvedModule.extension,packageId:je.resolvedModule.packageId}}}function Fn(sr,he,ir,ue,je,be){var We=c(ir,ue),$=[],Ne={compilerOptions:ir,host:ue,traceEnabled:We,failedLookupLocations:$,packageJsonInfoCache:je,features:J.None,conditions:[]},me=e.getDirectoryPath(he),Ze=xr(x.TypeScript)||xr(x.JavaScript);return g(Ze&&Ze.value,!1,$,Ne.resultFromCache);function xr(fr){var dr=d(fr,sr,me,de,Ne);if(dr)return{value:dr};if(e.isExternalModuleNameRelative(sr)){var jr=e.normalizePath(e.combinePaths(me,sr));return wr(de(fr,jr,!1,Ne))}else{var et=je&&je.getOrCreateCacheForModuleName(sr,void 0,be),yt=e.forEachAncestorDirectory(me,function(rr){var Ir=vn(et,sr,rr,Ne);if(Ir)return Ir;var Or=e.normalizePath(e.combinePaths(rr,sr));return wr(de(fr,Or,!1,Ne))});if(yt)return yt;if(fr===x.TypeScript)return Ve(sr,me,Ne)}}}e.classicNameResolver=Fn;function ar(sr,he,ir,ue,je,be){var We=c(ir,ue);We&&n(ue,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,he,sr,je);var $=[],Ne={compilerOptions:ir,host:ue,traceEnabled:We,failedLookupLocations:$,packageJsonInfoCache:be,features:J.None,conditions:[]},me=Wr(x.DtsOnly,sr,je,Ne,!1,void 0,void 0);return g(me,!0,$,Ne.resultFromCache)}e.loadModuleFromGlobalCache=ar;function wr(sr){return sr!==void 0?{value:sr}:void 0}})(gr||(gr={}));var gr;(function(e){(function(S){S[S.NonInstantiated=0]="NonInstantiated",S[S.Instantiated=1]="Instantiated",S[S.ConstEnumOnly=2]="ConstEnumOnly"})(e.ModuleInstanceState||(e.ModuleInstanceState={}));function n(S,F){return S.body&&!S.body.parent&&(e.setParent(S.body,S),e.setParentRecursive(S.body,!1)),S.body?c(S.body,F):1}e.getModuleInstanceState=n;function c(S,F){F===void 0&&(F=new e.Map);var B=e.getNodeId(S);if(F.has(B))return F.get(B)||0;F.set(B,void 0);var N=f(S,F);return F.set(B,N),N}function f(S,F){switch(S.kind){case 257:case 258:return 0;case 259:if(e.isEnumConst(S))return 2;break;case 265:case 264:if(!e.hasSyntacticModifier(S,1))return 0;break;case 271:var B=S;if(!B.moduleSpecifier&&B.exportClause&&B.exportClause.kind===272){for(var N=0,w=0,O=B.exportClause.elements;wN&&(N=Q),N===1)return N}return N}break;case 261:{var ee=0;return e.forEachChild(S,function(ne){var M=c(ne,F);switch(M){case 0:return;case 2:ee=2;return;case 1:return ee=1,!0;default:e.Debug.assertNever(M)}}),ee}case 260:return n(S,F);case 79:if(S.isInJSDocNamespace)return 0}return 1}function a(S,F){for(var B=S.propertyName||S.name,N=S.parent;N;){if(e.isBlock(N)||e.isModuleBlock(N)||e.isSourceFile(N)){for(var w=N.statements,O=void 0,U=0,Q=w;UO)&&(O=ne),O===1)return O}}if(O!==void 0)return O}N=N.parent}return 1}var p;(function(S){S[S.None=0]="None",S[S.IsContainer=1]="IsContainer",S[S.IsBlockScopedContainer=2]="IsBlockScopedContainer",S[S.IsControlFlowContainer=4]="IsControlFlowContainer",S[S.IsFunctionLike=8]="IsFunctionLike",S[S.IsFunctionExpression=16]="IsFunctionExpression",S[S.HasLocals=32]="HasLocals",S[S.IsInterface=64]="IsInterface",S[S.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor"})(p||(p={}));function x(S){return e.Debug.attachFlowNodeDebugInfo(S),S}var V=m();function g(S,F){e.tracing===null||e.tracing===void 0||e.tracing.push("bind","bindSourceFile",{path:S.path},!0),e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+S.fileName),V(S,F),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}e.bindSourceFile=g;function m(){var S,F,B,N,w,O,U,Q,ee,ne,M,X,G,Z,E,I,b,D,C,_,d,h,P=!1,te=0,ce,q,J={flags:1},Te={flags:1},Ae=fr();function R(pe,Mr,ft,Zt,Oe){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(pe)||S,pe,Mr,ft,Zt,Oe)}function Y(pe,Mr){S=pe,F=Mr,B=e.getEmitScriptTarget(F),h=j(S,Mr),q=new e.Set,te=0,ce=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(J),e.Debug.attachFlowNodeDebugInfo(Te),S.locals||(Ha(S),S.symbolCount=te,S.classifiableNames=q,pt()),S=void 0,F=void 0,B=void 0,N=void 0,w=void 0,O=void 0,U=void 0,Q=void 0,ee=void 0,ne=!1,M=void 0,X=void 0,G=void 0,Z=void 0,E=void 0,I=void 0,b=void 0,C=void 0,_=!1,P=!1,d=0}return Y;function j(pe,Mr){return e.getStrictOptionValue(Mr,"alwaysStrict")&&!pe.isDeclarationFile?!0:!!pe.externalModuleIndicator}function z(pe,Mr){return te++,new ce(pe,Mr)}function Ee(pe,Mr,ft){pe.flags|=ft,Mr.symbol=pe,pe.declarations=e.appendIfUnique(pe.declarations,Mr),ft&1955&&!pe.exports&&(pe.exports=e.createSymbolTable()),ft&6240&&!pe.members&&(pe.members=e.createSymbolTable()),pe.constEnumOnlyModule&&pe.flags&304&&(pe.constEnumOnlyModule=!1),ft&111551&&e.setValueDeclaration(pe,Mr)}function _e(pe){if(pe.kind===270)return pe.isExportEquals?"export=":"default";var Mr=e.getNameOfDeclaration(pe);if(Mr){if(e.isAmbientModule(pe)){var ft=e.getTextOfIdentifierOrLiteral(Mr);return e.isGlobalScopeAugmentation(pe)?"__global":'"'.concat(ft,'"')}if(Mr.kind===161){var Zt=Mr.expression;if(e.isStringOrNumericLiteralLike(Zt))return e.escapeLeadingUnderscores(Zt.text);if(e.isSignedNumericLiteral(Zt))return e.tokenToString(Zt.operator)+Zt.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(Mr)){var Oe=e.getContainingClass(pe);if(!Oe)return;var Qr=Oe.symbol;return e.getSymbolNameForPrivateIdentifier(Qr,Mr.escapedText)}return e.isPropertyNameLiteral(Mr)?e.getEscapedTextOfIdentifierOrLiteral(Mr):void 0}switch(pe.kind){case 170:return"__constructor";case 178:case 173:case 321:return"__call";case 179:case 174:return"__new";case 175:return"__index";case 271:return"__export";case 303:return"export=";case 220:if(e.getAssignmentDeclarationKind(pe)===2)return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 315:return e.isJSDocConstructSignature(pe)?"__new":"__call";case 163:e.Debug.assert(pe.parent.kind===315,"Impossible parameter parent kind",function(){return"parent is: ".concat(e.SyntaxKind?e.SyntaxKind[pe.parent.kind]:pe.parent.kind,", expected JSDocFunctionType")});var hn=pe.parent,Xn=hn.parameters.indexOf(pe);return"arg"+Xn}}function ke(pe){return e.isNamedDeclaration(pe)?e.declarationNameToString(pe.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(_e(pe)))}function Pe(pe,Mr,ft,Zt,Oe,Qr,hn){e.Debug.assert(hn||!e.hasDynamicName(ft));var Xn=e.hasSyntacticModifier(ft,512)||e.isExportSpecifier(ft)&&ft.name.escapedText==="default",gi=hn?"__computed":Xn&&Mr?"default":_e(ft),Ia;if(gi===void 0)Ia=z(0,"__missing");else if(Ia=pe.get(gi),Zt&2885600&&q.add(gi),!Ia)pe.set(gi,Ia=z(0,gi)),Qr&&(Ia.isReplaceableByMethod=!0);else{if(Qr&&!Ia.isReplaceableByMethod)return Ia;if(Ia.flags&Oe){if(Ia.isReplaceableByMethod)pe.set(gi,Ia=z(0,gi));else if(!(Zt&3&&Ia.flags&67108864)){e.isNamedDeclaration(ft)&&e.setParent(ft.name,ft);var oo=Ia.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,jo=!0;(Ia.flags&384||Zt&384)&&(oo=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,jo=!1);var Nr=!1;e.length(Ia.declarations)&&(Xn||Ia.declarations&&Ia.declarations.length&&ft.kind===270&&!ft.isExportEquals)&&(oo=e.Diagnostics.A_module_cannot_have_multiple_default_exports,jo=!1,Nr=!0);var Ws=[];e.isTypeAliasDeclaration(ft)&&e.nodeIsMissing(ft.type)&&e.hasSyntacticModifier(ft,1)&&Ia.flags&2887656&&Ws.push(R(ft,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(ft.name.escapedText)," }")));var sl=e.getNameOfDeclaration(ft)||ft;e.forEach(Ia.declarations,function(xo,js){var Zl=e.getNameOfDeclaration(xo)||xo,ql=R(Zl,oo,jo?ke(xo):void 0);S.bindDiagnostics.push(Nr?e.addRelatedInfo(ql,R(sl,js===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):ql),Nr&&Ws.push(R(Zl,e.Diagnostics.The_first_export_default_is_here))});var Pl=R(sl,oo,jo?ke(ft):void 0);S.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,Gt([Pl],Ws,!1))),Ia=z(0,gi)}}}return Ee(Ia,ft,Zt),Ia.parent?e.Debug.assert(Ia.parent===Mr,"Existing symbol parent should match new one"):Ia.parent=Mr,Ia}function Ie(pe,Mr,ft){var Zt=!!(e.getCombinedModifierFlags(pe)&1)||Fe(pe);if(Mr&2097152)return pe.kind===274||pe.kind===264&&Zt?Pe(w.symbol.exports,w.symbol,pe,Mr,ft):Pe(w.locals,void 0,pe,Mr,ft);if(e.isJSDocTypeAlias(pe)&&e.Debug.assert(e.isInJSFile(pe)),!e.isAmbientModule(pe)&&(Zt||w.flags&64)){if(!w.locals||e.hasSyntacticModifier(pe,512)&&!_e(pe))return Pe(w.symbol.exports,w.symbol,pe,Mr,ft);var Oe=Mr&111551?1048576:0,Qr=Pe(w.locals,void 0,pe,Oe,ft);return Qr.exportSymbol=Pe(w.symbol.exports,w.symbol,pe,Mr,ft),pe.localSymbol=Qr,Qr}else return Pe(w.locals,void 0,pe,Mr,ft)}function Fe(pe){if(pe.parent&&e.isModuleDeclaration(pe)&&(pe=pe.parent),!e.isJSDocTypeAlias(pe))return!1;if(!e.isJSDocEnumTag(pe)&&pe.fullName)return!0;var Mr=e.getNameOfDeclaration(pe);return Mr?!!(e.isPropertyAccessEntityNameExpression(Mr.parent)&&$a(Mr.parent)||e.isDeclaration(Mr.parent)&&e.getCombinedModifierFlags(Mr.parent)&1):!1}function ve(pe,Mr){var ft=w,Zt=O,Oe=U;if(Mr&1?(pe.kind!==213&&(O=w),w=U=pe,Mr&32&&(w.locals=e.createSymbolTable()),_t(w)):Mr&2&&(U=pe,U.locals=void 0),Mr&4){var Qr=M,hn=X,Xn=G,gi=Z,Ia=b,oo=C,jo=_,Nr=Mr&16&&!e.hasSyntacticModifier(pe,256)&&!pe.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(pe);Nr||(M=x({flags:2}),Mr&144&&(M.node=pe)),Z=Nr||pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212)?or():void 0,b=void 0,X=void 0,G=void 0,C=void 0,_=!1,De(pe),pe.flags&=-2817,!(M.flags&1)&&Mr&8&&e.nodeIsPresent(pe.body)&&(pe.flags|=256,_&&(pe.flags|=512),pe.endFlowNode=M),pe.kind===303&&(pe.flags|=d,pe.endFlowNode=M),Z&&(Me(Z,M),M=xe(Z),(pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212))&&(pe.returnFlowNode=M)),Nr||(M=Qr),X=hn,G=Xn,Z=gi,b=Ia,C=oo,_=jo}else Mr&64?(ne=!1,De(pe),pe.flags=ne?pe.flags|128:pe.flags&-129):De(pe);w=ft,O=Zt,U=Oe}function ge(pe){Be(pe,function(Mr){return Mr.kind===255?Ha(Mr):void 0}),Be(pe,function(Mr){return Mr.kind!==255?Ha(Mr):void 0})}function Be(pe,Mr){Mr===void 0&&(Mr=Ha),pe!==void 0&&e.forEach(pe,Mr)}function de(pe){e.forEachChild(pe,Ha,Be)}function De(pe){var Mr=P;if(P=!1,is(pe)){de(pe),Qo(pe),P=Mr;return}switch(pe.kind>=236&&pe.kind<=252&&!F.allowUnreachableCode&&(pe.flowNode=M),pe.kind){case 240:qr(pe);break;case 239:lt(pe);break;case 241:rt(pe);break;case 242:case 243:Rt(pe);break;case 238:an(pe);break;case 246:case 250:yn(pe);break;case 245:case 244:ar(pe);break;case 251:wr(pe);break;case 248:sr(pe);break;case 262:he(pe);break;case 288:ir(pe);break;case 237:ue(pe);break;case 249:be(pe);break;case 218:me(pe);break;case 219:Ze(pe);break;case 220:if(e.isDestructuringAssignment(pe)){P=Mr,xr(pe);return}Ae(pe);break;case 214:dr(pe);break;case 221:et(pe);break;case 253:jr(pe);break;case 205:case 206:xt(pe);break;case 207:wt(pe);break;case 229:ht(pe);break;case 343:case 336:case 337:Ir(pe);break;case 303:{ge(pe.statements),Ha(pe.endOfFileToken);break}case 234:case 261:ge(pe.statements);break;case 202:rr(pe);break;case 204:case 203:case 294:case 224:P=Mr;default:de(pe);break}Qo(pe),P=Mr}function qe(pe){switch(pe.kind){case 79:case 80:case 108:case 205:case 206:return Se(pe);case 207:return Le(pe);case 211:case 229:return qe(pe.expression);case 220:return Dr(pe);case 218:return pe.operator===53&&qe(pe.operand);case 215:return qe(pe.expression)}return!1}function Xe(pe){return e.isDottedName(pe)||(e.isPropertyAccessExpression(pe)||e.isNonNullExpression(pe)||e.isParenthesizedExpression(pe))&&Xe(pe.expression)||e.isBinaryExpression(pe)&&pe.operatorToken.kind===27&&Xe(pe.right)||e.isElementAccessExpression(pe)&&e.isStringOrNumericLiteralLike(pe.argumentExpression)&&Xe(pe.expression)||e.isAssignmentExpression(pe)&&Xe(pe.left)}function Se(pe){return Xe(pe)||e.isOptionalChain(pe)&&Se(pe.expression)}function Le(pe){if(pe.arguments)for(var Mr=0,ft=pe.arguments;Mr=117&&pe.originalKeywordKind<=125?S.bindDiagnostics.push(R(pe,Mt(pe),e.declarationNameToString(pe))):pe.originalKeywordKind===132?e.isExternalModule(S)&&e.isInTopLevelContext(pe)?S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(pe))):pe.flags&32768&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(pe))):pe.originalKeywordKind===125&&pe.flags&8192&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(pe))))}function Mt(pe){return e.getContainingClass(pe)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:S.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function It(pe){pe.escapedText==="#constructor"&&(S.parseDiagnostics.length||S.bindDiagnostics.push(R(pe,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(pe))))}function tt(pe){h&&e.isLeftHandSideExpression(pe.left)&&e.isAssignmentOperator(pe.operatorToken.kind)&&Ci(pe,pe.left)}function xn(pe){h&&pe.variableDeclaration&&Ci(pe,pe.variableDeclaration.name)}function Qn(pe){if(h&&pe.expression.kind===79){var Mr=e.getErrorSpanForNode(S,pe.expression);S.bindDiagnostics.push(e.createFileDiagnostic(S,Mr.start,Mr.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Oa(pe){return e.isIdentifier(pe)&&(pe.escapedText==="eval"||pe.escapedText==="arguments")}function Ci(pe,Mr){if(Mr&&Mr.kind===79){var ft=Mr;if(Oa(ft)){var Zt=e.getErrorSpanForNode(S,Mr);S.bindDiagnostics.push(e.createFileDiagnostic(S,Zt.start,Zt.length,mi(pe),e.idText(ft)))}}}function mi(pe){return e.getContainingClass(pe)?e.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:S.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function va(pe){h&&Ci(pe,pe.name)}function yi(pe){return e.getContainingClass(pe)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:S.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function ro(pe){if(B<2&&U.kind!==303&&U.kind!==260&&!e.isFunctionLikeOrClassStaticBlockDeclaration(U)){var Mr=e.getErrorSpanForNode(S,pe);S.bindDiagnostics.push(e.createFileDiagnostic(S,Mr.start,Mr.length,yi(pe)))}}function Ka(pe){h&&pe.numericLiteralFlags&32&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Mi(pe){h&&Ci(pe,pe.operand)}function io(pe){h&&(pe.operator===45||pe.operator===46)&&Ci(pe,pe.operand)}function ji(pe){h&&to(pe,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Hi(pe){h&&e.getEmitScriptTarget(F)>=2&&(e.isDeclarationStatement(pe.statement)||e.isVariableStatement(pe.statement))&&to(pe.label,e.Diagnostics.A_label_is_not_allowed_here)}function to(pe,Mr,ft,Zt,Oe){var Qr=e.getSpanOfTokenAtPosition(S,pe.pos);S.bindDiagnostics.push(e.createFileDiagnostic(S,Qr.start,Qr.length,Mr,ft,Zt,Oe))}function ko(pe,Mr,ft){co(pe,Mr,Mr,ft)}function co(pe,Mr,ft,Zt){Ao(pe,{pos:e.getTokenPosOfNode(Mr,S),end:ft.end},Zt)}function Ao(pe,Mr,ft){var Zt=e.createFileDiagnostic(S,Mr.pos,Mr.end-Mr.pos,ft);pe?S.bindDiagnostics.push(Zt):S.bindSuggestionDiagnostics=e.append(S.bindSuggestionDiagnostics,On(On({},Zt),{category:e.DiagnosticCategory.Suggestion}))}function Ha(pe){if(pe){e.setParent(pe,N);var Mr=h;if(hi(pe),pe.kind>159){var ft=N;N=pe;var Zt=Qt(pe);Zt===0?De(pe):ve(pe,Zt),N=ft}else{var ft=N;pe.kind===1&&(N=pe),Qo(pe),N=ft}h=Mr}}function Qo(pe){if(e.hasJSDocNodes(pe))if(e.isInJSFile(pe))for(var Mr=0,ft=pe.jsDoc;Mr>",0,Ze),ko=yu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),co=yu(void 0,void 0,void 0,e.emptyArray,dr,void 0,0,0),Ao=yu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),Ha=yu(void 0,void 0,void 0,e.emptyArray,St,void 0,0,0),Qo=Tu(wt,xt,!0),uo=new e.Map,za={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},hi=Qf(Ze,Ze,Ze),Zi=Qf(Ze,Ze,rr),Po=Qf(en,Ze,Or),Fo={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:OR,getGlobalIterableType:RR,getGlobalIterableIteratorType:wR,getGlobalGeneratorType:MR,resolveIterationType:Qm,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Go={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:PR,getGlobalIterableType:oL,getGlobalIterableIteratorType:FR,getGlobalGeneratorType:GR,resolveIterationType:function(r,t){return r},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},qo,Ts=new e.Map,xs=!1,yr,dt,tn,Vn,Re,ie,_r,oe,Ge,$e,hr,Xr,Dt,Jt,Dn,ta,xa,Di,$a,Ji,Do,us,bt,Pn,da,ei,bi,xi,ka,_i,Xi,Gi,wo,Ro,rs,is,pe,Mr,ft,Zt,Oe,Qr,hn,Xn,gi=new e.Map,Ia=0,oo=0,jo=0,Nr=!1,Ws=0,sl,Pl,xo,js=Ac(""),Zl=Hf(0),ql=k0({negative:!1,base10Value:"0"}),fc=[],uu=[],no=[],Xl=0,dc=10,Hs=[],Ic=[],Nc=[],La=[],fu=[],pc=[],kc=[],Pr=[],$r=[],Lt=[],Kt=[],pn=[],fn=[],kn=[],zn=[],Fa=[],ua=e.createDiagnosticCollection(),se=e.createDiagnosticCollection(),er=new e.Map(e.getEntries({string:xt,number:wt,bigint:Qt,boolean:Kn,symbol:na,undefined:Or})),Er=Xd(),ct,jt,En,ha=new e.Map,ri=new e.Map,Ta=new e.Map,Ya=new e.Map,fi=new e.Map,ci=new e.Map,Si=e.createSymbolTable();Si.set(Ve.escapedName,Ve);var Lo=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Xe.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return kF(),qr;function Eo(r){if(r){var t=e.getSourceFileOfNode(r);if(t)if(e.isJsxOpeningFragment(r)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var i=t.pragmas.get("jsxfrag");if(i){var o=e.isArray(i)?i[0]:i;if(t.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,Se),e.visitNode(t.localJsxFragmentFactory,Zs),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=e.getFirstIdentifier(t.localJsxFragmentFactory).escapedText}var s=UT(r);if(s)return t.localJsxFragmentFactory=s,t.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{var u=ks(t);if(u)return t.localJsxNamespace=u}}return ct||(ct="React",Xe.jsxFactory?(jt=e.parseIsolatedEntityName(Xe.jsxFactory,Se),e.visitNode(jt,Zs),jt&&(ct=e.getFirstIdentifier(jt).escapedText)):Xe.reactNamespace&&(ct=e.escapeLeadingUnderscores(Xe.reactNamespace))),jt||(jt=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(ct)),"createElement")),ct}function ks(r){if(r.localJsxNamespace)return r.localJsxNamespace;var t=r.pragmas.get("jsx");if(t){var i=e.isArray(t)?t[0]:t;if(r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,Se),e.visitNode(r.localJsxFactory,Zs),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}function Zs(r){return e.setTextRangePosEnd(r,-1,-1),e.visitEachChild(r,Zs,e.nullTransformationContext)}function ku(r,t){return xI(r,t),Je}function hf(r,t,i,o,s,u){var L=r?e.createDiagnosticForNode(r,t,i,o,s,u):e.createCompilerDiagnostic(t,i,o,s,u),W=ua.lookup(L);return W||(ua.add(L),L)}function $l(r,t,i,o,s,u,L){var W=Fr(t,i,o,s,u,L);return W.skippedOn=r,W}function Hc(r,t,i,o,s,u){return r?e.createDiagnosticForNode(r,t,i,o,s,u):e.createCompilerDiagnostic(t,i,o,s,u)}function Fr(r,t,i,o,s,u){var L=Hc(r,t,i,o,s,u);return ua.add(L),L}function ec(r,t){r?ua.add(t):se.add(On(On({},t),{category:e.DiagnosticCategory.Suggestion}))}function mc(r,t,i,o,s,u,L){if(t.pos<0||t.end<0){if(!r)return;var W=e.getSourceFileOfNode(t);ec(r,"message"in i?e.createFileDiagnostic(W,0,0,i,o,s,u,L):e.createDiagnosticForFileFromMessageChain(W,i));return}ec(r,"message"in i?e.createDiagnosticForNode(t,i,o,s,u,L):e.createDiagnosticForNodeFromMessageChain(t,i))}function Ru(r,t,i,o,s,u,L){var W=Fr(r,i,o,s,u,L);if(t){var le=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(W,le)}return W}function ll(r,t){var i=Array.isArray(r)?e.forEach(r,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(r);return i&&e.addRelatedInfo(t,e.createDiagnosticForNode(i,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),se.add(t),t}function Rc(r,t,i){var o=e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,i);return ll(t,o)}function yf(r,t,i,o){var s=i?e.createDiagnosticForNode(r,e.Diagnostics.The_signature_0_of_1_is_deprecated,o,i):e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,o);return ll(t,s)}function po(r,t,i){Pe++;var o=new z(r|33554432,t);return o.checkFlags=i||0,o}function rd(r){var t=0;return r&2&&(t|=111551),r&1&&(t|=111550),r&4&&(t|=0),r&8&&(t|=900095),r&16&&(t|=110991),r&32&&(t|=899503),r&64&&(t|=788872),r&256&&(t|=899327),r&128&&(t|=899967),r&512&&(t|=110735),r&8192&&(t|=103359),r&32768&&(t|=46015),r&65536&&(t|=78783),r&262144&&(t|=526824),r&524288&&(t|=788968),r&2097152&&(t|=2097152),t}function bf(r,t){t.mergeId||(t.mergeId=p,p++),Hs[t.mergeId]=r}function Od(r){var t=po(r.flags,r.escapedName);return t.declarations=r.declarations?r.declarations.slice():[],t.parent=r.parent,r.valueDeclaration&&(t.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),r.members&&(t.members=new e.Map(r.members)),r.exports&&(t.exports=new e.Map(r.exports)),bf(t,r),t}function _s(r,t,i){if(i===void 0&&(i=!1),!(r.flags&rd(t.flags))||(t.flags|r.flags)&67108864){if(t===r)return r;if(!(r.flags&33554432)){var o=Mo(r);if(o===We)return t;r=Od(o)}t.flags&512&&r.flags&512&&r.constEnumOnlyModule&&!t.constEnumOnlyModule&&(r.constEnumOnlyModule=!1),r.flags|=t.flags,t.valueDeclaration&&e.setValueDeclaration(r,t.valueDeclaration),e.addRange(r.declarations,t.declarations),t.members&&(r.members||(r.members=e.createSymbolTable()),ml(r.members,t.members,i)),t.exports&&(r.exports||(r.exports=e.createSymbolTable()),ml(r.exports,t.exports,i)),i||bf(r,t)}else if(r.flags&1024)r!==ur&&Fr(t.declarations&&e.getNameOfDeclaration(t.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Wa(r));else{var s=!!(r.flags&384||t.flags&384),u=!!(r.flags&2||t.flags&2),L=s?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:u?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,W=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),le=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),we=Wa(t);if(W&&le&&qo&&!s&&W!==le){var Ue=e.comparePaths(W.path,le.path)===-1?W:le,ze=Ue===W?le:W,nr=e.getOrUpdate(qo,"".concat(Ue.path,"|").concat(ze.path),function(){return{firstFile:Ue,secondFile:ze,conflictingSymbols:new e.Map}}),mr=e.getOrUpdate(nr.conflictingSymbols,we,function(){return{isBlockScoped:u,firstFileLocations:[],secondFileLocations:[]}});Br(mr.firstFileLocations,t),Br(mr.secondFileLocations,r)}else Jc(t,L,we,r),Jc(r,L,we,t)}return r;function Br(Zr,Et){if(Et.declarations)for(var Tt=0,At=Et.declarations;Tt=5||e.some(u.relatedInformation,function(Br){return e.compareDiagnostics(Br,mr)===0||e.compareDiagnostics(Br,nr)===0}))return"continue";e.addRelatedInfo(u,e.length(u.relatedInformation)?mr:nr)},W=0,le=o||e.emptyArray;W1);return}if(e.isGlobalScopeAugmentation(s))ml(kr,s.symbol.exports);else{var u=r.parent.parent.flags&8388608?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,L=Pc(r,r,u,!0);if(!L)return;if(L=ul(L),L.flags&1920)if(e.some(dt,function(Br){return L===Br.symbol})){var W=_s(s.symbol,L,!0);tn||(tn=new e.Map),tn.set(r.text,W)}else{if(!((i=L.exports)===null||i===void 0)&&i.get("__export")&&(!((o=s.symbol.exports)===null||o===void 0)&&o.size))for(var le=d_(L,"resolvedExports"),we=0,Ue=e.arrayFrom(s.symbol.exports.entries());weze.end)return!1;var Br=e.findAncestor(nr,function(Zr){if(Zr===ze)return"quit";switch(Zr.kind){case 213:return!0;case 166:return mr&&(e.isPropertyDeclaration(ze)&&Zr.parent===ze.parent||e.isParameterPropertyDeclaration(ze,ze.parent)&&Zr.parent===ze.parent.parent)?"quit":!0;case 234:switch(Zr.parent.kind){case 171:case 168:case 172:return!0;default:return!1}default:return!1}});return Br===void 0}}function wd(r,t,i){var o=e.getEmitScriptTarget(Xe),s=t;if(e.isParameter(i)&&s.body&&r.valueDeclaration&&r.valueDeclaration.pos>=s.body.pos&&r.valueDeclaration.end<=s.body.end&&o>=2){var u=Zn(s);return u.declarationRequiresScopeChange===void 0&&(u.declarationRequiresScopeChange=e.forEach(s.parameters,L)||!1),!u.declarationRequiresScopeChange}return!1;function L(le){return W(le.name)||!!le.initializer&&W(le.initializer)}function W(le){switch(le.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return W(le.name);case 166:return e.hasStaticModifier(le)?o<99||!Ye:W(le.name);default:return e.isNullishCoalesce(le)||e.isOptionalChain(le)?o<7:e.isBindingElement(le)&&le.dotDotDotToken&&e.isObjectBindingPattern(le.parent)?o<4:e.isTypeNode(le)?!1:e.forEachChild(le,W)||!1}}}function Vo(r,t,i,o,s,u,L,W){return L===void 0&&(L=!1),W===void 0&&(W=!0),td(r,t,i,o,s,u,L,W,Rs)}function td(r,t,i,o,s,u,L,W,le){var we,Ue,ze,nr=r,mr,Br,Zr,Et,Tt,At=!1,Vt=r,Nn,sn=!1;e:for(;r;){if(r.locals&&!Oc(r)&&(mr=le(r.locals,t,i))){var ca=!0;if(e.isFunctionLike(r)&&Br&&Br!==r.body?(i&mr.flags&788968&&Br.kind!==318&&(ca=mr.flags&262144?Br===r.type||Br.kind===163||Br.kind===162:!1),i&mr.flags&3&&(wd(mr,r,Br)?ca=!1:mr.flags&1&&(ca=Br.kind===163||Br===r.type&&!!e.findAncestor(mr.valueDeclaration,e.isParameter)))):r.kind===188&&(ca=Br===r.trueType),ca)break e;mr=void 0}switch(At=At||rm(r,Br),r.kind){case 303:if(!e.isExternalOrCommonJsModule(r))break;sn=!0;case 260:var la=((we=wn(r))===null||we===void 0?void 0:we.exports)||De;if(r.kind===303||e.isModuleDeclaration(r)&&r.flags&8388608&&!e.isGlobalScopeAugmentation(r)){if(mr=la.get("default")){var di=e.getLocalSymbolForExportDefault(mr);if(di&&mr.flags&i&&di.escapedName===t)break e;mr=void 0}var Aa=la.get(t);if(Aa&&Aa.flags===2097152&&(e.getDeclarationOfKind(Aa,274)||e.getDeclarationOfKind(Aa,273)))break}if(t!=="default"&&(mr=le(la,t,i&2623475)))if(e.isSourceFile(r)&&r.commonJsModuleIndicator&&!(!((Ue=mr.declarations)===null||Ue===void 0)&&Ue.some(e.isJSDocTypeAlias)))mr=void 0;else break e;break;case 259:if(mr=le(((ze=wn(r))===null||ze===void 0?void 0:ze.exports)||De,t,i&8))break e;break;case 166:if(!e.isStatic(r)){var Li=rf(r.parent);Li&&Li.locals&&le(Li.locals,t,i&111551)&&(Et=r)}break;case 256:case 225:case 257:if(mr=le(wn(r).members||De,t,i&788968)){if(!Om(mr,r)){mr=void 0;break}if(Br&&e.isStatic(Br)){Fr(Vt,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return}break e}if(r.kind===225&&i&32){var Bi=r.name;if(Bi&&t===Bi.escapedText){mr=r.symbol;break e}}break;case 227:if(Br===r.expression&&r.parent.token===94){var Ai=r.parent.parent;if(e.isClassLike(Ai)&&(mr=le(wn(Ai).members,t,i&788968))){o&&Fr(Vt,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 161:if(Nn=r.parent.parent,(e.isClassLike(Nn)||Nn.kind===257)&&(mr=le(wn(Nn).members,t,i&788968))){Fr(Vt,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 213:if(e.getEmitScriptTarget(Xe)>=2)break;case 168:case 170:case 171:case 172:case 255:if(i&3&&t==="arguments"){mr=Wr;break e}break;case 212:if(i&3&&t==="arguments"){mr=Wr;break e}if(i&16){var Io=r.name;if(Io&&t===Io.escapedText){mr=r.symbol;break e}}break;case 164:r.parent&&r.parent.kind===163&&(r=r.parent),r.parent&&(e.isClassElement(r.parent)||r.parent.kind===256)&&(r=r.parent);break;case 343:case 336:case 337:var Wt=e.getJSDocRoot(r);Wt&&(r=Wt.parent);break;case 163:Br&&(Br===r.initializer||Br===r.name&&e.isBindingPattern(Br))&&(Tt||(Tt=r));break;case 202:Br&&(Br===r.initializer||Br===r.name&&e.isBindingPattern(Br))&&e.isParameterDeclaration(r)&&!Tt&&(Tt=r);break;case 189:if(i&262144){var Ft=r.typeParameter.name;if(Ft&&t===Ft.escapedText){mr=r.typeParameter.symbol;break e}}break}Sp(r)&&(Zr=r),Br=r,r=e.isJSDocTemplateTag(r)&&e.getEffectiveContainerForJSDocTemplateTag(r)||r.parent}if(u&&mr&&(!Zr||mr!==Zr.symbol)&&(mr.isReferenced|=i),!mr){if(Br&&(e.Debug.assert(Br.kind===303),Br.commonJsModuleIndicator&&t==="exports"&&i&Br.symbol.flags))return Br.symbol;L||(mr=le(kr,t,i))}if(!mr&&nr&&e.isInJSFile(nr)&&nr.parent&&e.isRequireCall(nr.parent,!1))return He;if(!mr){if(o&&Te&&(!Vt||!nd(Vt,t,s)&&!Dp(Vt)&&!Gd(Vt,t,i)&&!Lp(Vt,t)&&!tm(Vt,t,i)&&!Wd(Vt,t,i)&&!Bd(Vt,t,i))){var mn=void 0;if(W&&XlTt.pos&&Wt.parent.locals&&le(Wt.parent.locals,bn.escapedName,i)===bn&&Fr(Vt,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(Tt.name),e.declarationNameToString(Vt))}mr&&Vt&&i&111551&&mr.flags&2097152&&Md(mr,t,Vt)}return mr}function Md(r,t,i){if(!e.isValidTypeOnlyAliasUseSite(i)){var o=An(r);if(o){var s=o.kind===274?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,u=e.unescapeLeadingUnderscores(t);Pd(Fr(i,s,u),o,u)}}}function Pd(r,t,i){return t?e.addRelatedInfo(r,e.createDiagnosticForNode(t,t.kind===274?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,i)):r}function rm(r,t){return r.kind!==213&&r.kind!==212?e.isTypeQueryNode(r)||(e.isFunctionLikeDeclaration(r)||r.kind===166&&!e.isStatic(r))&&(!t||t!==r.name):t&&t===r.name?!1:r.asteriskToken||e.hasSyntacticModifier(r,256)?!0:!e.getImmediatelyInvokedFunctionExpression(r)}function Sp(r){switch(r.kind){case 255:case 256:case 257:case 259:case 258:case 260:return!0;default:return!1}}function Yl(r){return e.isString(r)?e.unescapeLeadingUnderscores(r):e.declarationNameToString(r)}function Om(r,t){if(r.declarations)for(var i=0,o=r.declarations;i=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",we=o.exports.get("export="),Ue=we.valueDeclaration,ze=Fr(r.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Wa(o),le);Ue&&e.addRelatedInfo(ze,e.createDiagnosticForNode(Ue,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,le))}else Pu(o,r);else if(W||L){var nr=ul(o,t)||Mo(o,t);return Ql(r,o,nr,!1),nr}return Ql(r,s,void 0,!1),s}}function Pu(r,t){var i,o,s;if(!((i=r.exports)===null||i===void 0)&&i.has(t.symbol.escapedName))Fr(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Wa(r),Wa(t.symbol));else{var u=Fr(t.name,e.Diagnostics.Module_0_has_no_default_export,Wa(r)),L=(o=r.exports)===null||o===void 0?void 0:o.get("__export");if(L){var W=(s=L.declarations)===null||s===void 0?void 0:s.find(function(le){var we,Ue;return!!(e.isExportDeclaration(le)&&le.moduleSpecifier&&(!((Ue=(we=Ps(le,le.moduleSpecifier))===null||we===void 0?void 0:we.exports)===null||Ue===void 0)&&Ue.has("default")))});W&&e.addRelatedInfo(u,e.createDiagnosticForNode(W,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function Js(r,t){var i=r.parent.parent.moduleSpecifier,o=Ps(r,i),s=Gu(o,i,t,!1);return Ql(r,o,s,!1),s}function vc(r,t){var i=r.parent.moduleSpecifier,o=i&&Ps(r,i),s=i&&Gu(o,i,t,!1);return Ql(r,o,s,!1),s}function od(r,t){if(r===We&&t===We)return We;if(r.flags&790504)return r;var i=po(r.flags|t.flags,r.escapedName);return i.declarations=e.deduplicate(e.concatenate(r.declarations,t.declarations),e.equateValues),i.parent=r.parent||t.parent,r.valueDeclaration&&(i.valueDeclaration=r.valueDeclaration),t.members&&(i.members=new e.Map(t.members)),r.exports&&(i.exports=new e.Map(r.exports)),i}function wm(r,t,i,o){if(r.flags&1536){var s=zs(r).get(t.escapedText),u=Mo(s,o);return Ql(i,s,u,!1),u}}function sd(r,t){if(r.flags&3){var i=r.valueDeclaration.type;if(i)return Mo(Ii(Da(i),t))}}function Fu(r,t,i){var o,s;i===void 0&&(i=!1);var u=e.getExternalModuleRequireArgument(r)||r.moduleSpecifier,L=Ps(r,u),W=!e.isPropertyAccessExpression(t)&&t.propertyName||t.name;if(e.isIdentifier(W)){var le=W.escapedText==="default"&&!!(Xe.allowSyntheticDefaultImports||e.getESModuleInterop(Xe)),we=Gu(L,u,!1,le);if(we&&W.escapedText){if(e.isShorthandAmbientModuleSymbol(L))return L;var Ue=void 0;L&&L.exports&&L.exports.get("export=")?Ue=Ii(Cn(we),W.escapedText,!0):Ue=sd(we,W.escapedText),Ue=Mo(Ue,i);var ze=wm(we,W,t,i);if(ze===void 0&&W.escapedText==="default"){var nr=(o=L.declarations)===null||o===void 0?void 0:o.find(e.isSourceFile);(id(u)||wu(nr,L,i,u))&&(ze=ul(L,i)||Mo(L,i))}var mr=ze&&Ue&&ze!==Ue?od(Ue,ze):ze||Ue;if(!mr){var Br=cl(L,r),Zr=e.declarationNameToString(W),Et=Ab(W,we);if(Et!==void 0){var Tt=Wa(Et),At=Fr(W,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Br,Zr,Tt);Et.valueDeclaration&&e.addRelatedInfo(At,e.createDiagnosticForNode(Et.valueDeclaration,e.Diagnostics._0_is_declared_here,Tt))}else!((s=L.exports)===null||s===void 0)&&s.has("default")?Fr(W,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Br,Zr):Mm(r,W,Zr,L,Br)}return mr}}}function Mm(r,t,i,o,s){var u,L,W=(L=(u=o.valueDeclaration)===null||u===void 0?void 0:u.locals)===null||L===void 0?void 0:L.get(t.escapedText),le=o.exports;if(W){var we=le==null?void 0:le.get("export=");if(we)Al(we,W)?hc(r,t,i,s):Fr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i);else{var Ue=le?e.find(rg(le),function(nr){return!!Al(nr,W)}):void 0,ze=Ue?Fr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,i,Wa(Ue)):Fr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,i);W.declarations&&e.addRelatedInfo.apply(void 0,Gt([ze],e.map(W.declarations,function(nr,mr){return e.createDiagnosticForNode(nr,mr===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}),!1))}}else Fr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i)}function hc(r,t,i,o){if(Le>=e.ModuleKind.ES2015){var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Fr(t,s,i)}else if(e.isInJSFile(r)){var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Fr(t,s,i)}else{var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Fr(t,s,i,i,o)}}function Fl(r,t){var i=e.isBindingElement(r)?e.getRootDeclaration(r):r.parent.parent.parent,o=Dl(i),s=Fu(i,o||r,t),u=r.propertyName||r.name;return o&&s&&e.isIdentifier(u)?Mo(Ii(Cn(s),u.escapedText),t):(Ql(r,void 0,s,!1),s)}function Dl(r){if(e.isVariableDeclaration(r)&&r.initializer&&e.isPropertyAccessExpression(r.initializer))return r.initializer}function Gl(r,t){var i=ul(r.parent.symbol,t);return Ql(r,void 0,i,!1),i}function _l(r,t,i){var o=r.parent.parent.moduleSpecifier?Fu(r.parent.parent,r,i):ts(r.propertyName||r.name,t,!1,i);return Ql(r,void 0,o,!1),o}function xp(r,t){var i=e.isExportAssignment(r)?r.expression:r.right,o=Df(i,t);return Ql(r,void 0,o,!1),o}function Df(r,t){if(e.isClassExpression(r))return Ds(r).symbol;if(!(!e.isEntityName(r)&&!e.isEntityNameExpression(r))){var i=ts(r,901119,!0,t);return i||(Ds(r),Zn(r).resolvedSymbol)}}function Jd(r,t){var i=r.initializer;return Df(i,t)}function ld(r,t){if(e.isBinaryExpression(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63)return Df(r.parent.right,t)}function go(r,t){switch(t===void 0&&(t=!1),r.kind){case 264:case 253:return Ap(r,t);case 266:return Mu(r,t);case 267:return Js(r,t);case 273:return vc(r,t);case 269:case 202:return Fl(r,t);case 274:return _l(r,901119,t);case 270:case 220:return xp(r,t);case 263:return Gl(r,t);case 295:return ts(r.name,901119,!0,t);case 294:return Jd(r,t);case 206:case 205:return ld(r,t);default:return e.Debug.fail()}}function Ll(r,t){return t===void 0&&(t=901119),r?(r.flags&(2097152|t))===2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function Mo(r,t){return!t&&Ll(r)?gs(r):r}function gs(r){e.Debug.assert((r.flags&2097152)!==0,"Should only get Alias here.");var t=Ja(r);if(t.target)t.target===$&&(t.target=We);else{t.target=$;var i=rc(r);if(!i)return e.Debug.fail();var o=go(i);t.target===$?t.target=o||We:Fr(i,e.Diagnostics.Circular_definition_of_import_alias_0,Wa(r))}return t.target}function im(r){var t=Ja(r);if(t.target!==$)return gs(r)}function Ql(r,t,i,o){if(!r||e.isPropertyAccessExpression(r))return!1;var s=wn(r);if(e.isTypeOnlyImportOrExportDeclaration(r)){var u=Ja(s);return u.typeOnlyDeclaration=r,!0}var L=Ja(s);return cd(L,t,o)||cd(L,i,o)}function cd(r,t,i){var o,s,u;if(t&&(r.typeOnlyDeclaration===void 0||i&&r.typeOnlyDeclaration===!1)){var L=(s=(o=t.exports)===null||o===void 0?void 0:o.get("export="))!==null&&s!==void 0?s:t,W=L.declarations&&e.find(L.declarations,e.isTypeOnlyImportOrExportDeclaration);r.typeOnlyDeclaration=(u=W??Ja(L).typeOnlyDeclaration)!==null&&u!==void 0?u:!1}return!!r.typeOnlyDeclaration}function An(r){if(r.flags&2097152){var t=Ja(r);return t.typeOnlyDeclaration||void 0}}function fs(r){var t=wn(r),i=gs(t);if(i){var o=i===We||i.flags&111551&&!Rv(i)&&!An(t);o&&ii(t)}}function ii(r){var t=Ja(r);if(!t.referenced){t.referenced=!0;var i=rc(r);if(!i)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(i)){var o=Mo(r);(o===We||o.flags&111551)&&Ds(i.moduleReference)}}}function wc(r){var t=Ja(r);t.constEnumReferenced||(t.constEnumReferenced=!0)}function ud(r,t){return r.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),r.kind===79||r.parent.kind===160?ts(r,1920,!1,t):(e.Debug.assert(r.parent.kind===264),ts(r,901119,!1,t))}function cl(r,t){return r.parent?cl(r.parent,t)+"."+Wa(r):Wa(r,t,void 0,20)}function Ln(r){for(;e.isQualifiedName(r.parent);)r=r.parent;return r}function Pm(r){var t=e.getFirstIdentifier(r),i=Vo(t,t.escapedText,111551,void 0,t,!0);if(i){for(;e.isQualifiedName(t.parent);){var o=Cn(i);if(i=Ii(o,t.parent.right.escapedText),!i)return;t=t.parent}return i}}function ts(r,t,i,o,s){if(!e.nodeIsMissing(r)){var u=1920|(e.isInJSFile(r)?t&111551:0),L;if(r.kind===79){var W=t===u||e.nodeIsSynthesized(r)?e.Diagnostics.Cannot_find_namespace_0:IA(e.getFirstIdentifier(r)),le=e.isInJSFile(r)&&!e.nodeIsSynthesized(r)?ds(r,t):void 0;if(L=Ga(Vo(s||r,r.escapedText,t,i||le?void 0:W,r,!0,!1)),!L)return Ga(le)}else if(r.kind===160||r.kind===205){var we=r.kind===160?r.left:r.expression,Ue=r.kind===160?r.right:r.name,ze=ts(we,u,i,!1,s);if(!ze||e.nodeIsMissing(Ue))return;if(ze===We)return ze;if(ze.valueDeclaration&&e.isInJSFile(ze.valueDeclaration)&&e.isVariableDeclaration(ze.valueDeclaration)&&ze.valueDeclaration.initializer&&lx(ze.valueDeclaration.initializer)){var nr=ze.valueDeclaration.initializer.arguments[0],mr=Ps(nr,nr);if(mr){var Br=ul(mr);Br&&(ze=Br)}}if(L=Ga(Rs(zs(ze),Ue.escapedText,t)),!L){if(!i){var Zr=cl(ze),Et=e.declarationNameToString(Ue),Tt=Ab(Ue,ze);if(Tt){Fr(Ue,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Zr,Et,Wa(Tt));return}var At=e.isQualifiedName(r)&&Ln(r),Vt=Vn&&t&788968&&At&&!e.isTypeOfExpression(At.parent)&&Pm(At);if(Vt){Fr(At,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.entityNameToString(At));return}if(t&1920&&e.isQualifiedName(r.parent)){var Nn=Ga(Rs(zs(ze),Ue.escapedText,788968));if(Nn){Fr(r.parent.right,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,Wa(Nn),e.unescapeLeadingUnderscores(r.parent.right.escapedText));return}}Fr(Ue,e.Diagnostics.Namespace_0_has_no_exported_member_1,Zr,Et)}return}}else throw e.Debug.assertNever(r,"Unknown entity name kind.");return e.Debug.assert((e.getCheckFlags(L)&1)===0,"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(r)&&e.isEntityName(r)&&(L.flags&2097152||r.parent.kind===270)&&Ql(e.getAliasDeclarationFromName(r),L,void 0,!0),L.flags&t||o?L:gs(L)}}function ds(r,t){if(My(r.parent)){var i=Mc(r.parent);if(i)return Vo(i,r.escapedText,t,void 0,r,!0)}}function Mc(r){var t=e.findAncestor(r,function(u){return e.isJSDocNode(u)||u.flags&4194304?e.isJSDocTypeAlias(u):"quit"});if(!t){var i=e.getJSDocHost(r);if(i&&e.isExpressionStatement(i)&&e.isBinaryExpression(i.expression)&&e.getAssignmentDeclarationKind(i.expression)===3){var o=wn(i.expression.left);if(o)return Ks(o)}if(i&&(e.isObjectLiteralMethod(i)||e.isPropertyAssignment(i))&&e.isBinaryExpression(i.parent.parent)&&e.getAssignmentDeclarationKind(i.parent.parent)===6){var o=wn(i.parent.parent.left);if(o)return Ks(o)}var s=e.getEffectiveJSDocHost(r);if(s&&e.isFunctionLike(s)){var o=wn(s);return o&&o.valueDeclaration}}}function Ks(r){var t=r.parent.valueDeclaration;if(t){var i=e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0;return i||t}}function Lf(r){var t=r.valueDeclaration;if(!(!t||!e.isInJSFile(t)||r.flags&524288||e.getExpandoInitializer(t,!1))){var i=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);if(i){var o=wn(i);if(o)return nT(o,r)}}}function Ps(r,t,i){var o=e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Classic,s=o?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return Pc(r,t,i?void 0:s)}function Pc(r,t,i,o){return o===void 0&&(o=!1),e.isStringLiteralLike(t)?$u(r,t.text,i,t,o):void 0}function $u(r,t,i,o,s){var u,L,W,le,we,Ue,ze;if(s===void 0&&(s=!1),e.startsWith(t,"@types/")){var nr=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,mr=e.removePrefix(t,"@types/");Fr(o,nr,mr,t)}var Br=Zg(t,!0);if(Br)return Br;var Zr=e.getSourceFileOfNode(r),Et=e.isStringLiteralLike(r)?r:((u=e.findAncestor(r,e.isImportCall))===null||u===void 0?void 0:u.arguments[0])||((L=e.findAncestor(r,e.isImportDeclaration))===null||L===void 0?void 0:L.moduleSpecifier)||((W=e.findAncestor(r,e.isExternalModuleImportEqualsDeclaration))===null||W===void 0?void 0:W.moduleReference.expression)||((le=e.findAncestor(r,e.isExportDeclaration))===null||le===void 0?void 0:le.moduleSpecifier)||((we=e.isModuleDeclaration(r)?r:r.parent&&e.isModuleDeclaration(r.parent)&&r.parent.name===r?r.parent:void 0)===null||we===void 0?void 0:we.name)||((Ue=e.isLiteralImportTypeNode(r)?r:void 0)===null||Ue===void 0?void 0:Ue.argument.literal),Tt=Et&&e.isStringLiteralLike(Et)?e.getModeForUsageLocation(Zr,Et):Zr.impliedNodeFormat,At=e.getResolvedModule(Zr,t,Tt),Vt=At&&e.getResolutionDiagnostic(Xe,At),Nn=At&&!Vt&&J.getSourceFile(At.resolvedFileName);if(Nn){if(Nn.symbol){if(At.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(At.extension)&&Af(!1,o,At,t),e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.NodeNext){var sn=Zr.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(r,e.isImportCall)||!!e.findAncestor(r,e.isImportEqualsDeclaration);sn&&Nn.impliedNodeFormat===e.ModuleKind.ESNext&&Fr(o,e.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead,t),Tt===e.ModuleKind.ESNext&&Xe.resolveJsonModule&&At.extension===".json"&&Fr(o,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)}return Ga(Nn.symbol)}i&&Fr(o,e.Diagnostics.File_0_is_not_a_module,Nn.fileName);return}if(dt){var ca=e.findBestPatternMatch(dt,function(Ca){return Ca.pattern},t);if(ca){var la=tn&&tn.get(t);return Ga(la||ca.symbol)}}if(At&&!e.resolutionExtensionIsTSOrJson(At.extension)&&Vt===void 0||Vt===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(s){var nr=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Fr(o,nr,t,At.resolvedFileName)}else Af(Ke&&!!i,o,At,t);return}if(i){if(At){var di=J.getProjectReferenceRedirect(At.resolvedFileName);if(di){Fr(o,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,di,At.resolvedFileName);return}}if(Vt)Fr(o,Vt,t,At.resolvedFileName);else{var Aa=e.tryExtractTSExtension(t),Li=e.pathIsRelative(t)&&!e.hasExtension(t),Bi=e.getEmitModuleResolutionKind(Xe),Ai=Bi===e.ModuleResolutionKind.Node12||Bi===e.ModuleResolutionKind.NodeNext;if(Aa){var nr=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,Io=e.removeExtension(t,Aa),Wt=Io;Le>=e.ModuleKind.ES2015&&(Wt+=Aa===".mts"?".mjs":Aa===".cts"?".cjs":".js"),Fr(o,nr,Aa,Wt)}else if(!Xe.resolveJsonModule&&e.fileExtensionIs(t,".json")&&e.getEmitModuleResolutionKind(Xe)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(Xe))Fr(o,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t);else if(Tt===e.ModuleKind.ESNext&&Ai&&Li){var Ft=e.getNormalizedAbsolutePath(t,e.getDirectoryPath(Zr.path)),mn=(ze=Lo.find(function(Ca){var Yn=Ca[0];return Ca[1],J.fileExists(Ft+Yn)}))===null||ze===void 0?void 0:ze[1];mn?Fr(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,t+mn):Fr(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else Fr(o,i,t)}}}function Af(r,t,i,o){var s=i.packageId,u=i.resolvedFileName,L=!e.isExternalModuleNameRelative(o)&&s?yc(s.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,s.name,e.mangleScopedPackageName(s.name)):Cf(s.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,s.name,o):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,o,e.mangleScopedPackageName(s.name)):void 0;mc(r,t,e.chainDiagnosticMessages(L,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,u))}function yc(r){return Ae().has(e.getTypesPackageName(r))}function Cf(r){return!!Ae().get(r)}function ul(r,t){if(r!=null&&r.exports){var i=Mo(r.exports.get("export="),t),o=om(Ga(i),Ga(r));return Ga(o)||r}}function om(r,t){if(!r||r===We||r===t||t.exports.size===1||r.flags&2097152)return r;var i=Ja(r);if(i.cjsExportMerged)return i.cjsExportMerged;var o=r.flags&33554432?r:Od(r);return o.flags=o.flags|512,o.exports===void 0&&(o.exports=e.createSymbolTable()),t.exports.forEach(function(s,u){u!=="export="&&o.exports.set(u,o.exports.has(u)?_s(o.exports.get(u),s):s)}),Ja(o).cjsExportMerged=o,i.cjsExportMerged=o}function Gu(r,t,i,o){var s=ul(r,i);if(!i&&s){if(!o&&!(s.flags&1539)&&!e.getDeclarationOfKind(s,303)){var u=Le>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Fr(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,u),s}var L=t.parent;if(e.isImportDeclaration(L)&&e.getNamespaceDeclarationNode(L)||e.isImportCall(L)){var W=e.isImportCall(L)?L.arguments[0]:L.moduleSpecifier,le=Cn(s),we=ox(le,s,r,W);if(we)return xf(s,we,L);if(e.getESModuleInterop(Xe)){var Ue=Qg(le,0);if((!Ue||!Ue.length)&&(Ue=Qg(le,1)),Ue&&Ue.length||Ii(le,"default",!0)){var ze=sx(le,s,r,W);return xf(s,ze,L)}}}}return s}function xf(r,t,i){var o=po(r.flags,r.escapedName);o.declarations=r.declarations?r.declarations.slice():[],o.parent=r.parent,o.target=r,o.originatingImport=i,r.valueDeclaration&&(o.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(o.constEnumOnlyModule=!0),r.members&&(o.members=new e.Map(r.members)),r.exports&&(o.exports=new e.Map(r.exports));var s=Dc(t);return o.type=ns(o,s.members,e.emptyArray,e.emptyArray,s.indexInfos),o}function fd(r){return r.exports.get("export=")!==void 0}function dd(r){return rg(Bl(r))}function If(r){var t=dd(r),i=ul(r);if(i!==r){var o=Cn(i);Bu(o)&&e.addRange(t,Yi(o))}return t}function bc(r,t){var i=Bl(r);i.forEach(function(u,L){Rf(L)||t(u,L)});var o=ul(r);if(o!==r){var s=Cn(o);Bu(s)&&QE(s,function(u,L){t(u,L)})}}function pd(r,t){var i=Bl(t);if(i)return i.get(r)}function Nf(r,t){var i=pd(r,t);if(i)return i;var o=ul(t);if(o!==t){var s=Cn(o);return Bu(s)?Ii(s,r):void 0}}function Bu(r){return!(r.flags&131068||e.getObjectFlags(r)&1||tl(r)||ki(r))}function zs(r){return r.flags&6256?d_(r,"resolvedExports"):r.flags&1536?Bl(r):r.exports||De}function Bl(r){var t=Ja(r);return t.resolvedExports||(t.resolvedExports=md(r))}function zc(r,t,i,o){t&&t.forEach(function(s,u){if(u!=="default"){var L=r.get(u);if(!L)r.set(u,s),i&&o&&i.set(u,{specifierText:e.getTextOfNode(o.moduleSpecifier)});else if(i&&o&&L&&Mo(L)!==Mo(s)){var W=i.get(u);W.exportsWithDuplicate?W.exportsWithDuplicate.push(o):W.exportsWithDuplicate=[o]}}})}function md(r){var t=[];return r=ul(r),i(r)||De;function i(o){if(o&&o.exports&&e.pushIfUnique(t,o)){var s=new e.Map(o.exports),u=o.exports.get("__export");if(u){var L=e.createSymbolTable(),W=new e.Map;if(u.declarations)for(var le=0,we=u.declarations;le=Ue?we.substr(0,Ue-3)+"...":we}function Mf(r,t){var i=rp(r.symbol)?gn(r,r.symbol.valueDeclaration):gn(r),o=rp(t.symbol)?gn(t,t.symbol.valueDeclaration):gn(t);return i===o&&(i=ep(r),o=ep(t)),[i,o]}function ep(r){return gn(r,void 0,64)}function rp(r){return r&&!!r.valueDeclaration&&e.isExpression(r.valueDeclaration)&&!au(r.valueDeclaration)}function Fc(r){return r===void 0&&(r=0),r&814775659}function tp(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===Jn(r.symbol)||!!(r.flags&524288)&&!!(e.getObjectFlags(r)&16777216))}function Fm(){return{typeToTypeNode:function(Jr,Sr,bn,nn){return r(Sr,bn,nn,function(Wn){return o(Jr,Wn)})},indexInfoToIndexSignatureDeclaration:function(Jr,Sr,bn,nn){return r(Sr,bn,nn,function(Wn){return we(Jr,Wn,void 0)})},signatureToSignatureDeclaration:function(Jr,Sr,bn,nn,Wn){return r(bn,nn,Wn,function(Tn){return Ue(Jr,Sr,Tn)})},symbolToEntityName:function(Jr,Sr,bn,nn,Wn){return r(bn,nn,Wn,function(Tn){return Aa(Jr,Tn,Sr,!1)})},symbolToExpression:function(Jr,Sr,bn,nn,Wn){return r(bn,nn,Wn,function(Tn){return Li(Jr,Tn,Sr)})},symbolToTypeParameterDeclarations:function(Jr,Sr,bn,nn){return r(Sr,bn,nn,function(Wn){return Tt(Jr,Wn)})},symbolToParameterDeclaration:function(Jr,Sr,bn,nn){return r(Sr,bn,nn,function(Wn){return mr(Jr,Wn)})},typeParameterToDeclaration:function(Jr,Sr,bn,nn){return r(Sr,bn,nn,function(Wn){return nr(Jr,Wn)})},symbolTableToDeclarationStatements:function(Jr,Sr,bn,nn,Wn){return r(Sr,bn,nn,function(Tn){return Fi(Jr,Tn,Wn)})}};function r(Jr,Sr,bn,nn){var Wn,Tn;e.Debug.assert(Jr===void 0||(Jr.flags&8)===0);var Gn={enclosingDeclaration:Jr,flags:Sr||0,tracker:bn&&bn.trackSymbol?bn:{trackSymbol:function(){return!1},moduleResolverHost:Sr&134217728?{getCommonSourceDirectory:J.getCommonSourceDirectory?function(){return J.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return J.getCurrentDirectory()},getSymlinkCache:e.maybeBind(J,J.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(J,J.useCaseSensitiveFileNames),redirectTargetsMap:J.redirectTargetsMap,getProjectReferenceRedirect:function(it){return J.getProjectReferenceRedirect(it)},isSourceOfProjectReferenceRedirect:function(it){return J.isSourceOfProjectReferenceRedirect(it)},fileExists:function(it){return J.fileExists(it)},getFileIncludeReasons:function(){return J.getFileIncludeReasons()},readFile:J.readFile?function(it){return J.readFile(it)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};Gn.tracker=t(Gn,Gn.tracker);var Yr=nn(Gn);return Gn.truncating&&Gn.flags&1&&((Tn=(Wn=Gn.tracker)===null||Wn===void 0?void 0:Wn.reportTruncationError)===null||Tn===void 0||Tn.call(Wn)),Gn.encounteredError?void 0:Yr}function t(Jr,Sr){var bn=Sr.trackSymbol;return On(On({},Sr),{reportCyclicStructureError:nn(Sr.reportCyclicStructureError),reportInaccessibleThisError:nn(Sr.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:nn(Sr.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:nn(Sr.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:nn(Sr.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:nn(Sr.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:nn(Sr.reportNonSerializableProperty),trackSymbol:bn&&function(){for(var Wn=[],Tn=0;Tn(Jr.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function o(Jr,Sr){R&&R.throwIfCancellationRequested&&R.throwIfCancellationRequested();var bn=Sr.flags&8388608;if(Sr.flags&=-8388609,!Jr){if(!(Sr.flags&262144)){Sr.encounteredError=!0;return}return Sr.approximateLength+=3,e.factory.createKeywordTypeNode(130)}if(Sr.flags&536870912||(Jr=To(Jr)),Jr.flags&1)return Jr.aliasSymbol?e.factory.createTypeReferenceNode(sn(Jr.aliasSymbol),W(Jr.aliasTypeArguments,Sr)):Jr===et?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,"unresolved"):(Sr.approximateLength+=3,e.factory.createKeywordTypeNode(Jr===jr?138:130));if(Jr.flags&2)return e.factory.createKeywordTypeNode(154);if(Jr.flags&4)return Sr.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(Jr.flags&8)return Sr.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(Jr.flags&64)return Sr.approximateLength+=6,e.factory.createKeywordTypeNode(157);if(Jr.flags&16&&!Jr.aliasSymbol)return Sr.approximateLength+=7,e.factory.createKeywordTypeNode(133);if(Jr.flags&1024&&!(Jr.flags&1048576)){var nn=Ss(Jr.symbol),Wn=ca(nn,Sr,788968);if(mo(nn)===Jr)return Wn;var Tn=e.symbolName(Jr.symbol);return e.isIdentifierText(Tn,0)?Id(Wn,e.factory.createTypeReferenceNode(Tn,void 0)):e.isImportTypeNode(Wn)?(Wn.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(Wn,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Tn)))):e.isTypeReferenceNode(Wn)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(Wn.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(Tn))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(Jr.flags&1056)return ca(Jr.symbol,Sr,788968);if(Jr.flags&128)return Sr.approximateLength+=Jr.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(Jr.value,!!(Sr.flags&268435456)),16777216));if(Jr.flags&256){var Gn=Jr.value;return Sr.approximateLength+=(""+Gn).length,e.factory.createLiteralTypeNode(Gn<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-Gn)):e.factory.createNumericLiteral(Gn))}if(Jr.flags&2048)return Sr.approximateLength+=e.pseudoBigIntToString(Jr.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(Jr.value));if(Jr.flags&512)return Sr.approximateLength+=Jr.intrinsicName.length,e.factory.createLiteralTypeNode(Jr.intrinsicName==="true"?e.factory.createTrue():e.factory.createFalse());if(Jr.flags&8192){if(!(Sr.flags&1048576)){if(wf(Jr.symbol,Sr.enclosingDeclaration))return Sr.approximateLength+=6,ca(Jr.symbol,Sr,111551);Sr.tracker.reportInaccessibleUniqueSymbolError&&Sr.tracker.reportInaccessibleUniqueSymbolError()}return Sr.approximateLength+=13,e.factory.createTypeOperatorNode(153,e.factory.createKeywordTypeNode(150))}if(Jr.flags&16384)return Sr.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(Jr.flags&32768)return Sr.approximateLength+=9,e.factory.createKeywordTypeNode(152);if(Jr.flags&65536)return Sr.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(Jr.flags&131072)return Sr.approximateLength+=5,e.factory.createKeywordTypeNode(143);if(Jr.flags&4096)return Sr.approximateLength+=6,e.factory.createKeywordTypeNode(150);if(Jr.flags&67108864)return Sr.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(mh(Jr))return Sr.flags&4194304&&(!Sr.encounteredError&&!(Sr.flags&32768)&&(Sr.encounteredError=!0),Sr.tracker.reportInaccessibleThisError&&Sr.tracker.reportInaccessibleThisError()),Sr.approximateLength+=4,e.factory.createThisTypeNode();if(!bn&&Jr.aliasSymbol&&(Sr.flags&16384||tf(Jr.aliasSymbol,Sr.enclosingDeclaration))){var Yr=W(Jr.aliasTypeArguments,Sr);return Rf(Jr.aliasSymbol.escapedName)&&!(Jr.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),Yr):ca(Jr.aliasSymbol,Sr,788968,Yr)}var it=e.getObjectFlags(Jr);if(it&4)return e.Debug.assert(!!(Jr.flags&524288)),Jr.node?Es(Jr,As):As(Jr);if(Jr.flags&262144||it&3){if(Jr.flags&262144&&e.contains(Sr.inferTypeParameters,Jr))return Sr.approximateLength+=e.symbolName(Jr.symbol).length+6,e.factory.createInferTypeNode(ze(Jr,Sr,void 0));if(Sr.flags&4&&Jr.flags&262144&&!tf(Jr.symbol,Sr.enclosingDeclaration)){var Pt=di(Jr,Sr);return Sr.approximateLength+=e.idText(Pt).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(Pt)),void 0)}return Jr.symbol?ca(Jr.symbol,Sr,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(Jr.flags&1048576&&Jr.origin&&(Jr=Jr.origin),Jr.flags&3145728){var Bt=Jr.flags&1048576?Ip(Jr.types):Jr.types;if(e.length(Bt)===1)return o(Bt[0],Sr);var Yt=W(Bt,Sr,!0);if(Yt&&Yt.length>0)return Jr.flags&1048576?e.factory.createUnionTypeNode(Yt):e.factory.createIntersectionTypeNode(Yt);!Sr.encounteredError&&!(Sr.flags&262144)&&(Sr.encounteredError=!0);return}if(it&48)return e.Debug.assert(!!(Jr.flags&524288)),Qs(Jr);if(Jr.flags&4194304){var _n=Jr.type;Sr.approximateLength+=6;var ya=o(_n,Sr);return e.factory.createTypeOperatorNode(140,ya)}if(Jr.flags&134217728){var ma=Jr.texts,qa=Jr.types,Vi=e.factory.createTemplateHead(ma[0]),Qa=e.factory.createNodeArray(e.map(qa,function(Pa,Oi){return e.factory.createTemplateLiteralTypeSpan(o(Pa,Sr),(Oi10)return s(Sr);Sr.symbolDepth.set(st,Bn+1)}Sr.visitedTypes.add(Vs);var Sn=Sr.approximateLength,zt=Oi(Pa),ni=Sr.approximateLength-Sn;return!Sr.reportedDiagnostic&&!Sr.encounteredError&&(Sr.truncating&&(zt.truncating=!0),zt.addedLength=ni,(fo=kt==null?void 0:kt.serializedTypes)===null||fo===void 0||fo.set($t,zt)),Sr.visitedTypes.delete(Vs),st&&Sr.symbolDepth.set(st,Bn),zt;function vi(ai){return!e.nodeIsSynthesized(ai)&&e.getParseTreeNode(ai)===ai?ai:e.setTextRange(e.factory.cloneNode(e.visitEachChild(ai,vi,e.nullTransformationContext)),ai)}}function Zf(Pa){if(Tl(Pa)||Pa.containsError)return ls(Pa);var Oi=Dc(Pa);if(!Oi.properties.length&&!Oi.indexInfos.length){if(!Oi.callSignatures.length&&!Oi.constructSignatures.length)return Sr.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(Oi.callSignatures.length===1&&!Oi.constructSignatures.length){var Xo=Oi.callSignatures[0],fo=Ue(Xo,178,Sr);return fo}if(Oi.constructSignatures.length===1&&!Oi.callSignatures.length){var Xo=Oi.constructSignatures[0],fo=Ue(Xo,179,Sr);return fo}}var Vs=e.filter(Oi.constructSignatures,function(Bn){return!!(Bn.flags&4)});if(e.some(Vs)){var Kr=e.map(Vs,ng),st=Oi.callSignatures.length+(Oi.constructSignatures.length-Vs.length)+Oi.indexInfos.length+(Sr.flags&2048?e.countWhere(Oi.properties,function(Bn){return!(Bn.flags&4194304)}):e.length(Oi.properties));return st&&Kr.push(pu(Oi)),o(So(Kr),Sr)}var kt=Sr.flags;Sr.flags|=4194304;var $t=Mv(Oi);Sr.flags=kt;var ea=e.factory.createTypeLiteralNode($t);return Sr.approximateLength+=2,e.setEmitFlags(ea,Sr.flags&1024?0:1),ea}function As(Pa){var Oi=ho(Pa);if(Pa.target===oe||Pa.target===Ge){if(Sr.flags&2){var Xo=o(Oi[0],Sr);return e.factory.createTypeReferenceNode(Pa.target===oe?"Array":"ReadonlyArray",[Xo])}var fo=o(Oi[0],Sr),Vs=e.factory.createArrayTypeNode(fo);return Pa.target===oe?Vs:e.factory.createTypeOperatorNode(144,Vs)}else if(Pa.target.objectFlags&8){if(Oi=e.sameMap(Oi,function(eo,zo){return S_(eo,!!(Pa.target.elementFlags[zo]&2))}),Oi.length>0){var Kr=cp(Pa),st=W(Oi.slice(0,Kr),Sr);if(st){if(Pa.target.labeledElementDeclarations)for(var kt=0;kt0){var cs=(Pa.target.typeParameters||e.emptyArray).length;ms=W(Oi.slice(kt,cs),Sr)}var $t=Sr.flags;Sr.flags|=16;var Yo=ca(Pa.symbol,Sr,788968,ms);return Sr.flags=$t,Sn?Id(Sn,Yo):Yo}}function Id(Pa,Oi){if(e.isImportTypeNode(Pa)){var Xo=Pa.typeArguments,fo=Pa.qualifier;fo&&(e.isIdentifier(fo)?fo=e.factory.updateIdentifier(fo,Xo):fo=e.factory.updateQualifiedName(fo,fo.left,e.factory.updateIdentifier(fo.right,Xo))),Xo=Oi.typeArguments;for(var Vs=wv(Oi),Kr=0,st=Vs;Kr2)return[o(Jr[0],Sr),e.factory.createTypeReferenceNode("... ".concat(Jr.length-2," more ..."),void 0),o(Jr[Jr.length-1],Sr)]}else return[e.factory.createTypeReferenceNode("...",void 0)];for(var nn=!(Sr.flags&64),Wn=nn?e.createUnderscoreEscapedMultiMap():void 0,Tn=[],Gn=0,Yr=0,it=Jr;Yr0)):Wn=[Jr],Wn;function Gn(Yr,it,Pt){var Bt=Of(Yr,Sr.enclosingDeclaration,it,!!(Sr.flags&128)),Yt;if(!Bt||Vu(Bt[0],Sr.enclosingDeclaration,Bt.length===1?it:ic(it))){var _n=tc(Bt?Bt[0]:Yr,Sr.enclosingDeclaration,it);if(e.length(_n)){Yt=_n.map(function(ao){return e.some(ao.declarations,Tc)?Nn(ao,Sr):void 0});var ya=_n.map(function(ao,Ls){return Ls});ya.sort(Wo);for(var ma=ya.map(function(ao){return _n[ao]}),qa=0,Vi=ma;qa1?qa(Wn,Wn.length-1,1):void 0,Yr=nn||At(Wn,0,Sr),it=Nn(Wn[0],Sr);!(Sr.flags&67108864)&&e.getEmitModuleResolutionKind(Xe)!==e.ModuleResolutionKind.Classic&&it.indexOf("/node_modules/")>=0&&(Sr.encounteredError=!0,Sr.tracker.reportLikelyUnsafeImportRequiredError&&Sr.tracker.reportLikelyUnsafeImportRequiredError(it));var Pt=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(it));if(Sr.tracker.trackExternalModuleSymbolOfImportTypeNode&&Sr.tracker.trackExternalModuleSymbolOfImportTypeNode(Wn[0]),Sr.approximateLength+=it.length+10,!Gn||e.isEntityName(Gn)){if(Gn){var Bt=e.isIdentifier(Gn)?Gn:Gn.right;Bt.typeArguments=void 0}return e.factory.createImportTypeNode(Pt,Gn,Yr,Tn)}else{var Yt=Vt(Gn),_n=Yt.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(Pt,_n,Yr,Tn),Yt.indexType)}}var ya=qa(Wn,Wn.length-1,0);if(e.isIndexedAccessTypeNode(ya))return ya;if(Tn)return e.factory.createTypeQueryNode(ya);var Bt=e.isIdentifier(ya)?ya:ya.right,ma=Bt.typeArguments;return Bt.typeArguments=void 0,e.factory.createTypeReferenceNode(ya,ma);function qa(Vi,Qa,yo){var Wo=Qa===Vi.length-1?nn:At(Vi,Qa,Sr),ao=Vi[Qa],Ls=Vi[Qa-1],ls;if(Qa===0)Sr.flags|=16777216,ls=Gc(ao,Sr),Sr.approximateLength+=(ls?ls.length:0)+1,Sr.flags^=16777216;else if(Ls&&zs(Ls)){var Qs=zs(Ls);e.forEachEntry(Qs,function(As,Id){if(Al(As,ao)&&!Op(Id)&&Id!=="export=")return ls=e.unescapeLeadingUnderscores(Id),!0})}if(ls||(ls=Gc(ao,Sr)),Sr.approximateLength+=ls.length+1,!(Sr.flags&16)&&Ls&&sf(Ls)&&sf(Ls).get(ao.escapedName)&&Al(sf(Ls).get(ao.escapedName),ao)){var Es=qa(Vi,Qa-1,yo);return e.isIndexedAccessTypeNode(Es)?e.factory.createIndexedAccessTypeNode(Es,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ls))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(Es,Wo),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ls)))}var Zf=e.setEmitFlags(e.factory.createIdentifier(ls,Wo),16777216);if(Zf.symbol=ao,Qa>yo){var Es=qa(Vi,Qa-1,yo);return e.isEntityName(Es)?e.factory.createQualifiedName(Es,Zf):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Zf}}function la(Jr,Sr,bn){var nn=Vo(Sr.enclosingDeclaration,Jr,788968,void 0,Jr,!1);return nn?!(nn.flags&262144&&nn===bn.symbol):!1}function di(Jr,Sr){var bn,nn;if(Sr.flags&4&&Sr.typeParameterNames){var Wn=Sr.typeParameterNames.get(Uc(Jr));if(Wn)return Wn}var Tn=Aa(Jr.symbol,Sr,788968,!0);if(!(Tn.kind&79))return e.factory.createIdentifier("(Missing type parameter)");if(Sr.flags&4){for(var Gn=Tn.escapedText,Yr=((bn=Sr.typeParameterNamesByTextNextNameCount)===null||bn===void 0?void 0:bn.get(Gn))||0,it=Gn;!((nn=Sr.typeParameterNamesByText)===null||nn===void 0)&&nn.has(it)||la(it,Sr,Jr);)Yr++,it="".concat(Gn,"_").concat(Yr);it!==Gn&&(Tn=e.factory.createIdentifier(it,Tn.typeArguments)),(Sr.typeParameterNamesByTextNextNameCount||(Sr.typeParameterNamesByTextNextNameCount=new e.Map)).set(Gn,Yr),(Sr.typeParameterNames||(Sr.typeParameterNames=new e.Map)).set(Uc(Jr),Tn),(Sr.typeParameterNamesByText||(Sr.typeParameterNamesByText=new e.Set)).add(Gn)}return Tn}function Aa(Jr,Sr,bn,nn){var Wn=Zr(Jr,Sr,bn);return nn&&Wn.length!==1&&!Sr.encounteredError&&!(Sr.flags&65536)&&(Sr.encounteredError=!0),Tn(Wn,Wn.length-1);function Tn(Gn,Yr){var it=At(Gn,Yr,Sr),Pt=Gn[Yr];Yr===0&&(Sr.flags|=16777216);var Bt=Gc(Pt,Sr);Yr===0&&(Sr.flags^=16777216);var Yt=e.setEmitFlags(e.factory.createIdentifier(Bt,it),16777216);return Yt.symbol=Pt,Yr>0?e.factory.createQualifiedName(Tn(Gn,Yr-1),Yt):Yt}}function Li(Jr,Sr,bn){var nn=Zr(Jr,Sr,bn);return Wn(nn,nn.length-1);function Wn(Tn,Gn){var Yr=At(Tn,Gn,Sr),it=Tn[Gn];Gn===0&&(Sr.flags|=16777216);var Pt=Gc(it,Sr);Gn===0&&(Sr.flags^=16777216);var Bt=Pt.charCodeAt(0);if(e.isSingleOrDoubleQuote(Bt)&&e.some(it.declarations,Tc))return e.factory.createStringLiteral(Nn(it,Sr));var Yt=Bt===35?Pt.length>1&&e.isIdentifierStart(Pt.charCodeAt(1),Se):e.isIdentifierStart(Bt,Se);if(Gn===0||Yt){var _n=e.setEmitFlags(e.factory.createIdentifier(Pt,Yr),16777216);return _n.symbol=it,Gn>0?e.factory.createPropertyAccessExpression(Wn(Tn,Gn-1),_n):_n}else{Bt===91&&(Pt=Pt.substring(1,Pt.length-1),Bt=Pt.charCodeAt(0));var ya=void 0;return e.isSingleOrDoubleQuote(Bt)?ya=e.factory.createStringLiteral(Pt.substring(1,Pt.length-1).replace(/\\./g,function(ma){return ma.substring(1)}),Bt===39):""+ +Pt===Pt&&(ya=e.factory.createNumericLiteral(+Pt)),ya||(ya=e.setEmitFlags(e.factory.createIdentifier(Pt,Yr),16777216),ya.symbol=it),e.factory.createElementAccessExpression(Wn(Tn,Gn-1),ya)}}}function Bi(Jr){var Sr=e.getNameOfDeclaration(Jr);return!!Sr&&e.isStringLiteral(Sr)}function Ai(Jr){var Sr=e.getNameOfDeclaration(Jr);return!!(Sr&&e.isStringLiteral(Sr)&&(Sr.singleQuote||!e.nodeIsSynthesized(Sr)&&e.startsWith(e.getTextOfNode(Sr,!1),"'")))}function Io(Jr,Sr){var bn=!!e.length(Jr.declarations)&&e.every(Jr.declarations,Ai),nn=Wt(Jr,Sr,bn);if(nn)return nn;var Wn=e.unescapeLeadingUnderscores(Jr.escapedName),Tn=!!e.length(Jr.declarations)&&e.every(Jr.declarations,Bi);return Ft(Wn,Tn,bn)}function Wt(Jr,Sr,bn){var nn=Ja(Jr).nameType;if(nn){if(nn.flags&384){var Wn=""+nn.value;return!e.isIdentifierText(Wn,e.getEmitScriptTarget(Xe))&&!Xf(Wn)?e.factory.createStringLiteral(Wn,!!bn):Xf(Wn)&&e.startsWith(Wn,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+Wn)):Ft(Wn)}if(nn.flags&8192)return e.factory.createComputedPropertyName(Li(nn.symbol,Sr,111551))}}function Ft(Jr,Sr,bn){return e.isIdentifierText(Jr,e.getEmitScriptTarget(Xe))?e.factory.createIdentifier(Jr):!Sr&&Xf(Jr)&&+Jr>=0?e.factory.createNumericLiteral(+Jr):e.factory.createStringLiteral(Jr,!!bn)}function mn(Jr){var Sr=On({},Jr);return Sr.typeParameterNames&&(Sr.typeParameterNames=new e.Map(Sr.typeParameterNames)),Sr.typeParameterNamesByText&&(Sr.typeParameterNamesByText=new e.Set(Sr.typeParameterNamesByText)),Sr.typeParameterSymbolList&&(Sr.typeParameterSymbolList=new e.Set(Sr.typeParameterSymbolList)),Sr.tracker=t(Sr,Sr.tracker),Sr}function Ca(Jr,Sr){return Jr.declarations&&e.find(Jr.declarations,function(bn){return!!e.getEffectiveTypeAnnotationNode(bn)&&(!Sr||!!e.findAncestor(bn,function(nn){return nn===Sr}))})}function Yn(Jr,Sr){return!(e.getObjectFlags(Sr)&4)||!e.isTypeReferenceNode(Jr)||e.length(Jr.typeArguments)>=uf(Sr.target.typeParameters)}function Ba(Jr,Sr,bn,nn,Wn,Tn){if(!Ua(Sr)&&nn){var Gn=Ca(bn,nn);if(Gn&&!e.isFunctionLikeDeclaration(Gn)&&!e.isGetAccessorDeclaration(Gn)){var Yr=e.getEffectiveTypeAnnotationNode(Gn);if(Da(Yr)===Sr&&Yn(Yr,Sr)){var it=Hn(Jr,Yr,Wn,Tn);if(it)return it}}}var Pt=Jr.flags;Sr.flags&8192&&Sr.symbol===bn&&(!Jr.enclosingDeclaration||e.some(bn.declarations,function(Yt){return e.getSourceFileOfNode(Yt)===e.getSourceFileOfNode(Jr.enclosingDeclaration)}))&&(Jr.flags|=1048576);var Bt=o(Sr,Jr);return Jr.flags=Pt,Bt}function Ti(Jr,Sr,bn,nn,Wn){if(!Ua(Sr)&&Jr.enclosingDeclaration){var Tn=bn.declaration&&e.getEffectiveReturnTypeNode(bn.declaration);if(e.findAncestor(Tn,function(Pt){return Pt===Jr.enclosingDeclaration})&&Tn){var Gn=Da(Tn),Yr=Gn.flags&262144&&Gn.isThisType?oi(Gn,bn.mapper):Gn;if(Yr===Sr&&Yn(Tn,Sr)){var it=Hn(Jr,Tn,nn,Wn);if(it)return it}}}return o(Sr,Jr)}function Pi(Jr,Sr,bn){var nn,Wn,Tn=!1,Gn=e.getFirstIdentifier(Jr);if(e.isInJSFile(Jr)&&(e.isExportsIdentifier(Gn)||e.isModuleExportsAccessExpression(Gn.parent)||e.isQualifiedName(Gn.parent)&&e.isModuleIdentifier(Gn.parent.left)&&e.isExportsIdentifier(Gn.parent.right)))return Tn=!0,{introducesError:Tn,node:Jr};var Yr=ts(Gn,67108863,!0,!0);if(Yr&&(nf(Yr,Sr.enclosingDeclaration,67108863,!1).accessibility!==0?Tn=!0:((Wn=(nn=Sr.tracker)===null||nn===void 0?void 0:nn.trackSymbol)===null||Wn===void 0||Wn.call(nn,Yr,Sr.enclosingDeclaration,67108863),bn==null||bn(Yr)),e.isIdentifier(Jr))){var it=Yr.flags&262144?di(mo(Yr),Sr):e.factory.cloneNode(Jr);return it.symbol=Yr,{introducesError:Tn,node:e.setEmitFlags(e.setOriginalNode(it,Jr),16777216)}}return{introducesError:Tn,node:Jr}}function Hn(Jr,Sr,bn,nn){R&&R.throwIfCancellationRequested&&R.throwIfCancellationRequested();var Wn=!1,Tn=e.getSourceFileOfNode(Sr),Gn=e.visitNode(Sr,Yr);if(Wn)return;return Gn===Sr?e.setTextRange(e.factory.cloneNode(Sr),Sr):Gn;function Yr(it){if(e.isJSDocAllType(it)||it.kind===317)return e.factory.createKeywordTypeNode(130);if(e.isJSDocUnknownType(it))return e.factory.createKeywordTypeNode(154);if(e.isJSDocNullableType(it))return e.factory.createUnionTypeNode([e.visitNode(it.type,Yr),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(it))return e.factory.createUnionTypeNode([e.visitNode(it.type,Yr),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(it))return e.visitNode(it.type,Yr);if(e.isJSDocVariadicType(it))return e.factory.createArrayTypeNode(e.visitNode(it.type,Yr));if(e.isJSDocTypeLiteral(it))return e.factory.createTypeLiteralNode(e.map(it.jsDocPropertyTags,function(Qa){var yo=e.isIdentifier(Qa.name)?Qa.name:Qa.name.right,Wo=ia(Da(it),yo.escapedText),ao=Wo&&Qa.typeExpression&&Da(Qa.typeExpression.type)!==Wo?o(Wo,Jr):void 0;return e.factory.createPropertySignature(void 0,yo,Qa.isBracketed||Qa.typeExpression&&e.isJSDocOptionalType(Qa.typeExpression.type)?e.factory.createToken(57):void 0,ao||Qa.typeExpression&&e.visitNode(Qa.typeExpression.type,Yr)||e.factory.createKeywordTypeNode(130))}));if(e.isTypeReferenceNode(it)&&e.isIdentifier(it.typeName)&&it.typeName.escapedText==="")return e.setOriginalNode(e.factory.createKeywordTypeNode(130),it);if((e.isExpressionWithTypeArguments(it)||e.isTypeReferenceNode(it))&&e.isJSDocIndexSignature(it))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,e.visitNode(it.typeArguments[0],Yr))],e.visitNode(it.typeArguments[1],Yr))]);if(e.isJSDocFunctionType(it))if(e.isJSDocConstructSignature(it)){var Pt;return e.factory.createConstructorTypeNode(it.modifiers,e.visitNodes(it.typeParameters,Yr),e.mapDefined(it.parameters,function(Qa,yo){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText==="new"?(Pt=Qa.type,void 0):e.factory.createParameterDeclaration(void 0,void 0,ma(Qa),qa(Qa,yo),Qa.questionToken,e.visitNode(Qa.type,Yr),void 0)}),e.visitNode(Pt||it.type,Yr)||e.factory.createKeywordTypeNode(130))}else return e.factory.createFunctionTypeNode(e.visitNodes(it.typeParameters,Yr),e.map(it.parameters,function(Qa,yo){return e.factory.createParameterDeclaration(void 0,void 0,ma(Qa),qa(Qa,yo),Qa.questionToken,e.visitNode(Qa.type,Yr),void 0)}),e.visitNode(it.type,Yr)||e.factory.createKeywordTypeNode(130));if(e.isTypeReferenceNode(it)&&e.isInJSDoc(it)&&(!Yn(it,Da(it))||YD(it)||We===og(it,788968,!0)))return e.setOriginalNode(o(Da(it),Jr),it);if(e.isLiteralImportTypeNode(it)){var Bt=Zn(it).resolvedSymbol;return e.isInJSDoc(it)&&Bt&&(!it.isTypeOf&&!(Bt.flags&788968)||!(e.length(it.typeArguments)>=uf(gu(Bt))))?e.setOriginalNode(o(Da(it),Jr),it):e.factory.updateImportTypeNode(it,e.factory.updateLiteralTypeNode(it.argument,Vi(it,it.argument.literal)),it.qualifier,e.visitNodes(it.typeArguments,Yr,e.isTypeNode),it.isTypeOf)}if(e.isEntityName(it)||e.isEntityNameExpression(it)){var Yt=Pi(it,Jr,bn),_n=Yt.introducesError,ya=Yt.node;if(Wn=Wn||_n,ya!==it)return ya}return Tn&&e.isTupleTypeNode(it)&&e.getLineAndCharacterOfPosition(Tn,it.pos).line===e.getLineAndCharacterOfPosition(Tn,it.end).line&&e.setEmitFlags(it,1),e.visitEachChild(it,Yr,e.nullTransformationContext);function ma(Qa){return Qa.dotDotDotToken||(Qa.type&&e.isJSDocVariadicType(Qa.type)?e.factory.createToken(25):void 0)}function qa(Qa,yo){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText==="this"?"this":ma(Qa)?"args":"arg".concat(yo)}function Vi(Qa,yo){if(nn){if(Jr.tracker&&Jr.tracker.moduleResolverHost){var Wo=VT(Qa);if(Wo){var ao=e.createGetCanonicalFileName(!!J.useCaseSensitiveFileNames),Ls={getCanonicalFileName:ao,getCurrentDirectory:function(){return Jr.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return Jr.tracker.moduleResolverHost.getCommonSourceDirectory()}},ls=e.getResolvedExternalModuleName(Ls,Wo);return e.factory.createStringLiteral(ls)}}}else if(Jr.tracker&&Jr.tracker.trackExternalModuleSymbolOfImportTypeNode){var Qs=Pc(yo,yo,void 0);Qs&&Jr.tracker.trackExternalModuleSymbolOfImportTypeNode(Qs)}return yo}}}function Fi(Jr,Sr,bn){var nn=vi(e.factory.createPropertyDeclaration,168,!0),Wn=vi(function(ot,cn,aa,qn,ra){return e.factory.createPropertySignature(cn,aa,qn,ra)},167,!1),Tn=Sr.enclosingDeclaration,Gn=[],Yr=new e.Set,it=[],Pt=Sr;Sr=On(On({},Pt),{usedSymbolNames:new e.Set(Pt.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:On(On({},Pt.tracker),{trackSymbol:function(ot,cn,aa){var qn=nf(ot,cn,aa,!1);if(qn.accessibility===0){var ra=Et(ot,Sr,aa);ot.flags&4||Es(ra[0])}else if(Pt.tracker&&Pt.tracker.trackSymbol)return Pt.tracker.trackSymbol(ot,cn,aa);return!1}})}),Sr.tracker=t(Sr,Sr.tracker),e.forEachEntry(Jr,function(ot,cn){var aa=e.unescapeLeadingUnderscores(cn);es(ot,aa)});var Bt=!bn,Yt=Jr.get("export=");return Yt&&Jr.size>1&&Yt.flags&2097152&&(Jr=e.createSymbolTable(),Jr.set("export=",Yt)),Ls(Jr),Qa(Gn);function _n(ot){return!!ot&&ot.kind===79}function ya(ot){return e.isVariableStatement(ot)?e.filter(e.map(ot.declarationList.declarations,e.getNameOfDeclaration),_n):e.filter([e.getNameOfDeclaration(ot)],_n)}function ma(ot){var cn=e.find(ot,e.isExportAssignment),aa=e.findIndex(ot,e.isModuleDeclaration),qn=aa!==-1?ot[aa]:void 0;if(qn&&cn&&cn.isExportEquals&&e.isIdentifier(cn.expression)&&e.isIdentifier(qn.name)&&e.idText(qn.name)===e.idText(cn.expression)&&qn.body&&e.isModuleBlock(qn.body)){var ra=e.filter(ot,function(Va){return!!(e.getEffectiveModifierFlags(Va)&1)}),Xa=qn.name,ja=qn.body;if(e.length(ra)&&(qn=e.factory.updateModuleDeclaration(qn,qn.decorators,qn.modifiers,qn.name,ja=e.factory.updateModuleBlock(ja,e.factory.createNodeArray(Gt(Gt([],qn.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(ra,function(Va){return ya(Va)}),function(Va){return e.factory.createExportSpecifier(!1,void 0,Va)})),void 0)],!1)))),ot=Gt(Gt(Gt([],ot.slice(0,aa),!0),[qn],!1),ot.slice(aa+1),!0)),!e.find(ot,function(Va){return Va!==qn&&e.nodeHasName(Va,Xa)})){Gn=[];var pi=!e.some(ja.statements,function(Va){return e.hasSyntacticModifier(Va,1)||e.isExportAssignment(Va)||e.isExportDeclaration(Va)});e.forEach(ja.statements,function(Va){As(Va,pi?1:0)}),ot=Gt(Gt([],e.filter(ot,function(Va){return Va!==qn&&Va!==cn}),!0),Gn,!0)}}return ot}function qa(ot){var cn=e.filter(ot,function(Ma){return e.isExportDeclaration(Ma)&&!Ma.moduleSpecifier&&!!Ma.exportClause&&e.isNamedExports(Ma.exportClause)});if(e.length(cn)>1){var aa=e.filter(ot,function(Ma){return!e.isExportDeclaration(Ma)||!!Ma.moduleSpecifier||!Ma.exportClause});ot=Gt(Gt([],aa,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(cn,function(Ma){return e.cast(Ma.exportClause,e.isNamedExports).elements})),void 0)],!1)}var qn=e.filter(ot,function(Ma){return e.isExportDeclaration(Ma)&&!!Ma.moduleSpecifier&&!!Ma.exportClause&&e.isNamedExports(Ma.exportClause)});if(e.length(qn)>1){var ra=e.group(qn,function(Ma){return e.isStringLiteral(Ma.moduleSpecifier)?">"+Ma.moduleSpecifier.text:">"});if(ra.length!==qn.length)for(var Xa=function(Ma){Ma.length>1&&(ot=Gt(Gt([],e.filter(ot,function(qi){return Ma.indexOf(qi)===-1}),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Ma,function(qi){return e.cast(qi.exportClause,e.isNamedExports).elements})),Ma[0].moduleSpecifier)],!1))},ja=0,pi=ra;ja=0){var aa=ot[cn],qn=e.mapDefined(aa.exportClause.elements,function(ra){if(!ra.propertyName){var Xa=e.indicesOf(ot),ja=e.filter(Xa,function(qi){return e.nodeHasName(ot[qi],ra.name)});if(e.length(ja)&&e.every(ja,function(qi){return yo(ot[qi])})){for(var pi=0,Va=ja;pi0&&e.isSingleOrDoubleQuote(qn.charCodeAt(0))?e.stripQuotes(qn):qn}return cn==="default"?cn="_default":cn==="export="&&(cn="_exports"),cn=e.isIdentifierText(cn,Se)&&!e.isStringANonContextualKeyword(cn)?cn:"_"+cn.replace(/[^a-zA-Z0-9]/g,"_"),cn}function es(ot,cn){var aa=b(ot);return Sr.remappedSymbolNames.has(aa)?Sr.remappedSymbolNames.get(aa):(cn=zo(ot,cn),Sr.remappedSymbolNames.set(aa,cn),cn)}}}function Qc(r,t,i,o){return i===void 0&&(i=16384),o?s(o).getText():e.usingSingleLineStringWriter(s);function s(u){var L=e.factory.createTypePredicateNode(r.kind===2||r.kind===3?e.factory.createToken(128):void 0,r.kind===1||r.kind===3?e.factory.createIdentifier(r.parameterName):e.factory.createThisTypeNode(),r.type&&pr.typeToTypeNode(r.type,t,Fc(i)|70221824|512)),W=e.createPrinter({removeComments:!0}),le=t&&e.getSourceFileOfNode(t);return W.writeNode(4,L,le,u),u}}function Ip(r){for(var t=[],i=0,o=0;o=0){for(var o=fc.length,s=i;s=0;i--){if(nt(fc[i],no[i]))return-1;if(fc[i]===r&&no[i]===t)return i}return-1}function nt(r,t){switch(t){case 0:return!!Ja(r).type;case 5:return!!Zn(r).resolvedEnumType;case 2:return!!Ja(r).declaredType;case 1:return!!r.resolvedBaseConstructorType;case 3:return!!r.resolvedReturnType;case 4:return!!r.immediateBaseConstraint;case 6:return!!r.resolvedTypeArguments;case 7:return!!r.baseTypesResolved}return e.Debug.assertNever(t)}function Ot(){return fc.pop(),no.pop(),uu.pop()}function fa(r){return e.findAncestor(e.getRootDeclaration(r),function(t){switch(t.kind){case 253:case 254:case 269:case 268:case 267:case 266:return!1;default:return!0}}).parent}function Ra(r){var t=mo(Ss(r));return t.typeParameters?Wf(t,e.map(t.typeParameters,function(i){return Ze})):t}function ia(r,t){var i=Ii(r,t);return i?Cn(i):void 0}function ti(r,t){var i;return ia(r,t)||((i=lp(r,t))===null||i===void 0?void 0:i.type)||rr}function Na(r){return r&&(r.flags&1)!==0}function Ua(r){return r===dr||!!(r.flags&1&&r.aliasSymbol)}function Bo(r){var t=wn(r);return t&&Ja(t).type||np(r,!1)}function fl(r,t,i){if(r=nl(r,function(Ue){return!(Ue.flags&98304)}),r.flags&131072)return Qn;if(r.flags&1048576)return ps(r,function(Ue){return fl(Ue,t,i)});var o=_a(e.map(t,fp));if(Wm(r)||jm(o)){if(o.flags&131072)return r;var s=WR();return s?ig(s,[r,o]):dr}for(var u=e.createSymbolTable(),L=0,W=Yi(r);L=2?HR(Ze):Dn;var L=e.map(o,function(Ue){return e.isOmittedExpression(Ue)?Ze:Jo(Ue,t,i)}),W=e.findLastIndex(o,function(Ue){return!(Ue===u||e.isOmittedExpression(Ue)||gg(Ue))},o.length-1)+1,le=e.map(o,function(Ue,ze){return Ue===u?4:ze>=W?2:1}),we=Su(L,le);return t&&(we=WD(we),we.pattern=r,we.objectFlags|=262144),we}function Is(r,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),r.kind===200?vs(r,t,i):gl(r,t,i)}function xl(r,t){return Hu(np(r,!0),r,t)}function El(r){var t=wn(r),i=NR(!1);return i&&t&&t===i}function Hu(r,t,i){return r?(r.flags&4096&&El(t.parent)&&(r=R0(t)),i&&tb(t,r),r.flags&8192&&(e.isBindingElement(t)||!t.type)&&r.symbol!==wn(t)&&(r=na),Ml(r)):(r=e.isParameter(t)&&t.dotDotDotToken?Dn:Ze,i&&(dl(t)||Vp(t,r)),r)}function dl(r){var t=e.getRootDeclaration(r),i=t.kind===163?t.parent:t;return Ub(i)}function Fs(r){var t=e.getEffectiveTypeAnnotationNode(r);if(t)return Da(t)}function Bf(r){var t=Ja(r);if(!t.type){var i=_u(r);t.type||(t.type=i)}return t.type}function _u(r){if(r.flags&4194304)return Ra(r);if(r===He)return Ze;if(r.flags&134217728&&r.valueDeclaration){var t=wn(e.getSourceFileOfNode(r.valueDeclaration)),i=po(t.flags,"exports");i.declarations=t.declarations?t.declarations.slice():[],i.parent=r,i.target=t,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),t.members&&(i.members=new e.Map(t.members)),t.exports&&(i.exports=new e.Map(t.exports));var o=e.createSymbolTable();return o.set("exports",i),ns(r,o,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(r.valueDeclaration);var s=r.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var u=e.getEffectiveTypeAnnotationNode(s);if(u===void 0)return Hr?rr:Ze;var L=zp(u);return Na(L)||L===rr?L:dr}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?Ml(Up(ui(s.statements[0].expression))):Qn;if(!T(r,0))return r.flags&512&&!(r.flags&67108864)?No(r):ip(r);var W;if(s.kind===270)W=Hu(Fs(s)||Ds(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))W=Rn(r);else if(e.isPropertyAccessExpression(s)||e.isElementAccessExpression(s)||e.isIdentifier(s)||e.isStringLiteralLike(s)||e.isNumericLiteral(s)||e.isClassDeclaration(s)||e.isFunctionDeclaration(s)||e.isMethodDeclaration(s)&&!e.isObjectLiteralMethod(s)||e.isMethodSignature(s)||e.isSourceFile(s)){if(r.flags&9136)return No(r);W=e.isBinaryExpression(s.parent)?Rn(r):Fs(s)||Ze}else if(e.isPropertyAssignment(s))W=Fs(s)||Ix(s);else if(e.isJsxAttribute(s))W=Fs(s)||_C(s);else if(e.isShorthandPropertyAssignment(s))W=Fs(s)||Lg(s.name,0);else if(e.isObjectLiteralMethod(s))W=Fs(s)||Nx(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))W=xl(s,!0);else if(e.isEnumDeclaration(s))W=No(r);else if(e.isEnumMember(s))W=ap(r);else if(e.isAccessor(s))W=on(r)||e.Debug.fail("Non-write accessor resolution must always produce a type");else return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(s.kind)+" for "+e.Debug.formatSymbol(r));return Ot()?W:r.flags&512&&!(r.flags&67108864)?No(r):ip(r)}function vl(r){if(r)if(r.kind===171){var t=e.getEffectiveReturnTypeNode(r);return t}else{var i=e.getEffectiveSetAccessorTypeAnnotationNode(r);return i}}function v(r){var t=vl(r);return t&&Da(t)}function H(r){var t=HT(r);return t&&t.symbol}function ye(r){return vm(Eu(r))}function tr(r){var t=Ja(r);return t.type||(t.type=Ht(r)||e.Debug.fail("Read type of accessor must always produce a type"))}function Ur(r){var t=Ja(r);return t.writeType||(t.writeType=Ht(r,!0))}function Ht(r,t){if(t===void 0&&(t=!1),!T(r,0))return dr;var i=on(r,t);if(!Ot()&&(i=Ze,Ke)){var o=e.getDeclarationOfKind(r,171);Fr(o,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Wa(r))}return i}function on(r,t){t===void 0&&(t=!1);var i=e.getDeclarationOfKind(r,171),o=e.getDeclarationOfKind(r,172),s=v(o);if(t&&s)return le(s,r);if(i&&e.isInJSFile(i)){var u=Gf(i);if(u)return le(u,r)}var L=v(i);if(L)return le(L,r);if(s)return s;if(i&&i.body){var W=Pb(i);return le(W,r)}if(o)return Ub(o)||mc(Ke,o,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Wa(r)),Ze;if(i)return e.Debug.assert(!!i,"there must exist a getter as we are current checking either setter or getter in this function"),Ub(i)||mc(Ke,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Wa(r)),Ze;return;function le(we,Ue){if(e.getCheckFlags(Ue)&1){var ze=Ja(Ue);return oi(we,ze.mapper)}return we}}function si(r){var t=Ku(Jn(r));return t.flags&8650752?t:t.flags&2097152?e.find(t.types,function(i){return!!(i.flags&8650752)}):void 0}function No(r){var t=Ja(r),i=t;if(!t.type){var o=r.valueDeclaration&&Ob(r.valueDeclaration,!1);if(o){var s=nT(r,o);s&&(r=t=s)}i.type=t.type=hs(r)}return t.type}function hs(r){var t=r.valueDeclaration;if(r.flags&1536&&e.isShorthandAmbientModuleSymbol(r))return Ze;if(t&&(t.kind===220||e.isAccessExpression(t)&&t.parent.kind===220))return Rn(r);if(r.flags&512&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var i=ul(r);if(i!==r){if(!T(r,0))return dr;var o=Ga(r.exports.get("export=")),s=Rn(o,o===i?void 0:i);return Ot()?s:ip(r)}}var u=Ul(16,r);if(r.flags&32){var L=si(r);return L?So([u,L]):u}else return br&&r.flags&16777216?zf(u):u}function ap(r){var t=Ja(r);return t.type||(t.type=Hl(r))}function Bc(r){var t=Ja(r);if(!t.type){var i=gs(r),o=r.declarations&&go(rc(r),!0),s=e.firstDefined(o==null?void 0:o.declarations,function(u){return e.isExportAssignment(u)?Fs(u):void 0});t.type=o!=null&&o.declarations&&Qb(o.declarations)&&r.declarations.length?Gr(o):Qb(r.declarations)?xr:s||(i.flags&111551?Cn(i):dr)}return t.type}function j_(r){var t=Ja(r);if(!t.type){if(!T(r,0))return t.type=dr;var i=oi(Cn(t.target),t.mapper);Ot()||(i=ip(r)),t.type=i}return t.type}function ip(r){var t=r.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Fr(r.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Wa(r)),dr):(Ke&&(t.kind!==163||t.initializer)&&Fr(r.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Wa(r)),Ze)}function H_(r){var t=Ja(r);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=t.deferralParent.flags&1048576?_a(t.deferralConstituents):So(t.deferralConstituents)),t.type}function jv(r){if(r.flags&98304){var t=Ur(r);if(t)return t}return Cn(r)}function Cn(r){var t=e.getCheckFlags(r);return t&65536?H_(r):t&1?j_(r):t&262144?XE(r):t&8192?zw(r):r.flags&7?Bf(r):r.flags&9136?No(r):r.flags&8?ap(r):r.flags&98304?tr(r):r.flags&2097152?Bc(r):dr}function Uf(r){return S_(Cn(r),!!(r.flags&16777216))}function of(r,t){return r!==void 0&&t!==void 0&&(e.getObjectFlags(r)&4)!==0&&r.target===t}function Gm(r){return e.getObjectFlags(r)&4?r.target:r}function kp(r,t){return i(r);function i(o){if(e.getObjectFlags(o)&7){var s=Gm(o);return s===t||e.some(Il(s),i)}else if(o.flags&2097152)return e.some(o.types,i);return!1}}function J_(r,t){for(var i=0,o=t;i0)return!0;if(r.flags&8650752){var t=l(r);return!!t&&fm(t)}return!1}function dm(r){return e.getEffectiveBaseTypeNode(r.symbol.valueDeclaration)}function bd(r,t,i){var o=e.length(t),s=e.isInJSFile(i);return e.filter(Ni(r,1),function(u){return(s||o>=uf(u.typeParameters))&&o<=e.length(u.typeParameters)})}function K_(r,t,i){var o=bd(r,t,i),s=e.map(t,Da);return e.sameMap(o,function(u){return e.some(u.typeParameters)?uh(u,s,e.isInJSFile(i)):u})}function Ku(r){if(!r.resolvedBaseConstructorType){var t=r.symbol.valueDeclaration,i=e.getEffectiveBaseTypeNode(t),o=dm(r);if(!o)return r.resolvedBaseConstructorType=Or;if(!T(r,1))return dr;var s=ui(o.expression);if(i&&o!==i&&(e.Debug.assert(!i.typeArguments),ui(i.expression)),s.flags&2621440&&Dc(s),!Ot())return Fr(r.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Wa(r.symbol)),r.resolvedBaseConstructorType=dr;if(!(s.flags&1)&&s!==ht&&!c_(s)){var u=Fr(o.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,gn(s));if(s.flags&262144){var L=ag(s),W=rr;if(L){var le=Ni(L,1);le[0]&&(W=_o(le[0]))}s.symbol.declarations&&e.addRelatedInfo(u,e.createDiagnosticForNode(s.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Wa(s.symbol),gn(W)))}return r.resolvedBaseConstructorType=dr}r.resolvedBaseConstructorType=s}return r.resolvedBaseConstructorType}function Jv(r){var t=e.emptyArray;if(r.symbol.declarations)for(var i=0,o=r.symbol.declarations;i=mr&&le<=Br){var Zr=Br?ky(nr,Vm(W,nr.typeParameters,mr,L)):wp(nr);Zr.typeParameters=r.localTypeParameters,Zr.resolvedReturnType=r,Zr.flags=s?Zr.flags|4:Zr.flags&-5,we.push(Zr)}}return we}function Xv(r,t,i,o,s){for(var u=0,L=r;u0)return;for(var o=1;o1&&(i=i===void 0?o:-1);for(var s=0,u=r[o];s1){var we=L.thisParameter,Ue=e.forEach(W,function(Vt){return Vt.thisParameter});if(Ue){var ze=So(e.mapDefined(W,function(Vt){return Vt.thisParameter&&Cn(Vt.thisParameter)}));we=zm(Ue,ze)}le=vy(L,W),le.thisParameter=we}(t||(t=[])).push(le)}}}}if(!e.length(t)&&i!==-1){for(var nr=r[i!==void 0?i:0],mr=nr.slice(),Br=function(Vt){if(Vt!==nr){var Nn=Vt[0];if(e.Debug.assert(!!Nn,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),mr=Nn.typeParameters&&e.some(mr,function(sn){return!!sn.typeParameters&&!Ey(Nn.typeParameters,sn.typeParameters)})?void 0:e.map(mr,function(sn){return Ty(sn,Nn)}),!mr)return"break"}},Zr=0,Et=r;Zr=s?r:t,L=u===r?t:r,W=u===r?o:s,le=Iu(r)||Iu(t),we=le&&!Iu(u),Ue=new Array(W+(we?1:0)),ze=0;ze=xu(u)&&ze>=xu(L),Tt=ze>=o?void 0:Tg(r,ze),At=ze>=s?void 0:Tg(t,ze),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=po(1|(Et&&!Zr?16777216:0),Vt||"arg".concat(ze));Nn.type=Zr?Xs(Br):Br,Ue[ze]=Nn}if(we){var sn=po(1,"args");sn.type=Xs(Vc(L,W)),L===t&&(sn.type=oi(sn.type,i)),Ue[W]=sn}return Ue}function Ty(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,u=z_(r,t,o),L=Yv(r.thisParameter,t.thisParameter,o),W=Math.max(r.minArgumentCount,t.minArgumentCount),le=yu(s,i,L,u,void 0,void 0,W,(r.flags|t.flags)&39);return le.compositeKind=1048576,le.compositeSignatures=e.concatenate(r.compositeKind!==2097152&&r.compositeSignatures||[r],[t]),o&&(le.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?bm(r.mapper,o):o),le}function Qv(r){var t=Gs(r[0]);if(t){for(var i=[],o=function(W){var le=W.keyType;e.every(r,function(we){return!!sc(we,le)})&&i.push(Tu(le,_a(e.map(r,function(we){return nu(we,le)})),e.some(r,function(we){return sc(we,le).isReadonly})))},s=0,u=t;s0}),i=e.map(r,fm);if(t>0&&t===e.countWhere(i,function(s){return s})){var o=i.indexOf(!0);i[o]=!1}return i}function Yg(r,t,i,o){for(var s=[],u=0;u0&&(ze=e.map(ze,function(nr){var mr=wp(nr);return mr.resolvedReturnType=Yg(_o(nr),s,u,we),mr})),i=Ly(i,ze)}t=Ly(t,Ni(Ue,0)),o=e.reduceLeft(Gs(Ue),function(nr,mr){return Ay(nr,mr,!1)},o)},le=0;le=7):t.flags&528?Xr:t.flags&12288?aL(Se>=2):t.flags&67108864?Qn:t.flags&4194304?mt:t.flags&2&&!br?Qn:t}function Ns(r){return To(wi(To(r)))}function qs(r,t,i){for(var o,s,u,L,W,le=r.flags&1048576,we=le?0:16777216,Ue=4,ze=le?0:8,nr=!1,mr=0,Br=r.types;mr2?(mn.checkFlags|=65536,mn.deferralParent=r,mn.deferralConstituents=Bi):mn.type=le?_a(Bi):So(Bi),mn}}function ys(r,t,i){var o,s,u=!((o=r.propertyCacheWithoutObjectFunctionPropertyAugment)===null||o===void 0)&&o.get(t)||!i?(s=r.propertyCache)===null||s===void 0?void 0:s.get(t):void 0;if(!u&&(u=qs(r,t,i),u)){var L=i?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):r.propertyCache||(r.propertyCache=e.createSymbolTable());L.set(t,u)}return u}function oc(r,t,i){var o=ys(r,t,i);return o&&!(e.getCheckFlags(o)&16)?o:void 0}function To(r){return r.flags&1048576&&r.objectFlags&33554432?r.resolvedReducedType||(r.resolvedReducedType=qu(r)):r.flags&2097152?(r.objectFlags&33554432||(r.objectFlags|=33554432|(e.some(Q_(r),_m)?67108864:0)),r.objectFlags&67108864?en:r):r}function qu(r){var t=e.sameMap(r.types,To);if(t===r.types)return r;var i=_a(t);return i.flags&1048576&&(i.resolvedReducedType=i),i}function _m(r){return m_(r)||sp(r)}function m_(r){return!(r.flags&16777216)&&(e.getCheckFlags(r)&131264)===192&&!!(Cn(r).flags&131072)}function sp(r){return!r.valueDeclaration&&!!(e.getCheckFlags(r)&1024)}function Z_(r,t){if(t.flags&2097152&&e.getObjectFlags(t)&67108864){var i=e.find(Q_(t),m_);if(i)return e.chainDiagnosticMessages(r,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,gn(t,void 0,536870912),Wa(i));var o=e.find(Q_(t),sp);if(o)return e.chainDiagnosticMessages(r,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,gn(t,void 0,536870912),Wa(o))}return r}function Ii(r,t,i){if(r=Ns(r),r.flags&524288){var o=Dc(r),s=o.members.get(t);if(s&&kf(s))return s;if(i)return;var u=o===yi?Re:o.callSignatures.length?ie:o.constructSignatures.length?_r:void 0;if(u){var L=Ed(u,t);if(L)return L}return Ed(Vn,t)}if(r.flags&3145728)return oc(r,t,i)}function Qg(r,t){if(r.flags&3670016){var i=Dc(r);return t===0?i.callSignatures:i.constructSignatures}return e.emptyArray}function Ni(r,t){return Qg(Ns(r),t)}function ih(r,t){return e.find(r,function(i){return i.keyType===t})}function oh(r,t){for(var i,o,s,u=0,L=r;u=0),i>=xu(t,3)}var o=e.getImmediatelyInvokedFunctionExpression(r.parent);return o?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=o.arguments.length:!1}function dR(r){return e.isPropertyDeclaration(r)&&r.questionToken}function n0(r){if(!e.isJSDocPropertyLikeTag(r))return!1;var t=r.isBracketed,i=r.typeExpression;return t||!!i&&i.type.kind===314}function ch(r,t,i,o){return{kind:r,parameterName:t,parameterIndex:i,type:o}}function uf(r){var t=0;if(r)for(var i=0;i=i&&u<=s){for(var L=r?r.slice():[],W=u;WW.arguments.length&&!mr||tg(ze);Zr||(s=i.length)}if((r.kind===171||r.kind===172)&&mm(r)&&(!L||!u)){var Et=r.kind===171?172:171,Tt=e.getDeclarationOfKind(wn(r),Et);Tt&&(u=H(Tt))}var At=r.kind===170?Jn(Ga(r.parent.symbol)):void 0,Vt=At?At.localTypeParameters:lh(r);(e.hasRestParameter(r)||e.isInJSFile(r)&&pR(r,i))&&(o|=1),(e.isConstructorTypeNode(r)&&e.hasSyntacticModifier(r,128)||e.isConstructorDeclaration(r)&&e.hasSyntacticModifier(r.parent,128))&&(o|=4),t.resolvedSignature=yu(r,Vt,u,i,void 0,void 0,s,o)}return t.resolvedSignature}function pR(r,t){if(e.isJSDocSignature(r)||!i0(r))return!1;var i=e.lastOrUndefined(r.parameters),o=i?e.getJSDocParameterTags(i):e.getJSDocTags(r).filter(e.isJSDocParameterTag),s=e.firstDefined(o,function(L){return L.typeExpression&&e.isJSDocVariadicType(L.typeExpression.type)?L.typeExpression.type:void 0}),u=po(3,"args",32768);return u.type=s?Xs(Da(s.type)):Dn,s&&t.pop(),t.push(u),!0}function a0(r){if(e.isInJSFile(r)&&e.isFunctionLikeDeclaration(r)){var t=e.getJSDocTypeTag(r);return(t==null?void 0:t.typeExpression)&&Xm(Da(t.typeExpression))}}function mR(r){var t=a0(r);return t&&_o(t)}function i0(r){var t=Zn(r);return t.containsArgumentsReference===void 0&&(t.flags&8192?t.containsArgumentsReference=!0:t.containsArgumentsReference=i(r.body)),t.containsArgumentsReference;function i(o){if(!o)return!1;switch(o.kind){case 79:return o.escapedText===Wr.escapedName&&Ov(o)===Wr;case 166:case 168:case 171:case 172:return o.name.kind===161&&i(o.name);case 205:case 206:return i(o.expression);default:return!e.nodeStartsNewLexicalEnvironment(o)&&!e.isPartOfTypeNode(o)&&!!e.forEachChild(o,i)}}}function Pp(r){if(!r||!r.declarations)return e.emptyArray;for(var t=[],i=0;i0&&o.body){var s=r.declarations[i-1];if(o.parent===s.parent&&o.kind===s.kind&&o.pos===s.end)continue}t.push(Eu(o))}}return t}function wD(r){var t=Ps(r,r);if(t){var i=ul(t);if(i)return Cn(i)}return Ze}function vm(r){if(r.thisParameter)return Cn(r.thisParameter)}function Lc(r){if(!r.resolvedTypePredicate){if(r.target){var t=Lc(r.target);r.resolvedTypePredicate=t?WO(t,r.mapper):to}else if(r.compositeSignatures)r.resolvedTypePredicate=rO(r.compositeSignatures,r.compositeKind)||to;else{var i=r.declaration&&e.getEffectiveReturnTypeNode(r.declaration),o=void 0;if(!i&&e.isInJSFile(r.declaration)){var s=a0(r.declaration);s&&r!==s&&(o=Lc(s))}r.resolvedTypePredicate=i&&e.isTypePredicateNode(i)?_R(i,r):o||to}e.Debug.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===to?void 0:r.resolvedTypePredicate}function _R(r,t){var i=r.parameterName,o=r.type&&Da(r.type);return i.kind===191?ch(r.assertsModifier?2:0,void 0,void 0,o):ch(r.assertsModifier?3:1,i.escapedText,e.findIndex(t.parameters,function(s){return s.escapedName===i.escapedText}),o)}function MD(r,t,i){return t!==2097152?_a(r,i):So(r)}function _o(r){if(!r.resolvedReturnType){if(!T(r,3))return dr;var t=r.target?oi(_o(r.target),r.mapper):r.compositeSignatures?oi(MD(e.map(r.compositeSignatures,_o),r.compositeKind,2),r.mapper):__(r.declaration)||(e.nodeIsMissing(r.declaration.body)?Ze:Pb(r.declaration));if(r.flags&8?t=gA(t):r.flags&16&&(t=zf(t)),!Ot()){if(r.declaration){var i=e.getEffectiveReturnTypeNode(r.declaration);if(i)Fr(i,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Ke){var o=r.declaration,s=e.getNameOfDeclaration(o);s?Fr(s,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(s)):Fr(o,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}t=Ze}r.resolvedReturnType=t}return r.resolvedReturnType}function __(r){if(r.kind===170)return Jn(Ga(r.parent.symbol));if(e.isJSDocConstructSignature(r))return Da(r.parameters[0].type);var t=e.getEffectiveReturnTypeNode(r);if(t)return Da(t);if(r.kind===171&&mm(r)){var i=e.isInJSFile(r)&&Gf(r);if(i)return i;var o=e.getDeclarationOfKind(wn(r),172),s=v(o);if(s)return s}return mR(r)}function o0(r){return!r.resolvedReturnType&&Qe(r,3)>=0}function gR(r){return PD(r)||Ze}function PD(r){if(ce(r)){var t=Cn(r.parameters[r.parameters.length-1]),i=ki(t)?cv(t):t;return i&&nu(i,wt)}}function uh(r,t,i,o){var s=s0(r,Vm(t,r.typeParameters,uf(r.typeParameters),i));if(o){var u=jC(_o(s));if(u){var L=wp(u);L.typeParameters=o;var W=wp(s);return W.resolvedReturnType=ng(L),W}}return s}function s0(r,t){var i=r.instantiations||(r.instantiations=new e.Map),o=lc(t),s=i.get(o);return s||i.set(o,s=ky(r,t)),s}function ky(r,t){return b_(r,vR(r,t),!0)}function vR(r,t){return Ol(r.typeParameters,t)}function $g(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=hR(r)):r}function hR(r){return b_(r,VL(r.typeParameters),!0)}function yR(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=bR(r)):r}function bR(r){return uh(r,e.map(r.typeParameters,function(t){return t.target&&!kl(t.target)?t.target:t}),e.isInJSFile(r.declaration))}function ER(r){var t=r.typeParameters;if(t){if(r.baseSignatureCache)return r.baseSignatureCache;for(var i=VL(t),o=Ol(t,e.map(t,function(L){return kl(L)||rr})),s=e.map(t,function(L){return oi(L,o)||rr}),u=0;u1&&(t+=":"+u),o+=u}return t}function g_(r,t){return r?"@".concat(b(r))+(t?":".concat(lc(t)):""):""}function c0(r,t){for(var i=0,o=0,s=r;oo.length)){var le=L&&e.isExpressionWithTypeArguments(r)&&!e.isJSDocAugmentsTag(r.parent),we=u===o.length?le?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:le?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ue=gn(i,void 0,2);if(Fr(r,we,Ue,u,o.length),!L)return dr}if(r.kind===177&&uL(r,e.length(r.typeArguments)!==o.length))return u0(i,r,void 0);var ze=e.concatenate(i.outerTypeParameters,Vm(Py(r),o,u,L));return Wf(i,ze)}return Fp(r,t)?i:dr}function ig(r,t,i,o){var s=mo(r);if(s===jr&&G.has(r.escapedName)&&t&&t.length===1)return Gy(r,t[0]);var u=Ja(r),L=u.typeParameters,W=lc(t)+g_(i,o),le=u.instantiations.get(W);return le||u.instantiations.set(W,le=JL(s,Ol(L,Vm(t,L,uf(L),e.isInJSFile(r.valueDeclaration))),i,o)),le}function SR(r,t){if(e.getCheckFlags(t)&1048576){var i=Py(r),o=g_(t,i),s=me.get(o);return s||(s=Ho(1,"error"),s.aliasSymbol=t,s.aliasTypeArguments=i,me.set(o,s)),s}var u=mo(t),L=Ja(t).typeParameters;if(L){var W=e.length(r.typeArguments),le=uf(L);if(WL.length)return Fr(r,le===L.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Wa(t),le,L.length),dr;var we=Hm(r),Ue=we&&(HD(t)||!HD(we))?we:void 0;return ig(t,Py(r),Ue,v_(Ue))}return Fp(r,t)?u:dr}function HD(r){var t,i=(t=r.declarations)===null||t===void 0?void 0:t.find(e.isTypeAlias);return!!(i&&e.getContainingFunction(i))}function DR(r){switch(r.kind){case 177:return r.typeName;case 227:var t=r.expression;if(e.isEntityNameExpression(t))return t}}function JD(r){return r.parent?"".concat(JD(r.parent),".").concat(r.escapedName):r.escapedName}function Oy(r){var t=r.kind===160?r.right:r.kind===205?r.name:r,i=t.escapedText;if(i){var o=r.kind===160?Oy(r.left):r.kind===205?Oy(r.expression):void 0,s=o?"".concat(JD(o),".").concat(i):i,u=Ne.get(s);return u||(Ne.set(s,u=po(524288,i,1048576)),u.parent=o,u.declaredType=et),u}return We}function og(r,t,i){var o=DR(r);if(!o)return We;var s=ts(o,t,i);return s&&s!==We?s:i?We:Oy(o)}function wy(r,t){if(t===We)return dr;if(t=Lf(t)||t,t.flags&96)return jD(r,t);if(t.flags&524288)return SR(r,t);var i=pm(t);if(i)return Fp(r,t)?Rl(i):dr;if(t.flags&111551&&My(r)){var o=LR(r,t);return o||(og(r,788968),Cn(t))}return dr}function LR(r,t){var i=Zn(r);if(!i.resolvedJSDocType){var o=Cn(t),s=o;if(t.valueDeclaration){var u=r.kind===199&&r.qualifier;o.symbol&&o.symbol!==t&&u&&(s=wy(r,o.symbol))}i.resolvedJSDocType=s}return i.resolvedJSDocType}function KD(r,t){if(t.flags&3||t===r)return r;var i="".concat(Uc(r),">").concat(Uc(t)),o=ir.get(i);if(o)return o;var s=$s(33554432);return s.baseType=r,s.substitute=t,ir.set(i,s),s}function zD(r){return r.kind===183&&r.elements.length===1}function qD(r,t,i){return zD(t)&&zD(i)?qD(r,t.elements[0],i.elements[0]):hm(Da(t))===r?Da(i):void 0}function XD(r,t){for(var i,o=!0;t&&!e.isStatement(t)&&t.kind!==318;){var s=t.parent;if(s.kind===163&&(o=!o),(o||r.flags&8650752)&&s.kind===188&&t===s.trueType){var u=qD(r,s.checkType,s.extendsType);u&&(i=e.append(i,u))}t=s}return i?KD(r,So(e.append(i,r))):r}function My(r){return!!(r.flags&4194304)&&(r.kind===177||r.kind===199)}function Fp(r,t){return r.typeArguments?(Fr(r,e.Diagnostics.Type_0_is_not_generic,t?Wa(t):r.typeName?e.declarationNameToString(r.typeName):c),!1):!0}function YD(r){if(e.isIdentifier(r.typeName)){var t=r.typeArguments;switch(r.typeName.escapedText){case"String":return Fp(r),xt;case"Number":return Fp(r),wt;case"Boolean":return Fp(r),Kn;case"Void":return Fp(r),jn;case"Undefined":return Fp(r),Or;case"Null":return Fp(r),ut;case"Function":case"function":return Fp(r),Re;case"array":return(!t||!t.length)&&!Ke?Dn:void 0;case"promise":return(!t||!t.length)&&!Ke?Gh(Ze):void 0;case"Object":if(t&&t.length===2){if(e.isJSDocIndexSignature(r)){var i=Da(t[0]),o=Da(t[1]),s=i===xt||i===wt?[Tu(i,o,!1)]:e.emptyArray;return ns(void 0,De,e.emptyArray,e.emptyArray,s)}return Ze}return Fp(r),Ke?void 0:Ze}}}function AR(r){var t=Da(r.type);return br?Qy(t,65536):t}function fh(r){var t=Zn(r);if(!t.resolvedType){if(e.isConstTypeReference(r)&&e.isAssertionExpression(r.parent))return t.resolvedSymbol=We,t.resolvedType=Ds(r.parent.expression);var i=void 0,o=void 0,s=788968;My(r)&&(o=YD(r),o||(i=og(r,s,!0),i===We?i=og(r,s|111551):og(r,s),o=wy(r,i))),o||(i=og(r,s),o=wy(r,i)),t.resolvedSymbol=i,t.resolvedType=o}return t.resolvedType}function Py(r){return e.map(r.typeArguments,Da)}function QD(r){var t=Zn(r);if(!t.resolvedType){var i=e.isThisIdentifier(r.exprName)?gb(r.exprName):ui(r.exprName);t.resolvedType=Rl(Ml(i))}return t.resolvedType}function ZD(r,t){function i(s){var u=s.declarations;if(u)for(var L=0,W=u;L=0)return ph(e.map(t,function(Tt,At){return r.elementFlags[At]&8?Tt:rr}))?ps(t[u],function(Tt){return dL(r,e.replaceElement(t,u,Tt))}):dr}for(var L=[],W=[],le=[],we=-1,Ue=-1,ze=-1,nr=function(Tt){var At=t[Tt],Vt=r.elementFlags[Tt];if(Vt&8)if(At.flags&58982400||Tl(At))Et(At,8,(i=r.labeledElementDeclarations)===null||i===void 0?void 0:i[Tt]);else if(ki(At)){var Nn=ho(At);if(Nn.length+L.length>=1e4)return Fr(de,e.isPartOfTypeNode(de)?e.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:e.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:dr};e.forEach(Nn,function(sn,ca){var la;return Et(sn,At.target.elementFlags[ca],(la=At.target.labeledElementDeclarations)===null||la===void 0?void 0:la[ca])})}else Et(vp(At)&&nu(At,wt)||dr,4,(o=r.labeledElementDeclarations)===null||o===void 0?void 0:o[Tt]);else Et(At,Vt,(s=r.labeledElementDeclarations)===null||s===void 0?void 0:s[Tt])},mr=0;mr=0&&Ueo.fixedLength?Rw(r)||Su(e.emptyArray):Su(ho(r).slice(t,s),o.elementFlags.slice(t,s),!1,o.labeledElementDeclarations&&o.labeledElementDeclarations.slice(t,s))}function pL(r){return _a(e.append(e.arrayOf(r.target.fixedLength,function(t){return Ac(""+t)}),Xu(r.target.readonly?Ge:oe)))}function mL(r,t){var i=e.findIndex(r.elementFlags,function(o){return!(o&t)});return i>=0?i:r.elementFlags.length}function Fy(r,t){return r.elementFlags.length-e.findLastIndex(r.elementFlags,function(i){return!(i&t)})-1}function XR(r){return jl(Da(r.type),!0)}function Uc(r){return r.id}function up(r,t){return e.binarySearch(r,t,Uc,e.compareValues)>=0}function v0(r,t){var i=e.binarySearch(r,t,Uc,e.compareValues);return i<0?(r.splice(~i,0,t),!0):!1}function YR(r,t,i){var o=i.flags;if(o&1048576)return _L(r,t|(eO(i)?1048576:0),i.types);if(!(o&131072))if(t|=o&205258751,o&465829888&&(t|=33554432),i===fr&&(t|=8388608),!br&&o&98304)e.getObjectFlags(i)&131072||(t|=4194304);else{var s=r.length,u=s&&i.id>r[s-1].id?~s:e.binarySearch(r,i,Uc,e.compareValues);u<0&&r.splice(~u,0,i)}return t}function _L(r,t,i){for(var o=0,s=i;o0;){L--;var le=r[L];if(s||le.flags&469499904)for(var we=le.flags&61603840?e.find(Yi(le),function(Et){return Du(Cn(Et))}):void 0,Ue=we&&Rl(Cn(we)),ze=0,nr=r;ze1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:r.map(function(Et){return Et.id})}),Fr(de,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(W++,we&&mr.flags&61603840){var Zr=ia(mr,we.escapedName);if(Zr&&Du(Zr)&&Rl(Zr)!==Ue)continue}if(Kf(le,mr,ri)&&(!(e.getObjectFlags(Gm(le))&1)||!(e.getObjectFlags(Gm(mr))&1)||E_(le,mr))){e.orderedRemoveItemAt(r,L);break}}}}return ue.set(i,r),r}function ZR(r,t,i){for(var o=r.length;o>0;){o--;var s=r[o],u=s.flags,L=u&402653312&&t&4||u&256&&t&8||u&2048&&t&64||u&8192&&t&4096||i&&u&32768&&t&16384||Bp(s)&&up(r,s.regularType);L&&e.orderedRemoveItemAt(r,o)}}function $R(r){var t=e.filter(r,cg);if(t.length)for(var i=r.length,o=function(){i--;var s=r[i];s.flags&128&&e.some(t,function(u){return AA(s,u)})&&e.orderedRemoveItemAt(r,i)};i>0;)o()}function eO(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function gL(r,t){for(var i=0,o=t;i=0&&up(u,Or)&&e.orderedRemoveItemAt(u,W)}if((L&402664320||L&16384&&L&32768)&&ZR(u,L,!!(t&2)),L&128&&L&134217728&&$R(u),t===2&&(u=QR(u,!!(L&524288)),!u))return dr;if(u.length===0)return L&65536?L&4194304?ut:ht:L&32768?L&4194304?Or:zr:en}if(!s&&L&1048576){var le=[];gL(le,r);for(var we=[],Ue=function(At){e.some(le,function(Vt){return up(Vt.types,At)})||we.push(At)},ze=0,nr=u;ze0;){i--;var o=r[i],s=o.flags&4&&t&128||o.flags&8&&t&256||o.flags&64&&t&2048||o.flags&4096&&t&8192;s&&e.orderedRemoveItemAt(r,i)}}function iO(r,t){for(var i=0,o=r;i0;){t--;var o=r[t];if(o.flags&134217728)for(var s=0,u=i;s=1e5?(e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:r.map(function(i){return i.id}),size:t}),Fr(de,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function cO(r){for(var t=bL(r),i=[],o=0;o=0;L--)if(r[L].flags&1048576){var W=r[L].types,le=W.length;s[L]=W[u%le],u=Math.floor(u/le)}var we=So(s);we.flags&131072||i.push(we)}return i}function uO(r){var t=Zn(r);if(!t.resolvedType){var i=Hm(r);t.resolvedType=So(e.map(r.types,Da),i,v_(i))}return t.resolvedType}function EL(r,t){var i=$s(4194304);return i.type=r,i.stringsOnly=t,i}function fO(r){var t=qd(4194304);return t.type=r,t}function TL(r,t){return t?r.resolvedStringIndexType||(r.resolvedStringIndexType=EL(r,!0)):r.resolvedIndexType||(r.resolvedIndexType=EL(r,!1))}function dO(r,t,i){var o=ru(r),s=Sc(r),u=lf(r.target||r);if(!u&&!i)return s;var L=[];if(X_(r)){if(jm(s))return TL(r,t);var W=wi(Y_(r));eh(W,8576,t,we)}else Sm(q_(s),we);jm(s)&&Sm(s,we);var le=i?nl(_a(L),function(Ue){return!(Ue.flags&5)}):_a(L);if(le.flags&1048576&&s.flags&1048576&&lc(le.types)===lc(s.types))return s;return le;function we(Ue){var ze=u?oi(u,ov(r.mapper,o,Ue)):Ue;L.push(ze===xt?oa:ze)}}function pO(r){var t=ru(r);return i(lf(r)||t);function i(o){return o.flags&68157439?!0:o.flags&16777216?o.root.isDistributive&&o.checkType===t:o.flags&137363456?e.every(o.types,i):o.flags&8388608?i(o.objectType)&&i(o.indexType):o.flags&33554432?i(o.substitute):o.flags&268435456?i(o.type):!1}}function fp(r){return e.isPrivateIdentifier(r)?en:e.isIdentifier(r)?Ac(e.unescapeLeadingUnderscores(r.escapedText)):Rl(e.isComputedPropertyName(r)?Yf(r):ui(r))}function sg(r,t,i){if(i||!(e.getDeclarationModifierFlagsFromSymbol(r)&24)){var o=Ja(qg(r)).nameType;if(!o){var s=e.getNameOfDeclaration(r.valueDeclaration);o=r.escapedName==="default"?Ac("default"):s&&fp(s)||(e.isKnownSymbol(r)?void 0:Ac(e.symbolName(r)))}if(o&&o.flags&t)return o}return en}function SL(r,t){return!!(r.flags&t||r.flags&2097152&&e.some(r.types,function(i){return SL(i,t)}))}function mO(r,t,i){var o=i&&(e.getObjectFlags(r)&7||r.aliasSymbol)?fO(r):void 0,s=e.map(Yi(r),function(L){return sg(L,t)}),u=e.map(Gs(r),function(L){return L!==Qo&&SL(L.keyType,t)?L.keyType===xt&&t&8?oa:L.keyType:en});return _a(e.concatenate(s,u),1,void 0,void 0,o)}function Xu(r,t,i){return t===void 0&&(t=cr),r=To(r),r.flags&1048576?So(e.map(r.types,function(o){return Xu(o,t,i)})):r.flags&2097152?_a(e.map(r.types,function(o){return Xu(o,t,i)})):r.flags&58982400||pg(r)||Tl(r)&&!pO(r)?TL(r,t):e.getObjectFlags(r)&32?dO(r,t,i):r===fr?fr:r.flags&2?en:r.flags&131073?mt:mO(r,(i?128:402653316)|(t?0:12584),t===cr&&!i)}function DL(r){if(cr)return r;var t=VR();return t?ig(t,[r,xt]):xt}function _O(r){var t=DL(Xu(r));return t.flags&131072?xt:t}function gO(r){var t=Zn(r);if(!t.resolvedType)switch(r.operator){case 140:t.resolvedType=Xu(Da(r.type));break;case 153:t.resolvedType=r.type.kind===150?R0(e.walkUpParenthesizedTypes(r.parent)):dr;break;case 144:t.resolvedType=Da(r.type);break;default:throw e.Debug.assertNever(r.operator)}return t.resolvedType}function vO(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=lg(Gt([r.head.text],e.map(r.templateSpans,function(i){return i.literal.text}),!0),e.map(r.templateSpans,function(i){return Da(i.type)}))),t.resolvedType}function lg(r,t){var i=e.findIndex(t,function(we){return!!(we.flags&1179648)});if(i>=0)return ph(t)?ps(t[i],function(we){return lg(r,e.replaceElement(t,i,we))}):dr;if(e.contains(t,fr))return fr;var o=[],s=[],u=r[0];if(!le(r,t))return xt;if(o.length===0)return Ac(u);if(s.push(u),e.every(s,function(we){return we===""})&&e.every(o,function(we){return!!(we.flags&4)}))return xt;var L="".concat(lc(o),"|").concat(e.map(s,function(we){return we.length}).join(","),"|").concat(s.join("")),W=sr.get(L);return W||sr.set(L,W=yO(s,o)),W;function le(we,Ue){for(var ze=0;ze=0){if(s&&qf(t,function(sn){return!sn.target.hasRestElement})&&!(u&16)){var nr=S0(s);ki(t)?Fr(nr,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(t),cp(t),e.unescapeLeadingUnderscores(le)):Fr(nr,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(le),gn(t))}return Nn(sc(t,wt)),ps(t,function(sn){var ca=cv(sn)||Or;return u&1?_a([ca,Or]):ca})}}if(!(i.flags&98304)&&bs(i,402665900)){if(t.flags&131073)return t;var mr=eg(t,i)||sc(t,xt);if(mr){if(u&2&&mr.keyType!==wt){W&&Fr(W,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,gn(i),gn(r));return}if(s&&mr.keyType===xt&&!bs(i,12)){var nr=S0(s);return Fr(nr,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i)),u&1?_a([mr.type,Or]):mr.type}return Nn(mr),u&1?_a([mr.type,Or]):mr.type}if(i.flags&131072)return en;if(nv(t))return Ze;if(W&&!uT(t)){if(Wp(t)){if(Ke&&i.flags&384)return ua.add(e.createDiagnosticForNode(W,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,gn(t))),Or;if(i.flags&12){var Br=e.map(t.properties,function(sn){return Cn(sn)});return _a(e.append(Br,Or))}}if(t.symbol===ur&&le!==void 0&&ur.exports.has(le)&&ur.exports.get(le).flags&418)Fr(W,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(le),gn(t));else if(Ke&&!Xe.suppressImplicitAnyIndexErrors&&!(u&128))if(le!==void 0&&wC(le,t)){var Zr=gn(t);Fr(W,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,le,Zr,Zr+"["+e.getTextOfNode(W.argumentExpression)+"]")}else if(nu(t,wt))Fr(W.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var Et=void 0;if(le!==void 0&&(Et=q1(le,t)))Et!==void 0&&Fr(W.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,le,gn(t),Et);else{var Tt=a6(t,W,i);if(Tt!==void 0)Fr(W,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,gn(t),Tt);else{var At=void 0;if(i.flags&1024)At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+gn(i)+"]",gn(t));else if(i.flags&8192){var Vt=cl(i.symbol,W);At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Vt+"]",gn(t))}else i.flags&128||i.flags&256?At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,gn(t)):i.flags&12&&(At=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,gn(i),gn(t)));At=e.chainDiagnosticMessages(At,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,gn(o),gn(t)),ua.add(e.createDiagnosticForNodeFromMessageChain(W,At))}}}return}}if(nv(t))return Ze;if(s){var nr=S0(s);i.flags&384?Fr(nr,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+i.value,gn(t)):i.flags&12?Fr(nr,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,gn(t),gn(i)):Fr(nr,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i))}if(Na(i))return i;return;function Nn(sn){sn&&sn.isReadonly&&W&&(e.isAssignmentTarget(W)||e.isDeleteTarget(W))&&Fr(W,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,gn(t))}}function S0(r){return r.kind===206?r.argumentExpression:r.kind===193?r.indexType:r.kind===161?r.expression:r}function AL(r){return!!(r.flags&77)}function cg(r){return!!(r.flags&134217728)&&e.every(r.types,AL)}function av(r){return!!iv(r)}function Wm(r){return!!(iv(r)&8388608)}function jm(r){return!!(iv(r)&16777216)}function iv(r){return r.flags&3145728?(r.objectFlags&4194304||(r.objectFlags|=4194304|e.reduceLeft(r.types,function(t,i){return t|iv(i)},0)),r.objectFlags&25165824):r.flags&33554432?(r.objectFlags&4194304||(r.objectFlags|=4194304|iv(r.substitute)|iv(r.baseType)),r.objectFlags&25165824):(r.flags&58982400||Tl(r)||pg(r)?8388608:0)|(r.flags&465829888&&!cg(r)?16777216:0)}function mh(r){return!!(r.flags&262144&&r.isThisType)}function jf(r,t){return r.flags&8388608?LO(r,t):r.flags&16777216?AO(r,t):r}function CL(r,t,i){if(r.flags&3145728){var o=e.map(r.types,function(s){return jf(Jl(s,t),i)});return r.flags&2097152||i?So(o):_a(o)}}function DO(r,t,i){if(t.flags&1048576){var o=e.map(t.types,function(s){return jf(Jl(r,s),i)});return i?So(o):_a(o)}}function LO(r,t){var i=t?"simplifiedForWriting":"simplifiedForReading";if(r[i])return r[i]===Ka?r:r[i];r[i]=Ka;var o=jf(r.objectType,t),s=jf(r.indexType,t),u=DO(o,s,t);if(u)return r[i]=u;if(!(s.flags&465829888)){var L=CL(o,s,t);if(L)return r[i]=L}if(pg(o)&&s.flags&296){var W=Yy(o,s.flags&8?0:o.target.fixedLength,0,t);if(W)return r[i]=W}return Tl(o)?r[i]=ps(IL(o,r.indexType),function(le){return jf(le,t)}):r[i]=r}function AO(r,t){var i=r.checkType,o=r.extendsType,s=pp(r),u=mp(r);if(u.flags&131072&&hm(s)===hm(i)){if(i.flags&1||Qi(Em(i),Em(o)))return jf(s,t);if(xL(i,o))return en}else if(s.flags&131072&&hm(u)===hm(i)){if(!(i.flags&1)&&Qi(Em(i),Em(o)))return en;if(i.flags&1||xL(i,o))return jf(u,t)}return r}function xL(r,t){return!!(_a([p_(r,t),en]).flags&131072)}function IL(r,t){var i=Ol([ru(r)],[t]),o=bm(r.mapper,i);return oi(bu(r),o)}function Jl(r,t,i,o,s,u){return i===void 0&&(i=0),dp(r,t,i,o,s,u)||(o?dr:rr)}function NL(r,t){return qf(r,function(i){if(i.flags&384){var o=hu(i);if(Xf(o)){var s=+o;return s>=0&&s=t?rr:i})}function bm(r,t){return r?jy(3,r,t):t}function UO(r,t){return r?jy(4,r,t):t}function y_(r,t,i){return i?jy(4,Jm(r,t),i):Jm(r,t)}function ov(r,t,i){return r?jy(4,r,Jm(t,i)):Jm(t,i)}function VO(r){return r.constraint===rr?r:r.restrictiveInstantiation||(r.restrictiveInstantiation=ac(r.symbol),r.restrictiveInstantiation.constraint=rr,r.restrictiveInstantiation)}function WL(r){var t=ac(r.symbol);return t.target=r,t}function WO(r,t){return ch(r.kind,r.parameterName,r.parameterIndex,oi(r.type,t))}function b_(r,t,i){var o;if(r.typeParameters&&!i){o=e.map(r.typeParameters,WL),t=bm(Ol(r.typeParameters,o),t);for(var s=0,u=o;s=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:r.id,instantiationDepth:ge,instantiationCount:ve}),Fr(de,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),dr;Fe++,ve++,ge++;var s=qO(r,t,i,o);return ge--,s}function qO(r,t,i,o){var s=r.flags;if(s&262144)return _p(r,t);if(s&524288){var u=r.objectFlags;if(u&52){if(u&4&&!r.node){var L=r.resolvedTypeArguments,W=Sd(L,t);return W!==L?g0(r.target,W):r}return u&1024?XO(r,t):jO(r,t,i,o)}return r}if(s&3145728){var le=r.flags&1048576?r.origin:void 0,we=le&&le.flags&3145728?le.types:r.types,Ue=Sd(we,t);if(Ue===we&&i===r.aliasSymbol)return r;var ze=i||r.aliasSymbol,nr=i?o:Sd(r.aliasTypeArguments,t);return s&2097152||le&&le.flags&2097152?So(Ue,ze,nr):_a(Ue,1,ze,nr)}if(s&4194304)return Xu(oi(r.type,t));if(s&134217728)return lg(r.texts,Sd(r.types,t));if(s&268435456)return Gy(r.symbol,oi(r.type,t));if(s&8388608){var ze=i||r.aliasSymbol,nr=i?o:Sd(r.aliasTypeArguments,t);return Jl(oi(r.objectType,t),oi(r.indexType,t),r.accessFlags,void 0,ze,nr)}if(s&16777216)return F0(r,bm(r.mapper,t),i,o);if(s&33554432){var mr=oi(r.baseType,t);if(mr.flags&8650752)return KD(mr,oi(r.substitute,t));var Br=oi(r.substitute,t);return Br.flags&3||Qi(Em(mr),Em(Br))?mr:Br}return r}function XO(r,t){var i=oi(r.mappedType,t);if(!(e.getObjectFlags(i)&32))return r;var o=oi(r.constraintType,t);if(!(o.flags&4194304))return r;var s=TA(oi(r.source,t),i,o);return s||r}function Jy(r){return r.flags&262143?r:r.permissiveInstantiation||(r.permissiveInstantiation=oi(r,xn))}function Em(r){return r.flags&262143?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=oi(r,tt),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function YO(r,t){return Tu(r.keyType,oi(r.type,t),r.isReadonly,r.declaration)}function au(r){switch(e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r)),r.kind){case 212:case 213:case 168:case 255:return KL(r);case 204:return e.some(r.properties,au);case 203:return e.some(r.elements,au);case 221:return au(r.whenTrue)||au(r.whenFalse);case 220:return(r.operatorToken.kind===56||r.operatorToken.kind===60)&&(au(r.left)||au(r.right));case 294:return au(r.initializer);case 211:return au(r.expression);case 285:return e.some(r.properties,au)||e.isJsxOpeningElement(r.parent)&&e.some(r.parent.parent.children,au);case 284:{var t=r.initializer;return!!t&&au(t)}case 287:{var i=r.expression;return!!i&&au(i)}}return!1}function KL(r){return(!e.isFunctionDeclaration(r)||e.isInJSFile(r)&&!!Gf(r))&&(e.hasContextSensitiveParameters(r)||QO(r))}function QO(r){return!r.typeParameters&&!e.getEffectiveReturnTypeNode(r)&&!!r.body&&r.body.kind!==234&&au(r.body)}function zL(r){return(e.isInJSFile(r)&&e.isFunctionDeclaration(r)||e.isFunctionExpressionOrArrowFunction(r)||e.isObjectLiteralMethod(r))&&KL(r)}function qL(r){if(r.flags&524288){var t=Dc(r);if(t.constructSignatures.length||t.callSignatures.length){var i=Ul(16,r.symbol);return i.members=t.members,i.properties=t.properties,i.callSignatures=e.emptyArray,i.constructSignatures=e.emptyArray,i.indexInfos=e.emptyArray,i}}else if(r.flags&2097152)return So(e.map(r.types,qL));return r}function Jf(r,t){return Kf(r,t,fi)}function sv(r,t){return Kf(r,t,fi)?-1:0}function G0(r,t){return Kf(r,t,Ta)?-1:0}function ZO(r,t){return Kf(r,t,ha)?-1:0}function Dd(r,t){return Kf(r,t,ha)}function Qi(r,t){return Kf(r,t,Ta)}function E_(r,t){return r.flags&1048576?e.every(r.types,function(i){return E_(i,t)}):t.flags&1048576?e.some(t.types,function(i){return E_(r,i)}):r.flags&58982400?E_(l(r)||rr,t):t===Vn?!!(r.flags&67633152):t===Re?!!(r.flags&524288)&&h1(r):kp(r,Gm(t))||tl(t)&&!fg(t)&&E_(r,Ge)}function ug(r,t){return Kf(r,t,Ya)}function Ky(r,t){return ug(r,t)||ug(t,r)}function wl(r,t,i,o,s,u){return iu(r,t,Ta,i,o,s,u)}function gp(r,t,i,o,s,u){return B0(r,t,Ta,i,o,s,u,void 0)}function B0(r,t,i,o,s,u,L,W){return Kf(r,t,i)?!0:!o||!vh(s,r,t,i,u,L,W)?iu(r,t,i,o,u,L,W):!1}function XL(r){return!!(r.flags&16777216||r.flags&2097152&&e.some(r.types,XL))}function vh(r,t,i,o,s,u,L){if(!r||XL(i))return!1;if(!iu(t,i,o,void 0)&&$O(r,t,i,o,s,u,L))return!0;switch(r.kind){case 287:case 211:return vh(r.expression,t,i,o,s,u,L);case 220:switch(r.operatorToken.kind){case 63:case 27:return vh(r.right,t,i,o,s,u,L)}break;case 204:return lw(r,t,i,o,u,L);case 203:return ow(r,t,i,o,u,L);case 285:return iw(r,t,i,o,u,L);case 213:return ew(r,t,i,o,u,L)}return!1}function $O(r,t,i,o,s,u,L){for(var W=Ni(t,0),le=Ni(t,1),we=0,Ue=[le,W];we1,Zr=nl(nr,uA),Et=nl(nr,function(la){return!uA(la)});if(Br){if(Zr!==en){var Tt=Su(Eb(le,0)),At=aw(le,ca);L=lv(At,Tt,Zr,o,s,u)||L}else if(!Kf(Jl(t,ze),nr,o)){L=!0;var Vt=Fr(le.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ue,gn(nr));u&&u.skipLogging&&(u.errors||(u.errors=[])).push(Vt)}}else if(Et!==en){var Nn=mr[0],sn=YL(Nn,ze,ca);sn&&(L=lv(function(){return Ug(this,function(la){switch(la.label){case 0:return[4,sn];case 1:return la.sent(),[2]}})}(),t,i,o,s,u)||L)}else if(!Kf(Jl(t,ze),nr,o)){L=!0;var Vt=Fr(le.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ue,gn(nr));u&&u.skipLogging&&(u.errors||(u.errors=[])).push(Vt)}}return L;function ca(){if(!W){var la=e.getTextOfNode(r.parent.tagName),di=Tb(x_(r)),Aa=di===void 0?"children":e.unescapeLeadingUnderscores(di),Li=Jl(i,Ac(Aa)),Bi=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;W=On(On({},Bi),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,Bi,la,Aa,gn(Li))})}return W}}function QL(r,t){var i,o,s,u;return Ug(this,function(L){switch(L.label){case 0:if(i=e.length(r.elements),!i)return[2];o=0,L.label=1;case 1:return ole:xu(r)>le);if(we)return 0;r.typeParameters&&r.typeParameters!==t.typeParameters&&(t=yR(t),r=HC(r,t,void 0,L));var Ue=Sl(r),ze=Ev(r),nr=Ev(t);if((ze||nr)&&oi(ze||nr,W),ze&&nr&&Ue!==le)return 0;var mr=t.declaration?t.declaration.kind:0,Br=!(i&3)&&or&&mr!==168&&mr!==167&&mr!==170,Zr=-1,Et=vm(r);if(Et&&Et!==jn){var Tt=vm(t);if(Tt){var At=!Br&&L(Et,Tt,!1)||L(Tt,Et,o);if(!At)return o&&s(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;Zr&=At}}for(var Vt=ze||nr?Math.min(Ue,le):Math.max(Ue,le),Nn=ze||nr?Vt-1:-1,sn=0;sn=xu(r)&&sn0||FT(Sn));if(so&&!mw(Sn,zt,vi)){if($t){var Ui=gn(Kr.aliasSymbol?Kr:Sn),ms=gn(st.aliasSymbol?st:zt),cs=Ni(Sn,0),Yo=Ni(Sn,1);cs.length>0&&Hn(_o(cs[0]),zt,1,!1)||Yo.length>0&&Hn(_o(Yo[0]),zt,1,!1)?mn(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ui,ms):mn(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ui,ms)}return 0}Fi(Sn,zt);var eo=0,zo=Io();if((Sn.flags&1048576||zt.flags&1048576)&&HA(Sn)*HA(zt)<4?eo=_n(Sn,zt,$t,Bn|8):(Sn.flags&3145728||zt.flags&3145728)&&(eo=Yt(Sn,zt,$t,Bn|8,kt)),!eo&&!(Sn.flags&1048576)&&(Sn.flags&469499904||zt.flags&469499904)&&(eo=Yt(Sn,zt,$t,Bn,kt))&&Ai(zo),!eo&&Sn.flags&2359296){var es=t0(Sn.flags&2097152?Sn.types:[Sn],!!(zt.flags&1048576));es&&(Sn.flags&2097152||zt.flags&1048576)&&qf(es,function(cn){return cn!==Sn})&&(eo=Hn(es,zt,1,!1,void 0,Bn))&&Ai(zo)}return eo&&!Nn&&(zt.flags&2097152&&(ai||so)||C0(zt)&&!tl(zt)&&!ki(zt)&&Sn.flags&2097152&&wi(Sn).flags&3670016&&!e.some(Sn.types,function(cn){return!!(e.getObjectFlags(cn)&524288)}))&&(Nn=!0,eo&=Yt(Sn,zt,$t,4,kt),Nn=!1),ot(Sn,zt,eo,vi),eo;function ot(cn,aa,qn,ra){if(!qn&&$t){var Xa=!!Q0(Kr),ja=!!Q0(st);cn=Kr.aliasSymbol||Xa?Kr:cn,aa=st.aliasSymbol||ja?st:aa;var pi=Tt>0;if(pi&&Tt--,cn.flags&524288&&aa.flags&524288){var Va=W;Ti(cn,aa,$t),W!==Va&&(pi=!!W)}if(cn.flags&524288&&aa.flags&131068)Ba(cn,aa);else if(cn.symbol&&cn.flags&524288&&Vn===cn)mn(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(ra&&aa.flags&2097152){var Ma=aa.types,qi=Jp(P.IntrinsicAttributes,o),bo=Jp(P.IntrinsicClassAttributes,o);if(!Ua(qi)&&!Ua(bo)&&(e.contains(Ma,qi)||e.contains(Ma,bo)))return qn}else W=Z_(W,st);if(!ea&&pi)return At=[cn,aa],qn;Yn(ea,cn,aa)}}}function Fi(Kr,st){if(e.tracing&&Kr.flags&3145728&&st.flags&3145728){var kt=Kr,$t=st;if(kt.objectFlags&$t.objectFlags&65536)return;var ea=kt.types.length,Bn=$t.types.length;ea*Bn>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:Kr.id,sourceSize:ea,targetId:st.id,targetSize:Bn,pos:o==null?void 0:o.pos,end:o==null?void 0:o.end})}}function Jr(Kr,st,kt){if(Kr.flags!==st.flags)return 0;if(Kr.flags&67358815)return-1;if(Fi(Kr,st),Kr.flags&3145728){var $t=Wn(Kr,st);return $t&&($t&=Wn(st,Kr)),$t}return Yt(Kr,st,!1,0,kt)}function Sr(Kr,st){var kt=function($t,ea){var Bn;ea=wi(ea);var Sn=ea.flags&3145728?oc(ea,st):Ed(ea,st),zt=Sn&&Cn(Sn)||((Bn=lp(ea,st))===null||Bn===void 0?void 0:Bn.type)||Or;return e.append($t,zt)};return _a(e.reduceLeft(Kr,kt,void 0)||e.emptyArray)}function bn(Kr,st,kt){var $t;if(!Rh(st)||!Ke&&e.getObjectFlags(st)&8192)return!1;var ea=!!(e.getObjectFlags(Kr)&2048);if((i===Ta||i===Ya)&&(Dh(Vn,st)||!ea&&ff(st)))return!1;var Bn=st,Sn;st.flags&1048576&&(Bn=eN(Kr,st,Hn)||I5(st),Sn=Bn.flags&1048576?Bn.types:[Bn]);for(var zt=function(Ui){if(nn(Ui,Kr.symbol)&&!rA(Kr,Ui)){if(!U1(Bn,Ui.escapedName,ea)){if(kt){var ms=nl(Bn,Rh);if(!o)return{value:e.Debug.fail()};if(e.isJsxAttributes(o)||e.isJsxOpeningLikeElement(o)||e.isJsxOpeningLikeElement(o.parent)){Ui.valueDeclaration&&e.isJsxAttribute(Ui.valueDeclaration)&&e.getSourceFileOfNode(o)===e.getSourceFileOfNode(Ui.valueDeclaration.name)&&(o=Ui.valueDeclaration.name);var cs=Wa(Ui),Yo=PC(cs,ms),eo=Yo?Wa(Yo):void 0;eo?mn(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,cs,gn(ms),eo):mn(e.Diagnostics.Property_0_does_not_exist_on_type_1,cs,gn(ms))}else{var zo=(($t=Kr.symbol)===null||$t===void 0?void 0:$t.declarations)&&e.firstOrUndefined(Kr.symbol.declarations),eo=void 0;if(Ui.valueDeclaration&&e.findAncestor(Ui.valueDeclaration,function(aa){return aa===zo})&&e.getSourceFileOfNode(zo)===e.getSourceFileOfNode(o)){var es=Ui.valueDeclaration;e.Debug.assertNode(es,e.isObjectLiteralElementLike),o=es;var ot=es.name;e.isIdentifier(ot)&&(eo=q1(ot,ms))}eo!==void 0?mn(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Wa(Ui),gn(ms),eo):mn(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Wa(Ui),gn(ms))}}return{value:!0}}if(Sn&&!Hn(Cn(Ui),Sr(Sn,Ui.escapedName),3,kt))return kt&&Wt(e.Diagnostics.Types_of_property_0_are_incompatible,Wa(Ui)),{value:!0}}},ni=0,vi=Yi(Kr);ni=Sn.types.length&&Bn.length%Sn.types.length===0){var vi=Hn(ni,Sn.types[zt%Sn.types.length],3,!1,void 0,$t);if(vi){ea&=vi;continue}}var ai=Hn(ni,st,1,kt,void 0,$t);if(!ai)return 0;ea&=ai}return ea}function Bt(Kr,st,kt,$t,ea){if(Kr===void 0&&(Kr=e.emptyArray),st===void 0&&(st=e.emptyArray),kt===void 0&&(kt=e.emptyArray),Kr.length!==st.length&&i===fi)return 0;for(var Bn=Kr.length<=st.length?Kr.length:st.length,Sn=-1,zt=0;zt25)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:Kr.id,targetId:st.id,numCombinations:ea}),0}for(var ni=new Array($t.length),vi=new e.Set,ai=0;ai<$t.length;ai++){var zt=$t[ai],so=Uf(zt);ni[ai]=so.flags&1048576?so.types:[so],vi.add(zt.escapedName)}for(var Ui=e.cartesianProduct(ni),ms=[],cs=function(ra){var Xa=!1;e:for(var ja=0,pi=st.types;ja5?mn(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,gn(Kr),gn(st),e.map(vi.slice(0,4),function(so){return Wa(so)}).join(", "),vi.length-4):mn(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,gn(Kr),gn(st),e.map(vi,function(so){return Wa(so)}).join(", ")),ea&&W&&Tt++)}function ls(Kr,st,kt,$t,ea){if(i===fi)return Qs(Kr,st,$t);var Bn=-1;if(ki(st)){if(tl(Kr)||ki(Kr)){if(!st.target.readonly&&(fg(Kr)||ki(Kr)&&Kr.target.readonly))return 0;var Sn=cp(Kr),zt=cp(st),ni=ki(Kr)?Kr.target.combinedFlags&4:4,vi=st.target.combinedFlags&4,ai=ki(Kr)?Kr.target.minLength:0,so=st.target.minLength;if(!ni&&Sn=zt-Yo)?Kr.target.elementFlags[es]:4,cn=st.target.elementFlags[zo];if(cn&8&&!(ot&8))return kt&&mn(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,zo),0;if(ot&8&&!(cn&12))return kt&&mn(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,es,zo),0;if(cn&1&&!(ot&1))return kt&&mn(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,zo),0;if(!(eo&&((ot&12||cn&12)&&(eo=!1),eo&&($t!=null&&$t.has(""+zo))))){var aa=ki(Kr)?zo=zt-Yo?S_(Ui[es],!!(ot&cn&2)):Yy(Kr,cs,Yo)||en:Ui[0],qn=ms[zo],ra=ot&8&&cn&4?Xs(qn):S_(qn,!!(cn&2)),Xa=Hn(aa,ra,3,kt,void 0,ea);if(!Xa)return kt&&(zt>1||Sn>1)&&(zo=zt-Yo||Sn-cs-Yo===1?Wt(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,es,zo):Wt(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,cs,Sn-Yo-1,zo)),0;Bn&=Xa}}return Bn}if(st.target.combinedFlags&12)return 0}var ja=(i===ha||i===ri)&&!Wp(Kr)&&!Z0(Kr)&&!ki(Kr),pi=p1(Kr,st,ja,!1);if(pi)return kt&&Ls(Kr,st,pi,ja),0;if(Wp(st))for(var Va=0,Ma=yo(Yi(Kr),$t);Va0&&e.every(t.properties,function(i){return!!(i.flags&16777216)})}return r.flags&2097152?e.every(r.types,aA):!1}function mw(r,t,i){for(var o=0,s=Yi(r);o";continue}ze+="-"+Br.id}return ze}}function q0(r,t,i,o,s){if(o===fi&&r.id>t.id){var u=r;r=t,t=u}var L=i?":"+i:"";return zy(r)&&zy(t)?yw(r,t,L,s):"".concat(r.id,",").concat(t.id).concat(L)}function yh(r,t){if(e.getCheckFlags(r)&6){for(var i=0,o=r.containingType.types;i=o)for(var s=Eh(r),u=0,L=0,W=0;W=L&&(u++,u>=o))return!0;L=le.id}}return!1}function Eh(r){if(r.flags&524288&&!m1(r)){if(e.getObjectFlags(r)&&r.node)return r.node;if(r.symbol&&!(e.getObjectFlags(r)&16&&r.symbol.flags&32))return r.symbol;if(ki(r))return r.target}if(r.flags&262144)return r.symbol;if(r.flags&8388608){do r=r.objectType;while(r.flags&8388608);return r}return r.flags&16777216?r.root:r}function sA(r,t){return X0(r,t,sv)!==0}function X0(r,t,i){if(r===t)return-1;var o=e.getDeclarationModifierFlagsFromSymbol(r)&24,s=e.getDeclarationModifierFlagsFromSymbol(t)&24;if(o!==s)return 0;if(o){if(O_(r)!==O_(t))return 0}else if((r.flags&16777216)!==(t.flags&16777216))return 0;return Nu(r)!==Nu(t)?0:i(Cn(r),Cn(t))}function Sw(r,t,i){var o=Sl(r),s=Sl(t),u=xu(r),L=xu(t),W=Iu(r),le=Iu(t);return!!(o===s&&u===L&&W===le||i&&u<=L)}function Th(r,t,i,o,s,u){if(r===t)return-1;if(!Sw(r,t,i)||e.length(r.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var L=Ol(r.typeParameters,t.typeParameters),W=0;We.length(t.typeParameters)&&(s=Nl(s,e.last(ho(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=s}}}function cA(r){return br?r===qt:r===zr}function Z0(r){var t=Y0(r);return!!t&&cA(t)}function dg(r){return ki(r)||!!Ii(r,"0")}function uA(r){return vp(r)||dg(r)}function xw(r,t){var i=ia(r,""+t);if(i)return i;if(qf(r,ki))return ps(r,function(o){return cv(o)||Or})}function Iw(r){return!(r.flags&240512)}function Du(r){return!!(r.flags&109440)}function fA(r){return r.flags&2097152?e.some(r.types,Du):!!(r.flags&109440)}function Nw(r){return r.flags&2097152&&e.find(r.types,Du)||r}function T_(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:e.every(r.types,Du):Du(r)}function Lu(r){return r.flags&1024?el(r):r.flags&128?xt:r.flags&256?wt:r.flags&2048?Qt:r.flags&512?Kn:r.flags&1048576?ps(r,Lu):r}function Up(r){return r.flags&1024&&Bp(r)?el(r):r.flags&128&&Bp(r)?xt:r.flags&256&&Bp(r)?wt:r.flags&2048&&Bp(r)?Qt:r.flags&512&&Bp(r)?Kn:r.flags&1048576?ps(r,Up):r}function dA(r){return r.flags&8192?na:r.flags&1048576?ps(r,dA):r}function $0(r,t){return Gb(r,t)||(r=dA(Up(r))),r}function kw(r,t,i){if(r&&Du(r)){var o=t?i?Av(t):t:void 0;r=$0(r,o)}return r}function e1(r,t,i,o){if(r&&Du(r)){var s=t?R_(i,t,o):void 0;r=$0(r,s)}return r}function ki(r){return!!(e.getObjectFlags(r)&4&&r.target.objectFlags&8)}function pg(r){return ki(r)&&!!(r.target.combinedFlags&8)}function pA(r){return pg(r)&&r.target.elementFlags.length===1}function cv(r){return Yy(r,r.target.fixedLength)}function Rw(r){var t=cv(r);return t&&Xs(t)}function Yy(r,t,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var s=cp(r)-i;if(t-1&&(Vo(u,u.name.escapedText,788968,void 0,u.name.escapedText,!0)||u.name.originalKeywordKind&&e.isTypeNodeKind(u.name.originalKeywordKind))){var L="arg"+u.parent.parameters.indexOf(u),W=e.declarationNameToString(u.name)+(u.dotDotDotToken?"[]":"");mc(Ke,r,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,L,W);return}s=r.dotDotDotToken?Ke?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ke?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 202:if(s=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Ke)return;break;case 315:Fr(r,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);return;case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(Ke&&!r.name){i===3?Fr(r,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,o):Fr(r,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);return}s=Ke?i===3?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 194:Ke&&Fr(r,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);return;default:s=Ke?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}mc(Ke,r,s,e.declarationNameToString(e.getNameOfDeclaration(r)),o)}}function tb(r,t,i){Te&&Ke&&e.getObjectFlags(t)&131072&&(!i||!w1(r))&&(rb(t)||Vp(r,t,i))}function i1(r,t,i){var o=Sl(r),s=Sl(t),u=bv(r),L=bv(t),W=L?s-1:s,le=u?W:Math.min(o,W),we=vm(r);if(we){var Ue=vm(t);Ue&&i(we,Ue)}for(var ze=0;zer.target.minLength||!t.target.hasRestElement&&(r.target.hasRestElement||t.target.fixedLength0){for(var Et=nr,Tt=mr;Tt=At(Et).indexOf(Zr,Tt),!(Tt>=0);){if(Et++,Et===r.length)return;Tt=0}Vt(Et,Tt),mr+=Zr.length}else if(mr0)for(var Yr=0,it=Ft;Yr1){var t=e.filter(r,m1);if(t.length){var i=_a(t,2);return e.concatenate(e.filter(r,function(o){return!m1(o)}),[i])}}return r}function iM(r){return r.priority&416?So(r.contraCandidates):Cw(r.contraCandidates)}function oM(r,t){var i=aM(r.candidates),o=nM(r.typeParameter),s=!o&&r.topLevel&&(r.isFixed||!u1(_o(t),r.typeParameter)),u=o?e.sameMap(i,Rl):s?e.sameMap(i,Up):i,L=r.priority&416?_a(u,2):Aw(u);return Ml(L)}function xA(r,t){var i=r.inferences[t];if(!i.inferredType){var o=void 0,s=r.signature;if(s){var u=i.candidates?oM(i,s):void 0;if(i.contraCandidates)o=u&&!(u.flags&131072)&&e.some(i.contraCandidates,function(we){return Dd(u,we)})?u:iM(i);else if(u)o=u;else if(r.flags&1)o=St;else{var L=Un(i.typeParameter);L&&(o=oi(L,UO(BO(r,t),r.nonFixingMapper)))}}else o=SA(i);i.inferredType=o||_1(!!(r.flags&2));var W=kl(i.typeParameter);if(W){var le=oi(W,r.nonFixingMapper);(!o||!r.compareTypes(o,Nl(le,o)))&&(i.inferredType=o=le)}}return i.inferredType}function _1(r){return r?Ze:rr}function g1(r){for(var t=[],i=0;i=10&&o*2>=r.length?i:void 0}function ob(r){var t=r.types;if(!(t.length<10||e.getObjectFlags(r)&65536||e.countWhere(t,function(s){return!!(s.flags&59506688)})<10)){if(r.keyPropertyName===void 0){var i=e.forEach(t,function(s){return s.flags&59506688?e.forEach(Yi(s),function(u){return Du(Cn(u))?u.escapedName:void 0}):void 0}),o=i&&lM(t,i);r.keyPropertyName=o?i:"",r.constituentMap=o}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function sb(r,t){var i,o=(i=r.constituentMap)===null||i===void 0?void 0:i.get(Uc(Rl(t)));return o!==rr?o:void 0}function RA(r,t){var i=ob(r),o=i&&ia(t,i);return o&&sb(r,o)}function cM(r,t){var i=ob(r),o=i&&e.find(t.properties,function(u){return u.symbol&&u.kind===294&&u.symbol.escapedName===i&&Ih(u.initializer)}),s=o&&Wh(o.initializer);return s&&sb(r,s)}function OA(r,t){return Ys(r,t)||NA(r,t)}function wA(r,t){if(r.arguments)for(var i=0,o=r.arguments;i=0&&Pt.parameterIndex=Pt&&_n-1){var Vi=Yt.filter(function(ao){return ao!==void 0}),Qa=_n=2||!(t.flags&34)||!t.valueDeclaration||e.isSourceFile(t.valueDeclaration)||t.valueDeclaration.parent.kind===291)){var i=e.getEnclosingBlockScopeContainer(t.valueDeclaration),o=UM(r,i),s=S1(i);if(s){if(o){var u=!0;if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);if(L&&L.parent===i){var W=VM(r.parent,i);if(W){var le=Zn(W);le.flags|=131072;var we=le.capturedBlockScopeBindings||(le.capturedBlockScopeBindings=[]);e.pushIfUnique(we,t),W===i.initializer&&(u=!1)}}}u&&(Zn(s).flags|=65536)}if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);L&&L.parent===i&&HM(r,i)&&(Zn(t.valueDeclaration).flags|=4194304)}Zn(t.valueDeclaration).flags|=524288}o&&(Zn(t.valueDeclaration).flags|=262144)}}function jM(r,t){var i=Zn(r);return!!i&&e.contains(i.capturedBlockScopeBindings,wn(t))}function HM(r,t){for(var i=r;i.parent.kind===211;)i=i.parent;var o=!1;if(e.isAssignmentTarget(i))o=!0;else if(i.parent.kind===218||i.parent.kind===219){var s=i.parent;o=s.operator===45||s.operator===46}return o?!!e.findAncestor(i,function(u){return u===t?"quit":u===t.statement}):!1}function D1(r,t){if(Zn(r).flags|=2,t.kind===166||t.kind===170){var i=t.parent;Zn(i).flags|=4}else Zn(t).flags|=4}function $A(r){return e.isSuperCall(r)?r:e.isFunctionLike(r)?void 0:e.forEachChild(r,$A)}function eC(r){var t=wn(r),i=mo(t),o=Ku(i);return o===ht}function rC(r,t,i){var o=t.parent,s=e.getClassExtendsHeritageElement(o);s&&!eC(o)&&r.flowNode&&!mb(r.flowNode,!1)&&Fr(r,i)}function JM(r,t){e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)&&t.initializer&&e.textRangeContainsPositionInclusive(t.initializer,r.pos)&&e.length(t.parent.decorators)&&Fr(r,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function gb(r){var t=_g(r),i=e.getThisContainer(r,!0),o=!1;switch(i.kind===170&&rC(r,i,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),i.kind===213&&(i=e.getThisContainer(i,!1),o=!0),JM(r,i),i.kind){case 260:Fr(r,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:Fr(r,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:tC(r,i)&&Fr(r,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:Fr(r,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!t&&o&&Se<2&&D1(r,i);var s=L1(r,!0,i);if(Me){var u=Cn(ur);if(s===u&&o)Fr(r,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var L=Fr(r,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(i)){var W=L1(i);W&&W!==u&&e.addRelatedInfo(L,e.createDiagnosticForNode(i,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||Ze}function L1(r,t,i){t===void 0&&(t=!0),i===void 0&&(i=e.getThisContainer(r,!1));var o=e.isInJSFile(r);if(e.isFunctionLike(i)&&(!x1(r)||e.getThisParameter(i))){var s=ye(i)||o&&qM(i);if(!s){var u=zM(i);if(o&&u){var L=ui(u).symbol;L&&L.members&&L.flags&16&&(s=mo(L).thisType)}else su(i)&&(s=mo(Ga(i.symbol)).thisType);s||(s=aC(i))}if(s)return Lm(r,s)}if(e.isClassLike(i.parent)){var W=wn(i.parent),le=e.isStatic(i)?Cn(W):mo(W).thisType;return Lm(r,le)}if(e.isSourceFile(i))if(i.commonJsModuleIndicator){var we=wn(i);return we&&Cn(we)}else{if(i.externalModuleIndicator)return Or;if(t)return Cn(ur)}}function KM(r){var t=e.getThisContainer(r,!1);if(e.isFunctionLike(t)){var i=Eu(t);if(i.thisParameter)return fb(i.thisParameter)}if(e.isClassLike(t.parent)){var o=wn(t.parent);return e.isStatic(t)?Cn(o):mo(o).thisType}}function zM(r){if(r.kind===212&&e.isBinaryExpression(r.parent)&&e.getAssignmentDeclarationKind(r.parent)===3)return r.parent.left.expression.expression;if(r.kind===168&&r.parent.kind===204&&e.isBinaryExpression(r.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent)===6)return r.parent.parent.left.expression;if(r.kind===212&&r.parent.kind===294&&r.parent.parent.kind===204&&e.isBinaryExpression(r.parent.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===6)return r.parent.parent.parent.left.expression;if(r.kind===212&&e.isPropertyAssignment(r.parent)&&e.isIdentifier(r.parent.name)&&(r.parent.name.escapedText==="value"||r.parent.name.escapedText==="get"||r.parent.name.escapedText==="set")&&e.isObjectLiteralExpression(r.parent.parent)&&e.isCallExpression(r.parent.parent.parent)&&r.parent.parent.parent.arguments[2]===r.parent.parent&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===9)return r.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(r)&&e.isIdentifier(r.name)&&(r.name.escapedText==="value"||r.name.escapedText==="get"||r.name.escapedText==="set")&&e.isObjectLiteralExpression(r.parent)&&e.isCallExpression(r.parent.parent)&&r.parent.parent.arguments[2]===r.parent&&e.getAssignmentDeclarationKind(r.parent.parent)===9)return r.parent.parent.arguments[0].expression}function qM(r){var t=e.getJSDocType(r);if(t&&t.kind===315){var i=t;if(i.parameters.length>0&&i.parameters[0].name&&i.parameters[0].name.escapedText==="this")return Da(i.parameters[0].type)}var o=e.getJSDocThisTag(r);if(o&&o.typeExpression)return Da(o.typeExpression)}function tC(r,t){return!!e.findAncestor(r,function(i){return e.isFunctionLikeDeclaration(i)?"quit":i.kind===163&&i.parent===t})}function A1(r){var t=r.parent.kind===207&&r.parent.expression===r,i=e.getSuperContainer(r,!0),o=i,s=!1;if(!t)for(;o&&o.kind===213;)o=e.getSuperContainer(o,!0),s=Se<2;var u=ze(o),L=0;if(!u){var W=e.findAncestor(r,function(nr){return nr===o?"quit":nr.kind===161});return W&&W.kind===161?Fr(r,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Fr(r,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!o||!o.parent||!(e.isClassLike(o.parent)||o.parent.kind===204)?Fr(r,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Fr(r,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),dr}if(!t&&i.kind===170&&rC(r,o,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(o)||t?(L=512,!t&&Se>=2&&Se<=8&&(e.isPropertyDeclaration(o)||e.isClassStaticBlockDeclaration(o))&&e.forEachEnclosingBlockScopeContainer(r.parent,function(nr){(!e.isSourceFile(nr)||e.isExternalOrCommonJsModule(nr))&&(Zn(nr).flags|=134217728)})):L=256,Zn(r).flags|=L,o.kind===168&&e.hasSyntacticModifier(o,256)&&(e.isSuperProperty(r.parent)&&e.isAssignmentTarget(r.parent)?Zn(o).flags|=4096:Zn(o).flags|=2048),s&&D1(r.parent,o),o.parent.kind===204)return Se<2?(Fr(r,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),dr):Ze;var le=o.parent;if(!e.getClassExtendsHeritageElement(le))return Fr(r,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),dr;var we=mo(wn(le)),Ue=we&&Il(we)[0];if(!Ue)return dr;if(o.kind===170&&tC(r,o))return Fr(r,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),dr;return L===512?Ku(we):Nl(Ue,we.thisType);function ze(nr){return nr?t?nr.kind===170:e.isClassLike(nr.parent)||nr.parent.kind===204?e.isStatic(nr)?nr.kind===168||nr.kind===167||nr.kind===171||nr.kind===172||nr.kind===166||nr.kind===169:nr.kind===168||nr.kind===167||nr.kind===171||nr.kind===172||nr.kind===166||nr.kind===165||nr.kind===170:!1:!1}}function XM(r){return(r.kind===168||r.kind===171||r.kind===172)&&r.parent.kind===204?r.parent:r.kind===212&&r.parent.kind===294?r.parent.parent:void 0}function nC(r){return e.getObjectFlags(r)&4&&r.target===Jt?ho(r)[0]:void 0}function YM(r){return ps(r,function(t){return t.flags&2097152?e.forEach(t.types,nC):nC(t)})}function aC(r){if(r.kind!==213){if(zL(r)){var t=Nh(r);if(t){var i=t.thisParameter;if(i)return Cn(i)}}var o=e.isInJSFile(r);if(Me||o){var s=XM(r);if(s){for(var u=Hp(s),L=s,W=u;W;){var le=YM(W);if(le)return oi(le,c1(gv(s)));if(L.parent.kind!==294)break;L=L.parent.parent,W=Hp(L)}return Ml(u?Ld(u):Ds(s))}var we=e.walkUpParenthesizedExpressions(r.parent);if(we.kind===220&&we.operatorToken.kind===63){var Ue=we.left;if(e.isAccessExpression(Ue)){var ze=Ue.expression;if(o&&e.isIdentifier(ze)){var nr=e.getSourceFileOfNode(we);if(nr.commonJsModuleIndicator&&Au(ze)===nr.symbol)return}return Ml(Ds(ze))}}}}}function iC(r){var t=r.parent;if(zL(t)){var i=e.getImmediatelyInvokedFunctionExpression(t);if(i&&i.arguments){var o=eT(i),s=t.parameters.indexOf(r);if(r.dotDotDotToken)return $1(o,s,o.length,Ze,void 0,0);var u=Zn(i),L=u.resolvedSignature;u.resolvedSignature=ko;var W=s=o?Jl(Cn(i.parameters[o]),Hf(t-o),256):Vc(i,t)}function nP(r,t){if(r.parent.kind===209)return sC(r.parent,t)}function aP(r,t){var i=r.parent,o=i.left,s=i.operatorToken,u=i.right;switch(s.kind){case 63:case 76:case 75:case 77:return r===u?oP(i):void 0;case 56:case 60:var L=Cc(i,t);return r===u&&(L&&L.pattern||!L&&!e.isDefaultedExpandoInitializer(i))?al(o):L;case 55:case 27:return r===u?Cc(i,t):void 0;default:return}}function iP(r){if(r.symbol)return r.symbol;if(e.isIdentifier(r))return Au(r);if(e.isPropertyAccessExpression(r)){var t=al(r.expression);return e.isPrivateIdentifier(r.name)?i(t,r.name):Ii(t,r.name.escapedText)}return;function i(o,s){var u=Db(s.escapedText,s);return u&&H1(o,u)}}function oP(r){var t,i,o=e.getAssignmentDeclarationKind(r);switch(o){case 0:case 4:var s=iP(r.left),u=s&&s.valueDeclaration;if(u&&(e.isPropertyDeclaration(u)||e.isPropertySignature(u))){var L=e.getEffectiveTypeAnnotationNode(u);return L&&oi(Da(L),Ja(s).mapper)||u.initializer&&al(r.left)}return o===0?al(r.left):lC(r);case 5:if(vb(r,o))return lC(r);if(r.left.symbol){var W=r.left.symbol.valueDeclaration;if(!W)return;var le=e.cast(r.left,e.isAccessExpression),L=e.getEffectiveTypeAnnotationNode(W);if(L)return Da(L);if(e.isIdentifier(le.expression)){var we=le.expression,Ue=Vo(we,we.escapedText,111551,void 0,we.escapedText,!0);if(Ue){var ze=Ue.valueDeclaration&&e.getEffectiveTypeAnnotationNode(Ue.valueDeclaration);if(ze){var nr=e.getElementOrPropertyAccessName(le);if(nr!==void 0)return Am(Da(ze),nr)}return}}return e.isInJSFile(W)?void 0:al(r.left)}else return al(r.left);case 1:case 6:case 3:var mr=(t=r.left.symbol)===null||t===void 0?void 0:t.valueDeclaration;case 2:mr||(mr=(i=r.symbol)===null||i===void 0?void 0:i.valueDeclaration);var Br=mr&&e.getEffectiveTypeAnnotationNode(mr);return Br?Da(Br):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(o)}}function vb(r,t){if(t===void 0&&(t=e.getAssignmentDeclarationKind(r)),t===4)return!0;if(!e.isInJSFile(r)||t!==5||!e.isIdentifier(r.left.expression))return!1;var i=r.left.expression.escapedText,o=Vo(r.left,i,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(o==null?void 0:o.valueDeclaration)}function lC(r){if(!r.symbol)return al(r.left);if(r.symbol.valueDeclaration){var t=e.getEffectiveTypeAnnotationNode(r.symbol.valueDeclaration);if(t){var i=Da(t);if(i)return i}}var o=e.cast(r.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(o.expression,!1))){var s=gb(o.expression),u=e.getElementOrPropertyAccessName(o);return u!==void 0&&Am(s,u)||void 0}}function sP(r){return!!(e.getCheckFlags(r)&262144&&!r.type&&Qe(r,0)>=0)}function Am(r,t){return ps(r,function(i){var o;if(Tl(i)){var s=Sc(i),u=l(s)||s,L=Ac(e.unescapeLeadingUnderscores(t));if(Qi(L,u))return IL(i,L)}else if(i.flags&3670016){var W=Ii(i,t);if(W)return sP(W)?void 0:Cn(W);if(ki(i)){var le=cv(i);if(le&&Xf(t)&&+t>=0)return le}return(o=oh($_(i),Ac(e.unescapeLeadingUnderscores(t))))===null||o===void 0?void 0:o.type}},!0)}function lP(r,t){if(e.Debug.assert(e.isObjectLiteralMethod(r)),!(r.flags&16777216))return k1(r,t)}function k1(r,t){var i=r.parent,o=e.isPropertyAssignment(r)&&C1(r);if(o)return o;var s=Hp(i,t);if(s){if(mm(r))return Am(s,wn(r).escapedName);if(r.name){var u=fp(r.name);return ps(s,function(L){var W;return(W=oh($_(L),u))===null||W===void 0?void 0:W.type},!0)}}}function R1(r,t){return r&&(Am(r,""+t)||ps(r,function(i){return LT(1,i,Or,void 0,!1)},!0))}function cP(r,t){var i=r.parent;return r===i.whenTrue||r===i.whenFalse?Cc(i,t):void 0}function uP(r,t){var i=Hp(r.openingElement.tagName),o=Tb(x_(r));if(i&&!Na(i)&&o&&o!==""){var s=e.getSemanticJsxChildren(r.children),u=s.indexOf(t),L=Am(i,o);return L&&(s.length===1?L:ps(L,function(W){return vp(W)?Jl(W,Hf(u)):W},!0))}}function fP(r){var t=r.parent;return e.isJsxAttributeLike(t)?Cc(r):e.isJsxElement(t)?uP(t,r):void 0}function cC(r){if(e.isJsxAttribute(r)){var t=Hp(r.parent);return!t||Na(t)?void 0:Am(t,r.name.escapedText)}else return Cc(r.parent)}function Ih(r){switch(r.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 152:return!0;case 205:case 211:return Ih(r.expression);case 287:return!r.expression||Ih(r.expression)}return!1}function dP(r,t){return cM(t,r)||K0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===294&&Ih(i.initializer)&&pv(t,i.symbol.escapedName)}),function(i){return[function(){return Wh(i.initializer)},i.symbol.escapedName]}),e.map(e.filter(Yi(t),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=r==null?void 0:r.symbol)===null||o===void 0)&&o.members)&&!r.symbol.members.has(i.escapedName)&&pv(t,i.escapedName)}),function(i){return[function(){return Or},i.escapedName]})),Qi,t)}function pP(r,t){return K0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===284&&pv(t,i.symbol.escapedName)&&(!i.initializer||Ih(i.initializer))}),function(i){return[i.initializer?function(){return Wh(i.initializer)}:function(){return sa},i.symbol.escapedName]}),e.map(e.filter(Yi(t),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=r==null?void 0:r.symbol)===null||o===void 0)&&o.members)&&!r.symbol.members.has(i.escapedName)&&pv(t,i.escapedName)}),function(i){return[function(){return Or},i.escapedName]})),Qi,t)}function Hp(r,t){var i=e.isObjectLiteralMethod(r)?lP(r,t):Cc(r,t),o=hb(i,r,t);if(o&&!(t&&t&2&&o.flags&8650752)){var s=ps(o,wi,!0);return s.flags&1048576&&e.isObjectLiteralExpression(r)?dP(r,s):s.flags&1048576&&e.isJsxAttributes(r)?pP(r,s):s}}function hb(r,t,i){if(r&&Ko(r,465829888)){var o=gv(t);if(o&&e.some(o.inferences,Ym)){if(i&&i&1)return yb(r,o.nonFixingMapper);if(o.returnMapper)return yb(r,o.returnMapper)}}return r}function yb(r,t){return r.flags&465829888?oi(r,t):r.flags&1048576?_a(e.map(r.types,function(i){return yb(i,t)}),0):r.flags&2097152?So(e.map(r.types,function(i){return yb(i,t)})):r}function Cc(r,t){if(r.flags&16777216)return;if(r.contextualType)return r.contextualType;var i=r.parent;switch(i.kind){case 253:case 163:case 166:case 165:case 202:return $M(r,t);case 213:case 246:return eP(r);case 223:return tP(i);case 217:return rP(i,t);case 207:case 208:return sC(i,r);case 210:case 228:return e.isConstTypeReference(i.type)?L(i):Da(i.type);case 220:return aP(r,t);case 294:case 295:return k1(i,t);case 296:return Cc(i.parent,t);case 203:{var o=i,s=Hp(o,t);return R1(s,e.indexOfNode(o.elements,r))}case 221:return cP(r,t);case 232:return e.Debug.assert(i.parent.kind===222),nP(i.parent,r);case 211:{var u=e.isInJSFile(i)?e.getJSDocTypeTag(i):void 0;return u?e.isJSDocTypeTag(u)&&e.isConstTypeReference(u.typeExpression.type)?L(i):Da(u.typeExpression.type):Cc(i,t)}case 229:return Cc(i,t);case 287:return fP(i);case 284:case 286:return cC(i);case 279:case 278:return mP(i,t)}return;function L(W){return Cc(W)}}function gv(r){var t=e.findAncestor(r,function(i){return!!i.inferenceContext});return t&&t.inferenceContext}function mP(r,t){return e.isJsxOpeningElement(r)&&r.parent.contextualType&&t!==4?r.parent.contextualType:N1(r,0)}function bb(r,t){return qC(t)!==0?_P(r,t):hP(r,t)}function _P(r,t){var i=oT(r,rr);i=uC(t,x_(t),i);var o=Jp(P.IntrinsicAttributes,t);return Ua(o)||(i=p_(o,i)),i}function gP(r,t){if(r.compositeSignatures){for(var i=[],o=0,s=r.compositeSignatures;o=2){var W=Vm([u,i],L,2,e.isInJSFile(r));return ig(o,W)}}if(e.length(s.typeParameters)>=2){var W=Vm([u,i],s.typeParameters,2,e.isInJSFile(r));return Wf(s,W)}}return i}function hP(r,t){var i=x_(t),o=GP(i),s=o===void 0?oT(r,rr):o===""?_o(r):gP(r,o);if(!s)return o&&e.length(t.attributes.properties)&&Fr(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(o)),rr;if(s=uC(t,i,s),Na(s))return s;var u=s,L=Jp(P.IntrinsicClassAttributes,t);if(!Ua(L)){var W=gu(L.symbol),le=_o(r);u=p_(W?Wf(L,Vm([le],W,uf(W),e.isInJSFile(t))):L,u)}var we=Jp(P.IntrinsicAttributes,t);return Ua(we)||(u=p_(we,u)),u}function yP(r){return e.getStrictOptionValue(Xe,"noImplicitAny")?e.reduceLeft(r,function(t,i){return t===i||!t?t:Ey(t.typeParameters,i.typeParameters)?TP(t,i):void 0}):void 0}function bP(r,t,i){if(!r||!t)return r||t;var o=_a([Cn(r),oi(Cn(t),i)]);return zm(r,o)}function EP(r,t,i){for(var o=Sl(r),s=Sl(t),u=o>=s?r:t,L=u===r?t:r,W=u===r?o:s,le=Iu(r)||Iu(t),we=le&&!Iu(u),Ue=new Array(W+(we?1:0)),ze=0;ze=xu(u)&&ze>=xu(L),Tt=ze>=o?void 0:Tg(r,ze),At=ze>=s?void 0:Tg(t,ze),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=po(1|(Et&&!Zr?16777216:0),Vt||"arg".concat(ze));Nn.type=Zr?Xs(Br):Br,Ue[ze]=Nn}if(we){var sn=po(1,"args");sn.type=Xs(Vc(L,W)),L===t&&(sn.type=oi(sn.type,i)),Ue[W]=sn}return Ue}function TP(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,u=EP(r,t,o),L=bP(r.thisParameter,t.thisParameter,o),W=Math.max(r.minArgumentCount,t.minArgumentCount),le=yu(s,i,L,u,void 0,void 0,W,(r.flags|t.flags)&39);return le.compositeKind=2097152,le.compositeSignatures=e.concatenate(r.compositeKind===2097152&&r.compositeSignatures||[r],[t]),o&&(le.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?bm(r.mapper,o):o),le}function O1(r,t){var i=Ni(r,0),o=e.filter(i,function(s){return!SP(s,t)});return o.length===1?o[0]:yP(o)}function SP(r,t){for(var i=0;i0&&(L=Gp(L,Pi(),r.symbol,Br,we),u=[],s=e.createSymbolTable(),Et=!1,Tt=!1,At=!1);var Ai=To(ui(Aa.expression));if(vg(Ai)){var Yn=I0(Ai,we);if(o&&gC(Yn,o,Aa),ca=u.length,Ua(L))continue;L=Gp(L,Yn,r.symbol,Br,we)}else Fr(Aa,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),L=dr;continue}else e.Debug.assert(Aa.kind===171||Aa.kind===172),kv(Aa);Bi&&!(Bi.flags&8576)?Qi(Bi,pt)&&(Qi(Bi,wt)?Tt=!0:Qi(Bi,na)?At=!0:Et=!0,i&&(Zr=!0)):s.set(Li.escapedName,Li),u.push(Li)}if(le&&r.parent.kind!==296)for(var Ba=0,Ti=Yi(W);Ba0&&(L=Gp(L,Pi(),r.symbol,Br,we),u=[],s=e.createSymbolTable(),Et=!1,Tt=!1),ps(L,function(Hn){return Hn===Qn?Pi():Hn});return Pi();function Pi(){var Hn=[];Et&&Hn.push(M1(r,ca,u,xt)),Tt&&Hn.push(M1(r,ca,u,wt)),At&&Hn.push(M1(r,ca,u,na));var Fi=ns(r.symbol,s,e.emptyArray,e.emptyArray,Hn);return Fi.objectFlags|=Br|128|262144,mr&&(Fi.objectFlags|=8192),Zr&&(Fi.objectFlags|=512),i&&(Fi.pattern=r),Fi}}function vg(r){if(r.flags&465829888){var t=l(r);if(t!==void 0)return vg(t)}return!!(r.flags&126615553||cc(r)&117632&&vg(_A(r))||r.flags&3145728&&e.every(r.types,vg))}function NP(r){B1(r)}function kP(r,t){return kv(r),kh(r)||Ze}function RP(r){B1(r.openingElement),hg(r.closingElement.tagName)?F1(r.closingElement):ui(r.closingElement.tagName),Eb(r)}function OP(r,t){return kv(r),kh(r)||Ze}function wP(r){B1(r.openingFragment);var t=e.getSourceFileOfNode(r);return e.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||t.pragmas.has("jsx"))&&!Xe.jsxFragmentFactory&&!t.pragmas.has("jsxfrag")&&Fr(r,Xe.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),Eb(r),kh(r)||Ze}function P1(r){return e.stringContains(r,"-")}function hg(r){return r.kind===79&&e.isIntrinsicJsxName(r.escapedText)}function _C(r,t){return r.initializer?Lg(r.initializer,t):sa}function MP(r,t){for(var i=r.attributes,o=br?e.createSymbolTable():void 0,s=e.createSymbolTable(),u=Oa,L=!1,W,le=!1,we=2048,Ue=Tb(x_(r)),ze=0,nr=i.properties;ze0&&(u=Gp(u,la(),i.symbol,we,!1),s=e.createSymbolTable());var Zr=To(Ds(mr.expression,t));Na(Zr)&&(L=!0),vg(Zr)?(u=Gp(u,Zr,i.symbol,we,!1),o&&gC(Zr,o,mr)):W=W?So([W,Zr]):Zr}}L||s.size>0&&(u=Gp(u,la(),i.symbol,we,!1));var Tt=r.parent.kind===277?r.parent:void 0;if(Tt&&Tt.openingElement===r&&Tt.children.length>0){var At=Eb(Tt,t);if(!L&&Ue&&Ue!==""){le&&Fr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(Ue));var Vt=Hp(r.attributes),Nn=Vt&&Am(Vt,Ue),sn=po(4,Ue);sn.type=At.length===1?At[0]:Nn&&L_(Nn,dg)?Su(At):Xs(_a(At)),sn.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(Ue),void 0,void 0),e.setParent(sn.valueDeclaration,i),sn.valueDeclaration.symbol=sn;var ca=e.createSymbolTable();ca.set(Ue,sn),u=Gp(u,ns(i.symbol,ca,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,we,!1)}}if(L)return Ze;if(W&&u!==Oa)return So([W,u]);return W||(u===Oa?la():u);function la(){we|=vr;var di=ns(i.symbol,s,e.emptyArray,e.emptyArray,e.emptyArray);return di.objectFlags|=we|128|262144,di}}function Eb(r,t){for(var i=[],o=0,s=r.children;o1&&i.declarations&&Fr(i.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(r))}}function FP(r){return r&&Rs(r.exports,P.LibraryManagedAttributes,788968)}function GP(r){return vC(P.ElementAttributesPropertyNameContainer,r)}function Tb(r){return vC(P.ElementChildrenAttributeNameContainer,r)}function hC(r,t){if(r.flags&4)return[ko];if(r.flags&128){var i=yC(r,t);if(i){var o=Rb(t,i);return[o]}else return Fr(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,"JSX."+P.IntrinsicElements),e.emptyArray}var s=wi(r),u=Ni(s,1);return u.length===0&&(u=Ni(s,0)),u.length===0&&s.flags&1048576&&(u=Xg(e.map(s.types,function(L){return hC(L,t)}))),u}function yC(r,t){var i=Jp(P.IntrinsicElements,t);if(!Ua(i)){var o=r.value,s=Ii(i,e.escapeLeadingUnderscores(o));if(s)return Cn(s);var u=nu(i,xt);return u||void 0}return Ze}function BP(r,t,i){if(r===1){var o=TC(i);o&&iu(t,o,Ta,i.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,L)}else if(r===0){var s=EC(i);s&&iu(t,s,Ta,i.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,L)}else{var o=TC(i),s=EC(i);if(!o||!s)return;var u=_a([o,s]);iu(t,u,Ta,i.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,L)}function L(){var W=e.getTextOfNode(i.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,W)}}function bC(r){e.Debug.assert(hg(r.tagName));var t=Zn(r);if(!t.resolvedJsxElementAttributesType){var i=F1(r);return t.jsxFlags&1?t.resolvedJsxElementAttributesType=Cn(i)||dr:t.jsxFlags&2?t.resolvedJsxElementAttributesType=nu(Jp(P.IntrinsicElements,r),xt)||dr:t.resolvedJsxElementAttributesType=dr}return t.resolvedJsxElementAttributesType}function EC(r){var t=Jp(P.ElementClass,r);if(!Ua(t))return t}function kh(r){return Jp(P.Element,r)}function TC(r){var t=kh(r);if(t)return _a([t,ut])}function UP(r){var t=Jp(P.IntrinsicElements,r);return t?Yi(t):e.emptyArray}function VP(r){(Xe.jsx||0)===0&&Fr(r,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),kh(r)===void 0&&Ke&&Fr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function B1(r){var t=e.isJsxOpeningLikeElement(r);if(t&&$F(r),VP(r),!G1(r)){var i=ua&&Xe.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,o=Eo(r),s=t?r.tagName:r,u=void 0;if(e.isJsxOpeningFragment(r)&&o==="null"||(u=Vo(s,o,111551,i,o,!0)),u&&(u.isReferenced=67108863,u.flags&2097152&&!An(u)&&ii(u)),e.isJsxOpeningFragment(r)){var L=e.getSourceFileOfNode(r),W=ks(L);W&&Vo(s,W,111551,i,W,!0)}}if(t){var le=r,we=Eg(le);wb(we,r),BP(qC(le),_o(we),le)}}function U1(r,t,i){if(r.flags&524288){if(Ed(r,t)||lp(r,t)||Op(t)&&sc(r,xt)||i&&P1(t))return!0}else if(r.flags&3145728&&Rh(r))for(var o=0,s=r.types;o=1&&Qi(i,Vc(le,0))}return!1}var s=e.isAssignmentTarget(t)?"set":"get";if(o(s)){var u=e.tryGetPropertyAccessOrIdentifierToString(t.expression);return u===void 0?u=s:u+="."+s,u}}function i6(r,t){var i=t.types.filter(function(o){return!!(o.flags&128)});return e.getSpellingSuggestion(r.value,i,function(o){return o.value})}function Oh(r,t,i){return e.getSpellingSuggestion(r,t,o);function o(s){var u=e.symbolName(s);if(!e.startsWith(u,'"')){if(s.flags&i)return u;if(s.flags&2097152){var L=im(s);if(L&&L.flags&i)return u}}}}function wh(r,t,i){var o=r&&r.flags&106500&&r.valueDeclaration;if(o){var s=e.hasEffectiveModifier(o,8),u=r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name);if(!(!s&&!u)&&!(t&&e.isWriteOnlyAccess(t)&&!(r.flags&65536))){if(i){var L=e.findAncestor(t,e.isFunctionLikeDeclaration);if(L&&L.symbol===r)return}(e.getCheckFlags(r)&1?Ja(r).target:r).isReferenced=67108863}}}function FC(r,t){return r.kind===108||!!t&&e.isEntityNameExpression(r)&&t===Au(e.getFirstIdentifier(r))}function o6(r,t){switch(r.kind){case 205:return Y1(r,r.expression.kind===106,t,Ml(ui(r.expression)));case 160:return Y1(r,!1,t,Ml(ui(r.left)));case 199:return Y1(r,!1,t,Da(r))}}function GC(r,t,i){return Q1(r,r.kind===205&&r.expression.kind===106,!1,t,i)}function Y1(r,t,i,o){if(Na(o))return!0;var s=Ii(o,i);return!!s&&Q1(r,t,!1,o,s)}function Q1(r,t,i,o,s){if(Na(o))return!0;if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var u=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(r)&&!!e.findAncestor(r,function(L){return L===u})}return SC(r,t,i,o,s)}function s6(r){var t=r.initializer;if(t.kind===254){var i=t.declarations[0];if(i&&!e.isBindingPattern(i.name))return wn(i)}else if(t.kind===79)return Au(t)}function l6(r){return Gs(r).length===1&&!!sc(r,wt)}function c6(r){var t=e.skipParentheses(r);if(t.kind===79){var i=Au(t);if(i.flags&3)for(var o=r,s=r.parent;s;){if(s.kind===242&&o===s.statement&&s6(s)===i&&l6(al(s.expression)))return!0;o=s,s=s.parent}}return!1}function u6(r,t){return r.flags&32?f6(r,t):BC(r,yg(r.expression),t)}function f6(r,t){var i=ui(r.expression),o=uv(i,r.expression);return Zy(BC(r,ou(o,r.expression),t),r,o!==i)}function BC(r,t,i){var o=e.getAssignmentTargetKind(r)!==0||IC(r)?Ml(t):t,s=r.argumentExpression,u=ui(s);if(Ua(o)||o===St)return o;if(uT(o)&&!e.isStringLiteralLike(s))return Fr(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),dr;var L=c6(s)?wt:u,W=e.isAssignmentTarget(r)?4|(Wm(o)&&!mh(o)?2:0):32,le=dp(o,L,W,r)||dr;return Wx(kC(r,Zn(r).resolvedSymbol,le,s,i),r)}function UC(r){return e.isCallOrNewExpression(r)||e.isTaggedTemplateExpression(r)||e.isJsxOpeningLikeElement(r)}function I_(r){return UC(r)&&e.forEach(r.typeArguments,Wi),r.kind===209?ui(r.template):e.isJsxOpeningLikeElement(r)?ui(r.attributes):r.kind!==164&&e.forEach(r.arguments,function(t){ui(t)}),ko}function Cu(r){return I_(r),co}function d6(r,t,i){var o,s,u=0,L,W=-1,le;e.Debug.assert(!t.length);for(var we=0,Ue=r;we=0)return Ue>=xu(i)&&(Iu(i)||UeL)return!1;if(u||s>=W)return!0;for(var ze=s;ze=o&&t.length<=i}function Xm(r){return hv(r,0,!1)}function jC(r){return hv(r,0,!1)||hv(r,1,!1)}function hv(r,t,i){if(r.flags&524288){var o=Dc(r);if(i||o.properties.length===0&&o.indexInfos.length===0){if(t===0&&o.callSignatures.length===1&&o.constructSignatures.length===0)return o.callSignatures[0];if(t===1&&o.constructSignatures.length===1&&o.callSignatures.length===0)return o.constructSignatures[0]}}}function HC(r,t,i,o){var s=fv(r.typeParameters,r,0,o),u=bv(t),L=i&&(u&&u.flags&262144?i.nonFixingMapper:i.mapper),W=L?b_(t,L):t;return i1(W,r,function(le,we){df(s.inferences,le,we)}),i||o1(t,r,function(le,we){df(s.inferences,le,we,128)}),uh(r,g1(s),e.isInJSFile(t.declaration))}function m6(r,t,i,o){var s=bb(t,r),u=k_(r.attributes,s,o,i);return df(o.inferences,u,s),g1(o)}function JC(r){if(!r)return jn;var t=ui(r);return e.isOptionalChainRoot(r.parent)?Ld(t):e.isOptionalChain(r.parent)?t1(t):t}function Z1(r,t,i,o,s){if(e.isJsxOpeningLikeElement(r))return m6(r,t,o,s);if(r.kind!==164){var u=Cc(r,e.every(t.typeParameters,function(di){return!!Un(di)})?8:0);if(u){var L=gv(r),W=c1(jw(L,1)),le=oi(u,W),we=Xm(le),Ue=we&&we.typeParameters?ng(s0(we,we.typeParameters)):le,ze=_o(t);df(s.inferences,Ue,ze,128);var nr=fv(t.typeParameters,t,s.flags),mr=oi(u,L&&L.returnMapper);df(nr.inferences,mr,ze),s.returnMapper=e.some(nr.inferences,Ym)?c1(Hw(nr)):void 0}}var Br=Ev(t),Zr=Br?Math.min(Sl(t)-1,i.length):i.length;if(Br&&Br.flags&262144){var Et=e.find(s.inferences,function(di){return di.typeParameter===Br});Et&&(Et.impliedArity=e.findIndex(i,Cb,Zr)<0?i.length-Zr:void 0)}var Tt=vm(t);if(Tt){var At=XC(r);df(s.inferences,JC(At),Tt)}for(var Vt=0;Vt=i-1){var L=r[i-1];if(Cb(L))return KC(L.kind===231?L.type:k_(L.expression,o,s,u))}for(var W=[],le=[],we=[],Ue=t;UeAt&&(At=Bi)}}if(!Tt)return!0;for(var Ai=1/0,Io=0,Wt=nr;Io0||e.isJsxOpeningElement(r)&&r.parent.children.length>0?[r.attributes]:e.emptyArray;var o=r.arguments||e.emptyArray,s=xb(o);if(s>=0){for(var u=o.slice(0,s),L=function(le){var we=o[le],Ue=we.kind===224&&(oo?ui(we.expression):Ds(we.expression));Ue&&ki(Ue)?e.forEach(ho(Ue),function(ze,nr){var mr,Br=Ue.target.elementFlags[nr],Zr=Kp(we,Br&4?Xs(ze):ze,!!(Br&12),(mr=Ue.target.labeledElementDeclarations)===null||mr===void 0?void 0:mr[nr]);u.push(Zr)}):u.push(we)},W=s;W-1)return e.createDiagnosticForNode(i[s],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var u=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY,W=Number.NEGATIVE_INFINITY,le=Number.POSITIVE_INFINITY,we,Ue=0,ze=t;UeW&&(W=mr),i.lengtho?le=Math.min(le,ze):L1&&(At=Tn(ze,ha,mr,Vt)),At||(At=Tn(ze,Ta,mr,Vt)),At)return At;if(we)if(Zr)if(Zr.length===1||Zr.length>3){var Nn=Zr[Zr.length-1],sn;Zr.length>3&&(sn=e.chainDiagnosticMessages(sn,e.Diagnostics.The_last_overload_gave_the_following_error),sn=e.chainDiagnosticMessages(sn,e.Diagnostics.No_overload_matches_this_call));var ca=Mh(r,nr,Nn,Ta,0,!0,function(){return sn});if(ca)for(var la=0,di=ca;la3&&e.addRelatedInfo(Aa,e.createDiagnosticForNode(Nn.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Wn(Nn,Aa),ua.add(Aa)}else e.Debug.fail("No error for last overload signature")}else{for(var Li=[],Bi=0,Ai=Number.MAX_VALUE,Io=0,Wt=0,Ft=function(Gn){var Yr=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Wt+1,ze.length,mu(Gn))},it=Mh(r,nr,Gn,Ta,0,!0,Yr);it?(it.length<=Ai&&(Ai=it.length,Io=Wt),Bi=Math.max(Bi,it.length),Li.push(it)):e.Debug.fail("No error for 3 or fewer overload signatures"),Wt++},mn=0,Ca=Zr;mn1?Li[Io]:e.flatten(Li);e.Debug.assert(Ba.length>0,"No errors reported for 3 or fewer overload signatures");var Ti=e.chainDiagnosticMessages(e.map(Ba,function(Gn){return typeof Gn.messageText=="string"?Gn:Gn.messageText}),e.Diagnostics.No_overload_matches_this_call),Pi=Gt([],e.flatMap(Ba,function(Gn){return Gn.relatedInformation}),!0),Hn=void 0;if(e.every(Ba,function(Gn){return Gn.start===Ba[0].start&&Gn.length===Ba[0].length&&Gn.file===Ba[0].file})){var Fi=Ba[0],Jr=Fi.file,Sr=Fi.start,bn=Fi.length;Hn={file:Jr,start:Sr,length:bn,code:Ti.code,category:Ti.category,messageText:Ti,relatedInformation:Pi}}else Hn=e.createDiagnosticForNodeFromMessageChain(r,Ti,Pi);Wn(Zr[0],Hn),ua.add(Hn)}else if(Et)ua.add(ZC(r,[Et],nr));else if(Tt)zC(Tt,r.typeArguments,!0,u);else{var nn=e.filter(t,function(Gn){return WC(Gn,Ue)});nn.length===0?ua.add(h6(r,t,Ue)):W?u&&ua.add(Nb(r,u)):ua.add(ZC(r,nn,nr))}return y6(r,ze,nr,!!i);function Wn(Gn,Yr){var it,Pt,Bt=Zr,Yt=Et,_n=Tt,ya=((Pt=(it=Gn.declaration)===null||it===void 0?void 0:it.symbol)===null||Pt===void 0?void 0:Pt.declarations)||e.emptyArray,ma=ya.length>1,qa=ma?e.find(ya,function(yo){return e.isFunctionLikeDeclaration(yo)&&e.nodeIsPresent(yo.body)}):void 0;if(qa){var Vi=Eu(qa),Qa=!Vi.typeParameters;Tn([Vi],Ta,Qa)&&e.addRelatedInfo(Yr,e.createDiagnosticForNode(qa,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Zr=Bt,Et=Yt,Tt=_n}function Tn(Gn,Yr,it,Pt){if(Pt===void 0&&(Pt=!1),Zr=void 0,Et=void 0,Tt=void 0,it){var Bt=Gn[0];if(e.some(Ue)||!Ib(r,nr,Bt,Pt))return;if(Mh(r,nr,Bt,Yr,0,!1,void 0)){Zr=[Bt];return}return Bt}for(var Yt=0;Yt0),kv(r),o||t.length===1||t.some(function(s){return!!s.typeParameters})?T6(r,t,i):b6(t)}function b6(r){var t=e.mapDefined(r,function(nr){return nr.thisParameter}),i;t.length&&(i=$C(t,t.map(yv)));for(var o=e.minAndMax(r,E6),s=o.min,u=o.max,L=[],W=function(nr){var mr=e.mapDefined(r,function(Br){return ce(Br)?nrt.length;)o.pop();for(;o.length=t)return s;L>o&&(o=L,i=s)}return i}function A6(r,t,i){if(r.expression.kind===106){var o=A1(r.expression);if(Na(o)){for(var s=0,u=r.arguments;s=0&&Fr(r.arguments[o],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=yg(r.expression);if(s===St)return Ha;if(s=wi(s),Ua(s))return Cu(r);if(Na(s))return r.typeArguments&&Fr(r,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),I_(r);var u=Ni(s,1);if(u.length){if(!I6(r,u[0]))return Cu(r);if(u.some(function(we){return we.flags&4}))return Fr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Cu(r);var L=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return L&&e.hasSyntacticModifier(L,128)?(Fr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Cu(r)):bg(r,u,t,i,0)}var W=Ni(s,0);if(W.length){var le=bg(r,W,t,i,0);return Ke||(le.declaration&&!su(le.declaration)&&_o(le)!==jn&&Fr(r,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),vm(le)===jn&&Fr(r,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),le}return tT(r.expression,s,1),Cu(r)}function rT(r,t){var i=Il(t);if(!e.length(i))return!1;var o=i[0];if(o.flags&2097152){for(var s=o.types,u=Sy(s),L=0,W=0,le=o.types;W0;if(t.flags&1048576){for(var W=t.types,le=!1,we=0,Ue=W;we1?Ds(r.arguments[1]):void 0,s=2;s=i-1)return t===i-1?s:Xs(Jl(s,wt));for(var u=[],L=[],W=[],le=t;le0&&(s=r.parameters.length-1+W)}}if(s===void 0){if(!i&&r.flags&32)return 0;s=r.minArgumentCount}if(o)return s;for(var le=s-1;le>=0;le--){var we=Vc(r,le);if(nl(we,VC).flags&131072)break;s=le}r.resolvedMinArgumentCount=s}return r.resolvedMinArgumentCount}function Iu(r){if(ce(r)){var t=Cn(r.parameters[r.parameters.length-1]);return!ki(t)||t.target.hasRestElement}return!1}function bv(r){if(ce(r)){var t=Cn(r.parameters[r.parameters.length-1]);if(!ki(t))return t;if(t.target.hasRestElement)return tv(t,t.target.fixedLength)}}function Ev(r){var t=bv(r);return t&&!tl(t)&&!Na(t)&&!(To(t).flags&131072)?t:void 0}function iT(r){return oT(r,en)}function oT(r,t){return r.parameters.length>0?Vc(r,0):t}function z6(r,t,i){for(var o=r.parameters.length-(ce(r)?1:0),s=0;s0&&(u=_a(we,2)):le=en;var Ue=Y6(r,t),ze=Ue.yieldTypes,nr=Ue.nextTypes;L=e.some(ze)?_a(ze,2):void 0,W=e.some(nr)?So(nr):void 0}else{var mr=Ex(r,t);if(!mr)return i&2?Bh(r,en):en;if(mr.length===0)return i&2?Bh(r,jn):jn;u=_a(mr,2)}if(u||L||W){if(L&&tb(r,L,3),u&&tb(r,u,1),W&&tb(r,W,2),u&&Du(u)||L&&Du(L)||W&&Du(W)){var Br=w1(r),Zr=Br?Br===Eu(r)?s?void 0:u:hb(_o(Br),r):void 0;s?(L=e1(L,Zr,0,o),u=e1(u,Zr,1,o),W=e1(W,Zr,2,o)):u=kw(u,Zr,o)}L&&(L=Ml(L)),u&&(u=Ml(u)),W&&(W=Ml(W))}return s?vx(L||en,u||le,W||oC(2,r)||rr,o):o?Gh(u||le):u||le}function vx(r,t,i,o){var s=o?Fo:Go,u=s.getGlobalGeneratorType(!1);if(r=s.resolveIterationType(r,void 0)||rr,t=s.resolveIterationType(t,void 0)||rr,i=s.resolveIterationType(i,void 0)||rr,u===va){var L=s.getGlobalIterableIteratorType(!1),W=L!==va?oI(L,s):void 0,le=W?W.returnType:Ze,we=W?W.nextType:Or;return Qi(t,le)&&Qi(we,i)?L!==va?rv(L,[r]):(s.getGlobalIterableIteratorType(!0),Qn):(s.getGlobalGeneratorType(!0),Qn)}return rv(u,[r,t,i])}function Y6(r,t){var i=[],o=[],s=(e.getFunctionFlags(r)&2)!==0;return e.forEachYieldExpression(r.body,function(u){var L=u.expression?ui(u.expression,t):zr;e.pushIfUnique(i,hx(u,L,Ze,s));var W;if(u.asteriskToken){var le=qh(L,s?19:17,u.expression);W=le&&le.nextType}else W=Cc(u);W&&e.pushIfUnique(o,W)}),{yieldTypes:i,nextTypes:o}}function hx(r,t,i,o){var s=r.expression||r,u=r.asteriskToken?xd(o?19:17,t,i,s):t;return o?Qm(u,s,r.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):u}function sT(r,t,i,o){var s=0;if(o){for(var u=t;u1&&t.charCodeAt(i-1)>=48&&t.charCodeAt(i-1)<=57;)i--;for(var o=t.slice(0,i),s=1;;s++){var u=o+s;if(!mT(r,u))return u}}function Ox(r){var t=Xm(r);if(t&&!t.typeParameters)return _o(t)}function x4(r){var t=ui(r.expression),i=uv(t,r.expression),o=Ox(t);return o&&Zy(o,r,i!==t)}function al(r){var t=wx(r);if(t)return t;if(r.flags&67108864&&xo){var i=xo[I(r)];if(i)return i}var o=Ws,s=ui(r);if(Ws!==o){var u=xo||(xo=[]);u[I(r)]=s,e.setNodeFlags(r,r.flags|67108864)}return s}function wx(r){var t=e.skipParentheses(r,!0);if(e.isJSDocTypeAssertion(t)){var i=e.getJSDocTypeAssertionType(t);if(!e.isConstTypeReference(i))return Da(i)}if(t=e.skipParentheses(r),e.isCallExpression(t)&&t.expression.kind!==106&&!e.isRequireCall(t,!0)&&!ax(t)){var i=e.isCallChain(t)?x4(t):Ox(yg(t.expression));if(i)return i}else{if(e.isAssertionExpression(t)&&!e.isConstTypeReference(t.type))return Da(t.type);if(r.kind===8||r.kind===10||r.kind===110||r.kind===95)return ui(r)}}function Wh(r){var t=Zn(r);if(t.contextFreeType)return t.contextFreeType;var i=r.contextualType;r.contextualType=Ze;try{var o=t.contextFreeType=ui(r,4);return o}finally{r.contextualType=i}}function ui(r,t,i){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkExpression",{kind:r.kind,pos:r.pos,end:r.end});var o=de;de=r,ve=0;var s=k4(r,t,i),u=kx(r,s,t);return uT(u)&&I4(r,u),de=o,e.tracing===null||e.tracing===void 0||e.tracing.pop(),u}function I4(r,t){var i=r.parent.kind===205&&r.parent.expression===r||r.parent.kind===206&&r.parent.expression===r||(r.kind===79||r.kind===160)&&Zb(r)||r.parent.kind===180&&r.parent.exprName===r||r.parent.kind===274;if(i||Fr(r,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),Xe.isolatedModules){e.Debug.assert(!!(t.symbol.flags&128));var o=t.symbol.valueDeclaration;o.flags&8388608&&Fr(r,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function N4(r,t){if(e.hasJSDocNodes(r)&&e.isJSDocTypeAssertion(r)){var i=e.getJSDocTypeAssertionType(r);return ux(i,i,r.expression,t)}return ui(r.expression,t)}function k4(r,t,i){var o=r.kind;if(R)switch(o){case 225:case 212:case 213:R.throwIfCancellationRequested()}switch(o){case 79:return BM(r,t);case 80:return qP(r);case 108:return gb(r);case 106:return A1(r);case 104:return ht;case 14:case 10:return h_(Ac(r.text));case 8:return KT(r),h_(Hf(+r.text));case 9:return b5(r),h_(k0({negative:!1,base10Value:e.parsePseudoBigInt(r.text)}));case 110:return sa;case 95:return _t;case 222:return b4(r);case 13:return Dt;case 203:return fC(r,t,i);case 204:return IP(r,t);case 205:return CC(r,t);case 160:return xC(r,t);case 206:return u6(r,t);case 207:if(r.expression.kind===100)return G6(r);case 208:return F6(r,t);case 209:return B6(r);case 211:return N4(r,t);case 225:return i8(r);case 212:case 213:return Tx(r,t);case 215:return a4(r);case 210:case 228:return U6(r);case 229:return W6(r);case 230:return j6(r);case 214:return t4(r);case 216:return i4(r);case 217:return o4(r);case 218:return s4(r);case 219:return l4(r);case 220:return xe(r,t);case 221:return y4(r,t);case 224:return DP(r,t);case 226:return zr;case 223:return h4(r);case 231:return LP(r);case 287:return WP(r,t);case 277:return OP(r);case 278:return kP(r);case 281:return wP(r);case 285:return PP(r,t);case 279:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return dr}function Mx(r){r.expression&&Us(r.expression,e.Diagnostics.Type_expected),Wi(r.constraint),Wi(r.default);var t=yl(wn(r));l(t),ga(t)||Fr(r.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,gn(t));var i=kl(t),o=Un(t);i&&o&&wl(o,Nl(oi(i,Jm(t,o)),o),r.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),Te&&Ig(r.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function Px(r){pf(r),Jb(r);var t=e.getContainingFunction(r);e.hasSyntacticModifier(r,16476)&&(t.kind===170&&e.nodeIsPresent(t.body)||Fr(r,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),t.kind===170&&e.isIdentifier(r.name)&&r.name.escapedText==="constructor"&&Fr(r.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),r.questionToken&&e.isBindingPattern(r.name)&&t.body&&Fr(r,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),r.name&&e.isIdentifier(r.name)&&(r.name.escapedText==="this"||r.name.escapedText==="new")&&(t.parameters.indexOf(r)!==0&&Fr(r,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(t.kind===170||t.kind===174||t.kind===179)&&Fr(r,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),t.kind===213&&Fr(r,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(t.kind===171||t.kind===172)&&Fr(r,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!e.isBindingPattern(r.name)&&!Qi(To(Cn(r.symbol)),xa)&&Fr(r,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function R4(r){var t=O4(r);if(!t){Fr(r,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var i=Eu(t),o=Lc(i);if(o){Wi(r.type);var s=r.parameterName;if(o.kind===0||o.kind===2)Uy(s);else if(o.parameterIndex>=0){if(ce(i)&&o.parameterIndex===i.parameters.length-1)Fr(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(o.type){var u=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};wl(o.type,Cn(i.parameters[o.parameterIndex]),r.type,void 0,u)}}else if(s){for(var L=!1,W=0,le=t.parameters;W0&&t.declarations[0]!==r)return}var i=FD(wn(r));if(i!=null&&i.declarations){for(var o=new e.Map,s=function(le){le.parameters.length===1&&le.parameters[0].type&&Sm(Da(le.parameters[0].type),function(we){var Ue=o.get(Uc(we));Ue?Ue.declarations.push(le):o.set(Uc(we),{type:we,declarations:[le]})})},u=0,L=i.declarations;u1)for(var we=0,Ue=le.declarations;we0}function yT(r){var t;if(r.flags&16777216){var i=p0(!1);return!!i&&r.aliasSymbol===i&&((t=r.aliasTypeArguments)===null||t===void 0?void 0:t.length)===1}return!1}function xv(r){return r.flags&1048576?ps(r,xv):yT(r)?r.aliasTypeArguments[0]:r}function n3(r){if(Na(r)||yT(r))return r;if(Wm(r)){var t=l(r);if(!t||t.flags&3||ff(t)||jx(t)){var i=p0(!0);if(i)return ig(i,[xv(r)])}}return e.Debug.assert(Av(r)===void 0,"type provided should not be a non-generic 'promise'-like."),r}function Qm(r,t,i,o){var s=Ad(r,t,i,o);return s&&n3(s)}function Ad(r,t,i,o){if(Na(r)||yT(r))return r;var s=r;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;if(r.flags&1048576){var u=t?function(le){return Ad(le,t,i,o)}:Ad;return s.awaitedTypeOfType=ps(r,u)}var L=Av(r);if(L){if(r.id===L.id||Fa.lastIndexOf(L.id)>=0){t&&Fr(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}Fa.push(r.id);var W=Ad(L,t,i,o);return Fa.pop(),W?s.awaitedTypeOfType=W:void 0}if(jx(r)){t&&(e.Debug.assertIsDefined(i),Fr(t,i,o));return}return s.awaitedTypeOfType=r}function a3(r,t){var i=Da(t);if(Se>=2){if(Ua(i))return;var o=dh(!0);if(o!==va&&!of(i,o)){Fr(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,gn(Ad(i)||jn));return}}else{if(o3(t),Ua(i))return;var s=e.getEntityNameFromTypeNode(t);if(s===void 0){Fr(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,gn(i));return}var u=ts(s,111551,!0),L=u?Cn(u):dr;if(Ua(L)){s.kind===79&&s.escapedText==="Promise"&&Gm(i)===dh(!1)?Fr(t,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):Fr(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(s));return}var W=kR(!0);if(W===Qn){Fr(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(s));return}if(!wl(L,W,t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return;var le=s&&e.getFirstIdentifier(s),we=Rs(r.locals,le.escapedText,111551);if(we){Fr(we.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(le),e.entityNameToString(s));return}}Cv(i,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function i3(r){var t=Eg(r);wb(t,r);var i=_o(t);if(!(i.flags&1)){var o,s=nx(r),u;switch(r.parent.kind){case 256:var L=wn(r.parent),W=Cn(L);o=_a([W,jn]);break;case 163:o=jn,u=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 166:o=jn,u=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 168:case 171:case 172:var le=zp(r.parent),we=lL(le);o=_a([we,jn]);break;default:return e.Debug.fail()}wl(i,o,r,s,function(){return u})}}function o3(r){Hx(r&&e.getEntityNameFromTypeNode(r))}function Hx(r){if(r){var t=e.getFirstIdentifier(r),i=(r.kind===79?788968:1920)|2097152,o=Vo(t,t.escapedText,i,void 0,void 0,!0);o&&o.flags&2097152&&kf(o)&&!Rv(gs(o))&&!An(o)&&ii(o)}}function Ag(r){var t=bT(r);t&&e.isEntityName(t)&&Hx(t)}function bT(r){if(r)switch(r.kind){case 187:case 186:return Jx(r.types);case 188:return Jx([r.trueType,r.falseType]);case 190:case 196:return bT(r.type);case 177:return r.typeName}}function Jx(r){for(var t,i=0,o=r;i-1&&i0),i.length>1&&Fr(i[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var o=Kx(r.class.expression),s=e.getClassExtendsHeritageElement(t);if(s){var u=Kx(s.expression);u&&o.escapedText!==u.escapedText&&Fr(o,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(r.tagName),e.idText(o),e.idText(u))}}function g3(r){var t=e.getJSDocHost(r);t&&e.isPrivateIdentifierClassElementDeclaration(t)&&Fr(r,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Kx(r){switch(r.kind){case 79:return r;case 205:return r.name;default:return}}function zx(r){var t;jh(r),Sv(r);var i=e.getFunctionFlags(r);if(r.name&&r.name.kind===161&&Yf(r.name),mm(r)){var o=wn(r),s=r.localSymbol||o,u=(t=s.declarations)===null||t===void 0?void 0:t.find(function(le){return le.kind===r.kind&&!(le.flags&131072)});r===u&&Wb(s),o.parent&&Wb(o)}var L=r.kind===167?void 0:r.body;if(Wi(L),lT(r,__(r)),Te&&!e.getEffectiveReturnTypeNode(r)&&(e.nodeIsMissing(L)&&!Ub(r)&&Vp(r,Ze),i&1&&e.nodeIsPresent(L)&&_o(Eu(r))),e.isInJSFile(r)){var W=e.getJSDocTypeTag(r);W&&W.typeExpression&&!O1(Da(W.typeExpression),r)&&Fr(W.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Cd(r){if(Te){var t=e.getSourceFileOfNode(r),i=gi.get(t.path);i||(i=[],gi.set(t.path,i)),i.push(r)}}function qx(r,t){for(var i=0,o=r;i=2||!e.hasRestParameter(r)||r.flags&8388608||e.nodeIsMissing(r.body)||e.forEach(r.parameters,function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===Wr.escapedName&&$l("noEmit",t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function Iv(r,t,i){if((t==null?void 0:t.escapedText)!==i||r.kind===166||r.kind===165||r.kind===168||r.kind===167||r.kind===171||r.kind===172||r.kind===294||r.flags&8388608||(e.isImportClause(r)||e.isImportEqualsDeclaration(r)||e.isImportSpecifier(r))&&e.isTypeOnlyImportOrExportDeclaration(r))return!1;var o=e.getRootDeclaration(r);return!(e.isParameter(o)&&e.nodeIsMissing(o.parent.body))}function T3(r){e.findAncestor(r,function(t){if(w_(t)&4){var i=r.kind!==79;return i?Fr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Fr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function S3(r){e.findAncestor(r,function(t){if(w_(t)&8){var i=r.kind!==79;return i?Fr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Fr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function D3(r,t){if(!(Le>=e.ModuleKind.ES2015&&!(Le>=e.ModuleKind.Node12&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS))&&!(!t||!Iv(r,t,"require")&&!Iv(r,t,"exports"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&$l("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function L3(r,t){if(!(!t||Se>=4||!Iv(r,t,"Promise"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&i.flags&2048&&$l("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function A3(r,t){Se<=8&&(Iv(r,t,"WeakMap")||Iv(r,t,"WeakSet"))&&kn.push(r)}function C3(r){var t=e.getEnclosingBlockScopeContainer(r);w_(t)&67108864&&(e.Debug.assert(e.isNamedDeclaration(r)&&e.isIdentifier(r.name)&&typeof r.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),$l("noEmit",r,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function x3(r,t){t&&Se>=2&&Se<=8&&Iv(r,t,"Reflect")&&zn.push(r)}function I3(r){var t=!1;if(e.isClassExpression(r))for(var i=0,o=r.members;i1&&e.some(nr.declarations,function(Tt){return Tt!==r&&e.isVariableLike(Tt)&&!eI(Tt,r)})&&Fr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}else{var Et=Nv(xl(r));!Ua(mr)&&!Ua(Et)&&!Jf(mr,Et)&&!(nr.flags&67108864)&&$x(nr.valueDeclaration,mr,r,Et),r.initializer&&gp(Ds(r.initializer),Et,r,r.initializer,void 0),nr.valueDeclaration&&!eI(r,nr.valueDeclaration)&&Fr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}r.kind!==166&&r.kind!==165&&(Dv(r),(r.kind===253||r.kind===202)&&N3(r),Cg(r,r.name))}}function $x(r,t,i,o){var s=e.getNameOfDeclaration(i),u=i.kind===166||i.kind===165?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,L=e.declarationNameToString(s),W=Fr(s,u,L,gn(t),gn(o));r&&e.addRelatedInfo(W,e.createDiagnosticForNode(r,e.Diagnostics._0_was_also_declared_here,L))}function eI(r,t){if(r.kind===163&&t.kind===253||r.kind===253&&t.kind===163)return!0;if(e.hasQuestionToken(r)!==e.hasQuestionToken(t))return!1;var i=504;return e.getSelectedEffectiveModifierFlags(r,i)===e.getSelectedEffectiveModifierFlags(t,i)}function ST(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkVariableDeclaration",{kind:r.kind,pos:r.pos,end:r.end}),c5(r),Jb(r),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function k3(r){return o5(r),Jb(r)}function R3(r){!pf(r)&&!JT(r.declarationList)&&u5(r),e.forEach(r.declarationList.declarations,Wi)}function O3(r){mf(r),ui(r.expression)}function w3(r){mf(r);var t=xg(r.expression);DT(r.expression,t,r.thenStatement),Wi(r.thenStatement),r.thenStatement.kind===235&&Fr(r.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Wi(r.elseStatement)}function DT(r,t,i){if(br&&!cc(t)){var o=e.isBinaryExpression(r)?r.right:r;if(!(e.isPropertyAccessExpression(o)&&xx(o.expression))){var s=e.isIdentifier(o)?o:e.isPropertyAccessExpression(o)?o.name:e.isBinaryExpression(o)&&e.isIdentifier(o.right)?o.right:void 0,u=Ni(t,0),L=!!Lv(t);if(!(u.length===0&&!L)){var W=s&&Wc(s);if(!(!W&&!L)){var le=W&&e.isBinaryExpression(r.parent)&&P3(r.parent,W)||W&&i&&M3(r,i,s,W);le||(L?Ru(o,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,ep(t)):Fr(o,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}function M3(r,t,i,o){return!!e.forEachChild(t,function s(u){if(e.isIdentifier(u)){var L=Wc(u);if(L&&L===o){if(e.isIdentifier(r))return!0;for(var W=i.parent,le=u.parent;W&≤){if(e.isIdentifier(W)&&e.isIdentifier(le)||W.kind===108&&le.kind===108)return Wc(W)===Wc(le);if(e.isPropertyAccessExpression(W)&&e.isPropertyAccessExpression(le)){if(Wc(W.name)!==Wc(le.name))return!1;le=le.expression,W=W.expression}else if(e.isCallExpression(W)&&e.isCallExpression(le))le=le.expression,W=W.expression;else return!1}}}return e.forEachChild(u,s)})}function P3(r,t){for(;e.isBinaryExpression(r)&&r.operatorToken.kind===55;){var i=e.forEachChild(r.right,function o(s){if(e.isIdentifier(s)){var u=Wc(s);if(u&&u===t)return!0}return e.forEachChild(s,o)});if(i)return!0;r=r.parent}return!1}function F3(r){mf(r),Wi(r.statement),xg(r.expression)}function G3(r){mf(r),xg(r.expression),Wi(r.statement)}function rI(r,t){return r.flags&16384&&Fr(t,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function xg(r,t){return rI(ui(r,t),r)}function B3(r){mf(r)||r.initializer&&r.initializer.kind===254&&JT(r.initializer),r.initializer&&(r.initializer.kind===254?e.forEach(r.initializer.declarations,ST):ui(r.initializer)),r.condition&&xg(r.condition),r.incrementor&&ui(r.incrementor),Wi(r.statement),r.locals&&Cd(r)}function U3(r){KI(r);var t=e.getContainingFunctionOrClassStaticBlock(r);if(r.awaitModifier)if(t&&e.isClassStaticBlockDeclaration(t))ln(r.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var i=e.getFunctionFlags(t);(i&6)===2&&Se<99&&il(r,16384)}else Xe.downlevelIteration&&Se<2&&il(r,256);if(r.initializer.kind===254)tI(r);else{var o=r.initializer,s=zh(r);if(o.kind===203||o.kind===204)xm(o,s||dr);else{var u=ui(o);Tv(o,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),s&&gp(s,u,o,r.expression)}}Wi(r.statement),r.locals&&Cd(r)}function V3(r){KI(r);var t=j1(ui(r.expression));if(r.initializer.kind===254){var i=r.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&Fr(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),tI(r)}else{var o=r.initializer,s=ui(o);o.kind===203||o.kind===204?Fr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Qi(_O(t),s)?Tv(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Fr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(t===en||!bs(t,126091264))&&Fr(r.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,gn(t)),Wi(r.statement),r.locals&&Cd(r)}function tI(r){var t=r.initializer;if(t.declarations.length>=1){var i=t.declarations[0];ST(i)}}function zh(r){var t=r.awaitModifier?15:13;return xd(t,yg(r.expression),Or,r.expression)}function xd(r,t,i,o){return Na(t)?t:LT(r,t,i,o,!0)||Ze}function LT(r,t,i,o,s){var u=(r&2)!==0;if(t===en){IT(o,t,u);return}var L=Se>=2,W=!L&&Xe.downlevelIteration,le=Xe.noUncheckedIndexedAccess&&!!(r&128);if(L||W||u){var we=qh(t,r,L?o:void 0);if(s&&we){var Ue=r&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:r&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:r&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:r&16?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;Ue&&wl(i,we.nextType,o,Ue)}if(we||L)return le?mv(we&&we.yieldType):we&&we.yieldType}var ze=t,nr=!1,mr=!1;if(r&4){if(ze.flags&1048576){var Br=t.types,Zr=e.filter(Br,function(ca){return!(ca.flags&402653316)});Zr!==Br&&(ze=_a(Zr,2))}else ze.flags&402653316&&(ze=en);if(mr=ze!==t,mr&&(Se<1&&o&&(Fr(o,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),nr=!0),ze.flags&131072))return le?mv(xt):xt}if(!vp(ze)){if(o&&!nr){var Et=!!(r&4)&&!mr,Tt=sn(Et,W),At=Tt[0],Vt=Tt[1];Ru(o,Vt&&!!Lv(ze),At,gn(ze))}return mr?le?mv(xt):xt:void 0}var Nn=nu(ze,wt);if(mr&&Nn)return Nn.flags&402653316&&!Xe.noUncheckedIndexedAccess?xt:_a(le?[Nn,xt,Or]:[Nn,xt],2);return r&128?mv(Nn):Nn;function sn(ca,la){var di;if(la)return ca?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0];var Aa=nI(r,0,t,void 0);return Aa?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:W3((di=t.symbol)===null||di===void 0?void 0:di.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:ca?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[e.Diagnostics.Type_0_is_not_an_array_type,!0]}}function W3(r){switch(r){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function nI(r,t,i,o){if(!Na(i)){var s=qh(i,r,o);return s&&s[te(t)]}}function Qf(r,t,i){if(r===void 0&&(r=en),t===void 0&&(t=en),i===void 0&&(i=rr),r.flags&67359327&&t.flags&180227&&i.flags&180227){var o=lc([r,t,i]),s=uo.get(o);return s||(s={yieldType:r,returnType:t,nextType:i},uo.set(o,s)),s}return{yieldType:r,returnType:t,nextType:i}}function aI(r){for(var t,i,o,s=0,u=r;s1)for(var nr=0,mr=o;nr=1&&r.escapedText==="Object"&&(Lei)return!1;for(var we=0;we=o&&W.pos<=s){var le=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(le.expression,le),e.setParent(le,W),le.flowNode=W.returnFlowNode;var we=Lm(le,t,zf(t));if(!(cc(we)&32768))return!0}}return!1}function EI(r,t,i){var o=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(o.expression,o),e.setParent(o,i),o.flowNode=i.returnFlowNode;var s=Lm(o,t,zf(t));return!(cc(s)&32768)}function v8(r){if(pf(r)||QF(r),Xh(r.typeParameters),Te){Ig(r.name,e.Diagnostics.Interface_name_cannot_be_0),Dv(r);var t=wn(r);_I(t);var i=e.getDeclarationOfKind(t,257);if(r===i){var o=mo(t),s=Nl(o);if(m8(o,r.name)){for(var u=0,L=Il(o);u>ze;case 49:return Ue>>>ze;case 47:return Ue<1){var o=e.isEnumConst(r);e.forEach(t.declarations,function(u){e.isEnumDeclaration(u)&&e.isEnumConst(u)!==o&&Fr(e.getNameOfDeclaration(u),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)})}var s=!1;e.forEach(t.declarations,function(u){if(u.kind!==259)return!1;var L=u;if(!L.members.length)return!1;var W=L.members[0];W.initializer||(s?Fr(W.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}}function T8(r){e.isPrivateIdentifier(r.name)&&Fr(r,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function S8(r){var t=r.declarations;if(t)for(var i=0,o=t;i1&&D(r,e.shouldPreserveConstEnums(Xe))){var L=S8(u);L&&(e.getSourceFileOfNode(r)!==e.getSourceFileOfNode(L)?Fr(r.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):r.pos=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat===void 0&&!r.isTypeOnly&&!(r.flags&8388608)&&ln(r,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function I8(r){if(!Yh(r,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){if(!pf(r)&&e.hasEffectiveModifiers(r)&&Us(r,e.Diagnostics.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&e.isNamedExports(r.exportClause)&&e.length(r.exportClause.elements)&&Se===0&&il(r,4194304),N8(r),!r.moduleSpecifier||OT(r))if(r.exportClause&&!e.isNamespaceExport(r.exportClause)){e.forEach(r.exportClause.elements,P8);var t=r.parent.kind===261&&e.isAmbientModule(r.parent.parent),i=!t&&r.parent.kind===261&&!r.moduleSpecifier&&r.flags&8388608;r.parent.kind!==303&&!t&&!i&&Fr(r,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var o=Ps(r,r.moduleSpecifier);o&&fd(o)?Fr(r.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Wa(o)):r.exportClause&&Xb(r.exportClause),Le!==e.ModuleKind.System&&(Le=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat!==e.ModuleKind.CommonJS?ln(r,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):Le===e.ModuleKind.System&&ln(r,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function G8(r){return e.forEachEntry(r.exports,function(t,i){return i!=="export="})}function DI(r){var t=wn(r),i=Ja(t);if(!i.exportsChecked){var o=t.exports.get("export=");if(o&&G8(t)){var s=rc(o)||o.valueDeclaration;s&&!Vl(s)&&!e.isInJSFile(s)&&Fr(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var u=Bl(t);u&&u.forEach(function(L,W){var le=L.declarations,we=L.flags;if(W!=="__export"&&!(we&1984)){var Ue=e.countWhere(le,Q);if(!(we&524288&&Ue<=2)&&Ue>1&&!Qb(le))for(var ze=0,nr=le;ze1&&r.every(function(t){return e.isInJSFile(t)&&e.isAccessExpression(t)&&(e.isExportsIdentifier(t.expression)||e.isModuleExportsAccessExpression(t.expression))})}function Wi(r){if(r){var t=de;de=r,ve=0,B8(r),de=t}}function B8(r){e.isInJSFile(r)&&e.forEach(r.jsDoc,function(i){var o=i.tags;return e.forEach(o,Wi)});var t=r.kind;if(R)switch(t){case 260:case 256:case 257:case 255:R.throwIfCancellationRequested()}switch(t>=236&&t<=252&&r.flowNode&&!Ah(r.flowNode)&&mc(Xe.allowUnreachableCode===!1,r,e.Diagnostics.Unreachable_code_detected),t){case 162:return Mx(r);case 163:return Px(r);case 166:return Bx(r);case 165:return P4(r);case 179:case 178:case 173:case 174:case 175:return Sv(r);case 168:case 167:return F4(r);case 169:return G4(r);case 170:return B4(r);case 171:case 172:return Ux(r);case 177:return hT(r);case 176:return R4(r);case 180:return W4(r);case 181:return j4(r);case 182:return H4(r);case 183:return J4(r);case 186:case 187:return K4(r);case 190:case 184:case 185:return Wi(r.type);case 191:return Y4(r);case 192:return Q4(r);case 188:return Z4(r);case 189:return $4(r);case 197:return e3(r);case 199:return r3(r);case 196:return t3(r);case 326:return _3(r);case 327:return m3(r);case 343:case 336:case 337:return l3(r);case 342:return c3(r);case 341:return u3(r);case 338:return f3(r);case 345:return d3(r);case 315:p3(r);case 313:case 312:case 310:case 311:case 320:LI(r),e.forEachChild(r,Wi);return;case 316:U8(r);return;case 307:return Wi(r.type);case 331:case 333:case 332:return g3(r);case 193:return z4(r);case 194:return q4(r);case 255:return s3(r);case 234:case 261:return Hb(r);case 236:return R3(r);case 237:return O3(r);case 238:return w3(r);case 239:return F3(r);case 240:return G3(r);case 241:return B3(r);case 242:return V3(r);case 243:return U3(r);case 244:case 245:return q3(r);case 246:return X3(r);case 247:return Y3(r);case 248:return Q3(r);case 249:return Z3(r);case 250:return $3(r);case 251:return e8(r);case 253:return ST(r);case 202:return k3(r);case 256:return s8(r);case 257:return v8(r);case 258:return h8(r);case 259:return E8(r);case 260:return L8(r);case 265:return C8(r);case 264:return x8(r);case 271:return I8(r);case 270:return F8(r);case 235:case 252:mf(r);return;case 275:return U4(r)}}function LI(r){e.isInJSFile(r)||ln(r,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function U8(r){LI(r),Wi(r.type);var t=r.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent)){e.last(t.parent.parameters)!==t&&Fr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(t)||Fr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=r.parent.parent;if(!e.isJSDocParameterTag(i)){Fr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var o=e.getParameterSymbolFromJSDoc(i);if(o){var s=e.getHostSignatureFromJSDoc(i);(!s||e.last(s.parameters).symbol!==o)&&Fr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function V8(r){var t=Da(r.type),i=r.parent,o=r.parent.parent;if(e.isJSDocTypeExpression(r.parent)&&e.isJSDocParameterTag(o)){var s=e.getHostSignatureFromJSDoc(o),u=e.isJSDocCallbackTag(o.parent.parent);if(s||u){var L=u?e.lastOrUndefined(o.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),W=e.getParameterSymbolFromJSDoc(o);if(!L||W&&L.symbol===W&&e.isRestParameter(L))return Xs(t)}}return e.isParameter(i)&&e.isJSDocFunctionType(i.parent)?Xs(t):jl(t)}function kv(r){var t=e.getSourceFileOfNode(r),i=Zn(t);if(!(i.flags&1)){i.deferredNodes=i.deferredNodes||new e.Map;var o=I(r);i.deferredNodes.set(o,r)}}function W8(r){var t=Zn(r);t.deferredNodes&&t.deferredNodes.forEach(j8)}function j8(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkDeferredNode",{kind:r.kind,pos:r.pos,end:r.end});var t=de;switch(de=r,ve=0,r.kind){case 207:case 208:case 209:case 164:case 279:I_(r);break;case 212:case 213:case 168:case 167:e4(r);break;case 171:case 172:Ux(r);break;case 225:o8(r);break;case 278:NP(r);break;case 277:RP(r);break}de=t,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function wT(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkSourceFile",{path:r.path},!0),e.performance.mark("beforeCheck"),H8(r),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function AI(r,t){if(t)return!1;switch(r){case 0:return!!Xe.noUnusedLocals;case 1:return!!Xe.noUnusedParameters;default:return e.Debug.assertNever(r)}}function CI(r){return gi.get(r.path)||e.emptyArray}function H8(r){var t=Zn(r);if(!(t.flags&1)){if(e.skipTypeChecking(r,Xe,J))return;h5(r),e.clear(pn),e.clear(fn),e.clear(kn),e.clear(zn),e.forEach(r.statements,Wi),Wi(r.endOfFileToken),W8(r),e.isExternalOrCommonJsModule(r)&&Cd(r),!r.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)&&qx(CI(r),function(i,o,s){!e.containsParseError(i)&&AI(o,!!(i.flags&8388608))&&ua.add(s)}),Xe.importsNotUsedAsValues===2&&!r.isDeclarationFile&&e.isExternalModule(r)&&M8(r),e.isExternalOrCommonJsModule(r)&&DI(r),pn.length&&(e.forEach(pn,T3),e.clear(pn)),fn.length&&(e.forEach(fn,S3),e.clear(fn)),kn.length&&(e.forEach(kn,C3),e.clear(kn)),zn.length&&(e.forEach(zn,I3),e.clear(zn)),t.flags|=1}}function xI(r,t){try{return R=t,J8(r)}finally{R=void 0}}function J8(r){if(II(),r){var t=ua.getGlobalDiagnostics(),i=t.length;wT(r);var o=ua.getDiagnostics(r.fileName),s=ua.getGlobalDiagnostics();if(s!==t){var u=e.relativeComplement(t,s,e.compareDiagnostics);return e.concatenate(u,o)}else if(i===0&&s.length>0)return e.concatenate(s,o);return o}return e.forEach(J.getSourceFiles(),wT),ua.getDiagnostics()}function K8(){return II(),ua.getGlobalDiagnostics()}function II(){if(!Te)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function z8(r,t){if(r.flags&16777216)return[];var i=e.createSymbolTable(),o=!1;return s(),i.delete("this"),rg(i);function s(){for(;r;){switch(r.locals&&!Oc(r)&&L(r.locals,t),r.kind){case 303:if(!e.isExternalModule(r))break;case 260:W(wn(r).exports,t&2623475);break;case 259:L(wn(r).exports,t&8);break;case 225:var le=r.name;le&&u(r.symbol,t);case 256:case 257:o||L(sf(wn(r)),t&788968);break;case 212:var we=r.name;we&&u(r.symbol,t);break}e.introducesArgumentsExoticObject(r)&&u(Wr,t),o=e.isStatic(r),r=r.parent}L(kr,t)}function u(le,we){if(e.getCombinedLocalAndExportSymbolFlags(le)&we){var Ue=le.escapedName;i.has(Ue)||i.set(Ue,le)}}function L(le,we){we&&le.forEach(function(Ue){u(Ue,we)})}function W(le,we){we&&le.forEach(function(Ue){!e.getDeclarationOfKind(Ue,274)&&!e.getDeclarationOfKind(Ue,273)&&u(Ue,we)})}}function q8(r){return r.kind===79&&Qh(r.parent)&&e.getNameOfDeclaration(r.parent)===r}function Qh(r){switch(r.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return!0;case 266:return r.isTypeOnly;case 269:case 274:return r.parent.parent.isTypeOnly;default:return!1}}function NI(r){for(;r.parent.kind===160;)r=r.parent;return r.parent.kind===177}function X8(r){for(;r.parent.kind===205;)r=r.parent;return r.parent.kind===227}function kI(r,t){for(var i;r=e.getContainingClass(r),!(!r||(i=t(r))););return i}function Y8(r){return!!e.findAncestor(r,function(t){return e.isConstructorDeclaration(t)&&e.nodeIsPresent(t.body)||e.isPropertyDeclaration(t)?!0:e.isClassLike(t)||e.isFunctionLikeDeclaration(t)?"quit":!1})}function MT(r,t){return!!kI(r,function(i){return i===t})}function Q8(r){for(;r.parent.kind===160;)r=r.parent;if(r.parent.kind===264)return r.parent.moduleReference===r?r.parent:void 0;if(r.parent.kind===270)return r.parent.expression===r?r.parent:void 0}function Zb(r){return Q8(r)!==void 0}function Z8(r){var t=e.getAssignmentDeclarationKind(r.parent.parent);switch(t){case 1:case 3:return wn(r.parent);case 4:case 2:case 5:return wn(r.parent.parent)}}function $8(r){for(var t=r.parent;e.isQualifiedName(t);)r=t,t=t.parent;if(t&&t.kind===199&&t.qualifier===r)return t}function RI(r){if(e.isDeclarationName(r))return wn(r.parent);if(e.isInJSFile(r)&&r.parent.kind===205&&r.parent===r.parent.parent.left&&!e.isPrivateIdentifier(r)&&!e.isJSDocMemberName(r)){var t=Z8(r);if(t)return t}if(r.parent.kind===270&&e.isEntityNameExpression(r)){var i=ts(r,2998271,!0);if(i&&i!==We)return i}else if(e.isEntityName(r)&&Zb(r)){var o=e.getAncestor(r,264);return e.Debug.assert(o!==void 0),ud(r,!0)}if(e.isEntityName(r)){var s=$8(r);if(s){Da(s);var u=Zn(r).resolvedSymbol;return u===We?void 0:u}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(r);)r=r.parent;if(X8(r)){var L=0;r.parent.kind===227?(L=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent)&&(L|=111551)):L=1920,L|=2097152;var W=e.isEntityNameExpression(r)?ts(r,L):void 0;if(W)return W}if(r.parent.kind===338)return e.getParameterSymbolFromJSDoc(r.parent);if(r.parent.kind===162&&r.parent.parent.kind===342){e.Debug.assert(!e.isInJSFile(r));var le=e.getTypeParameterFromJsDoc(r.parent);return le&&le.symbol}if(e.isExpressionNode(r)){if(e.nodeIsMissing(r))return;var we=e.findAncestor(r,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName)),L=we?901119:111551;if(r.kind===79){if(e.isJSXTagName(r)&&hg(r)){var Ue=F1(r.parent);return Ue===We?void 0:Ue}var ze=ts(r,L,!1,!we,e.getHostSignatureFromJSDoc(r));if(!ze&&we){var nr=e.findAncestor(r,e.or(e.isClassLike,e.isInterfaceDeclaration));if(nr)return $b(r,wn(nr))}return ze}else{if(e.isPrivateIdentifier(r))return Lb(r);if(r.kind===205||r.kind===160){var mr=Zn(r);return mr.resolvedSymbol?mr.resolvedSymbol:(r.kind===205?CC(r,0):xC(r,0),!mr.resolvedSymbol&&we&&e.isQualifiedName(r)?$b(r):mr.resolvedSymbol)}else if(e.isJSDocMemberName(r))return $b(r)}}else if(NI(r)){var L=r.parent.kind===177?788968:1920,Ue=ts(r,L,!1,!0);return Ue&&Ue!==We?Ue:Oy(r)}if(r.parent.kind===176)return ts(r,1)}function $b(r,t){if(e.isEntityName(r)){var i=901119,o=ts(r,i,!1,!0,e.getHostSignatureFromJSDoc(r));if(!o&&e.isIdentifier(r)&&t&&(o=Ga(Rs(zs(t),r.escapedText,i))),o)return o}var s=e.isIdentifier(r)?t:$b(r.left),u=e.isIdentifier(r)?r.escapedText:r.right.escapedText;if(s){var L=s.flags&111551&&Ii(Cn(s),"prototype"),W=L?Cn(L):mo(s);return Ii(W,u)}}function Wc(r,t){if(r.kind===303)return e.isExternalModule(r)?Ga(r.symbol):void 0;var i=r.parent,o=i.parent;if(!(r.flags&16777216)){if(h(r)){var s=wn(i);return e.isImportOrExportSpecifier(r.parent)&&r.parent.propertyName===r?mC(s):s}else if(e.isLiteralComputedPropertyDeclarationName(r))return wn(i.parent);if(r.kind===79){if(Zb(r))return RI(r);if(i.kind===202&&o.kind===200&&r===i.propertyName){var u=zp(o),L=Ii(u,r.escapedText);if(L)return L}else if(e.isMetaProperty(i)){var W=zp(i),L=Ii(W,r.escapedText);if(L)return L;if(i.keywordToken===103)return aT(i).symbol}}switch(r.kind){case 79:case 80:case 205:case 160:return RI(r);case 108:var le=e.getThisContainer(r,!1);if(e.isFunctionLike(le)){var we=Eu(le);if(we.thisParameter)return we.thisParameter}if(e.isInExpressionContext(r))return ui(r).symbol;case 191:return Uy(r).symbol;case 106:return ui(r).symbol;case 134:var Ue=r.parent;return Ue&&Ue.kind===170?Ue.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(r.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(r.parent.parent)===r||(r.parent.kind===265||r.parent.kind===271)&&r.parent.moduleSpecifier===r||e.isInJSFile(r)&&e.isRequireCall(r.parent,!1)||e.isImportCall(r.parent)||e.isLiteralTypeNode(r.parent)&&e.isLiteralImportTypeNode(r.parent.parent)&&r.parent.parent.argument===r.parent)return Ps(r,r,t);if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i)&&i.arguments[1]===r)return wn(i);case 8:var ze=e.isElementAccessExpression(i)?i.argumentExpression===r?al(i.expression):void 0:e.isLiteralTypeNode(i)&&e.isIndexedAccessTypeNode(o)?Da(o.objectType):void 0;return ze&&Ii(ze,e.escapeLeadingUnderscores(r.text));case 88:case 98:case 38:case 84:return wn(r.parent);case 199:return e.isLiteralImportTypeNode(r)?Wc(r.argument.literal,t):void 0;case 93:return e.isExportAssignment(r.parent)?e.Debug.checkDefined(r.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(r.parent)?fx(r.parent).symbol:void 0;case 230:return ui(r).symbol;default:return}}}function eF(r){if(e.isIdentifier(r)&&e.isPropertyAccessExpression(r.parent)&&r.parent.name===r){var t=fp(r),i=al(r.parent.expression),o=i.flags&1048576?i.types:[i];return e.flatMap(o,function(s){return e.filter(Gs(s),function(u){return gm(t,u.keyType)})})}}function rF(r){if(r&&r.kind===295)return ts(r.name,2208703)}function tF(r){return e.isExportSpecifier(r)?r.parent.parent.moduleSpecifier?Fu(r.parent.parent,r):ts(r.propertyName||r.name,2998271):ts(r,2998271)}function zp(r){if(e.isSourceFile(r)&&!e.isExternalModule(r)||r.flags&16777216)return dr;var t=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(r),i=t&&Jn(wn(t.class));if(e.isPartOfTypeNode(r)){var o=Da(r);return i?Nl(o,i.thisType):o}if(e.isExpressionNode(r))return OI(r);if(i&&!t.isImplements){var s=e.firstOrUndefined(Il(i));return s?Nl(s,i.thisType):dr}if(Qh(r)){var u=wn(r);return mo(u)}if(q8(r)){var u=Wc(r);return u?mo(u):dr}if(e.isDeclaration(r)){var u=wn(r);return Cn(u)}if(h(r)){var u=Wc(r);return u?Cn(u):dr}if(e.isBindingPattern(r))return np(r.parent,!0)||dr;if(Zb(r)){var u=Wc(r);if(u){var L=mo(u);return Ua(L)?Cn(u):L}}return e.isMetaProperty(r.parent)&&r.parent.keywordToken===r.kind?fx(r.parent):dr}function eE(r){if(e.Debug.assert(r.kind===204||r.kind===203),r.parent.kind===243){var t=zh(r.parent);return xm(r,t||dr)}if(r.parent.kind===220){var t=al(r.parent.right);return xm(r,t||dr)}if(r.parent.kind===294){var i=e.cast(r.parent.parent,e.isObjectLiteralExpression),o=eE(i)||dr,s=e.indexOfNode(i.properties,r.parent);return Dx(i,o,s)}var u=e.cast(r.parent,e.isArrayLiteralExpression),L=eE(u)||dr,W=xd(65,L,Or,r.parent)||dr;return Lx(u,L,u.elements.indexOf(r),W)}function nF(r){var t=eE(e.cast(r.parent.parent,e.isAssignmentPattern));return t&&Ii(t,r.escapedText)}function OI(r){return e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),Rl(al(r))}function aF(r){var t=wn(r.parent);return e.isStatic(r)?Cn(t):mo(t)}function iF(r){var t=r.name;switch(t.kind){case 79:return Ac(e.idText(t));case 8:case 10:return Ac(t.text);case 161:var i=Yf(t);return bs(i,12288)?i:xt;default:return e.Debug.fail("Unsupported property name.")}}function PT(r){r=wi(r);var t=e.createSymbolTable(Yi(r)),i=Ni(r,0).length?ie:Ni(r,1).length?_r:void 0;return i&&e.forEach(Yi(i),function(o){t.has(o.escapedName)||t.set(o.escapedName,o)}),Uu(t)}function FT(r){return e.typeHasCallOrConstructSignatures(r,qr)}function wI(r){var t=oF(r);return t?e.flatMap(t,wI):[r]}function oF(r){if(e.getCheckFlags(r)&6)return e.mapDefined(Ja(r).containingType.types,function(u){return Ii(u,r.escapedName)});if(r.flags&33554432){var t=r,i=t.leftSpread,o=t.rightSpread,s=t.syntheticOrigin;return i?[i,o]:s?[s]:e.singleElementArray(sF(r))}}function sF(r){for(var t,i=r;i=Ja(i).target;)t=i;return t}function lF(r){if(e.isGeneratedIdentifier(r))return!1;var t=e.getParseTreeNode(r,e.isIdentifier);if(!t)return!1;var i=t.parent;if(!i)return!1;var o=(e.isPropertyAccessExpression(i)||e.isPropertyAssignment(i))&&i.name===t;return!o&&Ov(t)===Wr}function cF(r){var t=Ps(r.parent,r);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var i=fd(t);t=ul(t);var o=Ja(t);return o.exportsSomeValue===void 0&&(o.exportsSomeValue=i?!!(t.flags&111551):e.forEachEntry(Bl(t),s)),o.exportsSomeValue;function s(u){return u=Mo(u),u&&!!(u.flags&111551)}}function uF(r){return e.isModuleOrEnumDeclaration(r.parent)&&r===r.parent.name}function fF(r,t){var i,o=e.getParseTreeNode(r,e.isIdentifier);if(o){var s=Ov(o,uF(o));if(s){if(s.flags&1048576){var u=Ga(s.exportSymbol);if(!t&&u.flags&944&&!(u.flags&3))return;s=u}var L=Ss(s);if(L){if(L.flags&512&&((i=L.valueDeclaration)===null||i===void 0?void 0:i.kind)===303){var W=L.valueDeclaration,le=e.getSourceFileOfNode(o),we=W!==le;return we?void 0:W}return e.findAncestor(o.parent,function(Ue){return e.isModuleOrEnumDeclaration(Ue)&&wn(Ue)===L})}}}}function dF(r){if(r.generatedImportReference)return r.generatedImportReference;var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Ov(t);if(Ll(i,111551)&&!An(i))return rc(i)}}function pF(r){return r.valueDeclaration&&e.isBindingElement(r.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(r.valueDeclaration).parent.kind===291}function MI(r){if(r.flags&418&&r.valueDeclaration&&!e.isSourceFile(r.valueDeclaration)){var t=Ja(r);if(t.isDeclarationWithCollidingName===void 0){var i=e.getEnclosingBlockScopeContainer(r.valueDeclaration);if(e.isStatementWithLocals(i)||pF(r)){var o=Zn(r.valueDeclaration);if(Vo(i.parent,r.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(o.flags&262144){var s=o.flags&524288,u=e.isIterationStatement(i,!1),L=i.kind===234&&e.isIterationStatement(i.parent,!1);t.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(i)&&(!s||!u&&!L)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function mF(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Ov(t);if(i&&MI(i))return i.valueDeclaration}}}function _F(r){var t=e.getParseTreeNode(r,e.isDeclaration);if(t){var i=wn(t);if(i)return MI(i)}return!1}function PI(r){switch(r.kind){case 264:return rE(wn(r));case 266:case 267:case 269:case 274:var t=wn(r);return!!t&&rE(t)&&!An(t);case 271:var i=r.exportClause;return!!i&&(e.isNamespaceExport(i)||e.some(i.elements,PI));case 270:return r.expression&&r.expression.kind===79?rE(wn(r)):!0}return!1}function gF(r){var t=e.getParseTreeNode(r,e.isImportEqualsDeclaration);if(t===void 0||t.parent.kind!==303||!e.isInternalModuleImportEqualsDeclaration(t))return!1;var i=rE(wn(t));return i&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function rE(r){if(!r)return!1;var t=gs(r);return t===We?!0:!!(t.flags&111551)&&(e.shouldPreserveConstEnums(Xe)||!Rv(t))}function Rv(r){return fT(r)||!!r.constEnumOnlyModule}function tE(r,t){if(jd(r)){var i=wn(r),o=i&&Ja(i);if(o!=null&&o.referenced)return!0;var s=Ja(i).target;if(s&&e.getEffectiveModifierFlags(r)&1&&s.flags&111551&&(e.shouldPreserveConstEnums(Xe)||!Rv(s)))return!0}return t?!!e.forEachChild(r,function(u){return tE(u,t)}):!1}function FI(r){if(e.nodeIsPresent(r.body)){if(e.isGetAccessor(r)||e.isSetAccessor(r))return!1;var t=wn(r),i=Pp(t);return i.length>1||i.length===1&&i[0].declaration!==r}return!1}function GI(r){return!!br&&!Um(r)&&!e.isJSDocParameterTag(r)&&!!r.initializer&&!e.hasSyntacticModifier(r,16476)}function vF(r){return br&&Um(r)&&!r.initializer&&e.hasSyntacticModifier(r,16476)}function hF(r){return!!br&&Um(r)&&!r.initializer}function yF(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return!1;var i=wn(t);return!i||!(i.flags&16)?!1:!!e.forEachEntry(zs(i),function(o){return o.flags&111551&&o.valueDeclaration&&e.isPropertyAccessExpression(o.valueDeclaration)})}function bF(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return e.emptyArray;var i=wn(t);return i&&Yi(Cn(i))||e.emptyArray}function w_(r){var t,i=r.id||0;return i<0||i>=Nc.length?0:((t=Nc[i])===null||t===void 0?void 0:t.flags)||0}function nE(r){return TI(r.parent),Zn(r).enumMemberValue}function BI(r){switch(r.kind){case 297:case 205:case 206:return!0}return!1}function GT(r){if(r.kind===297)return nE(r);var t=Zn(r).resolvedSymbol;if(t&&t.flags&8){var i=t.valueDeclaration;if(e.isEnumConst(i.parent))return nE(i)}}function BT(r){return!!(r.flags&524288)&&Ni(r,0).length>0}function EF(r,t){var i,o,s=e.getParseTreeNode(r,e.isEntityName);if(!s||t&&(t=e.getParseTreeNode(t),!t))return e.TypeReferenceSerializationKind.Unknown;var u=!1;if(e.isQualifiedName(s)){var L=ts(e.getFirstIdentifier(s),111551,!0,!0,t);u=!!(!((i=L==null?void 0:L.declarations)===null||i===void 0)&&i.every(e.isTypeOnlyImportOrExportDeclaration))}var W=ts(s,111551,!0,!0,t),le=W&&W.flags&2097152?gs(W):W;u||(u=!!(!((o=W==null?void 0:W.declarations)===null||o===void 0)&&o.every(e.isTypeOnlyImportOrExportDeclaration)));var we=ts(s,788968,!0,!1,t);if(le&&le===we){var Ue=d0(!1);if(Ue&&le===Ue)return e.TypeReferenceSerializationKind.Promise;var ze=Cn(le);if(ze&&c_(ze))return u?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!we)return u?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var nr=mo(we);return Ua(nr)?u?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:nr.flags&3?e.TypeReferenceSerializationKind.ObjectType:bs(nr,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:bs(nr,528)?e.TypeReferenceSerializationKind.BooleanType:bs(nr,296)?e.TypeReferenceSerializationKind.NumberLikeType:bs(nr,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:bs(nr,402653316)?e.TypeReferenceSerializationKind.StringLikeType:ki(nr)?e.TypeReferenceSerializationKind.ArrayLikeType:bs(nr,12288)?e.TypeReferenceSerializationKind.ESSymbolType:BT(nr)?e.TypeReferenceSerializationKind.TypeWithCallSignature:tl(nr)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function TF(r,t,i,o,s){var u=e.getParseTreeNode(r,e.isVariableLikeOrAccessor);if(!u)return e.factory.createToken(130);var L=wn(u),W=L&&!(L.flags&133120)?Up(Cn(L)):dr;return W.flags&8192&&W.symbol===L&&(i|=1048576),s&&(W=zf(W)),pr.typeToTypeNode(W,t,i|1024,o)}function SF(r,t,i,o){var s=e.getParseTreeNode(r,e.isFunctionLike);if(!s)return e.factory.createToken(130);var u=Eu(s);return pr.typeToTypeNode(_o(u),t,i|1024,o)}function DF(r,t,i,o){var s=e.getParseTreeNode(r,e.isExpression);if(!s)return e.factory.createToken(130);var u=Ml(OI(s));return pr.typeToTypeNode(u,t,i|1024,o)}function LF(r){return kr.has(e.escapeLeadingUnderscores(r))}function Ov(r,t){var i=Zn(r).resolvedSymbol;if(i)return i;var o=r;if(t){var s=r.parent;e.isDeclaration(s)&&r===s.name&&(o=fa(s))}return Vo(o,r.escapedText,3257279,void 0,void 0,!0)}function AF(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Ov(t);if(i)return nc(i).valueDeclaration}}}function CF(r){return e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r)?Bp(Cn(wn(r))):!1}function xF(r,t,i){var o=r.flags&1024?pr.symbolToExpression(r.symbol,111551,t,void 0,i):r===sa?e.factory.createTrue():r===_t&&e.factory.createFalse();if(o)return o;var s=r.value;return typeof s=="object"?e.factory.createBigIntLiteral(s):typeof s=="number"?e.factory.createNumericLiteral(s):e.factory.createStringLiteral(s)}function IF(r,t){var i=Cn(wn(r));return xF(i,r,t)}function UI(r){return r?(Eo(r),e.getSourceFileOfNode(r).localJsxFactory||jt):jt}function UT(r){if(r){var t=e.getSourceFileOfNode(r);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;var i=t.pragmas.get("jsxfrag"),o=e.isArray(i)?i[0]:i;if(o)return t.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,Se),t.localJsxFragmentFactory}}if(Xe.jsxFragmentFactory)return e.parseIsolatedEntityName(Xe.jsxFragmentFactory,Se)}function NF(){var r=J.getResolvedTypeReferenceDirectives(),t;return r&&(t=new e.Map,r.forEach(function(le,we){if(!(!le||!le.resolvedFileName)){var Ue=J.getSourceFile(le.resolvedFileName);Ue&&W(Ue,we)}})),{getReferencedExportContainer:fF,getReferencedImportDeclaration:dF,getReferencedDeclarationWithCollidingName:mF,isDeclarationWithCollidingName:_F,isValueAliasDeclaration:function(le){var we=e.getParseTreeNode(le);return we?PI(we):!0},hasGlobalName:LF,isReferencedAliasDeclaration:function(le,we){var Ue=e.getParseTreeNode(le);return Ue?tE(Ue,we):!0},getNodeCheckFlags:function(le){var we=e.getParseTreeNode(le);return we?w_(we):0},isTopLevelValueImportEqualsWithEntityName:gF,isDeclarationVisible:Zc,isImplementationOfOverload:FI,isRequiredInitializedParameter:GI,isOptionalUninitializedParameterProperty:vF,isExpandoFunctionDeclaration:yF,getPropertiesOfContainerFunction:bF,createTypeOfDeclaration:TF,createReturnTypeOfSignatureDeclaration:SF,createTypeOfExpression:DF,createLiteralConstValue:IF,isSymbolAccessible:nf,isEntityNameVisible:sm,getConstantValue:function(le){var we=e.getParseTreeNode(le,BI);return we?GT(we):void 0},collectLinkedAliases:Ff,getReferencedValueDeclaration:AF,getTypeReferenceSerializationKind:EF,isOptionalParameter:Um,moduleExportsSomeValue:cF,isArgumentsLocalBinding:lF,getExternalModuleFileFromDeclaration:function(le){var we=e.getParseTreeNode(le,e.hasPossibleExternalModuleReference);return we&&VT(we)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:u,isLiteralConstDeclaration:CF,isLateBound:function(le){var we=e.getParseTreeNode(le,e.isDeclaration),Ue=we&&wn(we);return!!(Ue&&e.getCheckFlags(Ue)&4096)},getJsxFactoryEntity:UI,getJsxFragmentFactoryEntity:UT,getAllAccessorDeclarations:function(le){le=e.getParseTreeNode(le,e.isGetOrSetAccessorDeclaration);var we=le.kind===172?171:172,Ue=e.getDeclarationOfKind(wn(le),we),ze=Ue&&Ue.pos3})||Fr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,L,4):u&1048576?e.some(Pp(W),function(le){return Sl(le)>4})||Fr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,L,5):u&1024&&(e.some(Pp(W),function(le){return Sl(le)>2})||Fr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,L,3)):Fr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,L)}}Y|=t}}}function RF(r){switch(r){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__classPrivateFieldIn";case 4194304:return"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function OF(r,t){return j||(j=$u(r,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||We),j}function pf(r){return wF(r)||MF(r)}function wF(r){if(!r.decorators)return!1;if(e.nodeCanBeDecorated(r,r.parent,r.parent.parent)){if(r.kind===171||r.kind===172){var t=e.getAllAccessorDeclarations(r.parent.members,r);if(t.firstAccessor.decorators&&r===t.secondAccessor)return Us(r,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return r.kind===168&&!e.nodeIsPresent(r.body)?Us(r,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Us(r,e.Diagnostics.Decorators_are_not_valid_here);return!1}function MF(r){var t=PF(r);if(t!==void 0)return t;for(var i,o,s,u,L,W=0,le=0,we=r.modifiers;le1||r.modifiers[0].kind!==t}function GF(r,t){switch(r.kind){case 168:case 255:case 212:case 213:return!1}return ln(t,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function Zm(r,t){return t===void 0&&(t=e.Diagnostics.Trailing_comma_not_allowed),r&&r.hasTrailingComma?yp(r[0],r.end-1,1,t):!1}function VI(r,t){if(r&&r.length===0){var i=r.pos-1,o=e.skipTrivia(t.text,r.end)+1;return yp(t,i,o-i,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function BF(r){for(var t=!1,i=r.length,o=0;o=3){var t=r.body&&e.isBlock(r.body)&&e.findUseStrictPrologue(r.body.statements);if(t){var i=UF(r.parameters);if(e.length(i)){e.forEach(i,function(s){e.addRelatedInfo(Fr(s,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))});var o=i.map(function(s,u){return u===0?e.createDiagnosticForNode(s,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(s,e.Diagnostics.and_here)});return e.addRelatedInfo.apply(void 0,Gt([Fr(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],o,!1)),!0}}}return!1}function aE(r){var t=e.getSourceFileOfNode(r);return pf(r)||VI(r.typeParameters,t)||BF(r.parameters)||jF(r,t)||e.isFunctionLikeDeclaration(r)&&VF(r)}function WF(r){var t=e.getSourceFileOfNode(r);return YF(r)||VI(r.typeParameters,t)}function jF(r,t){if(!e.isArrowFunction(r))return!1;r.typeParameters&&!(e.length(r.typeParameters)>1||r.typeParameters.hasTrailingComma||r.typeParameters[0].constraint)&&t&&e.fileExtensionIsOneOf(t.fileName,[".mts",".cts"])&&ln(r.typeParameters[0],e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var i=r.equalsGreaterThanToken,o=e.getLineAndCharacterOfPosition(t,i.pos).line,s=e.getLineAndCharacterOfPosition(t,i.end).line;return o!==s&&ln(i,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function HF(r){var t=r.parameters[0];if(r.parameters.length!==1)return ln(t?t.name:r,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(Zm(r.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return ln(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(t))return ln(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return ln(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return ln(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return ln(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var i=Da(t.type);return L_(i,function(o){return!!(o.flags&8576)})||av(i)?ln(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):qf(i,Ry)?r.type?!1:ln(r,e.Diagnostics.An_index_signature_must_have_a_type_annotation):ln(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function JF(r){return pf(r)||HF(r)}function KF(r,t){if(t&&t.length===0){var i=e.getSourceFileOfNode(r),o=t.pos-1,s=e.skipTrivia(i.text,t.end)+1;return yp(i,o,s-o,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function Zh(r,t){return Zm(t)||KF(r,t)}function zF(r){return r.questionDotToken||r.flags&32?ln(r.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function qF(r){if(r)for(var t=0,i=r;t1)return Us(u.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(u.token===117),i)return Us(u,e.Diagnostics.implements_clause_already_seen);i=!0}jI(u)}}function QF(r){var t=!1;if(r.heritageClauses)for(var i=0,o=r.heritageClauses;i1){var i=r.kind===242?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return Us(u.declarations[1],i)}var W=L[0];if(W.initializer){var i=r.kind===242?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return ln(W.name,i)}if(W.type){var i=r.kind===242?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return ln(W,i)}}}return!1}function t5(r){if(!(r.flags&8388608)&&r.parent.kind!==181&&r.parent.kind!==257){if(Se<1)return ln(r.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(Se<2&&e.isPrivateIdentifier(r.name))return ln(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.body===void 0&&!e.hasSyntacticModifier(r,128))return yp(r,r.end-1,1,e.Diagnostics._0_expected,"{")}if(r.body){if(e.hasSyntacticModifier(r,128))return ln(r,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===181||r.parent.kind===257)return ln(r.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return ln(r.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!n5(r))return ln(r.name,r.kind===171?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(r.kind===172){if(r.type)return ln(r.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var t=e.Debug.checkDefined(e.getSetAccessorValueParameter(r),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return ln(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return ln(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return ln(r.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function n5(r){return HT(r)||r.parameters.length===(r.kind===171?0:1)}function HT(r){if(r.parameters.length===(r.kind===171?1:2))return e.getThisParameter(r)}function a5(r){if(r.operator===153){if(r.type.kind!==150)return ln(r.type,e.Diagnostics._0_expected,e.tokenToString(150));var t=e.walkUpParenthesizedTypes(r.parent);switch(e.isInJSFile(t)&&e.isJSDocTypeExpression(t)&&(t=t.parent,e.isJSDocTypeTag(t)&&(t=t.parent.parent)),t.kind){case 253:var i=t;if(i.name.kind!==79)return ln(r,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(i))return ln(r,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(i.parent.flags&2))return ln(t.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 166:if(!e.isStatic(t)||!e.hasEffectiveReadonlyModifier(t))return ln(t.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 165:if(!e.hasSyntacticModifier(t,64))return ln(t.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return ln(r,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===144&&r.type.kind!==182&&r.type.kind!==183)return Us(r,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(150))}function Ng(r,t){if(VE(r))return ln(r,t)}function zI(r){if(aE(r))return!0;if(r.kind===168){if(r.parent.kind===204){if(r.modifiers&&!(r.modifiers.length===1&&e.first(r.modifiers).kind===131))return Us(r,e.Diagnostics.Modifiers_cannot_appear_here);if(HI(r.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(JI(r.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return yp(r,r.end-1,1,e.Diagnostics._0_expected,"{")}if(jT(r))return!0}if(e.isClassLike(r.parent)){if(Se<2&&e.isPrivateIdentifier(r.name))return ln(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&8388608)return Ng(r.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.kind===168&&!r.body)return Ng(r.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(r.parent.kind===257)return Ng(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.parent.kind===181)return Ng(r.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function i5(r){for(var t=r;t;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(t))return ln(r,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 249:if(r.label&&t.label.escapedText===r.label.escapedText){var i=r.kind===244&&!e.isIterationStatement(t.statement,!0);return i?ln(r,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1}break;case 248:if(r.kind===245&&!r.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!r.label)return!1;break}t=t.parent}if(r.label){var o=r.kind===245?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return ln(r,o)}else{var o=r.kind===245?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return ln(r,o)}}function o5(r){if(r.dotDotDotToken){var t=r.parent.elements;if(r!==e.last(t))return ln(r,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(Zm(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return ln(r.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return yp(r,r.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function qI(r){return e.isStringOrNumericLiteralLike(r)||r.kind===218&&r.operator===40&&r.operand.kind===8}function s5(r){return r.kind===9||r.kind===218&&r.operator===40&&r.operand.kind===9}function l5(r){if((e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)&&qI(r.argumentExpression))&&e.isEntityNameExpression(r.expression))return!!(Ds(r).flags&1024)}function XI(r){var t=r.initializer;if(t){var i=!(qI(t)||l5(t)||t.kind===110||t.kind===95||s5(t)),o=e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r);if(o&&!r.type){if(i)return ln(t,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return ln(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(!o||i)return ln(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function c5(r){if(r.parent.parent.kind!==242&&r.parent.parent.kind!==243){if(r.flags&8388608)XI(r);else if(!r.initializer){if(e.isBindingPattern(r.name)&&!e.isBindingPattern(r.parent))return ln(r,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(r))return ln(r,e.Diagnostics.const_declarations_must_be_initialized)}}if(r.exclamationToken&&(r.parent.parent.kind!==236||!r.type||r.initializer||r.flags&8388608)){var t=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return ln(r.exclamationToken,t)}(Le0}function Us(r,t,i,o,s){var u=e.getSourceFileOfNode(r);if(!Im(u)){var L=e.getSpanOfTokenAtPosition(u,r.pos);return ua.add(e.createFileDiagnostic(u,L.start,L.length,t,i,o,s)),!0}return!1}function yp(r,t,i,o,s,u,L){var W=e.getSourceFileOfNode(r);return Im(W)?!1:(ua.add(e.createFileDiagnostic(W,t,i,o,s,u,L)),!0)}function d5(r,t,i,o,s,u){var L=e.getSourceFileOfNode(t);return Im(L)?!1:($l(r,t,i,o,s,u),!0)}function ln(r,t,i,o,s){var u=e.getSourceFileOfNode(r);return Im(u)?!1:(ua.add(e.createDiagnosticForNode(r,t,i,o,s)),!0)}function p5(r){var t=e.isInJSFile(r)?e.getJSDocTypeParameterDeclarations(r):void 0,i=r.typeParameters||t&&e.firstOrUndefined(t);if(i){var o=i.pos===i.end?i.pos:e.skipTrivia(e.getSourceFileOfNode(r).text,i.pos);return yp(r,o,i.end-o,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function m5(r){var t=e.getEffectiveReturnTypeNode(r);if(t)return ln(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function _5(r){if(e.isComputedPropertyName(r.name)&&e.isBinaryExpression(r.name.expression)&&r.name.expression.operatorToken.kind===101)return ln(r.parent.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);if(e.isClassLike(r.parent)){if(e.isStringLiteral(r.name)&&r.name.text==="constructor")return ln(r.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(Ng(r.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(Se<2&&e.isPrivateIdentifier(r.name))return ln(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(r.parent.kind===257){if(Ng(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(r.initializer)return ln(r.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(r.parent)){if(Ng(r.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(r.initializer)return ln(r.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(r.flags&8388608&&XI(r),e.isPropertyDeclaration(r)&&r.exclamationToken&&(!e.isClassLike(r.parent)||!r.type||r.initializer||r.flags&8388608||e.isStatic(r)||e.hasAbstractModifier(r))){var t=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return ln(r.exclamationToken,t)}}function g5(r){return r.kind===257||r.kind===258||r.kind===265||r.kind===264||r.kind===271||r.kind===270||r.kind===263||e.hasSyntacticModifier(r,515)?!1:Us(r,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function v5(r){for(var t=0,i=r.statements;t=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(r,195)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(r,297)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var i=e.isPrefixUnaryExpression(r.parent)&&r.parent.operator===40,o=(i?"-":"")+"0o"+r.text;return ln(i?r.parent:r,t,o)}}return y5(r),!1}function y5(r){if(!(r.numericLiteralFlags&16||r.text.length<=15||r.text.indexOf(".")!==-1)){var t=+e.getTextOfNode(r);t<=Math.pow(2,53)-1&&t+1>t||ec(!1,e.createDiagnosticForNode(r,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function b5(r){var t=e.isLiteralTypeNode(r.parent)||e.isPrefixUnaryExpression(r.parent)&&e.isLiteralTypeNode(r.parent.parent);return!!(!t&&Se<7&&ln(r,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function E5(r,t,i,o,s){var u=e.getSourceFileOfNode(r);if(!Im(u)){var L=e.getSpanOfTokenAtPosition(u,r.pos);return ua.add(e.createFileDiagnostic(u,e.textSpanEnd(L),0,t,i,o,s)),!0}return!1}function T5(){return yr||(yr=[],kr.forEach(function(r,t){n.test(t)&&yr.push(r)})),yr}function S5(r){var t;return r.isTypeOnly&&r.name&&r.namedBindings?ln(r,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):r.isTypeOnly&&((t=r.namedBindings)===null||t===void 0?void 0:t.kind)===268?$I(r.namedBindings):!1}function $I(r){return!!e.forEach(r.elements,function(t){if(t.isTypeOnly)return Us(t,t.kind===269?e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function D5(r){if(Le===e.ModuleKind.ES2015)return ln(r,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext);if(r.typeArguments)return ln(r,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=r.arguments;if(Le!==e.ModuleKind.ESNext&&(Zm(t),t.length>1)){var i=t[1];return ln(i,e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext)}if(t.length===0||t.length>2)return ln(r,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var o=e.find(t,e.isSpreadElement);return o?ln(o,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element):!1}function L5(r,t){var i=e.getObjectFlags(r);if(i&20&&t.flags&1048576)return e.find(t.types,function(o){if(o.flags&524288){var s=i&e.getObjectFlags(o);if(s&4)return r.target===o.target;if(s&16)return!!r.aliasSymbol&&r.aliasSymbol===o.aliasSymbol}return!1})}function A5(r,t){if(e.getObjectFlags(r)&128&&L_(t,vp))return e.find(t.types,function(i){return!vp(i)})}function C5(r,t){var i=0,o=Ni(r,i).length>0||(i=1,Ni(r,i).length>0);if(o)return e.find(t.types,function(s){return Ni(s,i).length>0})}function x5(r,t){for(var i,o=0,s=0,u=t.types;s=o&&(i=L,o=le)}else Du(W)&&1>=o&&(i=L,o=1)}return i}function I5(r){if(Ko(r,67108864)){var t=nl(r,function(i){return!(i.flags&131068)});if(!(t.flags&131072))return t}return r}function eN(r,t,i,o){if(t.flags&1048576&&r.flags&2621440){var s=RA(t,r);if(s)return s;var u=Yi(r);if(u){var L=kA(u,t);if(L)return K0(t,e.map(L,function(W){return[function(){return Cn(W)},W.escapedName]}),i,void 0,o)}}}}e.createTypeChecker=C;function _(J){return!e.isAccessor(J)}function d(J){return J.kind!==255&&J.kind!==168||!!J.body}function h(J){switch(J.parent.kind){case 269:case 274:return e.isIdentifier(J);default:return e.isDeclarationName(J)}}var P;(function(J){J.JSX="JSX",J.IntrinsicElements="IntrinsicElements",J.ElementClass="ElementClass",J.ElementAttributesPropertyNameContainer="ElementAttributesProperty",J.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",J.Element="Element",J.IntrinsicAttributes="IntrinsicAttributes",J.IntrinsicClassAttributes="IntrinsicClassAttributes",J.LibraryManagedAttributes="LibraryManagedAttributes"})(P||(P={}));function te(J){switch(J){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function ce(J){return!!(J.flags&1)}e.signatureHasRestParameter=ce;function q(J){return!!(J.flags&2)}e.signatureHasLiteralTypes=q})(gr||(gr={}));var gr;(function(e){function n(y,k,S,F){if(y===void 0||k===void 0)return y;var B=k(y);if(B===y)return y;var N;if(B!==void 0)return e.isArray(B)?N=(F||ae)(B):N=B,e.Debug.assertNode(N,S),N}e.visitNode=n;function c(y,k,S,F,B){if(y===void 0||k===void 0)return y;var N,w=y.length;(F===void 0||F<0)&&(F=0),(B===void 0||B>w-F)&&(B=w-F);var O,U=-1,Q=-1;(F>0||B=2&&(B=p(B,S)),S.setLexicalEnvironmentFlags(1,!1)),S.suspendLexicalEnvironment(),B}e.visitParameterList=a;function p(y,k){for(var S,F=0;F0&&w<=159||w===191)return y;var O=S.factory;switch(w){case 79:return e.Debug.type(y),O.updateIdentifier(y,F(y.typeArguments,k,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(y),O.updateQualifiedName(y,N(y.left,k,e.isEntityName),N(y.right,k,e.isIdentifier));case 161:return e.Debug.type(y),O.updateComputedPropertyName(y,N(y.expression,k,e.isExpression));case 162:return e.Debug.type(y),O.updateTypeParameterDeclaration(y,N(y.name,k,e.isIdentifier),N(y.constraint,k,e.isTypeNode),N(y.default,k,e.isTypeNode));case 163:return e.Debug.type(y),O.updateParameterDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.dotDotDotToken,B,e.isDotDotDotToken),N(y.name,k,e.isBindingName),N(y.questionToken,B,e.isQuestionToken),N(y.type,k,e.isTypeNode),N(y.initializer,k,e.isExpression));case 164:return e.Debug.type(y),O.updateDecorator(y,N(y.expression,k,e.isExpression));case 165:return e.Debug.type(y),O.updatePropertySignature(y,F(y.modifiers,k,e.isModifier),N(y.name,k,e.isPropertyName),N(y.questionToken,B,e.isToken),N(y.type,k,e.isTypeNode));case 166:return e.Debug.type(y),O.updatePropertyDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isPropertyName),N(y.questionToken||y.exclamationToken,B,e.isQuestionOrExclamationToken),N(y.type,k,e.isTypeNode),N(y.initializer,k,e.isExpression));case 167:return e.Debug.type(y),O.updateMethodSignature(y,F(y.modifiers,k,e.isModifier),N(y.name,k,e.isPropertyName),N(y.questionToken,B,e.isQuestionToken),F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 168:return e.Debug.type(y),O.updateMethodDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.asteriskToken,B,e.isAsteriskToken),N(y.name,k,e.isPropertyName),N(y.questionToken,B,e.isQuestionToken),F(y.typeParameters,k,e.isTypeParameterDeclaration),a(y.parameters,k,S,F),N(y.type,k,e.isTypeNode),m(y.body,k,S,N));case 170:return e.Debug.type(y),O.updateConstructorDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),a(y.parameters,k,S,F),m(y.body,k,S,N));case 171:return e.Debug.type(y),O.updateGetAccessorDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isPropertyName),a(y.parameters,k,S,F),N(y.type,k,e.isTypeNode),m(y.body,k,S,N));case 172:return e.Debug.type(y),O.updateSetAccessorDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isPropertyName),a(y.parameters,k,S,F),m(y.body,k,S,N));case 169:return e.Debug.type(y),S.startLexicalEnvironment(),S.suspendLexicalEnvironment(),O.updateClassStaticBlockDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),m(y.body,k,S,N));case 173:return e.Debug.type(y),O.updateCallSignature(y,F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 174:return e.Debug.type(y),O.updateConstructSignature(y,F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 175:return e.Debug.type(y),O.updateIndexSignature(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 176:return e.Debug.type(y),O.updateTypePredicateNode(y,N(y.assertsModifier,k,e.isAssertsKeyword),N(y.parameterName,k,e.isIdentifierOrThisTypeNode),N(y.type,k,e.isTypeNode));case 177:return e.Debug.type(y),O.updateTypeReferenceNode(y,N(y.typeName,k,e.isEntityName),F(y.typeArguments,k,e.isTypeNode));case 178:return e.Debug.type(y),O.updateFunctionTypeNode(y,F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 179:return e.Debug.type(y),O.updateConstructorTypeNode(y,F(y.modifiers,k,e.isModifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.parameters,k,e.isParameterDeclaration),N(y.type,k,e.isTypeNode));case 180:return e.Debug.type(y),O.updateTypeQueryNode(y,N(y.exprName,k,e.isEntityName));case 181:return e.Debug.type(y),O.updateTypeLiteralNode(y,F(y.members,k,e.isTypeElement));case 182:return e.Debug.type(y),O.updateArrayTypeNode(y,N(y.elementType,k,e.isTypeNode));case 183:return e.Debug.type(y),O.updateTupleTypeNode(y,F(y.elements,k,e.isTypeNode));case 184:return e.Debug.type(y),O.updateOptionalTypeNode(y,N(y.type,k,e.isTypeNode));case 185:return e.Debug.type(y),O.updateRestTypeNode(y,N(y.type,k,e.isTypeNode));case 186:return e.Debug.type(y),O.updateUnionTypeNode(y,F(y.types,k,e.isTypeNode));case 187:return e.Debug.type(y),O.updateIntersectionTypeNode(y,F(y.types,k,e.isTypeNode));case 188:return e.Debug.type(y),O.updateConditionalTypeNode(y,N(y.checkType,k,e.isTypeNode),N(y.extendsType,k,e.isTypeNode),N(y.trueType,k,e.isTypeNode),N(y.falseType,k,e.isTypeNode));case 189:return e.Debug.type(y),O.updateInferTypeNode(y,N(y.typeParameter,k,e.isTypeParameterDeclaration));case 199:return e.Debug.type(y),O.updateImportTypeNode(y,N(y.argument,k,e.isTypeNode),N(y.qualifier,k,e.isEntityName),c(y.typeArguments,k,e.isTypeNode),y.isTypeOf);case 196:return e.Debug.type(y),O.updateNamedTupleMember(y,n(y.dotDotDotToken,k,e.isDotDotDotToken),n(y.name,k,e.isIdentifier),n(y.questionToken,k,e.isQuestionToken),n(y.type,k,e.isTypeNode));case 190:return e.Debug.type(y),O.updateParenthesizedType(y,N(y.type,k,e.isTypeNode));case 192:return e.Debug.type(y),O.updateTypeOperatorNode(y,N(y.type,k,e.isTypeNode));case 193:return e.Debug.type(y),O.updateIndexedAccessTypeNode(y,N(y.objectType,k,e.isTypeNode),N(y.indexType,k,e.isTypeNode));case 194:return e.Debug.type(y),O.updateMappedTypeNode(y,N(y.readonlyToken,B,e.isReadonlyKeywordOrPlusOrMinusToken),N(y.typeParameter,k,e.isTypeParameterDeclaration),N(y.nameType,k,e.isTypeNode),N(y.questionToken,B,e.isQuestionOrPlusOrMinusToken),N(y.type,k,e.isTypeNode),F(y.members,k,e.isTypeElement));case 195:return e.Debug.type(y),O.updateLiteralTypeNode(y,N(y.literal,k,e.isExpression));case 197:return e.Debug.type(y),O.updateTemplateLiteralType(y,N(y.head,k,e.isTemplateHead),F(y.templateSpans,k,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(y),O.updateTemplateLiteralTypeSpan(y,N(y.type,k,e.isTypeNode),N(y.literal,k,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(y),O.updateObjectBindingPattern(y,F(y.elements,k,e.isBindingElement));case 201:return e.Debug.type(y),O.updateArrayBindingPattern(y,F(y.elements,k,e.isArrayBindingElement));case 202:return e.Debug.type(y),O.updateBindingElement(y,N(y.dotDotDotToken,B,e.isDotDotDotToken),N(y.propertyName,k,e.isPropertyName),N(y.name,k,e.isBindingName),N(y.initializer,k,e.isExpression));case 203:return e.Debug.type(y),O.updateArrayLiteralExpression(y,F(y.elements,k,e.isExpression));case 204:return e.Debug.type(y),O.updateObjectLiteralExpression(y,F(y.properties,k,e.isObjectLiteralElementLike));case 205:return y.flags&32?(e.Debug.type(y),O.updatePropertyAccessChain(y,N(y.expression,k,e.isExpression),N(y.questionDotToken,B,e.isQuestionDotToken),N(y.name,k,e.isMemberName))):(e.Debug.type(y),O.updatePropertyAccessExpression(y,N(y.expression,k,e.isExpression),N(y.name,k,e.isMemberName)));case 206:return y.flags&32?(e.Debug.type(y),O.updateElementAccessChain(y,N(y.expression,k,e.isExpression),N(y.questionDotToken,B,e.isQuestionDotToken),N(y.argumentExpression,k,e.isExpression))):(e.Debug.type(y),O.updateElementAccessExpression(y,N(y.expression,k,e.isExpression),N(y.argumentExpression,k,e.isExpression)));case 207:return y.flags&32?(e.Debug.type(y),O.updateCallChain(y,N(y.expression,k,e.isExpression),N(y.questionDotToken,B,e.isQuestionDotToken),F(y.typeArguments,k,e.isTypeNode),F(y.arguments,k,e.isExpression))):(e.Debug.type(y),O.updateCallExpression(y,N(y.expression,k,e.isExpression),F(y.typeArguments,k,e.isTypeNode),F(y.arguments,k,e.isExpression)));case 208:return e.Debug.type(y),O.updateNewExpression(y,N(y.expression,k,e.isExpression),F(y.typeArguments,k,e.isTypeNode),F(y.arguments,k,e.isExpression));case 209:return e.Debug.type(y),O.updateTaggedTemplateExpression(y,N(y.tag,k,e.isExpression),c(y.typeArguments,k,e.isTypeNode),N(y.template,k,e.isTemplateLiteral));case 210:return e.Debug.type(y),O.updateTypeAssertion(y,N(y.type,k,e.isTypeNode),N(y.expression,k,e.isExpression));case 211:return e.Debug.type(y),O.updateParenthesizedExpression(y,N(y.expression,k,e.isExpression));case 212:return e.Debug.type(y),O.updateFunctionExpression(y,F(y.modifiers,k,e.isModifier),N(y.asteriskToken,B,e.isAsteriskToken),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),a(y.parameters,k,S,F),N(y.type,k,e.isTypeNode),m(y.body,k,S,N));case 213:return e.Debug.type(y),O.updateArrowFunction(y,F(y.modifiers,k,e.isModifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),a(y.parameters,k,S,F),N(y.type,k,e.isTypeNode),N(y.equalsGreaterThanToken,B,e.isEqualsGreaterThanToken),m(y.body,k,S,N));case 214:return e.Debug.type(y),O.updateDeleteExpression(y,N(y.expression,k,e.isExpression));case 215:return e.Debug.type(y),O.updateTypeOfExpression(y,N(y.expression,k,e.isExpression));case 216:return e.Debug.type(y),O.updateVoidExpression(y,N(y.expression,k,e.isExpression));case 217:return e.Debug.type(y),O.updateAwaitExpression(y,N(y.expression,k,e.isExpression));case 218:return e.Debug.type(y),O.updatePrefixUnaryExpression(y,N(y.operand,k,e.isExpression));case 219:return e.Debug.type(y),O.updatePostfixUnaryExpression(y,N(y.operand,k,e.isExpression));case 220:return e.Debug.type(y),O.updateBinaryExpression(y,N(y.left,k,e.isExpression),N(y.operatorToken,B,e.isBinaryOperatorToken),N(y.right,k,e.isExpression));case 221:return e.Debug.type(y),O.updateConditionalExpression(y,N(y.condition,k,e.isExpression),N(y.questionToken,B,e.isQuestionToken),N(y.whenTrue,k,e.isExpression),N(y.colonToken,B,e.isColonToken),N(y.whenFalse,k,e.isExpression));case 222:return e.Debug.type(y),O.updateTemplateExpression(y,N(y.head,k,e.isTemplateHead),F(y.templateSpans,k,e.isTemplateSpan));case 223:return e.Debug.type(y),O.updateYieldExpression(y,N(y.asteriskToken,B,e.isAsteriskToken),N(y.expression,k,e.isExpression));case 224:return e.Debug.type(y),O.updateSpreadElement(y,N(y.expression,k,e.isExpression));case 225:return e.Debug.type(y),O.updateClassExpression(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.heritageClauses,k,e.isHeritageClause),F(y.members,k,e.isClassElement));case 227:return e.Debug.type(y),O.updateExpressionWithTypeArguments(y,N(y.expression,k,e.isExpression),F(y.typeArguments,k,e.isTypeNode));case 228:return e.Debug.type(y),O.updateAsExpression(y,N(y.expression,k,e.isExpression),N(y.type,k,e.isTypeNode));case 229:return y.flags&32?(e.Debug.type(y),O.updateNonNullChain(y,N(y.expression,k,e.isExpression))):(e.Debug.type(y),O.updateNonNullExpression(y,N(y.expression,k,e.isExpression)));case 230:return e.Debug.type(y),O.updateMetaProperty(y,N(y.name,k,e.isIdentifier));case 232:return e.Debug.type(y),O.updateTemplateSpan(y,N(y.expression,k,e.isExpression),N(y.literal,k,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(y),O.updateBlock(y,F(y.statements,k,e.isStatement));case 236:return e.Debug.type(y),O.updateVariableStatement(y,F(y.modifiers,k,e.isModifier),N(y.declarationList,k,e.isVariableDeclarationList));case 237:return e.Debug.type(y),O.updateExpressionStatement(y,N(y.expression,k,e.isExpression));case 238:return e.Debug.type(y),O.updateIfStatement(y,N(y.expression,k,e.isExpression),N(y.thenStatement,k,e.isStatement,O.liftToBlock),N(y.elseStatement,k,e.isStatement,O.liftToBlock));case 239:return e.Debug.type(y),O.updateDoStatement(y,A(y.statement,k,S),N(y.expression,k,e.isExpression));case 240:return e.Debug.type(y),O.updateWhileStatement(y,N(y.expression,k,e.isExpression),A(y.statement,k,S));case 241:return e.Debug.type(y),O.updateForStatement(y,N(y.initializer,k,e.isForInitializer),N(y.condition,k,e.isExpression),N(y.incrementor,k,e.isExpression),A(y.statement,k,S));case 242:return e.Debug.type(y),O.updateForInStatement(y,N(y.initializer,k,e.isForInitializer),N(y.expression,k,e.isExpression),A(y.statement,k,S));case 243:return e.Debug.type(y),O.updateForOfStatement(y,N(y.awaitModifier,B,e.isAwaitKeyword),N(y.initializer,k,e.isForInitializer),N(y.expression,k,e.isExpression),A(y.statement,k,S));case 244:return e.Debug.type(y),O.updateContinueStatement(y,N(y.label,k,e.isIdentifier));case 245:return e.Debug.type(y),O.updateBreakStatement(y,N(y.label,k,e.isIdentifier));case 246:return e.Debug.type(y),O.updateReturnStatement(y,N(y.expression,k,e.isExpression));case 247:return e.Debug.type(y),O.updateWithStatement(y,N(y.expression,k,e.isExpression),N(y.statement,k,e.isStatement,O.liftToBlock));case 248:return e.Debug.type(y),O.updateSwitchStatement(y,N(y.expression,k,e.isExpression),N(y.caseBlock,k,e.isCaseBlock));case 249:return e.Debug.type(y),O.updateLabeledStatement(y,N(y.label,k,e.isIdentifier),N(y.statement,k,e.isStatement,O.liftToBlock));case 250:return e.Debug.type(y),O.updateThrowStatement(y,N(y.expression,k,e.isExpression));case 251:return e.Debug.type(y),O.updateTryStatement(y,N(y.tryBlock,k,e.isBlock),N(y.catchClause,k,e.isCatchClause),N(y.finallyBlock,k,e.isBlock));case 253:return e.Debug.type(y),O.updateVariableDeclaration(y,N(y.name,k,e.isBindingName),N(y.exclamationToken,B,e.isExclamationToken),N(y.type,k,e.isTypeNode),N(y.initializer,k,e.isExpression));case 254:return e.Debug.type(y),O.updateVariableDeclarationList(y,F(y.declarations,k,e.isVariableDeclaration));case 255:return e.Debug.type(y),O.updateFunctionDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.asteriskToken,B,e.isAsteriskToken),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),a(y.parameters,k,S,F),N(y.type,k,e.isTypeNode),m(y.body,k,S,N));case 256:return e.Debug.type(y),O.updateClassDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.heritageClauses,k,e.isHeritageClause),F(y.members,k,e.isClassElement));case 257:return e.Debug.type(y),O.updateInterfaceDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),F(y.heritageClauses,k,e.isHeritageClause),F(y.members,k,e.isTypeElement));case 258:return e.Debug.type(y),O.updateTypeAliasDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isIdentifier),F(y.typeParameters,k,e.isTypeParameterDeclaration),N(y.type,k,e.isTypeNode));case 259:return e.Debug.type(y),O.updateEnumDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isIdentifier),F(y.members,k,e.isEnumMember));case 260:return e.Debug.type(y),O.updateModuleDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.name,k,e.isModuleName),N(y.body,k,e.isModuleBody));case 261:return e.Debug.type(y),O.updateModuleBlock(y,F(y.statements,k,e.isStatement));case 262:return e.Debug.type(y),O.updateCaseBlock(y,F(y.clauses,k,e.isCaseOrDefaultClause));case 263:return e.Debug.type(y),O.updateNamespaceExportDeclaration(y,N(y.name,k,e.isIdentifier));case 264:return e.Debug.type(y),O.updateImportEqualsDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),y.isTypeOnly,N(y.name,k,e.isIdentifier),N(y.moduleReference,k,e.isModuleReference));case 265:return e.Debug.type(y),O.updateImportDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.importClause,k,e.isImportClause),N(y.moduleSpecifier,k,e.isExpression),N(y.assertClause,k,e.isAssertClause));case 292:return e.Debug.type(y),O.updateAssertClause(y,F(y.elements,k,e.isAssertEntry),y.multiLine);case 293:return e.Debug.type(y),O.updateAssertEntry(y,N(y.name,k,e.isAssertionKey),N(y.value,k,e.isStringLiteral));case 266:return e.Debug.type(y),O.updateImportClause(y,y.isTypeOnly,N(y.name,k,e.isIdentifier),N(y.namedBindings,k,e.isNamedImportBindings));case 267:return e.Debug.type(y),O.updateNamespaceImport(y,N(y.name,k,e.isIdentifier));case 273:return e.Debug.type(y),O.updateNamespaceExport(y,N(y.name,k,e.isIdentifier));case 268:return e.Debug.type(y),O.updateNamedImports(y,F(y.elements,k,e.isImportSpecifier));case 269:return e.Debug.type(y),O.updateImportSpecifier(y,y.isTypeOnly,N(y.propertyName,k,e.isIdentifier),N(y.name,k,e.isIdentifier));case 270:return e.Debug.type(y),O.updateExportAssignment(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),N(y.expression,k,e.isExpression));case 271:return e.Debug.type(y),O.updateExportDeclaration(y,F(y.decorators,k,e.isDecorator),F(y.modifiers,k,e.isModifier),y.isTypeOnly,N(y.exportClause,k,e.isNamedExportBindings),N(y.moduleSpecifier,k,e.isExpression),N(y.assertClause,k,e.isAssertClause));case 272:return e.Debug.type(y),O.updateNamedExports(y,F(y.elements,k,e.isExportSpecifier));case 274:return e.Debug.type(y),O.updateExportSpecifier(y,y.isTypeOnly,N(y.propertyName,k,e.isIdentifier),N(y.name,k,e.isIdentifier));case 276:return e.Debug.type(y),O.updateExternalModuleReference(y,N(y.expression,k,e.isExpression));case 277:return e.Debug.type(y),O.updateJsxElement(y,N(y.openingElement,k,e.isJsxOpeningElement),F(y.children,k,e.isJsxChild),N(y.closingElement,k,e.isJsxClosingElement));case 278:return e.Debug.type(y),O.updateJsxSelfClosingElement(y,N(y.tagName,k,e.isJsxTagNameExpression),F(y.typeArguments,k,e.isTypeNode),N(y.attributes,k,e.isJsxAttributes));case 279:return e.Debug.type(y),O.updateJsxOpeningElement(y,N(y.tagName,k,e.isJsxTagNameExpression),F(y.typeArguments,k,e.isTypeNode),N(y.attributes,k,e.isJsxAttributes));case 280:return e.Debug.type(y),O.updateJsxClosingElement(y,N(y.tagName,k,e.isJsxTagNameExpression));case 281:return e.Debug.type(y),O.updateJsxFragment(y,N(y.openingFragment,k,e.isJsxOpeningFragment),F(y.children,k,e.isJsxChild),N(y.closingFragment,k,e.isJsxClosingFragment));case 284:return e.Debug.type(y),O.updateJsxAttribute(y,N(y.name,k,e.isIdentifier),N(y.initializer,k,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(y),O.updateJsxAttributes(y,F(y.properties,k,e.isJsxAttributeLike));case 286:return e.Debug.type(y),O.updateJsxSpreadAttribute(y,N(y.expression,k,e.isExpression));case 287:return e.Debug.type(y),O.updateJsxExpression(y,N(y.expression,k,e.isExpression));case 288:return e.Debug.type(y),O.updateCaseClause(y,N(y.expression,k,e.isExpression),F(y.statements,k,e.isStatement));case 289:return e.Debug.type(y),O.updateDefaultClause(y,F(y.statements,k,e.isStatement));case 290:return e.Debug.type(y),O.updateHeritageClause(y,F(y.types,k,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(y),O.updateCatchClause(y,N(y.variableDeclaration,k,e.isVariableDeclaration),N(y.block,k,e.isBlock));case 294:return e.Debug.type(y),O.updatePropertyAssignment(y,N(y.name,k,e.isPropertyName),N(y.initializer,k,e.isExpression));case 295:return e.Debug.type(y),O.updateShorthandPropertyAssignment(y,N(y.name,k,e.isIdentifier),N(y.objectAssignmentInitializer,k,e.isExpression));case 296:return e.Debug.type(y),O.updateSpreadAssignment(y,N(y.expression,k,e.isExpression));case 297:return e.Debug.type(y),O.updateEnumMember(y,N(y.name,k,e.isPropertyName),N(y.initializer,k,e.isExpression));case 303:return e.Debug.type(y),O.updateSourceFile(y,f(y.statements,k,S));case 348:return e.Debug.type(y),O.updatePartiallyEmittedExpression(y,N(y.expression,k,e.isExpression));case 349:return e.Debug.type(y),O.updateCommaListExpression(y,F(y.elements,k,e.isExpression));default:return y}}}e.visitEachChild=K;function ae(y){return e.Debug.assert(y.length<=1,"Too many nodes written to output."),e.singleOrUndefined(y)}})(gr||(gr={}));var gr;(function(e){function n(U,Q,ee,ne,M){var X=M.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,G=X.enter,Z=X.exit,E=[],I=[],b=new e.Map,D,C=[],_,d=[],h="",P=0,te=0,ce=0,q=0,J=0,Te=0,Ae=!1,R=0,Y=0,j=0,z=0,Ee=0,_e=0,ke=!1,Pe=!1,Ie=!1;return{getSources:function(){return E},addSource:Fe,setSourceContent:ve,addName:ge,addMapping:De,appendSourceMap:qe,toJSON:Dr,toString:function(){return JSON.stringify(Dr())}};function Fe(or){G();var Cr=e.getRelativePathToDirectoryOrUrl(ne,or,U.getCurrentDirectory(),U.getCanonicalFileName,!0),Rr=b.get(Cr);return Rr===void 0&&(Rr=I.length,I.push(Cr),E.push(or),b.set(Cr,Rr)),Z(),Rr}function ve(or,Cr){if(G(),Cr!==null){for(D||(D=[]);D.lengthCr||z===Cr&&Ee>Rr)}function De(or,Cr,Rr,Ke,Me,Hr){e.Debug.assert(or>=R,"generatedLine cannot backtrack"),e.Debug.assert(Cr>=0,"generatedCharacter cannot be negative"),e.Debug.assert(Rr===void 0||Rr>=0,"sourceIndex cannot be negative"),e.Debug.assert(Ke===void 0||Ke>=0,"sourceLine cannot be negative"),e.Debug.assert(Me===void 0||Me>=0,"sourceCharacter cannot be negative"),G(),(Be(or,Cr)||de(Rr,Ke,Me))&&(Le(),R=or,Y=Cr,Pe=!1,Ie=!1,ke=!0),Rr!==void 0&&Ke!==void 0&&Me!==void 0&&(j=Rr,z=Ke,Ee=Me,Pe=!0,Hr!==void 0&&(_e=Hr,Ie=!0)),Z()}function qe(or,Cr,Rr,Ke,Me,Hr){e.Debug.assert(or>=R,"generatedLine cannot backtrack"),e.Debug.assert(Cr>=0,"generatedCharacter cannot be negative"),G();for(var cr=[],vr,fe=m(Rr.mappings),xe=fe.next();!xe.done;xe=fe.next()){var Je=xe.value;if(Hr&&(Je.generatedLine>Hr.line||Je.generatedLine===Hr.line&&Je.generatedCharacter>Hr.character))break;if(!(Me&&(Je.generatedLine=1024&&Ye()}function Le(){if(!(!ke||!Xe())){if(G(),P0&&(h+=String.fromCharCode.apply(void 0,d),d.length=0)}function Dr(){return Le(),Ye(),{version:3,file:Q,sourceRoot:ee,sources:I,names:C,mappings:h,sourcesContent:D}}function br(or){or<0?or=(-or<<1)+1:or=or<<1;do{var Cr=or&31;or=or>>5,or>0&&(Cr=Cr|32),Se(ae(Cr))}while(or>0)}}e.createSourceMapGenerator=n;var c=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,f=/^\s*(\/\/[@#] .*)?$/;function a(U,Q){return{getLineCount:function(){return Q.length},getLineText:function(ee){return U.substring(Q[ee],Q[ee+1])}}}e.getLineInfo=a;function p(U){for(var Q=U.getLineCount()-1;Q>=0;Q--){var ee=U.getLineText(Q),ne=c.exec(ee);if(ne)return e.trimStringEnd(ne[1]);if(!ee.match(f))break}}e.tryGetSourceMappingURL=p;function x(U){return typeof U=="string"||U===null}function V(U){return U!==null&&typeof U=="object"&&U.version===3&&typeof U.file=="string"&&typeof U.mappings=="string"&&e.isArray(U.sources)&&e.every(U.sources,e.isString)&&(U.sourceRoot===void 0||U.sourceRoot===null||typeof U.sourceRoot=="string")&&(U.sourcesContent===void 0||U.sourcesContent===null||e.isArray(U.sourcesContent)&&e.every(U.sourcesContent,x))&&(U.names===void 0||U.names===null||e.isArray(U.names)&&e.every(U.names,e.isString))}e.isRawSourceMap=V;function g(U){try{var Q=JSON.parse(U);if(V(Q))return Q}catch{}}e.tryParseRawSourceMap=g;function m(U){var Q=!1,ee=0,ne=0,M=0,X=0,G=0,Z=0,E=0,I;return{get pos(){return ee},get error(){return I},get state(){return b(!0,!0)},next:function(){for(;!Q&&ee=U.length)return C("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var J=y(U.charCodeAt(ee));if(J===-1)return C("Invalid character in VLQ"),-1;te=(J&32)!==0,q=q|(J&31)<>1,q=-q):q=q>>1,q}}e.decodeMappings=m;function A(U,Q){return U===Q||U.generatedLine===Q.generatedLine&&U.generatedCharacter===Q.generatedCharacter&&U.sourceIndex===Q.sourceIndex&&U.sourceLine===Q.sourceLine&&U.sourceCharacter===Q.sourceCharacter&&U.nameIndex===Q.nameIndex}e.sameMapping=A;function K(U){return U.sourceIndex!==void 0&&U.sourceLine!==void 0&&U.sourceCharacter!==void 0}e.isSourceMapping=K;function ae(U){return U>=0&&U<26?65+U:U>=26&&U<52?97+U-26:U>=52&&U<62?48+U-52:U===62?43:U===63?47:e.Debug.fail("".concat(U,": not a base64 value"))}function y(U){return U>=65&&U<=90?U-65:U>=97&&U<=122?U-97+26:U>=48&&U<=57?U-48+52:U===43?62:U===47?63:-1}function k(U){return U.sourceIndex!==void 0&&U.sourcePosition!==void 0}function S(U,Q){return U.generatedPosition===Q.generatedPosition&&U.sourceIndex===Q.sourceIndex&&U.sourcePosition===Q.sourcePosition}function F(U,Q){return e.Debug.assert(U.sourceIndex===Q.sourceIndex),e.compareValues(U.sourcePosition,Q.sourcePosition)}function B(U,Q){return e.compareValues(U.generatedPosition,Q.generatedPosition)}function N(U){return U.sourcePosition}function w(U){return U.generatedPosition}function O(U,Q,ee){var ne=e.getDirectoryPath(ee),M=Q.sourceRoot?e.getNormalizedAbsolutePath(Q.sourceRoot,ne):ne,X=e.getNormalizedAbsolutePath(Q.file,ne),G=U.getSourceFileLike(X),Z=Q.sources.map(function(ce){return e.getNormalizedAbsolutePath(ce,M)}),E=new e.Map(Z.map(function(ce,q){return[U.getCanonicalFileName(ce),q]})),I,b,D;return{getSourcePosition:te,getGeneratedPosition:P};function C(ce){var q=G!==void 0?e.getPositionOfLineAndCharacter(G,ce.generatedLine,ce.generatedCharacter,!0):-1,J,Te;if(K(ce)){var Ae=U.getSourceFileLike(Z[ce.sourceIndex]);J=Q.sources[ce.sourceIndex],Te=Ae!==void 0?e.getPositionOfLineAndCharacter(Ae,ce.sourceLine,ce.sourceCharacter,!0):-1}return{generatedPosition:q,source:J,sourceIndex:ce.sourceIndex,sourcePosition:Te,nameIndex:ce.nameIndex}}function _(){if(I===void 0){var ce=m(Q.mappings),q=e.arrayFrom(ce,C);ce.error!==void 0?(U.log&&U.log("Encountered error while decoding sourcemap: ".concat(ce.error)),I=e.emptyArray):I=q}return I}function d(ce){if(D===void 0){for(var q=[],J=0,Te=_();J0&&M!==ne.elements.length||!!(ne.elements.length-M)&&e.isDefaultImport(ee)}e.getImportNeedsImportStarHelper=x;function V(ee){return!x(ee)&&(e.isDefaultImport(ee)||!!ee.importClause&&e.isNamedImports(ee.importClause.namedBindings)&&c(ee.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=V;function g(ee,ne,M,X){for(var G=[],Z=e.createMultiMap(),E=[],I=new e.Map,b,D=!1,C,_=!1,d=!1,h=!1,P=0,te=ne.statements;P=64&&ee<=78}e.isCompoundAssignment=y;function k(ee){switch(ee){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}e.getNonAssignmentOperatorForCompoundAssignment=k;function S(ee,ne,M,X){if(ne.body){var G=ne.body.statements,Z=ee.copyPrologue(G,M,!1,X);if(Z===G.length)return Z;var E=e.findIndex(G,function(b){return e.isExpressionStatement(b)&&e.isSuperCall(b.expression)},Z);if(E>-1){for(var I=Z;I<=E;I++)M.push(e.visitNode(G[I],X,e.isStatement));return E+1}return Z}return 0}e.addPrologueDirectivesAndInitialSuperCall=S;function F(ee,ne,M){return e.filter(ee.members,function(X){return w(X,ne,M)})}e.getProperties=F;function B(ee){return O(ee)||e.isClassStaticBlockDeclaration(ee)}function N(ee){return e.filter(ee.members,B)}e.getStaticPropertiesAndClassStaticBlock=N;function w(ee,ne,M){return e.isPropertyDeclaration(ee)&&(!!ee.initializer||!ne)&&e.hasStaticModifier(ee)===M}function O(ee){return e.isPropertyDeclaration(ee)&&e.hasStaticModifier(ee)}function U(ee){return ee.kind===166&&ee.initializer!==void 0}e.isInitializedProperty=U;function Q(ee){return!e.isStatic(ee)&&e.isMethodOrAccessor(ee)&&e.isPrivateIdentifier(ee.name)}e.isNonStaticMethodOrAccessorWithPrivateName=Q})(gr||(gr={}));var gr;(function(e){(function(O){O[O.All=0]="All",O[O.ObjectRest=1]="ObjectRest"})(e.FlattenLevel||(e.FlattenLevel={}));function n(O,U,Q,ee,ne,M){var X=O,G;if(e.isDestructuringAssignment(O))for(G=O.right;e.isEmptyArrayLiteral(O.left)||e.isEmptyObjectLiteral(O.left);)if(e.isDestructuringAssignment(G))X=O=G,G=O.right;else return e.visitNode(G,U,e.isExpression);var Z,E={context:Q,level:ee,downlevelIteration:!!Q.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:I,emitBindingOrAssignment:b,createArrayBindingOrAssignmentPattern:function(D){return S(Q.factory,D)},createObjectBindingOrAssignmentPattern:function(D){return B(Q.factory,D)},createArrayBindingOrAssignmentElement:w,visitor:U};if(G&&(G=e.visitNode(G,U,e.isExpression),e.isIdentifier(G)&&c(O,G.escapedText)||a(O)?G=y(E,G,!1,X):ne?G=y(E,G,!0,X):e.nodeIsSynthesized(O)&&(X=G)),V(E,O,G,X,e.isDestructuringAssignment(O)),G&&ne){if(!e.some(Z))return G;Z.push(G)}return Q.factory.inlineExpressions(Z)||Q.factory.createOmittedExpression();function I(D){Z=e.append(Z,D)}function b(D,C,_,d){e.Debug.assertNode(D,M?e.isIdentifier:e.isExpression);var h=M?M(D,C,_):e.setTextRange(Q.factory.createAssignment(e.visitNode(D,U,e.isExpression),C),_);h.original=d,I(h)}}e.flattenDestructuringAssignment=n;function c(O,U){var Q=e.getTargetOfBindingOrAssignmentElement(O);return e.isBindingOrAssignmentPattern(Q)?f(Q,U):e.isIdentifier(Q)?Q.escapedText===U:!1}function f(O,U){for(var Q=e.getElementsOfBindingOrAssignmentPattern(O),ee=0,ne=Q;ee=1&&!(b.transformFlags&49152)&&!(e.getTargetOfBindingOrAssignmentElement(b).transformFlags&49152)&&!e.isComputedPropertyName(D))Z=e.append(Z,e.visitNode(b,O.visitor));else{Z&&(O.emitBindingOrAssignment(O.createObjectBindingOrAssignmentPattern(Z),ee,ne,Q),Z=void 0);var C=ae(O,ee,D);e.isComputedPropertyName(D)&&(E=e.append(E,C.argumentExpression)),V(O,b,C,b)}}}Z&&O.emitBindingOrAssignment(O.createObjectBindingOrAssignmentPattern(Z),ee,ne,Q)}function m(O,U,Q,ee,ne){var M=e.getElementsOfBindingOrAssignmentPattern(Q),X=M.length;if(O.level<1&&O.downlevelIteration)ee=y(O,e.setTextRange(O.context.getEmitHelperFactory().createReadHelper(ee,X>0&&e.getRestIndicatorOfBindingOrAssignmentElement(M[X-1])?void 0:X),ne),!1,ne);else if(X!==1&&(O.level<1||X===0)||e.every(M,e.isOmittedExpression)){var G=!e.isDeclarationBindingElement(U)||X!==0;ee=y(O,ee,G,ne)}for(var Z,E,I=0;I=1)if(b.transformFlags&32768||O.hasTransformedPriorElement&&!A(b)){O.hasTransformedPriorElement=!0;var D=O.context.factory.createTempVariable(void 0);O.hoistTempVariables&&O.context.hoistVariableDeclaration(D),E=e.append(E,[D,b]),Z=e.append(Z,O.createArrayBindingOrAssignmentElement(D))}else Z=e.append(Z,b);else{if(e.isOmittedExpression(b))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(b)){if(I===X-1){var C=O.context.factory.createArraySliceCall(ee,I);V(O,b,C,b)}}else{var C=O.context.factory.createElementAccessExpression(ee,I);V(O,b,C,b)}}}if(Z&&O.emitBindingOrAssignment(O.createArrayBindingOrAssignmentPattern(Z),ee,ne,Q),E)for(var _=0,d=E;_=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(ie);return p.updateSourceFile(ie,e.visitLexicalEnvironment(ie.statements,d,a,0,_r))}function Y(ie,_r){var oe=0;e.some(_r)&&(oe|=1);var Ge=e.getEffectiveBaseTypeNode(ie);return Ge&&e.skipOuterExpressions(Ge.expression).kind!==104&&(oe|=64),e.classOrConstructorParameterIsDecorated(ie)&&(oe|=2),e.childIsDecorated(ie)&&(oe|=4),Ci(ie)?oe|=8:yi(ie)?oe|=32:va(ie)&&(oe|=16),k<=1&&oe&7&&(oe|=128),oe}function j(ie){return!!(ie.transformFlags&4096)}function z(ie){return e.some(ie.decorators)||e.some(ie.typeParameters)||e.some(ie.heritageClauses,j)||e.some(ie.members,j)}function Ee(ie){if(!z(ie)&&!(w&&e.hasSyntacticModifier(ie,1)))return e.visitEachChild(ie,C,a);var _r=e.getProperties(ie,!0,!0),oe=Y(ie,_r);oe&128&&a.startLexicalEnvironment();var Ge=ie.name||(oe&5?p.getGeneratedNameForNode(ie):void 0),$e=oe&2?ke(ie,Ge):_e(ie,Ge,oe),hr=[$e];if(Dr(hr,ie,!1),Dr(hr,ie,!0),Cr(hr,ie),oe&128){var Xr=e.createTokenRange(e.skipTrivia(N.text,ie.members.end),19),Dt=p.getInternalName(ie),Jt=p.createPartiallyEmittedExpression(Dt);e.setTextRangeEnd(Jt,Xr.end),e.setEmitFlags(Jt,1536);var Dn=p.createReturnStatement(Jt);e.setTextRangePos(Dn,Xr.pos),e.setEmitFlags(Dn,1920),hr.push(Dn),e.insertStatementsAfterStandardPrologue(hr,a.endLexicalEnvironment());var ta=p.createImmediatelyInvokedArrowFunction(hr);e.setEmitFlags(ta,33554432);var xa=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(ie,!1,!1),void 0,void 0,ta)]));e.setOriginalNode(xa,ie),e.setCommentRange(xa,ie),e.setSourceMapRange(xa,e.moveRangePastDecorators(ie)),e.startOnNewLine(xa),hr=[xa]}return oe&8?Ka(hr,ie):(oe&128||oe&2)&&(oe&32?hr.push(p.createExportDefault(p.getLocalName(ie,!1,!0))):oe&16&&hr.push(p.createExternalModuleExport(p.getLocalName(ie,!1,!0)))),hr.length>1&&(hr.push(p.createEndOfDeclarationMarker(ie)),e.setEmitFlags($e,e.getEmitFlags($e)|4194304)),e.singleOrMany(hr)}function _e(ie,_r,oe){var Ge=oe&128?void 0:e.visitNodes(ie.modifiers,Te,e.isModifier),$e=p.createClassDeclaration(void 0,Ge,_r,void 0,e.visitNodes(ie.heritageClauses,C,e.isHeritageClause),Ie(ie)),hr=e.getEmitFlags(ie);return oe&1&&(hr|=32),e.setTextRange($e,ie),e.setOriginalNode($e,ie),e.setEmitFlags($e,hr),$e}function ke(ie,_r){var oe=e.moveRangePastDecorators(ie),Ge=ko(ie),$e=k<=2?p.getInternalName(ie,!1,!0):p.getLocalName(ie,!1,!0),hr=e.visitNodes(ie.heritageClauses,C,e.isHeritageClause),Xr=Ie(ie),Dt=p.createClassExpression(void 0,void 0,_r,void 0,hr,Xr);e.setOriginalNode(Dt,ie),e.setTextRange(Dt,oe);var Jt=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration($e,void 0,void 0,Ge?p.createAssignment(Ge,Dt):Dt)],1));return e.setOriginalNode(Jt,ie),e.setTextRange(Jt,oe),e.setCommentRange(Jt,ie),Jt}function Pe(ie){if(!z(ie))return e.visitEachChild(ie,C,a);var _r=p.createClassExpression(void 0,void 0,ie.name,void 0,e.visitNodes(ie.heritageClauses,C,e.isHeritageClause),Ie(ie));return e.setOriginalNode(_r,ie),e.setTextRange(_r,ie),_r}function Ie(ie){var _r=[],oe=e.getFirstConstructorWithBody(ie),Ge=oe&&e.filter(oe.parameters,function(Dt){return e.isParameterPropertyDeclaration(Dt,oe)});if(Ge)for(var $e=0,hr=Ge;$e0&&e.parameterIsThisKeyword(oe[0]),$e=Ge?1:0,hr=Ge?oe.length-1:oe.length,Xr=0;Xr0?_r.kind===166?p.createVoidZero():p.createNull():void 0,Dt=x().createDecorateHelper(Ge,$e,hr,Xr);return e.setTextRange(Dt,e.moveRangePastDecorators(_r)),e.setEmitFlags(Dt,1536),Dt}}function Cr(ie,_r){var oe=Rr(_r);oe&&ie.push(e.setOriginalNode(p.createExpressionStatement(oe),_r))}function Rr(ie){var _r=De(ie),oe=Ye(ie,ie,_r);if(oe){var Ge=X&&X[e.getOriginalNodeId(ie)],$e=k<=2?p.getInternalName(ie,!1,!0):p.getLocalName(ie,!1,!0),hr=x().createDecorateHelper(oe,$e),Xr=p.createAssignment($e,Ge?p.createAssignment(Ge,hr):hr);return e.setEmitFlags(Xr,1536),e.setSourceMapRange(Xr,e.moveRangePastDecorators(ie)),Xr}}function Ke(ie){return e.visitNode(ie.expression,C,e.isExpression)}function Me(ie,_r){var oe;if(ie){oe=[];for(var Ge=0,$e=ie;Ge<$e.length;Ge++){var hr=$e[Ge],Xr=x().createParamHelper(Ke(hr),_r);e.setTextRange(Xr,hr.expression),e.setEmitFlags(Xr,1536),oe.push(Xr)}}return oe}function Hr(ie,_r,oe){cr(ie,_r,oe)}function cr(ie,_r,oe){ae.emitDecoratorMetadata&&(vr(ie)&&oe.push(x().createMetadataHelper("design:type",pr(ie))),xe(ie)&&oe.push(x().createMetadataHelper("design:paramtypes",kr(ie,_r))),fe(ie)&&oe.push(x().createMetadataHelper("design:returntype",ur(ie))))}function vr(ie){var _r=ie.kind;return _r===168||_r===171||_r===172||_r===166}function fe(ie){return ie.kind===168}function xe(ie){switch(ie.kind){case 256:case 225:return e.getFirstConstructorWithBody(ie)!==void 0;case 168:case 171:case 172:return!0}return!1}function Je(ie){var _r=K.getAllAccessorDeclarations(ie);return _r.setAccessor&&e.getSetAccessorTypeAnnotationNode(_r.setAccessor)||_r.getAccessor&&e.getEffectiveReturnTypeNode(_r.getAccessor)}function pr(ie){switch(ie.kind){case 166:case 163:return Wr(ie.type);case 172:case 171:return Wr(Je(ie));case 256:case 225:case 168:return p.createIdentifier("Function");default:return p.createVoidZero()}}function kr(ie,_r){var oe=e.isClassLike(ie)?e.getFirstConstructorWithBody(ie):e.isFunctionLike(ie)&&e.nodeIsPresent(ie.body)?ie:void 0,Ge=[];if(oe)for(var $e=Ve(oe,_r),hr=$e.length,Xr=0;Xr=2,U=B<=8||!N,Q=g.onSubstituteNode;g.onSubstituteNode=He;var ee=g.onEmitNode;g.onEmitNode=Wr;var ne,M,X,G,Z=[],E=new e.Map,I,b,D;return e.chainBundle(g,C);function C($){var Ne=g.getCompilerOptions();if($.isDeclarationFile||N&&e.getEmitScriptTarget(Ne)===99)return $;var me=e.visitEachChild($,h,g);return e.addEmitHelpers(me,g.readEmitHelpers()),me}function _($,Ne){if($.transformFlags&8388608)switch($.kind){case 225:case 256:return Xe($);case 166:return j($);case 236:return Te($);case 80:return ce($);case 169:return Cr($)}if($.transformFlags&8388608||$.transformFlags&33554432&&O&&D&&I)switch($.kind){case 218:case 219:return Pe($,Ne);case 220:return De($,Ne);case 207:return ge($);case 209:return Be($);case 205:return _e($);case 206:return ke($);case 237:return Fe($);case 241:return Ie($);case 255:case 212:case 170:case 168:case 171:case 172:{var me=D;D=void 0;var Ze=e.visitEachChild($,h,g);return D=me,Ze}}return e.visitEachChild($,h,g)}function d($){return _($,!0)}function h($){return _($,!1)}function P($){switch($.kind){case 290:return e.visitEachChild($,P,g);case 227:return Dr($)}return h($)}function te($){switch($.kind){case 204:case 203:return We($);default:return h($)}}function ce($){return!w||e.isStatement($.parent)?$:e.setOriginalNode(m.createIdentifier(""),$)}function q($){if(!w)return $;var Ne=$.left;e.Debug.assertNode(Ne,e.isPrivateIdentifier),e.Debug.assert($.operatorToken.kind===101);var me=ir(Ne);if(me){var Ze=e.visitNode($.right,h,e.isExpression);return e.setOriginalNode(g.getEmitHelperFactory().createClassPrivateFieldInHelper(me.brandCheckIdentifier,Ze),$)}return e.visitEachChild($,h,g)}function J($){switch($.kind){case 170:return;case 171:case 172:case 168:return R($);case 166:return j($);case 161:return Ae($);case 233:return $;default:return h($)}}function Te($){var Ne=G;G=[];var me=e.visitEachChild($,h,g),Ze=e.some(G)?Gt([me],G,!0):me;return G=Ne,Ze}function Ae($){var Ne=e.visitEachChild($,h,g);if(e.some(X)){var me=X;me.push(Ne.expression),X=[],Ne=m.updateComputedPropertyName(Ne,m.inlineExpressions(me))}return Ne}function R($){if(e.Debug.assert(!e.some($.decorators)),!w||!e.isPrivateIdentifier($.name))return e.visitEachChild($,J,g);var Ne=ir($.name);if(e.Debug.assert(Ne,"Undeclared private name for property declaration."),!Ne.isValid)return $;var me=Y($);me&&ar().push(m.createAssignment(me,m.createFunctionExpression(e.filter($.modifiers,function(Ze){return!e.isStaticModifier(Ze)}),$.asteriskToken,me,void 0,e.visitParameterList($.parameters,J,g),void 0,e.visitFunctionBody($.body,J,g))))}function Y($){e.Debug.assert(e.isPrivateIdentifier($.name));var Ne=ir($.name);if(e.Debug.assert(Ne,"Undeclared private name for property declaration."),Ne.kind==="m")return Ne.methodName;if(Ne.kind==="a"){if(e.isGetAccessor($))return Ne.getterName;if(e.isSetAccessor($))return Ne.setterName}}function j($){if(e.Debug.assert(!e.some($.decorators)),e.isPrivateIdentifier($.name)){if(!w)return m.updatePropertyDeclaration($,void 0,e.visitNodes($.modifiers,h,e.isModifier),$.name,void 0,void 0,void 0);var Ne=ir($.name);if(e.Debug.assert(Ne,"Undeclared private name for property declaration."),!Ne.isValid)return $}var me=Rt($.name,!!$.initializer||N);me&&!e.isSimpleInlineableExpression(me)&&ar().push(me)}function z($,Ne){return Ee($,e.visitNode(Ne,h,e.isExpression))}function Ee($,Ne){switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),$.kind){case"a":return g.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.getterName);case"m":return g.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.methodName);case"f":return g.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.variableName);default:e.Debug.assertNever($,"Unknown private element type")}}function _e($){if(w&&e.isPrivateIdentifier($.name)){var Ne=ir($.name);if(Ne)return e.setTextRange(e.setOriginalNode(z(Ne,$.expression),$),$)}if(O&&e.isSuperProperty($)&&e.isIdentifier($.name)&&D&&I){var me=I.classConstructor,Ze=I.superClassReference,xr=I.facts;if(xr&1)return ur($);if(me&&Ze){var fr=m.createReflectGetCall(Ze,m.createStringLiteralFromNode($.name),me);return e.setOriginalNode(fr,$.expression),e.setTextRange(fr,$.expression),fr}}return e.visitEachChild($,h,g)}function ke($){if(O&&e.isSuperProperty($)&&D&&I){var Ne=I.classConstructor,me=I.superClassReference,Ze=I.facts;if(Ze&1)return ur($);if(Ne&&me){var xr=m.createReflectGetCall(me,e.visitNode($.argumentExpression,h,e.isExpression),Ne);return e.setOriginalNode(xr,$.expression),e.setTextRange(xr,$.expression),xr}}return e.visitEachChild($,h,g)}function Pe($,Ne){if($.operator===45||$.operator===46){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.operand)){var me=void 0;if(me=ir($.operand.name)){var Ze=e.visitNode($.operand.expression,h,e.isExpression),xr=ve(Ze),fr=xr.readExpression,dr=xr.initializeExpression,et=z(me,fr),yt=e.isPrefixUnaryExpression($)||Ne?void 0:m.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(m,$,et,A,yt),et=qe(me,dr||fr,et,63),e.setOriginalNode(et,$),e.setTextRange(et,$),yt&&(et=m.createComma(et,yt),e.setTextRange(et,$)),et}}else if(O&&e.isSuperProperty($.operand)&&D&&I){var jr=I.classConstructor,rr=I.superClassReference,Ir=I.facts;if(Ir&1){var Or=ur($.operand);return e.isPrefixUnaryExpression($)?m.updatePrefixUnaryExpression($,Or):m.updatePostfixUnaryExpression($,Or)}if(jr&&rr){var zr=void 0,gt=void 0;if(e.isPropertyAccessExpression($.operand)?e.isIdentifier($.operand.name)&&(gt=zr=m.createStringLiteralFromNode($.operand.name)):e.isSimpleInlineableExpression($.operand.argumentExpression)?gt=zr=$.operand.argumentExpression:(gt=m.createTempVariable(A),zr=m.createAssignment(gt,e.visitNode($.operand.argumentExpression,h,e.isExpression))),zr&>){var et=m.createReflectGetCall(rr,gt,jr);e.setTextRange(et,$.operand);var yt=Ne?void 0:m.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(m,$,et,A,yt),et=m.createReflectSetCall(rr,zr,et,jr),e.setOriginalNode(et,$),e.setTextRange(et,$),yt&&(et=m.createComma(et,yt),e.setTextRange(et,$)),et}}}}return e.visitEachChild($,h,g)}function Ie($){return m.updateForStatement($,e.visitNode($.initializer,d,e.isForInitializer),e.visitNode($.condition,h,e.isExpression),e.visitNode($.incrementor,d,e.isExpression),e.visitIterationBody($.statement,h,g))}function Fe($){return m.updateExpressionStatement($,e.visitNode($.expression,d,e.isExpression))}function ve($){var Ne=e.nodeIsSynthesized($)?$:m.cloneNode($);if(e.isSimpleInlineableExpression($))return{readExpression:Ne,initializeExpression:void 0};var me=m.createTempVariable(A),Ze=m.createAssignment(me,Ne);return{readExpression:me,initializeExpression:Ze}}function ge($){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.expression)){var Ne=m.createCallBinding($.expression,A,B),me=Ne.thisArg,Ze=Ne.target;return e.isCallChain($)?m.updateCallChain($,m.createPropertyAccessChain(e.visitNode(Ze,h),$.questionDotToken,"call"),void 0,void 0,Gt([e.visitNode(me,h,e.isExpression)],e.visitNodes($.arguments,h,e.isExpression),!0)):m.updateCallExpression($,m.createPropertyAccessExpression(e.visitNode(Ze,h),"call"),void 0,Gt([e.visitNode(me,h,e.isExpression)],e.visitNodes($.arguments,h,e.isExpression),!0))}if(O&&e.isSuperProperty($.expression)&&D&&(I!=null&&I.classConstructor)){var xr=m.createFunctionCallCall(e.visitNode($.expression,h,e.isExpression),I.classConstructor,e.visitNodes($.arguments,h,e.isExpression));return e.setOriginalNode(xr,$),e.setTextRange(xr,$),xr}return e.visitEachChild($,h,g)}function Be($){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.tag)){var Ne=m.createCallBinding($.tag,A,B),me=Ne.thisArg,Ze=Ne.target;return m.updateTaggedTemplateExpression($,m.createCallExpression(m.createPropertyAccessExpression(e.visitNode(Ze,h),"bind"),void 0,[e.visitNode(me,h,e.isExpression)]),void 0,e.visitNode($.template,h,e.isTemplateLiteral))}if(O&&e.isSuperProperty($.tag)&&D&&(I!=null&&I.classConstructor)){var xr=m.createFunctionBindCall(e.visitNode($.tag,h,e.isExpression),I.classConstructor,[]);return e.setOriginalNode(xr,$),e.setTextRange(xr,$),m.updateTaggedTemplateExpression($,xr,void 0,e.visitNode($.template,h,e.isTemplateLiteral))}return e.visitEachChild($,h,g)}function de($){if(w){I&&E.set(e.getOriginalNodeId($),I),ae();var Ne=D;D=$;var me=e.visitNodes($.body.statements,h,e.isStatement);me=m.mergeLexicalEnvironment(me,K()),D=Ne;var Ze=m.createImmediatelyInvokedArrowFunction(me);return e.setOriginalNode(Ze,$),e.setTextRange(Ze,$),e.addEmitFlags(Ze,2),Ze}}function De($,Ne){if(e.isDestructuringAssignment($)){var me=X;X=void 0,$=m.updateBinaryExpression($,e.visitNode($.left,te),$.operatorToken,e.visitNode($.right,h));var Ze=e.some(X)?m.inlineExpressions(e.compact(Gt(Gt([],X,!0),[$],!1))):$;return X=me,Ze}if(e.isAssignmentExpression($)){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.left)){var xr=ir($.left.name);if(xr)return e.setTextRange(e.setOriginalNode(qe(xr,$.left.expression,$.right,$.operatorToken.kind),$),$)}else if(O&&e.isSuperProperty($.left)&&D&&I){var fr=I.classConstructor,dr=I.superClassReference,et=I.facts;if(et&1)return m.updateBinaryExpression($,ur($.left),$.operatorToken,e.visitNode($.right,h,e.isExpression));if(fr&&dr){var yt=e.isElementAccessExpression($.left)?e.visitNode($.left.argumentExpression,h,e.isExpression):e.isIdentifier($.left.name)?m.createStringLiteralFromNode($.left.name):void 0;if(yt){var jr=e.visitNode($.right,h,e.isExpression);if(e.isCompoundAssignment($.operatorToken.kind)){var rr=yt;e.isSimpleInlineableExpression(yt)||(rr=m.createTempVariable(A),yt=m.createAssignment(rr,yt));var Ir=m.createReflectGetCall(dr,rr,fr);e.setOriginalNode(Ir,$.left),e.setTextRange(Ir,$.left),jr=m.createBinaryExpression(Ir,e.getNonAssignmentOperatorForCompoundAssignment($.operatorToken.kind),jr),e.setTextRange(jr,$)}var Or=Ne?void 0:m.createTempVariable(A);return Or&&(jr=m.createAssignment(Or,jr),e.setTextRange(Or,$)),jr=m.createReflectSetCall(dr,yt,jr,fr),e.setOriginalNode(jr,$),e.setTextRange(jr,$),Or&&(jr=m.createComma(jr,Or),e.setTextRange(jr,$)),jr}}}}return $.operatorToken.kind===101&&e.isPrivateIdentifier($.left)?q($):e.visitEachChild($,h,g)}function qe($,Ne,me,Ze){if(Ne=e.visitNode(Ne,h,e.isExpression),me=e.visitNode(me,h,e.isExpression),e.isCompoundAssignment(Ze)){var xr=ve(Ne),fr=xr.readExpression,dr=xr.initializeExpression;Ne=dr||fr,me=m.createBinaryExpression(Ee($,fr),e.getNonAssignmentOperatorForCompoundAssignment(Ze),me)}switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),$.kind){case"a":return g.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,$.setterName);case"m":return g.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,void 0);case"f":return g.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,$.variableName);default:e.Debug.assertNever($,"Unknown private element type")}}function Xe($){if(!e.forEach($.members,Se))return e.visitEachChild($,h,g);var Ne=X;if(X=void 0,an(),w){var me=e.getNameOfDeclaration($);me&&e.isIdentifier(me)&&(Fn().className=e.idText(me));var Ze=Le($);e.some(Ze)&&(Fn().weakSetName=sr("instances",Ze[0].name))}var xr=e.isClassDeclaration($)?br($):or($);return yn(),X=Ne,xr}function Se($){return e.isPropertyDeclaration($)||e.isClassStaticBlockDeclaration($)||w&&$.name&&e.isPrivateIdentifier($.name)}function Le($){return e.filter($.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function Ye($){var Ne=0,me=e.getOriginalNode($);e.isClassDeclaration(me)&&e.classOrConstructorParameterIsDecorated(me)&&(Ne|=1);for(var Ze=0,xr=$.members;Zedr&&(N||e.addRange(et,e.visitNodes(Ne.body.statements,h,e.isStatement,dr,yt-dr)),dr=yt)}var jr=m.createThis();return Ve(et,xr,jr),vr(et,Ze,jr),Ne&&e.addRange(et,e.visitNodes(Ne.body.statements,h,e.isStatement,dr)),et=m.mergeLexicalEnvironment(et,K()),e.setTextRange(m.createBlock(e.setTextRange(m.createNodeArray(et),Ne?Ne.body.statements:$.members),!0),Ne?Ne.body:void 0)}function vr($,Ne,me){for(var Ze=0,xr=Ne;Ze=0;--Ze){var xr=Z[Ze];if(xr){var me=(Ne=xr.privateIdentifierEnvironment)===null||Ne===void 0?void 0:Ne.identifiers.get($.escapedText);if(me)return me}}}function ue($){var Ne=m.getGeneratedNameForNode($),me=ir($.name);if(!me)return e.visitEachChild($,h,g);var Ze=$.expression;return(e.isThisProperty($)||e.isSuperProperty($)||!e.isSimpleCopiableExpression($.expression))&&(Ze=m.createTempVariable(A,!0),ar().push(m.createBinaryExpression(Ze,63,e.visitNode($.expression,h,e.isExpression)))),m.createAssignmentTargetWrapper(Ne,qe(me,Ze,Ne,63))}function je($){var Ne=e.getTargetOfBindingOrAssignmentElement($);if(Ne){var me=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=ue(Ne);else if(O&&e.isSuperProperty(Ne)&&D&&I){var Ze=I.classConstructor,xr=I.superClassReference,fr=I.facts;if(fr&1)me=ur(Ne);else if(Ze&&xr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,h,e.isExpression):e.isIdentifier(Ne.name)?m.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=m.createTempVariable(void 0);me=m.createAssignmentTargetWrapper(et,m.createReflectSetCall(xr,dr,et,Ze))}}}if(me)return e.isAssignmentExpression($)?m.updateBinaryExpression($,me,$.operatorToken,e.visitNode($.right,h,e.isExpression)):e.isSpreadElement($)?m.updateSpreadElement($,me):me}return e.visitNode($,te)}function be($){if(e.isObjectBindingOrAssignmentElement($)&&!e.isShorthandPropertyAssignment($)){var Ne=e.getTargetOfBindingOrAssignmentElement($),me=void 0;if(Ne){if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=ue(Ne);else if(O&&e.isSuperProperty(Ne)&&D&&I){var Ze=I.classConstructor,xr=I.superClassReference,fr=I.facts;if(fr&1)me=ur(Ne);else if(Ze&&xr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,h,e.isExpression):e.isIdentifier(Ne.name)?m.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=m.createTempVariable(void 0);me=m.createAssignmentTargetWrapper(et,m.createReflectSetCall(xr,dr,et,Ze))}}}}if(e.isPropertyAssignment($)){var yt=e.getInitializerOfBindingOrAssignmentElement($);return m.updatePropertyAssignment($,e.visitNode($.name,h,e.isPropertyName),me?yt?m.createAssignment(me,e.visitNode(yt,h)):me:e.visitNode($.initializer,te,e.isExpression))}if(e.isSpreadAssignment($))return m.updateSpreadAssignment($,me||e.visitNode($.expression,te,e.isExpression));e.Debug.assert(me===void 0,"Should not have generated a wrapped target")}return e.visitNode($,h)}function We($){return e.isArrayLiteralExpression($)?m.updateArrayLiteralExpression($,e.visitNodes($.elements,je,e.isExpression)):m.updateObjectLiteralExpression($,e.visitNodes($.properties,be,e.isObjectLiteralElementLike))}}e.transformClassFields=f;function a(g,m){return e.factory.createAssignment(g,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",m||e.factory.createVoidZero())]))}function p(g,m,A){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(A,"set"),void 0,[g,m||e.factory.createVoidZero()])}function x(g,m){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(m,"add"),void 0,[g])}function V(g){return g.escapedText==="#constructor"}})(gr||(gr={}));var gr;(function(e){var n;(function(p){p[p.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(n||(n={}));var c;(function(p){p[p.NonTopLevel=1]="NonTopLevel",p[p.HasLexicalThis=2]="HasLexicalThis"})(c||(c={}));function f(p){var x=p.factory,V=p.getEmitHelperFactory,g=p.resumeLexicalEnvironment,m=p.endLexicalEnvironment,A=p.hoistVariableDeclaration,K=p.getEmitResolver(),ae=p.getCompilerOptions(),y=e.getEmitScriptTarget(ae),k,S=0,F,B,N,w=[],O=0,U=p.onEmitNode,Q=p.onSubstituteNode;return p.onEmitNode=Fe,p.onSubstituteNode=ve,e.chainBundle(p,ee);function ee(Se){if(Se.isDeclarationFile)return Se;ne(1,!1),ne(2,!e.isEffectiveStrictModeSourceFile(Se,ae));var Le=e.visitEachChild(Se,I,p);return e.addEmitHelpers(Le,p.readEmitHelpers()),Le}function ne(Se,Le){O=Le?O|Se:O&~Se}function M(Se){return(O&Se)!==0}function X(){return!M(1)}function G(){return M(2)}function Z(Se,Le,Ye){var Dr=Se&~O;if(Dr){ne(Dr,!0);var br=Le(Ye);return ne(Dr,!1),br}return Le(Ye)}function E(Se){return e.visitEachChild(Se,I,p)}function I(Se){if(!(Se.transformFlags&128))return Se;switch(Se.kind){case 131:return;case 217:return P(Se);case 168:return Z(3,te,Se);case 255:return Z(3,ce,Se);case 212:return Z(3,q,Se);case 213:return Z(1,J,Se);case 205:return B&&e.isPropertyAccessExpression(Se)&&Se.expression.kind===106&&B.add(Se.name.escapedText),e.visitEachChild(Se,I,p);case 206:return B&&Se.expression.kind===106&&(N=!0),e.visitEachChild(Se,I,p);case 171:case 172:case 170:case 256:case 225:return Z(3,E,Se);default:return e.visitEachChild(Se,I,p)}}function b(Se){if(e.isNodeWithPossibleHoistedDeclaration(Se))switch(Se.kind){case 236:return C(Se);case 241:return h(Se);case 242:return _(Se);case 243:return d(Se);case 291:return D(Se);case 234:case 248:case 262:case 288:case 289:case 251:case 239:case 240:case 238:case 247:case 249:return e.visitEachChild(Se,b,p);default:return e.Debug.assertNever(Se,"Unhandled node.")}return I(Se)}function D(Se){var Le=new e.Set;Te(Se.variableDeclaration,Le);var Ye;if(Le.forEach(function(or,Cr){F.has(Cr)&&(Ye||(Ye=new e.Set(F)),Ye.delete(Cr))}),Ye){var Dr=F;F=Ye;var br=e.visitEachChild(Se,b,p);return F=Dr,br}else return e.visitEachChild(Se,b,p)}function C(Se){if(Ae(Se.declarationList)){var Le=R(Se.declarationList,!1);return Le?x.createExpressionStatement(Le):void 0}return e.visitEachChild(Se,I,p)}function _(Se){return x.updateForInStatement(Se,Ae(Se.initializer)?R(Se.initializer,!0):e.visitNode(Se.initializer,I,e.isForInitializer),e.visitNode(Se.expression,I,e.isExpression),e.visitIterationBody(Se.statement,b,p))}function d(Se){return x.updateForOfStatement(Se,e.visitNode(Se.awaitModifier,I,e.isToken),Ae(Se.initializer)?R(Se.initializer,!0):e.visitNode(Se.initializer,I,e.isForInitializer),e.visitNode(Se.expression,I,e.isExpression),e.visitIterationBody(Se.statement,b,p))}function h(Se){var Le=Se.initializer;return x.updateForStatement(Se,Ae(Le)?R(Le,!1):e.visitNode(Se.initializer,I,e.isForInitializer),e.visitNode(Se.condition,I,e.isExpression),e.visitNode(Se.incrementor,I,e.isExpression),e.visitIterationBody(Se.statement,b,p))}function P(Se){return X()?e.visitEachChild(Se,I,p):e.setOriginalNode(e.setTextRange(x.createYieldExpression(void 0,e.visitNode(Se.expression,I,e.isExpression)),Se),Se)}function te(Se){return x.updateMethodDeclaration(Se,void 0,e.visitNodes(Se.modifiers,I,e.isModifier),Se.asteriskToken,Se.name,void 0,void 0,e.visitParameterList(Se.parameters,I,p),void 0,e.getFunctionFlags(Se)&2?_e(Se):e.visitFunctionBody(Se.body,I,p))}function ce(Se){return x.updateFunctionDeclaration(Se,void 0,e.visitNodes(Se.modifiers,I,e.isModifier),Se.asteriskToken,Se.name,void 0,e.visitParameterList(Se.parameters,I,p),void 0,e.getFunctionFlags(Se)&2?_e(Se):e.visitFunctionBody(Se.body,I,p))}function q(Se){return x.updateFunctionExpression(Se,e.visitNodes(Se.modifiers,I,e.isModifier),Se.asteriskToken,Se.name,void 0,e.visitParameterList(Se.parameters,I,p),void 0,e.getFunctionFlags(Se)&2?_e(Se):e.visitFunctionBody(Se.body,I,p))}function J(Se){return x.updateArrowFunction(Se,e.visitNodes(Se.modifiers,I,e.isModifier),void 0,e.visitParameterList(Se.parameters,I,p),void 0,Se.equalsGreaterThanToken,e.getFunctionFlags(Se)&2?_e(Se):e.visitFunctionBody(Se.body,I,p))}function Te(Se,Le){var Ye=Se.name;if(e.isIdentifier(Ye))Le.add(Ye.escapedText);else for(var Dr=0,br=Ye.elements;Dr=2&&K.getNodeCheckFlags(Se)&6144;if(Je&&(Ie(),B.size)){var pr=a(x,K,Se,B);w[e.getNodeId(pr)]=!0,e.insertStatementsAfterStandardPrologue(fe,[pr])}var kr=x.createBlock(fe,!0);e.setTextRange(kr,Se.body),Je&&N&&(K.getNodeCheckFlags(Se)&4096?e.addEmitHelper(kr,e.advancedAsyncSuperHelper):K.getNodeCheckFlags(Se)&2048&&e.addEmitHelper(kr,e.asyncSuperHelper)),vr=kr}return F=Cr,br||(B=Hr,N=cr),vr}function ke(Se,Le){return e.isBlock(Se)?x.updateBlock(Se,e.visitNodes(Se.statements,b,e.isStatement,Le)):x.converters.convertToFunctionBlock(e.visitNode(Se,b,e.isConciseBody))}function Pe(Se){var Le=Se&&e.getEntityNameFromTypeNode(Se);if(Le&&e.isEntityName(Le)){var Ye=K.getTypeReferenceSerializationKind(Le);if(Ye===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||Ye===e.TypeReferenceSerializationKind.Unknown)return Le}}function Ie(){k&1||(k|=1,p.enableSubstitution(207),p.enableSubstitution(205),p.enableSubstitution(206),p.enableEmitNotification(256),p.enableEmitNotification(168),p.enableEmitNotification(171),p.enableEmitNotification(172),p.enableEmitNotification(170),p.enableEmitNotification(236))}function Fe(Se,Le,Ye){if(k&1&&qe(Le)){var Dr=K.getNodeCheckFlags(Le)&6144;if(Dr!==S){var br=S;S=Dr,U(Se,Le,Ye),S=br;return}}else if(k&&w[e.getNodeId(Le)]){var br=S;S=0,U(Se,Le,Ye),S=br;return}U(Se,Le,Ye)}function ve(Se,Le){return Le=Q(Se,Le),Se===1&&S?ge(Le):Le}function ge(Se){switch(Se.kind){case 205:return Be(Se);case 206:return de(Se);case 207:return De(Se)}return Se}function Be(Se){return Se.expression.kind===106?e.setTextRange(x.createPropertyAccessExpression(x.createUniqueName("_super",48),Se.name),Se):Se}function de(Se){return Se.expression.kind===106?Xe(Se.argumentExpression,Se):Se}function De(Se){var Le=Se.expression;if(e.isSuperProperty(Le)){var Ye=e.isPropertyAccessExpression(Le)?Be(Le):de(Le);return x.createCallExpression(x.createPropertyAccessExpression(Ye,"call"),void 0,Gt([x.createThis()],Se.arguments,!0))}return Se}function qe(Se){var Le=Se.kind;return Le===256||Le===170||Le===168||Le===171||Le===172}function Xe(Se,Le){return S&4096?e.setTextRange(x.createPropertyAccessExpression(x.createCallExpression(x.createUniqueName("_superIndex",48),void 0,[Se]),"value"),Le):e.setTextRange(x.createCallExpression(x.createUniqueName("_superIndex",48),void 0,[Se]),Le)}}e.transformES2017=f;function a(p,x,V,g){var m=(x.getNodeCheckFlags(V)&4096)!==0,A=[];return g.forEach(function(K,ae){var y=e.unescapeLeadingUnderscores(ae),k=[];k.push(p.createPropertyAssignment("get",p.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(p.createPropertyAccessExpression(e.setEmitFlags(p.createSuper(),4),y),4)))),m&&k.push(p.createPropertyAssignment("set",p.createArrowFunction(void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,p.createAssignment(e.setEmitFlags(p.createPropertyAccessExpression(e.setEmitFlags(p.createSuper(),4),y),4),p.createIdentifier("v"))))),A.push(p.createPropertyAssignment(y,p.createObjectLiteralExpression(k)))}),p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.createUniqueName("_super",48),void 0,void 0,p.createCallExpression(p.createPropertyAccessExpression(p.createIdentifier("Object"),"create"),void 0,[p.createNull(),p.createObjectLiteralExpression(A,!0)]))],2))}e.createSuperAccessVariableStatement=a})(gr||(gr={}));var gr;(function(e){var n;(function(a){a[a.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(n||(n={}));var c;(function(a){a[a.None=0]="None",a[a.HasLexicalThis=1]="HasLexicalThis",a[a.IterationContainer=2]="IterationContainer",a[a.AncestorFactsMask=3]="AncestorFactsMask",a[a.SourceFileIncludes=1]="SourceFileIncludes",a[a.SourceFileExcludes=2]="SourceFileExcludes",a[a.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",a[a.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",a[a.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",a[a.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",a[a.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",a[a.IterationStatementIncludes=2]="IterationStatementIncludes",a[a.IterationStatementExcludes=0]="IterationStatementExcludes"})(c||(c={}));function f(a){var p=a.factory,x=a.getEmitHelperFactory,V=a.resumeLexicalEnvironment,g=a.endLexicalEnvironment,m=a.hoistVariableDeclaration,A=a.getEmitResolver(),K=a.getCompilerOptions(),ae=e.getEmitScriptTarget(K),y=a.onEmitNode;a.onEmitNode=Hr;var k=a.onSubstituteNode;a.onSubstituteNode=cr;var S=!1,F,B,N=0,w=0,O,U,Q,ee,ne=[];return e.chainBundle(a,E);function M(Ve,ur){return w!==(w&~Ve|ur)}function X(Ve,ur){var Wr=w;return w=(w&~Ve|ur)&3,Wr}function G(Ve){w=Ve}function Z(Ve){U=e.append(U,p.createVariableDeclaration(Ve))}function E(Ve){if(Ve.isDeclarationFile)return Ve;O=Ve;var ur=R(Ve);return e.addEmitHelpers(ur,a.readEmitHelpers()),O=void 0,U=void 0,ur}function I(Ve){return d(Ve,!1)}function b(Ve){return d(Ve,!0)}function D(Ve){if(Ve.kind!==131)return Ve}function C(Ve,ur,Wr,He){if(M(Wr,He)){var Lr=X(Wr,He),qr=Ve(ur);return G(Lr),qr}return Ve(ur)}function _(Ve){return e.visitEachChild(Ve,I,a)}function d(Ve,ur){if(!(Ve.transformFlags&64))return Ve;switch(Ve.kind){case 217:return h(Ve);case 223:return P(Ve);case 246:return te(Ve);case 249:return ce(Ve);case 204:return J(Ve);case 220:return j(Ve,ur);case 349:return z(Ve,ur);case 291:return Ee(Ve);case 236:return _e(Ve);case 253:return ke(Ve);case 239:case 240:case 242:return C(_,Ve,0,2);case 243:return ve(Ve,void 0);case 241:return C(Ie,Ve,0,2);case 216:return Fe(Ve);case 170:return C(Xe,Ve,2,1);case 168:return C(Ye,Ve,2,1);case 171:return C(Se,Ve,2,1);case 172:return C(Le,Ve,2,1);case 255:return C(Dr,Ve,2,1);case 212:return C(or,Ve,2,1);case 213:return C(br,Ve,2,0);case 163:return qe(Ve);case 237:return Te(Ve);case 211:return Ae(Ve,ur);case 209:return Y(Ve);case 205:return Q&&e.isPropertyAccessExpression(Ve)&&Ve.expression.kind===106&&Q.add(Ve.name.escapedText),e.visitEachChild(Ve,I,a);case 206:return Q&&Ve.expression.kind===106&&(ee=!0),e.visitEachChild(Ve,I,a);case 256:case 225:return C(_,Ve,2,1);default:return e.visitEachChild(Ve,I,a)}}function h(Ve){return B&2&&B&1?e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,x().createAwaitHelper(e.visitNode(Ve.expression,I,e.isExpression))),Ve),Ve):e.visitEachChild(Ve,I,a)}function P(Ve){if(B&2&&B&1){if(Ve.asteriskToken){var ur=e.visitNode(e.Debug.assertDefined(Ve.expression),I,e.isExpression);return e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,x().createAwaitHelper(p.updateYieldExpression(Ve,Ve.asteriskToken,e.setTextRange(x().createAsyncDelegatorHelper(e.setTextRange(x().createAsyncValuesHelper(ur),ur)),ur)))),Ve),Ve)}return e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,de(Ve.expression?e.visitNode(Ve.expression,I,e.isExpression):p.createVoidZero())),Ve),Ve)}return e.visitEachChild(Ve,I,a)}function te(Ve){return B&2&&B&1?p.updateReturnStatement(Ve,de(Ve.expression?e.visitNode(Ve.expression,I,e.isExpression):p.createVoidZero())):e.visitEachChild(Ve,I,a)}function ce(Ve){if(B&2){var ur=e.unwrapInnermostStatementOfLabel(Ve);return ur.kind===243&&ur.awaitModifier?ve(ur,Ve):p.restoreEnclosingLabel(e.visitNode(ur,I,e.isStatement,p.liftToBlock),Ve)}return e.visitEachChild(Ve,I,a)}function q(Ve){for(var ur,Wr=[],He=0,Lr=Ve;He1){for(var He=1;He=2&&A.getNodeCheckFlags(Ve)&6144;if(lt){Me();var rt=e.createSuperAccessVariableStatement(p,A,Ve,Q);ne[e.getNodeId(rt)]=!0,e.insertStatementsAfterStandardPrologue(ur,[rt])}ur.push(qr),e.insertStatementsAfterStandardPrologue(ur,g());var Rt=p.updateBlock(Ve.body,ur);return lt&&ee&&(A.getNodeCheckFlags(Ve)&4096?e.addEmitHelper(Rt,e.advancedAsyncSuperHelper):A.getNodeCheckFlags(Ve)&2048&&e.addEmitHelper(Rt,e.asyncSuperHelper)),Q=He,ee=Lr,Rt}function Rr(Ve){var ur;V();var Wr=0,He=[],Lr=(ur=e.visitNode(Ve.body,I,e.isConciseBody))!==null&&ur!==void 0?ur:p.createBlock([]);e.isBlock(Lr)&&(Wr=p.copyPrologue(Lr.statements,He,!1,I)),e.addRange(He,Ke(void 0,Ve));var qr=g();if(Wr>0||e.some(He)||e.some(qr)){var lt=p.converters.convertToFunctionBlock(Lr,!0);return e.insertStatementsAfterStandardPrologue(He,qr),e.addRange(He,lt.statements.slice(Wr)),p.updateBlock(lt,e.setTextRange(p.createNodeArray(He),lt.statements))}return Lr}function Ke(Ve,ur){for(var Wr=0,He=ur.parameters;Wr1||!!(!((Pe=Ie[0])===null||Pe===void 0)&&Pe.dotDotDotToken),ve=[Y,j,z?h(z.initializer):a.createVoidZero()];if(x.jsx===5){var ge=e.getOriginalNode(V);if(ge&&e.isSourceFile(ge)){ve.push(Fe?a.createTrue():a.createFalse());var Be=e.getLineAndCharacterOfPosition(ge,ke.pos);ve.push(a.createObjectLiteralExpression([a.createPropertyAssignment("fileName",m()),a.createPropertyAssignment("lineNumber",a.createNumericLiteral(Be.line+1)),a.createPropertyAssignment("columnNumber",a.createNumericLiteral(Be.character+1))])),ve.push(a.createThis())}}var de=e.setTextRange(a.createCallExpression(K(Fe),void 0,ve),ke);return _e&&e.startOnNewLine(de),de}function G(Y,j,z,Ee){var _e=Te(Y),ke=Y.attributes.properties,Pe=e.length(ke)?b(ke):a.createNull(),Ie=g.importSpecifier===void 0?e.createJsxFactoryExpression(a,f.getEmitResolver().getJsxFactoryEntity(V),x.reactNamespace,Y):y("createElement"),Fe=e.createExpressionForJsxElement(a,Ie,_e,Pe,e.mapDefined(j,B),Ee);return z&&e.startOnNewLine(Fe),Fe}function Z(Y,j,z,Ee){var _e;if(j&&j.length){var ke=ee(j);ke&&(_e=ke)}return X(ae(),_e||a.createObjectLiteralExpression([]),void 0,j,z,Ee)}function E(Y,j,z,Ee){var _e=e.createExpressionForJsxFragment(a,f.getEmitResolver().getJsxFactoryEntity(V),f.getEmitResolver().getJsxFragmentFactoryEntity(V),x.reactNamespace,e.mapDefined(j,B),Y,Ee);return z&&e.startOnNewLine(_e),_e}function I(Y){return a.createSpreadAssignment(e.visitNode(Y.expression,S,e.isExpression))}function b(Y,j){var z=e.getEmitScriptTarget(x);return z&&z>=5?a.createObjectLiteralExpression(D(Y,j)):C(Y,j)}function D(Y,j){var z=e.flatten(e.spanMap(Y,e.isJsxSpreadAttribute,function(Ee,_e){return e.map(Ee,function(ke){return _e?I(ke):d(ke)})}));return j&&z.push(j),z}function C(Y,j){var z=e.flatten(e.spanMap(Y,e.isJsxSpreadAttribute,function(Ee,_e){return _e?e.map(Ee,_):a.createObjectLiteralExpression(e.map(Ee,d))}));return e.isJsxSpreadAttribute(Y[0])&&z.unshift(a.createObjectLiteralExpression()),j&&z.push(a.createObjectLiteralExpression([j])),e.singleOrUndefined(z)||p().createAssignHelper(z)}function _(Y){return e.visitNode(Y.expression,S,e.isExpression)}function d(Y){var j=Ae(Y),z=h(Y.initializer);return a.createPropertyAssignment(j,z)}function h(Y){if(Y===void 0)return a.createTrue();if(Y.kind===10){var j=Y.singleQuote!==void 0?Y.singleQuote:!e.isStringDoubleQuoted(Y,V),z=a.createStringLiteral(J(Y.text)||Y.text,j);return e.setTextRange(z,Y)}else return Y.kind===287?Y.expression===void 0?a.createTrue():e.visitNode(Y.expression,S,e.isExpression):e.Debug.failBadSyntaxKind(Y)}function P(Y){var j=te(Y.text);return j===void 0?void 0:a.createStringLiteral(j)}function te(Y){for(var j,z=0,Ee=-1,_e=0;_e0?(e.insertStatementAfterCustomPrologue(Re,e.setEmitFlags(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(ie,C,m,0,A.getGeneratedNameForNode(ie)))),1048576)),!0):oe?(e.insertStatementAfterCustomPrologue(Re,e.setEmitFlags(A.createExpressionStatement(A.createAssignment(A.getGeneratedNameForNode(ie),e.visitNode(oe,C,e.isExpression))),1048576)),!0):!1}function Ye(Re,ie,_r,oe){oe=e.visitNode(oe,C,e.isExpression);var Ge=A.createIfStatement(A.createTypeCheck(A.cloneNode(_r),"undefined"),e.setEmitFlags(e.setTextRange(A.createBlock([A.createExpressionStatement(e.setEmitFlags(e.setTextRange(A.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(A.cloneNode(_r),_r),_r.parent),48),e.setEmitFlags(oe,48|e.getEmitFlags(oe)|1536)),ie),1536))]),ie),1953));e.startOnNewLine(Ge),e.setTextRange(Ge,ie),e.setEmitFlags(Ge,1050528),e.insertStatementAfterCustomPrologue(Re,Ge)}function Dr(Re,ie){return!!(Re&&Re.dotDotDotToken&&!ie)}function br(Re,ie,_r){var oe=[],Ge=e.lastOrUndefined(ie.parameters);if(!Dr(Ge,_r))return!1;var $e=Ge.name.kind===79?e.setParent(e.setTextRange(A.cloneNode(Ge.name),Ge.name),Ge.name.parent):A.createTempVariable(void 0);e.setEmitFlags($e,48);var hr=Ge.name.kind===79?A.cloneNode(Ge.name):$e,Xr=ie.parameters.length-1,Dt=A.createLoopVariable();oe.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration($e,void 0,void 0,A.createArrayLiteralExpression([]))])),Ge),1048576));var Jt=A.createForStatement(e.setTextRange(A.createVariableDeclarationList([A.createVariableDeclaration(Dt,void 0,void 0,A.createNumericLiteral(Xr))]),Ge),e.setTextRange(A.createLessThan(Dt,A.createPropertyAccessExpression(A.createIdentifier("arguments"),"length")),Ge),e.setTextRange(A.createPostfixIncrement(Dt),Ge),A.createBlock([e.startOnNewLine(e.setTextRange(A.createExpressionStatement(A.createAssignment(A.createElementAccessExpression(hr,Xr===0?Dt:A.createSubtract(Dt,A.createNumericLiteral(Xr))),A.createElementAccessExpression(A.createIdentifier("arguments"),Dt))),Ge))]));return e.setEmitFlags(Jt,1048576),e.startOnNewLine(Jt),oe.push(Jt),Ge.name.kind!==79&&oe.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(Ge,C,m,0,hr))),Ge),1048576)),e.insertStatementsAfterCustomPrologue(Re,oe),!0}function or(Re,ie){return Q&65536&&ie.kind!==213?(Cr(Re,ie,A.createThis()),!0):!1}function Cr(Re,ie,_r){Po();var oe=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName("_this",48),void 0,void 0,_r)]));e.setEmitFlags(oe,1050112),e.setSourceMapRange(oe,ie),e.insertStatementAfterCustomPrologue(Re,oe)}function Rr(Re,ie,_r){if(Q&32768){var oe=void 0;switch(ie.kind){case 213:return Re;case 168:case 171:case 172:oe=A.createVoidZero();break;case 170:oe=A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),"constructor");break;case 255:case 212:oe=A.createConditionalExpression(A.createLogicalAnd(e.setEmitFlags(A.createThis(),4),A.createBinaryExpression(e.setEmitFlags(A.createThis(),4),102,A.getLocalName(ie))),void 0,A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),"constructor"),void 0,A.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(ie)}var Ge=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName("_newTarget",48),void 0,void 0,oe)]));e.setEmitFlags(Ge,1050112),_r&&(Re=Re.slice()),e.insertStatementAfterCustomPrologue(Re,Ge)}return Re}function Ke(Re,ie){for(var _r=0,oe=ie.members;_r0&&$e.push(A.createStringLiteral(Ge.literal.text)),ie=A.createCallExpression(A.createPropertyAccessExpression(ie,"concat"),void 0,$e)}return e.setTextRange(ie,Re)}function uo(Re){return Q&8&&!Re?A.createPropertyAccessExpression(A.createUniqueName("_super",48),"prototype"):A.createUniqueName("_super",48)}function za(Re){return Re.keywordToken===103&&Re.name.escapedText==="target"?(Q|=32768,A.createUniqueName("_newTarget",48)):Re}function hi(Re,ie,_r){if(X&1&&e.isFunctionLike(ie)){var oe=Z(32670,e.getEmitFlags(ie)&8?81:65);w(Re,ie,_r),E(oe,0,0);return}w(Re,ie,_r)}function Zi(){X&2||(X|=2,m.enableSubstitution(79))}function Po(){X&1||(X|=1,m.enableSubstitution(108),m.enableEmitNotification(170),m.enableEmitNotification(168),m.enableEmitNotification(171),m.enableEmitNotification(172),m.enableEmitNotification(213),m.enableEmitNotification(212),m.enableEmitNotification(255))}function Fo(Re,ie){return ie=N(Re,ie),Re===1?Ts(ie):e.isIdentifier(ie)?Go(ie):ie}function Go(Re){if(X&2&&!e.isInternalName(Re)){var ie=e.getParseTreeNode(Re,e.isIdentifier);if(ie&&qo(ie))return e.setTextRange(A.getGeneratedNameForNode(ie),Re)}return Re}function qo(Re){switch(Re.parent.kind){case 202:case 256:case 259:case 253:return Re.parent.name===Re&&B.isDeclarationWithCollidingName(Re.parent)}return!1}function Ts(Re){switch(Re.kind){case 79:return xs(Re);case 108:return dt(Re)}return Re}function xs(Re){if(X&2&&!e.isInternalName(Re)){var ie=B.getReferencedDeclarationWithCollidingName(Re);if(ie&&!(e.isClassLike(ie)&&yr(ie,Re)))return e.setTextRange(A.getGeneratedNameForNode(e.getNameOfDeclaration(ie)),Re)}return Re}function yr(Re,ie){var _r=e.getParseTreeNode(ie);if(!_r||_r===Re||_r.end<=Re.pos||_r.pos>=Re.end)return!1;for(var oe=e.getEnclosingBlockScopeContainer(Re);_r;){if(_r===oe||_r===Re)return!1;if(e.isClassElement(_r)&&_r.parent===Re)return!0;_r=_r.parent}return!1}function dt(Re){return X&1&&Q&16?e.setTextRange(A.createUniqueName("_this",48),Re):Re}function tn(Re,ie){return e.isStatic(ie)?A.getInternalName(Re):A.createPropertyAccessExpression(A.getInternalName(Re),"prototype")}function Vn(Re,ie){if(!Re||!ie||e.some(Re.parameters))return!1;var _r=e.firstOrUndefined(Re.body.statements);if(!_r||!e.nodeIsSynthesized(_r)||_r.kind!==237)return!1;var oe=_r.expression;if(!e.nodeIsSynthesized(oe)||oe.kind!==207)return!1;var Ge=oe.expression;if(!e.nodeIsSynthesized(Ge)||Ge.kind!==106)return!1;var $e=e.singleOrUndefined(oe.arguments);if(!$e||!e.nodeIsSynthesized($e)||$e.kind!==224)return!1;var hr=$e.expression;return e.isIdentifier(hr)&&hr.escapedText==="arguments"}}e.transformES2015=g})(gr||(gr={}));var gr;(function(e){function n(c){var f=c.factory,a=c.getCompilerOptions(),p,x;(a.jsx===1||a.jsx===3)&&(p=c.onEmitNode,c.onEmitNode=m,c.enableEmitNotification(279),c.enableEmitNotification(280),c.enableEmitNotification(278),x=[]);var V=c.onSubstituteNode;return c.onSubstituteNode=A,c.enableSubstitution(205),c.enableSubstitution(294),e.chainBundle(c,g);function g(k){return k}function m(k,S,F){switch(S.kind){case 279:case 280:case 278:var B=S.tagName;x[e.getOriginalNodeId(B)]=!0;break}p(k,S,F)}function A(k,S){return S.id&&x&&x[S.id]?V(k,S):(S=V(k,S),e.isPropertyAccessExpression(S)?K(S):e.isPropertyAssignment(S)?ae(S):S)}function K(k){if(e.isPrivateIdentifier(k.name))return k;var S=y(k.name);return S?e.setTextRange(f.createElementAccessExpression(k.expression,S),k):k}function ae(k){var S=e.isIdentifier(k.name)&&y(k.name);return S?f.updatePropertyAssignment(k,S,k.initializer):k}function y(k){var S=k.originalKeywordKind||(e.nodeIsSynthesized(k)?e.stringToToken(e.idText(k)):void 0);if(S!==void 0&&S>=81&&S<=116)return e.setTextRange(f.createStringLiteralFromNode(k),k)}}e.transformES5=n})(gr||(gr={}));var gr;(function(e){var n;(function(g){g[g.Nop=0]="Nop",g[g.Statement=1]="Statement",g[g.Assign=2]="Assign",g[g.Break=3]="Break",g[g.BreakWhenTrue=4]="BreakWhenTrue",g[g.BreakWhenFalse=5]="BreakWhenFalse",g[g.Yield=6]="Yield",g[g.YieldStar=7]="YieldStar",g[g.Return=8]="Return",g[g.Throw=9]="Throw",g[g.Endfinally=10]="Endfinally"})(n||(n={}));var c;(function(g){g[g.Open=0]="Open",g[g.Close=1]="Close"})(c||(c={}));var f;(function(g){g[g.Exception=0]="Exception",g[g.With=1]="With",g[g.Switch=2]="Switch",g[g.Loop=3]="Loop",g[g.Labeled=4]="Labeled"})(f||(f={}));var a;(function(g){g[g.Try=0]="Try",g[g.Catch=1]="Catch",g[g.Finally=2]="Finally",g[g.Done=3]="Done"})(a||(a={}));var p;(function(g){g[g.Next=0]="Next",g[g.Throw=1]="Throw",g[g.Return=2]="Return",g[g.Break=3]="Break",g[g.Yield=4]="Yield",g[g.YieldStar=5]="YieldStar",g[g.Catch=6]="Catch",g[g.Endfinally=7]="Endfinally"})(p||(p={}));function x(g){switch(g){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function V(g){var m=g.factory,A=g.getEmitHelperFactory,K=g.resumeLexicalEnvironment,ae=g.endLexicalEnvironment,y=g.hoistFunctionDeclaration,k=g.hoistVariableDeclaration,S=g.getCompilerOptions(),F=e.getEmitScriptTarget(S),B=g.getEmitResolver(),N=g.onSubstituteNode;g.onSubstituteNode=$;var w,O,U,Q,ee,ne,M,X,G,Z,E=1,I,b,D,C,_=0,d=0,h,P,te,ce,q,J,Te,Ae;return e.chainBundle(g,R);function R(yr){if(yr.isDeclarationFile||!(yr.transformFlags&1024))return yr;var dt=e.visitEachChild(yr,Y,g);return e.addEmitHelpers(dt,g.readEmitHelpers()),dt}function Y(yr){var dt=yr.transformFlags;return Q?j(yr):U?z(yr):e.isFunctionLikeDeclaration(yr)&&yr.asteriskToken?_e(yr):dt&1024?e.visitEachChild(yr,Y,g):yr}function j(yr){switch(yr.kind){case 239:return Ve(yr);case 240:return Wr(yr);case 248:return sr(yr);case 249:return ir(yr);default:return z(yr)}}function z(yr){switch(yr.kind){case 255:return ke(yr);case 212:return Pe(yr);case 171:case 172:return Ie(yr);case 236:return ve(yr);case 241:return Lr(yr);case 242:return lt(yr);case 245:return yn(yr);case 244:return Rt(yr);case 246:return Fn(yr);default:return yr.transformFlags&524288?Ee(yr):yr.transformFlags&2098176?e.visitEachChild(yr,Y,g):yr}}function Ee(yr){switch(yr.kind){case 220:return ge(yr);case 349:return qe(yr);case 221:return Se(yr);case 223:return Le(yr);case 203:return Ye(yr);case 204:return br(yr);case 206:return or(yr);case 207:return Cr(yr);case 208:return Rr(yr);default:return e.visitEachChild(yr,Y,g)}}function _e(yr){switch(yr.kind){case 255:return ke(yr);case 212:return Pe(yr);default:return e.Debug.failBadSyntaxKind(yr)}}function ke(yr){if(yr.asteriskToken)yr=e.setOriginalNode(e.setTextRange(m.createFunctionDeclaration(void 0,yr.modifiers,void 0,yr.name,void 0,e.visitParameterList(yr.parameters,Y,g),void 0,Fe(yr.body)),yr),yr);else{var dt=U,tn=Q;U=!1,Q=!1,yr=e.visitEachChild(yr,Y,g),U=dt,Q=tn}if(U){y(yr);return}else return yr}function Pe(yr){if(yr.asteriskToken)yr=e.setOriginalNode(e.setTextRange(m.createFunctionExpression(void 0,void 0,yr.name,void 0,e.visitParameterList(yr.parameters,Y,g),void 0,Fe(yr.body)),yr),yr);else{var dt=U,tn=Q;U=!1,Q=!1,yr=e.visitEachChild(yr,Y,g),U=dt,Q=tn}return yr}function Ie(yr){var dt=U,tn=Q;return U=!1,Q=!1,yr=e.visitEachChild(yr,Y,g),U=dt,Q=tn,yr}function Fe(yr){var dt=[],tn=U,Vn=Q,Re=ee,ie=ne,_r=M,oe=X,Ge=G,$e=Z,hr=E,Xr=I,Dt=b,Jt=D,Dn=C;U=!0,Q=!1,ee=void 0,ne=void 0,M=void 0,X=void 0,G=void 0,Z=void 0,E=1,I=void 0,b=void 0,D=void 0,C=m.createTempVariable(void 0),K();var ta=m.copyPrologue(yr.statements,dt,!1,Y);Ke(yr.statements,ta);var xa=Mi();return e.insertStatementsAfterStandardPrologue(dt,ae()),dt.push(m.createReturnStatement(xa)),U=tn,Q=Vn,ee=Re,ne=ie,M=_r,X=oe,G=Ge,Z=$e,E=hr,I=Xr,b=Dt,D=Jt,C=Dn,e.setTextRange(m.createBlock(dt,yr.multiLine),yr)}function ve(yr){if(yr.transformFlags&524288){xe(yr.declarationList);return}else{if(e.getEmitFlags(yr)&1048576)return yr;for(var dt=0,tn=yr.declarationList.declarations;dt0&&(Ka(1,[m.createExpressionStatement(m.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Vn,Y,e.isExpression)))}}function qe(yr){for(var dt=[],tn=0,Vn=yr.elements;tn0&&(Ka(1,[m.createExpressionStatement(m.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Re,Y,e.isExpression)))}return m.inlineExpressions(dt)}function Xe(yr){var dt=fr(),tn=xr();return tt(tn,e.visitNode(yr.left,Y,e.isExpression),yr.left),yr.operatorToken.kind===55?Oa(dt,tn,yr.left):Qn(dt,tn,yr.left),tt(tn,e.visitNode(yr.right,Y,e.isExpression),yr.right),dr(dt),tn}function Se(yr){if(be(yr.whenTrue)||be(yr.whenFalse)){var dt=fr(),tn=fr(),Vn=xr();return Oa(dt,e.visitNode(yr.condition,Y,e.isExpression),yr.condition),tt(Vn,e.visitNode(yr.whenTrue,Y,e.isExpression),yr.whenTrue),xn(tn),dr(dt),tt(Vn,e.visitNode(yr.whenFalse,Y,e.isExpression),yr.whenFalse),dr(tn),Vn}return e.visitEachChild(yr,Y,g)}function Le(yr){var dt=fr(),tn=e.visitNode(yr.expression,Y,e.isExpression);if(yr.asteriskToken){var Vn=e.getEmitFlags(yr.expression)&8388608?tn:e.setTextRange(A().createValuesHelper(tn),yr);Ci(Vn,yr)}else mi(tn,yr);return dr(dt),mt(yr)}function Ye(yr){return Dr(yr.elements,void 0,void 0,yr.multiLine)}function Dr(yr,dt,tn,Vn){var Re=We(yr),ie;if(Re>0){ie=xr();var _r=e.visitNodes(yr,Y,e.isExpression,0,Re);tt(ie,m.createArrayLiteralExpression(dt?Gt([dt],_r,!0):_r)),dt=void 0}var oe=e.reduceLeft(yr,Ge,[],Re);return ie?m.createArrayConcatCall(ie,[m.createArrayLiteralExpression(oe,Vn)]):e.setTextRange(m.createArrayLiteralExpression(dt?Gt([dt],oe,!0):oe,Vn),tn);function Ge($e,hr){if(be(hr)&&$e.length>0){var Xr=ie!==void 0;ie||(ie=xr()),tt(ie,Xr?m.createArrayConcatCall(ie,[m.createArrayLiteralExpression($e,Vn)]):m.createArrayLiteralExpression(dt?Gt([dt],$e,!0):$e,Vn)),dt=void 0,$e=[]}return $e.push(e.visitNode(hr,Y,e.isExpression)),$e}}function br(yr){var dt=yr.properties,tn=yr.multiLine,Vn=We(dt),Re=xr();tt(Re,m.createObjectLiteralExpression(e.visitNodes(dt,Y,e.isObjectLiteralElementLike,0,Vn),tn));var ie=e.reduceLeft(dt,_r,[],Vn);return ie.push(tn?e.startOnNewLine(e.setParent(e.setTextRange(m.cloneNode(Re),Re),Re.parent)):Re),m.inlineExpressions(ie);function _r(oe,Ge){be(Ge)&&oe.length>0&&(It(m.createExpressionStatement(m.inlineExpressions(oe))),oe=[]);var $e=e.createExpressionForObjectLiteralElementLike(m,yr,Ge,Re),hr=e.visitNode($e,Y,e.isExpression);return hr&&(tn&&e.startOnNewLine(hr),oe.push(hr)),oe}}function or(yr){return be(yr.argumentExpression)?m.updateElementAccessExpression(yr,Ze(e.visitNode(yr.expression,Y,e.isLeftHandSideExpression)),e.visitNode(yr.argumentExpression,Y,e.isExpression)):e.visitEachChild(yr,Y,g)}function Cr(yr){if(!e.isImportCall(yr)&&e.forEach(yr.arguments,be)){var dt=m.createCallBinding(yr.expression,k,F,!0),tn=dt.target,Vn=dt.thisArg;return e.setOriginalNode(e.setTextRange(m.createFunctionApplyCall(Ze(e.visitNode(tn,Y,e.isLeftHandSideExpression)),Vn,Dr(yr.arguments)),yr),yr)}return e.visitEachChild(yr,Y,g)}function Rr(yr){if(e.forEach(yr.arguments,be)){var dt=m.createCallBinding(m.createPropertyAccessExpression(yr.expression,"bind"),k),tn=dt.target,Vn=dt.thisArg;return e.setOriginalNode(e.setTextRange(m.createNewExpression(m.createFunctionApplyCall(Ze(e.visitNode(tn,Y,e.isExpression)),Vn,Dr(yr.arguments,m.createVoidZero())),void 0,[]),yr),yr)}return e.visitEachChild(yr,Y,g)}function Ke(yr,dt){dt===void 0&&(dt=0);for(var tn=yr.length,Vn=dt;Vn0)break;Ge.push(Je(Vn))}Ge.length&&(It(m.createExpressionStatement(m.inlineExpressions(Ge))),oe+=Ge.length,Ge=[])}}function Je(yr){return e.setSourceMapRange(m.createAssignment(e.setSourceMapRange(m.cloneNode(yr.name),yr.name),e.visitNode(yr.initializer,Y,e.isExpression)),yr)}function pr(yr){if(be(yr))if(be(yr.thenStatement)||be(yr.elseStatement)){var dt=fr(),tn=yr.elseStatement?fr():void 0;Oa(yr.elseStatement?tn:dt,e.visitNode(yr.expression,Y,e.isExpression),yr.expression),Me(yr.thenStatement),yr.elseStatement&&(xn(dt),dr(tn),Me(yr.elseStatement)),dr(dt)}else It(e.visitNode(yr,Y,e.isStatement));else It(e.visitNode(yr,Y,e.isStatement))}function kr(yr){if(be(yr)){var dt=fr(),tn=fr();xt(dt),dr(tn),Me(yr.statement),dr(dt),Qn(tn,e.visitNode(yr.expression,Y,e.isExpression)),wt()}else It(e.visitNode(yr,Y,e.isStatement))}function Ve(yr){return Q?(ht(),yr=e.visitEachChild(yr,Y,g),wt(),yr):e.visitEachChild(yr,Y,g)}function ur(yr){if(be(yr)){var dt=fr(),tn=xt(dt);dr(dt),Oa(tn,e.visitNode(yr.expression,Y,e.isExpression)),Me(yr.statement),xn(dt),wt()}else It(e.visitNode(yr,Y,e.isStatement))}function Wr(yr){return Q?(ht(),yr=e.visitEachChild(yr,Y,g),wt(),yr):e.visitEachChild(yr,Y,g)}function He(yr){if(be(yr)){var dt=fr(),tn=fr(),Vn=xt(tn);if(yr.initializer){var Re=yr.initializer;e.isVariableDeclarationList(Re)?xe(Re):It(e.setTextRange(m.createExpressionStatement(e.visitNode(Re,Y,e.isExpression)),Re))}dr(dt),yr.condition&&Oa(Vn,e.visitNode(yr.condition,Y,e.isExpression)),Me(yr.statement),dr(tn),yr.incrementor&&It(e.setTextRange(m.createExpressionStatement(e.visitNode(yr.incrementor,Y,e.isExpression)),yr.incrementor)),xn(dt),wt()}else It(e.visitNode(yr,Y,e.isStatement))}function Lr(yr){Q&&ht();var dt=yr.initializer;if(dt&&e.isVariableDeclarationList(dt)){for(var tn=0,Vn=dt.declarations;tn0?m.inlineExpressions(e.map(ie,Je)):void 0,e.visitNode(yr.condition,Y,e.isExpression),e.visitNode(yr.incrementor,Y,e.isExpression),e.visitIterationBody(yr.statement,Y,g))}else yr=e.visitEachChild(yr,Y,g);return Q&&wt(),yr}function qr(yr){if(be(yr)){var dt=xr(),tn=xr(),Vn=m.createLoopVariable(),Re=yr.initializer;k(Vn),tt(dt,m.createArrayLiteralExpression()),It(m.createForInStatement(tn,e.visitNode(yr.expression,Y,e.isExpression),m.createExpressionStatement(m.createCallExpression(m.createPropertyAccessExpression(dt,"push"),void 0,[tn])))),tt(Vn,m.createNumericLiteral(0));var ie=fr(),_r=fr(),oe=xt(_r);dr(ie),Oa(oe,m.createLessThan(Vn,m.createPropertyAccessExpression(dt,"length")));var Ge=void 0;if(e.isVariableDeclarationList(Re)){for(var $e=0,hr=Re.declarations;$e0?xn(dt,yr):It(yr)}function Rt(yr){if(Q){var dt=qt(yr.label&&e.idText(yr.label));if(dt>0)return oa(dt,yr)}return e.visitEachChild(yr,Y,g)}function an(yr){var dt=Ut(yr.label?e.idText(yr.label):void 0);dt>0?xn(dt,yr):It(yr)}function yn(yr){if(Q){var dt=Ut(yr.label&&e.idText(yr.label));if(dt>0)return oa(dt,yr)}return e.visitEachChild(yr,Y,g)}function vn(yr){va(e.visitNode(yr.expression,Y,e.isExpression),yr)}function Fn(yr){return pt(e.visitNode(yr.expression,Y,e.isExpression),yr)}function ar(yr){be(yr)?(Ir(Ze(e.visitNode(yr.expression,Y,e.isExpression))),Me(yr.statement),Or()):It(e.visitNode(yr,Y,e.isStatement))}function wr(yr){if(be(yr.caseBlock)){for(var dt=yr.caseBlock,tn=dt.clauses.length,Vn=_t(),Re=Ze(e.visitNode(yr.expression,Y,e.isExpression)),ie=[],_r=-1,oe=0;oe0)break;hr.push(m.createCaseClause(e.visitNode(Ge.expression,Y,e.isExpression),[oa(ie[oe],Ge.expression)]))}else Xr++}hr.length&&(It(m.createSwitchStatement(Re,m.createCaseBlock(hr))),$e+=hr.length,hr=[]),Xr>0&&($e+=Xr,Xr=0)}_r>=0?xn(ie[_r]):xn(Vn);for(var oe=0;oe=0;tn--){var Vn=X[tn];if(jn(Vn)){if(Vn.labelText===yr)return!0}else break}return!1}function Ut(yr){if(X)if(yr)for(var dt=X.length-1;dt>=0;dt--){var tn=X[dt];if(jn(tn)&&tn.labelText===yr)return tn.breakLabel;if(na(tn)&&St(yr,dt-1))return tn.breakLabel}else for(var dt=X.length-1;dt>=0;dt--){var tn=X[dt];if(na(tn))return tn.breakLabel}return 0}function qt(yr){if(X)if(yr)for(var dt=X.length-1;dt>=0;dt--){var tn=X[dt];if(en(tn)&&St(yr,dt-1))return tn.continueLabel}else for(var dt=X.length-1;dt>=0;dt--){var tn=X[dt];if(en(tn))return tn.continueLabel}return 0}function Mn(yr){if(yr!==void 0&&yr>0){Z===void 0&&(Z=[]);var dt=m.createNumericLiteral(-1);return Z[yr]===void 0?Z[yr]=[dt]:Z[yr].push(dt),dt}return m.createOmittedExpression()}function dn(yr){var dt=m.createNumericLiteral(yr);return e.addSyntheticTrailingComment(dt,3,x(yr)),dt}function oa(yr,dt){return e.Debug.assertLessThan(0,yr,"Invalid label"),e.setTextRange(m.createReturnStatement(m.createArrayLiteralExpression([dn(3),Mn(yr)])),dt)}function pt(yr,dt){return e.setTextRange(m.createReturnStatement(m.createArrayLiteralExpression(yr?[dn(2),yr]:[dn(2)])),dt)}function mt(yr){return e.setTextRange(m.createCallExpression(m.createPropertyAccessExpression(C,"sent"),void 0,[]),yr)}function Mt(){Ka(0)}function It(yr){yr?Ka(1,[yr]):Mt()}function tt(yr,dt,tn){Ka(2,[yr,dt],tn)}function xn(yr,dt){Ka(3,[yr],dt)}function Qn(yr,dt,tn){Ka(4,[yr,dt],tn)}function Oa(yr,dt,tn){Ka(5,[yr,dt],tn)}function Ci(yr,dt){Ka(7,[yr],dt)}function mi(yr,dt){Ka(6,[yr],dt)}function va(yr,dt){Ka(8,[yr],dt)}function yi(yr,dt){Ka(9,[yr],dt)}function ro(){Ka(10)}function Ka(yr,dt,tn){I===void 0&&(I=[],b=[],D=[]),G===void 0&&dr(fr());var Vn=I.length;I[Vn]=yr,b[Vn]=dt,D[Vn]=tn}function Mi(){_=0,d=0,h=void 0,P=!1,te=!1,ce=void 0,q=void 0,J=void 0,Te=void 0,Ae=void 0;var yr=io();return A().createGeneratorHelper(e.setEmitFlags(m.createFunctionExpression(void 0,void 0,void 0,void 0,[m.createParameterDeclaration(void 0,void 0,void 0,C)],void 0,m.createBlock(yr,yr.length>0)),524288))}function io(){if(I){for(var yr=0;yr=0;dt--){var tn=Ae[dt];q=[m.createWithStatement(tn.expression,m.createBlock(q))]}if(Te){var Vn=Te.startLabel,Re=Te.catchLabel,ie=Te.finallyLabel,_r=Te.endLabel;q.unshift(m.createExpressionStatement(m.createCallExpression(m.createPropertyAccessExpression(m.createPropertyAccessExpression(C,"trys"),"push"),void 0,[m.createArrayLiteralExpression([Mn(Vn),Mn(Re),Mn(ie),Mn(_r)])]))),Te=void 0}yr&&q.push(m.createExpressionStatement(m.createAssignment(m.createPropertyAccessExpression(C,"label"),m.createNumericLiteral(d+1))))}ce.push(m.createCaseClause(m.createNumericLiteral(d),q||[])),q=void 0}function co(yr){if(G)for(var dt=0;dt(e.isExportName(He)?1:0);return!1}function P(He,Lr){return h(He.left)?e.flattenDestructuringAssignment(He,_,f,0,!Lr,de):e.visitEachChild(He,_,f)}function te(He){return p.updateForStatement(He,e.visitNode(He.initializer,d,e.isForInitializer),e.visitNode(He.condition,_,e.isExpression),e.visitNode(He.incrementor,d,e.isExpression),e.visitIterationBody(He.statement,_,f))}function ce(He){return p.updateExpressionStatement(He,e.visitNode(He.expression,d,e.isExpression))}function q(He,Lr){return p.updateParenthesizedExpression(He,e.visitNode(He.expression,Lr?d:_,e.isExpression))}function J(He,Lr){return p.updatePartiallyEmittedExpression(He,e.visitNode(He.expression,Lr?d:_,e.isExpression))}function Te(He,Lr){if((He.operator===45||He.operator===46)&&e.isIdentifier(He.operand)&&!e.isGeneratedIdentifier(He.operand)&&!e.isLocalName(He.operand)&&!e.isDeclarationNameOfEnumOrNamespace(He.operand)){var qr=Wr(He.operand);if(qr){var lt=void 0,rt=e.visitNode(He.operand,_,e.isExpression);e.isPrefixUnaryExpression(He)?rt=p.updatePrefixUnaryExpression(He,rt):(rt=p.updatePostfixUnaryExpression(He,rt),Lr||(lt=p.createTempVariable(m),rt=p.createAssignment(lt,rt),e.setTextRange(rt,He)),rt=p.createComma(rt,p.cloneNode(He.operand)),e.setTextRange(rt,He));for(var Rt=0,an=qr;Rt=2?an=p.createArrowFunction(void 0,void 0,rt,void 0,void 0,Rt):(an=p.createFunctionExpression(void 0,void 0,void 0,void 0,rt,void 0,Rt),Lr&&e.setEmitFlags(an,8));var yn=p.createNewExpression(p.createIdentifier("Promise"),void 0,[an]);return e.getESModuleInterop(A)?p.createCallExpression(p.createPropertyAccessExpression(yn,p.createIdentifier("then")),void 0,[x().createImportStarCallbackHelper()]):yn}function j(He,Lr){var qr=p.createCallExpression(p.createPropertyAccessExpression(p.createIdentifier("Promise"),"resolve"),void 0,[]),lt=p.createCallExpression(p.createIdentifier("require"),void 0,He?[He]:[]);e.getESModuleInterop(A)&&(lt=x().createImportStarHelper(lt));var rt;return y>=2?rt=p.createArrowFunction(void 0,void 0,[],void 0,void 0,lt):(rt=p.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,p.createBlock([p.createReturnStatement(lt)])),Lr&&e.setEmitFlags(rt,8)),p.createCallExpression(p.createPropertyAccessExpression(qr,"then"),void 0,[rt])}function z(He,Lr){return!e.getESModuleInterop(A)||e.getEmitFlags(He)&67108864?Lr:e.getExportNeedsImportStarHelper(He)?x().createImportStarHelper(Lr):Lr}function Ee(He,Lr){return!e.getESModuleInterop(A)||e.getEmitFlags(He)&67108864?Lr:e.getImportNeedsImportStarHelper(He)?x().createImportStarHelper(Lr):e.getImportNeedsImportDefaultHelper(He)?x().createImportDefaultHelper(Lr):Lr}function _e(He){var Lr,qr=e.getNamespaceDeclarationNode(He);if(k!==e.ModuleKind.AMD)if(He.importClause){var lt=[];qr&&!e.isDefaultImport(He)?lt.push(p.createVariableDeclaration(p.cloneNode(qr.name),void 0,void 0,Ee(He,ke(He)))):(lt.push(p.createVariableDeclaration(p.getGeneratedNameForNode(He),void 0,void 0,Ee(He,ke(He)))),qr&&e.isDefaultImport(He)&<.push(p.createVariableDeclaration(p.cloneNode(qr.name),void 0,void 0,p.getGeneratedNameForNode(He)))),Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList(lt,y>=2?2:0)),He),He))}else return e.setOriginalNode(e.setTextRange(p.createExpressionStatement(ke(He)),He),He);else qr&&e.isDefaultImport(He)&&(Lr=e.append(Lr,p.createVariableStatement(void 0,p.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(p.createVariableDeclaration(p.cloneNode(qr.name),void 0,void 0,p.getGeneratedNameForNode(He)),He),He)],y>=2?2:0))));if(Xe(He)){var rt=e.getOriginalNodeId(He);N[rt]=Le(N[rt],He)}else Lr=Le(Lr,He);return e.singleOrMany(Lr)}function ke(He){var Lr=e.getExternalModuleNameLiteral(p,He,w,ae,K,A),qr=[];return Lr&&qr.push(Lr),p.createCallExpression(p.createIdentifier("require"),void 0,qr)}function Pe(He){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(He),"import= for internal module references should be handled in an earlier transformer.");var Lr;if(k!==e.ModuleKind.AMD?e.hasSyntacticModifier(He,1)?Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(p.createExpressionStatement(Hr(He.name,ke(He))),He),He)):Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.cloneNode(He.name),void 0,void 0,ke(He))],y>=2?2:0)),He),He)):e.hasSyntacticModifier(He,1)&&(Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(p.createExpressionStatement(Hr(p.getExportName(He),p.getLocalName(He))),He),He))),Xe(He)){var qr=e.getOriginalNodeId(He);N[qr]=Ye(N[qr],He)}else Lr=Ye(Lr,He);return e.singleOrMany(Lr)}function Ie(He){if(He.moduleSpecifier){var Lr=p.getGeneratedNameForNode(He);if(He.exportClause&&e.isNamedExports(He.exportClause)){var qr=[];k!==e.ModuleKind.AMD&&qr.push(e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(Lr,void 0,void 0,ke(He))])),He),He));for(var lt=0,rt=He.exportClause.elements;lt=e.ModuleKind.ES2020?N(M):void 0;case 270:return O(M);case 271:var X=M;return U(X)}return M}function B(M){var X=e.getExternalModuleNameLiteral(f,M,e.Debug.checkDefined(ae),p,x,V),G=[];if(X&&G.push(X),!y){var Z=f.createUniqueName("_createRequire",48),E=f.createImportDeclaration(void 0,void 0,f.createImportClause(!1,void 0,f.createNamedImports([f.createImportSpecifier(!1,f.createIdentifier("createRequire"),Z)])),f.createStringLiteral("module")),I=f.createUniqueName("__require",48),b=f.createVariableStatement(void 0,f.createVariableDeclarationList([f.createVariableDeclaration(I,void 0,void 0,f.createCallExpression(f.cloneNode(Z),void 0,[f.createPropertyAccessExpression(f.createMetaProperty(100,f.createIdentifier("meta")),f.createIdentifier("url"))]))],g>=2?2:0));y=[E,b]}var D=y[1].declarationList.declarations[0].name;return e.Debug.assertNode(D,e.isIdentifier),f.createCallExpression(f.cloneNode(D),void 0,G)}function N(M){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(M),"import= for internal module references should be handled in an earlier transformer.");var X;return X=e.append(X,e.setOriginalNode(e.setTextRange(f.createVariableStatement(void 0,f.createVariableDeclarationList([f.createVariableDeclaration(f.cloneNode(M.name),void 0,void 0,B(M))],g>=2?2:0)),M),M)),X=w(X,M),e.singleOrMany(X)}function w(M,X){return e.hasSyntacticModifier(X,1)&&(M=e.append(M,f.createExportDeclaration(void 0,void 0,X.isTypeOnly,f.createNamedExports([f.createExportSpecifier(!1,void 0,e.idText(X.name))])))),M}function O(M){return M.isExportEquals?void 0:M}function U(M){if(V.module!==void 0&&V.module>e.ModuleKind.ES2015||!M.exportClause||!e.isNamespaceExport(M.exportClause)||!M.moduleSpecifier)return M;var X=M.exportClause.name,G=f.getGeneratedNameForNode(X),Z=f.createImportDeclaration(void 0,void 0,f.createImportClause(!1,void 0,f.createNamespaceImport(G)),M.moduleSpecifier,M.assertClause);e.setOriginalNode(Z,M.exportClause);var E=e.isExportNamespaceAsDefaultDeclaration(M)?f.createExportDefault(G):f.createExportDeclaration(void 0,void 0,!1,f.createNamedExports([f.createExportSpecifier(!1,G,X)]));return e.setOriginalNode(E,M),[Z,E]}function Q(M,X,G){e.isSourceFile(X)?((e.isExternalModule(X)||V.isolatedModules)&&V.importHelpers&&(K=new e.Map),m(M,X,G),K=void 0):m(M,X,G)}function ee(M,X){return X=A(M,X),K&&e.isIdentifier(X)&&e.getEmitFlags(X)&4096?ne(X):X}function ne(M){var X=e.idText(M),G=K.get(X);return G||K.set(X,G=f.createUniqueName(X,48)),G}}e.transformECMAScriptModule=n})(gr||(gr={}));var gr;(function(e){function n(c){var f=c.onSubstituteNode,a=c.onEmitNode,p=e.transformECMAScriptModule(c),x=c.onSubstituteNode,V=c.onEmitNode;c.onSubstituteNode=f,c.onEmitNode=a;var g=e.transformModule(c),m=c.onSubstituteNode,A=c.onEmitNode;c.onSubstituteNode=ae,c.onEmitNode=y,c.enableSubstitution(303),c.enableEmitNotification(303);var K;return F;function ae(N,w){return e.isSourceFile(w)?(K=w,f(N,w)):K?K.impliedNodeFormat===e.ModuleKind.ESNext?x(N,w):m(N,w):f(N,w)}function y(N,w,O){return e.isSourceFile(w)&&(K=w),K?K.impliedNodeFormat===e.ModuleKind.ESNext?V(N,w,O):A(N,w,O):a(N,w,O)}function k(N){return N.impliedNodeFormat===e.ModuleKind.ESNext?p:g}function S(N){if(N.isDeclarationFile)return N;K=N;var w=k(N)(N);return K=void 0,e.Debug.assert(e.isSourceFile(w)),w}function F(N){return N.kind===303?S(N):B(N)}function B(N){return c.factory.createBundle(e.map(N.sourceFiles,S),N.prepends)}}e.transformNodeModule=n})(gr||(gr={}));var gr;(function(e){function n(a){return e.isVariableDeclaration(a)||e.isPropertyDeclaration(a)||e.isPropertySignature(a)||e.isBindingElement(a)||e.isSetAccessor(a)||e.isGetAccessor(a)||e.isConstructSignatureDeclaration(a)||e.isCallSignatureDeclaration(a)||e.isMethodDeclaration(a)||e.isMethodSignature(a)||e.isFunctionDeclaration(a)||e.isParameter(a)||e.isTypeParameterDeclaration(a)||e.isExpressionWithTypeArguments(a)||e.isImportEqualsDeclaration(a)||e.isTypeAliasDeclaration(a)||e.isConstructorDeclaration(a)||e.isIndexSignatureDeclaration(a)||e.isPropertyAccessExpression(a)||e.isJSDocTypeAlias(a)}e.canProduceDiagnostics=n;function c(a){if(e.isSetAccessor(a)||e.isGetAccessor(a))return p;return e.isMethodSignature(a)||e.isMethodDeclaration(a)?V:f(a);function p(m){var A=x(m);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function x(m){return e.isStatic(a)?m.errorModuleName?m.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256?m.errorModuleName?m.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:m.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function V(m){var A=g(m);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function g(m){return e.isStatic(a)?m.errorModuleName?m.accessibility===2?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256?m.errorModuleName?m.accessibility===2?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:m.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}e.createGetSymbolAccessibilityDiagnosticForNodeName=c;function f(a){if(e.isVariableDeclaration(a)||e.isPropertyDeclaration(a)||e.isPropertySignature(a)||e.isPropertyAccessExpression(a)||e.isBindingElement(a)||e.isConstructorDeclaration(a))return x;return e.isSetAccessor(a)||e.isGetAccessor(a)?V:e.isConstructSignatureDeclaration(a)||e.isCallSignatureDeclaration(a)||e.isMethodDeclaration(a)||e.isMethodSignature(a)||e.isFunctionDeclaration(a)||e.isIndexSignatureDeclaration(a)?g:e.isParameter(a)?e.isParameterPropertyDeclaration(a,a.parent)&&e.hasSyntacticModifier(a.parent,8)?x:m:e.isTypeParameterDeclaration(a)?K:e.isExpressionWithTypeArguments(a)?ae:e.isImportEqualsDeclaration(a)?y:e.isTypeAliasDeclaration(a)||e.isJSDocTypeAlias(a)?k:e.Debug.assertNever(a,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(e.SyntaxKind[a.kind]));function p(S){if(a.kind===253||a.kind===202)return S.errorModuleName?S.accessibility===2?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;if(a.kind===166||a.kind===205||a.kind===165||a.kind===163&&e.hasSyntacticModifier(a.parent,8))return e.isStatic(a)?S.errorModuleName?S.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256||a.kind===163?S.errorModuleName?S.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:S.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function x(S){var F=p(S);return F!==void 0?{diagnosticMessage:F,errorNode:a,typeName:a.name}:void 0}function V(S){var F;return a.kind===172?e.isStatic(a)?F=S.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:F=S.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.isStatic(a)?F=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:F=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:F,errorNode:a.name,typeName:a.name}}function g(S){var F;switch(a.kind){case 174:F=S.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 173:F=S.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 175:F=S.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:case 167:e.isStatic(a)?F=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:a.parent.kind===256?F=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:F=S.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 255:F=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail("This is unknown kind for signature: "+a.kind)}return{diagnosticMessage:F,errorNode:a.name||a}}function m(S){var F=A(S);return F!==void 0?{diagnosticMessage:F,errorNode:a,typeName:a.name}:void 0}function A(S){switch(a.parent.kind){case 170:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 174:case 179:return S.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 173:return S.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 175:return S.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:case 167:return e.isStatic(a.parent)?S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:a.parent.parent.kind===256?S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:S.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 255:case 178:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 172:case 171:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail("Unknown parent for parameter: ".concat(e.SyntaxKind[a.parent.kind]))}}function K(){var S;switch(a.parent.kind){case 256:S=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:S=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:S=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:S=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:S=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:e.isStatic(a.parent)?S=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:a.parent.parent.kind===256?S=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:S=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 178:case 255:S=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:S=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail("This is unknown parent for type parameter: "+a.parent.kind)}return{diagnosticMessage:S,errorNode:a,typeName:a.name}}function ae(){var S;return e.isClassDeclaration(a.parent.parent)?S=e.isHeritageClause(a.parent)&&a.parent.token===117?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:a.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:S=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:S,errorNode:a,typeName:e.getNameOfDeclaration(a.parent.parent)}}function y(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:a,typeName:a.name}}function k(S){return{diagnosticMessage:S.errorModuleName?e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:e.isJSDocTypeAlias(a)?e.Debug.checkDefined(a.typeExpression):a.type,typeName:e.isJSDocTypeAlias(a)?e.getNameOfDeclaration(a):a.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=f})(gr||(gr={}));var gr;(function(e){function n(y,k,S){var F=y.getCompilerOptions(),B=e.transformNodes(k,y,e.factory,F,S?[S]:e.filter(y.getSourceFiles(),e.isSourceFileNotJson),[p],!1);return B.diagnostics}e.getDeclarationDiagnostics=n;function c(y,k){var S=k.text.substring(y.pos,y.end);return e.stringContains(S,"@internal")}function f(y,k){var S=e.getParseTreeNode(y);if(S&&S.kind===163){var F=S.parent.parameters.indexOf(S),B=F>0?S.parent.parameters[F-1]:void 0,N=k.text,w=B?e.concatenate(e.getTrailingCommentRanges(N,e.skipTrivia(N,B.end+1,!1,!0)),e.getLeadingCommentRanges(N,y.pos)):e.getTrailingCommentRanges(N,e.skipTrivia(N,y.pos,!1,!0));return w&&w.length&&c(e.last(w),k)}var O=S&&e.getLeadingCommentRangesOfNode(S,k);return!!e.forEach(O,function(U){return c(U,k)})}e.isInternalDeclaration=f;var a=531469;function p(y){var k=function(){return e.Debug.fail("Diagnostic emitted without context")},S=k,F=!0,B=!1,N=!1,w=!1,O=!1,U,Q,ee,ne,M,X,G=y.factory,Z=y.getEmitHost(),E={trackSymbol:R,reportInaccessibleThisError:_e,reportInaccessibleUniqueSymbolError:z,reportCyclicStructureError:Ee,reportPrivateInBaseOfClassExpression:Y,reportLikelyUnsafeImportRequiredError:ke,reportTruncationError:Pe,moduleResolverHost:Z,trackReferencedAmbientModule:J,trackExternalModuleSymbolOfImportTypeNode:Ae,reportNonlocalAugmentation:Ie,reportNonSerializableProperty:Fe},I,b,D,C,_,d,h=y.getEmitResolver(),P=y.getCompilerOptions(),te=P.noResolve,ce=P.stripInternal;return ge;function q(ar){if(ar){Q=Q||new e.Set;for(var wr=0,sr=ar;wr0?y.parameters[0].type:void 0}function A(y){switch(y.kind){case 166:case 165:return!e.hasEffectiveModifier(y,8);case 163:case 253:return!0}return!1}function K(y){switch(y.kind){case 255:case 260:case 264:case 257:case 256:case 258:case 259:case 236:case 265:case 271:case 270:return!0}return!1}function ae(y){switch(y.kind){case 174:case 170:case 168:case 171:case 172:case 166:case 165:case 167:case 173:case 175:case 253:case 162:case 227:case 177:case 188:case 178:case 179:case 199:return!0}return!1}})(gr||(gr={}));var gr;(function(e){function n(k){switch(k){case e.ModuleKind.ESNext:case e.ModuleKind.ES2022:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return e.transformNodeModule;default:return e.transformModule}}var c;(function(k){k[k.Uninitialized=0]="Uninitialized",k[k.Initialized=1]="Initialized",k[k.Completed=2]="Completed",k[k.Disposed=3]="Disposed"})(c||(c={}));var f;(function(k){k[k.Substitution=1]="Substitution",k[k.EmitNotifications=2]="EmitNotifications"})(f||(f={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function a(k,S,F){return{scriptTransformers:p(k,S,F),declarationTransformers:x(S)}}e.getTransformers=a;function p(k,S,F){if(F)return e.emptyArray;var B=e.getEmitScriptTarget(k),N=e.getEmitModuleKind(k),w=[];return e.addRange(w,S&&e.map(S.before,m)),w.push(e.transformTypeScript),w.push(e.transformClassFields),e.getJSXTransformEnabled(k)&&w.push(e.transformJsx),B<99&&w.push(e.transformESNext),B<8&&w.push(e.transformES2021),B<7&&w.push(e.transformES2020),B<6&&w.push(e.transformES2019),B<5&&w.push(e.transformES2018),B<4&&w.push(e.transformES2017),B<3&&w.push(e.transformES2016),B<2&&(w.push(e.transformES2015),w.push(e.transformGenerators)),w.push(n(N)),B<1&&w.push(e.transformES5),e.addRange(w,S&&e.map(S.after,m)),w}function x(k){var S=[];return S.push(e.transformDeclarations),e.addRange(S,k&&e.map(k.afterDeclarations,A)),S}function V(k){return function(S){return e.isBundle(S)?k.transformBundle(S):k.transformSourceFile(S)}}function g(k,S){return function(F){var B=k(F);return typeof B=="function"?S(F,B):V(B)}}function m(k){return g(k,e.chainBundle)}function A(k){return g(k,function(S,F){return F})}function K(k,S){return S}e.noEmitSubstitution=K;function ae(k,S,F){F(k,S)}e.noEmitNotification=ae;function y(k,S,F,B,N,w,O){for(var U=new Array(353),Q,ee,ne,M=0,X=[],G=[],Z=[],E=[],I=0,b=!1,D=[],C=0,_,d,h=K,P=ae,te=0,ce=[],q={factory:F,getCompilerOptions:function(){return B},getEmitResolver:function(){return k},getEmitHost:function(){return S},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(q)}),startLexicalEnvironment:qe,suspendLexicalEnvironment:Xe,resumeLexicalEnvironment:Se,endLexicalEnvironment:Le,setLexicalEnvironmentFlags:Ye,getLexicalEnvironmentFlags:Dr,hoistVariableDeclaration:Be,hoistFunctionDeclaration:de,addInitializationStatement:De,startBlockScope:br,endBlockScope:or,addBlockScopedVariable:Cr,requestEmitHelper:Rr,readEmitHelpers:Ke,enableSubstitution:ke,enableEmitNotification:Fe,isSubstitutionEnabled:Pe,isEmitNotificationEnabled:ve,get onSubstituteNode(){return h},set onSubstituteNode(Hr){e.Debug.assert(te<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(Hr!==void 0,"Value must not be 'undefined'"),h=Hr},get onEmitNode(){return P},set onEmitNode(Hr){e.Debug.assert(te<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(Hr!==void 0,"Value must not be 'undefined'"),P=Hr},addDiagnostic:function(Hr){ce.push(Hr)}},J=0,Te=N;J0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed.");var cr=e.setEmitFlags(F.createVariableDeclaration(Hr),64);Q?Q.push(cr):Q=[cr],M&1&&(M|=2)}function de(Hr){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(Hr,1048576),ee?ee.push(Hr):ee=[Hr]}function De(Hr){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(Hr,1048576),ne?ne.push(Hr):ne=[Hr]}function qe(){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!b,"Lexical environment is suspended."),X[I]=Q,G[I]=ee,Z[I]=ne,E[I]=M,I++,Q=void 0,ee=void 0,ne=void 0,M=0}function Xe(){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!b,"Lexical environment is already suspended."),b=!0}function Se(){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(b,"Lexical environment is not suspended."),b=!1}function Le(){e.Debug.assert(te>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!b,"Lexical environment is suspended.");var Hr;if(Q||ee||ne){if(ee&&(Hr=Gt([],ee,!0)),Q){var cr=F.createVariableStatement(void 0,F.createVariableDeclarationList(Q));e.setEmitFlags(cr,1048576),Hr?Hr.push(cr):Hr=[cr]}ne&&(Hr?Hr=Gt(Gt([],Hr,!0),ne,!0):Hr=Gt([],ne,!0))}return I--,Q=X[I],ee=G[I],ne=Z[I],M=E[I],I===0&&(X=[],G=[],Z=[],E=[]),Hr}function Ye(Hr,cr){M=cr?M|Hr:M&~Hr}function Dr(){return M}function br(){e.Debug.assert(te>0,"Cannot start a block scope during initialization."),e.Debug.assert(te<2,"Cannot start a block scope after transformation has completed."),D[C]=_,C++,_=void 0}function or(){e.Debug.assert(te>0,"Cannot end a block scope during initialization."),e.Debug.assert(te<2,"Cannot end a block scope after transformation has completed.");var Hr=e.some(_)?[F.createVariableStatement(void 0,F.createVariableDeclarationList(_.map(function(cr){return F.createVariableDeclaration(cr)}),1))]:void 0;return C--,_=D[C],C===0&&(D=[]),Hr}function Cr(Hr){e.Debug.assert(C>0,"Cannot add a block scoped variable outside of an iteration body."),(_||(_=[])).push(Hr)}function Rr(Hr){if(e.Debug.assert(te>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(te<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!Hr.scoped,"Cannot request a scoped emit helper."),Hr.dependencies)for(var cr=0,vr=Hr.dependencies;cr0,"Cannot modify the transformation context during initialization."),e.Debug.assert(te<2,"Cannot modify the transformation context after transformation has completed.");var Hr=d;return d=void 0,Hr}function Me(){if(te<3){for(var Hr=0,cr=N;Hr"),Ln(),jr(T.type),zc(T)}function za(T){ii("function"),_l(T,T.parameters),An(":"),jr(T.type)}function hi(T){An("?"),jr(T.type)}function Zi(T){An("!"),jr(T.type)}function Po(T){jr(T.type),An("=")}function Fo(T){Bl(T),Js(T,T.modifiers),ii("new"),Ln(),Gl(T,T.typeParameters),_l(T,T.parameters),Ln(),An("=>"),Ln(),jr(T.type),zc(T)}function Go(T){ii("typeof"),Ln(),jr(T.exprName)}function qo(T){An("{");var Qe=e.getEmitFlags(T)&1?768:32897;go(T,T.members,Qe|524288),An("}")}function Ts(T){jr(T.elementType,rt.parenthesizeElementTypeOfArrayType),An("["),An("]")}function xs(T){An("..."),jr(T.type)}function yr(T){La(22,T.pos,An,T);var Qe=e.getEmitFlags(T)&1?528:657;go(T,T.elements,Qe|524288),La(23,T.elements.end,An,T)}function dt(T){jr(T.dotDotDotToken),jr(T.name),jr(T.questionToken),La(58,T.name.end,An,T),Ln(),jr(T.type)}function tn(T){jr(T.type,rt.parenthesizeElementTypeOfArrayType),An("?")}function Vn(T){go(T,T.types,516,rt.parenthesizeMemberOfElementType)}function Re(T){go(T,T.types,520,rt.parenthesizeMemberOfElementType)}function ie(T){jr(T.checkType,rt.parenthesizeMemberOfConditionalType),Ln(),ii("extends"),Ln(),jr(T.extendsType,rt.parenthesizeMemberOfConditionalType),Ln(),An("?"),Ln(),jr(T.trueType),Ln(),An(":"),Ln(),jr(T.falseType)}function _r(T){ii("infer"),Ln(),jr(T.typeParameter)}function oe(T){An("("),jr(T.type),An(")")}function Ge(){ii("this")}function $e(T){Pc(T.operator,ii),Ln(),jr(T.type,rt.parenthesizeMemberOfElementType)}function hr(T){jr(T.objectType,rt.parenthesizeMemberOfElementType),An("["),jr(T.indexType),An("]")}function Xr(T){var Qe=e.getEmitFlags(T);An("{"),Qe&1?Ln():(ds(),Mc()),T.readonlyToken&&(jr(T.readonlyToken),T.readonlyToken.kind!==144&&ii("readonly"),Ln()),An("["),vt(3,T.typeParameter),T.nameType&&(Ln(),ii("as"),Ln(),jr(T.nameType)),An("]"),T.questionToken&&(jr(T.questionToken),T.questionToken.kind!==57&&An("?")),An(":"),Ln(),jr(T.type),fs(),Qe&1?Ln():(ds(),Ks()),An("}")}function Dt(T){Ir(T.literal)}function Jt(T){jr(T.head),go(T,T.templateSpans,262144)}function Dn(T){T.isTypeOf&&(ii("typeof"),Ln()),ii("import"),An("("),jr(T.argument),An(")"),T.qualifier&&(An("."),jr(T.qualifier)),Dl(T,T.typeArguments)}function ta(T){An("{"),go(T,T.elements,525136),An("}")}function xa(T){An("["),go(T,T.elements,524880),An("]")}function Di(T){jr(T.dotDotDotToken),T.propertyName&&(jr(T.propertyName),An(":"),Ln()),jr(T.name),od(T.initializer,T.name.end,T,rt.parenthesizeExpressionForDisallowedComma)}function $a(T){var Qe=T.elements,nt=T.multiLine?65536:0;Ll(T,Qe,8914|nt,rt.parenthesizeExpressionForDisallowedComma)}function Ji(T){e.forEach(T.properties,wn);var Qe=e.getEmitFlags(T)&65536;Qe&&Mc();var nt=T.multiLine?65536:0,Ot=_e.languageVersion>=1&&!e.isJsonSourceFile(_e)?64:0;go(T,T.properties,526226|Ot|nt),Qe&&Ks()}function Do(T){Ir(T.expression,rt.parenthesizeLeftSideOfAccess);var Qe=T.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),T.expression.end,T.name.pos),nt=bc(T,T.expression,Qe),Ot=bc(T,Qe,T.name);yc(nt,!1);var fa=Qe.kind!==28&&us(T.expression)&&!qe.hasTrailingComment()&&!qe.hasTrailingWhitespace();fa&&An("."),T.questionDotToken?jr(Qe):La(Qe.kind,T.expression.end,An,T),yc(Ot,!1),jr(T.name),Cf(nt,Ot)}function us(T){if(T=e.skipPartiallyEmittedExpressions(T),e.isNumericLiteral(T)){var Qe=zs(T,!0,!1);return!T.numericLiteralFlags&&!e.stringContains(Qe,e.tokenToString(24))}else if(e.isAccessExpression(T)){var nt=e.getConstantValue(T);return typeof nt=="number"&&isFinite(nt)&&Math.floor(nt)===nt}}function bt(T){Ir(T.expression,rt.parenthesizeLeftSideOfAccess),jr(T.questionDotToken),La(22,T.expression.end,An,T),Ir(T.argumentExpression),La(23,T.argumentExpression.end,An,T)}function Pn(T){var Qe=e.getEmitFlags(T)&536870912;Qe&&(An("("),gs("0"),An(","),Ln()),Ir(T.expression,rt.parenthesizeLeftSideOfAccess),Qe&&An(")"),jr(T.questionDotToken),Dl(T,T.typeArguments),Ll(T,T.arguments,2576,rt.parenthesizeExpressionForDisallowedComma)}function da(T){La(103,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeExpressionOfNew),Dl(T,T.typeArguments),Ll(T,T.arguments,18960,rt.parenthesizeExpressionForDisallowedComma)}function ei(T){var Qe=e.getEmitFlags(T)&536870912;Qe&&(An("("),gs("0"),An(","),Ln()),Ir(T.tag,rt.parenthesizeLeftSideOfAccess),Qe&&An(")"),Dl(T,T.typeArguments),Ln(),Ir(T.template)}function bi(T){An("<"),jr(T.type),An(">"),Ir(T.expression,rt.parenthesizeOperandOfPrefixUnary)}function xi(T){var Qe=La(20,T.pos,An,T),nt=fd(T.expression,T);Ir(T.expression,void 0),dd(T.expression,T),Cf(nt),La(21,T.expression?T.expression.end:Qe,An,T)}function ka(T){Ss(T.name),zn(T)}function _i(T){Fl(T,T.decorators),Js(T,T.modifiers),Fa(T,Xi)}function Xi(T){Gl(T,T.typeParameters),Df(T,T.parameters),vc(T.type),Ln(),jr(T.equalsGreaterThanToken)}function Gi(T){La(89,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeOperandOfPrefixUnary)}function wo(T){La(112,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeOperandOfPrefixUnary)}function Ro(T){La(114,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeOperandOfPrefixUnary)}function rs(T){La(132,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeOperandOfPrefixUnary)}function is(T){Pc(T.operator,wc),pe(T)&&Ln(),Ir(T.operand,rt.parenthesizeOperandOfPrefixUnary)}function pe(T){var Qe=T.operand;return Qe.kind===218&&(T.operator===39&&(Qe.operator===39||Qe.operator===45)||T.operator===40&&(Qe.operator===40||Qe.operator===46))}function Mr(T){Ir(T.operand,rt.parenthesizeOperandOfPostfixUnary),Pc(T.operator,wc)}function ft(){return e.createBinaryExpressionTrampoline(T,Qe,nt,Ot,fa,void 0);function T(ia,ti){if(ti){ti.stackIndex++,ti.preserveSourceNewlinesStack[ti.stackIndex]=de,ti.containerPosStack[ti.stackIndex]=fe,ti.containerEndStack[ti.stackIndex]=xe,ti.declarationListContainerEndStack[ti.stackIndex]=Je;var Na=ti.shouldEmitCommentsStack[ti.stackIndex]=ut(ia),Ua=ti.shouldEmitSourceMapsStack[ti.stackIndex]=ht(ia);ce==null||ce(ia),Na&&_d(ia),Ua&&Ip(ia),zr(ia)}else ti={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ti}function Qe(ia,ti,Na){return Ra(ia,Na,"left")}function nt(ia,ti,Na){var Ua=ia.kind!==27,Bo=bc(Na,Na.left,ia),fl=bc(Na,ia,Na.right);yc(Bo,Ua),Yc(ia.pos),Ps(ia,ia.kind===101?ii:wc),ju(ia.end,!0),yc(fl,!0)}function Ot(ia,ti,Na){return Ra(ia,Na,"right")}function fa(ia,ti){var Na=bc(ia,ia.left,ia.operatorToken),Ua=bc(ia,ia.operatorToken,ia.right);if(Cf(Na,Ua),ti.stackIndex>0){var Bo=ti.preserveSourceNewlinesStack[ti.stackIndex],fl=ti.containerPosStack[ti.stackIndex],ss=ti.containerEndStack[ti.stackIndex],os=ti.declarationListContainerEndStack[ti.stackIndex],Wl=ti.shouldEmitCommentsStack[ti.stackIndex],$c=ti.shouldEmitSourceMapsStack[ti.stackIndex];gt(Bo),$c&&gd(ia),Wl&&Yd(ia,fl,ss,os),q==null||q(ia),ti.stackIndex--}}function Ra(ia,ti,Na){var Ua=Na==="left"?rt.getParenthesizeLeftSideOfBinaryForOperator(ti.operatorToken.kind):rt.getParenthesizeRightSideOfBinaryForOperator(ti.operatorToken.kind),Bo=xt(0,1,ia);if(Bo===ba&&(e.Debug.assertIsDefined(Wr),ia=Ua(e.cast(Wr,e.isExpression)),Bo=wt(1,1,ia),Wr=void 0),(Bo===Uu||Bo===Qc||Bo===_t)&&e.isBinaryExpression(ia))return ia;He=Ua,Bo(1,ia)}}function Zt(T){var Qe=bc(T,T.condition,T.questionToken),nt=bc(T,T.questionToken,T.whenTrue),Ot=bc(T,T.whenTrue,T.colonToken),fa=bc(T,T.colonToken,T.whenFalse);Ir(T.condition,rt.parenthesizeConditionOfConditionalExpression),yc(Qe,!0),jr(T.questionToken),yc(nt,!0),Ir(T.whenTrue,rt.parenthesizeBranchOfConditionalExpression),Cf(Qe,nt),yc(Ot,!0),jr(T.colonToken),yc(fa,!0),Ir(T.whenFalse,rt.parenthesizeBranchOfConditionalExpression),Cf(Ot,fa)}function Oe(T){jr(T.head),go(T,T.templateSpans,262144)}function Qr(T){La(125,T.pos,ii,T),jr(T.asteriskToken),Fu(T.expression,rt.parenthesizeExpressionForDisallowedComma)}function hn(T){La(25,T.pos,An,T),Ir(T.expression,rt.parenthesizeExpressionForDisallowedComma)}function Xn(T){Ss(T.name),En(T)}function gi(T){Ir(T.expression,rt.parenthesizeLeftSideOfAccess),Dl(T,T.typeArguments)}function Ia(T){Ir(T.expression,void 0),T.type&&(Ln(),ii("as"),Ln(),jr(T.type))}function oo(T){Ir(T.expression,rt.parenthesizeLeftSideOfAccess),wc("!")}function jo(T){Lf(T.keywordToken,T.pos,An),An("."),jr(T.name)}function Nr(T){Ir(T.expression),jr(T.literal)}function Ws(T){sl(T,!T.multiLine&&pd(T))}function sl(T,Qe){La(18,T.pos,An,T);var nt=Qe||e.getEmitFlags(T)&1?768:129;go(T,T.statements,nt),La(19,T.statements.end,An,T,!!(nt&1))}function Pl(T){Js(T,T.modifiers),jr(T.declarationList),fs()}function xo(T){T?An(";"):fs()}function js(T){Ir(T.expression,rt.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(_e)||e.nodeIsSynthesized(T.expression))&&fs()}function Zl(T){var Qe=La(99,T.pos,ii,T);Ln(),La(20,Qe,An,T),Ir(T.expression),La(21,T.expression.end,An,T),hc(T,T.thenStatement),T.elseStatement&&($u(T,T.thenStatement,T.elseStatement),La(91,T.thenStatement.end,ii,T),T.elseStatement.kind===238?(Ln(),jr(T.elseStatement)):hc(T,T.elseStatement))}function ql(T,Qe){var nt=La(115,Qe,ii,T);Ln(),La(20,nt,An,T),Ir(T.expression),La(21,T.expression.end,An,T)}function fc(T){La(90,T.pos,ii,T),hc(T,T.statement),e.isBlock(T.statement)&&!de?Ln():$u(T,T.statement,T.expression),ql(T,T.statement.end),fs()}function uu(T){ql(T,T.pos),hc(T,T.statement)}function no(T){var Qe=La(97,T.pos,ii,T);Ln();var nt=La(20,Qe,An,T);Hs(T.initializer),nt=La(26,T.initializer?T.initializer.end:nt,An,T),Fu(T.condition),nt=La(26,T.condition?T.condition.end:nt,An,T),Fu(T.incrementor),La(21,T.incrementor?T.incrementor.end:nt,An,T),hc(T,T.statement)}function Xl(T){var Qe=La(97,T.pos,ii,T);Ln(),La(20,Qe,An,T),Hs(T.initializer),Ln(),La(101,T.initializer.end,ii,T),Ln(),Ir(T.expression),La(21,T.expression.end,An,T),hc(T,T.statement)}function dc(T){var Qe=La(97,T.pos,ii,T);Ln(),Mm(T.awaitModifier),La(20,Qe,An,T),Hs(T.initializer),Ln(),La(159,T.initializer.end,ii,T),Ln(),Ir(T.expression),La(21,T.expression.end,An,T),hc(T,T.statement)}function Hs(T){T!==void 0&&(T.kind===254?jr(T):Ir(T))}function Ic(T){La(86,T.pos,ii,T),sd(T.label),fs()}function Nc(T){La(81,T.pos,ii,T),sd(T.label),fs()}function La(T,Qe,nt,Ot,fa){var Ra=e.getParseTreeNode(Ot),ia=Ra&&Ra.kind===Ot.kind,ti=Qe;if(ia&&_e&&(Qe=e.skipTrivia(_e.text,Qe)),ia&&Ot.pos!==ti){var Na=fa&&_e&&!e.positionsAreOnSameLine(ti,Qe,_e);Na&&Mc(),Yc(ti),Na&&Ks()}if(Qe=Pc(T,nt,Qe),ia&&Ot.end!==Qe){var Ua=Ot.kind===287;ju(Qe,!Ua,Ua)}return Qe}function fu(T){La(105,T.pos,ii,T),Fu(T.expression),fs()}function pc(T){var Qe=La(116,T.pos,ii,T);Ln(),La(20,Qe,An,T),Ir(T.expression),La(21,T.expression.end,An,T),hc(T,T.statement)}function kc(T){var Qe=La(107,T.pos,ii,T);Ln(),La(20,Qe,An,T),Ir(T.expression),La(21,T.expression.end,An,T),Ln(),jr(T.caseBlock)}function Pr(T){jr(T.label),La(58,T.label.end,An,T),Ln(),jr(T.statement)}function $r(T){La(109,T.pos,ii,T),Fu(T.expression),fs()}function Lt(T){La(111,T.pos,ii,T),Ln(),jr(T.tryBlock),T.catchClause&&($u(T,T.tryBlock,T.catchClause),jr(T.catchClause)),T.finallyBlock&&($u(T,T.catchClause||T.tryBlock,T.finallyBlock),La(96,(T.catchClause||T.tryBlock).end,ii,T),Ln(),jr(T.finallyBlock))}function Kt(T){Lf(87,T.pos,ii),fs()}function pn(T){jr(T.name),jr(T.exclamationToken),vc(T.type),od(T.initializer,T.type?T.type.end:T.name.end,T,rt.parenthesizeExpressionForDisallowedComma)}function fn(T){ii(e.isLet(T)?"let":e.isVarConst(T)?"const":"var"),Ln(),go(T,T.declarations,528)}function kn(T){zn(T)}function zn(T){Fl(T,T.decorators),Js(T,T.modifiers),ii("function"),jr(T.asteriskToken),Ln(),rr(T.name),Fa(T,ua)}function Fa(T,Qe){var nt=T.body;if(nt)if(e.isBlock(nt)){var Ot=e.getEmitFlags(T)&65536;Ot&&Mc(),Bl(T),e.forEach(T.parameters,Ga),Ga(T.body),Qe(T),er(nt),zc(T),Ot&&Ks()}else Qe(T),Ln(),Ir(nt,rt.parenthesizeConciseBodyOfArrowFunction);else Qe(T),fs()}function ua(T){Gl(T,T.typeParameters),_l(T,T.parameters),vc(T.type)}function se(T){if(e.getEmitFlags(T)&1)return!0;if(T.multiLine||!e.nodeIsSynthesized(T)&&!e.rangeIsOnSingleLine(T,_e)||ul(T,T.statements,2)||Gu(T,T.statements,2))return!1;for(var Qe,nt=0,Ot=T.statements;nt0)return!1;Qe=fa}return!0}function er(T){ce==null||ce(T),Ln(),An("{"),Mc();var Qe=se(T)?Er:ct;Vu?Vu(T,T.statements,Qe):Qe(T),Ks(),Lf(19,T.statements.end,An,T),q==null||q(T)}function Er(T){ct(T,!0)}function ct(T,Qe){var nt=Hd(T.statements),Ot=qe.getTextPos();na(T),nt===0&&Ot===qe.getTextPos()&&Qe?(Ks(),go(T,T.statements,768),Mc()):go(T,T.statements,1,void 0,nt)}function jt(T){En(T)}function En(T){e.forEach(T.members,wn),Fl(T,T.decorators),Js(T,T.modifiers),ii("class"),T.name&&(Ln(),rr(T.name));var Qe=e.getEmitFlags(T)&65536;Qe&&Mc(),Gl(T,T.typeParameters),go(T,T.heritageClauses,0),Ln(),An("{"),go(T,T.members,129),An("}"),Qe&&Ks()}function ha(T){Fl(T,T.decorators),Js(T,T.modifiers),ii("interface"),Ln(),jr(T.name),Gl(T,T.typeParameters),go(T,T.heritageClauses,512),Ln(),An("{"),go(T,T.members,129),An("}")}function ri(T){Fl(T,T.decorators),Js(T,T.modifiers),ii("type"),Ln(),jr(T.name),Gl(T,T.typeParameters),Ln(),An("="),Ln(),jr(T.type),fs()}function Ta(T){Js(T,T.modifiers),ii("enum"),Ln(),jr(T.name),Ln(),An("{"),go(T,T.members,145),An("}")}function Ya(T){Js(T,T.modifiers),~T.flags&1024&&(ii(T.flags&16?"namespace":"module"),Ln()),jr(T.name);var Qe=T.body;if(!Qe)return fs();for(;Qe&&e.isModuleDeclaration(Qe);)An("."),jr(Qe.name),Qe=Qe.body;Ln(),jr(Qe)}function fi(T){Bl(T),e.forEach(T.statements,Ga),sl(T,pd(T)),zc(T)}function ci(T){La(18,T.pos,An,T),go(T,T.clauses,129),La(19,T.clauses.end,An,T,!0)}function Si(T){Js(T,T.modifiers),La(100,T.modifiers?T.modifiers.end:T.pos,ii,T),Ln(),T.isTypeOnly&&(La(151,T.pos,ii,T),Ln()),jr(T.name),Ln(),La(63,T.name.end,An,T),Ln(),Lo(T.moduleReference),fs()}function Lo(T){T.kind===79?Ir(T):jr(T)}function Eo(T){Js(T,T.modifiers),La(100,T.modifiers?T.modifiers.end:T.pos,ii,T),Ln(),T.importClause&&(jr(T.importClause),Ln(),La(155,T.importClause.end,ii,T),Ln()),Ir(T.moduleSpecifier),T.assertClause&&sd(T.assertClause),fs()}function ks(T){T.isTypeOnly&&(La(151,T.pos,ii,T),Ln()),jr(T.name),T.name&&T.namedBindings&&(La(27,T.name.end,An,T),Ln()),jr(T.namedBindings)}function Zs(T){var Qe=La(41,T.pos,An,T);Ln(),La(127,Qe,ii,T),Ln(),jr(T.name)}function ku(T){yf(T)}function hf(T){po(T)}function $l(T){var Qe=La(93,T.pos,ii,T);Ln(),T.isExportEquals?La(63,Qe,wc,T):La(88,Qe,ii,T),Ln(),Ir(T.expression,T.isExportEquals?rt.getParenthesizeRightSideOfBinaryForOperator(63):rt.parenthesizeExpressionOfExportDefault),fs()}function Hc(T){var Qe=La(93,T.pos,ii,T);if(Ln(),T.isTypeOnly&&(Qe=La(151,Qe,ii,T),Ln()),T.exportClause?jr(T.exportClause):Qe=La(41,Qe,An,T),T.moduleSpecifier){Ln();var nt=T.exportClause?T.exportClause.end:Qe;La(155,nt,ii,T),Ln(),Ir(T.moduleSpecifier)}T.assertClause&&sd(T.assertClause),fs()}function Fr(T){La(129,T.pos,ii,T),Ln();var Qe=T.elements;go(T,Qe,526226)}function ec(T){jr(T.name),An(":"),Ln();var Qe=T.value;if(!(e.getEmitFlags(Qe)&512)){var nt=e.getCommentRange(Qe);ju(nt.pos)}jr(Qe)}function mc(T){var Qe=La(93,T.pos,ii,T);Ln(),Qe=La(127,Qe,ii,T),Ln(),Qe=La(142,Qe,ii,T),Ln(),jr(T.name),fs()}function Ru(T){var Qe=La(41,T.pos,An,T);Ln(),La(127,Qe,ii,T),Ln(),jr(T.name)}function ll(T){yf(T)}function Rc(T){po(T)}function yf(T){An("{"),go(T,T.elements,525136),An("}")}function po(T){T.isTypeOnly&&(ii("type"),Ln()),T.propertyName&&(jr(T.propertyName),Ln(),La(127,T.propertyName.end,ii,T),Ln()),jr(T.name)}function rd(T){ii("require"),An("("),Ir(T.expression),An(")")}function bf(T){jr(T.openingElement),go(T,T.children,262144),jr(T.closingElement)}function Od(T){An("<"),Ef(T.tagName),Dl(T,T.typeArguments),Ln(),jr(T.attributes),An("/>")}function _s(T){jr(T.openingFragment),go(T,T.children,262144),jr(T.closingFragment)}function Jc(T){if(An("<"),e.isJsxOpeningElement(T)){var Qe=fd(T.tagName,T);Ef(T.tagName),Dl(T,T.typeArguments),T.attributes.properties&&T.attributes.properties.length>0&&Ln(),jr(T.attributes),dd(T.attributes,T),Cf(Qe)}An(">")}function Kc(T){qe.writeLiteral(T.text)}function $p(T){An("")}function ml(T){go(T,T.properties,262656)}function em(T){jr(T.name),wm("=",An,T.initializer,Or)}function Ms(T){An("{..."),Ir(T.expression),An("}")}function Ja(T){var Qe=!1;return e.forEachTrailingCommentRange((_e==null?void 0:_e.text)||"",T+1,function(){return Qe=!0}),Qe}function Zn(T){var Qe=!1;return e.forEachLeadingCommentRange((_e==null?void 0:_e.text)||"",T+1,function(){return Qe=!0}),Qe}function Oc(T){return Ja(T)||Zn(T)}function Rs(T){var Qe;if(T.expression||!ur&&!e.nodeIsSynthesized(T)&&Oc(T.pos)){var nt=_e&&!e.nodeIsSynthesized(T)&&e.getLineAndCharacterOfPosition(_e,T.pos).line!==e.getLineAndCharacterOfPosition(_e,T.end).line;nt&&qe.increaseIndent();var Ot=La(18,T.pos,An,T);jr(T.dotDotDotToken),Ir(T.expression),La(19,((Qe=T.expression)===null||Qe===void 0?void 0:Qe.end)||Ot,An,T),nt&&qe.decreaseIndent()}}function Ef(T){T.kind===79?Ir(T):jr(T)}function Ou(T){La(82,T.pos,ii,T),Ln(),Ir(T.expression,rt.parenthesizeExpressionForDisallowedComma),Vo(T,T.statements,T.expression.end)}function wd(T){var Qe=La(88,T.pos,ii,T);Vo(T,T.statements,Qe)}function Vo(T,Qe,nt){var Ot=Qe.length===1&&(e.nodeIsSynthesized(T)||e.nodeIsSynthesized(Qe[0])||e.rangeStartPositionsAreOnSameLine(T,Qe[0],_e)),fa=163969;Ot?(Lf(58,nt,An,T),Ln(),fa&=-130):La(58,nt,An,T),go(T,Qe,fa)}function td(T){Ln(),Pc(T.token,ii),Ln(),go(T,T.types,528)}function Md(T){var Qe=La(83,T.pos,ii,T);Ln(),T.variableDeclaration&&(La(20,Qe,An,T),jr(T.variableDeclaration),La(21,T.variableDeclaration.end,An,T),Ln()),jr(T.block)}function Pd(T){jr(T.name),An(":"),Ln();var Qe=T.initializer;if(!(e.getEmitFlags(Qe)&512)){var nt=e.getCommentRange(Qe);ju(nt.pos)}Ir(Qe,rt.parenthesizeExpressionForDisallowedComma)}function rm(T){jr(T.name),T.objectAssignmentInitializer&&(Ln(),An("="),Ln(),Ir(T.objectAssignmentInitializer,rt.parenthesizeExpressionForDisallowedComma))}function Sp(T){T.expression&&(La(25,T.pos,An,T),Ir(T.expression,rt.parenthesizeExpressionForDisallowedComma))}function Yl(T){jr(T.name),od(T.initializer,T.name.end,T,rt.parenthesizeExpressionForDisallowedComma)}function Om(T){if(Se("/**"),T.comment){var Qe=e.getTextOfJSDocComment(T.comment);if(Qe)for(var nt=Qe.split(/\r\n?|\n/g),Ot=0,fa=nt;Ot'),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"no-default-lib"}),ds()}if(_e&&_e.moduleName&&(cl('/// ')),ds()),_e&&_e.amdDependencies)for(var Ra=0,ia=_e.amdDependencies;Ra')):cl('/// ')),ds()}for(var Na=0,Ua=Qe;Na')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"reference",data:Bo.fileName}),ds()}for(var fl=0,ss=nt;fl')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"type",data:Bo.fileName}),ds()}for(var os=0,Wl=Ot;os')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"lib",data:Bo.fileName}),ds()}}function Cp(T){var Qe=T.statements;Bl(T),e.forEach(T.statements,Ga),na(T);var nt=e.findIndex(Qe,function(Ot){return!e.isPrologueDirective(Ot)});Tf(T),go(T,Qe,1,void 0,nt===-1?Qe.length:nt),zc(T)}function Sf(T){Ir(T.expression)}function am(T){Ll(T,T.elements,528,void 0)}function Hd(T,Qe,nt,Ot){for(var fa=!!Qe,Ra=0;Ra=nt.length||ia===0;if(Na&&Ot&32768){J&&J(nt),Te&&Te(nt);return}if(Ot&15360&&(An(Z(Ot)),Na&&nt&&ju(nt.pos,!0)),J&&J(nt),Na)Ot&1&&!(de&&(!Qe||e.rangeIsOnSingleLine(Qe,_e)))?ds():Ot&256&&!(Ot&524288)&&Ln();else{e.Debug.type(nt);var Ua=(Ot&262144)===0,Bo=Ua,fl=ul(Qe,nt,Ot);fl?(ds(fl),Bo=!1):Ot&256&&Ln(),Ot&128&&Mc();for(var ss=void 0,os=void 0,Wl=!1,$c=0;$c0?(Ot&131||(Mc(),Wl=!0),ds(hd),Bo=!1):ss&&Ot&512&&Ln()}if(os=ue(eu),Bo){if(ju){var lm=e.getCommentRange(eu);ju(lm.pos)}}else Bo=Ua;De=eu.pos,T.length===1?T(eu):T(eu,fa),Wl&&(Ks(),Wl=!1),ss=eu}var af=ss?e.getEmitFlags(ss):0,Gf=ur||!!(af&1024),cm=(nt==null?void 0:nt.hasTrailingComma)&&Ot&64&&Ot&16;cm&&(ss&&!Gf?La(27,ss.end,An,ss):An(",")),ss&&(Qe?Qe.end:-1)!==ss.end&&Ot&60&&!Gf&&Yc(cm&&(nt!=null&&nt.end)?nt.end:ss.end),Ot&128&&Ks(),je(os);var yd=Gu(Qe,nt,Ot);yd?ds(yd):Ot&2097408&&Ln()}Te&&Te(nt),Ot&15360&&(Na&&nt&&Yc(nt.end),An(E(Ot)))}}function gs(T){qe.writeLiteral(T)}function im(T){qe.writeStringLiteral(T)}function Ql(T){qe.write(T)}function cd(T,Qe){qe.writeSymbol(T,Qe)}function An(T){qe.writePunctuation(T)}function fs(){qe.writeTrailingSemicolon(";")}function ii(T){qe.writeKeyword(T)}function wc(T){qe.writeOperator(T)}function ud(T){qe.writeParameter(T)}function cl(T){qe.writeComment(T)}function Ln(){qe.writeSpace(" ")}function Pm(T){qe.writeProperty(T)}function ts(T){qe.nonEscapingWrite?qe.nonEscapingWrite(T):qe.write(T)}function ds(T){T===void 0&&(T=1);for(var Qe=0;Qe0)}function Mc(){qe.increaseIndent()}function Ks(){qe.decreaseIndent()}function Lf(T,Qe,nt,Ot){return Rr?Pc(T,nt,Qe):vd(Ot,T,nt,Qe,Pc)}function Ps(T,Qe){Ae&&Ae(T),Qe(e.tokenToString(T.kind)),R&&R(T)}function Pc(T,Qe,nt){var Ot=e.tokenToString(T);return Qe(Ot),nt<0?nt:nt+Ot.length}function $u(T,Qe,nt){if(e.getEmitFlags(T)&1)Ln();else if(de){var Ot=bc(T,Qe,nt);Ot?ds(Ot):Ln()}else ds()}function Af(T){for(var Qe=T.split(/\r\n?|\n/g),nt=e.guessIndentation(Qe),Ot=0,fa=Qe;Ot0||Ot>0)&&nt!==Ot&&(fa||wf(nt,T.kind!==347),(!fa||nt>=0&&Qe&512)&&(fe=nt),(!Ra||Ot>=0&&Qe&1024)&&(xe=Ot,T.kind===254&&(Je=Ot))),e.forEach(e.getSyntheticLeadingComments(T),pu),lt()}function ns(T,Qe,nt,Ot,fa,Ra,ia){qr();var ti=Ot<0||(Qe&1024)!==0||T.kind===11;e.forEach(e.getSyntheticTrailingComments(T),Qd),(nt>0||Ot>0)&&nt!==Ot&&(fe=fa,xe=Ra,Je=ia,!ti&&T.kind!==347&&$d(Ot)),lt()}function pu(T){(T.hasLeadingNewline||T.kind===2)&&qe.writeLine(),ic(T),T.hasTrailingNewLine||T.kind===2?qe.writeLine():qe.writeSpace(" ")}function Qd(T){qe.isAtStartOfLine()||qe.writeSpace(" "),ic(T),T.hasTrailingNewLine&&qe.writeLine()}function ic(T){var Qe=Of(T),nt=T.kind===3?e.computeLineStarts(Qe):void 0;e.writeCommentRange(Qe,nt,qe,0,Qe.length,j)}function Of(T){return T.kind===3?"/*".concat(T.text,"*/"):"//".concat(T.text)}function Vu(T,Qe,nt){qr();var Ot=Qe.pos,fa=Qe.end,Ra=e.getEmitFlags(T),ia=Ot<0||(Ra&512)!==0,ti=ur||fa<0||(Ra&1024)!==0;ia||rp(Qe),lt(),Ra&2048&&!ur?(ur=!0,nt(T),ur=!1):nt(T),qr(),ti||(wf(Qe.end,!0),Ve&&!qe.isAtStartOfLine()&&qe.writeLine()),lt()}function Zd(T,Qe){return T=e.getOriginalNode(T),T.parent&&T.parent===e.getOriginalNode(Qe).parent}function tf(T,Qe){if(Qe.pos-1&&Ot.indexOf(Qe)===fa+1}function wf(T,Qe){Ve=!1,Qe?T===0&&(_e!=null&&_e.isDeclarationFile)?mu(T,Xc):mu(T,Wu):T===0&&mu(T,Ec)}function Ec(T,Qe,nt,Ot,fa){tp(T,Qe)&&Wu(T,Qe,nt,Ot,fa)}function Xc(T,Qe,nt,Ot,fa){tp(T,Qe)||Wu(T,Qe,nt,Ot,fa)}function nf(T,Qe){return b.onlyPrintJsDocStyle?e.isJSDocLikeText(T,Qe)||e.isPinnedComment(T,Qe):!0}function Wu(T,Qe,nt,Ot,fa){nf(_e.text,T)&&(Ve||(e.emitNewLineBeforeLeadingCommentOfPosition(yt(),qe,fa,T),Ve=!0),Vl(T),e.writeCommentRange(_e.text,yt(),qe,T,Qe,j),Vl(Qe),Ot?qe.writeLine():nt===3&&qe.writeSpace(" "))}function Yc(T){ur||T===-1||wf(T,!0)}function $d(T){gn(T,Tc)}function Tc(T,Qe,nt,Ot){nf(_e.text,T)&&(qe.isAtStartOfLine()||qe.writeSpace(" "),Vl(T),e.writeCommentRange(_e.text,yt(),qe,T,Qe,j),Vl(Qe),Ot&&qe.writeLine())}function ju(T,Qe,nt){ur||(qr(),gn(T,Qe?Tc:nt?sm:Wa),lt())}function sm(T,Qe,nt){Vl(T),e.writeCommentRange(_e.text,yt(),qe,T,Qe,j),Vl(Qe),nt===2&&qe.writeLine()}function Wa(T,Qe,nt,Ot){Vl(T),e.writeCommentRange(_e.text,yt(),qe,T,Qe,j),Vl(Qe),Ot?qe.writeLine():qe.writeSpace(" ")}function mu(T,Qe){_e&&(fe===-1||T!==fe)&&(Mf(T)?ep(Qe):e.forEachLeadingCommentRange(_e.text,T,Qe,T))}function gn(T,Qe){_e&&(xe===-1||T!==xe&&T!==Je)&&e.forEachTrailingCommentRange(_e.text,T,Qe)}function Mf(T){return kr!==void 0&&e.last(kr).nodePos===T}function ep(T){var Qe=e.last(kr).detachedCommentEndPos;kr.length-1?kr.pop():kr=void 0,e.forEachLeadingCommentRange(_e.text,Qe,T,Qe)}function rp(T){var Qe=e.emitDetachedComments(_e.text,yt(),qe,Fc,T,j,ur);Qe&&(kr?kr.push(Qe):kr=[Qe])}function Fc(T,Qe,nt,Ot,fa,Ra){nf(_e.text,Ot)&&(Vl(Ot),e.writeCommentRange(T,Qe,nt,Ot,fa,Ra),Vl(fa))}function tp(T,Qe){return e.isRecognizedTripleSlashComment(_e.text,T,Qe)}function Fm(T){return T.parsedSourceMap===void 0&&T.sourceMapText!==void 0&&(T.parsedSourceMap=e.tryParseRawSourceMap(T.sourceMapText)||!1),T.parsedSourceMap||void 0}function Qc(T,Qe){var nt=wt(3,T,Qe);Ip(Qe),nt(T,Qe),gd(Qe)}function Ip(T){var Qe=e.getEmitFlags(T),nt=e.getSourceMapRange(T);if(e.isUnparsedNode(T)){e.Debug.assertIsDefined(T.parent,"UnparsedNodes must have parent pointers");var Ot=Fm(T.parent);Ot&&Ke&&Ke.appendSourceMap(qe.getLine(),qe.getColumn(),Ot,T.parent.sourceMapPath,T.parent.getLineAndCharacterOfPosition(T.pos),T.parent.getLineAndCharacterOfPosition(T.end))}else{var fa=nt.source||Me;T.kind!==347&&!(Qe&16)&&nt.pos>=0&&Pf(nt.source||Me,Np(fa,nt.pos)),Qe&64&&(Rr=!0)}}function gd(T){var Qe=e.getEmitFlags(T),nt=e.getSourceMapRange(T);e.isUnparsedNode(T)||(Qe&64&&(Rr=!1),T.kind!==347&&!(Qe&32)&&nt.end>=0&&Pf(nt.source||Me,nt.end))}function Np(T,Qe){return T.skipTrivia?T.skipTrivia(Qe):e.skipTrivia(T.text,Qe)}function Vl(T){if(!(Rr||e.positionIsSynthesized(T)||Ff(Me))){var Qe=e.getLineAndCharacterOfPosition(Me,T),nt=Qe.line,Ot=Qe.character;Ke.addMapping(qe.getLine(),qe.getColumn(),Hr,nt,Ot,void 0)}}function Pf(T,Qe){if(T!==Me){var nt=Me,Ot=Hr;Gc(T),Vl(Qe),Zc(nt,Ot)}else Vl(Qe)}function vd(T,Qe,nt,Ot,fa){if(Rr||T&&e.isInJsonFile(T))return fa(Qe,nt,Ot);var Ra=T&&T.emitNode,ia=Ra&&Ra.flags||0,ti=Ra&&Ra.tokenSourceMapRanges&&Ra.tokenSourceMapRanges[Qe],Na=ti&&ti.source||Me;return Ot=Np(Na,ti?ti.pos:Ot),!(ia&128)&&Ot>=0&&Pf(Na,Ot),Ot=fa(Qe,nt,Ot),ti&&(Ot=ti.end),!(ia&256)&&Ot>=0&&Pf(Na,Ot),Ot}function Gc(T){if(!Rr){if(Me=T,T===cr){Hr=vr;return}Ff(T)||(Hr=Ke.addSource(T.fileName),b.inlineSources&&Ke.setSourceContent(Hr,T.text),cr=T,vr=Hr)}}function Zc(T,Qe){Me=T,Hr=Qe}function Ff(T){return e.fileExtensionIs(T.fileName,".json")}}e.createPrinter=X;function G(){var b=[];return b[1024]=["{","}"],b[2048]=["(",")"],b[4096]=["<",">"],b[8192]=["[","]"],b}function Z(b){return n[b&15360][0]}function E(b){return n[b&15360][1]}var I;(function(b){b[b.Auto=0]="Auto",b[b.CountMask=268435455]="CountMask",b[b._i=268435456]="_i"})(I||(I={}))})(gr||(gr={}));var gr;(function(e){function n(S,F,B){if(!S.getDirectories||!S.readDirectory)return;var N=new e.Map,w=e.createGetCanonicalFileName(B);return{useCaseSensitiveFileNames:B,fileExists:I,readFile:function(q,J){return S.readFile(q,J)},directoryExists:S.directoryExists&&b,getDirectories:C,readDirectory:_,createDirectory:S.createDirectory&&D,writeFile:S.writeFile&&E,addOrDeleteFileOrDirectory:h,addOrDeleteFile:P,clearCache:ce,realpath:S.realpath&&d};function O(q){return e.toPath(q,F,w)}function U(q){return N.get(e.ensureTrailingDirectorySeparator(q))}function Q(q){return U(e.getDirectoryPath(q))}function ee(q){return e.getBaseFileName(e.normalizePath(q))}function ne(q,J){var Te;if(!S.realpath||e.ensureTrailingDirectorySeparator(O(S.realpath(q)))===J){var Ae={files:e.map(S.readDirectory(q,void 0,void 0,["*.*"]),ee)||[],directories:S.getDirectories(q)||[]};return N.set(e.ensureTrailingDirectorySeparator(J),Ae),Ae}if(!((Te=S.directoryExists)===null||Te===void 0)&&Te.call(S,q))return N.set(J,!1),!1}function M(q,J){J=e.ensureTrailingDirectorySeparator(J);var Te=U(J);if(Te)return Te;try{return ne(q,J)}catch{e.Debug.assert(!N.has(e.ensureTrailingDirectorySeparator(J)));return}}function X(q,J){return w(q)===w(J)}function G(q,J){return e.some(q,function(Te){return X(Te,J)})}function Z(q,J,Te){if(G(q,J)){if(!Te)return e.filterMutate(q,function(Ae){return!X(Ae,J)})}else if(Te)return q.push(J)}function E(q,J,Te){var Ae=O(q),R=Q(Ae);return R&&te(R,ee(q),!0),S.writeFile(q,J,Te)}function I(q){var J=O(q),Te=Q(J);return Te&&G(Te.files,ee(q))||S.fileExists(q)}function b(q){var J=O(q);return N.has(e.ensureTrailingDirectorySeparator(J))||S.directoryExists(q)}function D(q){var J=O(q),Te=Q(J),Ae=ee(q);Te&&Z(Te.directories,Ae,!0),S.createDirectory(q)}function C(q){var J=O(q),Te=M(q,J);return Te?Te.directories.slice():S.getDirectories(q)}function _(q,J,Te,Ae,R){var Y=O(q),j=M(q,Y),z;if(j!==void 0)return e.matchFiles(q,J,Te,Ae,B,F,R,Ee,d);return S.readDirectory(q,J,Te,Ae,R);function Ee(ke){var Pe=O(ke);if(Pe===Y)return j||_e(ke,Pe);var Ie=M(ke,Pe);return Ie!==void 0?Ie||_e(ke,Pe):e.emptyFileSystemEntries}function _e(ke,Pe){if(z&&Pe===Y)return z;var Ie={files:e.map(S.readDirectory(ke,void 0,void 0,["*.*"]),ee)||e.emptyArray,directories:S.getDirectories(ke)||e.emptyArray};return Pe===Y&&(z=Ie),Ie}}function d(q){return S.realpath?S.realpath(q):q}function h(q,J){var Te=U(J);if(Te!==void 0){ce();return}var Ae=Q(J);if(Ae){if(!S.directoryExists){ce();return}var R=ee(q),Y={fileExists:S.fileExists(J),directoryExists:S.directoryExists(J)};return Y.directoryExists||G(Ae.directories,R)?ce():te(Ae,R,Y.fileExists),Y}}function P(q,J,Te){if(Te!==e.FileWatcherEventKind.Changed){var Ae=Q(J);Ae&&te(Ae,ee(q),Te===e.FileWatcherEventKind.Created)}}function te(q,J,Te){Z(q.files,J,Te)}function ce(){N.clear()}}e.createCachedDirectoryStructureHost=n,function(S){S[S.None=0]="None",S[S.Partial=1]="Partial",S[S.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function c(S,F,B,N,w){var O,U=e.arrayToMap(((O=F==null?void 0:F.configFile)===null||O===void 0?void 0:O.extendedSourceFiles)||e.emptyArray,w);B.forEach(function(Q,ee){U.has(ee)||(Q.projects.delete(S),Q.close())}),U.forEach(function(Q,ee){var ne=B.get(ee);ne?ne.projects.add(S):B.set(ee,{projects:new e.Set([S]),watcher:N(Q,ee),close:function(){var M=B.get(ee);!M||M.projects.size!==0||(M.watcher.close(),B.delete(ee))}})})}e.updateSharedExtendedConfigFileWatcher=c;function f(S,F){F.forEach(function(B){B.projects.delete(S)&&B.close()})}e.clearSharedExtendedConfigFileWatcher=f;function a(S,F,B){S.delete(F)&&S.forEach(function(N,w){var O,U=N.extendedResult;!((O=U.extendedSourceFiles)===null||O===void 0)&&O.some(function(Q){return B(Q)===F})&&a(S,w,B)})}e.cleanExtendedConfigCache=a;function p(S,F,B){var N=new e.Map(S);e.mutateMap(F,N,{createNewValue:B,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=p;function x(S,F,B){var N=S.getMissingFilePaths(),w=e.arrayToMap(N,e.identity,e.returnTrue);e.mutateMap(F,w,{createNewValue:B,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=x;function V(S,F,B){e.mutateMap(S,F,{createNewValue:N,onDeleteValue:k,onExistingValue:w});function N(O,U){return{watcher:B(O,U),flags:U}}function w(O,U,Q){O.flags!==U&&(O.watcher.close(),S.set(Q,N(Q,U)))}}e.updateWatchingWildcardDirectories=V;function g(S){var F=S.watchedDirPath,B=S.fileOrDirectory,N=S.fileOrDirectoryPath,w=S.configFileName,O=S.options,U=S.program,Q=S.extraFileExtensions,ee=S.currentDirectory,ne=S.useCaseSensitiveFileNames,M=S.writeLog,X=S.toPath,G=e.removeIgnoredPath(N);if(!G)return M("Project: ".concat(w," Detected ignored path: ").concat(B)),!0;if(N=G,N===F)return!1;if(e.hasExtension(N)&&!e.isSupportedSourceFileName(B,O,Q))return M("Project: ".concat(w," Detected file add/remove of non supported extension: ").concat(B)),!0;if(e.isExcludedFile(B,O.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(w),ee),ne,ee))return M("Project: ".concat(w," Detected excluded file: ").concat(B)),!0;if(!U||e.outFile(O)||O.outDir)return!1;if(e.fileExtensionIs(N,".d.ts")){if(O.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(N,e.supportedJSExtensionsFlat))return!1;var Z=e.removeFileExtension(N),E=e.isArray(U)?void 0:m(U)?U.getProgramOrUndefined():U,I=!E&&!e.isArray(U)?U:void 0;if(b(Z+".ts")||b(Z+".tsx"))return M("Project: ".concat(w," Detected output file: ").concat(B)),!0;return!1;function b(D){return E?!!E.getSourceFileByPath(D):I?I.getState().fileInfos.has(D):!!e.find(U,function(C){return X(C)===D})}}e.isIgnoredFileFromWildCardWatching=g;function m(S){return!!S.getState}function A(S,F){return S?S.isEmittedFile(F):!1}e.isEmittedFileOfProgram=A;var K;(function(S){S[S.None=0]="None",S[S.TriggerOnly=1]="TriggerOnly",S[S.Verbose=2]="Verbose"})(K=e.WatchLogLevel||(e.WatchLogLevel={}));function ae(S,F,B,N){e.setSysLog(F===K.Verbose?B:e.noop);var w={watchFile:function(I,b,D,C){return S.watchFile(I,b,D,C)},watchDirectory:function(I,b,D,C){return S.watchDirectory(I,b,(D&1)!==0,C)}},O=F!==K.None?{watchFile:Z("watchFile"),watchDirectory:Z("watchDirectory")}:void 0,U=F===K.Verbose?{watchFile:X,watchDirectory:G}:O||w,Q=F===K.Verbose?M:e.returnNoopFileWatcher;return{watchFile:ee("watchFile"),watchDirectory:ee("watchDirectory")};function ee(I){return function(b,D,C,_,d,h){var P;return e.matchesExclude(b,I==="watchFile"?_==null?void 0:_.excludeFiles:_==null?void 0:_.excludeDirectories,ne(),((P=S.getCurrentDirectory)===null||P===void 0?void 0:P.call(S))||"")?Q(b,C,_,d,h):U[I].call(void 0,b,D,C,_,d,h)}}function ne(){return typeof S.useCaseSensitiveFileNames=="boolean"?S.useCaseSensitiveFileNames:S.useCaseSensitiveFileNames()}function M(I,b,D,C,_){return B("ExcludeWatcher:: Added:: ".concat(E(I,b,D,C,_,N))),{close:function(){return B("ExcludeWatcher:: Close:: ".concat(E(I,b,D,C,_,N)))}}}function X(I,b,D,C,_,d){B("FileWatcher:: Added:: ".concat(E(I,D,C,_,d,N)));var h=O.watchFile(I,b,D,C,_,d);return{close:function(){B("FileWatcher:: Close:: ".concat(E(I,D,C,_,d,N))),h.close()}}}function G(I,b,D,C,_,d){var h="DirectoryWatcher:: Added:: ".concat(E(I,D,C,_,d,N));B(h);var P=e.timestamp(),te=O.watchDirectory(I,b,D,C,_,d),ce=e.timestamp()-P;return B("Elapsed:: ".concat(ce,"ms ").concat(h)),{close:function(){var q="DirectoryWatcher:: Close:: ".concat(E(I,D,C,_,d,N));B(q);var J=e.timestamp();te.close();var Te=e.timestamp()-J;B("Elapsed:: ".concat(Te,"ms ").concat(q))}}}function Z(I){return function(b,D,C,_,d,h){return w[I].call(void 0,b,function(){for(var P=[],te=0;te=4,Se=(de+1+"").length;Xe&&(Se=Math.max(k.length,Se));for(var Le="",Ye=ve;Ye<=de;Ye++){Le+=Ie.getNewLine(),Xe&&ve+1=e.length(Lt==null?void 0:Lt.imports)+e.length(Lt==null?void 0:Lt.moduleAugmentations))return!1;var fi=e.getResolvedModule(Lt,Ta,Lt&&ne(Lt,Ya)),ci=fi&&Se.getSourceFile(fi.resolvedFileName);if(fi&&ci)return!1;var Si=Me.get(Ta);return Si?(e.isTraceEnabled(De,ur)&&e.trace(ur,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,Ta,Si),!0):!1}}function tt(){return!Z(Se.getProjectReferences(),Se.getResolvedProjectReferences(),function(Pr,$r,Lt){var Kt=($r?$r.commandLine.projectReferences:Xe)[Lt],pn=Ia(Kt);return Pr?!pn||pn.sourceFile!==Pr.sourceFile||!e.arrayIsEqualTo(Pr.commandLine.fileNames,pn.commandLine.fileNames):pn!==void 0},function(Pr,$r){var Lt=$r?is($r.sourceFile.path).commandLine.projectReferences:Xe;return!e.arrayIsEqualTo(Pr,Lt,e.projectReferenceIsEqualTo)})}function xn(){var Pr;if(!Se)return 0;var $r=Se.getCompilerOptions();if(e.changesAffectModuleResolution($r,De))return 0;var Lt=Se.getRootFileNames();if(!e.arrayIsEqualTo(Lt,de)||!tt())return 0;Xe&&(xr=Xe.map(Ia));var Kt=[],pn=[];if(vt=2,Se.getMissingFilePaths().some(function(ll){return ur.fileExists(ll)}))return 0;var fn=Se.getSourceFiles(),kn;(function(ll){ll[ll.Exists=0]="Exists",ll[ll.Modified=1]="Modified"})(kn||(kn={}));for(var zn=new e.Map,Fa=0,ua=fn;Fa=0;){if($r.markUsed(fn))return fn;var kn=Lt.text.slice(pn[fn],pn[fn+1]).trim();if(kn!==""&&!/^(\s*)\/\/(.*)$/.test(kn))return-1;fn--}return-1}function Vn(Pr){return Fo(function(){var $r=[];return Lt(Pr,Pr),e.forEachChildRecursively(Pr,Lt,Kt),$r;function Lt(zn,Fa){switch(Fa.kind){case 163:case 166:case 168:if(Fa.questionToken===zn)return $r.push(kn(zn,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 167:case 170:case 171:case 172:case 212:case 255:case 213:case 253:if(Fa.type===zn)return $r.push(kn(zn,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(zn.kind){case 266:if(zn.isTypeOnly)return $r.push(kn(Fa,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 271:if(zn.isTypeOnly)return $r.push(kn(zn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 264:return $r.push(kn(zn,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 270:if(zn.isExportEquals)return $r.push(kn(zn,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 290:var ua=zn;if(ua.token===117)return $r.push(kn(zn,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 257:var se=e.tokenToString(118);return e.Debug.assertIsDefined(se),$r.push(kn(zn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,se)),"skip";case 260:var er=zn.flags&16?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(er),$r.push(kn(zn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,er)),"skip";case 258:return $r.push(kn(zn,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 259:var Er=e.Debug.checkDefined(e.tokenToString(92));return $r.push(kn(zn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,Er)),"skip";case 229:return $r.push(kn(zn,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 228:return $r.push(kn(zn.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 210:e.Debug.fail()}}function Kt(zn,Fa){switch(Fa.decorators===zn&&!De.experimentalDecorators&&$r.push(kn(Fa,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)),Fa.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(zn===Fa.typeParameters)return $r.push(fn(zn,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 236:if(zn===Fa.modifiers)return pn(Fa.modifiers,Fa.kind===236),"skip";break;case 166:if(zn===Fa.modifiers){for(var ua=0,se=zn;ua=1&&e.isStringLiteralLike(En.arguments[0])?(e.setParentRecursive(En,!1),Kt=e.append(Kt,En.arguments[0])):e.isLiteralImportTypeNode(En)&&(e.setParentRecursive(En,!1),Kt=e.append(Kt,En.argument.literal))}}function Er(ct,jt){for(var En=ct,ha=function(Ta){if(Ta.pos<=jt&&(jt0),Object.defineProperties(kn,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(zn){this.redirectInfo.redirectTarget.id=zn}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(zn){this.redirectInfo.redirectTarget.symbol=zn}}}),kn}function da(Pr,$r,Lt,Kt,pn){e.tracing===null||e.tracing===void 0||e.tracing.push("program","findSourceFile",{fileName:Pr,isDefaultLib:$r||void 0,fileIncludeKind:e.FileIncludeKind[Kt.kind]});var fn=ei(Pr,$r,Lt,Kt,pn);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),fn}function ei(Pr,$r,Lt,Kt,pn){var fn=pt(Pr);if(yt){var kn=Ro(fn);if(!kn&&ur.realpath&&De.preserveSymlinks&&e.isDeclarationFileName(Pr)&&e.stringContains(Pr,e.nodeModulesPathPart)){var zn=pt(ur.realpath(Pr));zn!==fn&&(kn=Ro(zn))}if(kn){var Fa=e.isString(kn)?da(kn,$r,Lt,Kt,pn):void 0;return Fa&&xi(Fa,fn,void 0),Fa}}var ua=Pr;if(Ne.has(fn)){var se=Ne.get(fn);if(bi(se||void 0,Kt),se&&De.forceConsistentCasingInFileNames){var er=se.fileName,Er=pt(er)!==pt(Pr);Er&&(Pr=ka(Pr)||Pr);var ct=e.getNormalizedAbsolutePathWithoutRoot(er,rt),jt=e.getNormalizedAbsolutePathWithoutRoot(Pr,rt);ct!==jt&&bt(Pr,se,Kt)}return se&&Ve.get(se.path)&&pr===0?(Ve.set(se.path,!1),De.noResolve||(pe(se,$r),Mr(se)),De.noLib||Qr(se),kr.set(se.path,!1),Xn(se)):se&&kr.get(se.path)&&pr0),Ta.fileName=Pr,Ta.path=fn,Ta.resolvedPath=pt(Pr),Ta.originalFileName=ua,Ta.impliedNodeFormat=_(Ta.resolvedPath,Fn==null?void 0:Fn.getPackageJsonInfoCache(),ur,De),bi(Ta,Kt),ur.useCaseSensitiveFileNames()){var Si=e.toFileNameLowerCase(fn),Lo=Ze.get(Si);Lo?bt(Pr,Lo,Kt):Ze.set(Si,Ta)}He=He||Ta.hasNoDefaultLib&&!Lt,De.noResolve||(pe(Ta,$r),Mr(Ta)),De.noLib||Qr(Ta),Xn(Ta),$r?Le.push(Ta):Ye.push(Ta)}return Ta}function bi(Pr,$r){Pr&&Hr.add(Pr.path,$r)}function xi(Pr,$r,Lt){Lt?(Ne.set(Lt,Pr),Ne.set($r,Pr||!1)):Ne.set($r,Pr)}function ka(Pr){var $r=_i(Pr);return $r&&Xi($r,Pr)}function _i(Pr){if(!(!xr||!xr.length||e.fileExtensionIs(Pr,".d.ts")||e.fileExtensionIs(Pr,".json")))return Gi(Pr)}function Xi(Pr,$r){var Lt=e.outFile(Pr.commandLine.options);return Lt?e.changeExtension(Lt,".d.ts"):e.getOutputDeclarationFileName($r,Pr.commandLine,!ur.useCaseSensitiveFileNames())}function Gi(Pr){dr===void 0&&(dr=new e.Map,wo(function(Lt){pt(De.configFilePath)!==Lt.sourceFile.path&&Lt.commandLine.fileNames.forEach(function(Kt){return dr.set(pt(Kt),Lt.sourceFile.path)})}));var $r=dr.get(pt(Pr));return $r&&is($r)}function wo(Pr){return e.forEachResolvedProjectReference(xr,Pr)}function Ro(Pr){if(e.isDeclarationFileName(Pr))return et===void 0&&(et=new e.Map,wo(function($r){var Lt=e.outFile($r.commandLine.options);if(Lt){var Kt=e.changeExtension(Lt,".d.ts");et.set(pt(Kt),!0)}else{var pn=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig($r.commandLine,!ur.useCaseSensitiveFileNames())});e.forEach($r.commandLine.fileNames,function(fn){if(!e.fileExtensionIs(fn,".d.ts")&&!e.fileExtensionIs(fn,".json")){var kn=e.getOutputDeclarationFileName(fn,$r.commandLine,!ur.useCaseSensitiveFileNames(),pn);et.set(pt(kn),fn)}})}})),et.get(Pr)}function rs(Pr){return yt&&!!Gi(Pr)}function is(Pr){if(fr)return fr.get(Pr)||void 0}function pe(Pr,$r){e.forEach(Pr.referencedFiles,function(Lt,Kt){Do(c(Lt.fileName,Pr.fileName),$r,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:Pr.path,index:Kt})})}function Mr(Pr){var $r=e.map(Pr.typeReferenceDirectives,function(zn){return e.toFileNameLowerCase(zn.fileName)});if($r)for(var Lt=St($r,Pr),Kt=0;Kt<$r.length;Kt++){var pn=Pr.typeReferenceDirectives[Kt],fn=Lt[Kt],kn=e.toFileNameLowerCase(pn.fileName);e.setResolvedTypeReferenceDirective(Pr,kn,fn),ft(kn,fn,{kind:e.FileIncludeKind.TypeReferenceDirective,file:Pr.path,index:Kt})}}function ft(Pr,$r,Lt){e.tracing===null||e.tracing===void 0||e.tracing.push("program","processTypeReferenceDirective",{directive:Pr,hasResolved:!!It,refKind:Lt.kind,refPath:E(Lt)?Lt.file:void 0}),Zt(Pr,$r,Lt),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function Zt(Pr,$r,Lt){var Kt=fe.get(Pr);if(!(Kt&&Kt.primary)){var pn=!0;if($r){if($r.isExternalLibraryImport&&pr++,$r.primary)Do($r.resolvedFileName,!1,!1,$r.packageId,Lt);else if(Kt){if($r.resolvedFileName!==Kt.resolvedFileName){var fn=ur.readFile($r.resolvedFileName),kn=ko(Kt.resolvedFileName);fn!==kn.text&&Nr(kn,Lt,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[Pr,$r.resolvedFileName,Kt.resolvedFileName])}pn=!1}else Do($r.resolvedFileName,!1,!1,$r.packageId,Lt);$r.isExternalLibraryImport&&pr--}else Nr(void 0,Lt,e.Diagnostics.Cannot_find_type_definition_file_for_0,[Pr]);pn&&fe.set(Pr,$r)}}function Oe(Pr){for(var $r=Pr.split("."),Lt=$r[1],Kt=2;$r[Kt]&&$r[Kt]!=="d";)Lt+=(Kt===2?"/":"-")+$r[Kt],Kt++;var pn=e.combinePaths(rt,"__lib_node_modules_lookup_".concat(Pr,"__.ts")),fn=e.resolveModuleName("@typescript/lib-"+Lt,pn,{moduleResolution:e.ModuleResolutionKind.NodeJs},ur,Fn);return fn!=null&&fn.resolvedModule?fn.resolvedModule.resolvedFileName:e.combinePaths(qr,Pr)}function Qr(Pr){e.forEach(Pr.libReferenceDirectives,function($r,Lt){var Kt=e.toFileNameLowerCase($r.fileName),pn=e.libMap.get(Kt);if(pn)Dt(Oe(pn),!0,!0,{kind:e.FileIncludeKind.LibReferenceDirective,file:Pr.path,index:Lt});else{var fn=e.removeSuffix(e.removePrefix(Kt,"lib."),".d.ts"),kn=e.getSpellingSuggestion(fn,e.libs,e.identity),zn=kn?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;(xe||(xe=[])).push({kind:0,reason:{kind:e.FileIncludeKind.LibReferenceDirective,file:Pr.path,index:Lt},diagnostic:zn,args:[Kt,kn]})}})}function hn(Pr){return ur.getCanonicalFileName(Pr)}function Xn(Pr){var $r;if(xa(Pr),Pr.imports.length||Pr.moduleAugmentations.length){var Lt=Y(Pr),Kt=It(Lt,Pr);e.Debug.assert(Kt.length===Lt.length);for(var pn=(yt?($r=Ut(Pr))===null||$r===void 0?void 0:$r.commandLine.options:void 0)||De,fn=0;fnJe,Er=se&&!R(pn,kn)&&!pn.noResolve&&fn1})&&no(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(De.useDefineForClassFields&&er===0&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),De.checkJs&&!e.getAllowJSCompilerOption(De)&<.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),De.emitDeclarationOnly&&(e.getEmitDeclarations(De)||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),De.noEmit&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),De.emitDecoratorMetadata&&!De.experimentalDecorators&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),De.jsxFactory?(De.reactNamespace&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(De.jsx===4||De.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+De.jsx)),e.parseIsolatedEntityName(De.jsxFactory,er)||Xl("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,De.jsxFactory)):De.reactNamespace&&!e.isIdentifierText(De.reactNamespace,er)&&Xl("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,De.reactNamespace),De.jsxFragmentFactory&&(De.jsxFactory||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(De.jsx===4||De.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+De.jsx)),e.parseIsolatedEntityName(De.jsxFragmentFactory,er)||Xl("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,De.jsxFragmentFactory)),De.reactNamespace&&(De.jsx===4||De.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+De.jsx)),De.jsxImportSource&&De.jsx===2&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+De.jsx)),De.preserveValueImports&&e.getEmitModuleKind(De)er?e.createDiagnosticForNodeInSourceFile(se,Er.elements[er],Pr.kind===e.FileIncludeKind.OutputFromProjectReference?e.Diagnostics.File_is_output_from_referenced_project_specified_here:e.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0;case e.FileIncludeKind.AutomaticTypeDirectiveFile:if(!De.types)return;Kt=uu("types",Pr.typeReference),pn=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(Pr.index!==void 0){Kt=uu("lib",De.lib[Pr.index]),pn=e.Diagnostics.File_is_library_specified_here;break}var ct=e.forEachEntry(e.targetOptionDeclaration.type,function(jt,En){return jt===e.getEmitScriptTarget(De)?En:void 0});Kt=ct?fc("target",ct):void 0,pn=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(Pr)}return Kt&&e.createDiagnosticForNodeInSourceFile(De.configFile,Kt,pn)}}function Pl(){var Pr=De.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(De);Z(Xe,xr,function($r,Lt,Kt){var pn=(Lt?Lt.commandLine.projectReferences:Xe)[Kt],fn=Lt&&Lt.sourceFile;if(!$r){dc(fn,Kt,e.Diagnostics.File_0_not_found,pn.path);return}var kn=$r.commandLine.options;if(!kn.composite||kn.noEmit){var zn=Lt?Lt.commandLine.fileNames:de;zn.length&&(kn.composite||dc(fn,Kt,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,pn.path),kn.noEmit&&dc(fn,Kt,e.Diagnostics.Referenced_project_0_may_not_disable_emit,pn.path))}if(pn.prepend){var Fa=e.outFile(kn);Fa?ur.fileExists(Fa)||dc(fn,Kt,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,Fa,pn.path):dc(fn,Kt,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,pn.path)}!Lt&&Pr&&Pr===e.getTsBuildInfoEmitOutputFilePath(kn)&&(dc(fn,Kt,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Pr,pn.path),yn.set(pt(Pr),!0))})}function xo(Pr,$r,Lt,Kt,pn,fn){for(var kn=!0,zn=ql(),Fa=0,ua=zn;Fa$r&&(lt.add(e.createDiagnosticForNodeInSourceFile(De.configFile,jt.elements[$r],Lt,Kt,pn,fn)),kn=!1)}}kn&<.add(e.createCompilerDiagnostic(Lt,Kt,pn,fn))}function js(Pr,$r,Lt,Kt){for(var pn=!0,fn=ql(),kn=0,zn=fn;kn$r?lt.add(e.createDiagnosticForNodeInSourceFile(Pr||De.configFile,fn.elements[$r],Lt,Kt,pn)):lt.add(e.createCompilerDiagnostic(Lt,Kt,pn))}function Hs(Pr,$r,Lt,Kt,pn,fn,kn){var zn=Ic(),Fa=!zn||!Nc(zn,Pr,$r,Lt,Kt,pn,fn,kn);Fa&<.add(e.createCompilerDiagnostic(Kt,pn,fn,kn))}function Ic(){if(vn===void 0){vn=!1;var Pr=e.getTsConfigObjectLiteralExpression(De.configFile);if(Pr)for(var $r=0,Lt=e.getPropertyAssignment(Pr,"compilerOptions");$r0)for(var _=I.getTypeChecker(),d=0,h=b.imports;d0)for(var q=0,J=b.referencedFiles;q1&&Pe(ke)}return C;function Pe(Fe){if(Fe.declarations)for(var ve=0,ge=Fe.declarations;ve0;){var q=ce.pop();if(!te.has(q)){var J=b.getSourceFileByPath(q);te.set(q,J),J&&N(I,b,J,C,_,d,h)&&ce.push.apply(ce,ee(I,J.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(te.values(),function(Te){return Te}))}}(e.BuilderState||(e.BuilderState={}))})(gr||(gr={}));var gr;(function(e){(function(_){_[_.DtsOnly=0]="DtsOnly",_[_.Full=1]="Full"})(e.BuilderFileEmit||(e.BuilderFileEmit={}));function n(_,d){return _===d||_!==void 0&&d!==void 0&&_.size===d.size&&!e.forEachKey(_,function(h){return!d.has(h)})}function c(_,d,h,P){var te=e.BuilderState.create(_,d,h,P);te.program=_;var ce=_.getCompilerOptions();te.compilerOptions=ce,e.outFile(ce)||(te.semanticDiagnosticsPerFile=new e.Map),te.changedFilesSet=new e.Set;var q=e.BuilderState.canReuseOldState(te.referencedMap,h),J=q?h.compilerOptions:void 0,Te=q&&h.semanticDiagnosticsPerFile&&!!te.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(ce,J);if(q){if(!h.currentChangedFilePath){var Ae=h.currentAffectedFilesSignatures;e.Debug.assert(!h.affectedFiles&&(!Ae||!Ae.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var R=h.changedFilesSet;Te&&e.Debug.assert(!R||!e.forEachKey(R,function(_e){return h.semanticDiagnosticsPerFile.has(_e)}),"Semantic diagnostics shouldnt be available for changed files"),R==null||R.forEach(function(_e){return te.changedFilesSet.add(_e)}),!e.outFile(ce)&&h.affectedFilesPendingEmit&&(te.affectedFilesPendingEmit=h.affectedFilesPendingEmit.slice(),te.affectedFilesPendingEmitKind=h.affectedFilesPendingEmitKind&&new e.Map(h.affectedFilesPendingEmitKind),te.affectedFilesPendingEmitIndex=h.affectedFilesPendingEmitIndex,te.seenAffectedFiles=new e.Set)}var Y=te.referencedMap,j=q?h.referencedMap:void 0,z=Te&&!ce.skipLibCheck==!J.skipLibCheck,Ee=z&&!ce.skipDefaultLibCheck==!J.skipDefaultLibCheck;return te.fileInfos.forEach(function(_e,ke){var Pe,Ie;if(!q||!(Pe=h.fileInfos.get(ke))||Pe.version!==_e.version||!n(Ie=Y&&Y.getValues(ke),j&&j.getValues(ke))||Ie&&e.forEachKey(Ie,function(ge){return!te.fileInfos.has(ge)&&h.fileInfos.has(ge)}))te.changedFilesSet.add(ke);else if(Te){var Fe=_.getSourceFileByPath(ke);if(Fe.isDeclarationFile&&!z||Fe.hasNoDefaultLib&&!Ee)return;var ve=h.semanticDiagnosticsPerFile.get(ke);ve&&(te.semanticDiagnosticsPerFile.set(ke,h.hasReusableDiagnostic?f(ve,_,d):ve),te.semanticDiagnosticsFromOldState||(te.semanticDiagnosticsFromOldState=new e.Set),te.semanticDiagnosticsFromOldState.add(ke))}}),q&&e.forEachEntry(h.fileInfos,function(_e,ke){return _e.affectsGlobalScope&&!te.fileInfos.has(ke)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(te,_,void 0).forEach(function(_e){return te.changedFilesSet.add(_e.resolvedPath)}):J&&!e.outFile(ce)&&e.compilerOptionsAffectEmit(ce,J)&&(_.getSourceFiles().forEach(function(_e){return I(te,_e.resolvedPath,1)}),e.Debug.assert(!te.seenAffectedFiles||!te.seenAffectedFiles.size),te.seenAffectedFiles=te.seenAffectedFiles||new e.Set),q&&e.forEachEntry(h.fileInfos,function(_e,ke){te.fileInfos.has(ke)&&te.fileInfos.get(ke).impliedFormat!==_e.impliedFormat&&te.changedFilesSet.add(ke)}),te.buildInfoEmitPending=!!te.changedFilesSet.size,te}function f(_,d,h){if(!_.length)return e.emptyArray;var P=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(d.getCompilerOptions()),d.getCurrentDirectory()));return _.map(function(ce){var q=a(ce,d,te);q.reportsUnnecessary=ce.reportsUnnecessary,q.reportsDeprecated=ce.reportDeprecated,q.source=ce.source,q.skippedOn=ce.skippedOn;var J=ce.relatedInformation;return q.relatedInformation=J?J.length?J.map(function(Te){return a(Te,d,te)}):[]:void 0,q});function te(ce){return e.toPath(ce,P,h)}}function a(_,d,h){var P=_.file;return On(On({},_),{file:P?d.getSourceFileByPath(h(P)):void 0})}function p(_){e.BuilderState.releaseCache(_),_.program=void 0}function x(_){var d,h=e.BuilderState.clone(_);return h.semanticDiagnosticsPerFile=_.semanticDiagnosticsPerFile&&new e.Map(_.semanticDiagnosticsPerFile),h.changedFilesSet=new e.Set(_.changedFilesSet),h.affectedFiles=_.affectedFiles,h.affectedFilesIndex=_.affectedFilesIndex,h.currentChangedFilePath=_.currentChangedFilePath,h.currentAffectedFilesSignatures=_.currentAffectedFilesSignatures&&new e.Map(_.currentAffectedFilesSignatures),h.currentAffectedFilesExportedModulesMap=(d=_.currentAffectedFilesExportedModulesMap)===null||d===void 0?void 0:d.clone(),h.seenAffectedFiles=_.seenAffectedFiles&&new e.Set(_.seenAffectedFiles),h.cleanedDiagnosticsOfLibFiles=_.cleanedDiagnosticsOfLibFiles,h.semanticDiagnosticsFromOldState=_.semanticDiagnosticsFromOldState&&new e.Set(_.semanticDiagnosticsFromOldState),h.program=_.program,h.compilerOptions=_.compilerOptions,h.affectedFilesPendingEmit=_.affectedFilesPendingEmit&&_.affectedFilesPendingEmit.slice(),h.affectedFilesPendingEmitKind=_.affectedFilesPendingEmitKind&&new e.Map(_.affectedFilesPendingEmitKind),h.affectedFilesPendingEmitIndex=_.affectedFilesPendingEmitIndex,h.seenEmittedFiles=_.seenEmittedFiles&&new e.Map(_.seenEmittedFiles),h.programEmitComplete=_.programEmitComplete,h}function V(_,d){e.Debug.assert(!d||!_.affectedFiles||_.affectedFiles[_.affectedFilesIndex-1]!==d||!_.semanticDiagnosticsPerFile.has(d.resolvedPath))}function g(_,d,h){for(;;){var P=_.affectedFiles;if(P){for(var te=_.seenAffectedFiles,ce=_.affectedFilesIndex;ce0;){var J=q.pop();if(!ce.has(J)&&(ce.set(J,!0),h(_,J),y(_,J))){var Te=e.Debug.checkDefined(_.program).getSourceFileByPath(J);q.push.apply(q,e.BuilderState.getReferencedByPaths(_,Te.resolvedPath))}}}e.Debug.assert(!!_.currentAffectedFilesExportedModulesMap);var Ae=new e.Set;(P=_.currentAffectedFilesExportedModulesMap.getKeys(d.resolvedPath))===null||P===void 0||P.forEach(function(R){return S(_,R,Ae,h)}),(te=_.exportedModulesMap.getKeys(d.resolvedPath))===null||te===void 0||te.forEach(function(R){var Y;return!_.currentAffectedFilesExportedModulesMap.hasKey(R)&&!(!((Y=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Y===void 0)&&Y.has(R))&&S(_,R,Ae,h)})}}function S(_,d,h,P){var te;(te=_.referencedMap.getKeys(d))===null||te===void 0||te.forEach(function(ce){return F(_,ce,h,P)})}function F(_,d,h,P){var te,ce,q;e.tryAddToSet(h,d)&&(P(_,d),e.Debug.assert(!!_.currentAffectedFilesExportedModulesMap),(te=_.currentAffectedFilesExportedModulesMap.getKeys(d))===null||te===void 0||te.forEach(function(J){return F(_,J,h,P)}),(ce=_.exportedModulesMap.getKeys(d))===null||ce===void 0||ce.forEach(function(J){var Te;return!_.currentAffectedFilesExportedModulesMap.hasKey(J)&&!(!((Te=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Te===void 0)&&Te.has(J))&&F(_,J,h,P)}),(q=_.referencedMap.getKeys(d))===null||q===void 0||q.forEach(function(J){return!h.has(J)&&P(_,J)}))}function B(_,d,h,P,te){te?_.buildInfoEmitPending=!1:d===_.program?(_.changedFilesSet.clear(),_.programEmitComplete=!0):(_.seenAffectedFiles.add(d.resolvedPath),h!==void 0&&(_.seenEmittedFiles||(_.seenEmittedFiles=new e.Map)).set(d.resolvedPath,h),P?(_.affectedFilesPendingEmitIndex++,_.buildInfoEmitPending=!0):_.affectedFilesIndex++)}function N(_,d,h){return B(_,h),{result:d,affected:h}}function w(_,d,h,P,te,ce){return B(_,h,P,te,ce),{result:d,affected:h}}function O(_,d,h){return e.concatenate(U(_,d,h),e.Debug.checkDefined(_.program).getProgramDiagnostics(d))}function U(_,d,h){var P=d.resolvedPath;if(_.semanticDiagnosticsPerFile){var te=_.semanticDiagnosticsPerFile.get(P);if(te)return e.filterSemanticDiagnostics(te,_.compilerOptions)}var ce=e.Debug.checkDefined(_.program).getBindAndCheckDiagnostics(d,h);return _.semanticDiagnosticsPerFile&&_.semanticDiagnosticsPerFile.set(P,ce),e.filterSemanticDiagnostics(ce,_.compilerOptions)}function Q(_,d){if(e.outFile(_.compilerOptions))return;var h=e.Debug.checkDefined(_.program).getCurrentDirectory(),P=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(_.compilerOptions),h)),te=[],ce=new e.Map,q,J,Te=e.arrayFrom(_.fileInfos.entries(),function(qe){var Xe=qe[0],Se=qe[1],Le=de(Xe);e.Debug.assert(te[Le-1]===Be(Xe));var Ye=_.currentAffectedFilesSignatures&&_.currentAffectedFilesSignatures.get(Xe),Dr=Ye??Se.signature;return Se.version===Dr?Se.affectsGlobalScope?{version:Se.version,signature:void 0,affectsGlobalScope:!0,impliedFormat:Se.impliedFormat}:Se.version:Dr!==void 0?Ye===void 0?Se:{version:Se.version,signature:Ye,affectsGlobalScope:Se.affectsGlobalScope,impliedFormat:Se.impliedFormat}:{version:Se.version,signature:!1,affectsGlobalScope:Se.affectsGlobalScope,impliedFormat:Se.impliedFormat}}),Ae;_.referencedMap&&(Ae=e.arrayFrom(_.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(qe){return[de(qe),De(_.referencedMap.getValues(qe))]}));var R;_.exportedModulesMap&&(R=e.mapDefined(e.arrayFrom(_.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(qe){var Xe;if(_.currentAffectedFilesExportedModulesMap){if(!((Xe=_.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Xe===void 0)&&Xe.has(qe))return;var Se=_.currentAffectedFilesExportedModulesMap.getValues(qe);if(Se)return[de(qe),De(Se)]}return[de(qe),De(_.exportedModulesMap.getValues(qe))]}));var Y;if(_.semanticDiagnosticsPerFile)for(var j=0,z=e.arrayFrom(_.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);j1||p.charCodeAt(0)!==47;if(m&&p.search(/[a-zA-Z]:/)!==0&&g.search(/[a-zA-z]\$\//)===0){if(V=p.indexOf(e.directorySeparator,V+1),V===-1)return!1;g=p.substring(x+g.length,V+1)}if(m&&g.search(/users\//i)!==0)return!0;for(var A=V+1,K=2;K>0;K--)if(A=p.indexOf(e.directorySeparator,A)+1,A===0)return!1;return!0}e.canWatchDirectory=c;function f(p,x,V){var g,m,A,K=e.createMultiMap(),ae=[],y=e.createMultiMap(),k=!1,S,F,B,N=e.memoize(function(){return p.getCurrentDirectory()}),w=p.getCachedDirectoryStructureHost(),O=new e.Map,U=e.createCacheWithRedirects(),Q=e.createCacheWithRedirects(),ee=e.createModuleResolutionCache(N(),p.getCanonicalFileName,void 0,U,Q),ne=new e.Map,M=e.createCacheWithRedirects(),X=e.createTypeReferenceDirectiveResolutionCache(N(),p.getCanonicalFileName,void 0,ee.getPackageJsonInfoCache(),M),G=[".ts",".tsx",".js",".jsx",".json"],Z=new e.Map,E=new e.Map,I=x&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(x,N())),b=I&&p.toPath(I),D=b!==void 0?b.split(e.directorySeparator).length:0,C=new e.Map;return{getModuleResolutionCache:function(){return ee},startRecordingFilesWithChangedResolutions:te,finishRecordingFilesWithChangedResolutions:ce,startCachingPerDirectoryResolution:Te,finishCachingPerDirectoryResolution:Ae,resolveModuleNames:Ee,getResolvedModuleWithFailedLookupLocationsFromCache:_e,resolveTypeReferenceDirectives:z,removeResolutionsFromProjectReferenceRedirects:Le,removeResolutionsOfFile:Ye,hasChangedAutomaticTypeDirectiveNames:function(){return k},invalidateResolutionOfFile:br,invalidateResolutionsOfFailedLookupLocations:Rr,setFilesWithInvalidatedNonRelativeUnresolvedImports:or,createHasInvalidatedResolution:J,isFileWithInvalidatedNonRelativeUnresolvedImports:q,updateTypeRootsWatch:vr,closeTypeRootsWatch:Me,clear:P};function _(xe){return xe.resolvedModule}function d(xe){return xe.resolvedTypeReferenceDirective}function h(xe,Je){return xe===void 0||Je.length<=xe.length?!1:e.startsWith(Je,xe)&&Je[xe.length]===e.directorySeparator}function P(){e.clearMap(E,e.closeFileWatcherOf),Z.clear(),K.clear(),Me(),O.clear(),ne.clear(),y.clear(),ae.length=0,S=void 0,F=void 0,B=void 0,Te(),k=!1}function te(){g=[]}function ce(){var xe=g;return g=void 0,xe}function q(xe){if(!A)return!1;var Je=A.get(xe);return!!Je&&!!Je.length}function J(xe){if(Rr(),xe)return m=void 0,e.returnTrue;var Je=m;return m=void 0,function(pr){return!!Je&&Je.has(pr)||q(pr)}}function Te(){ee.clear(),X.clear(),K.forEach(Be),K.clear()}function Ae(){A=void 0,Te(),E.forEach(function(xe,Je){xe.refCount===0&&(E.delete(Je),xe.watcher.close())}),k=!1}function R(xe,Je,pr,kr,Ve){var ur,Wr=e.resolveModuleName(xe,Je,pr,kr,ee,Ve);if(!p.getGlobalCache)return Wr;var He=p.getGlobalCache();if(He!==void 0&&!e.isExternalModuleNameRelative(xe)&&!(Wr.resolvedModule&&e.extensionIsTS(Wr.resolvedModule.extension))){var Lr=e.loadModuleFromGlobalCache(e.Debug.checkDefined(p.globalCacheResolutionModuleName)(xe),p.projectName,pr,kr,He,ee),qr=Lr.resolvedModule,lt=Lr.failedLookupLocations;if(qr)return Wr.resolvedModule=qr,(ur=Wr.failedLookupLocations).push.apply(ur,lt),Wr}return Wr}function Y(xe,Je,pr,kr,Ve){return e.resolveTypeReferenceDirective(xe,Je,pr,kr,Ve,X)}function j(xe){var Je,pr,kr,Ve=xe.names,ur=xe.containingFile,Wr=xe.redirectedReference,He=xe.cache,Lr=xe.perDirectoryCacheWithRedirects,qr=xe.loader,lt=xe.getResolutionWithResolvedFileName,rt=xe.shouldRetryResolution,Rt=xe.reusedNames,an=xe.logChanges,yn=xe.containingSourceFile,vn=p.toPath(ur),Fn=He.get(vn)||He.set(vn,e.createModeAwareCache()).get(vn),ar=e.getDirectoryPath(vn),wr=Lr.getOrCreateMapOfCacheRedirects(Wr),sr=wr.get(ar);sr||(sr=e.createModeAwareCache(),wr.set(ar,sr));for(var he=[],ir=p.getCompilationSettings(),ue=an&&q(vn),je=p.getCurrentProgram(),be=je&&je.getResolvedProjectReferenceToRedirect(ur),We=be?!Wr||Wr.sourceFile.path!==be.sourceFile.path:!!Wr,$=e.createModeAwareCache(),Ne=0,me=0,Ze=Ve;meD+1?{dir:kr.slice(0,D+1).join(e.directorySeparator),dirPath:pr.slice(0,D+1).join(e.directorySeparator)}:{dir:I,dirPath:b,nonRecursive:!1}}return Ie(e.getDirectoryPath(e.getNormalizedAbsolutePath(xe,N())),e.getDirectoryPath(Je))}function Ie(xe,Je){for(;e.pathContainsNodeModules(Je);)xe=e.getDirectoryPath(xe),Je=e.getDirectoryPath(Je);if(e.isNodeModulesDirectory(Je))return c(e.getDirectoryPath(Je))?{dir:xe,dirPath:Je}:void 0;var pr=!0,kr,Ve;if(b!==void 0)for(;!h(Je,b);){var ur=e.getDirectoryPath(Je);if(ur===Je)break;pr=!1,kr=Je,Ve=xe,Je=ur,xe=e.getDirectoryPath(xe)}return c(Je)?{dir:Ve||xe,dirPath:kr||Je,nonRecursive:pr}:void 0}function Fe(xe){return e.fileExtensionIsOneOf(xe,G)}function ve(xe,Je,pr,kr){if(Je.refCount)Je.refCount++,e.Debug.assertDefined(Je.files);else{Je.refCount=1,e.Debug.assert(e.length(Je.files)===0),e.isExternalModuleNameRelative(xe)?ge(Je):K.add(xe,Je);var Ve=kr(Je);Ve&&Ve.resolvedFileName&&y.add(p.toPath(Ve.resolvedFileName),Je)}(Je.files||(Je.files=[])).push(pr)}function ge(xe){e.Debug.assert(!!xe.refCount);var Je=xe.failedLookupLocations;if(Je.length){ae.push(xe);for(var pr=!1,kr=0,Ve=Je;kr1),Z.set(qr,Rt-1))),rt===b?ur=!0:qe(rt)}}ur&&qe(b)}}}function qe(xe){var Je=E.get(xe);Je.refCount--}function Xe(xe,Je,pr){return p.watchDirectoryOfFailedLookupLocation(xe,function(kr){var Ve=p.toPath(kr);w&&w.addOrDeleteFileOrDirectory(kr,Ve),Cr(Ve,Je===Ve)},pr?0:1)}function Se(xe,Je,pr){var kr=xe.get(Je);kr&&(kr.forEach(function(Ve){return De(Ve,Je,pr)}),xe.delete(Je))}function Le(xe){if(e.fileExtensionIs(xe,".json")){var Je=p.getCurrentProgram();if(Je){var pr=Je.getResolvedProjectReferenceByPath(xe);pr&&pr.commandLine.fileNames.forEach(function(kr){return Ye(p.toPath(kr))})}}}function Ye(xe){Se(O,xe,_),Se(ne,xe,d)}function Dr(xe,Je){if(!xe)return!1;for(var pr=!1,kr=0,Ve=xe;kr1&&Fe.sort(U),Y.push.apply(Y,Fe));var ve=e.getDirectoryPath(Pe);if(ve===Pe)return z=Pe,"break";Pe=ve,z=Pe},z,Ee=e.getDirectoryPath(q);R.size!==0;){var _e=j(Ee);if(Ee=z,_e==="break")break}if(R.size){var ke=e.arrayFrom(R.values());ke.length>1&&ke.sort(U),Y.push.apply(Y,ke)}return Y}function X(q,J){var Te,Ae=(Te=q.declarations)===null||Te===void 0?void 0:Te.find(function(j){return e.isNonGlobalAmbientModule(j)&&(!e.isExternalModuleAugmentation(j)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(j.name)))});if(Ae)return Ae.name.text;var R=e.mapDefined(q.declarations,function(j){var z,Ee,_e,ke;if(!e.isModuleDeclaration(j))return;var Pe=ge(j);if(!(!((z=Pe==null?void 0:Pe.parent)===null||z===void 0)&&z.parent&&e.isModuleBlock(Pe.parent)&&e.isAmbientModule(Pe.parent.parent)&&e.isSourceFile(Pe.parent.parent.parent)))return;var Ie=(ke=(_e=(Ee=Pe.parent.parent.symbol.exports)===null||Ee===void 0?void 0:Ee.get("export="))===null||_e===void 0?void 0:_e.valueDeclaration)===null||ke===void 0?void 0:ke.expression;if(!Ie)return;var Fe=J.getSymbolAtLocation(Ie);if(!Fe)return;var ve=(Fe==null?void 0:Fe.flags)&2097152?J.getAliasedSymbol(Fe):Fe;if(ve===j.symbol)return Pe.parent.parent;function ge(Be){for(;Be.flags&4;)Be=Be.parent;return Be}}),Y=R[0];if(Y)return Y.name.text}function G(q,J,Te){for(var Ae in Te)for(var R=0,Y=Te[Ae];R=_e.length+ke.length&&e.startsWith(J,_e)&&e.endsWith(J,ke)||!ke&&J===e.removeTrailingDirectorySeparator(_e)){var Pe=J.substr(_e.length,J.length-ke.length-_e.length);return Ae.replace("*",Pe)}}else if(z===J||z===q)return Ae}}var Z;(function(q){q[q.Exact=0]="Exact",q[q.Directory=1]="Directory",q[q.Pattern=2]="Pattern"})(Z||(Z={}));function E(q,J,Te,Ae,R,Y,j){if(j===void 0&&(j=0),typeof R=="string"){var z=e.getNormalizedAbsolutePath(e.combinePaths(Te,R),void 0),Ee=e.hasTSFileExtension(J)?e.removeFileExtension(J)+P(J,q):void 0;switch(j){case 0:if(e.comparePaths(J,z)===0||Ee&&e.comparePaths(Ee,z)===0)return{moduleFileToTry:Ae};break;case 1:if(e.containsPath(z,J)){var _e=e.getRelativePathFromDirectory(z,J,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(Ae,R),_e),void 0)}}break;case 2:var ke=z.indexOf("*"),Pe=z.slice(0,ke),Ie=z.slice(ke+1);if(e.startsWith(J,Pe)&&e.endsWith(J,Ie)){var Fe=J.slice(Pe.length,J.length-Ie.length);return{moduleFileToTry:Ae.replace("*",Fe)}}if(Ee&&e.startsWith(Ee,Pe)&&e.endsWith(Ee,Ie)){var Fe=Ee.slice(Pe.length,Ee.length-Ie.length);return{moduleFileToTry:Ae.replace("*",Fe)}}break}}else{if(Array.isArray(R))return e.forEach(R,function(qe){return E(q,J,Te,Ae,qe,Y)});if(typeof R=="object"&&R!==null){if(e.allKeysStartWithDot(R))return e.forEach(e.getOwnKeys(R),function(qe){var Xe=e.getNormalizedAbsolutePath(e.combinePaths(Ae,qe),void 0),Se=e.endsWith(qe,"/")?1:e.stringContains(qe,"*")?2:0;return E(q,J,Te,Xe,R[qe],Y,Se)});for(var ve=0,ge=e.getOwnKeys(R);ve=0||e.isApplicableVersionedTypesKey(Y,Be)){var de=R[Be],De=E(q,J,Te,Ae,de,Y);if(De)return De}}}}}function I(q,J,Te,Ae,R,Y){var j=_(J,q,Ae);if(j!==void 0){var z=_(Te,q,Ae),Ee=z!==void 0?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(z,j,Ae)):j;return e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.NodeJs?d(Ee,R,Y):e.removeFileExtension(Ee)}}function b(q,J,Te,Ae,R){var Y=q.path,j=q.isRedirect,z=J.getCanonicalFileName,Ee=J.sourceDirectory;if(!Te.fileExists||!Te.readFile)return;var _e=C(Y);if(!_e)return;var ke=Y,Pe=!1;if(!R)for(var Ie=_e.packageRootIndex,Fe=void 0;;){var ve=Ye(Ie),ge=ve.moduleFileToTry,Be=ve.packageRootPath,de=ve.blockedByExports,De=ve.verbatimFromExports;if(e.getEmitModuleResolutionKind(Ae)!==e.ModuleResolutionKind.Classic){if(de)return;if(De)return ge}if(Be){ke=Be,Pe=!0;break}if(Fe||(Fe=ge),Ie=Y.indexOf(e.directorySeparator,Ie+1),Ie===-1){ke=Dr(Fe);break}}if(j&&!Pe)return;var qe=Te.getGlobalTypingsCacheLocation&&Te.getGlobalTypingsCacheLocation(),Xe=z(ke.substring(0,_e.topLevelNodeModulesIndex));if(!(e.startsWith(Ee,Xe)||qe&&e.startsWith(z(qe),Xe)))return;var Se=ke.substring(_e.topLevelPackageNameIndex+1),Le=e.getPackageNameFromTypesPackageName(Se);return e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.Classic&&Le===Se?void 0:Le;function Ye(br){var or=Y.substring(0,br),Cr=e.combinePaths(or,"package.json"),Rr=Y;if(Te.fileExists(Cr)){var Ke=JSON.parse(Te.readFile(Cr));if(e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Ae)===e.ModuleResolutionKind.NodeNext){var Me=Ke.exports&&typeof Ke.name=="string"?E(Ae,Y,or,Ke.name,Ke.exports,["node","types"]):void 0;if(Me){var Hr=e.hasTSFileExtension(Me.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(Me.moduleFileToTry)+P(Me.moduleFileToTry,Ae)}:Me;return On(On({},Hr),{verbatimFromExports:!0})}if(Ke.exports)return{moduleFileToTry:Y,blockedByExports:!0}}var cr=Ke.typesVersions?e.getPackageJsonTypesVersionsPaths(Ke.typesVersions):void 0;if(cr){var vr=Y.slice(or.length+1),fe=G(e.removeFileExtension(vr),d(vr,0,Ae),cr.paths);fe!==void 0&&(Rr=e.combinePaths(or,fe))}var xe=Ke.typings||Ke.types||Ke.main;if(e.isString(xe)){var Je=e.toPath(xe,or,z);if(e.removeFileExtension(Je)===e.removeFileExtension(z(Rr)))return{packageRootPath:or,moduleFileToTry:Rr}}}return{moduleFileToTry:Rr}}function Dr(br){var or=e.removeFileExtension(br);return z(or.substring(_e.fileNameIndex))==="/index"&&!D(Te,or.substring(0,_e.fileNameIndex))?or.substring(0,_e.fileNameIndex):or}}function D(q,J){if(q.fileExists)for(var Te=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}])),Ae=0,R=Te;Ae=0;)switch(j=z,z=q.indexOf("/",j+1),Ee){case 0:q.indexOf(e.nodeModulesPathPart,j)===j&&(J=j,Te=z,Ee=1);break;case 1:case 2:Ee===1&&q.charAt(j+1)==="@"?Ee=2:(Ae=z,Ee=3);break;case 3:q.indexOf(e.nodeModulesPathPart,j)===j?Ee=1:Ee=3;break}return R=j,Ee>1?{topLevelNodeModulesIndex:J,topLevelPackageNameIndex:Te,packageRootIndex:Ae,fileNameIndex:R}:void 0}function _(q,J,Te){return e.firstDefined(J,function(Ae){var R=te(q,Ae,Te);return ce(R)?void 0:R})}function d(q,J,Te){if(e.fileExtensionIsOneOf(q,[".json",".mjs",".cjs"]))return q;var Ae=e.removeFileExtension(q);if(e.fileExtensionIsOneOf(q,[".d.mts",".mts",".d.cts",".cts"]))return Ae+h(q,Te);switch(J){case 0:return e.removeSuffix(Ae,"/index");case 1:return Ae;case 2:return Ae+h(q,Te);default:return e.Debug.assertNever(J)}}function h(q,J){var Te;return(Te=P(q,J))!==null&&Te!==void 0?Te:e.Debug.fail("Extension ".concat(e.extensionFromPath(q)," is unsupported:: FileName:: ").concat(q))}function P(q,J){var Te=e.tryGetExtensionFromPath(q);switch(Te){case".ts":case".d.ts":return".js";case".tsx":return J.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return Te;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}n.tryGetJSExtensionForFile=P;function te(q,J,Te){var Ae=e.getRelativePathToDirectoryOrUrl(J,q,J,Te,!1);return e.isRootedDiskPath(Ae)?void 0:Ae}function ce(q){return e.startsWith(q,"..")}})(e.moduleSpecifiers||(e.moduleSpecifiers={}))})(gr||(gr={}));var gr;(function(e){var n=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function c(b,D){var C=b===e.sys&&n?n:{getCurrentDirectory:function(){return b.getCurrentDirectory()},getNewLine:function(){return b.newLine},getCanonicalFileName:e.createGetCanonicalFileName(b.useCaseSensitiveFileNames)};if(!D)return function(d){return b.write(e.formatDiagnostic(d,C))};var _=new Array(1);return function(d){_[0]=d,b.write(e.formatDiagnosticsWithColorAndContext(_,C)+C.getNewLine()),_[0]=void 0}}e.createDiagnosticReporter=c;function f(b,D,C){return b.clearScreen&&!C.preserveWatchOutput&&!C.extendedDiagnostics&&!C.diagnostics&&e.contains(e.screenStartingMessageCodes,D.code)?(b.clearScreen(),!0):!1}e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function a(b,D){return e.contains(e.screenStartingMessageCodes,b.code)?D+D:D}function p(b){return b.now?b.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):new Date().toLocaleTimeString()}e.getLocaleTimeString=p;function x(b,D){return D?function(C,_,d){f(b,C,d);var h="[".concat(e.formatColorAndReset(p(b),e.ForegroundColorEscapeSequences.Grey),"] ");h+="".concat(e.flattenDiagnosticMessageText(C.messageText,b.newLine)).concat(_+_),b.write(h)}:function(C,_,d){var h="";f(b,C,d)||(h+=_),h+="".concat(p(b)," - "),h+="".concat(e.flattenDiagnosticMessageText(C.messageText,b.newLine)).concat(a(C,_)),b.write(h)}}e.createWatchStatusReporter=x;function V(b,D,C,_,d,h){var P=d;P.onUnRecoverableConfigFileDiagnostic=function(ce){return G(d,h,ce)};var te=e.getParsedCommandLineOfConfigFile(b,D,P,C,_);return P.onUnRecoverableConfigFileDiagnostic=void 0,te}e.parseConfigFileWithSystem=V;function g(b){return e.countWhere(b,function(D){return D.category===e.DiagnosticCategory.Error})}e.getErrorCountForSummary=g;function m(b){return b===1?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}e.getWatchErrorSummaryDiagnosticMessage=m;function A(b,D){if(b===0)return"";var C=e.createCompilerDiagnostic(b===1?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,b);return"".concat(D).concat(e.flattenDiagnosticMessageText(C.messageText,D)).concat(D).concat(D)}e.getErrorSummaryText=A;function K(b){return!!b.getState}e.isBuilderProgram=K;function ae(b,D){var C=b.getCompilerOptions();C.explainFiles?y(K(b)?b.getProgram():b,D):(C.listFiles||C.listFilesOnly)&&e.forEach(b.getSourceFiles(),function(_){D(_.fileName)})}e.listFiles=ae;function y(b,D){for(var C,_,d=b.getFileIncludeReasons(),h=e.createGetCanonicalFileName(b.useCaseSensitiveFileNames()),P=function(J){return e.convertToRelativePath(J,b.getCurrentDirectory(),h)},te=0,ce=b.getSourceFiles();te0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:J.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=O,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function U(b,D){b===void 0&&(b=e.sys);var C=D||x(b);return{onWatchStatusChange:C,watchFile:e.maybeBind(b,b.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(b,b.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(b,b.setTimeout)||e.noop,clearTimeout:e.maybeBind(b,b.clearTimeout)||e.noop}}e.createWatchHost=U,e.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"};function Q(b,D){var C=b.trace?D.extendedDiagnostics?e.WatchLogLevel.Verbose:D.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,_=C!==e.WatchLogLevel.None?function(h){return b.trace(h)}:e.noop,d=e.getWatchFactory(b,C,_);return d.writeLog=_,d}e.createWatchFactory=Q;function ee(b,D,C){C===void 0&&(C=b);var _=b.useCaseSensitiveFileNames(),d=e.memoize(function(){return b.getNewLine()});return{getSourceFile:function(P,te,ce){var q;try{e.performance.mark("beforeIORead"),q=b.readFile(P,D().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(J){ce&&ce(J.message),q=""}return q!==void 0?e.createSourceFile(P,q,te):void 0},getDefaultLibLocation:e.maybeBind(b,b.getDefaultLibLocation),getDefaultLibFileName:function(P){return b.getDefaultLibFileName(P)},writeFile:h,getCurrentDirectory:e.memoize(function(){return b.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return _},getCanonicalFileName:e.createGetCanonicalFileName(_),getNewLine:function(){return e.getNewLineCharacter(D(),d)},fileExists:function(P){return b.fileExists(P)},readFile:function(P){return b.readFile(P)},trace:e.maybeBind(b,b.trace),directoryExists:e.maybeBind(C,C.directoryExists),getDirectories:e.maybeBind(C,C.getDirectories),realpath:e.maybeBind(b,b.realpath),getEnvironmentVariable:e.maybeBind(b,b.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(b,b.createHash),readDirectory:e.maybeBind(b,b.readDirectory),disableUseFileVersionAsSignature:b.disableUseFileVersionAsSignature};function h(P,te,ce,q){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(P,te,ce,function(J,Te,Ae){return b.writeFile(J,Te,Ae)},function(J){return b.createDirectory(J)},function(J){return b.directoryExists(J)}),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(J){q&&q(J.message)}}}e.createCompilerHostFromProgramHost=ee;function ne(b,D){var C=b.getSourceFile,_=e.maybeBind(D,D.createHash)||e.generateDjb2Hash;b.getSourceFile=function(){for(var d=[],h=0;hfe?xe:fe}function V(fe){return e.fileExtensionIs(fe,".d.ts")}function g(fe){return!!fe&&!!fe.buildOrder}e.isCircularBuildOrder=g;function m(fe){return g(fe)?fe.buildOrder:fe}e.getBuildOrderFromAnyBuildOrder=m;function A(fe,xe){return function(Je){var pr=xe?"[".concat(e.formatColorAndReset(e.getLocaleTimeString(fe),e.ForegroundColorEscapeSequences.Grey),"] "):"".concat(e.getLocaleTimeString(fe)," - ");pr+="".concat(e.flattenDiagnosticMessageText(Je.messageText,fe.newLine)).concat(fe.newLine+fe.newLine),fe.write(pr)}}e.createBuilderStatusReporter=A;function K(fe,xe,Je,pr){var kr=e.createProgramHost(fe,xe);return kr.getModifiedTime=fe.getModifiedTime?function(Ve){return fe.getModifiedTime(Ve)}:e.returnUndefined,kr.setModifiedTime=fe.setModifiedTime?function(Ve,ur){return fe.setModifiedTime(Ve,ur)}:e.noop,kr.deleteFile=fe.deleteFile?function(Ve){return fe.deleteFile(Ve)}:e.noop,kr.reportDiagnostic=Je||e.createDiagnosticReporter(fe),kr.reportSolutionBuilderStatus=pr||A(fe),kr.now=e.maybeBind(fe,fe.now),kr}function ae(fe,xe,Je,pr,kr){fe===void 0&&(fe=e.sys);var Ve=K(fe,xe,Je,pr);return Ve.reportErrorSummary=kr,Ve}e.createSolutionBuilderHost=ae;function y(fe,xe,Je,pr,kr){fe===void 0&&(fe=e.sys);var Ve=K(fe,xe,Je,pr),ur=e.createWatchHost(fe,kr);return e.copyProperties(Ve,ur),Ve}e.createSolutionBuilderWithWatchHost=y;function k(fe){var xe={};return e.commonOptionsWithBuild.forEach(function(Je){e.hasProperty(fe,Je.name)&&(xe[Je.name]=fe[Je.name])}),xe}function S(fe,xe,Je){return Ye(!1,fe,xe,Je)}e.createSolutionBuilder=S;function F(fe,xe,Je,pr){return Ye(!0,fe,xe,Je,pr)}e.createSolutionBuilderWithWatch=F;function B(fe,xe,Je,pr,kr){var Ve=xe,ur=xe,Wr=Ve.getCurrentDirectory(),He=e.createGetCanonicalFileName(Ve.useCaseSensitiveFileNames()),Lr=k(pr),qr=e.createCompilerHostFromProgramHost(Ve,function(){return wr.projectCompilerOptions});e.setGetSourceFileAsHashVersioned(qr,Ve),qr.getParsedCommandLine=function(sr){return Q(wr,sr,w(wr,sr))},qr.resolveModuleNames=e.maybeBind(Ve,Ve.resolveModuleNames),qr.resolveTypeReferenceDirectives=e.maybeBind(Ve,Ve.resolveTypeReferenceDirectives);var lt=qr.resolveModuleNames?void 0:e.createModuleResolutionCache(Wr,He),rt=qr.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(Wr,He,void 0,lt==null?void 0:lt.getPackageJsonInfoCache());if(!qr.resolveModuleNames){var Rt=function(sr,he,ir,ue){return e.resolveModuleName(sr,ir,wr.projectCompilerOptions,qr,lt,ue,he).resolvedModule};qr.resolveModuleNames=function(sr,he,ir,ue,je,be){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(sr),e.Debug.checkDefined(be),he,ue,Rt)},qr.getModuleResolutionCache=function(){return lt}}if(!qr.resolveTypeReferenceDirectives){var an=function(sr,he,ir){return e.resolveTypeReferenceDirective(sr,he,wr.projectCompilerOptions,qr,ir,wr.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};qr.resolveTypeReferenceDirectives=function(sr,he,ir){return e.loadWithLocalCache(e.Debug.checkEachDefined(sr),he,ir,an)}}var yn=e.createWatchFactory(ur,pr),vn=yn.watchFile,Fn=yn.watchDirectory,ar=yn.writeLog,wr={host:Ve,hostWithWatch:ur,currentDirectory:Wr,getCanonicalFileName:He,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(Ve),write:e.maybeBind(Ve,Ve.trace),options:pr,baseCompilerOptions:Lr,rootNames:Je,baseWatchOptions:kr,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:qr,moduleResolutionCache:lt,typeReferenceDirectiveResolutionCache:rt,buildOrder:void 0,readFileWithCache:function(sr){return Ve.readFile(sr)},projectCompilerOptions:Lr,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:fe,currentInvalidatedProject:void 0,watch:fe,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,allWatchedExtendedConfigFiles:new e.Map,allWatchedPackageJsonFiles:new e.Map,lastCachedPackageJsonLookups:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:vn,watchDirectory:Fn,writeLog:ar};return wr}function N(fe,xe){return e.toPath(xe,fe.currentDirectory,fe.getCanonicalFileName)}function w(fe,xe){var Je=fe.resolvedConfigFilePaths,pr=Je.get(xe);if(pr!==void 0)return pr;var kr=N(fe,xe);return Je.set(xe,kr),kr}function O(fe){return!!fe.options}function U(fe,xe){var Je=fe.configFileCache.get(xe);return Je&&O(Je)?Je:void 0}function Q(fe,xe,Je){var pr=fe.configFileCache,kr=pr.get(Je);if(kr)return O(kr)?kr:void 0;var Ve,ur=fe.parseConfigFileHost,Wr=fe.baseCompilerOptions,He=fe.baseWatchOptions,Lr=fe.extendedConfigCache,qr=fe.host,lt;return qr.getParsedCommandLine?(lt=qr.getParsedCommandLine(xe),lt||(Ve=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,xe))):(ur.onUnRecoverableConfigFileDiagnostic=function(rt){return Ve=rt},lt=e.getParsedCommandLineOfConfigFile(xe,Wr,ur,Lr,He),ur.onUnRecoverableConfigFileDiagnostic=e.noop),pr.set(Je,lt||Ve),lt}function ee(fe,xe){return e.resolveConfigFileProjectName(e.resolvePath(fe.currentDirectory,xe))}function ne(fe,xe){for(var Je=new e.Map,pr=new e.Map,kr=[],Ve,ur,Wr=0,He=xe;Wr$)}}}function te(fe,xe,Je){var pr=fe.options;return xe.type!==e.UpToDateStatusType.OutOfDateWithPrepend||pr.force?!0:Je.fileNames.length===0||!!e.getConfigFileParsingDiagnostics(Je).length||!e.isIncrementalCompilation(Je.options)}function ce(fe,xe,Je){if(fe.projectPendingBuild.size&&!g(xe)){if(fe.currentInvalidatedProject)return e.arrayIsEqualTo(fe.currentInvalidatedProject.buildOrder,xe)?fe.currentInvalidatedProject:void 0;for(var pr=fe.options,kr=fe.projectPendingBuild,Ve=0;VeVe&&(kr=Lr,Ve=qr)}}if(!xe.fileNames.length&&!e.canJsonReportNoInputFiles(xe.raw))return{type:e.UpToDateStatusType.ContainerOnly};var lt=e.getAllProjectOutputs(xe,!ur.useCaseSensitiveFileNames()),rt="(none)",Rt=c,an="(none)",yn=n,vn,Fn=n,ar=!1;if(!pr)for(var wr=0,sr=lt;wryn&&(yn=ir,an=he),V(he)){var ue=e.getModifiedTime(ur,he);Fn=x(Fn,ue)}}var je=!1,be=!1,We;if(xe.projectReferences){fe.projectStatus.set(Je,{type:e.UpToDateStatusType.ComputingUpstream});for(var $=0,Ne=xe.projectReferences;$=0}n.hasArgument=c;function f(p){var x=e.sys.args.indexOf(p);return x>=0&&xg)return 2;if(y.charCodeAt(0)===46)return 3;if(y.charCodeAt(0)===95)return 4;if(k){var S=/^@([^/]+)\/([^/]+)$/.exec(y);if(S){var F=A(S[1],!1);if(F!==0)return{name:S[1],isScopeName:!0,result:F};var B=A(S[2],!1);return B!==0?{name:S[2],isScopeName:!1,result:B}:0}}return encodeURIComponent(y)!==y?5:0}function K(y,k){return typeof y=="object"?ae(k,y.result,y.name,y.isScopeName):ae(k,y,k,!1)}n.renderPackageNameValidationFailure=K;function ae(y,k,S,F){var B=F?"Scope":"Package";switch(k){case 1:return"'".concat(y,"':: ").concat(B," name '").concat(S,"' cannot be empty");case 2:return"'".concat(y,"':: ").concat(B," name '").concat(S,"' should be less than ").concat(g," characters");case 3:return"'".concat(y,"':: ").concat(B," name '").concat(S,"' cannot start with '.'");case 4:return"'".concat(y,"':: ").concat(B," name '").concat(S,"' cannot start with '_'");case 5:return"'".concat(y,"':: ").concat(B," name '").concat(S,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(k)}}})(e.JsTyping||(e.JsTyping={}))})(gr||(gr={}));var gr;(function(e){(function(a){var p=function(){function V(g){this.text=g}return V.prototype.getText=function(g,m){return g===0&&m===this.text.length?this.text:this.text.substring(g,m)},V.prototype.getLength=function(){return this.text.length},V.prototype.getChangeRange=function(){},V}();function x(V){return new p(V)}a.fromString=x})(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(a){a[a.Dependencies=1]="Dependencies",a[a.DevDependencies=2]="DevDependencies",a[a.PeerDependencies=4]="PeerDependencies",a[a.OptionalDependencies=8]="OptionalDependencies",a[a.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),function(a){a[a.Off=0]="Off",a[a.On=1]="On",a[a.Auto=2]="Auto"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(a){a[a.Semantic=0]="Semantic",a[a.PartialSemantic=1]="PartialSemantic",a[a.Syntactic=2]="Syntactic"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(a){a.Original="original",a.TwentyTwenty="2020"}(e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})),function(a){a[a.Invoked=1]="Invoked",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"}(e.CompletionTriggerKind||(e.CompletionTriggerKind={})),function(a){a.Type="Type",a.Parameter="Parameter",a.Enum="Enum"}(e.InlayHintKind||(e.InlayHintKind={})),function(a){a.none="none",a.definition="definition",a.reference="reference",a.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={}));var n;(function(a){a[a.None=0]="None",a[a.Block=1]="Block",a[a.Smart=2]="Smart"})(n=e.IndentStyle||(e.IndentStyle={}));var c;(function(a){a.Ignore="ignore",a.Insert="insert",a.Remove="remove"})(c=e.SemicolonPreference||(e.SemicolonPreference={}));function f(a){return{indentSize:4,tabSize:4,newLineCharacter:a||` `,convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:c.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=f,e.testFormatSettings=f(` `),function(a){a[a.aliasName=0]="aliasName",a[a.className=1]="className",a[a.enumName=2]="enumName",a[a.fieldName=3]="fieldName",a[a.interfaceName=4]="interfaceName",a[a.keyword=5]="keyword",a[a.lineBreak=6]="lineBreak",a[a.numericLiteral=7]="numericLiteral",a[a.stringLiteral=8]="stringLiteral",a[a.localName=9]="localName",a[a.methodName=10]="methodName",a[a.moduleName=11]="moduleName",a[a.operator=12]="operator",a[a.parameterName=13]="parameterName",a[a.propertyName=14]="propertyName",a[a.punctuation=15]="punctuation",a[a.space=16]="space",a[a.text=17]="text",a[a.typeParameterName=18]="typeParameterName",a[a.enumMemberName=19]="enumMemberName",a[a.functionName=20]="functionName",a[a.regularExpressionLiteral=21]="regularExpressionLiteral",a[a.link=22]="link",a[a.linkName=23]="linkName",a[a.linkText=24]="linkText"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(a){a.Comment="comment",a.Region="region",a.Code="code",a.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(a){a[a.JavaScript=0]="JavaScript",a[a.SourceMap=1]="SourceMap",a[a.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(a){a[a.None=0]="None",a[a.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",a[a.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",a[a.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",a[a.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",a[a.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",a[a.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(a){a[a.Punctuation=0]="Punctuation",a[a.Keyword=1]="Keyword",a[a.Operator=2]="Operator",a[a.Comment=3]="Comment",a[a.Whitespace=4]="Whitespace",a[a.Identifier=5]="Identifier",a[a.NumberLiteral=6]="NumberLiteral",a[a.BigIntLiteral=7]="BigIntLiteral",a[a.StringLiteral=8]="StringLiteral",a[a.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(a){a.unknown="",a.warning="warning",a.keyword="keyword",a.scriptElement="script",a.moduleElement="module",a.classElement="class",a.localClassElement="local class",a.interfaceElement="interface",a.typeElement="type",a.enumElement="enum",a.enumMemberElement="enum member",a.variableElement="var",a.localVariableElement="local var",a.functionElement="function",a.localFunctionElement="local function",a.memberFunctionElement="method",a.memberGetAccessorElement="getter",a.memberSetAccessorElement="setter",a.memberVariableElement="property",a.constructorImplementationElement="constructor",a.callSignatureElement="call",a.indexSignatureElement="index",a.constructSignatureElement="construct",a.parameterElement="parameter",a.typeParameterElement="type parameter",a.primitiveType="primitive type",a.label="label",a.alias="alias",a.constElement="const",a.letElement="let",a.directory="directory",a.externalModuleName="external module name",a.jsxAttribute="JSX attribute",a.string="string",a.link="link",a.linkName="link name",a.linkText="link text"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(a){a.none="",a.publicMemberModifier="public",a.privateMemberModifier="private",a.protectedMemberModifier="protected",a.exportedModifier="export",a.ambientModifier="declare",a.staticModifier="static",a.abstractModifier="abstract",a.optionalModifier="optional",a.deprecatedModifier="deprecated",a.dtsModifier=".d.ts",a.tsModifier=".ts",a.tsxModifier=".tsx",a.jsModifier=".js",a.jsxModifier=".jsx",a.jsonModifier=".json",a.dmtsModifier=".d.mts",a.mtsModifier=".mts",a.mjsModifier=".mjs",a.dctsModifier=".d.cts",a.ctsModifier=".cts",a.cjsModifier=".cjs"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(a){a.comment="comment",a.identifier="identifier",a.keyword="keyword",a.numericLiteral="number",a.bigintLiteral="bigint",a.operator="operator",a.stringLiteral="string",a.whiteSpace="whitespace",a.text="text",a.punctuation="punctuation",a.className="class name",a.enumName="enum name",a.interfaceName="interface name",a.moduleName="module name",a.typeParameterName="type parameter name",a.typeAliasName="type alias name",a.parameterName="parameter name",a.docCommentTagName="doc comment tag name",a.jsxOpenTagName="jsx open tag name",a.jsxCloseTagName="jsx close tag name",a.jsxSelfClosingTagName="jsx self closing tag name",a.jsxAttribute="jsx attribute",a.jsxText="jsx text",a.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(a){a[a.comment=1]="comment",a[a.identifier=2]="identifier",a[a.keyword=3]="keyword",a[a.numericLiteral=4]="numericLiteral",a[a.operator=5]="operator",a[a.stringLiteral=6]="stringLiteral",a[a.regularExpressionLiteral=7]="regularExpressionLiteral",a[a.whiteSpace=8]="whiteSpace",a[a.text=9]="text",a[a.punctuation=10]="punctuation",a[a.className=11]="className",a[a.enumName=12]="enumName",a[a.interfaceName=13]="interfaceName",a[a.moduleName=14]="moduleName",a[a.typeParameterName=15]="typeParameterName",a[a.typeAliasName=16]="typeAliasName",a[a.parameterName=17]="parameterName",a[a.docCommentTagName=18]="docCommentTagName",a[a.jsxOpenTagName=19]="jsxOpenTagName",a[a.jsxCloseTagName=20]="jsxCloseTagName",a[a.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",a[a.jsxAttribute=22]="jsxAttribute",a[a.jsxText=23]="jsxText",a[a.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",a[a.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))})(gr||(gr={}));var gr;(function(e){e.scanner=e.createScanner(99,!0),function(se){se[se.None=0]="None",se[se.Value=1]="Value",se[se.Type=2]="Type",se[se.Namespace=4]="Namespace",se[se.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={}));function n(se){switch(se.kind){case 253:return e.isInJSFile(se)&&e.getJSDocEnumTag(se)?7:1;case 163:case 202:case 166:case 165:case 294:case 295:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 291:case 284:return 1;case 162:case 257:case 258:case 181:return 2;case 343:return se.name===void 0?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(se)||e.getModuleInstanceState(se)===1?5:4;case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 5}return 7}e.getMeaningFromDeclaration=n;function c(se){se=Cr(se);var er=se.parent;if(se.kind===303)return 1;if(e.isExportAssignment(er)||e.isExportSpecifier(er)||e.isExternalModuleReference(er)||e.isImportSpecifier(er)||e.isImportClause(er)||e.isImportEqualsDeclaration(er)&&se===er.name){for(var Er=er;Er;){if(e.isImportEqualsDeclaration(Er)||e.isImportClause(Er)||e.isExportDeclaration(Er))return Er.isTypeOnly?2:7;Er=Er.parent}return 7}else return a(se)?f(se):e.isDeclarationName(se)?n(er):e.isEntityName(se)&&e.findAncestor(se,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:g(se)?2:p(se)?4:e.isTypeParameterDeclaration(er)?(e.Debug.assert(e.isJSDocTemplateTag(er.parent)),2):e.isLiteralTypeNode(er)?3:1}e.getMeaningFromLocation=c;function f(se){var er=se.kind===160?se:e.isQualifiedName(se.parent)&&se.parent.right===se?se.parent:void 0;return er&&er.parent.kind===264?7:4}function a(se){for(;se.parent.kind===160;)se=se.parent;return e.isInternalModuleImportEqualsDeclaration(se.parent)&&se.parent.moduleReference===se}e.isInRightSideOfInternalImportEqualsDeclaration=a;function p(se){return x(se)||V(se)}function x(se){var er=se,Er=!0;if(er.parent.kind===160){for(;er.parent&&er.parent.kind===160;)er=er.parent;Er=er.right===se}return er.parent.kind===177&&!Er}function V(se){var er=se,Er=!0;if(er.parent.kind===205){for(;er.parent&&er.parent.kind===205;)er=er.parent;Er=er.name===se}if(!Er&&er.parent.kind===227&&er.parent.parent.kind===290){var ct=er.parent.parent.parent;return ct.kind===256&&er.parent.parent.token===117||ct.kind===257&&er.parent.parent.token===94}return!1}function g(se){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(se)&&(se=se.parent),se.kind){case 108:return!e.isExpressionNode(se);case 191:return!0}switch(se.parent.kind){case 177:return!0;case 199:return!se.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(se.parent)}return!1}function m(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isCallExpression,S,er,Er)}e.isCallExpressionTarget=m;function A(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isNewExpression,S,er,Er)}e.isNewExpressionTarget=A;function K(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isCallOrNewExpression,S,er,Er)}e.isCallOrNewExpressionTarget=K;function ae(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isTaggedTemplateExpression,F,er,Er)}e.isTaggedTemplateTag=ae;function y(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isDecorator,S,er,Er)}e.isDecoratorTarget=y;function k(se,er,Er){return er===void 0&&(er=!1),Er===void 0&&(Er=!1),N(se,e.isJsxOpeningLikeElement,B,er,Er)}e.isJsxOpeningLikeElementTagName=k;function S(se){return se.expression}function F(se){return se.tag}function B(se){return se.tagName}function N(se,er,Er,ct,jt){var En=ct?O(se):w(se);return jt&&(En=e.skipOuterExpressions(En)),!!En&&!!En.parent&&er(En.parent)&&Er(En.parent)===En}function w(se){return Z(se)?se.parent:se}e.climbPastPropertyAccess=w;function O(se){return Z(se)||E(se)?se.parent:se}e.climbPastPropertyOrElementAccess=O;function U(se,er){for(;se;){if(se.kind===249&&se.label.escapedText===er)return se.label;se=se.parent}}e.getTargetLabel=U;function Q(se,er){return e.isPropertyAccessExpression(se.expression)?se.expression.name.text===er:!1}e.hasPropertyAccessExpressionWithName=Q;function ee(se){var er;return e.isIdentifier(se)&&((er=e.tryCast(se.parent,e.isBreakOrContinueStatement))===null||er===void 0?void 0:er.label)===se}e.isJumpStatementTarget=ee;function ne(se){var er;return e.isIdentifier(se)&&((er=e.tryCast(se.parent,e.isLabeledStatement))===null||er===void 0?void 0:er.label)===se}e.isLabelOfLabeledStatement=ne;function M(se){return ne(se)||ee(se)}e.isLabelName=M;function X(se){var er;return((er=e.tryCast(se.parent,e.isJSDocTag))===null||er===void 0?void 0:er.tagName)===se}e.isTagName=X;function G(se){var er;return((er=e.tryCast(se.parent,e.isQualifiedName))===null||er===void 0?void 0:er.right)===se}e.isRightSideOfQualifiedName=G;function Z(se){var er;return((er=e.tryCast(se.parent,e.isPropertyAccessExpression))===null||er===void 0?void 0:er.name)===se}e.isRightSideOfPropertyAccess=Z;function E(se){var er;return((er=e.tryCast(se.parent,e.isElementAccessExpression))===null||er===void 0?void 0:er.argumentExpression)===se}e.isArgumentExpressionOfElementAccess=E;function I(se){var er;return((er=e.tryCast(se.parent,e.isModuleDeclaration))===null||er===void 0?void 0:er.name)===se}e.isNameOfModuleDeclaration=I;function b(se){var er;return e.isIdentifier(se)&&((er=e.tryCast(se.parent,e.isFunctionLike))===null||er===void 0?void 0:er.name)===se}e.isNameOfFunctionDeclaration=b;function D(se){switch(se.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(se.parent)===se;case 206:return se.parent.argumentExpression===se;case 161:return!0;case 195:return se.parent.parent.kind===193;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=D;function C(se){return e.isExternalModuleImportEqualsDeclaration(se.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(se.parent.parent)===se}e.isExpressionOfExternalModuleImportEqualsDeclaration=C;function _(se){for(e.isJSDocTypeAlias(se)&&(se=se.parent.parent);;){if(se=se.parent,!se)return;switch(se.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return se}}}e.getContainerNode=_;function d(se){switch(se.kind){case 303:return e.isExternalModule(se)?"module":"script";case 260:return"module";case 256:case 225:return"class";case 257:return"interface";case 258:case 336:case 343:return"type";case 259:return"enum";case 253:return ha(se);case 202:return ha(e.getRootDeclaration(se));case 213:case 255:case 212:return"function";case 171:return"getter";case 172:return"setter";case 168:case 167:return"method";case 294:var er=se.initializer;return e.isFunctionLike(er)?"method":"property";case 166:case 165:case 295:case 296:return"property";case 175:return"index";case 174:return"construct";case 173:return"call";case 170:case 169:return"constructor";case 162:return"type parameter";case 297:return"enum member";case 163:return e.hasSyntacticModifier(se,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var Er=e.getAssignmentDeclarationKind(se),ct=se.right;switch(Er){case 7:case 8:case 9:case 0:return"";case 1:case 2:var jt=d(ct);return jt===""?"const":jt;case 3:return e.isFunctionExpression(ct)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(ct)?"method":"property";case 6:return"local class";default:return e.assertType(Er),""}case 79:return e.isImportClause(se.parent)?"alias":"";case 270:var En=d(se.expression);return En===""?"const":En;default:return""}function ha(ri){return e.isVarConst(ri)?"const":e.isLet(ri)?"let":"var"}}e.getNodeKind=d;function h(se){switch(se.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(se)&&se.parent.kind===163;default:return!1}}e.isThis=h;var P=/^\/\/\/\s*=Er.end}e.startEndContainsRange=Ae;function R(se,er,Er){return se.pos<=er&&se.end>=Er}e.rangeContainsStartEnd=R;function Y(se,er,Er){return z(se.pos,se.end,er,Er)}e.rangeOverlapsWithStartEnd=Y;function j(se,er,Er,ct){return z(se.getStart(er),se.end,Er,ct)}e.nodeOverlapsWithStartEnd=j;function z(se,er,Er,ct){var jt=Math.max(se,Er),En=Math.min(er,ct);return jter?1:Ya(fi[Si])?fi[Si-1]&&Ya(fi[Si-1])?1:0:ct&&Eo===er&&fi[Si-1]&&fi[Si-1].getEnd()===er&&Ya(fi[Si-1])?1:-1});return ha?{value:ha}:ci>=0&&fi[ci]?(En=fi[ci],"continue-outer"):{value:En}};e:for(;;){var Ta=ri();if(typeof Ta=="object")return Ta.value;switch(Ta){case"continue-outer":continue e}}function Ya(fi){var ci=Er?fi.getFullStart():fi.getStart(se,!0);if(ci>er)return!1;var Si=fi.getEnd();if(erEr.getStart(se)&&erse.end||En.pos===se.end;return ha&&wr(En,Er)?ct(En):void 0})}}e.findNextToken=xe;function Je(se,er,Er,ct){var jt=En(Er||er);return e.Debug.assert(!(jt&&He(jt))),jt;function En(ha){if(pr(ha)&&ha.kind!==1)return ha;var ri=ha.getChildren(er),Ta=e.binarySearchKey(ri,se,function(Eo,ks){return ks},function(Eo,ks){return se=ri[Eo-1].end?0:1:-1});if(Ta>=0&&ri[Ta]){var Ya=ri[Ta];if(se=se||!wr(Ya,er)||He(Ya);if(ci){var Si=Ve(ri,Ta,er,ha.kind);return Si&&kr(Si,er)}else return En(Ya)}}e.Debug.assert(Er!==void 0||ha.kind===303||ha.kind===1||e.isJSDocCommentContainingNode(ha));var Lo=Ve(ri,ri.length,er,ha.kind);return Lo&&kr(Lo,er)}}e.findPrecedingToken=Je;function pr(se){return e.isToken(se)&&!He(se)}function kr(se,er){if(pr(se))return se;var Er=se.getChildren(er);if(Er.length===0)return se;var ct=Ve(Er,Er.length,er,se.kind);return ct&&kr(ct,er)}function Ve(se,er,Er,ct){for(var jt=er-1;jt>=0;jt--){var En=se[jt];if(He(En))jt===0&&(ct===11||ct===278)&&e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(wr(se[jt],Er))return se[jt]}}function ur(se,er,Er){if(Er===void 0&&(Er=Je(er,se)),Er&&e.isStringTextContainingNode(Er)){var ct=Er.getStart(se),jt=Er.getEnd();if(ctEr.getStart(se)}e.isInTemplateString=Lr;function qr(se,er){var Er=Hr(se,er);return!!(e.isJsxText(Er)||Er.kind===18&&e.isJsxExpression(Er.parent)&&e.isJsxElement(Er.parent.parent)||Er.kind===29&&e.isJsxOpeningLikeElement(Er.parent)&&e.isJsxElement(Er.parent.parent))}e.isInJSXText=qr;function lt(se,er){function Er(ct){for(;ct;)if(ct.kind>=278&&ct.kind<=287||ct.kind===11||ct.kind===29||ct.kind===31||ct.kind===79||ct.kind===19||ct.kind===18||ct.kind===43)ct=ct.parent;else if(ct.kind===277){if(er>ct.getStart(se))return!0;ct=ct.parent}else return!1;return!1}return Er(Hr(se,er))}e.isInsideJsxElement=lt;function rt(se,er,Er){var ct=e.tokenToString(se.kind),jt=e.tokenToString(er),En=se.getFullStart(),ha=Er.text.lastIndexOf(jt,En);if(ha!==-1){if(Er.text.lastIndexOf(ct,En-1)=er})}e.getPossibleGenericSignatures=yn;function vn(se,er){if(er.text.lastIndexOf("<",se?se.pos:er.text.length)!==-1)for(var Er=se,ct=0,jt=0;Er;){switch(Er.kind){case 29:if(Er=Je(Er.getFullStart(),er),Er&&Er.kind===28&&(Er=Je(Er.getFullStart(),er)),!Er||!e.isIdentifier(Er))return;if(!ct)return e.isDeclarationName(Er)?void 0:{called:Er,nTypeArguments:jt};ct--;break;case 49:ct=3;break;case 48:ct=2;break;case 31:ct++;break;case 19:if(Er=rt(Er,18,er),!Er)return;break;case 21:if(Er=rt(Er,20,er),!Er)return;break;case 23:if(Er=rt(Er,22,er),!Er)return;break;case 27:jt++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 140:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(Er))break;return}Er=Je(Er.getFullStart(),er)}}e.getPossibleTypeArgumentsInfo=vn;function Fn(se,er,Er){return e.formatting.getRangeOfEnclosingComment(se,er,void 0,Er)}e.isInComment=Fn;function ar(se,er){var Er=Hr(se,er);return!!e.findAncestor(Er,e.isJSDoc)}e.hasDocComment=ar;function wr(se,er){return se.kind===1?!!se.jsDoc:se.getWidth(er)!==0}function sr(se,er){er===void 0&&(er=0);var Er=[],ct=e.isDeclaration(se)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(se)&~er:0;return ct&8&&Er.push("private"),ct&16&&Er.push("protected"),ct&4&&Er.push("public"),(ct&32||e.isClassStaticBlockDeclaration(se))&&Er.push("static"),ct&128&&Er.push("abstract"),ct&1&&Er.push("export"),ct&8192&&Er.push("deprecated"),se.flags&8388608&&Er.push("declare"),se.kind===270&&Er.push("export"),Er.length>0?Er.join(","):""}e.getNodeModifiers=sr;function he(se){if(se.kind===177||se.kind===207)return se.typeArguments;if(e.isFunctionLike(se)||se.kind===256||se.kind===257)return se.typeParameters}e.getTypeArgumentOrTypeParameterList=he;function ir(se){return se===2||se===3}e.isComment=ir;function ue(se){return!!(se===10||se===13||e.isTemplateLiteralKind(se))}e.isStringOrRegularExpressionOrTemplateLiteral=ue;function je(se){return 18<=se&&se<=78}e.isPunctuation=je;function be(se,er,Er){return e.isTemplateLiteralKind(se.kind)&&se.getStart(Er)=2||!!se.noEmit}e.compilerOptionsIndicateEsModules=ba;function Kn(se,er){return{fileExists:function(Er){return se.fileExists(Er)},getCurrentDirectory:function(){return er.getCurrentDirectory()},readFile:e.maybeBind(er,er.readFile),useCaseSensitiveFileNames:e.maybeBind(er,er.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(er,er.getSymlinkCache)||se.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(er,er.getModuleSpecifierCache),getGlobalTypingsCacheLocation:e.maybeBind(er,er.getGlobalTypingsCacheLocation),redirectTargetsMap:se.redirectTargetsMap,getProjectReferenceRedirect:function(Er){return se.getProjectReferenceRedirect(Er)},isSourceOfProjectReferenceRedirect:function(Er){return se.isSourceOfProjectReferenceRedirect(Er)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(er,er.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return se.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=Kn;function na(se,er){return On(On({},Kn(se,er)),{getCommonSourceDirectory:function(){return se.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=na;function jn(se,er,Er,ct){return se||er&&er.length?en(se,er,Er,ct):void 0}e.makeImportIfNecessary=jn;function en(se,er,Er,ct,jt){return e.factory.createImportDeclaration(void 0,void 0,se||er?e.factory.createImportClause(!!jt,se,er&&er.length?e.factory.createNamedImports(er):void 0):void 0,typeof Er=="string"?St(Er,ct):Er,void 0)}e.makeImport=en;function St(se,er){return e.factory.createStringLiteral(se,er===0)}e.makeStringLiteral=St,function(se){se[se.Single=0]="Single",se[se.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={}));function Ut(se,er){return e.isStringDoubleQuoted(se,er)?1:0}e.quotePreferenceFromString=Ut;function qt(se,er){if(er.quotePreference&&er.quotePreference!=="auto")return er.quotePreference==="single"?0:1;var Er=se.imports&&e.find(se.imports,function(ct){return e.isStringLiteral(ct)&&!e.nodeIsSynthesized(ct.parent)});return Er?Ut(Er,se):1}e.getQuotePreference=qt;function Mn(se){switch(se){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(se)}}e.getQuoteFromPreference=Mn;function dn(se){var er=oa(se);return er===void 0?void 0:e.unescapeLeadingUnderscores(er)}e.symbolNameNoDefault=dn;function oa(se){return se.escapedName!=="default"?se.escapedName:e.firstDefined(se.declarations,function(er){var Er=e.getNameOfDeclaration(er);return Er&&Er.kind===79?Er.escapedText:void 0})}e.symbolEscapedNameNoDefault=oa;function pt(se){return e.isStringLiteralLike(se)&&(e.isExternalModuleReference(se.parent)||e.isImportDeclaration(se.parent)||e.isRequireCall(se.parent,!1)&&se.parent.arguments[0]===se||e.isImportCall(se.parent)&&se.parent.arguments[0]===se)}e.isModuleSpecifierLike=pt;function mt(se){return e.isBindingElement(se)&&e.isObjectBindingPattern(se.parent)&&e.isIdentifier(se.name)&&!se.propertyName}e.isObjectBindingElementWithoutPropertyName=mt;function Mt(se,er){var Er=se.getTypeAtLocation(er.parent);return Er&&se.getPropertyOfType(Er,er.name.text)}e.getPropertySymbolFromBindingElement=Mt;function It(se,er,Er){if(se)for(;se.parent;){if(e.isSourceFile(se.parent)||!tt(Er,se.parent,er))return se;se=se.parent}}e.getParentNodeInSpan=It;function tt(se,er,Er){return e.textSpanContainsPosition(se,er.getStart(Er))&&er.getEnd()<=e.textSpanEnd(se)}function xn(se,er){return se.modifiers&&e.find(se.modifiers,function(Er){return Er.kind===er})}e.findModifier=xn;function Qn(se,er,Er,ct){var jt=e.isArray(Er)?Er[0]:Er,En=jt.kind===236?e.isRequireVariableStatement:e.isAnyImportSyntax,ha=e.filter(er.statements,En),ri=e.isArray(Er)?e.stableSort(Er,e.OrganizeImports.compareImportsOrRequireStatements):[Er];if(!ha.length)se.insertNodesAtTopOfFile(er,ri,ct);else if(ha&&e.OrganizeImports.importsAreSorted(ha))for(var Ta=0,Ya=ri;Tase&&ci&&ci!=="..."&&(e.isWhiteSpaceLike(ci.charCodeAt(ci.length-1))||er.push(ji(" ",e.SymbolDisplayPartKind.space)),er.push(ji("...",e.SymbolDisplayPartKind.punctuation))),er},writeKeyword:function(ci){return ri(ci,e.SymbolDisplayPartKind.keyword)},writeOperator:function(ci){return ri(ci,e.SymbolDisplayPartKind.operator)},writePunctuation:function(ci){return ri(ci,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(ci){return ri(ci,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(ci){return ri(ci,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(ci){return ri(ci,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(ci){return ri(ci,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(ci){return ri(ci,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(ci){return ri(ci,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:Ta,writeLine:Ya,write:En,writeComment:En,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return ct},increaseIndent:function(){ct++},decreaseIndent:function(){ct--},clear:fi,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function ha(){if(!(jt>se)&&Er){var ci=e.getIndentString(ct);ci&&(jt+=ci.length,er.push(ji(ci,e.SymbolDisplayPartKind.space))),Er=!1}}function ri(ci,Si){jt>se||(ha(),jt+=ci.length,er.push(ji(ci,Si)))}function Ta(ci,Si){jt>se||(ha(),jt+=ci.length,er.push(io(ci,Si)))}function Ya(){jt>se||(jt+=1,er.push(yr()),Er=!0)}function fi(){er=[],Er=!0,ct=0,jt=0}}function io(se,er){return ji(se,Er(er));function Er(ct){var jt=ct.flags;return jt&3?ro(ct)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:jt&4||jt&32768||jt&65536?e.SymbolDisplayPartKind.propertyName:jt&8?e.SymbolDisplayPartKind.enumMemberName:jt&16?e.SymbolDisplayPartKind.functionName:jt&32?e.SymbolDisplayPartKind.className:jt&64?e.SymbolDisplayPartKind.interfaceName:jt&384?e.SymbolDisplayPartKind.enumName:jt&1536?e.SymbolDisplayPartKind.moduleName:jt&8192?e.SymbolDisplayPartKind.methodName:jt&262144?e.SymbolDisplayPartKind.typeParameterName:jt&524288||jt&2097152?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}e.symbolPart=io;function ji(se,er){return{text:se,kind:e.SymbolDisplayPartKind[er]}}e.displayPart=ji;function Hi(){return ji(" ",e.SymbolDisplayPartKind.space)}e.spacePart=Hi;function to(se){return ji(e.tokenToString(se),e.SymbolDisplayPartKind.keyword)}e.keywordPart=to;function ko(se){return ji(e.tokenToString(se),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=ko;function co(se){return ji(e.tokenToString(se),e.SymbolDisplayPartKind.operator)}e.operatorPart=co;function Ao(se){return ji(se,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=Ao;function Ha(se){return ji(se,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=Ha;function Qo(se){var er=e.stringToToken(se);return er===void 0?uo(se):to(er)}e.textOrKeywordPart=Qo;function uo(se){return ji(se,e.SymbolDisplayPartKind.text)}e.textPart=uo;function za(se){return ji(se,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=za;function hi(se){return ji(se,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=hi;function Zi(se){return ji(se,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=Zi;function Po(se,er){return{text:se,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(er).fileName,textSpan:dr(er)}}}e.linkNamePart=Po;function Fo(se){return ji(se,e.SymbolDisplayPartKind.link)}e.linkPart=Fo;function Go(se,er){var Er,ct=e.isJSDocLink(se)?"link":e.isJSDocLinkCode(se)?"linkcode":"linkplain",jt=[Fo("{@".concat(ct," "))];if(!se.name)se.text&&jt.push(Zi(se.text));else{var En=er==null?void 0:er.getSymbolAtLocation(se.name),ha=qo(se.text),ri=e.getTextOfNode(se.name)+se.text.slice(0,ha),Ta=se.text.slice(ha),Ya=(En==null?void 0:En.valueDeclaration)||((Er=En==null?void 0:En.declarations)===null||Er===void 0?void 0:Er[0]);Ya?(jt.push(Po(ri,Ya)),Ta&&jt.push(Zi(Ta))):jt.push(Zi(ri+(ha?"":" ")+Ta))}return jt.push(Fo("}")),jt}e.buildLinkParts=Go;function qo(se){if(se.indexOf("()")===0)return 2;if(se[0]!=="<")return 0;for(var er=0,Er=0;Er"&&er--,Er++,!er)return Er;return 0}var Ts=`\r `;function xs(se,er){var Er;return(er==null?void 0:er.newLineCharacter)||((Er=se.getNewLine)===null||Er===void 0?void 0:Er.call(se))||Ts}e.getNewLineOrDefaultFromHost=xs;function yr(){return ji(` `,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=yr;function dt(se){try{return se(Ka),Ka.displayParts()}finally{Ka.clear()}}e.mapToDisplayParts=dt;function tn(se,er,Er,ct){return ct===void 0&&(ct=0),dt(function(jt){se.writeType(er,Er,ct|1024|16384,jt)})}e.typeToDisplayParts=tn;function Vn(se,er,Er,ct,jt){return jt===void 0&&(jt=0),dt(function(En){se.writeSymbol(er,Er,ct,jt|8,En)})}e.symbolToDisplayParts=Vn;function Re(se,er,Er,ct){return ct===void 0&&(ct=0),ct|=25632,dt(function(jt){se.writeSignature(er,Er,ct,void 0,jt)})}e.signatureToDisplayParts=Re;function ie(se){return!!se.parent&&e.isImportOrExportSpecifier(se.parent)&&se.parent.propertyName===se}e.isImportOrExportSpecifierName=ie;function _r(se,er){return e.ensureScriptKind(se,er.getScriptKind&&er.getScriptKind(se))}e.getScriptKind=_r;function oe(se,er){for(var Er=se;$e(Er)||Ge(Er)&&Er.target;)Ge(Er)&&Er.target?Er=Er.target:Er=e.skipAlias(Er,er);return Er}e.getSymbolTarget=oe;function Ge(se){return(se.flags&33554432)!==0}function $e(se){return(se.flags&2097152)!==0}function hr(se,er){return e.getSymbolId(e.skipAlias(se,er))}e.getUniqueSymbolId=hr;function Xr(se,er){for(;e.isWhiteSpaceLike(se.charCodeAt(er));)er+=1;return er}e.getFirstNonSpaceCharacterPosition=Xr;function Dt(se,er){for(;er>-1&&e.isWhiteSpaceSingleLine(se.charCodeAt(er));)er-=1;return er+1}e.getPrecedingNonSpaceCharacterPosition=Dt;function Jt(se,er){er===void 0&&(er=!0);var Er=se&&ta(se);return Er&&!er&&$a(Er),Er}e.getSynthesizedDeepClone=Jt;function Dn(se,er,Er){var ct=Er(se);return ct?e.setOriginalNode(ct,se):ct=ta(se,Er),ct&&!er&&$a(ct),ct}e.getSynthesizedDeepCloneWithReplacements=Dn;function ta(se,er){var Er=er?function(ha){return Dn(ha,!0,er)}:Jt,ct=er?function(ha){return ha&&Di(ha,!0,er)}:function(ha){return ha&&xa(ha)},jt=e.visitEachChild(se,Er,e.nullTransformationContext,ct,Er);if(jt===se){var En=e.isStringLiteral(se)?e.setOriginalNode(e.factory.createStringLiteralFromNode(se),se):e.isNumericLiteral(se)?e.setOriginalNode(e.factory.createNumericLiteral(se.text,se.numericLiteralFlags),se):e.factory.cloneNode(se);return e.setTextRange(En,se)}return jt.parent=void 0,jt}function xa(se,er){return er===void 0&&(er=!0),se&&e.factory.createNodeArray(se.map(function(Er){return Jt(Er,er)}),se.hasTrailingComma)}e.getSynthesizedDeepClones=xa;function Di(se,er,Er){return e.factory.createNodeArray(se.map(function(ct){return Dn(ct,er,Er)}),se.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=Di;function $a(se){Ji(se),Do(se)}e.suppressLeadingAndTrailingTrivia=$a;function Ji(se){Pn(se,512,da)}e.suppressLeadingTrivia=Ji;function Do(se){Pn(se,1024,e.getLastChild)}e.suppressTrailingTrivia=Do;function us(se,er){var Er=se.getSourceFile(),ct=Er.text;bt(se,ct)?xi(se,er,Er):_i(se,er,Er),ka(se,er,Er)}e.copyComments=us;function bt(se,er){for(var Er=se.getFullStart(),ct=se.getStart(),jt=Er;jt=0),En}e.getRenameLocation=bi;function xi(se,er,Er,ct,jt){e.forEachLeadingCommentRange(Er.text,se.pos,Xi(er,Er,ct,jt,e.addSyntheticLeadingComment))}e.copyLeadingComments=xi;function ka(se,er,Er,ct,jt){e.forEachTrailingCommentRange(Er.text,se.end,Xi(er,Er,ct,jt,e.addSyntheticTrailingComment))}e.copyTrailingComments=ka;function _i(se,er,Er,ct,jt){e.forEachTrailingCommentRange(Er.text,se.pos,Xi(er,Er,ct,jt,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=_i;function Xi(se,er,Er,ct,jt){return function(En,ha,ri,Ta){ri===3?(En+=2,ha-=2):En+=2,jt(se,Er||ri,er.text.slice(En,ha),ct!==void 0?ct:Ta)}}function Gi(se,er){if(e.startsWith(se,er))return 0;var Er=se.indexOf(" "+er);return Er===-1&&(Er=se.indexOf("."+er)),Er===-1&&(Er=se.indexOf('"'+er)),Er===-1?-1:Er+1}function wo(se){return e.isBinaryExpression(se)&&se.operatorToken.kind===27||e.isObjectLiteralExpression(se)||e.isAsExpression(se)&&e.isObjectLiteralExpression(se.expression)}e.needsParentheses=wo;function Ro(se,er){var Er=se.parent;switch(Er.kind){case 208:return er.getContextualType(Er);case 220:{var ct=Er,jt=ct.left,En=ct.operatorToken,ha=ct.right;return is(En.kind)?er.getTypeAtLocation(se===ha?jt:ha):er.getContextualType(se)}case 288:return Er.expression===se?ft(Er,er):void 0;default:return er.getContextualType(se)}}e.getContextualTypeFromParent=Ro;function rs(se,er,Er){var ct=qt(se,er),jt=JSON.stringify(Er);return ct===0?"'".concat(e.stripQuotes(jt).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):jt}e.quote=rs;function is(se){switch(se){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=is;function pe(se){switch(se.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}}e.isStringLiteralOrTemplate=pe;function Mr(se){return!!se.getStringIndexType()||!!se.getNumberIndexType()}e.hasIndexSignature=Mr;function ft(se,er){return er.getTypeAtLocation(se.parent.parent.expression)}e.getSwitchedType=ft,e.ANONYMOUS="anonymous function";function Zt(se,er,Er,ct){var jt=Er.getTypeChecker(),En=!0,ha=function(){return En=!1},ri=jt.typeToTypeNode(se,er,1,{trackSymbol:function(Ta,Ya,fi){return En=En&&jt.isSymbolAccessible(Ta,Ya,fi,!1).accessibility===0,!En},reportInaccessibleThisError:ha,reportPrivateInBaseOfClassExpression:ha,reportInaccessibleUniqueSymbolError:ha,moduleResolverHost:na(Er,ct)});return En?ri:void 0}e.getTypeNodeIfAccessible=Zt;function Oe(se){return se===173||se===174||se===175||se===165||se===167}e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Oe;function Qr(se){return se===255||se===170||se===168||se===171||se===172}e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Qr;function hn(se){return se===260}e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=hn;function Xn(se){return se===236||se===237||se===239||se===244||se===245||se===246||se===250||se===252||se===166||se===258||se===265||se===264||se===271||se===263||se===270}e.syntaxRequiresTrailingSemicolonOrASI=Xn,e.syntaxMayBeASICandidate=e.or(Oe,Qr,hn,Xn);function gi(se,er){var Er=se.getLastToken(er);if(Er&&Er.kind===26)return!1;if(Oe(se.kind)){if(Er&&Er.kind===27)return!1}else if(hn(se.kind)){var ct=e.last(se.getChildren(er));if(ct&&e.isModuleBlock(ct))return!1}else if(Qr(se.kind)){var ct=e.last(se.getChildren(er));if(ct&&e.isFunctionBlock(ct))return!1}else if(!Xn(se.kind))return!1;if(se.kind===239)return!0;var jt=e.findAncestor(se,function(Ta){return!Ta.parent}),En=xe(se,jt,er);if(!En||En.kind===19)return!0;var ha=er.getLineAndCharacterOfPosition(se.getEnd()).line,ri=er.getLineAndCharacterOfPosition(En.getStart(er)).line;return ha!==ri}function Ia(se,er,Er){var ct=e.findAncestor(er,function(jt){return jt.end!==se?"quit":e.syntaxMayBeASICandidate(jt.kind)});return!!ct&&gi(ct,Er)}e.positionIsASICandidate=Ia;function oo(se){var er=0,Er=0,ct=5;return e.forEachChild(se,function jt(En){if(Xn(En.kind)){var ha=En.getLastToken(se);ha&&ha.kind===26?er++:Er++}return er+Er>=ct?!0:e.forEachChild(En,jt)}),er===0&&Er<=1?!0:er/Er>1/ct}e.probablyUsesSemicolons=oo;function jo(se,er){return xo(se,se.getDirectories,er)||[]}e.tryGetDirectories=jo;function Nr(se,er,Er,ct,jt){return xo(se,se.readDirectory,er,Er,ct,jt)||e.emptyArray}e.tryReadDirectory=Nr;function Ws(se,er){return xo(se,se.fileExists,er)}e.tryFileExists=Ws;function sl(se,er){return Pl(function(){return e.directoryProbablyExists(er,se)})||!1}e.tryDirectoryExists=sl;function Pl(se){try{return se()}catch{return}}e.tryAndIgnoreErrors=Pl;function xo(se,er){for(var Er=[],ct=2;ct"u")return!0;var Zs=e.stripQuotes(Si.getName());return Ya(Zs)?!0:En(ks)||En(Zs)}function ri(Si,Lo){if(!ct.length)return!0;var Eo=fi(Si.fileName,Lo);return Eo?En(Eo):!0}function Ta(Si){return!ct.length||Ya(Si)||e.pathIsRelative(Si)||e.isRootedDiskPath(Si)?!0:En(Si)}function Ya(Si){return!!(e.isSourceFileJS(se)&&e.JsTyping.nodeCoreModules.has(Si)&&(jt===void 0&&(jt=Xl(se)),jt))}function fi(Si,Lo){if(e.stringContains(Si,"node_modules")){var Eo=e.moduleSpecifiers.getNodeModulesPackageName(Er.getCompilationSettings(),se.path,Si,Lo,er);if(Eo&&!e.pathIsRelative(Eo)&&!e.isRootedDiskPath(Eo))return ci(Eo)}}function ci(Si){var Lo=e.getPathComponents(e.getPackageNameFromTypesPackageName(Si)).slice(1);return e.startsWith(Lo[0],"@")?"".concat(Lo[0],"/").concat(Lo[1]):Lo[0]}}e.createPackageJsonImportFilter=uu;function no(se){try{return JSON.parse(se)}catch{return}}function Xl(se){return e.some(se.imports,function(er){var Er=er.text;return e.JsTyping.nodeCoreModules.has(Er)})}e.consumesNodeCoreModules=Xl;function dc(se){return e.contains(e.getPathComponents(se),"node_modules")}e.isInsideNodeModules=dc;function Hs(se){return se.file!==void 0&&se.start!==void 0&&se.length!==void 0}e.isDiagnosticWithLocation=Hs;function Ic(se,er){var Er=dr(se),ct=e.binarySearchKey(er,Er,e.identity,e.compareTextSpans);if(ct>=0){var jt=er[ct];return e.Debug.assertEqual(jt.file,se.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(jt,Hs)}}e.findDiagnosticForNode=Ic;function Nc(se,er){var Er,ct=e.binarySearchKey(er,se.start,function(ri){return ri.start},e.compareValues);for(ct<0&&(ct=~ct);((Er=er[ct-1])===null||Er===void 0?void 0:Er.start)===se.start;)ct--;for(var jt=[],En=e.textSpanEnd(se);;){var ha=e.tryCast(er[ct],Hs);if(!ha||ha.start>En)break;e.textSpanContainsTextSpan(se,ha)&&jt.push(ha),ct++}return jt}e.getDiagnosticsWithinSpan=Nc;function La(se){var er=se.startPosition,Er=se.endPosition;return e.createTextSpanFromBounds(er,Er===void 0?er:Er)}e.getRefactorContextSpan=La;function fu(se,er){var Er=Hr(se,er.start),ct=e.findAncestor(Er,function(jt){return jt.getStart(se)e.textSpanEnd(er)?"quit":e.isExpression(jt)&&Ci(er,dr(jt,se))});return ct}e.getFixableErrorSpanExpression=fu;function pc(se,er,Er){return Er===void 0&&(Er=e.identity),se?e.isArray(se)?Er(e.map(se,er)):er(se,0):void 0}e.mapOneOrMany=pc;function kc(se){return e.isArray(se)?e.first(se):se}e.firstOrOnly=kc;function Pr(se,er){return!(se.flags&33554432)&&(se.escapedName==="export="||se.escapedName==="default")?e.firstDefined(se.declarations,function(Er){var ct;return e.isExportAssignment(Er)?(ct=e.tryCast(e.skipOuterExpressions(Er.expression),e.isIdentifier))===null||ct===void 0?void 0:ct.text:void 0})||e.codefix.moduleSymbolToValidIdentifier($r(se),er):se.name}e.getNameForExportedSymbol=Pr;function $r(se){var er;return e.Debug.checkDefined(se.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(se.flags),". ")+"Declarations: ".concat((er=se.declarations)===null||er===void 0?void 0:er.map(function(Er){var ct=e.Debug.formatSyntaxKind(Er.kind),jt=e.isInJSFile(Er),En=Er.expression;return(jt?"[JS]":"")+ct+(En?" (expression: ".concat(e.Debug.formatSyntaxKind(En.kind),")"):"")}).join(", "),"."))}function Lt(se,er,Er){var ct=er.length;if(ct+Er>se.length)return!1;for(var jt=0;jt=ne.length){var te=f(U,G,e.lastOrUndefined(E));te!==void 0&&(_=te)}}while(G!==1);function ce(){switch(G){case 43:case 68:!c[Z]&&U.reScanSlashToken()===13&&(G=13);break;case 29:Z===79&&h++;break;case 31:h>0&&h--;break;case 130:case 149:case 146:case 133:case 150:h>0&&!X&&(G=79);break;case 15:E.push(G);break;case 18:E.length>0&&E.push(G);break;case 19:if(E.length>0){var q=e.lastOrUndefined(E);q===15?(G=U.reScanTemplateToken(!1),G===17?E.pop():e.Debug.assertEqual(G,16,"Should have been a template middle.")):(e.Debug.assertEqual(q,18,"Should have been an open brace"),E.pop())}break;default:if(!e.isKeyword(G))break;(Z===24||e.isKeyword(Z)&&e.isKeyword(G)&&!V(Z,G))&&(G=79)}}return{endOfLineState:_,spans:d}}return{getClassificationsForLine:Q,getEncodedLexicalClassifications:ee}}e.createClassifier=n;var c=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(U){return U},function(){return!0});function f(U,Q,ee){switch(Q){case 10:{if(!U.isUnterminated())return;for(var ne=U.getTokenText(),M=ne.length-1,X=0;ne.charCodeAt(M-X)===92;)X++;return X&1?ne.charCodeAt(0)===34?3:2:void 0}case 3:return U.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(Q)){if(!U.isUnterminated())return;switch(Q){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+Q)}}return ee===15?6:void 0}}function a(U,Q,ee,ne,M){if(ne!==8){U===0&&ee>0&&(U+=ee);var X=Q-U;X>0&&M.push(U-ee,X,ne)}}function p(U,Q){for(var ee=[],ne=U.spans,M=0,X=0;X=0){var I=G-M;I>0&&ee.push({length:I,classification:e.TokenClass.Whitespace})}ee.push({length:Z,classification:x(E)}),M=G+Z}var b=Q.length-M;return b>0&&ee.push({length:b,classification:e.TokenClass.Whitespace}),{entries:ee,finalLexState:U.endOfLineState}}function x(U){switch(U){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function V(U,Q){if(!e.isAccessibilityModifier(U))return!0;switch(Q){case 136:case 148:case 134:case 124:return!0;default:return!1}}function g(U){switch(U){case 3:return{prefix:`"\\ `};case 2:return{prefix:`'\\ `};case 1:return{prefix:`/* `};case 4:return{prefix:"`\n"};case 5:return{prefix:`} `,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(U)}}function m(U){switch(U){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}function A(U){switch(U){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function K(U){if(e.isKeyword(U))return 3;if(m(U)||A(U))return 5;if(U>=18&&U<=78)return 10;switch(U){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:return e.isTemplateLiteralKind(U)?6:2}}function ae(U,Q,ee,ne,M){return N(k(U,Q,ee,ne,M))}e.getSemanticClassifications=ae;function y(U,Q){switch(Q){case 260:case 256:case 257:case 255:case 225:case 212:case 213:U.throwIfCancellationRequested()}}function k(U,Q,ee,ne,M){var X=[];return ee.forEachChild(function Z(E){if(!(!E||!e.textSpanIntersectsWith(M,E.pos,E.getFullWidth()))){if(y(Q,E.kind),e.isIdentifier(E)&&!e.nodeIsMissing(E)&&ne.has(E.escapedText)){var I=U.getSymbolAtLocation(E),b=I&&S(I,e.getMeaningFromLocation(E),U);b&&G(E.getStart(ee),E.getEnd(),b)}E.forEachChild(Z)}}),{spans:X,endOfLineState:0};function G(Z,E,I){var b=E-Z;e.Debug.assert(b>0,"Classification had non-positive length of ".concat(b)),X.push(Z),X.push(b),X.push(I)}}e.getEncodedSemanticClassifications=k;function S(U,Q,ee){var ne=U.getFlags();if(ne&2885600)return ne&32?11:ne&384?12:ne&524288?16:ne&1536?Q&4||Q&1&&F(U)?14:void 0:ne&2097152?S(ee.getAliasedSymbol(U),Q,ee):Q&2?ne&64?13:ne&262144?15:void 0:void 0}function F(U){return e.some(U.declarations,function(Q){return e.isModuleDeclaration(Q)&&e.getModuleInstanceState(Q)===1})}function B(U){switch(U){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function N(U){e.Debug.assert(U.spans.length%3===0);for(var Q=U.spans,ee=[],ne=0;ne])*)(\/>)?)?/im,Y=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,j=Q.text.substr(Te,Ae),z=R.exec(j);if(!z||!z[3]||!(z[3]in e.commentPragmas))return!1;var Ee=Te;D(Ee,z[1].length),Ee+=z[1].length,E(Ee,z[2].length,10),Ee+=z[2].length,E(Ee,z[3].length,21),Ee+=z[3].length;for(var _e=z[4],ke=Ee;;){var Pe=Y.exec(_e);if(!Pe)break;var Ie=Ee+Pe.index+Pe[1].length;Ie>ke&&(D(ke,Ie-ke),ke=Ie),E(ke,Pe[2].length,22),ke+=Pe[2].length,Pe[3].length&&(D(ke,Pe[3].length),ke+=Pe[3].length),E(ke,Pe[4].length,5),ke+=Pe[4].length,Pe[5].length&&(D(ke,Pe[5].length),ke+=Pe[5].length),E(ke,Pe[6].length,24),ke+=Pe[6].length}Ee+=z[4].length,Ee>ke&&D(ke,Ee-ke),z[5]&&(E(Ee,z[5].length,10),Ee+=z[5].length);var Fe=Te+Ae;return Ee=0),Y>0){var j=Ae||q(Te.kind,Te);j&&E(R,Y,j)}return!0}function ce(Te){switch(Te.parent&&Te.parent.kind){case 279:if(Te.parent.tagName===Te)return 19;break;case 280:if(Te.parent.tagName===Te)return 20;break;case 278:if(Te.parent.tagName===Te)return 21;break;case 284:if(Te.parent.name===Te)return 22;break}}function q(Te,Ae){if(e.isKeyword(Te))return 3;if((Te===29||Te===31)&&Ae&&e.getTypeArgumentOrTypeParameterList(Ae.parent))return 10;if(e.isPunctuation(Te)){if(Ae){var R=Ae.parent;if(Te===63&&(R.kind===253||R.kind===166||R.kind===163||R.kind===284)||R.kind===220||R.kind===218||R.kind===219||R.kind===221)return 5}return 10}else{if(Te===8)return 4;if(Te===9)return 25;if(Te===10)return Ae&&Ae.parent.kind===284?24:6;if(Te===13)return 6;if(e.isTemplateLiteralKind(Te))return 6;if(Te===11)return 23;if(Te===79){if(Ae)switch(Ae.parent.kind){case 256:return Ae.parent.name===Ae?11:void 0;case 162:return Ae.parent.name===Ae?15:void 0;case 257:return Ae.parent.name===Ae?13:void 0;case 259:return Ae.parent.name===Ae?12:void 0;case 260:return Ae.parent.name===Ae?14:void 0;case 163:return Ae.parent.name===Ae?e.isThisIdentifier(Ae)?3:17:void 0}return 2}}}function J(Te){if(Te&&e.decodedTextSpanIntersectsWith(ne,M,Te.pos,Te.getFullWidth())){y(U,Te.kind);for(var Ae=0,R=Te.getChildren(Q);Ae0}))return 0;if(w(function(O){return O.getCallSignatures().length>0})&&!w(function(O){return O.getProperties().length>0})||ae(F))return B===9?11:10}}return B}function m(S,F){return e.isBindingElement(S)&&(S=A(S)),e.isVariableDeclaration(S)?(!e.isSourceFile(S.parent.parent.parent)||e.isCatchClause(S.parent))&&S.getSourceFile()===F:e.isFunctionDeclaration(S)?!e.isSourceFile(S.parent)&&S.getSourceFile()===F:!1}function A(S){for(;;)if(e.isBindingElement(S.parent.parent))S=S.parent.parent;else return S.parent.parent}function K(S){var F=S.parent;return F&&(e.isImportClause(F)||e.isImportSpecifier(F)||e.isNamespaceImport(F))}function ae(S){for(;y(S);)S=S.parent;return e.isCallExpression(S.parent)&&S.parent.expression===S}function y(S){return e.isQualifiedName(S.parent)&&S.parent.right===S||e.isPropertyAccessExpression(S.parent)&&S.parent.name===S}var k=new e.Map([[253,7],[163,6],[166,9],[260,3],[259,1],[297,8],[256,0],[168,11],[255,10],[212,10],[167,11],[171,9],[172,9],[165,9],[257,2],[258,5],[162,4],[294,9],[295,9]])})(n.v2020||(n.v2020={}))})(e.classifier||(e.classifier={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(c){function f(j,z,Ee,_e,ke,Pe,Ie,Fe){if(e.isInReferenceComment(j,z)){var ve=P(j,z,_e,ke);return ve&&V(ve)}if(e.isInString(j,z,Ee)){if(!Ee||!e.isStringLiteralLike(Ee))return;var ve=A(j,Ee,z,Pe.getTypeChecker(),_e,ke,Fe);return a(ve,Ee,j,ke,Pe,Ie,_e,Fe)}}c.getStringLiteralCompletions=f;function a(j,z,Ee,_e,ke,Pe,Ie,Fe){if(j!==void 0){var ve=e.createTextSpanFromStringLiteralLikeContent(z);switch(j.kind){case 0:return V(j.paths);case 1:{var ge=[];return n.getCompletionEntriesFromSymbols(j.symbols,ge,z,z,Ee,Ee,_e,ke,99,Pe,4,Fe,Ie),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:j.hasIndexSignature,optionalReplacementSpan:ve,entries:ge}}case 2:{var ge=j.types.map(function(de){return{name:de.value,kindModifiers:"",kind:"string",sortText:n.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(z)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:j.isNewIdentifier,optionalReplacementSpan:ve,entries:ge}}default:return e.Debug.assertNever(j)}}}function p(j,z,Ee,_e,ke,Pe,Ie,Fe,ve){if(!(!_e||!e.isStringLiteralLike(_e))){var ge=A(z,_e,Ee,ke,Pe,Ie,ve);return ge&&x(j,_e,ge,z,ke,Fe)}}c.getStringLiteralCompletionDetails=p;function x(j,z,Ee,_e,ke,Pe){switch(Ee.kind){case 0:{var Ie=e.find(Ee.paths,function(Fe){return Fe.name===j});return Ie&&n.createCompletionDetails(j,g(Ie.extension),Ie.kind,[e.textPart(j)])}case 1:{var Ie=e.find(Ee.symbols,function(ve){return ve.name===j});return Ie&&n.createCompletionDetailsForSymbol(Ie,ke,_e,z,Pe)}case 2:return e.find(Ee.types,function(Fe){return Fe.value===j})?n.createCompletionDetails(j,"","type",[e.textPart(j)]):void 0;default:return e.Debug.assertNever(Ee)}}function V(j){var z=!1,Ee=!0,_e=j.map(function(ke){var Pe=ke.name,Ie=ke.kind,Fe=ke.span,ve=ke.extension;return{name:Pe,kind:Ie,kindModifiers:g(ve),sortText:n.SortText.LocationPriority,replacementSpan:Fe}});return{isGlobalCompletion:z,isMemberCompletion:!1,isNewIdentifierLocation:Ee,entries:_e}}function g(j){switch(j){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return e.Debug.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case void 0:return"";default:return e.Debug.assertNever(j)}}var m;(function(j){j[j.Paths=0]="Paths",j[j.Properties=1]="Properties",j[j.Types=2]="Types"})(m||(m={}));function A(j,z,Ee,_e,ke,Pe,Ie){var Fe=K(z.parent);switch(Fe.kind){case 195:{var ve=K(Fe.parent);switch(ve.kind){case 177:{var ge=ve,Be=e.findAncestor(Fe,function(Cr){return Cr.parent===ge});return Be?{kind:2,types:F(_e.getTypeArgumentConstraint(Be)),isNewIdentifier:!1}:void 0}case 193:var de=ve,De=de.indexType,qe=de.objectType;return e.rangeContainsPosition(De,Ee)?k(_e.getTypeFromTypeNode(qe)):void 0;case 199:return{kind:0,paths:O(j,z,ke,Pe,_e,Ie)};case 186:{if(!e.isTypeReferenceNode(ve.parent))return;var Xe=ae(ve,Fe),Se=F(_e.getTypeArgumentConstraint(ve)).filter(function(Cr){return!e.contains(Xe,Cr.value)});return{kind:2,types:Se,isNewIdentifier:!1}}default:return}}case 294:return e.isObjectLiteralExpression(Fe.parent)&&Fe.name===z?S(_e,Fe.parent):or();case 206:{var Le=Fe,Ye=Le.expression,Dr=Le.argumentExpression;return z===e.skipParentheses(Dr)?k(_e.getTypeAtLocation(Ye)):void 0}case 207:case 208:if(!Y(z)&&!e.isImportCall(Fe)){var br=e.SignatureHelp.getArgumentInfoForCompletions(z,Ee,j);return br?y(br,_e):or()}case 265:case 271:case 276:return{kind:0,paths:O(j,z,ke,Pe,_e,Ie)};default:return or()}function or(){return{kind:2,types:F(e.getContextualTypeFromParent(z,_e)),isNewIdentifier:!1}}}function K(j){switch(j.kind){case 190:return e.walkUpParenthesizedTypes(j);case 211:return e.walkUpParenthesizedExpressions(j);default:return j}}function ae(j,z){return e.mapDefined(j.types,function(Ee){return Ee!==z&&e.isLiteralTypeNode(Ee)&&e.isStringLiteral(Ee.literal)?Ee.literal.text:void 0})}function y(j,z){var Ee=!1,_e=new e.Map,ke=[];z.getResolvedSignature(j.invocation,ke,j.argumentCount);var Pe=e.flatMap(ke,function(Ie){if(!(!e.signatureHasRestParameter(Ie)&&j.argumentCount>Ie.parameters.length)){var Fe=z.getParameterType(Ie,j.argumentIndex);return Ee=Ee||!!(Fe.flags&4),F(Fe,_e)}});return{kind:2,types:Pe,isNewIdentifier:Ee}}function k(j){return j&&{kind:1,symbols:e.filter(j.getApparentProperties(),function(z){return!(z.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(z.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(j)}}function S(j,z){var Ee=j.getContextualType(z);if(Ee){var _e=j.getContextualType(z,4),ke=n.getPropertiesForObjectExpression(Ee,_e,z,j);return{kind:1,symbols:ke,hasIndexSignature:e.hasIndexSignature(Ee)}}}function F(j,z){return z===void 0&&(z=new e.Map),j?(j=e.skipConstraint(j),j.isUnion()?e.flatMap(j.types,function(Ee){return F(Ee,z)}):j.isStringLiteral()&&!(j.flags&1024)&&e.addToSeen(z,j.value)?[j]:e.emptyArray):e.emptyArray}function B(j,z,Ee){return{name:j,kind:z,extension:Ee}}function N(j){return B(j,"directory",void 0)}function w(j,z,Ee){var _e=q(j,z),ke=j.length===0?void 0:e.createTextSpan(z,j.length);return Ee.map(function(Pe){var Ie=Pe.name,Fe=Pe.kind,ve=Pe.extension;return Math.max(Ie.indexOf(e.directorySeparator),Ie.indexOf(e.altDirectorySeparator))!==-1?{name:Ie,kind:Fe,extension:ve,span:ke}:{name:Ie,kind:Fe,extension:ve,span:_e}})}function O(j,z,Ee,_e,ke,Pe){return w(z.text,z.getStart(j)+1,U(j,z,Ee,_e,ke,Pe))}function U(j,z,Ee,_e,ke,Pe){var Ie=e.normalizeSlashes(z.text),Fe=j.path,ve=e.getDirectoryPath(Fe);return J(Ie)||!Ee.baseUrl&&(e.isRootedDiskPath(Ie)||e.isUrl(Ie))?ee(Ie,ve,Ee,_e,Fe,ge()):I(Ie,ve,Ee,_e,ke);function ge(){var Be=e.isStringLiteralLike(z)?e.getModeForUsageLocation(j,z):void 0;return Pe.importModuleSpecifierEnding==="js"||Be===e.ModuleKind.ESNext?2:0}}function Q(j,z){return z===void 0&&(z=0),{extensions:e.flatten(ne(j)),includeExtensionsOption:z}}function ee(j,z,Ee,_e,ke,Pe){var Ie=Q(Ee,Pe);return Ee.rootDirs?X(Ee.rootDirs,j,z,Ie,Ee,_e,ke):Z(j,z,Ie,_e,ke)}function ne(j){var z=e.getSupportedExtensions(j);return e.getEmitModuleResolutionKind(j)===e.ModuleResolutionKind.NodeJs?e.getSupportedExtensionsWithJsonIfResolveJsonModule(j,z):z}function M(j,z,Ee,_e){j=j.map(function(Pe){return e.normalizePath(e.isRootedDiskPath(Pe)?Pe:e.combinePaths(z,Pe))});var ke=e.firstDefined(j,function(Pe){return e.containsPath(Pe,Ee,z,_e)?Ee.substr(Pe.length):void 0});return e.deduplicate(Gt(Gt([],j.map(function(Pe){return e.combinePaths(Pe,ke)}),!0),[Ee],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function X(j,z,Ee,_e,ke,Pe,Ie){var Fe=ke.project||Pe.getCurrentDirectory(),ve=!(Pe.useCaseSensitiveFileNames&&Pe.useCaseSensitiveFileNames()),ge=M(j,Fe,Ee,ve);return e.flatMap(ge,function(Be){return Z(z,Be,_e,Pe,Ie)})}var G;(function(j){j[j.Exclude=0]="Exclude",j[j.Include=1]="Include",j[j.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"})(G||(G={}));function Z(j,z,Ee,_e,ke,Pe){var Ie=Ee.extensions,Fe=Ee.includeExtensionsOption;Pe===void 0&&(Pe=[]),j===void 0&&(j=""),j=e.normalizeSlashes(j),e.hasTrailingDirectorySeparator(j)||(j=e.getDirectoryPath(j)),j===""&&(j="."+e.directorySeparator),j=e.ensureTrailingDirectorySeparator(j);var ve=e.resolvePath(z,j),ge=e.hasTrailingDirectorySeparator(ve)?ve:e.getDirectoryPath(ve),Be=!(_e.useCaseSensitiveFileNames&&_e.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(_e,ge))return Pe;var de=e.tryReadDirectory(_e,ge,Ie,void 0,["./*"]);if(de){for(var De=new e.Map,qe=0,Xe=de;qe=Xe.pos&&z<=Xe.end});if(Ie){var Fe=j.text.slice(Ie.pos,z),ve=Te.exec(Fe);if(ve){var ge=ve[1],Be=ve[2],de=ve[3],De=e.getDirectoryPath(j.path),qe=Be==="path"?Z(de,De,Q(Ee,1),_e,j.path):Be==="types"?te(_e,Ee,De,b(de),Q(Ee)):e.Debug.fail();return w(de,Ie.pos+ge.length,qe)}}}function te(j,z,Ee,_e,ke,Pe){Pe===void 0&&(Pe=[]);for(var Ie=new e.Map,Fe=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(z,j)})||e.emptyArray,ve=0,ge=Fe;ve=2&&j.charCodeAt(0)===46){var z=j.length>=3&&j.charCodeAt(1)===46?2:1,Ee=j.charCodeAt(z);return Ee===47||Ee===92}return!1}var Te=/^(\/\/\/\s*"),Ze=e.createTextSpanFromNode(be.tagName),xr={name:me,kind:"class",kindModifiers:void 0,sortText:c.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:Ze,entries:[xr]}}}function I(ue,je,be,We,$){e.getNameTable(ue).forEach(function(Ne,me){if(Ne!==je){var Ze=e.unescapeLeadingUnderscores(me);!be.has(Ze)&&e.isIdentifierText(Ze,We)&&(be.add(Ze),$.push({name:Ze,kind:"warning",kindModifiers:"",sortText:c.JavascriptIdentifiers,isFromUncheckedFile:!0}))}})}function b(ue,je,be){return typeof be=="object"?e.pseudoBigIntToString(be)+"n":e.isString(be)?e.quote(ue,je,be):JSON.stringify(be)}function D(ue,je,be){return{name:b(ue,je,be),kind:"string",kindModifiers:"",sortText:c.LocationPriority}}function C(ue,je,be,We,$,Ne,me,Ze,xr,fr,dr,et,yt,jr,rr,Ir,Or,zr,gt,vt,ut){var ht,xt,wt,Qt=e.getReplacementSpanForContextToken(be),_t,rn,sa=R(dr),ba,Kn,na=Ze.getTypeChecker(),jn=dr&&y(dr),en=dr&&V(dr)||fr;if(dr&&x(dr))wt=fr?"this".concat(jn?"?.":"","[").concat(Te(Ne,zr,xr),"]"):"this".concat(jn?"?.":".").concat(xr);else if((en||jn)&&yt){wt=en?fr?"[".concat(Te(Ne,zr,xr),"]"):"[".concat(xr,"]"):xr,(jn||yt.questionDotToken)&&(wt="?.".concat(wt));var St=e.findChildOfKind(yt,24,Ne)||e.findChildOfKind(yt,28,Ne);if(!St)return;var Ut=e.startsWith(xr,yt.name.text)?yt.name.end:St.end;Qt=e.createTextSpanFromBounds(St.getStart(Ne),Ut)}if(jr&&(wt===void 0&&(wt=xr),wt="{".concat(wt,"}"),typeof jr!="boolean"&&(Qt=e.createTextSpanFromNode(jr,Ne))),dr&&ae(dr)&&yt){wt===void 0&&(wt=xr);var qt=e.findPrecedingToken(yt.pos,Ne),Mn="";qt&&e.positionIsASICandidate(qt.end,qt.parent,Ne)&&(Mn=";"),Mn+="(await ".concat(yt.expression.getText(),")"),wt=fr?"".concat(Mn).concat(wt):"".concat(Mn).concat(jn?"?.":".").concat(wt),Qt=e.createTextSpanFromBounds(yt.getStart(Ne),yt.end)}if(m(dr)&&(ba=[e.textPart(dr.moduleSpecifier)],rr&&(ht=J(xr,rr,We,dr,Ir,Or,zr),wt=ht.insertText,Qt=ht.replacementSpan,rn=zr.includeCompletionsWithSnippetText?!0:void 0)),zr.includeCompletionsWithClassMemberSnippets&&zr.includeCompletionsWithInsertText&>===3&&_(ue,$)){var dn=void 0;xt=d(me,Ze,Or,zr,xr,ue,$,We),wt=xt.insertText,rn=xt.isSnippet,dn=xt.importAdder,dn!=null&&dn.hasFixes()&&(Kn=!0,sa=a.ClassMemberSnippet)}if(vt&&!ut&&zr.includeCompletionsWithSnippetText&&zr.jsxAttributeCompletionStyle&&zr.jsxAttributeCompletionStyle!=="none"){var oa=zr.jsxAttributeCompletionStyle==="braces",pt=na.getTypeOfSymbolAtLocation(ue,$);zr.jsxAttributeCompletionStyle==="auto"&&!(pt.flags&528)&&!(pt.flags&1048576&&e.find(pt.types,function(mt){return!!(mt.flags&528)}))&&(pt.flags&402653316||pt.flags&1048576&&e.every(pt.types,function(mt){return!!(mt.flags&402686084)})?(wt="".concat(e.escapeSnippetText(xr),"=").concat(e.quote(Ne,zr,"$1")),rn=!0):oa=!0),oa&&(wt="".concat(e.escapeSnippetText(xr),"={$1}"),rn=!0)}if(!(wt!==void 0&&!zr.includeCompletionsWithInsertText))return(g(dr)||m(dr))&&(_t=ce(dr),Kn=!rr),{name:xr,kind:e.SymbolDisplay.getSymbolKind(na,ue,$),kindModifiers:e.SymbolDisplay.getSymbolModifiers(na,ue),sortText:je,source:sa,hasAction:Kn?!0:void 0,isRecommended:Ae(ue,et,na)||void 0,insertText:wt,replacementSpan:Qt,sourceDisplay:ba,isSnippet:rn,isPackageJsonImport:K(dr)||void 0,isImportStatementCompletion:!!rr||void 0,data:_t}}function _(ue,je){if(e.isInJSFile(je))return!1;var be=106500;return!!(ue.flags&be)&&(e.isClassLike(je)||je.parent&&je.parent.parent&&e.isClassElement(je.parent)&&je===je.parent.name&&e.isClassLike(je.parent.parent)||je.parent&&e.isSyntaxList(je)&&e.isClassLike(je.parent))}function d(ue,je,be,We,$,Ne,me,Ze){var xr=e.findAncestor(me,e.isClassLike);if(!xr)return{insertText:$};var fr,dr=$,et=je.getTypeChecker(),yt=me.getSourceFile(),jr=te({removeComments:!0,module:be.module,target:be.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(be,e.maybeBind(ue,ue.getNewLine)))}),rr=e.codefix.createImportAdder(yt,je,We,ue),Ir;if(We.includeCompletionsWithSnippetText){fr=!0;var Or=e.factory.createExpressionStatement(e.factory.createIdentifier(""));e.setSnippetElement(Or,{kind:0,order:0}),Ir=e.factory.createBlock([Or],!0)}else Ir=e.factory.createBlock([],!0);var zr=0,gt=Ze&&P(Ze)===126,vt=[];return e.codefix.addNewNodeForMemberSymbol(Ne,xr,yt,{program:je,host:ue},We,rr,function(ut){var ht=0;gt&&(ht|=128),e.isClassElement(ut)&&et.getMemberOverrideModifierStatus(xr,ut)===1&&(ht|=16384);var xt=0;vt.length||(Ze&&(xt=h(Ze)),zr=ut.modifierFlagsCache|ht|xt),ut=e.factory.updateModifiers(ut,zr&~xt),vt.push(ut)},Ir,2,gt),vt.length&&(dr=jr.printSnippetList(131073,e.factory.createNodeArray(vt),yt)),{insertText:dr,isSnippet:fr,importAdder:rr}}function h(ue){var je=0,be;return(be=P(ue))&&(je|=e.modifierToFlag(be)),e.isPropertyDeclaration(ue.parent)&&(je|=e.modifiersToFlags(ue.parent.modifiers)),je}function P(ue){if(e.isModifier(ue))return ue.kind;if(e.isIdentifier(ue)&&ue.originalKeywordKind&&e.isModifierKind(ue.originalKeywordKind))return ue.originalKeywordKind}function te(ue){var je=e.createPrinter(ue),be=e.createTextWriter(e.getNewLineCharacter(ue)),We=On(On({},be),{write:function(Ne){return be.write(e.escapeSnippetText(Ne))},nonEscapingWrite:be.write,writeLiteral:function(Ne){return be.writeLiteral(e.escapeSnippetText(Ne))},writeStringLiteral:function(Ne){return be.writeStringLiteral(e.escapeSnippetText(Ne))},writeSymbol:function(Ne,me){return be.writeSymbol(e.escapeSnippetText(Ne),me)},writeParameter:function(Ne){return be.writeParameter(e.escapeSnippetText(Ne))},writeComment:function(Ne){return be.writeComment(e.escapeSnippetText(Ne))},writeProperty:function(Ne){return be.writeProperty(e.escapeSnippetText(Ne))}});return{printSnippetList:$};function $(Ne,me,Ze){return We.clear(),je.writeList(Ne,me,Ze,We),We.getText()}}function ce(ue){var je=ue.fileName?void 0:e.stripQuotes(ue.moduleSymbol.name),be=ue.isFromPackageJson?!0:void 0;if(m(ue)){var We={exportName:ue.exportName,moduleSpecifier:ue.moduleSpecifier,ambientModuleName:je,fileName:ue.fileName,isPackageJsonImport:be};return We}var $={exportName:ue.exportName,exportMapKey:ue.exportMapKey,fileName:ue.fileName,ambientModuleName:ue.fileName?void 0:e.stripQuotes(ue.moduleSymbol.name),isPackageJsonImport:ue.isFromPackageJson?!0:void 0};return $}function q(ue,je,be){var We=ue.exportName==="default",$=!!ue.isPackageJsonImport;if(N(ue)){var Ne={kind:32,exportName:ue.exportName,moduleSpecifier:ue.moduleSpecifier,symbolName:je,fileName:ue.fileName,moduleSymbol:be,isDefaultExport:We,isFromPackageJson:$};return Ne}var me={kind:4,exportName:ue.exportName,exportMapKey:ue.exportMapKey,symbolName:je,fileName:ue.fileName,moduleSymbol:be,isDefaultExport:We,isFromPackageJson:$};return me}function J(ue,je,be,We,$,Ne,me){var Ze,xr,fr,dr=je.getSourceFile(),et=e.createTextSpanFromNode(e.findAncestor(je,e.or(e.isImportDeclaration,e.isImportEqualsDeclaration))||je,dr),yt=e.quote(dr,me,We.moduleSpecifier),jr=We.isDefaultExport?1:We.exportName==="export="?2:0,rr=me.includeCompletionsWithSnippetText?"$1":"",Ir=e.codefix.getImportKind(dr,jr,Ne,!0),Or=((xr=(Ze=e.tryCast(je,e.isImportDeclaration))===null||Ze===void 0?void 0:Ze.importClause)===null||xr===void 0?void 0:xr.isTypeOnly)||((fr=e.tryCast(je,e.isImportEqualsDeclaration))===null||fr===void 0?void 0:fr.isTypeOnly),zr=an(je,be),gt=Or?" ".concat(e.tokenToString(151)," "):" ",vt=zr?"".concat(e.tokenToString(151)," "):"",ut=$?";":"";switch(Ir){case 3:return{replacementSpan:et,insertText:"import".concat(gt).concat(e.escapeSnippetText(ue)).concat(rr," = require(").concat(yt,")").concat(ut)};case 1:return{replacementSpan:et,insertText:"import".concat(gt).concat(e.escapeSnippetText(ue)).concat(rr," from ").concat(yt).concat(ut)};case 2:return{replacementSpan:et,insertText:"import".concat(gt,"* as ").concat(e.escapeSnippetText(ue)," from ").concat(yt).concat(ut)};case 0:return{replacementSpan:et,insertText:"import".concat(gt,"{ ").concat(vt).concat(e.escapeSnippetText(ue)).concat(rr," } from ").concat(yt).concat(ut)}}}function Te(ue,je,be){return/^\d+$/.test(be)?be:e.quote(ue,je,be)}function Ae(ue,je,be){return ue===je||!!(ue.flags&1048576)&&be.getExportSymbolOfSymbol(ue)===je}function R(ue){if(g(ue))return e.stripQuotes(ue.moduleSymbol.name);if(m(ue))return ue.moduleSpecifier;if((ue==null?void 0:ue.kind)===1)return a.ThisProperty}function Y(ue,je,be,We,$,Ne,me,Ze,xr,fr,dr,et,yt,jr,rr,Ir,Or,zr,gt,vt,ut,ht,xt){for(var wt,Qt=e.timestamp(),_t=Fn($),rn=e.probablyUsesSemicolons(Ne),sa=Ze.getTypeChecker(),ba=new e.Map,Kn=0;Kn0&&(mt=e.concatenate(mt,ta(Pn,e.Debug.checkDefined(da)))),Di(),1}function tn(){if(!ut)return 0;var bt=ut.kind===18||ut.kind===27?e.tryCast(ut.parent,e.isNamedImportsOrExports):e.isTypeKeywordTokenOrIdentifier(ut)?e.tryCast(ut.parent.parent,e.isNamedImportsOrExports):void 0;if(!bt)return 0;e.isTypeKeywordTokenOrIdentifier(ut)||(jn=8);var Pn=(bt.kind===268?bt.parent.parent:bt.parent).moduleSpecifier;if(!Pn)return en=!0,bt.kind===268?2:0;var da=fr.getSymbolAtLocation(Pn);if(!da)return en=!0,2;dn=3,en=!1;var ei=fr.getExportsAndPropertiesOfModule(da),bi=new e.Set(bt.elements.filter(function(ka){return!us(ka)}).map(function(ka){return(ka.propertyName||ka.name).escapedText})),xi=ei.filter(function(ka){return ka.escapedName!=="default"&&!bi.has(ka.escapedName)});return mt=e.concatenate(mt,xi),xi.length||(jn=0),1}function Vn(){var bt,Pn=ut&&(ut.kind===18||ut.kind===27)?e.tryCast(ut.parent,e.isNamedExports):void 0;if(!Pn)return 0;var da=e.findAncestor(Pn,e.or(e.isSourceFile,e.isModuleDeclaration));return dn=5,en=!1,(bt=da.locals)===null||bt===void 0||bt.forEach(function(ei,bi){var xi,ka;mt.push(ei),!((ka=(xi=da.symbol)===null||xi===void 0?void 0:xi.exports)===null||ka===void 0)&&ka.has(bi)&&(It[e.getSymbolId(ei)]=12)}),1}function Re(){var bt=kr(be,ut,na,$);if(!bt)return 0;if(dn=3,en=!0,jn=ut.kind===41?0:e.isClassLike(bt)?2:3,!e.isClassLike(bt))return 1;var Pn=ut.kind===26?ut.parent.parent:ut.parent,da=e.isClassElement(Pn)?e.getEffectiveModifierFlags(Pn):0;if(ut.kind===79&&!us(ut))switch(ut.getText()){case"private":da=da|8;break;case"static":da=da|32;break;case"override":da=da|16384;break}if(e.isClassStaticBlockDeclaration(Pn)&&(da|=32),!(da&8)){var ei=e.isClassLike(bt)&&da&16384?e.singleElementArray(e.getEffectiveBaseTypeNode(bt)):e.getAllSuperTypeNodes(bt),bi=e.flatMap(ei,function(xi){var ka=fr.getTypeAtLocation(xi);return da&32?(ka==null?void 0:ka.symbol)&&fr.getPropertiesOfType(fr.getTypeOfSymbolAtLocation(ka.symbol,bt)):ka&&fr.getPropertiesOfType(ka)});mt=e.concatenate(mt,Ji(bi,bt.members,da))}return 1}function ie(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 18:case 27:if(e.isObjectLiteralExpression(Pn)||e.isObjectBindingPattern(Pn))return Pn;break;case 41:return e.isMethodDeclaration(Pn)?e.tryCast(Pn.parent,e.isObjectLiteralExpression):void 0;case 79:return bt.text==="async"&&e.isShorthandPropertyAssignment(bt.parent)?bt.parent.parent:void 0}}}function _r(bt){return!!bt.parent&&e.isParameter(bt.parent)&&e.isConstructorDeclaration(bt.parent.parent)&&(e.isParameterPropertyModifier(bt.kind)||e.isDeclarationName(bt))}function oe(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 20:case 27:return e.isConstructorDeclaration(bt.parent)?bt.parent:void 0;default:if(_r(bt))return Pn.parent}}}function Ge(bt){if(bt){var Pn,da=e.findAncestor(bt.parent,function(ei){return e.isClassLike(ei)?"quit":e.isFunctionLikeDeclaration(ei)&&Pn===ei.body?!0:(Pn=ei,!1)});return da&&da}}function $e(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(Pn&&(Pn.kind===278||Pn.kind===279)){if(bt.kind===31){var da=e.findPrecedingToken(bt.pos,be,void 0);if(!Pn.typeArguments||da&&da.kind===43)break}return Pn}else if(Pn.kind===284)return Pn.parent.parent;break;case 10:if(Pn&&(Pn.kind===284||Pn.kind===286))return Pn.parent.parent;break;case 19:if(Pn&&Pn.kind===287&&Pn.parent&&Pn.parent.kind===284)return Pn.parent.parent.parent;if(Pn&&Pn.kind===286)return Pn.parent.parent;break}}}function hr(bt){var Pn=bt.parent,da=Pn.kind;switch(bt.kind){case 27:return da===253||Dn(bt)||da===236||da===259||Dt(da)||da===257||da===201||da===258||e.isClassLike(Pn)&&!!Pn.typeParameters&&Pn.typeParameters.end>=bt.pos;case 24:return da===201;case 58:return da===202;case 22:return da===201;case 20:return da===291||Dt(da);case 18:return da===259;case 29:return da===256||da===225||da===257||da===258||e.isFunctionLikeKind(da);case 124:return da===166&&!e.isClassLike(Pn.parent);case 25:return da===163||!!Pn.parent&&Pn.parent.kind===201;case 123:case 121:case 122:return da===163&&!e.isConstructorDeclaration(Pn.parent);case 127:return da===269||da===274||da===267;case 136:case 148:return!Wr(bt);case 79:if(da===269&&bt===Pn.name&&bt.text==="type")return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 137:return!0;case 151:return da!==269;case 41:return e.isFunctionLike(bt.parent)&&!e.isMethodDeclaration(bt.parent)}if(Me(cr(bt))&&Wr(bt)||_r(bt)&&(!e.isIdentifier(bt)||e.isParameterPropertyModifier(cr(bt))||us(bt)))return!1;switch(cr(bt)){case 126:case 84:case 85:case 135:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 131:return e.isPropertyDeclaration(bt.parent)}var ei=e.findAncestor(bt.parent,e.isClassLike);if(ei&&bt===vt&&Xr(bt,$))return!1;var bi=e.getAncestor(bt.parent,166);if(bi&&bt!==vt&&e.isClassLike(vt.parent.parent)&&$<=vt.end){if(Xr(bt,vt.end))return!1;if(bt.kind!==63&&(e.isInitializedProperty(bi)||e.hasType(bi)))return!0}return e.isDeclarationName(bt)&&!e.isShorthandPropertyAssignment(bt.parent)&&!e.isJsxAttribute(bt.parent)&&!(e.isClassLike(bt.parent)&&(bt!==vt||$>vt.end))}function Xr(bt,Pn){return bt.kind!==63&&(bt.kind===26||!e.positionsAreOnSameLine(bt.end,Pn,be))}function Dt(bt){return e.isFunctionLikeKind(bt)&&bt!==170}function Jt(bt){if(bt.kind===8){var Pn=bt.getFullText();return Pn.charAt(Pn.length-1)==="."}return!1}function Dn(bt){return bt.parent.kind===254&&!e.isPossiblyTypeArgumentPosition(bt,be,fr)}function ta(bt,Pn){if(Pn.length===0)return bt;for(var da=new e.Set,ei=new e.Set,bi=0,xi=Pn;bi=0&&!S(E,I[b],115);b--);return e.forEach(m(Z.statement),function(D){K(Z,D)&&S(E,D.getFirstToken(),81,86)}),E}function B(Z){var E=ae(Z);if(E)switch(E.kind){case 241:case 242:case 243:case 239:case 240:return F(E);case 248:return N(E)}}function N(Z){var E=[];return S(E,Z.getFirstToken(),107),e.forEach(Z.caseBlock.clauses,function(I){S(E,I.getFirstToken(),82,88),e.forEach(m(I),function(b){K(Z,b)&&S(E,b.getFirstToken(),81)})}),E}function w(Z,E){var I=[];if(S(I,Z.getFirstToken(),111),Z.catchClause&&S(I,Z.catchClause.getFirstToken(),83),Z.finallyBlock){var b=e.findChildOfKind(Z,96,E);S(I,b,96)}return I}function O(Z,E){var I=g(Z);if(I){var b=[];return e.forEach(V(I),function(D){b.push(e.findChildOfKind(D,109,E))}),e.isFunctionBlock(I)&&e.forEachReturnStatement(I,function(D){b.push(e.findChildOfKind(D,105,E))}),b}}function U(Z,E){var I=e.getContainingFunction(Z);if(I){var b=[];return e.forEachReturnStatement(e.cast(I.body,e.isBlock),function(D){b.push(e.findChildOfKind(D,105,E))}),e.forEach(V(I.body),function(D){b.push(e.findChildOfKind(D,109,E))}),b}}function Q(Z){var E=e.getContainingFunction(Z);if(E){var I=[];return E.modifiers&&E.modifiers.forEach(function(b){S(I,b,131)}),e.forEachChild(E,function(b){ne(b,function(D){e.isAwaitExpression(D)&&S(I,D.getFirstToken(),132)})}),I}}function ee(Z){var E=e.getContainingFunction(Z);if(E){var I=[];return e.forEachChild(E,function(b){ne(b,function(D){e.isYieldExpression(D)&&S(I,D.getFirstToken(),125)})}),I}}function ne(Z,E){E(Z),!e.isFunctionLike(Z)&&!e.isClassLike(Z)&&!e.isInterfaceDeclaration(Z)&&!e.isModuleDeclaration(Z)&&!e.isTypeAliasDeclaration(Z)&&!e.isTypeNode(Z)&&e.forEachChild(Z,function(I){return ne(I,E)})}function M(Z,E){for(var I=X(Z,E),b=[],D=0;D=C.end;h--)if(!e.isWhiteSpaceSingleLine(E.text.charCodeAt(h))){d=!1;break}if(d){b.push({fileName:E.fileName,textSpan:e.createTextSpanFromBounds(C.getStart(),_.end),kind:"reference"}),D++;continue}}b.push(f(I[D],E))}return b}function X(Z,E){for(var I=[];e.isIfStatement(Z.parent)&&Z.parent.elseStatement===Z;)Z=Z.parent;for(;;){var b=Z.getChildren(E);S(I,b[0],99);for(var D=b.length-1;D>=0&&!S(I,b[D],91);D--);if(!Z.elseStatement||!e.isIfStatement(Z.elseStatement))break;Z=Z.elseStatement}return I}function G(Z,E){return!!e.findAncestor(Z.parent,function(I){return e.isLabeledStatement(I)?I.label.escapedText===E:"quit"})}})(e.DocumentHighlights||(e.DocumentHighlights={}))})(gr||(gr={}));var gr;(function(e){function n(p){return!!p.sourceFile}function c(p,x){return f(p,x)}e.createDocumentRegistry=c;function f(p,x,V){x===void 0&&(x="");var g=new e.Map,m=e.createGetCanonicalFileName(!!p);function A(){var O=e.arrayFrom(g.keys()).filter(function(U){return U&&U.charAt(0)==="_"}).map(function(U){var Q=g.get(U),ee=[];return Q.forEach(function(ne,M){n(ne)?ee.push({name:M,scriptKind:ne.sourceFile.scriptKind,refCount:ne.languageServiceRefCount}):ne.forEach(function(X,G){return ee.push({name:M,scriptKind:G,refCount:X.languageServiceRefCount})})}),ee.sort(function(ne,M){return M.refCount-ne.refCount}),{bucket:U,sourceFiles:ee}});return JSON.stringify(O,void 0,2)}function K(O,U,Q,ee,ne){var M=e.toPath(O,x,m),X=a(U);return ae(O,M,U,X,Q,ee,ne)}function ae(O,U,Q,ee,ne,M,X){return F(O,U,Q,ee,ne,M,!0,X)}function y(O,U,Q,ee,ne){var M=e.toPath(O,x,m),X=a(U);return k(O,M,U,X,Q,ee,ne)}function k(O,U,Q,ee,ne,M,X){return F(O,U,Q,ee,ne,M,!1,X)}function S(O,U){var Q=n(O)?O:O.get(e.Debug.checkDefined(U,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(U===void 0||!Q||Q.sourceFile.scriptKind===U,"Script kind should match provided ScriptKind:".concat(U," and sourceFile.scriptKind: ").concat(Q==null?void 0:Q.sourceFile.scriptKind,", !entry: ").concat(!Q)),Q}function F(O,U,Q,ee,ne,M,X,G){G=e.ensureScriptKind(O,G);var Z=G===6?100:e.getEmitScriptTarget(Q),E=e.getOrUpdate(g,ee,function(){return new e.Map}),I=E.get(U),b=I&&S(I,G);if(!b&&V){var D=V.getDocument(ee,U);D&&(e.Debug.assert(X),b={sourceFile:D,languageServiceRefCount:0},C())}if(b)b.sourceFile.version!==M&&(b.sourceFile=e.updateLanguageServiceSourceFile(b.sourceFile,ne,M,ne.getChangeRange(b.sourceFile.scriptSnapshot)),V&&V.setDocument(ee,U,b.sourceFile)),X&&b.languageServiceRefCount++;else{var D=e.createLanguageServiceSourceFile(O,ne,Z,M,!1,G);V&&V.setDocument(ee,U,D),b={sourceFile:D,languageServiceRefCount:1},C()}return e.Debug.assert(b.languageServiceRefCount!==0),b.sourceFile;function C(){if(!I)E.set(U,b);else if(n(I)){var _=new e.Map;_.set(I.sourceFile.scriptKind,I),_.set(G,b),E.set(U,_)}else I.set(G,b)}}function B(O,U,Q){var ee=e.toPath(O,x,m),ne=a(U);return N(ee,ne,Q)}function N(O,U,Q){var ee=e.Debug.checkDefined(g.get(U)),ne=ee.get(O),M=S(ne,Q);M.languageServiceRefCount--,e.Debug.assert(M.languageServiceRefCount>=0),M.languageServiceRefCount===0&&(n(ne)?ee.delete(O):(ne.delete(Q),ne.size===1&&ee.set(O,e.firstDefinedIterator(ne.values(),e.identity))))}function w(O,U){return e.arrayFrom(g.entries(),function(Q){var ee=Q[0],ne=Q[1],M=ne.get(O),X=M&&S(M,U);return[ee,X&&X.languageServiceRefCount]})}return{acquireDocument:K,acquireDocumentWithKey:ae,updateDocument:y,updateDocumentWithKey:k,releaseDocument:B,releaseDocumentWithKey:N,getLanguageServiceRefCounts:w,reportStats:A,getKeyForCompilationSettings:a}}e.createDocumentRegistryInternal=f;function a(p){return e.sourceFileAffectingCompilerOptions.map(function(x){return e.getCompilerOptionValue(p,x)}).join("|")}})(gr||(gr={}));var gr;(function(e){(function(n){function c(O,U,Q,ee){var ne=V(O,Q,ee);return function(M,X,G){var Z=f(O,U,ne,X,Q,ee),E=Z.directImports,I=Z.indirectUsers;return On({indirectUsers:I},a(E,M,X.exportKind,Q,G))}}n.createImportTracker=c,function(O){O[O.Named=0]="Named",O[O.Default=1]="Default",O[O.ExportEquals=2]="ExportEquals"}(n.ExportKind||(n.ExportKind={})),function(O){O[O.Import=0]="Import",O[O.Export=1]="Export"}(n.ImportExport||(n.ImportExport={}));function f(O,U,Q,ee,ne,M){var X=ee.exportingModuleSymbol,G=ee.exportKind,Z=e.nodeSeenTracker(),E=e.nodeSeenTracker(),I=[],b=!!X.globalExports,D=b?void 0:[];return _(X),{directImports:I,indirectUsers:C()};function C(){if(b)return O;if(X.declarations)for(var q=0,J=X.declarations;q=0&&!(fr>$.end);){var dr=fr+xr;(fr===0||!e.isIdentifierPart(me.charCodeAt(fr-1),99))&&(dr===Ze||!e.isIdentifierPart(me.charCodeAt(dr),99))&&Ne.push(fr),fr=me.indexOf(We,fr+xr+1)}return Ne}function qe(be,We){var $=be.getSourceFile(),Ne=We.text,me=e.mapDefined(de($,Ne,be),function(Ze){return Ze===We||e.isJumpStatementTarget(Ze)&&e.getTargetLabel(Ze,Ne)===We?c(Ze):void 0});return[{definition:{type:1,node:We},references:me}]}function Xe(be,We){switch(be.kind){case 80:if(e.isJSDocMemberName(be.parent))return!0;case 79:return be.text.length===We.length;case 14:case 10:{var $=be;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess($)||e.isNameOfModuleDeclaration(be)||e.isExpressionOfExternalModuleImportEqualsDeclaration(be)||e.isCallExpression(be.parent)&&e.isBindableObjectDefinePropertyCall(be.parent)&&be.parent.arguments[1]===be)&&$.text.length===We.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(be)&&be.text.length===We.length;case 88:return We.length===7;default:return!1}}function Se(be,We,$,Ne){var me=e.flatMap(be,function(Ze){return $.throwIfCancellationRequested(),e.mapDefined(de(Ze,e.tokenToString(We),Ze),function(xr){if(xr.kind===We&&(!Ne||Ne(xr)))return c(xr)})});return me.length?[{definition:{type:2,node:me[0].node},references:me}]:void 0}function Le(be,We,$,Ne){return Ne===void 0&&(Ne=!0),$.cancellationToken.throwIfCancellationRequested(),Ye(be,be,We,$,Ne)}function Ye(be,We,$,Ne,me){if(Ne.markSearchedSymbols(We,$.allSearchSymbols))for(var Ze=0,xr=De(We,$.text,be);Ze0;Le--){var Xe=qe[Le];ne(de,Xe)}return[qe.length-1,qe[0]]}function ne(de,De){var qe=O(de,De);B(g,qe),V.push(g),m.push(A),A=void 0,g=qe}function M(){g.children&&(I(g.children,g),ce(g.children)),g=V.pop(),A=m.pop()}function X(de,De,qe){ne(de,qe),E(De),M()}function G(de){de.initializer&&ge(de.initializer)?(ne(de),e.forEachChild(de.initializer,E),M()):X(de,de.initializer)}function Z(de){return!e.hasDynamicName(de)||de.kind!==220&&e.isPropertyAccessExpression(de.name.expression)&&e.isIdentifier(de.name.expression.expression)&&e.idText(de.name.expression.expression)==="Symbol"}function E(de){var De;if(p.throwIfCancellationRequested(),!(!de||e.isToken(de)))switch(de.kind){case 170:var qe=de;X(qe,qe.body);for(var Xe=0,Se=qe.parameters;Xe0&&(ne(kr,He),e.forEachChild(kr.right,E),M()):e.isFunctionExpression(kr.right)||e.isArrowFunction(kr.right)?X(de,kr.right,He):(ne(kr,He),X(de,kr.right,Ve.name),M()),Q(Wr);return}case 7:case 9:{var Lr=de,He=pr===7?Lr.arguments[0]:Lr.arguments[0].expression,qr=Lr.arguments[1],lt=ee(de,He),Wr=lt[0],rt=lt[1];ne(de,rt),ne(de,e.setTextRange(e.factory.createIdentifier(qr.text),qr)),E(de.arguments[2]),M(),M(),Q(Wr);return}case 5:{var kr=de,Ve=kr.left,Rt=Ve.expression;if(e.isIdentifier(Rt)&&e.getElementOrPropertyAccessName(Ve)!=="prototype"&&A&&A.has(Rt.text)){e.isFunctionExpression(kr.right)||e.isArrowFunction(kr.right)?X(de,kr.right,Rt):e.isBindableStaticAccessExpression(Ve)&&(ne(kr,Rt),X(kr.left,kr.right,e.getNameOrArgument(Ve)),M());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(pr)}}default:e.hasJSDocNodes(de)&&e.forEach(de.jsDoc,function(an){e.forEach(an.tags,function(yn){e.isJSDocTypeAlias(yn)&&w(yn)})}),e.forEachChild(de,E)}}function I(de,De){var qe=new e.Map;e.filterMutate(de,function(Xe,Se){var Le=Xe.name||e.getNameOfDeclaration(Xe.node),Ye=Le&&S(Le);if(!Ye)return!0;var Dr=qe.get(Ye);if(!Dr)return qe.set(Ye,Xe),!0;if(Dr instanceof Array){for(var br=0,or=Dr;br0)return Be(qe)}switch(de.kind){case 303:var Xe=de;return e.isExternalModule(Xe)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Xe.fileName)))),'"'):"";case 270:return e.isExportAssignment(de)&&de.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:return e.getSyntacticModifierFlags(de)&512?"default":Fe(de);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return""}}function Ae(de){var De=[];function qe(Se){if(Xe(Se)&&(De.push(Se),Se.children))for(var Le=0,Ye=Se.children;Le0)return Be(e.declarationNameToString(de.name));if(e.isVariableDeclaration(De))return Be(e.declarationNameToString(De.name));if(e.isBinaryExpression(De)&&De.operatorToken.kind===63)return S(De.left).replace(f,"");if(e.isPropertyAssignment(De))return S(De.name);if(e.getSyntacticModifierFlags(de)&512)return"default";if(e.isClassLike(de))return"";if(e.isCallExpression(De)){var qe=ve(De.expression);if(qe!==void 0){if(qe=Be(qe),qe.length>a)return"".concat(qe," callback");var Xe=Be(e.mapDefined(De.arguments,function(Se){return e.isStringLiteralLike(Se)?Se.getText(x):void 0}).join(", "));return"".concat(qe,"(").concat(Xe,") callback")}}return""}function ve(de){if(e.isIdentifier(de))return de.text;if(e.isPropertyAccessExpression(de)){var De=ve(de.expression),qe=de.name.text;return De===void 0?qe:"".concat(De,".").concat(qe)}else return}function ge(de){switch(de.kind){case 213:case 212:case 225:return!0;default:return!1}}function Be(de){return de=de.length>a?de.substring(0,a)+"...":de,de.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(e.NavigationBar||(e.NavigationBar={}))})(gr||(gr={}));var gr;(function(e){(function(n){function c(Q,ee,ne,M,X,G){var Z=e.textChanges.ChangeTracker.fromContext({host:ne,formatContext:ee,preferences:X}),E=function(te){return e.stableSort(x(f(te,Q,M,G)),function(ce,q){return w(ce,q)})},I=Q.statements.filter(e.isImportDeclaration);P(I,E);var b=Q.statements.filter(e.isExportDeclaration);P(b,g);for(var D=0,C=Q.statements.filter(e.isAmbientModule);D0?C[0]:d[0],z=Y.length===0?J?void 0:e.factory.createNamedImports(e.emptyArray):d.length===0?e.factory.createNamedImports(Y):e.factory.updateNamedImports(d[0].importClause.namedBindings,Y);D&&J&&z?(Z.push(m(j,J,void 0)),Z.push(m((ee=d[0])!==null&&ee!==void 0?ee:j,void 0,z))):Z.push(m(j,J,z))}}return Z}n.coalesceImports=x;function V(Q){for(var ee,ne={defaultImports:[],namespaceImports:[],namedImports:[]},M={defaultImports:[],namespaceImports:[],namedImports:[]},X=0,G=Q;X1&&N.push(m(O,U,"comment"))}}function g(S,F,B,N){e.isJsxText(S)||V(S.pos,F,B,N)}function m(S,F,B){return y(e.createTextSpanFromBounds(S,F),B)}function A(S,F){switch(S.kind){case 234:if(e.isFunctionLike(S.parent))return K(S.parent,S,F);switch(S.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return X(S.parent);case 251:var B=S.parent;if(B.tryBlock===S)return X(S.parent);if(B.finallyBlock===S){var N=e.findChildOfKind(B,96,F);if(N)return X(N)}default:return y(e.createTextSpanFromNode(S,F),"code")}case 261:return X(S.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return X(S);case 183:return X(S,!1,!e.isTupleTypeNode(S.parent),22);case 288:case 289:return G(S.statements);case 204:return M(S);case 203:return M(S,22);case 277:return U(S);case 281:return Q(S);case 278:case 279:return ee(S.attributes);case 222:case 14:return ne(S);case 201:return X(S,!1,!e.isBindingElement(S.parent),22);case 213:return O(S);case 207:return w(S)}function w(Z){if(Z.arguments.length){var E=e.findChildOfKind(Z,20,F),I=e.findChildOfKind(Z,21,F);if(!(!E||!I||e.positionsAreOnSameLine(E.pos,I.pos,F)))return ae(E,I,Z,F,!1,!0)}}function O(Z){if(!(e.isBlock(Z.body)||e.positionsAreOnSameLine(Z.body.getFullStart(),Z.body.getEnd(),F))){var E=e.createTextSpanFromBounds(Z.body.getFullStart(),Z.body.getEnd());return y(E,"code",e.createTextSpanFromNode(Z))}}function U(Z){var E=e.createTextSpanFromBounds(Z.openingElement.getStart(F),Z.closingElement.getEnd()),I=Z.openingElement.tagName.getText(F),b="<"+I+">...";return y(E,"code",E,!1,b)}function Q(Z){var E=e.createTextSpanFromBounds(Z.openingFragment.getStart(F),Z.closingFragment.getEnd()),I="<>...";return y(E,"code",E,!1,I)}function ee(Z){if(Z.properties.length!==0)return m(Z.getStart(F),Z.getEnd(),"code")}function ne(Z){if(!(Z.kind===14&&Z.text.length===0))return m(Z.getStart(F),Z.getEnd(),"code")}function M(Z,E){return E===void 0&&(E=18),X(Z,!1,!e.isArrayLiteralExpression(Z.parent)&&!e.isCallExpression(Z.parent),E)}function X(Z,E,I,b,D){E===void 0&&(E=!1),I===void 0&&(I=!0),b===void 0&&(b=18),D===void 0&&(D=b===18?19:23);var C=e.findChildOfKind(S,b,F),_=e.findChildOfKind(S,D,F);return C&&_&&ae(C,_,Z,F,E,I)}function G(Z){return Z.length?y(e.createTextSpanFromRange(Z),"code"):void 0}}function K(S,F,B){var N=k(S,F,B),w=e.findChildOfKind(F,19,B);return N&&w&&ae(N,w,S,B,S.kind!==213)}function ae(S,F,B,N,w,O){w===void 0&&(w=!1),O===void 0&&(O=!0);var U=e.createTextSpanFromBounds(O?S.getFullStart():S.getStart(N),F.getEnd());return y(U,"code",e.createTextSpanFromNode(B,N),w)}function y(S,F,B,N,w){return B===void 0&&(B=S),N===void 0&&(N=!1),w===void 0&&(w="..."),{textSpan:S,kind:F,hintSpan:B,bannerText:w,autoCollapse:N}}function k(S,F,B){if(e.isNodeArrayMultiLine(S.parameters,B)){var N=e.findChildOfKind(S,20,B);if(N)return N}return e.findChildOfKind(F,18,B)}})(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(gr||(gr={}));var gr;(function(e){var n;(function(b){b[b.exact=0]="exact",b[b.prefix=1]="prefix",b[b.substring=2]="substring",b[b.camelCase=3]="camelCase"})(n=e.PatternMatchKind||(e.PatternMatchKind={}));function c(b,D){return{kind:b,isCaseSensitive:D}}function f(b){var D=new e.Map,C=b.trim().split(".").map(function(_){return y(_.trim())});if(!C.some(function(_){return!_.subWordTextChunks.length}))return{getFullMatch:function(_,d){return a(_,d,C,D)},getMatchForLastSegmentOfPattern:function(_){return V(_,e.last(C),D)},patternContainsDots:C.length>1}}e.createPatternMatcher=f;function a(b,D,C,_){var d=V(D,e.last(C),_);if(d&&!(C.length-1>b.length)){for(var h,P=C.length-2,te=b.length-1;P>=0;P-=1,te-=1)h=g(h,V(b[te],C[P],_));return h}}function p(b,D){var C=D.get(b);return C||D.set(b,C=ee(b)),C}function x(b,D,C){var _=F(b,D.textLowerCase);if(_===0)return c(D.text.length===b.length?n.exact:n.prefix,e.startsWith(b,D.text));if(D.isLowerCase){if(_===-1)return;for(var d=p(b,C),h=0,P=d;h0)return c(n.substring,!0);if(D.characterSpans.length>0){var ce=p(b,C),q=ae(b,ce,D,!1)?!0:ae(b,ce,D,!0)?!1:void 0;if(q!==void 0)return c(n.camelCase,q)}}}function V(b,D,C){if(I(D.totalTextChunk.text,function(q){return q!==32&&q!==42})){var _=x(b,D.totalTextChunk,C);if(_)return _}for(var d=D.subWordTextChunks,h,P=0,te=d;P=65&&b<=90)return!0;if(b<127||!e.isUnicodeIdentifierStart(b,99))return!1;var D=String.fromCharCode(b);return D===D.toUpperCase()}function S(b){if(b>=97&&b<=122)return!0;if(b<127||!e.isUnicodeIdentifierStart(b,99))return!1;var D=String.fromCharCode(b);return D===D.toLowerCase()}function F(b,D){for(var C=b.length-D.length,_=function(P){if(I(D,function(te,ce){return B(b.charCodeAt(ce+P))===te}))return{value:P}},d=0;d<=C;d++){var h=_(d);if(typeof h=="object")return h.value}return-1}function B(b){return b>=65&&b<=90?97+(b-65):b<127?b:String.fromCharCode(b).toLowerCase().charCodeAt(0)}function N(b){return b>=48&&b<=57}function w(b){return k(b)||S(b)||N(b)||b===95||b===36}function O(b){for(var D=[],C=0,_=0,d=0;d0&&(D.push(U(b.substr(C,_))),_=0)}return _>0&&D.push(U(b.substr(C,_))),D}function U(b){var D=b.toLowerCase();return{text:b,textLowerCase:D,isLowerCase:b===D,characterSpans:Q(b)}}function Q(b){return ne(b,!1)}e.breakIntoCharacterSpans=Q;function ee(b){return ne(b,!0)}e.breakIntoWordSpans=ee;function ne(b,D){for(var C=[],_=0,d=1;dae)break e;var Q=e.singleOrUndefined(e.getTrailingCommentRanges(y.text,O.end));if(Q&&Q.kind===2&&E(Q.pos,Q.end),f(y,ae,O)){if(e.isBlock(O)||e.isTemplateSpan(O)||e.isTemplateHead(O)||e.isTemplateTail(O)||w&&e.isTemplateHead(w)||e.isVariableDeclarationList(O)&&e.isVariableStatement(F)||e.isSyntaxList(O)&&e.isVariableDeclarationList(F)||e.isVariableDeclaration(O)&&e.isSyntaxList(F)&&B.length===1||e.isJSDocTypeExpression(O)||e.isJSDocSignature(O)||e.isJSDocTypeLiteral(O)){F=O;break}if(e.isTemplateSpan(F)&&U&&e.isTemplateMiddleOrTemplateTail(U)){var ee=O.getFullStart()-2,ne=U.getStart()+1;Z(ee,ne)}var M=e.isSyntaxList(O)&&m(w)&&A(U)&&!e.positionsAreOnSameLine(w.getStart(),U.getStart(),y),X=M?w.getEnd():O.getStart(),G=M?U.getStart():K(y,O);e.hasJSDocNodes(O)&&(!((k=O.jsDoc)===null||k===void 0)&&k.length)&&Z(e.first(O.jsDoc).getStart(),G),Z(X,G),(e.isStringLiteral(O)||e.isTemplateLiteral(O))&&Z(X+1,G-1),F=O;break}if(N===B.length-1)break e}}return S;function Z(I,b){if(I!==b){var D=e.createTextSpanFromBounds(I,b);(!S||!e.textSpansEqual(D,S.textSpan)&&e.textSpanIntersectsWithPosition(D,ae))&&(S=On({textSpan:D},S&&{parent:S}))}}function E(I,b){Z(I,b);for(var D=I;y.text.charCodeAt(D)===47;)D++;Z(D,b)}}n.getSmartSelectionRange=c;function f(ae,y,k){if(e.Debug.assert(k.pos<=y),y0&&e.last(J).kind===27&&Te++,Te}function U(q,J,Te,Ae){return e.Debug.assert(Te>=J.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(J)?e.isInsideTemplateLiteral(J,Te,Ae)?0:q+2:q+1}function Q(q,J,Te){var Ae=e.isNoSubstitutionTemplateLiteral(q.template)?1:q.template.templateSpans.length+1;return J!==0&&e.Debug.assertLessThan(J,Ae),{isTypeParameterList:!1,invocation:{kind:0,node:q},argumentsSpan:ne(q,Te),argumentIndex:J,argumentCount:Ae}}function ee(q,J){var Te=q.getFullStart(),Ae=e.skipTrivia(J.text,q.getEnd(),!1);return e.createTextSpan(Te,Ae-Te)}function ne(q,J){var Te=q.template,Ae=Te.getStart(),R=Te.getEnd();if(Te.kind===222){var Y=e.last(Te.templateSpans);Y.literal.getFullWidth()===0&&(R=e.skipTrivia(J.text,R,!1))}return e.createTextSpan(Ae,R-Ae)}function M(q,J,Te,Ae,R){for(var Y=function(Ee){e.Debug.assert(e.rangeContainsRange(Ee.parent,Ee),"Not a subspan",function(){return"Child: ".concat(e.Debug.formatSyntaxKind(Ee.kind),", parent: ").concat(e.Debug.formatSyntaxKind(Ee.parent.kind))});var _e=y(Ee,J,Te,Ae);if(_e)return{value:_e}},j=q;!e.isSourceFile(j)&&(R||!e.isBlock(j));j=j.parent){var z=Y(j);if(typeof z=="object")return z.value}}function X(q,J,Te){var Ae=q.getChildren(Te),R=Ae.indexOf(J);return e.Debug.assert(R>=0&&Ae.length>R+1),Ae[R+1]}function G(q){return q.kind===0?e.getInvokedExpression(q.node):q.called}function Z(q){return q.kind===0?q.node:q.kind===1?q.called:q.node}var E=70246400;function I(q,J,Te,Ae,R,Y){var j,z=Te.isTypeParameterList,Ee=Te.argumentCount,_e=Te.argumentsSpan,ke=Te.invocation,Pe=Te.argumentIndex,Ie=Z(ke),Fe=ke.kind===2?ke.symbol:R.getSymbolAtLocation(G(ke))||Y&&((j=J.declaration)===null||j===void 0?void 0:j.symbol),ve=Fe?e.symbolToDisplayParts(R,Fe,Y?Ae:void 0,void 0):e.emptyArray,ge=e.map(q,function(Cr){return _(Cr,ve,z,R,Ie,Ae)});Pe!==0&&e.Debug.assertLessThan(Pe,Ee);for(var Be=0,de=0,De=0;De1))for(var Xe=0,Se=0,Le=qe;Se=Ee){Be=de+Xe;break}Xe++}de+=qe.length}e.Debug.assert(Be!==-1);var Dr={items:e.flatMapToMutable(ge,e.identity),applicableSpan:_e,selectedItemIndex:Be,argumentIndex:Pe,argumentCount:Ee},br=Dr.items[Be];if(br.isVariadic){var or=e.findIndex(br.parameters,function(Cr){return!!Cr.isRest});-1P?h.substr(0,P-3)+"...":h}function _(h){var P=71286784,te={removeComments:!0},ce=e.createPrinter(te);return e.usingSingleLineStringWriter(function(q){var J=S.typeToTypeNode(h,void 0,P,q);e.Debug.assertIsDefined(J,"should always get typenode"),ce.writeNode(4,J,g,q)})}function d(h){return h==="undefined"}}n.provideInlayHints=x})(e.InlayHints||(e.InlayHints={}))})(gr||(gr={}));var gr;(function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function c(x){var V=e.createGetCanonicalFileName(x.useCaseSensitiveFileNames()),g=x.getCurrentDirectory(),m=new e.Map,A=new e.Map;return{tryGetSourcePosition:y,tryGetGeneratedPosition:k,toLineColumnOffset:N,clearCache:w};function K(O){return e.toPath(O,g,V)}function ae(O,U){var Q=K(O),ee=A.get(Q);if(ee)return ee;var ne;if(x.getDocumentPositionMapper)ne=x.getDocumentPositionMapper(O,U);else if(x.readFile){var M=B(O);ne=M&&e.getDocumentPositionMapper({getSourceFileLike:B,getCanonicalFileName:V,log:function(X){return x.log(X)}},O,e.getLineInfo(M.text,e.getLineStarts(M)),function(X){return!x.fileExists||x.fileExists(X)?x.readFile(X):void 0})}return A.set(Q,ne||e.identitySourceMapConsumer),ne||e.identitySourceMapConsumer}function y(O){if(e.isDeclarationFileName(O.fileName)){var U=S(O.fileName);if(U){var Q=ae(O.fileName).getSourcePosition(O);return!Q||Q===O?void 0:y(Q)||Q}}}function k(O){if(!e.isDeclarationFileName(O.fileName)){var U=S(O.fileName);if(U){var Q=x.getProgram();if(!Q.isSourceOfProjectReferenceRedirect(U.fileName)){var ee=Q.getCompilerOptions(),ne=e.outFile(ee),M=ne?e.removeFileExtension(ne)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(O.fileName,Q.getCompilerOptions(),g,Q.getCommonSourceDirectory(),V);if(M!==void 0){var X=ae(M,O.fileName).getGeneratedPosition(O);return X===O?void 0:X}}}}}function S(O){var U=x.getProgram();if(U){var Q=K(O),ee=U.getSourceFileByPath(Q);return ee&&ee.resolvedPath===Q?ee:void 0}}function F(O){var U=K(O),Q=m.get(U);if(Q!==void 0)return Q||void 0;if(!x.readFile||x.fileExists&&!x.fileExists(U)){m.set(U,!1);return}var ee=x.readFile(U),ne=ee?p(ee):!1;return m.set(U,ne),ne||void 0}function B(O){return x.getSourceFileLike?x.getSourceFileLike(O):S(O)||F(O)}function N(O,U){var Q=B(O);return Q.getLineAndCharacterOfPosition(U)}function w(){m.clear(),A.clear()}}e.getSourceMapper=c;function f(x,V,g,m){var A=e.tryGetSourceMappingURL(g);if(A){var K=n.exec(A);if(K){if(K[1]){var ae=K[1];return a(x,e.base64decode(e.sys,ae),V)}A=void 0}}var y=[];A&&y.push(A),y.push(V+".map");for(var k=A&&e.getNormalizedAbsolutePath(A,e.getDirectoryPath(V)),S=0,F=y;SU?!1:w.arguments.length0?e.arrayFrom(K.values()).join(","):""}n.getSymbolModifiers=x;function V(m,A,K,ae,y,k,S){var F;k===void 0&&(k=e.getMeaningFromLocation(y));var B=[],N=[],w=[],O=e.getCombinedLocalAndExportSymbolFlags(A),U=k&1?a(m,A,y):"",Q=!1,ee=y.kind===108&&e.isInExpressionContext(y),ne,M,X,G,Z=!1;if(y.kind===108&&!ee)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(U!==""||O&32||O&2097152){(U==="getter"||U==="setter")&&(U="property");var E=void 0;if(ne=ee?m.getTypeAtLocation(y):m.getTypeOfSymbolAtLocation(A,y),y.parent&&y.parent.kind===205){var I=y.parent.name;(I===y||I&&I.getFullWidth()===0)&&(y=y.parent)}var b=void 0;if(e.isCallOrNewExpression(y)?b=y:(e.isCallExpressionTarget(y)||e.isNewExpressionTarget(y)||y.parent&&(e.isJsxOpeningLikeElement(y.parent)||e.isTaggedTemplateExpression(y.parent))&&e.isFunctionLike(A.valueDeclaration))&&(b=y.parent),b){E=m.getResolvedSignature(b);var D=b.kind===208||e.isCallExpression(b)&&b.expression.kind===106,C=D?ne.getConstructSignatures():ne.getCallSignatures();if(E&&!e.contains(C,E.target)&&!e.contains(C,E)&&(E=C.length?C[0]:void 0),E){switch(D&&O&32?(U="constructor",Be(ne.symbol,U)):O&2097152?(U="alias",de(U),B.push(e.spacePart()),D&&(E.flags&4&&(B.push(e.keywordPart(126)),B.push(e.spacePart())),B.push(e.keywordPart(103)),B.push(e.spacePart())),ge(A)):Be(A,U),U){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":B.push(e.punctuationPart(58)),B.push(e.spacePart()),!(e.getObjectFlags(ne)&16)&&ne.symbol&&(e.addRange(B,e.symbolToDisplayParts(m,ne.symbol,ae,void 0,5)),B.push(e.lineBreakPart())),D&&(E.flags&4&&(B.push(e.keywordPart(126)),B.push(e.spacePart())),B.push(e.keywordPart(103)),B.push(e.spacePart())),De(E,C,262144);break;default:De(E,C)}Q=!0,Z=C.length>1}}else if(e.isNameOfFunctionDeclaration(y)&&!(O&98304)||y.kind===134&&y.parent.kind===170){var _=y.parent,d=A.declarations&&e.find(A.declarations,function(Xe){return Xe===(y.kind===134?_.parent:_)});if(d){var C=_.kind===170?ne.getNonNullableType().getConstructSignatures():ne.getNonNullableType().getCallSignatures();m.isImplementationOfOverload(_)?E=C[0]:E=m.getSignatureFromDeclaration(_),_.kind===170?(U="constructor",Be(ne.symbol,U)):Be(_.kind===173&&!(ne.symbol.flags&2048||ne.symbol.flags&4096)?ne.symbol:A,U),E&&De(E,C),Q=!0,Z=C.length>1}}}if(O&32&&!Q&&!ee&&(Fe(),e.getDeclarationOfKind(A,225)?de("local class"):B.push(e.keywordPart(84)),B.push(e.spacePart()),ge(A),qe(A,K)),O&64&&k&2&&(Ie(),B.push(e.keywordPart(118)),B.push(e.spacePart()),ge(A),qe(A,K)),O&524288&&k&2&&(Ie(),B.push(e.keywordPart(151)),B.push(e.spacePart()),ge(A),qe(A,K),B.push(e.spacePart()),B.push(e.operatorPart(63)),B.push(e.spacePart()),e.addRange(B,e.typeToDisplayParts(m,m.getDeclaredTypeOfSymbol(A),ae,8388608))),O&384&&(Ie(),e.some(A.declarations,function(Xe){return e.isEnumDeclaration(Xe)&&e.isEnumConst(Xe)})&&(B.push(e.keywordPart(85)),B.push(e.spacePart())),B.push(e.keywordPart(92)),B.push(e.spacePart()),ge(A)),O&1536&&!ee){Ie();var h=e.getDeclarationOfKind(A,260),P=h&&h.name&&h.name.kind===79;B.push(e.keywordPart(P?142:141)),B.push(e.spacePart()),ge(A)}if(O&262144&&k&2)if(Ie(),B.push(e.punctuationPart(20)),B.push(e.textPart("type parameter")),B.push(e.punctuationPart(21)),B.push(e.spacePart()),ge(A),A.parent)ve(),ge(A.parent,ae),qe(A.parent,ae);else{var te=e.getDeclarationOfKind(A,162);if(te===void 0)return e.Debug.fail();var h=te.parent;if(h)if(e.isFunctionLikeKind(h.kind)){ve();var E=m.getSignatureFromDeclaration(h);h.kind===174?(B.push(e.keywordPart(103)),B.push(e.spacePart())):h.kind!==173&&h.name&&ge(h.symbol),e.addRange(B,e.signatureToDisplayParts(m,E,K,32))}else h.kind===258&&(ve(),B.push(e.keywordPart(151)),B.push(e.spacePart()),ge(h.symbol),qe(h.symbol,K))}if(O&8){U="enum member",Be(A,"enum member");var h=(F=A.declarations)===null||F===void 0?void 0:F[0];if((h==null?void 0:h.kind)===297){var ce=m.getConstantValue(h);ce!==void 0&&(B.push(e.spacePart()),B.push(e.operatorPart(63)),B.push(e.spacePart()),B.push(e.displayPart(e.getTextOfConstantValue(ce),typeof ce=="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(A.flags&2097152){if(Ie(),!Q){var q=m.getAliasedSymbol(A);if(q!==A&&q.declarations&&q.declarations.length>0){var J=q.declarations[0],Te=e.getNameOfDeclaration(J);if(Te){var Ae=e.isModuleWithStringLiteralName(J)&&e.hasSyntacticModifier(J,2),R=A.name!=="default"&&!Ae,Y=V(m,q,e.getSourceFileOfNode(J),J,Te,k,R?A:q);B.push.apply(B,Y.displayParts),B.push(e.lineBreakPart()),X=Y.documentation,G=Y.tags}else X=q.getContextualDocumentationComment(J,m),G=q.getJsDocTags(m)}}if(A.declarations)switch(A.declarations[0].kind){case 263:B.push(e.keywordPart(93)),B.push(e.spacePart()),B.push(e.keywordPart(142));break;case 270:B.push(e.keywordPart(93)),B.push(e.spacePart()),B.push(e.keywordPart(A.declarations[0].isExportEquals?63:88));break;case 274:B.push(e.keywordPart(93));break;default:B.push(e.keywordPart(100))}B.push(e.spacePart()),ge(A),e.forEach(A.declarations,function(Xe){if(Xe.kind===264){var Se=Xe;if(e.isExternalModuleImportEqualsDeclaration(Se))B.push(e.spacePart()),B.push(e.operatorPart(63)),B.push(e.spacePart()),B.push(e.keywordPart(145)),B.push(e.punctuationPart(20)),B.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(Se)),e.SymbolDisplayPartKind.stringLiteral)),B.push(e.punctuationPart(21));else{var Le=m.getSymbolAtLocation(Se.moduleReference);Le&&(B.push(e.spacePart()),B.push(e.operatorPart(63)),B.push(e.spacePart()),ge(Le,ae))}return!0}})}if(!Q)if(U!==""){if(ne){if(ee?(Ie(),B.push(e.keywordPart(108))):Be(A,U),U==="property"||U==="JSX attribute"||O&3||U==="local var"||ee){if(B.push(e.punctuationPart(58)),B.push(e.spacePart()),ne.symbol&&ne.symbol.flags&262144){var j=e.mapToDisplayParts(function(Xe){var Se=m.typeParameterToDeclaration(ne,ae,c);Pe().writeNode(4,Se,e.getSourceFileOfNode(e.getParseTreeNode(ae)),Xe)});e.addRange(B,j)}else e.addRange(B,e.typeToDisplayParts(m,ne,ae));if(A.target&&A.target.tupleLabelDeclaration){var z=A.target.tupleLabelDeclaration;e.Debug.assertNode(z.name,e.isIdentifier),B.push(e.spacePart()),B.push(e.punctuationPart(20)),B.push(e.textPart(e.idText(z.name))),B.push(e.punctuationPart(21))}}else if(O&16||O&8192||O&16384||O&131072||O&98304||U==="method"){var C=ne.getNonNullableType().getCallSignatures();C.length&&(De(C[0],C),Z=C.length>1)}}}else U=f(m,A,y);if(N.length===0&&!Z&&(N=A.getContextualDocumentationComment(ae,m)),N.length===0&&O&4&&A.parent&&A.declarations&&e.forEach(A.parent.declarations,function(Xe){return Xe.kind===303}))for(var Ee=0,_e=A.declarations;Ee<_e.length;Ee++){var h=_e[Ee];if(!(!h.parent||h.parent.kind!==220)){var ke=m.getSymbolAtLocation(h.parent.right);if(ke&&(N=ke.getDocumentationComment(m),w=ke.getJsDocTags(m),N.length>0))break}}return w.length===0&&!Z&&(w=A.getJsDocTags(m)),N.length===0&&X&&(N=X),w.length===0&&G&&(w=G),{displayParts:B,documentation:N,symbolKind:U,tags:w.length===0?void 0:w};function Pe(){return M||(M=e.createPrinter({removeComments:!0})),M}function Ie(){B.length&&B.push(e.lineBreakPart()),Fe()}function Fe(){S&&(de("alias"),B.push(e.spacePart()))}function ve(){B.push(e.spacePart()),B.push(e.keywordPart(101)),B.push(e.spacePart())}function ge(Xe,Se){S&&Xe===A&&(Xe=S);var Le=e.symbolToDisplayParts(m,Xe,Se||K,void 0,7);e.addRange(B,Le),A.flags&16777216&&B.push(e.punctuationPart(57))}function Be(Xe,Se){Ie(),Se&&(de(Se),Xe&&!e.some(Xe.declarations,function(Le){return e.isArrowFunction(Le)||(e.isFunctionExpression(Le)||e.isClassExpression(Le))&&!Le.name})&&(B.push(e.spacePart()),ge(Xe)))}function de(Xe){switch(Xe){case"var":case"function":case"let":case"const":case"constructor":B.push(e.textOrKeywordPart(Xe));return;default:B.push(e.punctuationPart(20)),B.push(e.textOrKeywordPart(Xe)),B.push(e.punctuationPart(21));return}}function De(Xe,Se,Le){Le===void 0&&(Le=0),e.addRange(B,e.signatureToDisplayParts(m,Xe,ae,Le|32)),Se.length>1&&(B.push(e.spacePart()),B.push(e.punctuationPart(20)),B.push(e.operatorPart(39)),B.push(e.displayPart((Se.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),B.push(e.spacePart()),B.push(e.textPart(Se.length===2?"overload":"overloads")),B.push(e.punctuationPart(21))),N=Xe.getDocumentationComment(m),w=Xe.getJsDocTags(),Se.length>1&&N.length===0&&w.length===0&&(N=Se[0].getDocumentationComment(m),w=Se[0].getJsDocTags())}function qe(Xe,Se){var Le=e.mapToDisplayParts(function(Ye){var Dr=m.symbolToTypeParameterDeclarations(Xe,Se,c);Pe().writeList(53776,Dr,e.getSourceFileOfNode(e.getParseTreeNode(Se)),Ye)});e.addRange(B,Le)}}n.getSymbolDisplayPartsDocumentationAndSymbolKind=V;function g(m){return m.parent?!1:e.forEach(m.declarations,function(A){if(A.kind===212)return!0;if(A.kind!==253&&A.kind!==255)return!1;for(var K=A.parent;!e.isFunctionBlock(K);K=K.parent)if(K.kind===303||K.kind===261)return!1;return!0})}})(e.SymbolDisplay||(e.SymbolDisplay={}))})(gr||(gr={}));var gr;(function(e){function n(p,x){var V=[],g=x.compilerOptions?a(x.compilerOptions,V):{},m=e.getDefaultCompilerOptions();for(var A in m)e.hasProperty(m,A)&&g[A]===void 0&&(g[A]=m[A]);for(var K=0,ae=e.transpileOptionValueCompilerOptions;K>=m;return N}function S(F,B){var N=(F>>B&A)+1;return e.Debug.assert((N&A)===N,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),F&~(A<=b.length)return!1;var d=b[D];if(_.end<=d.start)return!1;if(e.startEndOverlapsWithStartEnd(_.pos,_.end,d.start,d.start+d.length))return!0;D++}};function C(){return!1}}function S(E,I,b){var D=E.getStart(b);if(D===I.pos&&E.end===I.end)return D;var C=e.findPrecedingToken(I.pos,b);return!C||C.end>=I.pos?E.pos:C.end}function F(E,I,b){for(var D=-1,C;E;){var _=b.getLineAndCharacterOfPosition(E.getStart(b)).line;if(D!==-1&&_!==D)break;if(n.SmartIndenter.shouldIndentChildNode(I,E,C,b))return I.indentSize;D=_,C=E,E=E.parent}return 0}function B(E,I,b,D,C,_){var d={pos:0,end:I.text.length};return n.getFormattingScanner(I.text,b,d.pos,d.end,function(h){return O(d,E,D,C,h,_,1,function(P){return!1},I)})}n.formatNodeGivenIndentation=B;function N(E,I,b,D){if(!E)return[];var C={pos:e.getLineStartPositionForPosition(E.getStart(I),I),end:E.end};return w(C,I,b,D)}function w(E,I,b,D){var C=y(E,I);return n.getFormattingScanner(I.text,I.languageVariant,S(C,E,I),E.end,function(_){return O(E,C,n.SmartIndenter.getIndentationForNode(C,E,I,b.options),F(C,b.options,I),_,b,D,k(I.parseDiagnostics,E),I)})}function O(E,I,b,D,C,_,d,h,P){var te=_.options,ce=_.getRules,q=_.host,J=new n.FormattingContext(P,d,te),Te,Ae,R,Y,j=-1,z=[];if(C.advance(),C.isOnToken()){var Ee=P.getLineAndCharacterOfPosition(I.getStart(P)).line,_e=Ee;I.decorators&&(_e=P.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(I,P)).line),Be(I,I,Ee,_e,b,D)}if(!C.isOnToken()){var ke=n.SmartIndenter.nodeWillIndentChild(te,I,void 0,P,!1)?b+te.indentSize:b,Pe=C.getCurrentLeadingTrivia();Pe&&(de(Pe,ke,!1,function(vr){return qe(vr,P.getLineAndCharacterOfPosition(vr.pos),I,I,void 0)}),te.trimTrailingWhitespace!==!1&&Cr(Pe))}return z;function Ie(vr,fe,xe,Je,pr){if(e.rangeOverlapsWithStartEnd(Je,vr,fe)||e.rangeContainsStartEnd(Je,vr,fe)){if(pr!==-1)return pr}else{var kr=P.getLineAndCharacterOfPosition(vr).line,Ve=e.getLineStartPositionForPosition(vr,P),ur=n.SmartIndenter.findFirstNonWhitespaceColumn(Ve,vr,P,te);if(kr!==xe||vr===ur){var Wr=n.SmartIndenter.getBaseIndentation(te);return Wr>ur?Wr:ur}}return-1}function Fe(vr,fe,xe,Je,pr,kr){var Ve=n.SmartIndenter.shouldIndentChildNode(te,vr)?te.indentSize:0;return kr===fe?{indentation:fe===Y?j:pr.getIndentation(),delta:Math.min(te.indentSize,pr.getDelta(vr)+Ve)}:xe===-1?vr.kind===20&&fe===Y?{indentation:j,delta:pr.getDelta(vr)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(Je,vr,fe,P)||n.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(Je,vr,fe,P)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(Je,vr,fe,P)?{indentation:pr.getIndentation(),delta:Ve}:{indentation:pr.getIndentation()+pr.getDelta(vr),delta:Ve}:{indentation:xe,delta:Ve}}function ve(vr){if(vr.modifiers&&vr.modifiers.length)return vr.modifiers[0].kind;switch(vr.kind){case 256:return 84;case 257:return 118;case 255:return 98;case 259:return 259;case 171:return 136;case 172:return 148;case 168:if(vr.asteriskToken)return 41;case 166:case 163:var fe=e.getNameOfDeclaration(vr);if(fe)return fe.kind}}function ge(vr,fe,xe,Je){return{getIndentationForComment:function(Ve,ur,Wr){switch(Ve){case 19:case 23:case 21:return xe+kr(Wr)}return ur!==-1?ur:xe},getIndentationForToken:function(Ve,ur,Wr,He){return!He&&pr(Ve,ur,Wr)?xe+kr(Wr):xe},getIndentation:function(){return xe},getDelta:kr,recomputeIndentation:function(Ve,ur){n.SmartIndenter.shouldIndentChildNode(te,ur,vr,P)&&(xe+=Ve?te.indentSize:-te.indentSize,Je=n.SmartIndenter.shouldIndentChildNode(te,vr)?te.indentSize:0)}};function pr(Ve,ur,Wr){switch(ur){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(Wr.kind){case 279:case 280:case 278:case 227:return!1}break;case 22:case 23:if(Wr.kind!==194)return!1;break}return fe!==Ve&&!(vr.decorators&&ur===ve(vr))}function kr(Ve){return n.SmartIndenter.nodeWillIndentChild(te,vr,Ve,P,!0)?Je:0}}function Be(vr,fe,xe,Je,pr,kr){if(!e.rangeOverlapsWithStartEnd(E,vr.getStart(P),vr.getEnd()))return;var Ve=ge(vr,xe,pr,kr),ur=fe;for(e.forEachChild(vr,function(rt){Lr(rt,-1,vr,Ve,xe,Je,!1)},function(rt){qr(rt,vr,xe,Ve)});C.isOnToken();){var Wr=C.readTokenInfo(vr);if(Wr.token.end>vr.end)break;lt(Wr,vr,Ve,vr)}if(!vr.parent&&C.isOnEOF()){var He=C.readEOFTokenRange();He.end<=vr.end&&Te&&Xe(He,P.getLineAndCharacterOfPosition(He.pos).line,vr,Te,R,Ae,fe,Ve)}function Lr(rt,Rt,an,yn,vn,Fn,ar,wr){var sr=rt.getStart(P),he=P.getLineAndCharacterOfPosition(sr).line,ir=he;rt.decorators&&(ir=P.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(rt,P)).line);var ue=-1;if(ar&&e.rangeContainsRange(E,an)&&(ue=Ie(sr,rt.end,vn,E,Rt),ue!==-1&&(Rt=ue)),!e.rangeOverlapsWithStartEnd(E,rt.pos,rt.end))return rt.endsr){je.token.pos>sr&&C.skipToStartOf(rt);break}lt(je,vr,yn,vr)}if(!C.isOnToken())return Rt;if(e.isToken(rt)){var je=C.readTokenInfo(rt);if(rt.kind!==11)return e.Debug.assert(je.token.end===rt.end,"Token end is child end"),lt(je,vr,yn,rt),Rt}var be=rt.kind===164?he:Fn,We=Fe(rt,he,ue,vr,yn,be);return Be(rt,ur,he,ir,We.indentation,We.delta),ur=vr,wr&&an.kind===203&&Rt===-1&&(Rt=We.indentation),Rt}function qr(rt,Rt,an,yn){e.Debug.assert(e.isNodeArray(rt));var vn=ee(Rt,rt),Fn=yn,ar=an;if(vn!==0)for(;C.isOnToken();){var wr=C.readTokenInfo(Rt);if(wr.token.end>rt.pos)break;if(wr.token.kind===vn){ar=P.getLineAndCharacterOfPosition(wr.token.pos).line,lt(wr,Rt,yn,Rt);var sr=void 0;if(j!==-1)sr=j;else{var he=e.getLineStartPositionForPosition(wr.token.pos,P);sr=n.SmartIndenter.findFirstNonWhitespaceColumn(he,wr.token.pos,P,te)}Fn=ge(Rt,an,sr,te.indentSize)}else lt(wr,Rt,yn,Rt)}for(var ir=-1,ue=0;ue0){var Fn=Z(vn,te);Me(an,yn.character,Fn)}else Ke(an,yn.character)}}}function br(vr,fe,xe){for(var Je=vr;Jekr)){var Ve=or(pr,kr);Ve!==-1&&(e.Debug.assert(Ve===pr||!e.isWhiteSpaceSingleLine(P.text.charCodeAt(Ve-1))),Ke(Ve,kr+1-Ve))}}}function or(vr,fe){for(var xe=fe;xe>=vr&&e.isWhiteSpaceSingleLine(P.text.charCodeAt(xe));)xe--;return xe!==fe?xe+1:-1}function Cr(vr){for(var fe=Te?Te.end:E.pos,xe=0,Je=vr;xeh.text.length)return m(P);if(P.indentStyle===e.IndentStyle.None)return 0;var ce=e.findPrecedingToken(d,h,void 0,!0),q=n.getRangeOfEnclosingComment(h,d,ce||null);if(q&&q.kind===3)return p(h,d,P,q);if(!ce)return m(P);var J=e.isStringOrRegularExpressionOrTemplateLiteral(ce.kind);if(J&&ce.getStart(h)<=d&&d=0),ce<=q)return I(e.getStartPositionOfLine(q,d),h,d,P);var J=e.getStartPositionOfLine(ce,d),Te=E(J,h,d,P),Ae=Te.column,R=Te.character;if(Ae===0)return Ae;var Y=d.text.charCodeAt(J+R);return Y===42?Ae-1:Ae}function x(d,h,P){for(var te=h;te>0;){var ce=d.text.charCodeAt(te);if(!e.isWhiteSpaceLike(ce))break;te--}var q=e.getLineStartPositionForPosition(te,d);return I(q,te,d,P)}function V(d,h,P,te,ce,q){for(var J,Te=P;Te;){if(e.positionBelongsToNode(Te,h,d)&&C(q,Te,J,d,!0)){var Ae=F(Te,d),R=S(P,Te,te,d),Y=R!==0?ce&&R===2?q.indentSize:0:te!==Ae.line?q.indentSize:0;return A(Te,Ae,void 0,Y,d,!0,q)}var j=X(Te,d,q,!0);if(j!==-1)return j;J=Te,Te=Te.parent}return m(q)}function g(d,h,P,te){var ce=P.getLineAndCharacterOfPosition(d.getStart(P));return A(d,ce,h,0,P,!1,te)}c.getIndentationForNode=g;function m(d){return d.baseIndentSize||0}c.getBaseIndentation=m;function A(d,h,P,te,ce,q,J){for(var Te,Ae=d.parent;Ae;){var R=!0;if(P){var Y=d.getStart(ce);R=YP.end}var j=K(Ae,d,ce),z=j.line===h.line||N(Ae,d,h.line,ce);if(R){var Ee=(Te=U(d,ce))===null||Te===void 0?void 0:Te[0],_e=!!Ee&&F(Ee,ce).line>j.line,ke=X(d,ce,J,_e);if(ke!==-1||(ke=y(d,Ae,h,z,ce,J),ke!==-1))return ke+te}C(J,Ae,d,ce,q)&&!z&&(te+=J.indentSize);var Pe=B(Ae,d,h.line,ce);d=Ae,Ae=d.parent,h=Pe?ce.getLineAndCharacterOfPosition(d.getStart(ce)):j}return te+m(J)}function K(d,h,P){var te=U(h,P),ce=te?te.pos:d.getStart(P);return P.getLineAndCharacterOfPosition(ce)}function ae(d,h,P){var te=e.findListItemInfo(d);return te&&te.listItemIndex>0?G(te.list.getChildren(),te.listItemIndex-1,h,P):-1}function y(d,h,P,te,ce,q){var J=(e.isDeclaration(d)||e.isStatementButNotDeclaration(d))&&(h.kind===303||!te);return J?Z(P,ce,q):-1}var k;(function(d){d[d.Unknown=0]="Unknown",d[d.OpenBrace=1]="OpenBrace",d[d.CloseBrace=2]="CloseBrace"})(k||(k={}));function S(d,h,P,te){var ce=e.findNextToken(d,h,te);if(!ce)return 0;if(ce.kind===18)return 1;if(ce.kind===19){var q=F(ce,te).line;return P===q?2:0}return 0}function F(d,h){return h.getLineAndCharacterOfPosition(d.getStart(h))}function B(d,h,P,te){if(!(e.isCallExpression(d)&&e.contains(d.arguments,h)))return!1;var ce=d.expression.getEnd(),q=e.getLineAndCharacterOfPosition(te,ce).line;return q===P}c.isArgumentAndStartLineOverlapsExpressionBeingCalled=B;function N(d,h,P,te){if(d.kind===238&&d.elseStatement===h){var ce=e.findChildOfKind(d,91,te);e.Debug.assert(ce!==void 0);var q=F(ce,te).line;return q===P}return!1}c.childStartsOnTheSameLineWithElseInIfStatement=N;function w(d,h,P,te){if(e.isConditionalExpression(d)&&(h===d.whenTrue||h===d.whenFalse)){var ce=e.getLineAndCharacterOfPosition(te,d.condition.end).line;if(h===d.whenTrue)return P===ce;var q=F(d.whenTrue,te).line,J=e.getLineAndCharacterOfPosition(te,d.whenTrue.end).line;return ce===q&&J===P}return!1}c.childIsUnindentedBranchOfConditionalExpression=w;function O(d,h,P,te){if(e.isCallOrNewExpression(d)){if(!d.arguments)return!1;var ce=e.find(d.arguments,function(Ae){return Ae.pos===h.pos});if(!ce)return!1;var q=d.arguments.indexOf(ce);if(q===0)return!1;var J=d.arguments[q-1],Te=e.getLineAndCharacterOfPosition(te,J.getEnd()).line;if(P===Te)return!0}return!1}c.argumentStartsOnSameLineAsPreviousArgument=O;function U(d,h){return d.parent&&ee(d.getStart(h),d.getEnd(),d.parent,h)}c.getContainingList=U;function Q(d,h,P){return h&&ee(d,d,h,P)}function ee(d,h,P,te){switch(P.kind){case 177:return ce(P.typeArguments);case 204:return ce(P.properties);case 203:return ce(P.elements);case 181:return ce(P.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return ce(P.typeParameters)||ce(P.parameters);case 256:case 225:case 257:case 258:case 342:return ce(P.typeParameters);case 208:case 207:return ce(P.typeArguments)||ce(P.arguments);case 254:return ce(P.declarations);case 268:case 272:return ce(P.elements);case 200:case 201:return ce(P.elements)}function ce(q){return q&&e.rangeContainsStartEnd(ne(P,q,te),d,h)?q:void 0}}function ne(d,h,P){for(var te=d.getChildren(P),ce=1;ce=0&&h=0;J--)if(d[J].kind!==27){var Te=P.getLineAndCharacterOfPosition(d[J].end).line;if(Te!==q.line)return Z(q,P,te);q=F(d[J],P)}return-1}function Z(d,h,P){var te=h.getPositionOfLineAndCharacter(d.line,0);return I(te,te+d.character,h,P)}function E(d,h,P,te){for(var ce=0,q=0,J=d;J0?1:0,Pe=e.getStartPositionOfLine(e.getLineOfLocalPosition(d,z)+ke,d);return Pe=g(d.text,Pe),e.getStartPositionOfLine(e.getLineOfLocalPosition(d,Pe),d)}function k(d,h,P){var te=h.end,ce=P.trailingTriviaOption;if(ce===V.Include){var q=e.getTrailingCommentRanges(d.text,te);if(q)for(var J=e.getLineOfLocalPosition(d,h.end),Te=0,Ae=q;TeJ)break;var Y=e.getLineOfLocalPosition(d,R.end);if(Y>J)return e.skipTrivia(d.text,R.end,!0,!0)}}}function S(d,h,P){var te,ce=h.end,q=P.trailingTriviaOption;if(q===V.Exclude)return ce;if(q===V.ExcludeWhitespace){var J=e.concatenate(e.getTrailingCommentRanges(d.text,ce),e.getLeadingCommentRanges(d.text,ce)),Te=(te=J==null?void 0:J[J.length-1])===null||te===void 0?void 0:te.end;return Te||ce}var Ae=k(d,h,P);if(Ae)return Ae;var R=e.skipTrivia(d.text,ce,!0);return R!==ce&&(q===V.Include||e.isLineBreak(d.text.charCodeAt(R-1)))?R:ce}function F(d,h){return!!h&&!!d.parent&&(h.kind===27||h.kind===26&&d.parent.kind===204)}function B(d){return e.isFunctionExpression(d)||e.isFunctionDeclaration(d)}n.isThisTypeAnnotatable=B;var N=function(){function d(h,P){this.newLineCharacter=h,this.formatContext=P,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return d.fromContext=function(h){return new d(e.getNewLineOrDefaultFromHost(h.host,h.formatContext.options),h.formatContext)},d.with=function(h,P){var te=d.fromContext(h);return P(te),te.getChanges()},d.prototype.pushRaw=function(h,P){e.Debug.assertEqual(h.fileName,P.fileName);for(var te=0,ce=P.textChanges;te",joiner:", "})},d.prototype.getOptionsForInsertNodeBefore=function(h,P,te){return e.isStatement(h)||e.isClassElement(h)?{suffix:te?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(h)?{suffix:", "}:e.isParameter(h)?e.isParameter(P)?{suffix:", "}:{}:e.isStringLiteral(h)&&e.isImportDeclaration(h.parent)||e.isNamedImports(h)?{suffix:", "}:e.isImportSpecifier(h)?{suffix:","+(te?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(h)},d.prototype.insertNodeAtConstructorStart=function(h,P,te){var ce=e.firstOrUndefined(P.body.statements);!ce||!P.body.multiLine?this.replaceConstructorBody(h,P,Gt([te],P.body.statements,!0)):this.insertNodeBefore(h,ce,te)},d.prototype.insertNodeAtConstructorStartAfterSuperCall=function(h,P,te){var ce=e.find(P.body.statements,function(q){return e.isExpressionStatement(q)&&e.isSuperCall(q.expression)});!ce||!P.body.multiLine?this.replaceConstructorBody(h,P,Gt(Gt([],P.body.statements,!0),[te],!1)):this.insertNodeAfter(h,ce,te)},d.prototype.insertNodeAtConstructorEnd=function(h,P,te){var ce=e.lastOrUndefined(P.body.statements);!ce||!P.body.multiLine?this.replaceConstructorBody(h,P,Gt(Gt([],P.body.statements,!0),[te],!1)):this.insertNodeAfter(h,ce,te)},d.prototype.replaceConstructorBody=function(h,P,te){this.replaceNode(h,P.body,e.factory.createBlock(te,!0))},d.prototype.insertNodeAtEndOfScope=function(h,P,te){var ce=y(h,P.getLastToken(),{});this.insertNodeAt(h,ce,te,{prefix:e.isLineBreak(h.text.charCodeAt(P.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},d.prototype.insertNodeAtClassStart=function(h,P,te){this.insertNodeAtStartWorker(h,P,te)},d.prototype.insertNodeAtObjectStart=function(h,P,te){this.insertNodeAtStartWorker(h,P,te)},d.prototype.insertNodeAtStartWorker=function(h,P,te){var ce,q=(ce=this.guessIndentationFromExistingMembers(h,P))!==null&&ce!==void 0?ce:this.computeIndentationForNewMember(h,P);this.insertNodeAt(h,U(P).pos,te,this.getInsertNodeAtStartInsertOptions(h,P,q))},d.prototype.guessIndentationFromExistingMembers=function(h,P){for(var te,ce=P,q=0,J=U(P);q0?{fileName:Ee.fileName,textChanges:Ie}:void 0})}d.getTextChangesFromChanges=h;function P(Ae,R,Y,j,z){var Ee=te(Ae,e.getScriptKindFromFileName(R),Y,j,z);return{fileName:R,textChanges:[e.createTextChange(e.createTextSpan(0,0),Ee)],isNewFile:!0}}d.newFileChanges=P;function te(Ae,R,Y,j,z){var Ee=Y.map(function(Pe){return Pe===4?"":Te(Pe,Ae,j).text}).join(j),_e=e.createSourceFile("any file name",Ee,99,!0,R),ke=e.formatting.formatDocument(_e,z);return ne(Ee,ke)+j}d.newFileChangesWorker=te;function ce(Ae,R,Y,j,z){var Ee;if(Ae.kind===K.Remove)return"";if(Ae.kind===K.Text)return Ae.text;var _e=Ae.options,ke=_e===void 0?{}:_e,Pe=Ae.range.pos,Ie=function(ge){return J(ge,R,Pe,ke,Y,j,z)},Fe=Ae.kind===K.ReplaceWithMultipleNodes?Ae.nodes.map(function(ge){return e.removeSuffix(Ie(ge),Y)}).join(((Ee=Ae.options)===null||Ee===void 0?void 0:Ee.joiner)||Y):Ie(Ae.node),ve=ke.preserveLeadingWhitespace||ke.indentation!==void 0||e.getLineStartPositionForPosition(Pe,R)===Pe?Fe:Fe.replace(/^\s+/,"");return(ke.prefix||"")+ve+(!ke.suffix||e.endsWith(ve,ke.suffix)?"":ke.suffix)}function q(Ae,R){var Y=Ae.options,j=!Y.semicolons||Y.semicolons===e.SemicolonPreference.Ignore,z=Y.semicolons===e.SemicolonPreference.Remove||j&&!e.probablyUsesSemicolons(R);return On(On({},Y),{semicolons:z?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}function J(Ae,R,Y,j,z,Ee,_e){var ke=j.indentation,Pe=j.prefix,Ie=j.delta,Fe=Te(Ae,R,z),ve=Fe.node,ge=Fe.text;_e&&_e(ve,ge);var Be=q(Ee,R),de=ke!==void 0?ke:e.formatting.SmartIndenter.getIndentation(Y,R,Be,Pe===z||e.getLineStartPositionForPosition(Y,R)===Y);Ie===void 0&&(Ie=e.formatting.SmartIndenter.shouldIndentChildNode(Be,Ae)&&Be.indentSize||0);var De={text:ge,getLineAndCharacterOfPosition:function(Xe){return e.getLineAndCharacterOfPosition(this,Xe)}},qe=e.formatting.formatNodeGivenIndentation(ve,De,R.languageVariant,de,Ie,On(On({},Ee),{options:Be}));return ne(ge,qe)}function Te(Ae,R,Y){var j=Z(Y),z=e.getNewLineKind(Y);return e.createPrinter({newLine:z,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},j).writeNode(4,Ae,R,j),{text:j.getText(),node:X(Ae)}}d.getNonformattedText=Te})(ee||(ee={}));function ne(d,h){for(var P=h.length-1;P>=0;P--){var te=h[P],ce=te.span,q=te.newText;d="".concat(d.substring(0,ce.start)).concat(q).concat(d.substring(e.textSpanEnd(ce)))}return d}n.applyChanges=ne;function M(d){return e.skipTrivia(d,0)===d.length}function X(d){var h=e.visitEachChild(d,X,e.nullTransformationContext,G,X),P=e.nodeIsSynthesized(h)?h:Object.create(h);return e.setTextRangePosEnd(P,c(d),a(d)),P}function G(d,h,P,te,ce){var q=e.visitNodes(d,h,P,te,ce);if(!q)return q;var J=q===d?e.factory.createNodeArray(q.slice(0)):q;return e.setTextRangePosEnd(J,c(d),a(d)),J}function Z(d){var h=0,P=e.createTextWriter(d),te=function(Rr){Rr&&f(Rr,h)},ce=function(Rr){Rr&&p(Rr,h)},q=function(Rr){Rr&&f(Rr,h)},J=function(Rr){Rr&&p(Rr,h)},Te=function(Rr){Rr&&f(Rr,h)},Ae=function(Rr){Rr&&p(Rr,h)};function R(Rr,Ke){if(Ke||!M(Rr)){h=P.getTextPos();for(var Me=0;e.isWhiteSpaceLike(Rr.charCodeAt(Rr.length-Me-1));)Me++;h-=Me}}function Y(Rr){P.write(Rr),R(Rr,!1)}function j(Rr){P.writeComment(Rr)}function z(Rr){P.writeKeyword(Rr),R(Rr,!1)}function Ee(Rr){P.writeOperator(Rr),R(Rr,!1)}function _e(Rr){P.writePunctuation(Rr),R(Rr,!1)}function ke(Rr){P.writeTrailingSemicolon(Rr),R(Rr,!1)}function Pe(Rr){P.writeParameter(Rr),R(Rr,!1)}function Ie(Rr){P.writeProperty(Rr),R(Rr,!1)}function Fe(Rr){P.writeSpace(Rr),R(Rr,!1)}function ve(Rr){P.writeStringLiteral(Rr),R(Rr,!1)}function ge(Rr,Ke){P.writeSymbol(Rr,Ke),R(Rr,!1)}function Be(Rr){P.writeLine(Rr)}function de(){P.increaseIndent()}function De(){P.decreaseIndent()}function qe(){return P.getText()}function Xe(Rr){P.rawWrite(Rr),R(Rr,!1)}function Se(Rr){P.writeLiteral(Rr),R(Rr,!0)}function Le(){return P.getTextPos()}function Ye(){return P.getLine()}function Dr(){return P.getColumn()}function br(){return P.getIndent()}function or(){return P.isAtStartOfLine()}function Cr(){P.clear(),h=0}return{onBeforeEmitNode:te,onAfterEmitNode:ce,onBeforeEmitNodeArray:q,onAfterEmitNodeArray:J,onBeforeEmitToken:Te,onAfterEmitToken:Ae,write:Y,writeComment:j,writeKeyword:z,writeOperator:Ee,writePunctuation:_e,writeTrailingSemicolon:ke,writeParameter:Pe,writeProperty:Ie,writeSpace:Fe,writeStringLiteral:ve,writeSymbol:ge,writeLine:Be,increaseIndent:de,decreaseIndent:De,getText:qe,rawWrite:Xe,writeLiteral:Se,getTextPos:Le,getLine:Ye,getColumn:Dr,getIndent:br,isAtStartOfLine:or,hasTrailingComment:function(){return P.hasTrailingComment()},hasTrailingWhitespace:function(){return P.hasTrailingWhitespace()},clear:Cr}}function E(d){for(var h,P=0,te=d.statements;P=ke+2)break}if(d.statements.length){Y===void 0&&(Y=d.getLineAndCharacterOfPosition(d.statements[0].getStart()).line);var Pe=d.getLineAndCharacterOfPosition(Ee.end).line;if(Y1)break}var M=U<2;return function(X){var G=X.fixId,Z=X.fixAllDescription,E=kD(X,["fixId","fixAllDescription"]);return M?E:On(On({},E),{fixId:G,fixAllDescription:Z})}}function K(N){var w=B(N),O=c.get(String(N.errorCode));return e.flatMap(O,function(U){return e.map(U.getCodeActions(N),A(U,w))})}n.getFixes=K;function ae(N){return f.get(e.cast(N.fixId,e.isString)).getAllCodeActions(N)}n.getAllFixes=ae;function y(N,w){return{changes:N,commands:w}}n.createCombinedCodeActions=y;function k(N,w){return{fileName:N,textChanges:w}}n.createFileTextChanges=k;function S(N,w,O){var U=[],Q=e.textChanges.ChangeTracker.with(N,function(ee){return F(N,w,function(ne){return O(ee,ne,U)})});return y(Q,U.length===0?void 0:U)}n.codeFixAll=S;function F(N,w,O){for(var U=0,Q=B(N);Ue.textSpanEnd(m)?"quit":(e.isArrowFunction(ae)||e.isMethodDeclaration(ae)||e.isFunctionExpression(ae)||e.isFunctionDeclaration(ae))&&e.textSpansEqual(m,e.createTextSpanFromNode(ae,g))});return K}}function V(g,m){return function(A){var K=A.start,ae=A.length,y=A.relatedInformation,k=A.code;return e.isNumber(K)&&e.isNumber(ae)&&e.textSpansEqual({start:K,length:ae},g)&&k===m&&!!y&&e.some(y,function(S){return S.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addMissingAwait",f=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],p=Gt([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,f],a,!0);n.registerCodeFix({fixIds:[c],errorCodes:p,getCodeActions:function(F){var B=F.sourceFile,N=F.errorCode,w=F.span,O=F.cancellationToken,U=F.program,Q=x(B,N,w,O,U);if(Q){var ee=F.program.getTypeChecker(),ne=function(M){return e.textChanges.ChangeTracker.with(F,M)};return e.compact([V(F,Q,N,ee,ne),g(F,Q,N,ee,ne)])}},getAllCodeActions:function(F){var B=F.sourceFile,N=F.program,w=F.cancellationToken,O=F.program.getTypeChecker(),U=new e.Set;return n.codeFixAll(F,p,function(Q,ee){var ne=x(B,ee.code,ee,w,N);if(ne){var M=function(X){return X(Q),[]};return V(F,ne,ee.code,O,M,U)||g(F,ne,ee.code,O,M,U)}})}});function x(F,B,N,w,O){var U=e.getFixableErrorSpanExpression(F,N);return U&&m(F,B,N,w,O)&&y(U)?U:void 0}function V(F,B,N,w,O,U){var Q=F.sourceFile,ee=F.program,ne=F.cancellationToken,M=A(B,Q,ne,ee,w);if(M){var X=O(function(G){e.forEach(M.initializers,function(Z){var E=Z.expression;return k(G,N,Q,w,E,U)}),U&&M.needsSecondPassForFixAll&&k(G,N,Q,w,B,U)});return n.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",X,M.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,M.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function g(F,B,N,w,O,U){var Q=O(function(ee){return k(ee,N,F.sourceFile,w,B,U)});return n.createCodeFixAction(c,Q,e.Diagnostics.Add_await,c,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function m(F,B,N,w,O){var U=O.getDiagnosticsProducingTypeChecker(),Q=U.getDiagnostics(F,w);return e.some(Q,function(ee){var ne=ee.start,M=ee.length,X=ee.relatedInformation,G=ee.code;return e.isNumber(ne)&&e.isNumber(M)&&e.textSpansEqual({start:ne,length:M},N)&&G===B&&!!X&&e.some(X,function(Z){return Z.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function A(F,B,N,w,O){var U=K(F,O);if(U){for(var Q=U.isCompleteFix,ee,ne=function(Z){var E=O.getSymbolAtLocation(Z);if(!E)return"continue";var I=e.tryCast(E.valueDeclaration,e.isVariableDeclaration),b=I&&e.tryCast(I.name,e.isIdentifier),D=e.getAncestor(I,236);if(!I||!D||I.type||!I.initializer||D.getSourceFile()!==B||e.hasSyntacticModifier(D,1)||!b||!y(I.initializer))return Q=!1,"continue";var C=w.getSemanticDiagnostics(B,N),_=e.FindAllReferences.Core.eachSymbolReferenceInFile(b,O,B,function(d){return Z!==d&&!ae(d,C,B,O)});if(_)return Q=!1,"continue";(ee||(ee=[])).push({expression:I.initializer,declarationSymbol:E})},M=0,X=U.identifiers;M0)return[n.createCodeFixAction(c,K,e.Diagnostics.Add_const_to_unresolved_variable,c,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[c],getAllCodeActions:function(A){var K=new e.Set;return n.codeFixAll(A,f,function(ae,y){return a(ae,y.file,y.start,A.program,K)})}});function a(A,K,ae,y,k){var S=e.getTokenAtPosition(K,ae),F=e.findAncestor(S,function(U){return e.isForInOrOfStatement(U.parent)?U.parent.initializer===U:x(U)?!1:"quit"});if(F)return p(A,F,K,k);var B=S.parent;if(e.isBinaryExpression(B)&&B.operatorToken.kind===63&&e.isExpressionStatement(B.parent))return p(A,S,K,k);if(e.isArrayLiteralExpression(B)){var N=y.getTypeChecker();return e.every(B.elements,function(U){return V(U,N)})?p(A,B,K,k):void 0}var w=e.findAncestor(S,function(U){return e.isExpressionStatement(U.parent)?!0:g(U)?!1:"quit"});if(w){var O=y.getTypeChecker();return m(w,O)?p(A,w,K,k):void 0}}function p(A,K,ae,y){(!y||e.tryAddToSet(y,K))&&A.insertModifierBefore(ae,85,K)}function x(A){switch(A.kind){case 79:case 203:case 204:case 294:case 295:return!0;default:return!1}}function V(A,K){var ae=e.isIdentifier(A)?A:e.isAssignmentExpression(A,!0)&&e.isIdentifier(A.left)?A.left:void 0;return!!ae&&!K.getSymbolAtLocation(ae)}function g(A){switch(A.kind){case 79:case 220:case 27:return!0;default:return!1}}function m(A,K){return e.isBinaryExpression(A)?A.operatorToken.kind===27?e.every([A.left,A.right],function(ae){return m(ae,K)}):A.operatorToken.kind===63&&e.isIdentifier(A.left)&&!K.getSymbolAtLocation(A.left):!1}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addMissingDeclareProperty",f=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(p){var x=e.textChanges.ChangeTracker.with(p,function(V){return a(V,p.sourceFile,p.span.start)});if(x.length>0)return[n.createCodeFixAction(c,x,e.Diagnostics.Prefix_with_declare,c,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[c],getAllCodeActions:function(p){var x=new e.Set;return n.codeFixAll(p,f,function(V,g){return a(V,g.file,g.start,x)})}});function a(p,x,V,g){var m=e.getTokenAtPosition(x,V);if(e.isIdentifier(m)){var A=m.parent;A.kind===166&&(!g||e.tryAddToSet(g,A))&&p.insertModifierBefore(x,135,A)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addMissingInvocationForDecorator",f=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(p){var x=e.textChanges.ChangeTracker.with(p,function(V){return a(V,p.sourceFile,p.span.start)});return[n.createCodeFixAction(c,x,e.Diagnostics.Call_decorator_expression,c,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[c],getAllCodeActions:function(p){return n.codeFixAll(p,f,function(x,V){return a(x,V.file,V.start)})}});function a(p,x,V){var g=e.getTokenAtPosition(x,V),m=e.findAncestor(g,e.isDecorator);e.Debug.assert(!!m,"Expected position to be owned by a decorator.");var A=e.factory.createCallExpression(m.expression,void 0,void 0);p.replaceNode(x,m.expression,A)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addNameToNamelessParameter",f=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(p){var x=e.textChanges.ChangeTracker.with(p,function(V){return a(V,p.sourceFile,p.span.start)});return[n.createCodeFixAction(c,x,e.Diagnostics.Add_parameter_name,c,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[c],getAllCodeActions:function(p){return n.codeFixAll(p,f,function(x,V){return a(x,V.file,V.start)})}});function a(p,x,V){var g=e.getTokenAtPosition(x,V),m=g.parent;if(!e.isParameter(m))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(g.kind));var A=m.parent.parameters.indexOf(m);e.Debug.assert(!m.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(A>-1,"Parameter not found in parent parameter list.");var K=e.factory.createTypeReferenceNode(m.name,void 0),ae=e.factory.createParameterDeclaration(void 0,m.modifiers,m.dotDotDotToken,"arg"+A,m.questionToken,m.dotDotDotToken?e.factory.createArrayTypeNode(K):K,m.initializer);p.replaceNode(x,m,ae)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addOptionalPropertyUndefined",f=[e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(g){var m=g.program.getTypeChecker(),A=a(g.sourceFile,g.span,m);if(A.length){var K=e.textChanges.ChangeTracker.with(g,function(ae){return V(ae,A)});return[n.createCodeFixActionWithoutFixAll(c,K,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[c]});function a(g,m,A){var K,ae,y=x(e.getFixableErrorSpanExpression(g,m),A);if(!y)return e.emptyArray;var k=y.source,S=y.target,F=p(k,S,A)?A.getTypeAtLocation(S.expression):A.getTypeAtLocation(S);return!((ae=(K=F.symbol)===null||K===void 0?void 0:K.declarations)===null||ae===void 0)&&ae.some(function(B){return e.getSourceFileOfNode(B).fileName.match(/\.d\.ts$/)})?e.emptyArray:A.getExactOptionalProperties(F)}function p(g,m,A){return e.isPropertyAccessExpression(m)&&!!A.getExactOptionalProperties(A.getTypeAtLocation(m.expression)).length&&A.getTypeAtLocation(g)===A.getUndefinedType()}function x(g,m){var A;if(g){if(e.isBinaryExpression(g.parent)&&g.parent.operatorToken.kind===63)return{source:g.parent.right,target:g.parent.left};if(e.isVariableDeclaration(g.parent)&&g.parent.initializer)return{source:g.parent.initializer,target:g.parent.name};if(e.isCallExpression(g.parent)){var K=m.getSymbolAtLocation(g.parent.expression);if(!(K!=null&&K.valueDeclaration)||!e.isFunctionLikeKind(K.valueDeclaration.kind)||!e.isExpression(g))return;var ae=g.parent.arguments.indexOf(g);if(ae===-1)return;var y=K.valueDeclaration.parameters[ae].name;if(e.isIdentifier(y))return{source:g,target:y}}else if(e.isPropertyAssignment(g.parent)&&e.isIdentifier(g.parent.name)||e.isShorthandPropertyAssignment(g.parent)){var k=x(g.parent.parent,m);if(!k)return;var S=m.getPropertyOfType(m.getTypeAtLocation(k.target),g.parent.name.text),F=(A=S==null?void 0:S.declarations)===null||A===void 0?void 0:A[0];return F?{source:e.isPropertyAssignment(g.parent)?g.parent.initializer:g.parent.name,target:F}:void 0}}else return}function V(g,m){for(var A=0,K=m;A1?(g.delete(m,S),g.insertNodeAfter(m,B,F)):g.replaceNode(m,B,F)}function N(U){var Q=[];return U.members&&U.members.forEach(function(M,X){if(X==="constructor"&&M.valueDeclaration){g.delete(m,M.valueDeclaration.parent);return}var G=ne(M,void 0);G&&Q.push.apply(Q,G)}),U.exports&&U.exports.forEach(function(M){if(M.name==="prototype"&&M.declarations){var X=M.declarations[0];if(M.declarations.length===1&&e.isPropertyAccessExpression(X)&&e.isBinaryExpression(X.parent)&&X.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(X.parent.right)){var G=X.parent.right,Z=ne(G.symbol,void 0);Z&&Q.push.apply(Q,Z)}}else{var Z=ne(M,[e.factory.createToken(124)]);Z&&Q.push.apply(Q,Z)}}),Q;function ee(M,X){return e.isAccessExpression(M)?e.isPropertyAccessExpression(M)&&x(M)?!0:e.isFunctionLike(X):e.every(M.properties,function(G){return!!(e.isMethodDeclaration(G)||e.isGetOrSetAccessorDeclaration(G)||e.isPropertyAssignment(G)&&e.isFunctionExpression(G.initializer)&&G.name||x(G))})}function ne(M,X){var G=[];if(!(M.flags&8192)&&!(M.flags&4096))return G;var Z=M.valueDeclaration,E=Z.parent,I=E.right;if(!ee(Z,I))return G;var b=E.parent&&E.parent.kind===237?E.parent:E;if(g.delete(m,b),!I)return G.push(e.factory.createPropertyDeclaration([],X,M.name,void 0,void 0,void 0)),G;if(e.isAccessExpression(Z)&&(e.isFunctionExpression(I)||e.isArrowFunction(I))){var D=e.getQuotePreference(m,ae),C=V(Z,y,D);return C?d(G,I,C):G}else{if(e.isObjectLiteralExpression(I))return e.flatMap(I.properties,function(te){return e.isMethodDeclaration(te)||e.isGetOrSetAccessorDeclaration(te)?G.concat(te):e.isPropertyAssignment(te)&&e.isFunctionExpression(te.initializer)?d(G,te.initializer,te.name):x(te)?G:[]});if(e.isSourceFileJS(m)||!e.isPropertyAccessExpression(Z))return G;var _=e.factory.createPropertyDeclaration(void 0,X,Z.name,void 0,void 0,I);return e.copyLeadingComments(E.parent,_,m),G.push(_),G}function d(te,ce,q){return e.isFunctionExpression(ce)?h(te,ce,q):P(te,ce,q)}function h(te,ce,q){var J=e.concatenate(X,p(ce,131)),Te=e.factory.createMethodDeclaration(void 0,J,void 0,q,void 0,void 0,ce.parameters,void 0,ce.body);return e.copyLeadingComments(E,Te,m),te.concat(Te)}function P(te,ce,q){var J=ce.body,Te;J.kind===234?Te=J:Te=e.factory.createBlock([e.factory.createReturnStatement(J)]);var Ae=e.concatenate(X,p(ce,131)),R=e.factory.createMethodDeclaration(void 0,Ae,void 0,q,void 0,void 0,ce.parameters,void 0,Te);return e.copyLeadingComments(E,R,m),te.concat(R)}}}function w(U){var Q=U.initializer;if(!(!Q||!e.isFunctionExpression(Q)||!e.isIdentifier(U.name))){var ee=N(U.symbol);Q.body&&ee.unshift(e.factory.createConstructorDeclaration(void 0,void 0,Q.parameters,Q.body));var ne=p(U.parent.parent,93),M=e.factory.createClassDeclaration(void 0,ne,U.name,void 0,void 0,ee);return M}}function O(U){var Q=N(k);U.body&&Q.unshift(e.factory.createConstructorDeclaration(void 0,void 0,U.parameters,U.body));var ee=p(U,93),ne=e.factory.createClassDeclaration(void 0,ee,U.name,void 0,void 0,Q);return ne}}function p(g,m){return e.filter(g.modifiers,function(A){return A.kind===m})}function x(g){return g.name?!!(e.isIdentifier(g.name)&&g.name.text==="constructor"):!1}function V(g,m,A){if(e.isPropertyAccessExpression(g))return g.name;var K=g.argumentExpression;if(e.isNumericLiteral(K))return K;if(e.isStringLiteralLike(K))return e.isIdentifierText(K.text,e.getEmitScriptTarget(m))?e.factory.createIdentifier(K.text):e.isNoSubstitutionTemplateLiteral(K)?e.factory.createStringLiteral(K.text,A===0):K}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="convertToAsyncFunction",f=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],a=!0;n.registerCodeFix({errorCodes:f,getCodeActions:function(R){a=!0;var Y=e.textChanges.ChangeTracker.with(R,function(j){return x(j,R.sourceFile,R.span.start,R.program.getTypeChecker())});return a?[n.createCodeFixAction(c,Y,e.Diagnostics.Convert_to_async_function,c,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[c],getAllCodeActions:function(R){return n.codeFixAll(R,f,function(Y,j){return x(Y,j.file,j.start,R.program.getTypeChecker())})}});var p;(function(R){R[R.Identifier=0]="Identifier",R[R.BindingPattern=1]="BindingPattern"})(p||(p={}));function x(R,Y,j,z){var Ee=e.getTokenAtPosition(Y,j),_e;if(e.isIdentifier(Ee)&&e.isVariableDeclaration(Ee.parent)&&Ee.parent.initializer&&e.isFunctionLikeDeclaration(Ee.parent.initializer)?_e=Ee.parent.initializer:_e=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(Y,j)),e.canBeConvertedToAsync),!!_e){var ke=new e.Map,Pe=e.isInJSFile(_e),Ie=g(_e,z),Fe=y(_e,z,ke);if(e.returnsPromise(Fe,z)){var ve=Fe.body&&e.isBlock(Fe.body)?V(Fe.body,z):e.emptyArray,ge={checker:z,synthNamesMap:ke,setOfExpressionsToReturn:Ie,isInJSFile:Pe};if(ve.length){var Be=_e.modifiers?_e.modifiers.end:_e.decorators?e.skipTrivia(Y.text,_e.decorators.end):_e.getStart(Y),de=_e.modifiers?{prefix:" "}:{suffix:" "};R.insertModifierAt(Y,Be,131,de);for(var De=function(Ye){if(e.forEachChild(Ye,function Dr(br){if(e.isCallExpression(br)){var or=B(br,br,ge,!1);if(S())return!0;R.replaceNodeWithNodes(Y,Ye,or)}else if(!e.isFunctionLike(br)&&(e.forEachChild(br,Dr),S()))return!0}),S())return{value:void 0}},qe=0,Xe=ve;qe0)return Dr;if(de){var Ye=E(_e.checker,de,Be);if(Ae(Ee,_e))return G(Ye,K(Ee,R,_e.checker));var br=X(j,Ye,void 0);return j&&j.types.push(_e.checker.getAwaitedType(de)||de),br}else return F()}}default:return F()}return e.emptyArray}function E(R,Y,j){var z=e.getSynthesizedDeepClone(j);return R.getPromisedTypeOfPromise(Y)?e.factory.createAwaitExpression(z):z}function I(R,Y){var j=Y.getSignaturesOfType(R,0);return e.lastOrUndefined(j)}function b(R,Y,j,z){for(var Ee=[],_e=0,ke=R;_e0)return}else e.isFunctionLike(ke)||e.forEachChild(ke,_e)}),Ee}function C(R,Y){var j=[],z;if(e.isFunctionLikeDeclaration(R)){if(R.parameters.length>0){var Ee=R.parameters[0].name;z=_e(Ee)}}else e.isIdentifier(R)?z=ke(R):e.isPropertyAccessExpression(R)&&e.isIdentifier(R.name)&&(z=ke(R.name));if(!z||"identifier"in z&&z.identifier.text==="undefined")return;return z;function _e(Fe){if(e.isIdentifier(Fe))return ke(Fe);var ve=e.flatMap(Fe.elements,function(ge){return e.isOmittedExpression(ge)?[]:[_e(ge.name)]});return h(Fe,ve)}function ke(Fe){var ve=Ie(Fe),ge=Pe(ve);if(!ge)return d(Fe,j);var Be=Y.synthNamesMap.get(e.getSymbolId(ge).toString());return Be||d(Fe,j)}function Pe(Fe){return Fe.symbol?Fe.symbol:Y.checker.getSymbolAtLocation(Fe)}function Ie(Fe){return Fe.original?Fe.original:Fe}}function _(R){return R?J(R)?!R.identifier.text:e.every(R.elements,_):!0}function d(R,Y){return Y===void 0&&(Y=[]),{kind:0,identifier:R,types:Y,hasBeenDeclared:!1,hasBeenReferenced:!1}}function h(R,Y,j){return Y===void 0&&(Y=e.emptyArray),j===void 0&&(j=[]),{kind:1,bindingPattern:R,elements:Y,types:j}}function P(R){return R.hasBeenReferenced=!0,R.identifier}function te(R){return J(R)?q(R):ce(R)}function ce(R){for(var Y=0,j=R.elements;Y1?[[k(_),S(_)],!0]:[[S(_)],!0]:[[k(_)],!1]}function k(D){return I(void 0,D)}function S(D){return I([e.factory.createExportSpecifier(!1,void 0,"default")],D)}function F(D,C,_){var d=D.left,h=D.right,P=D.parent,te=d.name.text;if((e.isFunctionExpression(h)||e.isArrowFunction(h)||e.isClassExpression(h))&&(!h.name||h.name.text===te)){_.replaceRange(C,{pos:d.getStart(C),end:h.getStart(C)},e.factory.createToken(93),{suffix:" "}),h.name||_.insertName(C,h,te);var ce=e.findChildOfKind(P,26,C);ce&&_.delete(C,ce)}else _.replaceNodeRangeWithNodes(C,d.expression,e.findChildOfKind(d,24,C),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "})}function B(D,C,_){var d=[e.factory.createToken(93)];switch(C.kind){case 212:{var h=C.name;if(h&&h.text!==D)return P()}case 213:return M(D,d,C,_);case 225:return X(D,d,C,_);default:return P()}function P(){return E(d,e.factory.createIdentifier(D),N(C,_))}}function N(D,C){if(!C||!e.some(e.arrayFrom(C.keys()),function(d){return e.rangeContainsRange(D,d)}))return D;return e.isArray(D)?e.getSynthesizedDeepClonesWithReplacements(D,!0,_):e.getSynthesizedDeepCloneWithReplacements(D,!0,_);function _(d){if(d.kind===205){var h=C.get(d);return C.delete(d),h}}}function w(D,C,_,d,h,P){switch(D.kind){case 200:{var te=e.mapAllOrFail(D.elements,function(q){return q.dotDotDotToken||q.initializer||q.propertyName&&!e.isIdentifier(q.propertyName)||!e.isIdentifier(q.name)?void 0:Z(q.propertyName&&q.propertyName.text,q.name.text)});if(te)return b([e.makeImport(void 0,te,C,P)])}case 201:{var ce=U(n.moduleSpecifierToValidIdentifier(C.text,h),d);return b([e.makeImport(e.factory.createIdentifier(ce),void 0,C,P),E(void 0,e.getSynthesizedDeepClone(D),e.factory.createIdentifier(ce))])}case 79:return O(D,C,_,d,P);default:return e.Debug.assertNever(D,"Convert to ES module got invalid name kind ".concat(D.kind))}}function O(D,C,_,d,h){for(var P=_.getSymbolAtLocation(D),te=new e.Map,ce=!1,q,J=0,Te=d.original.get(D.text);J0||qe.length>0||Xe.size>0||Se.size>0}}var x;(function(Ie){Ie[Ie.UseNamespace=0]="UseNamespace",Ie[Ie.JsdocTypeImport=1]="JsdocTypeImport",Ie[Ie.AddToExisting=2]="AddToExisting",Ie[Ie.AddNew=3]="AddNew"})(x||(x={}));var V;(function(Ie){Ie[Ie.Allowed=1]="Allowed",Ie[Ie.Required=2]="Required",Ie[Ie.NotAllowed=4]="NotAllowed"})(V||(V={}));function g(Ie,Fe,ve,ge,Be,de,De,qe,Xe){var Se=de.getCompilerOptions(),Le=e.pathIsBareSpecifier(e.stripQuotes(Fe.name))?[K(Ie,Fe,de,Be)]:ae(ve,Ie,Fe,ge,Be,de,Xe,!0),Ye=U(ve,de),Dr=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(ve,qe)),br=e.Debug.checkDefined(m(ve,Le,Fe,ge,de,qe,Dr,Ye,Be,Xe));return{moduleSpecifier:br.moduleSpecifier,codeAction:A(ce({host:Be,formatContext:De,preferences:Xe},ve,ge,br,e.getQuotePreference(ve,Xe),Se))}}n.getImportCompletionAction=g;function m(Ie,Fe,ve,ge,Be,de,De,qe,Xe,Se){return e.Debug.assert(Fe.some(function(Le){return Le.moduleSymbol===ve||Le.symbol.parent===ve}),"Some exportInfo should match the specified moduleSymbol"),G(k(Fe,ge,de,De,qe,Be,Ie,Xe,Se),Ie,Be,Xe,Se)}function A(Ie){var Fe=Ie.description,ve=Ie.changes,ge=Ie.commands;return{description:Fe,changes:ve,commands:ge}}function K(Ie,Fe,ve,ge){var Be,de,De=ve.getCompilerOptions(),qe=Se(ve.getTypeChecker(),!1);if(qe)return qe;var Xe=(de=(Be=ge.getPackageJsonAutoImportProvider)===null||Be===void 0?void 0:Be.call(ge))===null||de===void 0?void 0:de.getTypeChecker();return e.Debug.checkDefined(Xe&&Se(Xe,!0),"Could not find symbol in specified module for code actions");function Se(Le,Ye){var Dr=e.getDefaultLikeExportInfo(Fe,Le,De);if(Dr&&e.skipAlias(Dr.symbol,Le)===Ie)return{symbol:Dr.symbol,moduleSymbol:Fe,moduleFileName:void 0,exportKind:Dr.exportKind,targetFlags:e.skipAlias(Ie,Le).flags,isFromPackageJson:Ye};var br=Le.tryGetMemberInModuleExportsAndProperties(Ie.name,Fe);if(br&&e.skipAlias(br,Le)===Ie)return{symbol:br,moduleSymbol:Fe,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(Ie,Le).flags,isFromPackageJson:Ye}}}function ae(Ie,Fe,ve,ge,Be,de,De,qe){var Xe=[],Se=de.getCompilerOptions(),Le=e.memoizeOne(function(Dr){return e.createModuleSpecifierResolutionHost(Dr?Be.getPackageJsonAutoImportProvider():de,Be)});return e.forEachExternalModuleToImportFrom(de,Be,qe,function(Dr,br,or,Cr){var Rr=or.getTypeChecker();if(!(br&&Dr!==ve&&e.startsWith(Ie.fileName,e.getDirectoryPath(br.fileName)))){var Ke=e.getDefaultLikeExportInfo(Dr,Rr,Se);Ke&&(Ke.name===ge||ke(Dr,e.getEmitScriptTarget(Se))===ge)&&e.skipAlias(Ke.symbol,Rr)===Fe&&Ye(or,br,Cr)&&Xe.push({symbol:Ke.symbol,moduleSymbol:Dr,moduleFileName:br==null?void 0:br.fileName,exportKind:Ke.exportKind,targetFlags:e.skipAlias(Ke.symbol,Rr).flags,isFromPackageJson:Cr});for(var Me=0,Hr=Rr.getExportsAndPropertiesOfModule(Dr);Me=e.ModuleKind.ES2015)return ge?1:2;if(Be)return e.isExternalModule(Ie)||ve?ge?1:2:3;for(var de=0,De=Ie.statements;de"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,ae?ae.text:e.ANONYMOUS]):(p.replaceNode(x,K,e.factory.createToken(85)),p.insertText(x,ae.end," = "),p.insertText(x,y.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,ae.text])}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixIncorrectNamedTupleSyntax",f=[e.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(x){var V=x.sourceFile,g=x.span,m=a(V,g.start),A=e.textChanges.ChangeTracker.with(x,function(K){return p(K,V,m)});return[n.createCodeFixAction(c,A,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,c,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[c]});function a(x,V){var g=e.getTokenAtPosition(x,V);return e.findAncestor(g,function(m){return m.kind===196})}function p(x,V,g){if(g){for(var m=g.type,A=!1,K=!1;m.kind===184||m.kind===185||m.kind===190;)m.kind===184?A=!0:m.kind===185&&(K=!0),m=m.type;var ae=e.factory.updateNamedTupleMember(g,g.dotDotDotToken||(K?e.factory.createToken(25):void 0),g.name,g.questionToken||(A?e.factory.createToken(57):void 0),m);ae!==g&&x.replaceNode(V,g,ae)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixSpelling",f=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(g){var m=g.sourceFile,A=g.errorCode,K=a(m,g.span.start,g,A);if(K){var ae=K.node,y=K.suggestedSymbol,k=e.getEmitScriptTarget(g.host.getCompilationSettings()),S=e.textChanges.ChangeTracker.with(g,function(F){return p(F,m,ae,y,k)});return[n.createCodeFixAction("spelling",S,[e.Diagnostics.Change_spelling_to_0,e.symbolName(y)],c,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[c],getAllCodeActions:function(g){return n.codeFixAll(g,f,function(m,A){var K=a(A.file,A.start,g,A.code),ae=e.getEmitScriptTarget(g.host.getCompilationSettings());K&&p(m,g.sourceFile,K.node,K.suggestedSymbol,ae)})}});function a(g,m,A,K){var ae=e.getTokenAtPosition(g,m),y=ae.parent;if(!((K===e.Diagnostics.No_overload_matches_this_call.code||K===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(y))){var k=A.program.getTypeChecker(),S;if(e.isPropertyAccessExpression(y)&&y.name===ae){e.Debug.assert(e.isMemberName(ae),"Expected an identifier for spelling (property access)");var F=k.getTypeAtLocation(y.expression);y.flags&32&&(F=k.getNonNullableType(F)),S=k.getSuggestedSymbolForNonexistentProperty(ae,F)}else if(e.isBinaryExpression(y)&&y.operatorToken.kind===101&&y.left===ae&&e.isPrivateIdentifier(ae)){var B=k.getTypeAtLocation(y.right);S=k.getSuggestedSymbolForNonexistentProperty(ae,B)}else if(e.isQualifiedName(y)&&y.right===ae){var N=k.getSymbolAtLocation(y.left);N&&N.flags&1536&&(S=k.getSuggestedSymbolForNonexistentModule(y.right,N))}else if(e.isImportSpecifier(y)&&y.name===ae){e.Debug.assertNode(ae,e.isIdentifier,"Expected an identifier for spelling (import)");var w=e.findAncestor(ae,e.isImportDeclaration),O=V(g,A,w);O&&O.symbol&&(S=k.getSuggestedSymbolForNonexistentModule(ae,O.symbol))}else if(e.isJsxAttribute(y)&&y.name===ae){e.Debug.assertNode(ae,e.isIdentifier,"Expected an identifier for JSX attribute");var U=e.findAncestor(ae,e.isJsxOpeningLikeElement),Q=k.getContextualTypeForArgumentAtIndex(U,0);S=k.getSuggestedSymbolForNonexistentJSXAttribute(ae,Q)}else if(e.hasSyntacticModifier(y,16384)&&e.isClassElement(y)&&y.name===ae){var ee=e.findAncestor(ae,e.isClassLike),ne=ee?e.getEffectiveBaseTypeNode(ee):void 0,M=ne?k.getTypeAtLocation(ne):void 0;M&&(S=k.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(ae),M))}else{var X=e.getMeaningFromLocation(ae),G=e.getTextOfNode(ae);e.Debug.assert(G!==void 0,"name should be defined"),S=k.getSuggestedSymbolForNonexistentSymbol(ae,G,x(X))}return S===void 0?void 0:{node:ae,suggestedSymbol:S}}}function p(g,m,A,K,ae){var y=e.symbolName(K);if(!e.isIdentifierText(y,ae)&&e.isPropertyAccessExpression(A.parent)){var k=K.valueDeclaration;k&&e.isNamedDeclaration(k)&&e.isPrivateIdentifier(k.name)?g.replaceNode(m,A,e.factory.createIdentifier(y)):g.replaceNode(m,A.parent,e.factory.createElementAccessExpression(A.parent.expression,e.factory.createStringLiteral(y)))}else g.replaceNode(m,A,e.factory.createIdentifier(y))}function x(g){var m=0;return g&4&&(m|=1920),g&2&&(m|=788968),g&1&&(m|=111551),m}function V(g,m,A){if(!(!A||!e.isStringLiteralLike(A.moduleSpecifier))){var K=e.getResolvedModule(g,A.moduleSpecifier.text,e.getModeForUsageLocation(g,A.moduleSpecifier));if(K)return m.program.getSourceFile(K.resolvedFileName)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="returnValueCorrect",f="fixAddReturnStatement",a="fixRemoveBracesFromArrowFunctionBody",p="fixWrapTheBlockWithParen",x=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],V;(function(w){w[w.MissingReturnStatement=0]="MissingReturnStatement",w[w.MissingParentheses=1]="MissingParentheses"})(V||(V={})),n.registerCodeFix({errorCodes:x,fixIds:[f,a,p],getCodeActions:function(w){var O=w.program,U=w.sourceFile,Q=w.span.start,ee=w.errorCode,ne=K(O.getTypeChecker(),U,Q,ee);if(ne)return ne.kind===V.MissingReturnStatement?e.append([F(w,ne.expression,ne.statement)],e.isArrowFunction(ne.declaration)?B(w,ne.declaration,ne.expression,ne.commentSource):void 0):[N(w,ne.declaration,ne.expression)]},getAllCodeActions:function(w){return n.codeFixAll(w,x,function(O,U){var Q=K(w.program.getTypeChecker(),U.file,U.start,U.code);if(Q)switch(w.fixId){case f:y(O,U.file,Q.expression,Q.statement);break;case a:if(!e.isArrowFunction(Q.declaration))return;k(O,U.file,Q.declaration,Q.expression,Q.commentSource,!1);break;case p:if(!e.isArrowFunction(Q.declaration))return;S(O,U.file,Q.declaration,Q.expression);break;default:e.Debug.fail(JSON.stringify(w.fixId))}})}});function g(w,O,U){var Q=w.createSymbol(4,O.escapedText);Q.type=w.getTypeAtLocation(U);var ee=e.createSymbolTable([Q]);return w.createAnonymousType(void 0,ee,[],[],[])}function m(w,O,U,Q){if(!(!O.body||!e.isBlock(O.body)||e.length(O.body.statements)!==1)){var ee=e.first(O.body.statements);if(e.isExpressionStatement(ee)&&A(w,O,w.getTypeAtLocation(ee.expression),U,Q))return{declaration:O,kind:V.MissingReturnStatement,expression:ee.expression,statement:ee,commentSource:ee.expression};if(e.isLabeledStatement(ee)&&e.isExpressionStatement(ee.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(ee.label,ee.statement.expression)]),M=g(w,ee.label,ee.statement.expression);if(A(w,O,M,U,Q))return e.isArrowFunction(O)?{declaration:O,kind:V.MissingParentheses,expression:ne,statement:ee,commentSource:ee.statement.expression}:{declaration:O,kind:V.MissingReturnStatement,expression:ne,statement:ee,commentSource:ee.statement.expression}}else if(e.isBlock(ee)&&e.length(ee.statements)===1){var X=e.first(ee.statements);if(e.isLabeledStatement(X)&&e.isExpressionStatement(X.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(X.label,X.statement.expression)]),M=g(w,X.label,X.statement.expression);if(A(w,O,M,U,Q))return{declaration:O,kind:V.MissingReturnStatement,expression:ne,statement:ee,commentSource:X}}}}}function A(w,O,U,Q,ee){if(ee){var ne=w.getSignatureFromDeclaration(O);if(ne){e.hasSyntacticModifier(O,256)&&(U=w.createPromiseType(U));var M=w.createSignature(O,ne.typeParameters,ne.thisParameter,ne.parameters,U,void 0,ne.minArgumentCount,ne.flags);U=w.createAnonymousType(void 0,e.createSymbolTable(),[M],[],[])}else U=w.getAnyType()}return w.isTypeAssignableTo(U,Q)}function K(w,O,U,Q){var ee=e.getTokenAtPosition(O,U);if(ee.parent){var ne=e.findAncestor(ee.parent,e.isFunctionLikeDeclaration);switch(Q){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!ne||!ne.body||!ne.type||!e.rangeContainsRange(ne.type,ee)?void 0:m(w,ne,w.getTypeFromTypeNode(ne.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!ne||!e.isCallExpression(ne.parent)||!ne.body)return;var M=ne.parent.arguments.indexOf(ne),X=w.getContextualTypeForArgumentAtIndex(ne.parent,M);return X?m(w,ne,X,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(ee)||!e.isVariableLike(ee.parent)&&!e.isJsxAttribute(ee.parent))return;var G=ae(ee.parent);return!G||!e.isFunctionLikeDeclaration(G)||!G.body?void 0:m(w,G,w.getTypeAtLocation(ee.parent),!0)}}}function ae(w){switch(w.kind){case 253:case 163:case 202:case 166:case 294:return w.initializer;case 284:return w.initializer&&(e.isJsxExpression(w.initializer)?w.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}function y(w,O,U,Q){e.suppressLeadingAndTrailingTrivia(U);var ee=e.probablyUsesSemicolons(O);w.replaceNode(O,Q,e.factory.createReturnStatement(U),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:ee?";":void 0})}function k(w,O,U,Q,ee,ne){var M=ne||e.needsParentheses(Q)?e.factory.createParenthesizedExpression(Q):Q;e.suppressLeadingAndTrailingTrivia(ee),e.copyComments(ee,M),w.replaceNode(O,U.body,M)}function S(w,O,U,Q){w.replaceNode(O,U.body,e.factory.createParenthesizedExpression(Q))}function F(w,O,U){var Q=e.textChanges.ChangeTracker.with(w,function(ee){return y(ee,w.sourceFile,O,U)});return n.createCodeFixAction(c,Q,e.Diagnostics.Add_a_return_statement,f,e.Diagnostics.Add_all_missing_return_statement)}function B(w,O,U,Q){var ee=e.textChanges.ChangeTracker.with(w,function(ne){return k(ne,w.sourceFile,O,U,Q,!1)});return n.createCodeFixAction(c,ee,e.Diagnostics.Remove_braces_from_arrow_function_body,a,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function N(w,O,U){var Q=e.textChanges.ChangeTracker.with(w,function(ee){return S(ee,w.sourceFile,O,U)});return n.createCodeFixAction(c,Q,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,p,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixMissingMember",f="fixMissingProperties",a="fixMissingAttributes",p="fixMissingFunctionDeclaration",x=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Cannot_find_name_0.code];n.registerCodeFix({errorCodes:x,getCodeActions:function(E){var I=E.program.getTypeChecker(),b=g(E.sourceFile,E.span.start,E.errorCode,I,E.program);if(b){if(b.kind===3){var D=e.textChanges.ChangeTracker.with(E,function(C){return ne(C,E,b)});return[n.createCodeFixAction(f,D,e.Diagnostics.Add_missing_properties,f,e.Diagnostics.Add_all_missing_properties)]}if(b.kind===4){var D=e.textChanges.ChangeTracker.with(E,function(_){return ee(_,E,b)});return[n.createCodeFixAction(a,D,e.Diagnostics.Add_missing_attributes,a,e.Diagnostics.Add_all_missing_attributes)]}if(b.kind===2){var D=e.textChanges.ChangeTracker.with(E,function(_){return Q(_,E,b)});return[n.createCodeFixAction(p,D,[e.Diagnostics.Add_missing_function_declaration_0,b.token.text],p,e.Diagnostics.Add_all_missing_function_declarations)]}if(b.kind===0){var D=e.textChanges.ChangeTracker.with(E,function(_){return U(_,E.program.getTypeChecker(),b)});return[n.createCodeFixAction(c,D,[e.Diagnostics.Add_missing_enum_member_0,b.token.text],c,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(w(E,b),A(E,b))}},fixIds:[c,p,f,a],getAllCodeActions:function(E){var I=E.program,b=E.fixId,D=I.getTypeChecker(),C=new e.Map,_=new e.Map;return n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(E,function(d){n.eachDiagnostic(E,x,function(h){var P=g(h.file,h.start,h.code,D,E.program);if(!(!P||!e.addToSeen(C,e.getNodeId(P.parentDeclaration)+"#"+P.token.text))){if(b===p&&P.kind===2)Q(d,E,P);else if(b===f&&P.kind===3)ne(d,E,P);else if(b===a&&P.kind===4)ee(d,E,P);else if(P.kind===0&&U(d,D,P),P.kind===1){var te=P.parentDeclaration,ce=P.token,q=e.getOrUpdate(_,te,function(){return[]});q.some(function(J){return J.token.text===ce.text})||q.push(P)}}}),_.forEach(function(h,P){for(var te=n.getAllSupers(P,D),ce=function(Ae){if(te.some(function(Pe){var Ie=_.get(Pe);return!!Ie&&Ie.some(function(Fe){var ve=Fe.token;return ve.text===Ae.token.text})}))return"continue";var R=Ae.parentDeclaration,Y=Ae.declSourceFile,j=Ae.modifierFlags,z=Ae.token,Ee=Ae.call,_e=Ae.isJSFile;if(Ee&&!e.isPrivateIdentifier(z))O(E,d,Ee,z,j&32,R,Y);else if(_e&&!e.isInterfaceDeclaration(R))ae(d,Y,R,z,!!(j&32));else{var ke=S(I.getTypeChecker(),R,z);F(d,Y,R,z.text,ke,j&32)}},q=0,J=h;q=e.ModuleKind.ES2015&&x99;if(A){var g=e.textChanges.ChangeTracker.with(c,function(ae){var y=e.getTsConfigObjectLiteralExpression(a);if(y){var k=[["target",e.factory.createStringLiteral("es2017")]];x===e.ModuleKind.CommonJS&&k.push(["module",e.factory.createStringLiteral("commonjs")]),n.setJsonCompilerOptionValues(ae,a,k)}});p.push(n.createCodeFixActionWithoutFixAll("fixTargetOption",g,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return p.length?p:void 0}}})})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixPropertyAssignment",f=[e.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];n.registerCodeFix({errorCodes:f,fixIds:[c],getCodeActions:function(x){var V=x.sourceFile,g=x.span,m=p(V,g.start),A=e.textChanges.ChangeTracker.with(x,function(K){return a(K,x.sourceFile,m)});return[n.createCodeFixAction(c,A,[e.Diagnostics.Change_0_to_1,"=",":"],c,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(x){return n.codeFixAll(x,f,function(V,g){return a(V,g.file,p(g.file,g.start))})}});function a(x,V,g){x.replaceNode(V,g,e.factory.createPropertyAssignment(g.name,g.objectAssignmentInitializer))}function p(x,V){return e.cast(e.getTokenAtPosition(x,V).parent,e.isShorthandPropertyAssignment)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="extendsInterfaceBecomesImplements",f=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(x){var V=x.sourceFile,g=a(V,x.span.start);if(g){var m=g.extendsToken,A=g.heritageClauses,K=e.textChanges.ChangeTracker.with(x,function(ae){return p(ae,V,m,A)});return[n.createCodeFixAction(c,K,e.Diagnostics.Change_extends_to_implements,c,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[c],getAllCodeActions:function(x){return n.codeFixAll(x,f,function(V,g){var m=a(g.file,g.start);m&&p(V,g.file,m.extendsToken,m.heritageClauses)})}});function a(x,V){var g=e.getTokenAtPosition(x,V),m=e.getContainingClass(g).heritageClauses,A=m[0].getFirstToken();return A.kind===94?{extendsToken:A,heritageClauses:m}:void 0}function p(x,V,g,m){if(x.replaceNode(V,g,e.factory.createToken(117)),m.length===2&&m[0].token===94&&m[1].token===117){var A=m[1].getFirstToken(),K=A.getFullStart();x.replaceRange(V,{pos:K,end:K},e.factory.createToken(27));for(var ae=V.text,y=A.end;y":">","}":"}"};function x(g){return e.hasProperty(p,g)}function V(g,m,A,K,ae){var y=A.getText()[K];if(x(y)){var k=ae?p[y]:"{".concat(e.quote(A,m,y),"}");g.replaceRangeWithText(A,{pos:K,end:K+1},k)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="unusedIdentifier",f="unusedIdentifier_prefix",a="unusedIdentifier_delete",p="unusedIdentifier_deleteImports",x="unusedIdentifier_infer",V=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];n.registerCodeFix({errorCodes:V,getCodeActions:function(X){var G=X.errorCode,Z=X.sourceFile,E=X.program,I=X.cancellationToken,b=E.getTypeChecker(),D=E.getSourceFiles(),C=e.getTokenAtPosition(Z,X.span.start);if(e.isJSDocTemplateTag(C))return[m(e.textChanges.ChangeTracker.with(X,function(Te){return Te.delete(Z,C)}),e.Diagnostics.Remove_template_tag)];if(C.kind===29){var _=e.textChanges.ChangeTracker.with(X,function(Te){return A(Te,Z,C)});return[m(_,e.Diagnostics.Remove_type_parameters)]}var d=ae(C);if(d){var _=e.textChanges.ChangeTracker.with(X,function(Ae){return Ae.delete(Z,d)});return[n.createCodeFixAction(c,_,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(d)],p,e.Diagnostics.Delete_all_unused_imports)]}else if(K(C)){var h=e.textChanges.ChangeTracker.with(X,function(Te){return N(Z,C,Te,b,D,E,I,!1)});if(h.length)return[n.createCodeFixAction(c,h,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,C.getText(Z)],p,e.Diagnostics.Delete_all_unused_imports)]}if(e.isObjectBindingPattern(C.parent)||e.isArrayBindingPattern(C.parent)){if(e.isParameter(C.parent.parent)){var P=C.parent.elements,te=[P.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(P,function(Te){return Te.getText(Z)}).join(", ")];return[m(e.textChanges.ChangeTracker.with(X,function(Te){return S(Te,Z,C.parent)}),te)]}return[m(e.textChanges.ChangeTracker.with(X,function(Te){return Te.delete(Z,C.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(y(Z,C))return[m(e.textChanges.ChangeTracker.with(X,function(Te){return k(Te,Z,C.parent)}),e.Diagnostics.Remove_variable_statement)];var ce=[];if(C.kind===137){var _=e.textChanges.ChangeTracker.with(X,function(Ae){return g(Ae,Z,C)}),q=e.cast(C.parent,e.isInferTypeNode).typeParameter.name.text;ce.push(n.createCodeFixAction(c,_,[e.Diagnostics.Replace_infer_0_with_unknown,q],x,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var h=e.textChanges.ChangeTracker.with(X,function(Ae){return N(Z,C,Ae,b,D,E,I,!1)});if(h.length){var q=e.isComputedPropertyName(C.parent)?C.parent:C;ce.push(m(h,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,q.getText(Z)]))}}var J=e.textChanges.ChangeTracker.with(X,function(Te){return F(Te,G,Z,C)});return J.length&&ce.push(n.createCodeFixAction(c,J,[e.Diagnostics.Prefix_0_with_an_underscore,C.getText(Z)],f,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),ce},fixIds:[f,a,p,x],getAllCodeActions:function(X){var G=X.sourceFile,Z=X.program,E=X.cancellationToken,I=Z.getTypeChecker(),b=Z.getSourceFiles();return n.codeFixAll(X,V,function(D,C){var _=e.getTokenAtPosition(G,C.start);switch(X.fixId){case f:F(D,C.code,G,_);break;case p:{var d=ae(_);d?D.delete(G,d):K(_)&&N(G,_,D,I,b,Z,E,!0);break}case a:{if(_.kind===137||K(_))break;if(e.isJSDocTemplateTag(_))D.delete(G,_);else if(_.kind===29)A(D,G,_);else if(e.isObjectBindingPattern(_.parent)){if(_.parent.parent.initializer)break;(!e.isParameter(_.parent.parent)||U(_.parent.parent,I,b))&&D.delete(G,_.parent.parent)}else{if(e.isArrayBindingPattern(_.parent.parent)&&_.parent.parent.parent.initializer)break;y(G,_)?k(D,G,_.parent):N(G,_,D,I,b,Z,E,!0)}break}case x:_.kind===137&&g(D,G,_);break;default:e.Debug.fail(JSON.stringify(X.fixId))}})}});function g(X,G,Z){X.replaceNode(G,Z.parent,e.factory.createKeywordTypeNode(154))}function m(X,G){return n.createCodeFixAction(c,X,G,a,e.Diagnostics.Delete_all_unused_declarations)}function A(X,G,Z){X.delete(G,e.Debug.checkDefined(e.cast(Z.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function K(X){return X.kind===100||X.kind===79&&(X.parent.kind===269||X.parent.kind===266)}function ae(X){return X.kind===100?e.tryCast(X.parent,e.isImportDeclaration):void 0}function y(X,G){return e.isVariableDeclarationList(G.parent)&&e.first(G.parent.getChildren(X))===G}function k(X,G,Z){X.delete(G,Z.parent.kind===236?Z.parent:Z)}function S(X,G,Z){e.forEach(Z.elements,function(E){return X.delete(G,E)})}function F(X,G,Z,E){G!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(E.kind===137&&(E=e.cast(E.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(E)&&B(E)&&(X.replaceNode(Z,E,e.factory.createIdentifier("_".concat(E.text))),e.isParameter(E.parent)&&e.getJSDocParameterTags(E.parent).forEach(function(I){e.isIdentifier(I.name)&&X.replaceNode(Z,I.name,e.factory.createIdentifier("_".concat(I.name.text)))})))}function B(X){switch(X.parent.kind){case 163:case 162:return!0;case 253:{var G=X.parent;switch(G.parent.parent.kind){case 243:case 242:return!0}}}return!1}function N(X,G,Z,E,I,b,D,C){w(G,Z,X,E,I,b,D,C),e.isIdentifier(G)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(G,E,X,function(_){e.isPropertyAccessExpression(_.parent)&&_.parent.name===_&&(_=_.parent),!C&&M(_)&&Z.delete(X,_.parent.parent)})}function w(X,G,Z,E,I,b,D,C){var _=X.parent;if(e.isParameter(_))O(G,Z,_,E,I,b,D,C);else if(!(C&&e.isIdentifier(X)&&e.FindAllReferences.Core.isSymbolReferencedInFile(X,E,Z))){var d=e.isImportClause(_)?X:e.isComputedPropertyName(_)?_.parent:_;e.Debug.assert(d!==Z,"should not delete whole source file"),G.delete(Z,d)}}function O(X,G,Z,E,I,b,D,C){C===void 0&&(C=!1),Q(E,G,Z,I,b,D,C)&&(Z.modifiers&&Z.modifiers.length>0&&(!e.isIdentifier(Z.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(Z.name,E,G))?Z.modifiers.forEach(function(_){return X.deleteModifier(G,_)}):!Z.initializer&&U(Z,E,I)&&X.delete(G,Z))}function U(X,G,Z){var E=X.parent.parameters.indexOf(X);return!e.FindAllReferences.Core.someSignatureUsage(X.parent,Z,G,function(I,b){return!b||b.arguments.length>E})}function Q(X,G,Z,E,I,b,D){var C=Z.parent;switch(C.kind){case 168:case 170:var _=C.parameters.indexOf(Z),d=e.isMethodDeclaration(C)?C.name:C,h=e.FindAllReferences.Core.getReferencedSymbolsForNode(C.pos,d,I,E,b);if(h)for(var P=0,te=h;P_,R=e.isPropertyAccessExpression(Te.node.parent)&&e.isSuperKeyword(Te.node.parent.expression)&&e.isCallExpression(Te.node.parent.parent)&&Te.node.parent.parent.arguments.length>_,Y=(e.isMethodDeclaration(Te.node.parent)||e.isMethodSignature(Te.node.parent))&&Te.node.parent!==Z.parent&&Te.node.parent.parameters.length>_;if(Ae||R||Y)return!1}}return!0;case 255:return C.name&&ee(X,G,C.name)?ne(C,Z,D):!0;case 212:case 213:return ne(C,Z,D);case 172:return!1;default:return e.Debug.failBadSyntaxKind(C)}}function ee(X,G,Z){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(Z,X,G,function(E){return e.isIdentifier(E)&&e.isCallExpression(E.parent)&&E.parent.arguments.indexOf(E)>=0})}function ne(X,G,Z){var E=X.parameters,I=E.indexOf(G);return e.Debug.assert(I!==-1,"The parameter should already be in the list"),Z?E.slice(I+1).every(function(b){return e.isIdentifier(b.name)&&!b.symbol.isReferenced}):I===E.length-1}function M(X){return(e.isBinaryExpression(X.parent)&&X.parent.left===X||(e.isPostfixUnaryExpression(X.parent)||e.isPrefixUnaryExpression(X.parent))&&X.parent.operand===X)&&e.isExpressionStatement(X.parent.parent)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixUnreachableCode",f=[e.Diagnostics.Unreachable_code_detected.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(x){var V=e.textChanges.ChangeTracker.with(x,function(g){return a(g,x.sourceFile,x.span.start,x.span.length,x.errorCode)});return[n.createCodeFixAction(c,V,e.Diagnostics.Remove_unreachable_code,c,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[c],getAllCodeActions:function(x){return n.codeFixAll(x,f,function(V,g){return a(V,g.file,g.start,g.length,g.code)})}});function a(x,V,g,m,A){var K=e.getTokenAtPosition(V,g),ae=e.findAncestor(K,e.isStatement);if(ae.getStart(V)!==K.getStart(V)){var y=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(ae.kind),tokenKind:e.Debug.formatSyntaxKind(K.kind),errorCode:A,start:g,length:m});e.Debug.fail("Token and statement should start at the same point. "+y)}var k=(e.isBlock(ae.parent)?ae.parent:ae).parent;if(!e.isBlock(ae.parent)||ae===e.first(ae.parent.statements))switch(k.kind){case 238:if(k.elseStatement){if(e.isBlock(ae.parent))break;x.replaceNode(V,ae,e.factory.createBlock(e.emptyArray));return}case 240:case 241:x.delete(V,k);return}if(e.isBlock(ae.parent)){var S=g+m,F=e.Debug.checkDefined(p(e.sliceAfter(ae.parent.statements,ae),function(B){return B.posve.length){var ge=C.getSignatureFromDeclaration(D[D.length-1]);De(Te,ge,te,h,E||ae(Te))}else e.Debug.assert(D.length===ve.length,"Declarations and signatures should match count"),Z(m(C,M,ee,ve,h,q&&!!(I&1),te,Te,E));break}function De(qe,Xe,Se,Le,Ye){var Dr=p(168,M,qe,Xe,Ye,Le,Se,q&&!!(I&1),ee,G);Dr&&Z(Dr)}}n.addNewNodeForMemberSymbol=a;function p(Q,ee,ne,M,X,G,Z,E,I,b){var D=ee.program,C=D.getTypeChecker(),_=e.getEmitScriptTarget(D.getCompilerOptions()),d=1073742081|(ne===0?268435456:0),h=C.signatureToSignatureDeclaration(M,Q,I,d,f(ee));if(h){var P=h.typeParameters,te=h.parameters,ce=h.type;if(b){if(P){var q=e.sameMap(P,function(Y){var j=Y.constraint,z=Y.default;if(j){var Ee=w(j,_);Ee&&(j=Ee.typeNode,U(b,Ee.symbols))}if(z){var Ee=w(z,_);Ee&&(z=Ee.typeNode,U(b,Ee.symbols))}return e.factory.updateTypeParameterDeclaration(Y,Y.name,j,z)});P!==q&&(P=e.setTextRange(e.factory.createNodeArray(q,P.hasTrailingComma),P))}var J=e.sameMap(te,function(Y){var j=w(Y.type,_),z=Y.type;return j&&(z=j.typeNode,U(b,j.symbols)),e.factory.updateParameterDeclaration(Y,Y.decorators,Y.modifiers,Y.dotDotDotToken,Y.name,Y.questionToken,z,Y.initializer)});if(te!==J&&(te=e.setTextRange(e.factory.createNodeArray(J,te.hasTrailingComma),te)),ce){var Te=w(ce,_);Te&&(ce=Te.typeNode,U(b,Te.symbols))}}var Ae=E?e.factory.createToken(57):void 0,R=h.asteriskToken;if(e.isFunctionExpression(h))return e.factory.updateFunctionExpression(h,Z,h.asteriskToken,e.tryCast(G,e.isIdentifier),P,te,ce,X??h.body);if(e.isArrowFunction(h))return e.factory.updateArrowFunction(h,Z,P,te,ce,h.equalsGreaterThanToken,X??h.body);if(e.isMethodDeclaration(h))return e.factory.updateMethodDeclaration(h,void 0,Z,R,G??e.factory.createIdentifier(""),Ae,P,te,ce,X)}}n.createSignatureDeclarationFromSignature=p;function x(Q,ee,ne,M,X,G,Z){var E=e.getQuotePreference(ee.sourceFile,ee.preferences),I=e.getEmitScriptTarget(ee.program.getCompilerOptions()),b=f(ee),D=ee.program.getTypeChecker(),C=e.isInJSFile(Z),_=M.typeArguments,d=M.arguments,h=M.parent,P=C?void 0:D.getContextualType(M),te=e.map(d,function(Y){return e.isIdentifier(Y)?Y.text:e.isPropertyAccessExpression(Y)&&e.isIdentifier(Y.name)?Y.name.text:void 0}),ce=C?[]:e.map(d,function(Y){return V(D,ne,D.getBaseTypeOfLiteralType(D.getTypeAtLocation(Y)),Z,I,void 0,b)}),q=G?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(G)):void 0,J=e.isYieldExpression(h)?e.factory.createToken(41):void 0,Te=C||_===void 0?void 0:e.map(_,function(Y,j){return e.factory.createTypeParameterDeclaration(84+_.length-1<=90?String.fromCharCode(84+j):"T".concat(j))}),Ae=g(d.length,te,ce,void 0,C),R=C||P===void 0?void 0:D.typeToTypeNode(P,Z,void 0,b);return Q===168?e.factory.createMethodDeclaration(void 0,q,J,X,void 0,Te,Ae,R,e.isInterfaceDeclaration(Z)?void 0:ae(E)):e.factory.createFunctionDeclaration(void 0,q,J,X,Te,Ae,R,y(e.Diagnostics.Function_not_implemented.message,E))}n.createSignatureDeclarationFromCallExpression=x;function V(Q,ee,ne,M,X,G,Z){var E=Q.typeToTypeNode(ne,M,G,Z);if(E&&e.isImportTypeNode(E)){var I=w(E,X);I&&(U(ee,I.symbols),E=I.typeNode)}return e.getSynthesizedDeepClone(E)}n.typeToAutoImportableTypeNode=V;function g(Q,ee,ne,M,X){for(var G=[],Z=0;Z=M?e.factory.createToken(57):void 0,X?void 0:ne&&ne[Z]||e.factory.createKeywordTypeNode(130),void 0);G.push(E)}return G}function m(Q,ee,ne,M,X,G,Z,E,I){for(var b=M[0],D=M[0].minArgumentCount,C=!1,_=0,d=M;_=b.parameters.length&&(!e.signatureHasRestParameter(h)||e.signatureHasRestParameter(b))&&(b=h)}var P=b.parameters.length-(e.signatureHasRestParameter(b)?1:0),te=b.parameters.map(function(Te){return Te.name}),ce=g(P,te,void 0,D,!1);if(C){var q=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),J=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),te[P]||"rest",P>=D?e.factory.createToken(57):void 0,q,void 0);ce.push(J)}return K(Z,X,G,void 0,ce,A(M,Q,ee,ne),E,I)}function A(Q,ee,ne,M){if(e.length(Q)){var X=ee.getUnionType(e.map(Q,ee.getReturnTypeOfSignature));return ee.typeToTypeNode(X,M,void 0,f(ne))}}function K(Q,ee,ne,M,X,G,Z,E){return e.factory.createMethodDeclaration(void 0,Q,void 0,ee,ne?e.factory.createToken(57):void 0,M,X,G,E||ae(Z))}function ae(Q){return y(e.Diagnostics.Method_not_implemented.message,Q)}function y(Q,ee){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(Q,ee===0)]))],!0)}n.createStubbedBody=y;function k(Q){if(Q&4)return e.factory.createToken(123);if(Q&16)return e.factory.createToken(122)}function S(Q,ee,ne){var M=e.getTsConfigObjectLiteralExpression(ee);if(M){var X=N(M,"compilerOptions");if(X===void 0){Q.insertNodeAtObjectStart(ee,M,B("compilerOptions",e.factory.createObjectLiteralExpression(ne.map(function(_){var d=_[0],h=_[1];return B(d,h)}),!0)));return}var G=X.initializer;if(e.isObjectLiteralExpression(G))for(var Z=0,E=ne;Z0)return[n.createCodeFixAction(c,x,e.Diagnostics.Convert_to_a_bigint_numeric_literal,c,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[c],getAllCodeActions:function(p){return n.codeFixAll(p,f,function(x,V){return a(x,V.file,V)})}});function a(p,x,V){var g=e.tryCast(e.getTokenAtPosition(x,V.start),e.isNumericLiteral);if(g){var m=g.getText(x)+"n";p.replaceNode(x,g,e.factory.createBigIntLiteral(m))}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixAddModuleReferTypeMissingTypeof",f=c,a=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];n.registerCodeFix({errorCodes:a,getCodeActions:function(V){var g=V.sourceFile,m=V.span,A=p(g,m.start),K=e.textChanges.ChangeTracker.with(V,function(ae){return x(ae,g,A)});return[n.createCodeFixAction(f,K,e.Diagnostics.Add_missing_typeof,f,e.Diagnostics.Add_missing_typeof)]},fixIds:[f],getAllCodeActions:function(V){return n.codeFixAll(V,a,function(g,m){return x(g,V.sourceFile,p(m.file,m.start))})}});function p(V,g){var m=e.getTokenAtPosition(V,g);return e.Debug.assert(m.kind===100,"This token should be an ImportKeyword"),e.Debug.assert(m.parent.kind===199,"Token parent should be an ImportType"),m.parent}function x(V,g,m){var A=e.factory.updateImportTypeNode(m,m.argument,m.qualifier,m.typeArguments,!0);V.replaceNode(g,m,A)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="wrapJsxInFragment",f=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(V){var g=V.sourceFile,m=V.span,A=a(g,m.start);if(A){var K=e.textChanges.ChangeTracker.with(V,function(ae){return p(ae,g,A)});return[n.createCodeFixAction(c,K,e.Diagnostics.Wrap_in_JSX_fragment,c,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[c],getAllCodeActions:function(V){return n.codeFixAll(V,f,function(g,m){var A=a(V.sourceFile,m.start);A&&p(g,V.sourceFile,A)})}});function a(V,g){var m=e.getTokenAtPosition(V,g),A=m.parent,K=A.parent;if(!(!e.isBinaryExpression(K)&&(K=K.parent,!e.isBinaryExpression(K)))&&e.nodeIsMissing(K.operatorToken))return K}function p(V,g,m){var A=x(m);A&&V.replaceNode(g,m,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),A,e.factory.createJsxJsxClosingFragment()))}function x(V){for(var g=[],m=V;;)if(e.isBinaryExpression(m)&&e.nodeIsMissing(m.operatorToken)&&m.operatorToken.kind===27){if(g.push(m.left),e.isJsxChild(m.right))return g.push(m.right),g;if(e.isBinaryExpression(m.right)){m=m.right;continue}else return}else return}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixConvertToMappedObjectType",f=c,a=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];n.registerCodeFix({errorCodes:a,getCodeActions:function(g){var m=g.sourceFile,A=g.span,K=p(m,A.start);if(K){var ae=e.textChanges.ChangeTracker.with(g,function(k){return V(k,m,K)}),y=e.idText(K.container.name);return[n.createCodeFixAction(f,ae,[e.Diagnostics.Convert_0_to_mapped_object_type,y],f,[e.Diagnostics.Convert_0_to_mapped_object_type,y])]}},fixIds:[f],getAllCodeActions:function(g){return n.codeFixAll(g,a,function(m,A){var K=p(A.file,A.start);K&&V(m,A.file,K)})}});function p(g,m){var A=e.getTokenAtPosition(g,m),K=e.cast(A.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(K.parent)){var ae=e.isInterfaceDeclaration(K.parent)?K.parent:e.cast(K.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:K,container:ae}}}function x(g,m){return e.factory.createTypeAliasDeclaration(g.decorators,g.modifiers,g.name,g.typeParameters,m)}function V(g,m,A){var K=A.indexSignature,ae=A.container,y=e.isInterfaceDeclaration(ae)?ae.members:ae.type.members,k=y.filter(function(w){return!e.isIndexSignatureDeclaration(w)}),S=e.first(K.parameters),F=e.factory.createTypeParameterDeclaration(e.cast(S.name,e.isIdentifier),S.type),B=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(K)?e.factory.createModifier(144):void 0,F,void 0,K.questionToken,K.type,void 0),N=e.factory.createIntersectionTypeNode(Gt(Gt(Gt([],e.getAllSuperTypeNodes(ae),!0),[B],!1),k.length?[e.factory.createTypeLiteralNode(k)]:e.emptyArray,!0));g.replaceNode(m,ae,x(ae,N))}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="removeAccidentalCallParentheses",f=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(a){var p=e.findAncestor(e.getTokenAtPosition(a.sourceFile,a.span.start),e.isCallExpression);if(p){var x=e.textChanges.ChangeTracker.with(a,function(V){V.deleteRange(a.sourceFile,{pos:p.expression.end,end:p.end})});return[n.createCodeFixActionWithoutFixAll(c,x,e.Diagnostics.Remove_parentheses)]}},fixIds:[c]})})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="removeUnnecessaryAwait",f=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(p){var x=e.textChanges.ChangeTracker.with(p,function(V){return a(V,p.sourceFile,p.span)});if(x.length>0)return[n.createCodeFixAction(c,x,e.Diagnostics.Remove_unnecessary_await,c,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[c],getAllCodeActions:function(p){return n.codeFixAll(p,f,function(x,V){return a(x,V.file,V)})}});function a(p,x,V){var g=e.tryCast(e.getTokenAtPosition(x,V.start),function(k){return k.kind===132}),m=g&&e.tryCast(g.parent,e.isAwaitExpression);if(m){var A=m,K=e.isParenthesizedExpression(m.parent);if(K){var ae=e.getLeftmostExpression(m.expression,!1);if(e.isIdentifier(ae)){var y=e.findPrecedingToken(m.parent.pos,x);y&&y.kind!==103&&(A=m.parent)}}p.replaceNode(x,A,m.expression)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],f="splitTypeOnlyImport";n.registerCodeFix({errorCodes:c,fixIds:[f],getCodeActions:function(x){var V=e.textChanges.ChangeTracker.with(x,function(g){return p(g,a(x.sourceFile,x.span),x)});if(V.length)return[n.createCodeFixAction(f,V,e.Diagnostics.Split_into_two_separate_import_declarations,f,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(x){return n.codeFixAll(x,c,function(V,g){p(V,a(x.sourceFile,g),x)})}});function a(x,V){return e.findAncestor(e.getTokenAtPosition(x,V.start),e.isImportDeclaration)}function p(x,V,g){if(V){var m=e.Debug.checkDefined(V.importClause);x.replaceNode(g.sourceFile,V,e.factory.updateImportDeclaration(V,V.decorators,V.modifiers,e.factory.updateImportClause(m,m.isTypeOnly,m.name,void 0),V.moduleSpecifier,V.assertClause)),x.insertNodeAfter(g.sourceFile,V,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(m,m.isTypeOnly,void 0,m.namedBindings),V.moduleSpecifier,V.assertClause))}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixConvertConstToLet",f=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:f,getCodeActions:function(x){var V=x.sourceFile,g=x.span,m=x.program,A=a(V,g.start,m);if(A!==void 0){var K=e.textChanges.ChangeTracker.with(x,function(ae){return p(ae,V,A)});return[n.createCodeFixAction(c,K,e.Diagnostics.Convert_const_to_let,c,e.Diagnostics.Convert_const_to_let)]}},fixIds:[c]});function a(x,V,g){var m,A=g.getTypeChecker(),K=A.getSymbolAtLocation(e.getTokenAtPosition(x,V)),ae=e.tryCast((m=K==null?void 0:K.valueDeclaration)===null||m===void 0?void 0:m.parent,e.isVariableDeclarationList);if(ae!==void 0){var y=e.findChildOfKind(ae,85,x);if(y!==void 0)return e.createRange(y.pos,y.end)}}function p(x,V,g){x.replaceRangeWithText(V,g,"let")}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="fixExpectedComma",f=e.Diagnostics._0_expected.code,a=[f];n.registerCodeFix({errorCodes:a,getCodeActions:function(V){var g=V.sourceFile,m=p(g,V.span.start,V.errorCode);if(m){var A=e.textChanges.ChangeTracker.with(V,function(K){return x(K,g,m)});return[n.createCodeFixAction(c,A,[e.Diagnostics.Change_0_to_1,";",","],c,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[c],getAllCodeActions:function(V){return n.codeFixAll(V,a,function(g,m){var A=p(m.file,m.start,m.code);A&&x(g,V.sourceFile,A)})}});function p(V,g,m){var A=e.getTokenAtPosition(V,g);return A.kind===26&&A.parent&&(e.isObjectLiteralExpression(A.parent)||e.isArrayLiteralExpression(A.parent))?{node:A}:void 0}function x(V,g,m){var A=m.node,K=e.factory.createToken(27);V.replaceNode(g,A,K)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="addVoidToPromise",f="addVoidToPromise",a=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];n.registerCodeFix({errorCodes:a,fixIds:[f],getCodeActions:function(V){var g=e.textChanges.ChangeTracker.with(V,function(m){return p(m,V.sourceFile,V.span,V.program)});if(g.length>0)return[n.createCodeFixAction(c,g,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,f,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(V){return n.codeFixAll(V,a,function(g,m){return p(g,m.file,m,V.program,new e.Set)})}});function p(V,g,m,A,K){var ae=e.getTokenAtPosition(g,m.start);if(!(!e.isIdentifier(ae)||!e.isCallExpression(ae.parent)||ae.parent.expression!==ae||ae.parent.arguments.length!==0)){var y=A.getTypeChecker(),k=y.getSymbolAtLocation(ae),S=k==null?void 0:k.valueDeclaration;if(!(!S||!e.isParameter(S)||!e.isNewExpression(S.parent.parent))&&!(K!=null&&K.has(S))){K==null||K.add(S);var F=x(S.parent.parent);if(e.some(F)){var B=F[0],N=!e.isUnionTypeNode(B)&&!e.isParenthesizedTypeNode(B)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([B,e.factory.createKeywordTypeNode(114)]).types[0]);N&&V.insertText(g,B.pos,"("),V.insertText(g,B.end,N?") | void":" | void")}else{var w=y.getResolvedSignature(ae.parent),O=w==null?void 0:w.parameters[0],U=O&&y.getTypeOfSymbolAtLocation(O,S.parent.parent);e.isInJSFile(S)?(!U||U.flags&3)&&(V.insertText(g,S.parent.parent.end,")"),V.insertText(g,e.skipTrivia(g.text,S.parent.parent.pos),"/** @type {Promise} */(")):(!U||U.flags&2)&&V.insertText(g,S.parent.parent.expression.end,"")}}}}function x(V){var g;if(e.isInJSFile(V)){if(e.isParenthesizedExpression(V.parent)){var m=(g=e.getJSDocTypeTag(V.parent))===null||g===void 0?void 0:g.typeExpression.type;if(m&&e.isTypeReferenceNode(m)&&e.isIdentifier(m.typeName)&&e.idText(m.typeName)==="Promise")return m.typeArguments}}else return V.typeArguments}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="Convert export",f={name:"Convert default export to named export",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},a={name:"Convert named export to default export",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};n.registerRefactor(c,{kinds:[f.kind,a.kind],getAvailableActions:function(y){var k=p(y,y.triggerReason==="invoked");if(!k)return e.emptyArray;if(!n.isRefactorErrorInfo(k)){var S=k.wasDefault?f:a;return[{name:c,description:S.description,actions:[S]}]}return y.preferences.provideRefactorNotApplicableReason?[{name:c,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[On(On({},f),{notApplicableReason:k.error}),On(On({},a),{notApplicableReason:k.error})]}]:e.emptyArray},getEditsForAction:function(y,k){e.Debug.assert(k===f.name||k===a.name,"Unexpected action name");var S=p(y);e.Debug.assert(S&&!n.isRefactorErrorInfo(S),"Expected applicable refactor info");var F=e.textChanges.ChangeTracker.with(y,function(B){return x(y.file,y.program,S,B,y.cancellationToken)});return{edits:F,renameFilename:void 0,renameLocation:void 0}}});function p(y,k){k===void 0&&(k=!0);var S=y.file,F=y.program,B=e.getRefactorContextSpan(y),N=e.getTokenAtPosition(S,B.start),w=N.parent&&e.getSyntacticModifierFlags(N.parent)&1&&k?N.parent:e.getParentNodeInSpan(N,S,B);if(!w||!e.isSourceFile(w.parent)&&!(e.isModuleBlock(w.parent)&&e.isAmbientModule(w.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var O=e.isSourceFile(w.parent)?w.parent.symbol:w.parent.parent.symbol,U=e.getSyntacticModifierFlags(w)||(e.isExportAssignment(w)&&!w.isExportEquals?513:0),Q=!!(U&512);if(!(U&1)||!Q&&O.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var ee=F.getTypeChecker(),ne=function(Z){return e.isIdentifier(Z)&&ee.getSymbolAtLocation(Z)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(w.kind){case 255:case 256:case 257:case 259:case 258:case 260:{var M=w;return M.name?ne(M.name)||{exportNode:M,exportName:M.name,wasDefault:Q,exportingModuleSymbol:O}:void 0}case 236:{var X=w;if(!(X.declarationList.flags&2)||X.declarationList.declarations.length!==1)return;var G=e.first(X.declarationList.declarations);return G.initializer?(e.Debug.assert(!Q,"Can't have a default flag here"),ne(G.name)||{exportNode:X,exportName:G.name,wasDefault:Q,exportingModuleSymbol:O}):void 0}case 270:{var M=w;return M.isExportEquals?void 0:ne(M.expression)||{exportNode:M,exportName:M.expression,wasDefault:Q,exportingModuleSymbol:O}}default:return}}function x(y,k,S,F,B){V(y,S,F,k.getTypeChecker()),g(k,S,F,B)}function V(y,k,S,F){var B=k.wasDefault,N=k.exportNode,w=k.exportName;if(B)if(e.isExportAssignment(N)&&!N.isExportEquals){var O=N.expression,U=ae(O.text,O.text);S.replaceNode(y,N,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([U])))}else S.delete(y,e.Debug.checkDefined(e.findModifier(N,88),"Should find a default keyword in modifier list"));else{var Q=e.Debug.checkDefined(e.findModifier(N,93),"Should find an export keyword in modifier list");switch(N.kind){case 255:case 256:case 257:S.insertNodeAfter(y,Q,e.factory.createToken(88));break;case 236:var ee=e.first(N.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(w,F,y)&&!ee.type){S.replaceNode(y,N,e.factory.createExportDefault(e.Debug.checkDefined(ee.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:S.deleteModifier(y,Q),S.insertNodeAfter(y,N,e.factory.createExportDefault(e.factory.createIdentifier(w.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(N.kind))}}}function g(y,k,S,F){var B=k.wasDefault,N=k.exportName,w=k.exportingModuleSymbol,O=y.getTypeChecker(),U=e.Debug.checkDefined(O.getSymbolAtLocation(N),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(y.getSourceFiles(),O,F,U,w,N.text,B,function(Q){var ee=Q.getSourceFile();B?m(ee,Q,S,N.text):A(ee,Q,S)})}function m(y,k,S,F){var B=k.parent;switch(B.kind){case 205:S.replaceNode(y,k,e.factory.createIdentifier(F));break;case 269:case 274:{var N=B;S.replaceNode(y,N,K(F,N.name.text));break}case 266:{var w=B;e.Debug.assert(w.name===k,"Import clause name should match provided ref");var N=K(F,k.text),O=w.namedBindings;if(!O)S.replaceNode(y,k,e.factory.createNamedImports([N]));else if(O.kind===267){S.deleteRange(y,{pos:k.getStart(y),end:O.getStart(y)});var U=e.isStringLiteral(w.parent.moduleSpecifier)?e.quotePreferenceFromString(w.parent.moduleSpecifier,y):1,Q=e.makeImport(void 0,[K(F,k.text)],w.parent.moduleSpecifier,U);S.insertNodeAfter(y,w.parent,Q)}else S.delete(y,k),S.insertNodeAtEndOfList(y,O.elements,N);break}default:e.Debug.failBadSyntaxKind(B)}}function A(y,k,S){var F=k.parent;switch(F.kind){case 205:S.replaceNode(y,k,e.factory.createIdentifier("default"));break;case 269:{var B=e.factory.createIdentifier(F.name.text);F.parent.elements.length===1?S.replaceNode(y,F.parent,B):(S.delete(y,F),S.insertNodeBefore(y,F.parent,B));break}case 274:{S.replaceNode(y,F,ae("default",F.name.text));break}default:e.Debug.assertNever(F,"Unexpected parent kind ".concat(F.kind))}}function K(y,k){return e.factory.createImportSpecifier(!1,y===k?void 0:e.factory.createIdentifier(y),e.factory.createIdentifier(k))}function ae(y,k){return e.factory.createExportSpecifier(!1,y===k?void 0:e.factory.createIdentifier(y),e.factory.createIdentifier(k))}})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="Convert import",f={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},a={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};n.registerRefactor(c,{kinds:[f.kind,a.kind],getAvailableActions:function(ae){var y=p(ae,ae.triggerReason==="invoked");if(!y)return e.emptyArray;if(!n.isRefactorErrorInfo(y)){var k=y.kind===267,S=k?f:a;return[{name:c,description:S.description,actions:[S]}]}return ae.preferences.provideRefactorNotApplicableReason?[{name:c,description:f.description,actions:[On(On({},f),{notApplicableReason:y.error})]},{name:c,description:a.description,actions:[On(On({},a),{notApplicableReason:y.error})]}]:e.emptyArray},getEditsForAction:function(ae,y){e.Debug.assert(y===f.name||y===a.name,"Unexpected action name");var k=p(ae);e.Debug.assert(k&&!n.isRefactorErrorInfo(k),"Expected applicable refactor info");var S=e.textChanges.ChangeTracker.with(ae,function(F){return x(ae.file,ae.program,F,k)});return{edits:S,renameFilename:void 0,renameLocation:void 0}}});function p(ae,y){y===void 0&&(y=!0);var k=ae.file,S=e.getRefactorContextSpan(ae),F=e.getTokenAtPosition(k,S.start),B=y?e.findAncestor(F,e.isImportDeclaration):e.getParentNodeInSpan(F,k,S);if(!B||!e.isImportDeclaration(B))return{error:"Selection is not an import declaration."};var N=S.start+S.length,w=e.findNextToken(B,B.parent,k);if(!(w&&N>w.getStart())){var O=B.importClause;return O?O.namedBindings?O.namedBindings:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)}}}function x(ae,y,k,S){var F=y.getTypeChecker();S.kind===267?V(ae,F,k,S,e.getAllowSyntheticDefaultImports(y.getCompilerOptions())):A(ae,F,k,S)}function V(ae,y,k,S,F){var B=!1,N=[],w=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(S.name,y,ae,function(Z){if(!e.isPropertyAccessOrQualifiedName(Z.parent))B=!0;else{var E=g(Z.parent).text;y.resolveName(E,Z,67108863,!0)&&w.set(E,!0),e.Debug.assert(m(Z.parent)===Z,"Parent expression should match id"),N.push(Z.parent)}});for(var O=new e.Map,U=0,Q=N;U=I.pos?b.getEnd():I.getEnd()),C=E?w(I):N(I,D),_=C&&A(C)?O(C):void 0;if(!_)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var d=G.getTypeChecker();return e.isConditionalExpression(_)?ae(_,d):y(_)}}function ae(ne,M){var X=ne.condition,G=U(ne.whenTrue);if(!G||M.isNullableType(M.getTypeAtLocation(G)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(X)||e.isIdentifier(X))&&S(X,G.expression))return{finalExpression:G,occurrences:[X],expression:ne};if(e.isBinaryExpression(X)){var Z=k(G.expression,X);return Z?{finalExpression:G,occurrences:Z,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function y(ne){if(ne.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var M=U(ne.right);if(!M)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var X=k(M.expression,ne.left);return X?{finalExpression:M,occurrences:X,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function k(ne,M){for(var X=[];e.isBinaryExpression(M)&&M.operatorToken.kind===55;){var G=S(e.skipParentheses(ne),e.skipParentheses(M.right));if(!G)break;X.push(G),ne=G,M=M.left}var Z=S(ne,M);return Z&&X.push(Z),X.length>0?X:void 0}function S(ne,M){if(!(!e.isIdentifier(M)&&!e.isPropertyAccessExpression(M)&&!e.isElementAccessExpression(M)))return F(ne,M)?M:void 0}function F(ne,M){for(;(e.isCallExpression(ne)||e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne))&&B(ne)!==B(M);)ne=ne.expression;for(;e.isPropertyAccessExpression(ne)&&e.isPropertyAccessExpression(M)||e.isElementAccessExpression(ne)&&e.isElementAccessExpression(M);){if(B(ne)!==B(M))return!1;ne=ne.expression,M=M.expression}return e.isIdentifier(ne)&&e.isIdentifier(M)&&ne.getText()===M.getText()}function B(ne){if(e.isIdentifier(ne)||e.isStringOrNumericLiteralLike(ne))return ne.getText();if(e.isPropertyAccessExpression(ne))return B(ne.name);if(e.isElementAccessExpression(ne))return B(ne.argumentExpression)}function N(ne,M){for(;ne.parent;){if(A(ne)&&M.length!==0&&ne.end>=M.start+M.length)return ne;ne=ne.parent}}function w(ne){for(;ne.parent;){if(A(ne)&&!A(ne.parent))return ne;ne=ne.parent}}function O(ne){if(g(ne))return ne;if(e.isVariableStatement(ne)){var M=e.getSingleVariableOfVariableStatement(ne),X=M==null?void 0:M.initializer;return X&&g(X)?X:void 0}return ne.expression&&g(ne.expression)?ne.expression:void 0}function U(ne){if(ne=e.skipParentheses(ne),e.isBinaryExpression(ne))return U(ne.left);if((e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne)||e.isCallExpression(ne))&&!e.isOptionalChain(ne))return ne}function Q(ne,M,X){if(e.isPropertyAccessExpression(M)||e.isElementAccessExpression(M)||e.isCallExpression(M)){var G=Q(ne,M.expression,X),Z=X.length>0?X[X.length-1]:void 0,E=(Z==null?void 0:Z.getText())===M.expression.getText();if(E&&X.pop(),e.isCallExpression(M))return E?e.factory.createCallChain(G,e.factory.createToken(28),M.typeArguments,M.arguments):e.factory.createCallChain(G,M.questionDotToken,M.typeArguments,M.arguments);if(e.isPropertyAccessExpression(M))return E?e.factory.createPropertyAccessChain(G,e.factory.createToken(28),M.name):e.factory.createPropertyAccessChain(G,M.questionDotToken,M.name);if(e.isElementAccessExpression(M))return E?e.factory.createElementAccessChain(G,e.factory.createToken(28),M.argumentExpression):e.factory.createElementAccessChain(G,M.questionDotToken,M.argumentExpression)}return M}function ee(ne,M,X,G,Z){var E=G.finalExpression,I=G.occurrences,b=G.expression,D=I[I.length-1],C=Q(M,E,I);C&&(e.isPropertyAccessExpression(C)||e.isElementAccessExpression(C)||e.isCallExpression(C))&&(e.isBinaryExpression(b)?X.replaceNodeRange(ne,D,E,C):e.isConditionalExpression(b)&&X.replaceNode(ne,b,e.factory.createBinaryExpression(C,e.factory.createToken(60),b.whenFalse)))}})(n.convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(c){var f="Convert overload list to single signature",a=e.Diagnostics.Convert_overload_list_to_single_signature.message,p={name:f,description:a,kind:"refactor.rewrite.function.overloadList"};n.registerRefactor(f,{kinds:[p.kind],getEditsForAction:V,getAvailableActions:x});function x(A){var K=A.file,ae=A.startPosition,y=A.program,k=m(K,ae,y);return k?[{name:f,description:a,actions:[p]}]:e.emptyArray}function V(A){var K=A.file,ae=A.startPosition,y=A.program,k=m(K,ae,y);if(!k)return;var S=y.getTypeChecker(),F=k[k.length-1],B=F;switch(F.kind){case 167:{B=e.factory.updateMethodSignature(F,F.modifiers,F.name,F.questionToken,F.typeParameters,w(k),F.type);break}case 168:{B=e.factory.updateMethodDeclaration(F,F.decorators,F.modifiers,F.asteriskToken,F.name,F.questionToken,F.typeParameters,w(k),F.type,F.body);break}case 173:{B=e.factory.updateCallSignature(F,F.typeParameters,w(k),F.type);break}case 170:{B=e.factory.updateConstructorDeclaration(F,F.decorators,F.modifiers,w(k),F.body);break}case 174:{B=e.factory.updateConstructSignature(F,F.typeParameters,w(k),F.type);break}case 255:{B=e.factory.updateFunctionDeclaration(F,F.decorators,F.modifiers,F.asteriskToken,F.name,F.typeParameters,w(k),F.type,F.body);break}default:return e.Debug.failBadSyntaxKind(F,"Unhandled signature kind in overload list conversion refactoring")}if(B===F)return;var N=e.textChanges.ChangeTracker.with(A,function(Q){Q.replaceNodeRange(K,k[0],k[k.length-1],B)});return{renameFilename:void 0,renameLocation:void 0,edits:N};function w(Q){var ee=Q[Q.length-1];return e.isFunctionLikeDeclaration(ee)&&ee.body&&(Q=Q.slice(0,Q.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(Q,O)))])}function O(Q){var ee=e.map(Q.parameters,U);return e.setEmitFlags(e.factory.createTupleTypeNode(ee),e.some(ee,function(ne){return!!e.length(e.getSyntheticLeadingComments(ne))})?0:1)}function U(Q){e.Debug.assert(e.isIdentifier(Q.name));var ee=e.setTextRange(e.factory.createNamedTupleMember(Q.dotDotDotToken,Q.name,Q.questionToken,Q.type||e.factory.createKeywordTypeNode(130)),Q),ne=Q.symbol&&Q.symbol.getDocumentationComment(S);if(ne){var M=e.displayPartsToString(ne);M.length&&e.setSyntheticLeadingComments(ee,[{text:`* `.concat(M.split(` `).map(function(X){return" * ".concat(X)}).join(` `),` `),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return ee}}function g(A){switch(A.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function m(A,K,ae){var y=e.getTokenAtPosition(A,K),k=e.findAncestor(y,g);if(k){var S=ae.getTypeChecker(),F=k.symbol;if(F){var B=F.declarations;if(!(e.length(B)<=1)&&e.every(B,function(Q){return e.getSourceFileOfNode(Q)===A})&&g(B[0])){var N=B[0].kind;if(e.every(B,function(Q){return Q.kind===N})){var w=B;if(!e.some(w,function(Q){return!!Q.typeParameters||e.some(Q.parameters,function(ee){return!!ee.decorators||!!ee.modifiers||!e.isIdentifier(ee.name)})})){var O=e.mapDefined(w,function(Q){return S.getSignatureFromDeclaration(Q)});if(e.length(O)===e.length(B)){var U=S.getReturnTypeOfSignature(O[0]);if(e.every(O,function(Q){return S.getReturnTypeOfSignature(Q)===U}))return w}}}}}}}})(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(c){var f="Extract Symbol",a={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},p={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};n.registerRefactor(f,{kinds:[a.kind,p.kind],getAvailableActions:x,getEditsForAction:V});function x(j){var z=j.kind,Ee=A(j.file,e.getRefactorContextSpan(j),j.triggerReason==="invoked"),_e=Ee.targetRange;if(_e===void 0){if(!Ee.errors||Ee.errors.length===0||!j.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var ke=[];return n.refactorKindBeginsWith(p.kind,z)&&ke.push({name:f,description:p.description,actions:[On(On({},p),{notApplicableReason:Cr(Ee.errors)})]}),n.refactorKindBeginsWith(a.kind,z)&&ke.push({name:f,description:a.description,actions:[On(On({},a),{notApplicableReason:Cr(Ee.errors)})]}),ke}var Pe=B(_e,j);if(Pe===void 0)return e.emptyArray;for(var Ie=[],Fe=new e.Map,ve,ge=[],Be=new e.Map,de,De=0,qe=0,Xe=Pe;qe=z.start+z.length)return(vr||(vr=[])).push(e.createDiagnosticForNode(pr,g.cannotExtractSuper)),!0}else de|=m.UsesThis;break;case 213:e.forEachChild(pr,function He(Lr){if(e.isThis(Lr))de|=m.UsesThis;else{if(e.isClassLike(Lr)||e.isFunctionLike(Lr)&&!e.isArrowFunction(Lr))return!1;e.forEachChild(Lr,He)}});case 256:case 255:e.isSourceFile(pr.parent)&&pr.parent.externalModuleIndicator===void 0&&(vr||(vr=[])).push(e.createDiagnosticForNode(pr,g.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var ur=fe;switch(pr.kind){case 238:fe=0;break;case 251:fe=0;break;case 234:pr.parent&&pr.parent.kind===251&&pr.parent.finallyBlock===pr&&(fe=4);break;case 289:case 288:fe|=1;break;default:e.isIterationStatement(pr,!1)&&(fe|=3);break}switch(pr.kind){case 191:case 108:de|=m.UsesThis;break;case 249:{var Wr=pr.label;(xe||(xe=[])).push(Wr.escapedText),e.forEachChild(pr,Je),xe.pop();break}case 245:case 244:{var Wr=pr.label;Wr?e.contains(xe,Wr.escapedText)||(vr||(vr=[])).push(e.createDiagnosticForNode(pr,g.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):fe&(pr.kind===245?1:2)||(vr||(vr=[])).push(e.createDiagnosticForNode(pr,g.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 217:de|=m.IsAsyncFunction;break;case 223:de|=m.IsGenerator;break;case 246:fe&4?de|=m.HasReturn:(vr||(vr=[])).push(e.createDiagnosticForNode(pr,g.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(pr,Je);break}fe=ur}}}c.getRangeToExtract=A;function K(j,z,Ee){var _e=j.getStart(Ee),ke=z.getEnd();return Ee.text.charCodeAt(ke)===59&&ke++,{start:_e,length:ke-_e}}function ae(j){if(e.isStatement(j))return[j];if(e.isExpressionNode(j))return e.isExpressionStatement(j.parent)?[j.parent]:j}function y(j){return e.isFunctionLikeDeclaration(j)||e.isSourceFile(j)||e.isModuleBlock(j)||e.isClassLike(j)}function k(j){var z=te(j.range)?e.first(j.range):j.range;if(j.facts&m.UsesThis){var Ee=e.getContainingClass(z);if(Ee){var _e=e.findAncestor(z,e.isFunctionLikeDeclaration);return _e?[_e,Ee]:[Ee]}}for(var ke=[];;)if(z=z.parent,z.kind===163&&(z=e.findAncestor(z,function(Pe){return e.isFunctionLikeDeclaration(Pe)}).parent),y(z)&&(ke.push(z),z.kind===303))return ke}function S(j,z,Ee){var _e=N(j,z),ke=_e.scopes,Pe=_e.readsAndWrites,Ie=Pe.target,Fe=Pe.usagesPerScope,ve=Pe.functionErrorsPerScope,ge=Pe.exposedVariableDeclarations;return e.Debug.assert(!ve[Ee].length,"The extraction went missing? How?"),z.cancellationToken.throwIfCancellationRequested(),M(Ie,ke[Ee],Fe[Ee],ge,j,z)}function F(j,z,Ee){var _e=N(j,z),ke=_e.scopes,Pe=_e.readsAndWrites,Ie=Pe.target,Fe=Pe.usagesPerScope,ve=Pe.constantErrorsPerScope,ge=Pe.exposedVariableDeclarations;e.Debug.assert(!ve[Ee].length,"The extraction went missing? How?"),e.Debug.assert(ge.length===0,"Extract constant accepted a range containing a variable declaration?"),z.cancellationToken.throwIfCancellationRequested();var Be=e.isExpression(Ie)?Ie:Ie.statements[0].expression;return X(Be,ke[Ee],Fe[Ee],j.facts,z)}function B(j,z){var Ee=N(j,z),_e=Ee.scopes,ke=Ee.readsAndWrites,Pe=ke.functionErrorsPerScope,Ie=ke.constantErrorsPerScope,Fe=_e.map(function(ve,ge){var Be=w(ve),de=O(ve),De=e.isFunctionLikeDeclaration(ve)?U(ve):e.isClassLike(ve)?Q(ve):ee(ve),qe,Xe;return De===1?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Be,"global"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[de,"global"])):De===0?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Be,"module"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[de,"module"])):(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[Be,De]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[de,De])),ge===0&&!e.isClassLike(ve)&&(Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[de])),{functionExtraction:{description:qe,errors:Pe[ge]},constantExtraction:{description:Xe,errors:Ie[ge]}}});return Fe}function N(j,z){var Ee=z.file,_e=k(j),ke=ce(j,Ee),Pe=J(j,_e,ke,Ee,z.program.getTypeChecker(),z.cancellationToken);return{scopes:_e,readsAndWrites:Pe}}function w(j){return e.isFunctionLikeDeclaration(j)?"inner function":e.isClassLike(j)?"method":"function"}function O(j){return e.isClassLike(j)?"readonly field":"constant"}function U(j){switch(j.kind){case 170:return"constructor";case 212:case 255:return j.name?"function '".concat(j.name.text,"'"):e.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(j.name.getText(),"'");case 171:return"'get ".concat(j.name.getText(),"'");case 172:return"'set ".concat(j.name.getText(),"'");default:throw e.Debug.assertNever(j,"Unexpected scope kind ".concat(j.kind))}}function Q(j){return j.kind===256?j.name?"class '".concat(j.name.text,"'"):"anonymous class declaration":j.name?"class expression '".concat(j.name.text,"'"):"anonymous class expression"}function ee(j){return j.kind===261?"namespace '".concat(j.parent.name.getText(),"'"):j.externalModuleIndicator?0:1}var ne;(function(j){j[j.Module=0]="Module",j[j.Global=1]="Global"})(ne||(ne={}));function M(j,z,Ee,_e,ke,Pe){var Ie=Ee.usages,Fe=Ee.typeParameterUsages,ve=Ee.substitutions,ge=Pe.program.getTypeChecker(),Be=e.getEmitScriptTarget(Pe.program.getCompilerOptions()),de=e.codefix.createImportAdder(Pe.file,Pe.program,Pe.preferences,Pe.host),De=z.getSourceFile(),qe=e.getUniqueName(e.isClassLike(z)?"newMethod":"newFunction",De),Xe=e.isInJSFile(z),Se=e.factory.createIdentifier(qe),Le,Ye=[],Dr=[],br;Ie.forEach(function(We,$){var Ne;if(!Xe){var me=ge.getTypeOfSymbolAtLocation(We.symbol,We.node);me=ge.getBaseTypeOfLiteralType(me),Ne=e.codefix.typeToAutoImportableTypeNode(ge,de,me,z,Be,1)}var Ze=e.factory.createParameterDeclaration(void 0,void 0,void 0,$,void 0,Ne);Ye.push(Ze),We.usage===2&&(br||(br=[])).push(We),Dr.push(e.factory.createIdentifier($))});var or=e.arrayFrom(Fe.values()).map(function(We){return{type:We,declaration:Z(We)}}),Cr=or.sort(E),Rr=Cr.length===0?void 0:Cr.map(function(We){return We.declaration}),Ke=Rr!==void 0?Rr.map(function(We){return e.factory.createTypeReferenceNode(We.name,void 0)}):void 0;if(e.isExpression(j)&&!Xe){var Me=ge.getContextualType(j);Le=ge.typeToTypeNode(Me,z,1)}var Hr=b(j,_e,br,ve,!!(ke.facts&m.HasReturn)),cr=Hr.body,vr=Hr.returnValueProperty;e.suppressLeadingAndTrailingTrivia(cr);var fe;if(e.isClassLike(z)){var xe=Xe?[]:[e.factory.createModifier(121)];ke.facts&m.InStaticRegion&&xe.push(e.factory.createModifier(124)),ke.facts&m.IsAsyncFunction&&xe.push(e.factory.createModifier(131)),fe=e.factory.createMethodDeclaration(void 0,xe.length?xe:void 0,ke.facts&m.IsGenerator?e.factory.createToken(41):void 0,Se,void 0,Rr,Ye,Le,cr)}else fe=e.factory.createFunctionDeclaration(void 0,ke.facts&m.IsAsyncFunction?[e.factory.createToken(131)]:void 0,ke.facts&m.IsGenerator?e.factory.createToken(41):void 0,Se,Rr,Ye,Le,cr);var Je=e.textChanges.ChangeTracker.fromContext(Pe),pr=(te(ke.range)?e.last(ke.range):ke.range).end,kr=_(pr,z);kr?Je.insertNodeBefore(Pe.file,kr,fe,!0):Je.insertNodeAtEndOfScope(Pe.file,z,fe),de.writeFixes(Je);var Ve=[],ur=I(z,ke,qe),Wr=e.factory.createCallExpression(ur,Ke,Dr);if(ke.facts&m.IsGenerator&&(Wr=e.factory.createYieldExpression(e.factory.createToken(41),Wr)),ke.facts&m.IsAsyncFunction&&(Wr=e.factory.createAwaitExpression(Wr)),Y(j)&&(Wr=e.factory.createJsxExpression(void 0,Wr)),_e.length&&!br)if(e.Debug.assert(!vr,"Expected no returnValueProperty"),e.Debug.assert(!(ke.facts&m.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),_e.length===1){var He=_e[0];Ve.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(He.name),void 0,e.getSynthesizedDeepClone(He.type),Wr)],He.parent.flags)))}else{for(var Lr=[],qr=[],lt=_e[0].parent.flags,rt=!1,Rt=0,an=_e;Rt1)return j;Ee=j,j=j.parent}}function Z(j){var z,Ee=j.symbol;if(Ee&&Ee.declarations)for(var _e=0,ke=Ee.declarations;_e0;if(e.isBlock(j)&&!Pe&&_e.size===0)return{body:e.factory.createBlock(j.statements,!0),returnValueProperty:void 0};var Ie,Fe=!1,ve=e.factory.createNodeArray(e.isBlock(j)?j.statements.slice(0):[e.isStatement(j)?j:e.factory.createReturnStatement(e.skipParentheses(j))]);if(Pe||_e.size){var ge=e.visitNodes(ve,de).slice();if(Pe&&!ke&&e.isStatement(j)){var Be=P(z,Ee);Be.length===1?ge.push(e.factory.createReturnStatement(Be[0].name)):ge.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(Be)))}return{body:e.factory.createBlock(ge,!0),returnValueProperty:Ie}}else return{body:e.factory.createBlock(ve,!0),returnValueProperty:void 0};function de(De){if(!Fe&&e.isReturnStatement(De)&&Pe){var qe=P(z,Ee);return De.expression&&(Ie||(Ie="__return"),qe.unshift(e.factory.createPropertyAssignment(Ie,e.visitNode(De.expression,de)))),qe.length===1?e.factory.createReturnStatement(qe[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(qe))}else{var Xe=Fe;Fe=Fe||e.isFunctionLikeDeclaration(De)||e.isClassLike(De);var Se=_e.get(e.getNodeId(De).toString()),Le=Se?e.getSynthesizedDeepClone(Se):e.visitEachChild(De,de,e.nullTransformationContext);return Fe=Xe,Le}}}function D(j,z){return z.size?Ee(j):j;function Ee(_e){var ke=z.get(e.getNodeId(_e).toString());return ke?e.getSynthesizedDeepClone(ke):e.visitEachChild(_e,Ee,e.nullTransformationContext)}}function C(j){if(e.isFunctionLikeDeclaration(j)){var z=j.body;if(e.isBlock(z))return z.statements}else{if(e.isModuleBlock(j)||e.isSourceFile(j))return j.statements;if(e.isClassLike(j))return j.members;e.assertType(j)}return e.emptyArray}function _(j,z){return e.find(C(z),function(Ee){return Ee.pos>=j&&e.isFunctionLikeDeclaration(Ee)&&!e.isConstructorDeclaration(Ee)})}function d(j,z){var Ee=z.members;e.Debug.assert(Ee.length>0,"Found no members");for(var _e,ke=!0,Pe=0,Ie=Ee;Pej)return _e||Ee[0];if(ke&&!e.isPropertyDeclaration(Fe)){if(_e!==void 0)return Fe;ke=!1}_e=Fe}return _e===void 0?e.Debug.fail():_e}function h(j,z){e.Debug.assert(!e.isClassLike(z));for(var Ee,_e=j;_e!==z;_e=_e.parent)y(_e)&&(Ee=_e);for(var _e=(Ee||j).parent;;_e=_e.parent){if(R(_e)){for(var ke=void 0,Pe=0,Ie=_e.statements;Pej.pos)break;ke=Fe}return!ke&&e.isCaseClause(_e)?(e.Debug.assert(e.isSwitchStatement(_e.parent.parent),"Grandparent isn't a switch statement"),_e.parent.parent):e.Debug.checkDefined(ke,"prevStatement failed to get set")}e.Debug.assert(_e!==z,"Didn't encounter a block-like before encountering scope")}}function P(j,z){var Ee=e.map(j,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)}),_e=e.map(z,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)});return Ee===void 0?_e:_e===void 0?Ee:Ee.concat(_e)}function te(j){return e.isArray(j)}function ce(j,z){return te(j.range)?{pos:e.first(j.range).getStart(z),end:e.last(j.range).getEnd()}:j.range}var q;(function(j){j[j.Read=1]="Read",j[j.Write=2]="Write"})(q||(q={}));function J(j,z,Ee,_e,ke,Pe){var Ie=new e.Map,Fe=[],ve=[],ge=[],Be=[],de=[],De=new e.Map,qe=[],Xe,Se=te(j.range)?j.range.length===1&&e.isExpressionStatement(j.range[0])?j.range[0].expression:void 0:j.range,Le;if(Se===void 0){var Ye=j.range,Dr=e.first(Ye).getStart(),br=e.last(Ye).end;Le=e.createFileDiagnostic(_e,Dr,br-Dr,g.expressionExpected)}else ke.getTypeAtLocation(Se).flags&147456&&(Le=e.createDiagnosticForNode(Se,g.uselessConstantType));for(var or=0,Cr=z;or0){for(var xe=new e.Map,Je=0,pr=cr;pr!==void 0&&Je0&&(sr.usages.size>0||sr.typeParameterUsages.size>0)){var he=te(j.range)?j.range[0]:j.range;Be[wr].push(e.createDiagnosticForNode(he,g.cannotAccessVariablesFromNestedScopes))}var ir=!1,ue;if(Fe[wr].usages.forEach(function(be){be.usage===2&&(ir=!0,be.symbol.flags&106500&&be.symbol.valueDeclaration&&e.hasEffectiveModifier(be.symbol.valueDeclaration,64)&&(ue=be.symbol.valueDeclaration))}),e.Debug.assert(te(j.range)||qe.length===0,"No variable declarations expected if something was extracted"),ir&&!te(j.range)){var je=e.createDiagnosticForNode(j.range,g.cannotWriteInExpression);ge[wr].push(je),Be[wr].push(je)}else if(ue&&wr>0){var je=e.createDiagnosticForNode(ue,g.cannotExtractReadonlyPropertyInitializerOutsideConstructor);ge[wr].push(je),Be[wr].push(je)}else if(Xe){var je=e.createDiagnosticForNode(Xe,g.cannotExtractExportedEntity);ge[wr].push(je),Be[wr].push(je)}},qr=0;qr=sr)return ue;if(Me.set(ue,sr),je){for(var be=0,We=Fe;be=0)){var sr=e.isIdentifier(wr)?Fn(wr):ke.getSymbolAtLocation(wr);if(sr){var he=e.find(de,function(ue){return ue.symbol===sr});if(he)if(e.isVariableDeclaration(he)){var ir=he.symbol.id.toString();De.has(ir)||(qe.push(he),De.set(ir,!0))}else Xe=Xe||he}e.forEachChild(wr,vn)}}function Fn(wr){return wr.parent&&e.isShorthandPropertyAssignment(wr.parent)&&wr.parent.name===wr?ke.getShorthandAssignmentValueSymbol(wr.parent):ke.getSymbolAtLocation(wr)}function ar(wr,sr,he){if(wr){var ir=wr.getDeclarations();if(ir&&ir.some(function(je){return je.parent===sr}))return e.factory.createIdentifier(wr.name);var ue=ar(wr.parent,sr,he);if(ue!==void 0)return he?e.factory.createQualifiedName(ue,e.factory.createIdentifier(wr.name)):e.factory.createPropertyAccessExpression(ue,wr.name)}}}function Te(j){return e.findAncestor(j,function(z){return z.parent&&Ae(z)&&!e.isBinaryExpression(z.parent)})}function Ae(j){var z=j.parent;switch(z.kind){case 297:return!1}switch(j.kind){case 10:return z.kind!==265&&z.kind!==269;case 224:case 200:case 202:return!1;case 79:return z.kind!==202&&z.kind!==269&&z.kind!==274}return!0}function R(j){switch(j.kind){case 234:case 303:case 261:case 288:return!0;default:return!1}}function Y(j){return(e.isJsxElement(j)||e.isJsxSelfClosingElement(j)||e.isJsxFragment(j))&&(e.isJsxElement(j.parent)||e.isJsxFragment(j.parent))}})(n.extractSymbol||(n.extractSymbol={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){var c="Extract type",f={name:"Extract to type alias",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},a={name:"Extract to interface",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},p={name:"Extract to typedef",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};n.registerRefactor(c,{kinds:[f.kind,a.kind,p.kind],getAvailableActions:function(y){var k=x(y,y.triggerReason==="invoked");return k?n.isRefactorErrorInfo(k)?y.preferences.provideRefactorNotApplicableReason?[{name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[On(On({},p),{notApplicableReason:k.error}),On(On({},f),{notApplicableReason:k.error}),On(On({},a),{notApplicableReason:k.error})]}]:e.emptyArray:[{name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:k.isJS?[p]:e.append([f],k.typeElements&&a)}]:e.emptyArray},getEditsForAction:function(y,k){var S=y.file,F=x(y);e.Debug.assert(F&&!n.isRefactorErrorInfo(F),"Expected to find a range to extract");var B=e.getUniqueName("NewType",S),N=e.textChanges.ChangeTracker.with(y,function(U){switch(k){case f.name:return e.Debug.assert(!F.isJS,"Invalid actionName/JS combo"),A(U,S,B,F);case p.name:return e.Debug.assert(F.isJS,"Invalid actionName/JS combo"),ae(U,S,B,F);case a.name:return e.Debug.assert(!F.isJS&&!!F.typeElements,"Invalid actionName/JS combo"),K(U,S,B,F);default:e.Debug.fail("Unexpected action name")}}),w=S.fileName,O=e.getRenameLocation(N,w,B,!1);return{edits:N,renameFilename:w,renameLocation:O}}});function x(y,k){k===void 0&&(k=!0);var S=y.file,F=y.startPosition,B=e.isSourceFileJS(S),N=e.getTokenAtPosition(S,F),w=e.createTextRangeFromSpan(e.getRefactorContextSpan(y)),O=w.pos===w.end&&k,U=e.findAncestor(N,function(X){return X.parent&&e.isTypeNode(X)&&!g(w,X.parent,S)&&(O||e.nodeOverlapsWithStartEnd(N,S,w.pos,w.end))});if(!U||!e.isTypeNode(U))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var Q=y.program.getTypeChecker(),ee=e.Debug.checkDefined(e.findAncestor(U,e.isStatement),"Should find a statement"),ne=m(Q,U,ee,S);if(!ne)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var M=V(Q,U);return{isJS:B,selection:U,firstStatement:ee,typeParameters:ne,typeElements:M}}function V(y,k){if(k)if(e.isIntersectionTypeNode(k)){for(var S=[],F=new e.Map,B=0,N=k.types;BBe.pos});if(De!==-1){var qe=de[De];if(e.isNamedDeclaration(qe)&&qe.name&&e.rangeContainsRange(qe.name,Be))return{toMove:[de[De]],afterLast:de[De+1]};if(!(Be.pos>qe.getStart(ge))){var Xe=e.findIndex(de,function(Se){return Se.end>Be.end},De);if(!(Xe!==-1&&(Xe===0||de[Xe].getStart(ge)=a&&e.every(d,function(P){return ne(P,h)})}function ne(d,h){if(e.isRestParameter(d)){var P=h.getTypeAtLocation(d);if(!h.isArrayType(P)&&!h.isTupleType(P))return!1}return!d.modifiers&&!d.decorators&&e.isIdentifier(d.name)}function M(d){return e.isVariableDeclaration(d)&&e.isVarConst(d)&&e.isIdentifier(d.name)&&!d.type}function X(d){return d.length>0&&e.isThis(d[0].name)}function G(d){return X(d)?d.length-1:d.length}function Z(d){return X(d)&&(d=e.factory.createNodeArray(d.slice(1),d.hasTrailingComma)),d}function E(d,h){return e.isIdentifier(h)&&e.getTextOfIdentifierOrLiteral(h)===d?e.factory.createShorthandPropertyAssignment(d):e.factory.createPropertyAssignment(d,h)}function I(d,h){var P=Z(d.parameters),te=e.isRestParameter(e.last(P)),ce=te?h.slice(0,P.length-1):h,q=e.map(ce,function(R,Y){var j=D(P[Y]),z=E(j,R);return e.suppressLeadingAndTrailingTrivia(z.name),e.isPropertyAssignment(z)&&e.suppressLeadingAndTrailingTrivia(z.initializer),e.copyComments(R,z),z});if(te&&h.length>=P.length){var J=h.slice(P.length-1),Te=e.factory.createPropertyAssignment(D(e.last(P)),e.factory.createArrayLiteralExpression(J));q.push(Te)}var Ae=e.factory.createObjectLiteralExpression(q,!1);return Ae}function b(d,h,P){var te=h.getTypeChecker(),ce=Z(d.parameters),q=e.map(ce,z),J=e.factory.createObjectBindingPattern(q),Te=Ee(ce),Ae;e.every(ce,Pe)&&(Ae=e.factory.createObjectLiteralExpression());var R=e.factory.createParameterDeclaration(void 0,void 0,void 0,J,void 0,Te,Ae);if(X(d.parameters)){var Y=d.parameters[0],j=e.factory.createParameterDeclaration(void 0,void 0,void 0,Y.name,void 0,Y.type);return e.suppressLeadingAndTrailingTrivia(j.name),e.copyComments(Y.name,j.name),Y.type&&(e.suppressLeadingAndTrailingTrivia(j.type),e.copyComments(Y.type,j.type)),e.factory.createNodeArray([j,R])}return e.factory.createNodeArray([R]);function z(Ie){var Fe=e.factory.createBindingElement(void 0,void 0,D(Ie),e.isRestParameter(Ie)&&Pe(Ie)?e.factory.createArrayLiteralExpression():Ie.initializer);return e.suppressLeadingAndTrailingTrivia(Fe),Ie.initializer&&Fe.initializer&&e.copyComments(Ie.initializer,Fe.initializer),Fe}function Ee(Ie){var Fe=e.map(Ie,_e),ve=e.addEmitFlags(e.factory.createTypeLiteralNode(Fe),1);return ve}function _e(Ie){var Fe=Ie.type;!Fe&&(Ie.initializer||e.isRestParameter(Ie))&&(Fe=ke(Ie));var ve=e.factory.createPropertySignature(void 0,D(Ie),Pe(Ie)?e.factory.createToken(57):Ie.questionToken,Fe);return e.suppressLeadingAndTrailingTrivia(ve),e.copyComments(Ie.name,ve.name),Ie.type&&ve.type&&e.copyComments(Ie.type,ve.type),ve}function ke(Ie){var Fe=te.getTypeAtLocation(Ie);return e.getTypeNodeIfAccessible(Fe,Ie,h,P)}function Pe(Ie){if(e.isRestParameter(Ie)){var Fe=te.getTypeAtLocation(Ie);return!te.isTupleType(Fe)}return te.isOptionalParameter(Ie)}}function D(d){return e.getTextOfIdentifierOrLiteral(d.name)}function C(d){switch(d.parent.kind){case 256:var h=d.parent;if(h.name)return[h.name];var P=e.Debug.checkDefined(e.findModifier(h,88),"Nameless class declaration should be a default export");return[P];case 225:var te=d.parent,ce=d.parent.parent,q=te.name;return q?[q,ce.name]:[ce.name]}}function _(d){switch(d.kind){case 255:if(d.name)return[d.name];var h=e.Debug.checkDefined(e.findModifier(d,88),"Nameless function declaration should be a default export");return[h];case 168:return[d.name];case 170:var P=e.Debug.checkDefined(e.findChildOfKind(d,134,d.getSourceFile()),"Constructor declaration should have constructor keyword");if(d.parent.kind===225){var te=d.parent.parent;return[te.name,P]}return[P];case 213:return[d.parent.name];case 212:return d.name?[d.name,d.parent.name]:[d.parent.name];default:return e.Debug.assertNever(d,"Unexpected function declaration kind ".concat(d.kind))}}})(n.convertParamsToDestructuredObject||(n.convertParamsToDestructuredObject={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(c){var f="Convert to template string",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),p={name:f,description:a,kind:"refactor.rewrite.string"};n.registerRefactor(f,{kinds:[p.kind],getEditsForAction:g,getAvailableActions:x});function x(U){var Q=U.file,ee=U.startPosition,ne=V(Q,ee),M=K(ne),X={name:f,description:a,actions:[]};return e.isBinaryExpression(M)&&ae(M).isValidConcatenation?(X.actions.push(p),[X]):U.preferences.provideRefactorNotApplicableReason?(X.actions.push(On(On({},p),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[X]):e.emptyArray}function V(U,Q){var ee=e.getTokenAtPosition(U,Q),ne=K(ee),M=!ae(ne).isValidConcatenation;return M&&e.isParenthesizedExpression(ne.parent)&&e.isBinaryExpression(ne.parent.parent)?ne.parent.parent:ee}function g(U,Q){var ee=U.file,ne=U.startPosition,M=V(ee,ne);switch(Q){case a:return{edits:m(U,M)};default:return e.Debug.fail("invalid action")}}function m(U,Q){var ee=K(Q),ne=U.file,M=N(ae(ee),ne),X=e.getTrailingCommentRanges(ne.text,ee.end);if(X){var G=X[X.length-1],Z={pos:X[0].pos,end:G.end};return e.textChanges.ChangeTracker.with(U,function(E){E.deleteRange(ne,Z),E.replaceNode(ne,ee,M)})}else return e.textChanges.ChangeTracker.with(U,function(E){return E.replaceNode(ne,ee,M)})}function A(U){return U.operatorToken.kind!==63}function K(U){var Q=e.findAncestor(U.parent,function(ee){switch(ee.kind){case 205:case 206:return!1;case 222:case 220:return!(e.isBinaryExpression(ee.parent)&&A(ee.parent));default:return"quit"}});return Q||U}function ae(U){var Q=function(Z){if(!e.isBinaryExpression(Z))return{nodes:[Z],operators:[],validOperators:!0,hasString:e.isStringLiteral(Z)||e.isNoSubstitutionTemplateLiteral(Z)};var E=Q(Z.left),I=E.nodes,b=E.operators,D=E.hasString,C=E.validOperators;if(!(D||e.isStringLiteral(Z.right)||e.isTemplateExpression(Z.right)))return{nodes:[Z],operators:[],hasString:!1,validOperators:!0};var _=Z.operatorToken.kind===39,d=C&&_;return I.push(Z.right),b.push(Z.operatorToken),{nodes:I,operators:b,hasString:!0,validOperators:d}},ee=Q(U),ne=ee.nodes,M=ee.operators,X=ee.validOperators,G=ee.hasString;return{nodes:ne,operators:M,isValidConcatenation:X&&G}}var y=function(U,Q){return function(ee,ne){ee0;){var X=ne.shift();e.copyTrailingComments(U[X],M,Q,3,!1),ee(X,M)}}};function S(U){return U.replace(/\\.|[$`]/g,function(Q){return Q[0]==="\\"?Q:"\\"+Q})}function F(U){var Q=e.isTemplateHead(U)||e.isTemplateMiddle(U)?-2:-1;return e.getTextOfNode(U).slice(1,Q)}function B(U,Q){for(var ee=[],ne="",M="";U1)return ae.getUnionType(e.mapDefined(k,function(F){return F.getReturnType()}))}var S=ae.getSignatureFromDeclaration(y);if(S)return ae.getReturnTypeOfSignature(S)}})(n.inferFunctionReturnType||(n.inferFunctionReturnType={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){e.servicesVersion="0.8";function n(Y,j,z,Ee){var _e=e.isNodeKind(Y)?new c(Y,j,z):Y===79?new m(79,j,z):Y===80?new A(80,j,z):new g(Y,j,z);return _e.parent=Ee,_e.flags=Ee.flags&25358336,_e}var c=function(){function Y(j,z,Ee){this.pos=z,this.end=Ee,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=j}return Y.prototype.assertHasRealPosition=function(j){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),j||"Node must have a real position for this operation")},Y.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},Y.prototype.getStart=function(j,z){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,j,z)},Y.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},Y.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},Y.prototype.getWidth=function(j){return this.assertHasRealPosition(),this.getEnd()-this.getStart(j)},Y.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},Y.prototype.getLeadingTriviaWidth=function(j){return this.assertHasRealPosition(),this.getStart(j)-this.pos},Y.prototype.getFullText=function(j){return this.assertHasRealPosition(),(j||this.getSourceFile()).text.substring(this.pos,this.end)},Y.prototype.getText=function(j){return this.assertHasRealPosition(),j||(j=this.getSourceFile()),j.text.substring(this.getStart(j),this.getEnd())},Y.prototype.getChildCount=function(j){return this.getChildren(j).length},Y.prototype.getChildAt=function(j,z){return this.getChildren(z)[j]},Y.prototype.getChildren=function(j){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=f(this,j))},Y.prototype.getFirstToken=function(j){this.assertHasRealPosition();var z=this.getChildren(j);if(z.length){var Ee=e.find(z,function(_e){return _e.kind<307||_e.kind>345});return Ee.kind<160?Ee:Ee.getFirstToken(j)}},Y.prototype.getLastToken=function(j){this.assertHasRealPosition();var z=this.getChildren(j),Ee=e.lastOrUndefined(z);if(Ee)return Ee.kind<160?Ee:Ee.getLastToken(j)},Y.prototype.forEachChild=function(j,z){return e.forEachChild(this,j,z)},Y}();function f(Y,j){if(!e.isNodeKind(Y.kind))return e.emptyArray;var z=[];if(e.isJSDocCommentContainingNode(Y))return Y.forEachChild(function(Pe){z.push(Pe)}),z;e.scanner.setText((j||Y.getSourceFile()).text);var Ee=Y.pos,_e=function(Pe){a(z,Ee,Pe.pos,Y),z.push(Pe),Ee=Pe.end},ke=function(Pe){a(z,Ee,Pe.pos,Y),z.push(p(Pe,Y)),Ee=Pe.end};return e.forEach(Y.jsDoc,_e),Ee=Y.pos,Y.forEachChild(_e,ke),a(z,Ee,Y.end,Y),e.scanner.setText(void 0),z}function a(Y,j,z,Ee){for(e.scanner.setTextPos(j);j=_e.length&&(ke=this.getEnd()),ke||(ke=_e[Ee+1]-1);var Pe=this.getFullText();return Pe[ke]===` `&&Pe[ke-1]==="\r"?ke-1:ke},j.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},j.prototype.computeNamedDeclarations=function(){var z=e.createMultiMap();return this.forEachChild(Pe),z;function Ee(Ie){var Fe=ke(Ie);Fe&&z.add(Fe,Ie)}function _e(Ie){var Fe=z.get(Ie);return Fe||z.set(Ie,Fe=[]),Fe}function ke(Ie){var Fe=e.getNonAssignedNameOfDeclaration(Ie);return Fe&&(e.isComputedPropertyName(Fe)&&e.isPropertyAccessExpression(Fe.expression)?Fe.expression.name.text:e.isPropertyName(Fe)?e.getNameFromPropertyName(Fe):void 0)}function Pe(Ie){switch(Ie.kind){case 255:case 212:case 168:case 167:var Fe=Ie,ve=ke(Fe);if(ve){var ge=_e(ve),Be=e.lastOrUndefined(ge);Be&&Fe.parent===Be.parent&&Fe.symbol===Be.symbol?Fe.body&&!Be.body&&(ge[ge.length-1]=Fe):ge.push(Fe)}e.forEachChild(Ie,Pe);break;case 256:case 225:case 257:case 258:case 259:case 260:case 264:case 274:case 269:case 266:case 267:case 171:case 172:case 181:Ee(Ie),e.forEachChild(Ie,Pe);break;case 163:if(!e.hasSyntacticModifier(Ie,16476))break;case 253:case 202:{var de=Ie;if(e.isBindingPattern(de.name)){e.forEachChild(de.name,Pe);break}de.initializer&&Pe(de.initializer)}case 297:case 166:case 165:Ee(Ie);break;case 271:var De=Ie;De.exportClause&&(e.isNamedExports(De.exportClause)?e.forEach(De.exportClause.elements,Pe):Pe(De.exportClause.name));break;case 265:var qe=Ie.importClause;qe&&(qe.name&&Ee(qe.name),qe.namedBindings&&(qe.namedBindings.kind===267?Ee(qe.namedBindings):e.forEach(qe.namedBindings.elements,Pe)));break;case 220:e.getAssignmentDeclarationKind(Ie)!==0&&Ee(Ie);default:e.forEachChild(Ie,Pe)}}},j}(c),N=function(){function Y(j,z,Ee){this.fileName=j,this.text=z,this.skipTrivia=Ee}return Y.prototype.getLineAndCharacterOfPosition=function(j){return e.getLineAndCharacterOfPosition(this,j)},Y}();function w(){return{getNodeConstructor:function(){return c},getTokenConstructor:function(){return g},getIdentifierConstructor:function(){return m},getPrivateIdentifierConstructor:function(){return A},getSourceFileConstructor:function(){return B},getSymbolConstructor:function(){return V},getTypeConstructor:function(){return K},getSignatureConstructor:function(){return ae},getSourceMapSourceConstructor:function(){return N}}}function O(Y){var j=!0;for(var z in Y)if(e.hasProperty(Y,z)&&!U(z)){j=!1;break}if(j)return Y;var Ee={};for(var z in Y)if(e.hasProperty(Y,z)){var _e=U(z)?z:z.charAt(0).toLowerCase()+z.substr(1);Ee[_e]=Y[z]}return Ee}e.toEditorSettings=O;function U(Y){return!Y.length||Y.charAt(0)===Y.charAt(0).toLowerCase()}function Q(Y){return Y?e.map(Y,function(j){return j.text}).join(""):""}e.displayPartsToString=Q;function ee(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=ee;function ne(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=ne;var M=function(){function Y(j,z){this.host=j,this.currentDirectory=j.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var Ee=j.getScriptFileNames(),_e=0,ke=Ee;_e=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=j,this.hostCancellationToken.isCancellationRequested()):!1},Y.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},Y}();e.ThrottledCancellationToken=D;var C=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],_=Gt(Gt([],C,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function d(Y,j,z){var Ee;j===void 0&&(j=e.createDocumentRegistry(Y.useCaseSensitiveFileNames&&Y.useCaseSensitiveFileNames(),Y.getCurrentDirectory()));var _e;z===void 0?_e=e.LanguageServiceMode.Semantic:typeof z=="boolean"?_e=z?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:_e=z;var ke=new X(Y),Pe,Ie,Fe=0,ve=Y.getCancellationToken?new b(Y.getCancellationToken()):I,ge=Y.getCurrentDirectory();!e.localizedDiagnosticMessages&&Y.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(Y.getLocalizedDiagnosticMessages());function Be(pt){Y.log&&Y.log(pt)}var de=e.hostUsesCaseSensitiveFileNames(Y),De=e.createGetCanonicalFileName(de),qe=e.getSourceMapper({useCaseSensitiveFileNames:function(){return de},getCurrentDirectory:function(){return ge},getProgram:Le,fileExists:e.maybeBind(Y,Y.fileExists),readFile:e.maybeBind(Y,Y.readFile),getDocumentPositionMapper:e.maybeBind(Y,Y.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(Y,Y.getSourceFileLike),log:Be});function Xe(pt){var mt=Pe.getSourceFile(pt);if(!mt){var Mt=new Error("Could not find source file: '".concat(pt,"'."));throw Mt.ProgramFiles=Pe.getSourceFiles().map(function(It){return It.fileName}),Mt}return mt}function Se(){var pt,mt,Mt;if(e.Debug.assert(_e!==e.LanguageServiceMode.Syntactic),Y.getProjectVersion){var It=Y.getProjectVersion();if(It){if(Ie===It&&!(!((pt=Y.hasChangedAutomaticTypeDirectiveNames)===null||pt===void 0)&&pt.call(Y)))return;Ie=It}}var tt=Y.getTypeRootsVersion?Y.getTypeRootsVersion():0;Fe!==tt&&(Be("TypeRoots version has changed; provide new program"),Pe=void 0,Fe=tt);var xn=new M(Y,De),Qn=xn.getRootFileNames(),Oa=Y.getCompilationSettings()||ee(),Ci=Y.hasInvalidatedResolution||e.returnFalse,mi=e.maybeBind(Y,Y.hasChangedAutomaticTypeDirectiveNames),va=(mt=Y.getProjectReferences)===null||mt===void 0?void 0:mt.call(Y),yi,ro={useCaseSensitiveFileNames:de,fileExists:ko,readFile:co,readDirectory:Ao,trace:e.maybeBind(Y,Y.trace),getCurrentDirectory:function(){return ge},onUnRecoverableConfigFileDiagnostic:e.noop};if(e.isProgramUptoDate(Pe,Qn,Oa,function(za,hi){return Y.getScriptVersion(hi)},ko,Ci,mi,ji,va))return;var Ka={getSourceFile:Qo,getSourceFileByPath:uo,getCancellationToken:function(){return ve},getCanonicalFileName:De,useCaseSensitiveFileNames:function(){return de},getNewLine:function(){return e.getNewLineCharacter(Oa,function(){return e.getNewLineOrDefaultFromHost(Y)})},getDefaultLibFileName:function(za){return Y.getDefaultLibFileName(za)},writeFile:e.noop,getCurrentDirectory:function(){return ge},fileExists:ko,readFile:co,getSymlinkCache:e.maybeBind(Y,Y.getSymlinkCache),realpath:e.maybeBind(Y,Y.realpath),directoryExists:function(za){return e.directoryProbablyExists(za,Y)},getDirectories:function(za){return Y.getDirectories?Y.getDirectories(za):[]},readDirectory:Ao,onReleaseOldSourceFile:Ha,onReleaseParsedCommandLine:to,hasInvalidatedResolution:Ci,hasChangedAutomaticTypeDirectiveNames:mi,trace:ro.trace,resolveModuleNames:e.maybeBind(Y,Y.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(Y,Y.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(Y,Y.useSourceOfProjectReferenceRedirect),getParsedCommandLine:ji};(Mt=Y.setCompilerHost)===null||Mt===void 0||Mt.call(Y,Ka);var Mi=j.getKeyForCompilationSettings(Oa),io={rootNames:Qn,options:Oa,host:Ka,oldProgram:Pe,projectReferences:va};Pe=e.createProgram(io),xn=void 0,yi=void 0,qe.clearCache(),Pe.getTypeChecker();return;function ji(za){var hi=e.toPath(za,ge,De),Zi=yi==null?void 0:yi.get(hi);if(Zi!==void 0)return Zi||void 0;var Po=Y.getParsedCommandLine?Y.getParsedCommandLine(za):Hi(za);return(yi||(yi=new e.Map)).set(hi,Po||!1),Po}function Hi(za){var hi=Qo(za,100);if(hi)return hi.path=e.toPath(za,ge,De),hi.resolvedPath=hi.path,hi.originalFileName=hi.fileName,e.parseJsonSourceFileConfigFileContent(hi,ro,e.getNormalizedAbsolutePath(e.getDirectoryPath(za),ge),void 0,e.getNormalizedAbsolutePath(za,ge))}function to(za,hi,Zi){var Po;Y.getParsedCommandLine?(Po=Y.onReleaseParsedCommandLine)===null||Po===void 0||Po.call(Y,za,hi,Zi):hi&&Ha(hi.sourceFile,Zi)}function ko(za){var hi=e.toPath(za,ge,De),Zi=xn&&xn.getEntryByPath(hi);return Zi?!e.isString(Zi):!!Y.fileExists&&Y.fileExists(za)}function co(za){var hi=e.toPath(za,ge,De),Zi=xn&&xn.getEntryByPath(hi);return Zi?e.isString(Zi)?void 0:e.getSnapshotText(Zi.scriptSnapshot):Y.readFile&&Y.readFile(za)}function Ao(za,hi,Zi,Po,Fo){return e.Debug.checkDefined(Y.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),Y.readDirectory(za,hi,Zi,Po,Fo)}function Ha(za,hi){var Zi=j.getKeyForCompilationSettings(hi);j.releaseDocumentWithKey(za.resolvedPath,Zi,za.scriptKind)}function Qo(za,hi,Zi,Po){return uo(za,e.toPath(za,ge,De),hi,Zi,Po)}function uo(za,hi,Zi,Po,Fo){e.Debug.assert(xn!==void 0,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var Go=xn&&xn.getOrCreateEntryByPath(za,hi);if(Go){if(!Fo){var qo=Pe&&Pe.getSourceFileByPath(hi);if(qo){if(Go.scriptKind===qo.scriptKind)return j.updateDocumentWithKey(za,hi,Oa,Mi,Go.scriptSnapshot,Go.version,Go.scriptKind);j.releaseDocumentWithKey(qo.resolvedPath,j.getKeyForCompilationSettings(Pe.getCompilerOptions()),qo.scriptKind)}}return j.acquireDocumentWithKey(za,hi,Oa,Mi,Go.scriptSnapshot,Go.version,Go.scriptKind)}}}function Le(){if(_e===e.LanguageServiceMode.Syntactic){e.Debug.assert(Pe===void 0);return}return Se(),Pe}function Ye(){var pt;return(pt=Y.getPackageJsonAutoImportProvider)===null||pt===void 0?void 0:pt.call(Y)}function Dr(){Pe=void 0}function br(){if(Pe){var pt=j.getKeyForCompilationSettings(Pe.getCompilerOptions());e.forEach(Pe.getSourceFiles(),function(mt){return j.releaseDocumentWithKey(mt.resolvedPath,pt,mt.scriptKind)}),Pe=void 0}Y=void 0}function or(pt){return Se(),Pe.getSyntacticDiagnostics(Xe(pt),ve).slice()}function Cr(pt){Se();var mt=Xe(pt),Mt=Pe.getSemanticDiagnostics(mt,ve);if(!e.getEmitDeclarations(Pe.getCompilerOptions()))return Mt.slice();var It=Pe.getDeclarationDiagnostics(mt,ve);return Gt(Gt([],Mt,!0),It,!0)}function Rr(pt){return Se(),e.computeSuggestionDiagnostics(Xe(pt),Pe,ve)}function Ke(){return Se(),Gt(Gt([],Pe.getOptionsDiagnostics(ve),!0),Pe.getGlobalDiagnostics(ve),!0)}function Me(pt,mt,Mt){Mt===void 0&&(Mt=e.emptyOptions);var It=On(On({},e.identity(Mt)),{includeCompletionsForModuleExports:Mt.includeCompletionsForModuleExports||Mt.includeExternalModuleExports,includeCompletionsWithInsertText:Mt.includeCompletionsWithInsertText||Mt.includeInsertTextCompletions});return Se(),e.Completions.getCompletionsAtPosition(Y,Pe,Be,Xe(pt),mt,It,Mt.triggerCharacter,Mt.triggerKind,ve)}function Hr(pt,mt,Mt,It,tt,xn,Qn){return xn===void 0&&(xn=e.emptyOptions),Se(),e.Completions.getCompletionEntryDetails(Pe,Be,Xe(pt),mt,{name:Mt,source:tt,data:Qn},Y,It&&e.formatting.getFormatContext(It,Y),xn,ve)}function cr(pt,mt,Mt,It,tt){return tt===void 0&&(tt=e.emptyOptions),Se(),e.Completions.getCompletionEntrySymbol(Pe,Be,Xe(pt),mt,{name:Mt,source:It},Y,tt)}function vr(pt,mt){Se();var Mt=Xe(pt),It=e.getTouchingPropertyName(Mt,mt);if(It!==Mt){var tt=Pe.getTypeChecker(),xn=fe(It),Qn=J(xn,tt);if(!Qn||tt.isUnknownSymbol(Qn)){var Oa=xe(Mt,xn,mt)?tt.getTypeAtLocation(xn):void 0;return Oa&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(xn,Mt),displayParts:tt.runWithCancellationToken(ve,function(Ka){return e.typeToDisplayParts(Ka,Oa,e.getContainerNode(xn))}),documentation:Oa.symbol?Oa.symbol.getDocumentationComment(tt):void 0,tags:Oa.symbol?Oa.symbol.getJsDocTags(tt):void 0}}var Ci=tt.runWithCancellationToken(ve,function(Ka){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(Ka,Qn,Mt,e.getContainerNode(xn),xn)}),mi=Ci.symbolKind,va=Ci.displayParts,yi=Ci.documentation,ro=Ci.tags;return{kind:mi,kindModifiers:e.SymbolDisplay.getSymbolModifiers(tt,Qn),textSpan:e.createTextSpanFromNode(xn,Mt),displayParts:va,documentation:yi,tags:ro}}}function fe(pt){return e.isNewExpression(pt.parent)&&pt.pos===pt.parent.pos?pt.parent.expression:e.isNamedTupleMember(pt.parent)&&pt.pos===pt.parent.pos?pt.parent:pt}function xe(pt,mt,Mt){switch(mt.kind){case 79:return!e.isLabelName(mt)&&!e.isTagName(mt)&&!e.isConstTypeReference(mt.parent);case 205:case 160:return!e.isInComment(pt,Mt);case 108:case 191:case 106:case 196:return!0;default:return!1}}function Je(pt,mt){return Se(),e.GoToDefinition.getDefinitionAtPosition(Pe,Xe(pt),mt)}function pr(pt,mt){return Se(),e.GoToDefinition.getDefinitionAndBoundSpan(Pe,Xe(pt),mt)}function kr(pt,mt){return Se(),e.GoToDefinition.getTypeDefinitionAtPosition(Pe.getTypeChecker(),Xe(pt),mt)}function Ve(pt,mt){return Se(),e.FindAllReferences.getImplementationsAtPosition(Pe,ve,Pe.getSourceFiles(),Xe(pt),mt)}function ur(pt,mt){return e.flatMap(Wr(pt,mt,[pt]),function(Mt){return Mt.highlightSpans.map(function(It){return On(On({fileName:Mt.fileName,textSpan:It.textSpan,isWriteAccess:It.kind==="writtenReference",isDefinition:!1},It.isInString&&{isInString:!0}),It.contextSpan&&{contextSpan:It.contextSpan})})})}function Wr(pt,mt,Mt){var It=e.normalizePath(pt);e.Debug.assert(Mt.some(function(Qn){return e.normalizePath(Qn)===It})),Se();var tt=e.mapDefined(Mt,function(Qn){return Pe.getSourceFile(Qn)}),xn=Xe(pt);return e.DocumentHighlights.getDocumentHighlights(Pe,ve,xn,mt,tt)}function He(pt,mt,Mt,It,tt){Se();var xn=Xe(pt),Qn=e.getAdjustedRenameLocation(e.getTouchingPropertyName(xn,mt));if(e.Rename.nodeIsEligibleForRename(Qn))if(e.isIdentifier(Qn)&&(e.isJsxOpeningElement(Qn.parent)||e.isJsxClosingElement(Qn.parent))&&e.isIntrinsicJsxName(Qn.escapedText)){var Oa=Qn.parent.parent,Ci=Oa.openingElement,mi=Oa.closingElement;return[Ci,mi].map(function(va){var yi=e.createTextSpanFromNode(va.tagName,xn);return On({fileName:xn.fileName,textSpan:yi},e.FindAllReferences.toContextSpan(yi,xn,va.parent))})}else return qr(Qn,mt,{findInStrings:Mt,findInComments:It,providePrefixAndSuffixTextForRename:tt,use:2},function(va,yi,ro){return e.FindAllReferences.toRenameLocation(va,yi,ro,tt||!1)})}function Lr(pt,mt){return Se(),qr(e.getTouchingPropertyName(Xe(pt),mt),mt,{use:1},function(Mt,It,tt){return e.FindAllReferences.toReferenceEntry(Mt,tt.getSymbolAtLocation(It))})}function qr(pt,mt,Mt,It){Se();var tt=Mt&&Mt.use===2?Pe.getSourceFiles().filter(function(xn){return!Pe.isSourceFileDefaultLibrary(xn)}):Pe.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(Pe,ve,tt,pt,mt,Mt,It)}function lt(pt,mt){return Se(),e.FindAllReferences.findReferencedSymbols(Pe,ve,Pe.getSourceFiles(),Xe(pt),mt)}function rt(pt){var mt;Se();var Mt=(mt=Pe.getSourceFile(pt))===null||mt===void 0?void 0:mt.symbol;return e.FindAllReferences.Core.getReferencesForFileName(pt,Pe,Pe.getSourceFiles()).map(function(It){return e.FindAllReferences.toReferenceEntry(It,Mt)})}function Rt(pt,mt,Mt,It){It===void 0&&(It=!1),Se();var tt=Mt?[Xe(Mt)]:Pe.getSourceFiles();return e.NavigateTo.getNavigateToItems(tt,Pe.getTypeChecker(),ve,pt,mt,It)}function an(pt,mt,Mt){Se();var It=Xe(pt),tt=Y.getCustomTransformers&&Y.getCustomTransformers();return e.getFileEmitOutput(Pe,It,!!mt,ve,tt,Mt)}function yn(pt,mt,Mt){var It=Mt===void 0?e.emptyOptions:Mt,tt=It.triggerReason;Se();var xn=Xe(pt);return e.SignatureHelp.getSignatureHelpItems(Pe,xn,mt,tt,ve)}function vn(pt){return ke.getCurrentSourceFile(pt)}function Fn(pt,mt,Mt){var It=ke.getCurrentSourceFile(pt),tt=e.getTouchingPropertyName(It,mt);if(tt!==It){switch(tt.kind){case 205:case 160:case 10:case 95:case 110:case 104:case 106:case 108:case 191:case 79:break;default:return}for(var xn=tt;;)if(e.isRightSideOfPropertyAccess(xn)||e.isRightSideOfQualifiedName(xn))xn=xn.parent;else if(e.isNameOfModuleDeclaration(xn))if(xn.parent.parent.kind===260&&xn.parent.parent.body===xn.parent)xn=xn.parent.parent.name;else break;else break;return e.createTextSpanFromBounds(xn.getStart(),tt.getEnd())}}function ar(pt,mt){var Mt=ke.getCurrentSourceFile(pt);return e.BreakpointResolver.spanInSourceFileAtLocation(Mt,mt)}function wr(pt){return e.NavigationBar.getNavigationBarItems(ke.getCurrentSourceFile(pt),ve)}function sr(pt){return e.NavigationBar.getNavigationTree(ke.getCurrentSourceFile(pt),ve)}function he(pt,mt,Mt){Se();var It=Mt||"original";return It==="2020"?e.classifier.v2020.getSemanticClassifications(Pe,ve,Xe(pt),mt):e.getSemanticClassifications(Pe.getTypeChecker(),ve,Xe(pt),Pe.getClassifiableNames(),mt)}function ir(pt,mt,Mt){Se();var It=Mt||"original";return It==="original"?e.getEncodedSemanticClassifications(Pe.getTypeChecker(),ve,Xe(pt),Pe.getClassifiableNames(),mt):e.classifier.v2020.getEncodedSemanticClassifications(Pe,ve,Xe(pt),mt)}function ue(pt,mt){return e.getSyntacticClassifications(ve,ke.getCurrentSourceFile(pt),mt)}function je(pt,mt){return e.getEncodedSyntacticClassifications(ve,ke.getCurrentSourceFile(pt),mt)}function be(pt){var mt=ke.getCurrentSourceFile(pt);return e.OutliningElementsCollector.collectElements(mt,ve)}var We=new e.Map(e.getEntries((Ee={},Ee[18]=19,Ee[20]=21,Ee[22]=23,Ee[31]=29,Ee)));We.forEach(function(pt,mt){return We.set(pt.toString(),Number(mt))});function $(pt,mt){var Mt=ke.getCurrentSourceFile(pt),It=e.getTouchingToken(Mt,mt),tt=It.getStart(Mt)===mt?We.get(It.kind.toString()):void 0,xn=tt&&e.findChildOfKind(It.parent,tt,Mt);return xn?[e.createTextSpanFromNode(It,Mt),e.createTextSpanFromNode(xn,Mt)].sort(function(Qn,Oa){return Qn.start-Oa.start}):e.emptyArray}function Ne(pt,mt,Mt){var It=e.timestamp(),tt=O(Mt),xn=ke.getCurrentSourceFile(pt);Be("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-It)),It=e.timestamp();var Qn=e.formatting.SmartIndenter.getIndentation(mt,xn,tt);return Be("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-It)),Qn}function me(pt,mt,Mt,It){var tt=ke.getCurrentSourceFile(pt);return e.formatting.formatSelection(mt,Mt,tt,e.formatting.getFormatContext(O(It),Y))}function Ze(pt,mt){return e.formatting.formatDocument(ke.getCurrentSourceFile(pt),e.formatting.getFormatContext(O(mt),Y))}function xr(pt,mt,Mt,It){var tt=ke.getCurrentSourceFile(pt),xn=e.formatting.getFormatContext(O(It),Y);if(!e.isInComment(tt,mt))switch(Mt){case"{":return e.formatting.formatOnOpeningCurly(mt,tt,xn);case"}":return e.formatting.formatOnClosingCurly(mt,tt,xn);case";":return e.formatting.formatOnSemicolon(mt,tt,xn);case` `:return e.formatting.formatOnEnter(mt,tt,xn)}return[]}function fr(pt,mt,Mt,It,tt,xn){xn===void 0&&(xn=e.emptyOptions),Se();var Qn=Xe(pt),Oa=e.createTextSpanFromBounds(mt,Mt),Ci=e.formatting.getFormatContext(tt,Y);return e.flatMap(e.deduplicate(It,e.equateValues,e.compareValues),function(mi){return ve.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:mi,sourceFile:Qn,span:Oa,program:Pe,host:Y,cancellationToken:ve,formatContext:Ci,preferences:xn})})}function dr(pt,mt,Mt,It){It===void 0&&(It=e.emptyOptions),Se(),e.Debug.assert(pt.type==="file");var tt=Xe(pt.fileName),xn=e.formatting.getFormatContext(Mt,Y);return e.codefix.getAllFixes({fixId:mt,sourceFile:tt,program:Pe,host:Y,cancellationToken:ve,formatContext:xn,preferences:It})}function et(pt,mt,Mt){Mt===void 0&&(Mt=e.emptyOptions),Se(),e.Debug.assert(pt.type==="file");var It=Xe(pt.fileName),tt=e.formatting.getFormatContext(mt,Y);return e.OrganizeImports.organizeImports(It,tt,Y,Pe,Mt,pt.skipDestructiveCodeActions)}function yt(pt,mt,Mt,It){return It===void 0&&(It=e.emptyOptions),e.getEditsForFileRename(Le(),pt,mt,Y,e.formatting.getFormatContext(Mt,Y),It,qe)}function jr(pt,mt){var Mt=typeof pt=="string"?mt:pt;return e.isArray(Mt)?Promise.all(Mt.map(function(It){return rr(It)})):rr(Mt)}function rr(pt){var mt=function(Mt){return e.toPath(Mt,ge,De)};return e.Debug.assertEqual(pt.type,"install package"),Y.installPackage?Y.installPackage({fileName:mt(pt.file),packageName:pt.packageName}):Promise.reject("Host does not implement `installPackage`")}function Ir(pt,mt,Mt){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(Y),ke.getCurrentSourceFile(pt),mt,Mt)}function Or(pt,mt,Mt){if(Mt===60)return!1;var It=ke.getCurrentSourceFile(pt);if(e.isInString(It,mt))return!1;if(e.isInsideJsxElementOrAttribute(It,mt))return Mt===123;if(e.isInTemplateString(It,mt))return!1;switch(Mt){case 39:case 34:case 96:return!e.isInComment(It,mt)}return!0}function zr(pt,mt){var Mt=ke.getCurrentSourceFile(pt),It=e.findPrecedingToken(mt,Mt);if(It){var tt=It.kind===31&&e.isJsxOpeningElement(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxElement(It.parent)?It.parent:void 0;if(tt&&wt(tt))return{newText:"")};var xn=It.kind===31&&e.isJsxOpeningFragment(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxFragment(It.parent)?It.parent:void 0;if(xn&&Qt(xn))return{newText:""}}}function gt(pt,mt){return{lineStarts:pt.getLineStarts(),firstLine:pt.getLineAndCharacterOfPosition(mt.pos).line,lastLine:pt.getLineAndCharacterOfPosition(mt.end).line}}function vt(pt,mt,Mt){for(var It=ke.getCurrentSourceFile(pt),tt=[],xn=gt(It,mt),Qn=xn.lineStarts,Oa=xn.firstLine,Ci=xn.lastLine,mi=Mt||!1,va=Number.MAX_VALUE,yi=new e.Map,ro=new RegExp(/\S/),Ka=e.isInsideJsxElement(It,Qn[Oa]),Mi=Ka?"{/*":"//",io=Oa;io<=Ci;io++){var ji=It.text.substring(Qn[io],It.getLineEndOfPosition(Qn[io])),Hi=ro.exec(ji);Hi&&(va=Math.min(va,Hi.index),yi.set(io.toString(),Hi.index),ji.substr(Hi.index,Mi.length)!==Mi&&(mi=Mt===void 0||Mt))}for(var io=Oa;io<=Ci;io++)if(!(Oa!==Ci&&Qn[io]===mt.end)){var to=yi.get(io.toString());to!==void 0&&(Ka?tt.push.apply(tt,ut(pt,{pos:Qn[io]+va,end:It.getLineEndOfPosition(Qn[io])},mi,Ka)):mi?tt.push({newText:Mi,span:{length:0,start:Qn[io]+va}}):It.text.substr(Qn[io]+to,Mi.length)===Mi&&tt.push({newText:"",span:{length:Mi.length,start:Qn[io]+to}}))}return tt}function ut(pt,mt,Mt,It){for(var tt,xn=ke.getCurrentSourceFile(pt),Qn=[],Oa=xn.text,Ci=!1,mi=Mt||!1,va=[],yi=mt.pos,ro=It!==void 0?It:e.isInsideJsxElement(xn,yi),Ka=ro?"{/*":"/*",Mi=ro?"*/}":"*/",io=ro?"\\{\\/\\*":"\\/\\*",ji=ro?"\\*\\/\\}":"\\*\\/";yi<=mt.end;){var Hi=Oa.substr(yi,Ka.length)===Ka?Ka.length:0,to=e.isInComment(xn,yi+Hi);if(to)ro&&(to.pos--,to.end++),va.push(to.pos),to.kind===3&&va.push(to.end),Ci=!0,yi=to.end+1;else{var ko=Oa.substring(yi,mt.end).search("(".concat(io,")|(").concat(ji,")"));mi=Mt!==void 0?Mt:mi||!e.isTextWhiteSpaceLike(Oa,yi,ko===-1?mt.end:yi+ko),yi=ko===-1?mt.end+1:yi+ko+Mi.length}}if(mi||!Ci){((tt=e.isInComment(xn,mt.pos))===null||tt===void 0?void 0:tt.kind)!==2&&e.insertSorted(va,mt.pos,e.compareValues),e.insertSorted(va,mt.end,e.compareValues);var co=va[0];Oa.substr(co,Ka.length)!==Ka&&Qn.push({newText:Ka,span:{length:0,start:co}});for(var Ao=1;Ao0?uo-Mi.length:0,Hi=Oa.substr(za,Mi.length)===Mi?Mi.length:0;Qn.push({newText:"",span:{length:Ka.length,start:uo-Hi}})}return Qn}function ht(pt,mt){var Mt=ke.getCurrentSourceFile(pt),It=gt(Mt,mt),tt=It.firstLine,xn=It.lastLine;return tt===xn&&mt.pos!==mt.end?ut(pt,mt,!0):vt(pt,mt,!0)}function xt(pt,mt){var Mt=ke.getCurrentSourceFile(pt),It=[],tt=mt.pos,xn=mt.end;tt===xn&&(xn+=e.isInsideJsxElement(Mt,tt)?2:1);for(var Qn=tt;Qn<=xn;Qn++){var Oa=e.isInComment(Mt,Qn);if(Oa){switch(Oa.kind){case 2:It.push.apply(It,vt(pt,{end:Oa.end,pos:Oa.pos+1},!1));break;case 3:It.push.apply(It,ut(pt,{end:Oa.end,pos:Oa.pos+1},!1))}Qn=Oa.end+1}}return It}function wt(pt){var mt=pt.openingElement,Mt=pt.closingElement,It=pt.parent;return!e.tagNamesAreEquivalent(mt.tagName,Mt.tagName)||e.isJsxElement(It)&&e.tagNamesAreEquivalent(mt.tagName,It.openingElement.tagName)&&wt(It)}function Qt(pt){var mt=pt.closingFragment,Mt=pt.parent;return!!(mt.flags&65536)||e.isJsxFragment(Mt)&&Qt(Mt)}function _t(pt,mt,Mt){var It=ke.getCurrentSourceFile(pt),tt=e.formatting.getRangeOfEnclosingComment(It,mt);return tt&&(!Mt||tt.kind===3)?e.createTextSpanFromRange(tt):void 0}function rn(pt,mt){Se();var Mt=Xe(pt);ve.throwIfCancellationRequested();var It=Mt.text,tt=[];if(mt.length>0&&!ji(Mt.fileName))for(var xn=Mi(),Qn=void 0;Qn=xn.exec(It);){ve.throwIfCancellationRequested();var Oa=3;e.Debug.assert(Qn.length===mt.length+Oa);var Ci=Qn[1],mi=Qn.index+Ci.length;if(e.isInComment(Mt,mi)){for(var va=void 0,yi=0;yi=97&&Hi<=122||Hi>=65&&Hi<=90||Hi>=48&&Hi<=57}function ji(Hi){return e.stringContains(Hi,"/node_modules/")}}function sa(pt,mt,Mt){return Se(),e.Rename.getRenameInfo(Pe,Xe(pt),mt,Mt)}function ba(pt,mt,Mt,It,tt,xn){var Qn=typeof mt=="number"?[mt,void 0]:[mt.pos,mt.end],Oa=Qn[0],Ci=Qn[1];return{file:pt,startPosition:Oa,endPosition:Ci,program:Le(),host:Y,formatContext:e.formatting.getFormatContext(It,Y),cancellationToken:ve,preferences:Mt,triggerReason:tt,kind:xn}}function Kn(pt,mt,Mt){return{file:pt,program:Le(),host:Y,span:mt,preferences:Mt,cancellationToken:ve}}function na(pt,mt){return e.SmartSelectionRange.getSmartSelectionRange(mt,ke.getCurrentSourceFile(pt))}function jn(pt,mt,Mt,It,tt){Mt===void 0&&(Mt=e.emptyOptions),Se();var xn=Xe(pt);return e.refactor.getApplicableRefactors(ba(xn,mt,Mt,e.emptyOptions,It,tt))}function en(pt,mt,Mt,It,tt,xn){xn===void 0&&(xn=e.emptyOptions),Se();var Qn=Xe(pt);return e.refactor.getEditsForRefactor(ba(Qn,Mt,xn,mt),It,tt)}function St(pt,mt){return mt===0?{line:0,character:0}:qe.toLineColumnOffset(pt,mt)}function Ut(pt,mt){Se();var Mt=e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,e.getTouchingPropertyName(Xe(pt),mt));return Mt&&e.mapOneOrMany(Mt,function(It){return e.CallHierarchy.createCallHierarchyItem(Pe,It)})}function qt(pt,mt){Se();var Mt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,mt===0?Mt:e.getTouchingPropertyName(Mt,mt)));return It?e.CallHierarchy.getIncomingCalls(Pe,It,ve):[]}function Mn(pt,mt){Se();var Mt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,mt===0?Mt:e.getTouchingPropertyName(Mt,mt)));return It?e.CallHierarchy.getOutgoingCalls(Pe,It):[]}function dn(pt,mt,Mt){Mt===void 0&&(Mt=e.emptyOptions),Se();var It=Xe(pt);return e.InlayHints.provideInlayHints(Kn(It,mt,Mt))}var oa={dispose:br,cleanupSemanticCache:Dr,getSyntacticDiagnostics:or,getSemanticDiagnostics:Cr,getSuggestionDiagnostics:Rr,getCompilerOptionsDiagnostics:Ke,getSyntacticClassifications:ue,getSemanticClassifications:he,getEncodedSyntacticClassifications:je,getEncodedSemanticClassifications:ir,getCompletionsAtPosition:Me,getCompletionEntryDetails:Hr,getCompletionEntrySymbol:cr,getSignatureHelpItems:yn,getQuickInfoAtPosition:vr,getDefinitionAtPosition:Je,getDefinitionAndBoundSpan:pr,getImplementationAtPosition:Ve,getTypeDefinitionAtPosition:kr,getReferencesAtPosition:Lr,findReferences:lt,getFileReferences:rt,getOccurrencesAtPosition:ur,getDocumentHighlights:Wr,getNameOrDottedNameSpan:Fn,getBreakpointStatementAtPosition:ar,getNavigateToItems:Rt,getRenameInfo:sa,getSmartSelectionRange:na,findRenameLocations:He,getNavigationBarItems:wr,getNavigationTree:sr,getOutliningSpans:be,getTodoComments:rn,getBraceMatchingAtPosition:$,getIndentationAtPosition:Ne,getFormattingEditsForRange:me,getFormattingEditsForDocument:Ze,getFormattingEditsAfterKeystroke:xr,getDocCommentTemplateAtPosition:Ir,isValidBraceCompletionAtPosition:Or,getJsxClosingTagAtPosition:zr,getSpanOfEnclosingComment:_t,getCodeFixesAtPosition:fr,getCombinedCodeFix:dr,applyCodeActionCommand:jr,organizeImports:et,getEditsForFileRename:yt,getEmitOutput:an,getNonBoundSourceFile:vn,getProgram:Le,getAutoImportProvider:Ye,getApplicableRefactors:jn,getEditsForRefactor:en,toLineColumnOffset:St,getSourceMapper:function(){return qe},clearSourceMapperCache:function(){return qe.clearCache()},prepareCallHierarchy:Ut,provideCallHierarchyIncomingCalls:qt,provideCallHierarchyOutgoingCalls:Mn,toggleLineComment:vt,toggleMultilineComment:ut,commentSelection:ht,uncommentSelection:xt,provideInlayHints:dn};switch(_e){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:C.forEach(function(pt){return oa[pt]=function(){throw new Error("LanguageService Operation: ".concat(pt," not allowed in LanguageServiceMode.PartialSemantic"))}});break;case e.LanguageServiceMode.Syntactic:_.forEach(function(pt){return oa[pt]=function(){throw new Error("LanguageService Operation: ".concat(pt," not allowed in LanguageServiceMode.Syntactic"))}});break;default:e.Debug.assertNever(_e)}return oa}e.createLanguageService=d;function h(Y){return Y.nameTable||P(Y),Y.nameTable}e.getNameTable=h;function P(Y){var j=Y.nameTable=new e.Map;Y.forEachChild(function z(Ee){if(e.isIdentifier(Ee)&&!e.isTagName(Ee)&&Ee.escapedText||e.isStringOrNumericLiteralLike(Ee)&&te(Ee)){var _e=e.getEscapedTextOfIdentifierOrLiteral(Ee);j.set(_e,j.get(_e)===void 0?Ee.pos:-1)}else if(e.isPrivateIdentifier(Ee)){var _e=Ee.escapedText;j.set(_e,j.get(_e)===void 0?Ee.pos:-1)}if(e.forEachChild(Ee,z),e.hasJSDocNodes(Ee))for(var ke=0,Pe=Ee.jsDoc;kex){var V=e.findPrecedingToken(p.pos,f);if(!V||f.getLineAndCharacterOfPosition(V.getEnd()).line!==x)return;p=V}if(p.flags&8388608)return;return k(p);function g(S,F){var B=S.decorators?e.skipTrivia(f.text,S.decorators.end):S.getStart(f);return e.createTextSpanFromBounds(B,(F||S).getEnd())}function m(S,F){return g(S,e.findNextToken(F,F.parent,f))}function A(S,F){return S&&x===f.getLineAndCharacterOfPosition(S.getStart(f)).line?k(S):k(F)}function K(S){return e.createTextSpanFromBounds(e.skipTrivia(f.text,S.pos),S.end)}function ae(S){return k(e.findPrecedingToken(S.pos,f))}function y(S){return k(e.findNextToken(S,S.parent,f))}function k(S){if(S){var F=S.parent;switch(S.kind){case 236:return ne(S.declarationList.declarations[0]);case 253:case 166:case 165:return ne(S);case 163:return X(S);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return Z(S);case 234:if(e.isFunctionBlock(S))return E(S);case 261:return I(S);case 291:return I(S.block);case 237:return g(S.expression);case 246:return g(S.getChildAt(0),S.expression);case 240:return m(S,S.expression);case 239:return k(S.statement);case 252:return g(S.getChildAt(0));case 238:return m(S,S.expression);case 249:return k(S.statement);case 245:case 244:return g(S.getChildAt(0),S.label);case 241:return D(S);case 242:return m(S,S.expression);case 243:return b(S);case 248:return m(S,S.expression);case 288:case 289:return k(S.statements[0]);case 251:return I(S.tryBlock);case 250:return g(S,S.expression);case 270:return g(S,S.expression);case 264:return g(S,S.moduleReference);case 265:return g(S,S.moduleSpecifier);case 271:return g(S,S.moduleSpecifier);case 260:if(e.getModuleInstanceState(S)!==1)return;case 256:case 259:case 297:case 202:return g(S);case 247:return k(S.statement);case 164:return K(F.decorators);case 200:case 201:return C(S);case 257:case 258:return;case 26:case 1:return A(e.findPrecedingToken(S.pos,f));case 27:return ae(S);case 18:return d(S);case 19:return h(S);case 23:return P(S);case 20:return te(S);case 21:return ce(S);case 58:return q(S);case 31:case 29:return J(S);case 115:return Te(S);case 91:case 83:case 96:return y(S);case 159:return Ae(S);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(S))return _(S);if((S.kind===79||S.kind===224||S.kind===294||S.kind===295)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(F))return g(S);if(S.kind===220){var B=S,N=B.left,w=B.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(N))return _(N);if(w.kind===63&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent))return g(S);if(w.kind===27)return k(N)}if(e.isExpressionNode(S))switch(F.kind){case 239:return ae(S);case 164:return k(S.parent);case 241:case 243:return g(S);case 220:if(S.parent.operatorToken.kind===27)return g(S);break;case 213:if(S.parent.body===S)return g(S);break}switch(S.parent.kind){case 294:if(S.parent.name===S&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent.parent))return k(S.parent.initializer);break;case 210:if(S.parent.type===S)return y(S.parent.type);break;case 253:case 163:{var O=S.parent,U=O.initializer,Q=O.type;if(U===S||Q===S||e.isAssignmentOperator(S.kind))return ae(S);break}case 220:{var N=S.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(N)&&S!==N)return ae(S);break}default:if(e.isFunctionLike(S.parent)&&S.parent.type===S)return ae(S)}return k(S.parent)}}function ee(R){return e.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R?g(e.findPrecedingToken(R.pos,f,R.parent),R):g(R)}function ne(R){if(R.parent.parent.kind===242)return k(R.parent.parent);var Y=R.parent;if(e.isBindingPattern(R.name))return C(R.name);if(R.initializer||e.hasSyntacticModifier(R,1)||Y.parent.kind===243)return ee(R);if(e.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R)return k(e.findPrecedingToken(R.pos,f,R.parent))}function M(R){return!!R.initializer||R.dotDotDotToken!==void 0||e.hasSyntacticModifier(R,12)}function X(R){if(e.isBindingPattern(R.name))return C(R.name);if(M(R))return g(R);var Y=R.parent,j=Y.parameters.indexOf(R);return e.Debug.assert(j!==-1),j!==0?X(Y.parameters[j-1]):k(Y.body)}function G(R){return e.hasSyntacticModifier(R,1)||R.parent.kind===256&&R.kind!==170}function Z(R){if(R.body)return G(R)?g(R):k(R.body)}function E(R){var Y=R.statements.length?R.statements[0]:R.getLastToken();return G(R.parent)?A(R.parent,Y):k(Y)}function I(R){switch(R.parent.kind){case 260:if(e.getModuleInstanceState(R.parent)!==1)return;case 240:case 238:case 242:return A(R.parent,R.statements[0]);case 241:case 243:return A(e.findPrecedingToken(R.pos,f,R.parent),R.statements[0])}return k(R.statements[0])}function b(R){if(R.initializer.kind===254){var Y=R.initializer;if(Y.declarations.length>0)return k(Y.declarations[0])}else return k(R.initializer)}function D(R){if(R.initializer)return b(R);if(R.condition)return g(R.condition);if(R.incrementor)return g(R.incrementor)}function C(R){var Y=e.forEach(R.elements,function(j){return j.kind!==226?j:void 0});return Y?k(Y):R.parent.kind===202?g(R.parent):ee(R.parent)}function _(R){e.Debug.assert(R.kind!==201&&R.kind!==200);var Y=R.kind===203?R.elements:R.properties,j=e.forEach(Y,function(z){return z.kind!==226?z:void 0});return j?k(j):g(R.parent.kind===220?R.parent:R)}function d(R){switch(R.parent.kind){case 259:var Y=R.parent;return A(e.findPrecedingToken(R.pos,f,R.parent),Y.members.length?Y.members[0]:Y.getLastToken(f));case 256:var j=R.parent;return A(e.findPrecedingToken(R.pos,f,R.parent),j.members.length?j.members[0]:j.getLastToken(f));case 262:return A(R.parent.parent,R.parent.clauses[0])}return k(R.parent)}function h(R){switch(R.parent.kind){case 261:if(e.getModuleInstanceState(R.parent.parent)!==1)return;case 259:case 256:return g(R);case 234:if(e.isFunctionBlock(R.parent))return g(R);case 291:return k(e.lastOrUndefined(R.parent.statements));case 262:var Y=R.parent,j=e.lastOrUndefined(Y.clauses);return j?k(e.lastOrUndefined(j.statements)):void 0;case 200:var z=R.parent;return k(e.lastOrUndefined(z.elements)||z);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){var Ee=R.parent;return g(e.lastOrUndefined(Ee.properties)||Ee)}return k(R.parent)}}function P(R){switch(R.parent.kind){case 201:var Y=R.parent;return g(e.lastOrUndefined(Y.elements)||Y);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){var j=R.parent;return g(e.lastOrUndefined(j.elements)||j)}return k(R.parent)}}function te(R){return R.parent.kind===239||R.parent.kind===207||R.parent.kind===208?ae(R):R.parent.kind===211?y(R):k(R.parent)}function ce(R){switch(R.parent.kind){case 212:case 255:case 213:case 168:case 167:case 171:case 172:case 170:case 240:case 239:case 241:case 243:case 207:case 208:case 211:return ae(R);default:return k(R.parent)}}function q(R){return e.isFunctionLike(R.parent)||R.parent.kind===294||R.parent.kind===163?ae(R):k(R.parent)}function J(R){return R.parent.kind===210?y(R):k(R.parent)}function Te(R){return R.parent.kind===239?m(R,R.parent.expression):k(R.parent)}function Ae(R){return R.parent.kind===243?y(R):k(R.parent)}}}n.spanInSourceFileAtLocation=c})(e.BreakpointResolver||(e.BreakpointResolver={}))})(gr||(gr={}));var gr;(function(e){function n(c,f,a){var p=[];a=e.fixupCompilerOptions(a,p);var x=e.isArray(c)?c:[c],V=e.transformNodes(void 0,void 0,e.factory,a,x,f,!0);return V.diagnostics=e.concatenate(V.diagnostics,p),V}e.transform=n})(gr||(gr={}));var GE=function(){return this}(),gr;(function(e){function n(F,B){F&&F.log("*INTERNAL ERROR* - Exception in typescript services: "+B.message)}var c=function(){function F(B){this.scriptSnapshotShim=B}return F.prototype.getText=function(B,N){return this.scriptSnapshotShim.getText(B,N)},F.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},F.prototype.getChangeRange=function(B){var N=B,w=this.scriptSnapshotShim.getChangeRange(N.scriptSnapshotShim);if(w===null)return null;var O=JSON.parse(w);return e.createTextChangeRange(e.createTextSpan(O.span.start,O.span.length),O.newLength)},F.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},F}(),f=function(){function F(B){var N=this;this.shimHost=B,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(w,O){var U=JSON.parse(N.shimHost.getModuleResolutionsForFile(O));return e.map(w,function(Q){var ee=e.getProperty(U,Q);return ee?{resolvedFileName:ee,extension:e.extensionFromPath(ee),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(w){return N.shimHost.directoryExists(w)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(w,O){var U=JSON.parse(N.shimHost.getTypeReferenceDirectiveResolutionsForFile(O));return e.map(w,function(Q){return e.getProperty(U,Q)})})}return F.prototype.log=function(B){this.loggingEnabled&&this.shimHost.log(B)},F.prototype.trace=function(B){this.tracingEnabled&&this.shimHost.trace(B)},F.prototype.error=function(B){this.shimHost.error(B)},F.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},F.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},F.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1},F.prototype.getCompilationSettings=function(){var B=this.shimHost.getCompilationSettings();if(B===null||B==="")throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var N=JSON.parse(B);return N.allowNonTsExtensions=!0,N},F.prototype.getScriptFileNames=function(){var B=this.shimHost.getScriptFileNames();return JSON.parse(B)},F.prototype.getScriptSnapshot=function(B){var N=this.shimHost.getScriptSnapshot(B);return N&&new c(N)},F.prototype.getScriptKind=function(B){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(B):0},F.prototype.getScriptVersion=function(B){return this.shimHost.getScriptVersion(B)},F.prototype.getLocalizedDiagnosticMessages=function(){var B=this.shimHost.getLocalizedDiagnosticMessages();if(B===null||B==="")return null;try{return JSON.parse(B)}catch(N){return this.log(N.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},F.prototype.getCancellationToken=function(){var B=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(B)},F.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},F.prototype.getDirectories=function(B){return JSON.parse(this.shimHost.getDirectories(B))},F.prototype.getDefaultLibFileName=function(B){return this.shimHost.getDefaultLibFileName(JSON.stringify(B))},F.prototype.readDirectory=function(B,N,w,O,U){var Q=e.getFileMatcherPatterns(B,w,O,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(B,JSON.stringify(N),JSON.stringify(Q.basePaths),Q.excludePattern,Q.includeFilePattern,Q.includeDirectoryPattern,U))},F.prototype.readFile=function(B,N){return this.shimHost.readFile(B,N)},F.prototype.fileExists=function(B){return this.shimHost.fileExists(B)},F}();e.LanguageServiceShimHostAdapter=f;var a=function(){function F(B){var N=this;this.shimHost=B,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,"directoryExists"in this.shimHost?this.directoryExists=function(w){return N.shimHost.directoryExists(w)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(w){return N.shimHost.realpath(w)}:this.realpath=void 0}return F.prototype.readDirectory=function(B,N,w,O,U){var Q=e.getFileMatcherPatterns(B,w,O,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(B,JSON.stringify(N),JSON.stringify(Q.basePaths),Q.excludePattern,Q.includeFilePattern,Q.includeDirectoryPattern,U))},F.prototype.fileExists=function(B){return this.shimHost.fileExists(B)},F.prototype.readFile=function(B){return this.shimHost.readFile(B)},F.prototype.getDirectories=function(B){return JSON.parse(this.shimHost.getDirectories(B))},F}();e.CoreServicesShimHostAdapter=a;function p(F,B,N,w){var O;w&&(F.log(B),O=e.timestamp());var U=N();if(w){var Q=e.timestamp();if(F.log("".concat(B," completed in ").concat(Q-O," msec")),e.isString(U)){var ee=U;ee.length>128&&(ee=ee.substring(0,128)+"..."),F.log(" result.length=".concat(ee.length,", result='").concat(JSON.stringify(ee),"'"))}}return U}function x(F,B,N,w){return V(F,B,!0,N,w)}function V(F,B,N,w,O){try{var U=p(F,B,w,O);return N?JSON.stringify({result:U}):U}catch(Q){return Q instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(F,Q),Q.description=B,JSON.stringify({error:Q}))}}var g=function(){function F(B){this.factory=B,B.registerShim(this)}return F.prototype.dispose=function(B){this.factory.unregisterShim(this)},F}();function m(F,B){return F.map(function(N){return A(N,B)})}e.realizeDiagnostics=m;function A(F,B){return{message:e.flattenDiagnosticMessageText(F.messageText,B),start:F.start,length:F.length,category:e.diagnosticCategoryName(F),code:F.code,reportsUnnecessary:F.reportsUnnecessary,reportsDeprecated:F.reportsDeprecated}}var K=function(F){V_(B,F);function B(N,w,O){var U=F.call(this,N)||this;return U.host=w,U.languageService=O,U.logPerformance=!1,U.logger=U.host,U}return B.prototype.forwardJSONCall=function(N,w){return x(this.logger,N,w,this.logPerformance)},B.prototype.dispose=function(N){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,GE&&GE.CollectGarbage&&(GE.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,F.prototype.dispose.call(this,N)},B.prototype.refresh=function(N){this.forwardJSONCall("refresh(".concat(N,")"),function(){return null})},B.prototype.cleanupSemanticCache=function(){var N=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return N.languageService.cleanupSemanticCache(),null})},B.prototype.realizeDiagnostics=function(N){var w=e.getNewLineOrDefaultFromHost(this.host);return m(N,w)},B.prototype.getSyntacticClassifications=function(N,w,O){var U=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.getSyntacticClassifications(N,e.createTextSpan(w,O))})},B.prototype.getSemanticClassifications=function(N,w,O){var U=this;return this.forwardJSONCall("getSemanticClassifications('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.getSemanticClassifications(N,e.createTextSpan(w,O))})},B.prototype.getEncodedSyntacticClassifications=function(N,w,O){var U=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return ae(U.languageService.getEncodedSyntacticClassifications(N,e.createTextSpan(w,O)))})},B.prototype.getEncodedSemanticClassifications=function(N,w,O){var U=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return ae(U.languageService.getEncodedSemanticClassifications(N,e.createTextSpan(w,O)))})},B.prototype.getSyntacticDiagnostics=function(N){var w=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(N,"')"),function(){var O=w.languageService.getSyntacticDiagnostics(N);return w.realizeDiagnostics(O)})},B.prototype.getSemanticDiagnostics=function(N){var w=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(N,"')"),function(){var O=w.languageService.getSemanticDiagnostics(N);return w.realizeDiagnostics(O)})},B.prototype.getSuggestionDiagnostics=function(N){var w=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(N,"')"),function(){return w.realizeDiagnostics(w.languageService.getSuggestionDiagnostics(N))})},B.prototype.getCompilerOptionsDiagnostics=function(){var N=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var w=N.languageService.getCompilerOptionsDiagnostics();return N.realizeDiagnostics(w)})},B.prototype.getQuickInfoAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getQuickInfoAtPosition(N,w)})},B.prototype.getNameOrDottedNameSpan=function(N,w,O){var U=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.getNameOrDottedNameSpan(N,w,O)})},B.prototype.getBreakpointStatementAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getBreakpointStatementAtPosition(N,w)})},B.prototype.getSignatureHelpItems=function(N,w,O){var U=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(N,"', ").concat(w,")"),function(){return U.languageService.getSignatureHelpItems(N,w,O)})},B.prototype.getDefinitionAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getDefinitionAtPosition(N,w)})},B.prototype.getDefinitionAndBoundSpan=function(N,w){var O=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getDefinitionAndBoundSpan(N,w)})},B.prototype.getTypeDefinitionAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getTypeDefinitionAtPosition(N,w)})},B.prototype.getImplementationAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getImplementationAtPosition(N,w)})},B.prototype.getRenameInfo=function(N,w,O){var U=this;return this.forwardJSONCall("getRenameInfo('".concat(N,"', ").concat(w,")"),function(){return U.languageService.getRenameInfo(N,w,O)})},B.prototype.getSmartSelectionRange=function(N,w){var O=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getSmartSelectionRange(N,w)})},B.prototype.findRenameLocations=function(N,w,O,U,Q){var ee=this;return this.forwardJSONCall("findRenameLocations('".concat(N,"', ").concat(w,", ").concat(O,", ").concat(U,", ").concat(Q,")"),function(){return ee.languageService.findRenameLocations(N,w,O,U,Q)})},B.prototype.getBraceMatchingAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getBraceMatchingAtPosition(N,w)})},B.prototype.isValidBraceCompletionAtPosition=function(N,w,O){var U=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.isValidBraceCompletionAtPosition(N,w,O)})},B.prototype.getSpanOfEnclosingComment=function(N,w,O){var U=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(N,"', ").concat(w,")"),function(){return U.languageService.getSpanOfEnclosingComment(N,w,O)})},B.prototype.getIndentationAtPosition=function(N,w,O){var U=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(N,"', ").concat(w,")"),function(){var Q=JSON.parse(O);return U.languageService.getIndentationAtPosition(N,w,Q)})},B.prototype.getReferencesAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getReferencesAtPosition(N,w)})},B.prototype.findReferences=function(N,w){var O=this;return this.forwardJSONCall("findReferences('".concat(N,"', ").concat(w,")"),function(){return O.languageService.findReferences(N,w)})},B.prototype.getFileReferences=function(N){var w=this;return this.forwardJSONCall("getFileReferences('".concat(N,")"),function(){return w.languageService.getFileReferences(N)})},B.prototype.getOccurrencesAtPosition=function(N,w){var O=this;return this.forwardJSONCall("getOccurrencesAtPosition('".concat(N,"', ").concat(w,")"),function(){return O.languageService.getOccurrencesAtPosition(N,w)})},B.prototype.getDocumentHighlights=function(N,w,O){var U=this;return this.forwardJSONCall("getDocumentHighlights('".concat(N,"', ").concat(w,")"),function(){var Q=U.languageService.getDocumentHighlights(N,w,JSON.parse(O)),ee=e.toFileNameLowerCase(e.normalizeSlashes(N));return e.filter(Q,function(ne){return e.toFileNameLowerCase(e.normalizeSlashes(ne.fileName))===ee})})},B.prototype.getCompletionsAtPosition=function(N,w,O){var U=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.getCompletionsAtPosition(N,w,O)})},B.prototype.getCompletionEntryDetails=function(N,w,O,U,Q,ee,ne){var M=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(N,"', ").concat(w,", '").concat(O,"')"),function(){var X=U===void 0?void 0:JSON.parse(U);return M.languageService.getCompletionEntryDetails(N,w,O,X,Q,ee,ne)})},B.prototype.getFormattingEditsForRange=function(N,w,O,U){var Q=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){var ee=JSON.parse(U);return Q.languageService.getFormattingEditsForRange(N,w,O,ee)})},B.prototype.getFormattingEditsForDocument=function(N,w){var O=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(N,"')"),function(){var U=JSON.parse(w);return O.languageService.getFormattingEditsForDocument(N,U)})},B.prototype.getFormattingEditsAfterKeystroke=function(N,w,O,U){var Q=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(N,"', ").concat(w,", '").concat(O,"')"),function(){var ee=JSON.parse(U);return Q.languageService.getFormattingEditsAfterKeystroke(N,w,O,ee)})},B.prototype.getDocCommentTemplateAtPosition=function(N,w,O){var U=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(N,"', ").concat(w,")"),function(){return U.languageService.getDocCommentTemplateAtPosition(N,w,O)})},B.prototype.getNavigateToItems=function(N,w,O){var U=this;return this.forwardJSONCall("getNavigateToItems('".concat(N,"', ").concat(w,", ").concat(O,")"),function(){return U.languageService.getNavigateToItems(N,w,O)})},B.prototype.getNavigationBarItems=function(N){var w=this;return this.forwardJSONCall("getNavigationBarItems('".concat(N,"')"),function(){return w.languageService.getNavigationBarItems(N)})},B.prototype.getNavigationTree=function(N){var w=this;return this.forwardJSONCall("getNavigationTree('".concat(N,"')"),function(){return w.languageService.getNavigationTree(N)})},B.prototype.getOutliningSpans=function(N){var w=this;return this.forwardJSONCall("getOutliningSpans('".concat(N,"')"),function(){return w.languageService.getOutliningSpans(N)})},B.prototype.getTodoComments=function(N,w){var O=this;return this.forwardJSONCall("getTodoComments('".concat(N,"')"),function(){return O.languageService.getTodoComments(N,JSON.parse(w))})},B.prototype.prepareCallHierarchy=function(N,w){var O=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(N,"', ").concat(w,")"),function(){return O.languageService.prepareCallHierarchy(N,w)})},B.prototype.provideCallHierarchyIncomingCalls=function(N,w){var O=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(N,"', ").concat(w,")"),function(){return O.languageService.provideCallHierarchyIncomingCalls(N,w)})},B.prototype.provideCallHierarchyOutgoingCalls=function(N,w){var O=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(N,"', ").concat(w,")"),function(){return O.languageService.provideCallHierarchyOutgoingCalls(N,w)})},B.prototype.provideInlayHints=function(N,w,O){var U=this;return this.forwardJSONCall("provideInlayHints('".concat(N,"', '").concat(JSON.stringify(w),"', ").concat(JSON.stringify(O),")"),function(){return U.languageService.provideInlayHints(N,w,O)})},B.prototype.getEmitOutput=function(N){var w=this;return this.forwardJSONCall("getEmitOutput('".concat(N,"')"),function(){var O=w.languageService.getEmitOutput(N),U=O.diagnostics,Q=kD(O,["diagnostics"]);return On(On({},Q),{diagnostics:w.realizeDiagnostics(U)})})},B.prototype.getEmitOutputObject=function(N){var w=this;return V(this.logger,"getEmitOutput('".concat(N,"')"),!1,function(){return w.languageService.getEmitOutput(N)},this.logPerformance)},B.prototype.toggleLineComment=function(N,w){var O=this;return this.forwardJSONCall("toggleLineComment('".concat(N,"', '").concat(JSON.stringify(w),"')"),function(){return O.languageService.toggleLineComment(N,w)})},B.prototype.toggleMultilineComment=function(N,w){var O=this;return this.forwardJSONCall("toggleMultilineComment('".concat(N,"', '").concat(JSON.stringify(w),"')"),function(){return O.languageService.toggleMultilineComment(N,w)})},B.prototype.commentSelection=function(N,w){var O=this;return this.forwardJSONCall("commentSelection('".concat(N,"', '").concat(JSON.stringify(w),"')"),function(){return O.languageService.commentSelection(N,w)})},B.prototype.uncommentSelection=function(N,w){var O=this;return this.forwardJSONCall("uncommentSelection('".concat(N,"', '").concat(JSON.stringify(w),"')"),function(){return O.languageService.uncommentSelection(N,w)})},B}(g);function ae(F){return{spans:F.spans.join(","),endOfLineState:F.endOfLineState}}var y=function(F){V_(B,F);function B(N,w){var O=F.call(this,N)||this;return O.logger=w,O.logPerformance=!1,O.classifier=e.createClassifier(),O}return B.prototype.getEncodedLexicalClassifications=function(N,w,O){var U=this;return O===void 0&&(O=!1),x(this.logger,"getEncodedLexicalClassifications",function(){return ae(U.classifier.getEncodedLexicalClassifications(N,w,O))},this.logPerformance)},B.prototype.getClassificationsForLine=function(N,w,O){O===void 0&&(O=!1);for(var U=this.classifier.getClassificationsForLine(N,w,O),Q="",ee=0,ne=U.entries;ee"u"&&(window.globalThis=window),delete Object.prototype.__magic__}catch{window.globalThis=window}}(),(typeof process>"u"||process.browser)&&(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=gr.TypeScriptServicesFactory,globalThis.toolsVersion=gr.versionMajorMinor),typeof py<"u"&&py.exports&&(py.exports=gr);var gr;(function(e){var n={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,n),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,n),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,n),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,n),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,n),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,n),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,n),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,n),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,n),e.createSuper=e.Debug.deprecate(e.factory.createSuper,n),e.createThis=e.Debug.deprecate(e.factory.createThis,n),e.createNull=e.Debug.deprecate(e.factory.createNull,n),e.createTrue=e.Debug.deprecate(e.factory.createTrue,n),e.createFalse=e.Debug.deprecate(e.factory.createFalse,n),e.createModifier=e.Debug.deprecate(e.factory.createModifier,n),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,n),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,n),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,n),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,n),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,n),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,n),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,n),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,n),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,n),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,n),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,n),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,n),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,n),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,n),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,n),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,n),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,n),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,n),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,n),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,n),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,n),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,n),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,n),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,n),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,n),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,n),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,n),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,n),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,n),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,n),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,n),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,n),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,n),e.createConstructorTypeNode=e.Debug.deprecate(function(c,f,a){return e.factory.createConstructorTypeNode(void 0,c,f,a)},n),e.updateConstructorTypeNode=e.Debug.deprecate(function(c,f,a,p){return e.factory.updateConstructorTypeNode(c,c.modifiers,f,a,p)},n),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,n),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,n),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,n),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,n),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,n),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,n),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,n),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,n),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,n),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,n),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,n),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,n),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,n),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,n),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,n),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,n),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,n),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,n),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,n),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,n),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,n),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,n),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,n),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,n),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,n),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,n),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,n),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,n),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,n),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,n),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,n),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,n),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,n),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,n),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,n),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,n),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,n),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,n),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,n),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,n),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,n),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,n),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,n),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,n),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,n),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,n),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,n),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,n),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,n),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,n),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,n),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,n),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,n),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,n),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,n),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,n),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,n),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,n),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,n),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,n),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,n),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,n),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,n),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,n),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,n),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,n),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,n),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,n),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,n),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,n),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,n),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,n),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,n),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,n),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,n),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,n),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,n),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,n),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,n),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,n),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,n),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,n),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,n),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,n),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,n),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,n),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,n),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,n),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,n),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,n),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,n),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,n),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,n),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,n),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,n),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,n),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,n),e.createBlock=e.Debug.deprecate(e.factory.createBlock,n),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,n),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,n),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,n),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,n),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,n),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,n),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,n),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,n),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,n),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,n),e.createFor=e.Debug.deprecate(e.factory.createForStatement,n),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,n),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,n),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,n),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,n),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,n),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,n),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,n),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,n),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,n),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,n),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,n),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,n),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,n),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,n),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,n),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,n),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,n),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,n),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,n),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,n),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,n),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,n),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,n),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,n),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,n),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,n),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,n),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,n),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,n),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,n),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,n),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,n),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,n),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,n),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,n),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,n),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,n),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,n),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,n),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,n),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,n),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,n),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,n),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,n),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,n),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,n),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,n),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,n),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,n),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,n),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,n),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,n),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,n),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,n),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,n),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,n),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,n),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,n),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,n),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,n),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,n),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,n),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,n),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,n),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,n),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,n),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,n),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,n),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,n),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,n),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,n),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,n),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,n),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,n),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,n),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,n),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,n),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,n),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,n),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,n),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,n),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,n),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,n),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,n),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,n),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,n),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,n),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,n),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,n),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,n),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,n),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,n),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,n),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,n),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,n),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,n),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,n),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,n),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,n),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,n),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,n),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,n),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,n),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,n),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,n),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,n),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,n),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,n),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,n),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,n),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,n),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,n),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,n),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,n),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,n),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,n),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,n),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,n),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,n),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,n),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,n),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,n),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,n),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,n),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,n),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,n),e.createBundle=e.Debug.deprecate(e.factory.createBundle,n),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,n),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,n),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,n),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,n),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,n),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,n),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,n),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,n),e.createToken=e.Debug.deprecate(function(f){return e.factory.createToken(f)},n),e.createIdentifier=e.Debug.deprecate(function(f){return e.factory.createIdentifier(f,void 0,void 0)},n),e.createTempVariable=e.Debug.deprecate(function(f){return e.factory.createTempVariable(f,void 0)},n),e.getGeneratedNameForNode=e.Debug.deprecate(function(f){return e.factory.getGeneratedNameForNode(f,void 0)},n),e.createOptimisticUniqueName=e.Debug.deprecate(function(f){return e.factory.createUniqueName(f,16)},n),e.createFileLevelUniqueName=e.Debug.deprecate(function(f){return e.factory.createUniqueName(f,48)},n),e.createIndexSignature=e.Debug.deprecate(function(f,a,p,x){return e.factory.createIndexSignature(f,a,p,x)},n),e.createTypePredicateNode=e.Debug.deprecate(function(f,a){return e.factory.createTypePredicateNode(void 0,f,a)},n),e.updateTypePredicateNode=e.Debug.deprecate(function(f,a,p){return e.factory.updateTypePredicateNode(f,void 0,a,p)},n),e.createLiteral=e.Debug.deprecate(function(f){return typeof f=="number"?e.factory.createNumericLiteral(f):typeof f=="object"&&"base10Value"in f?e.factory.createBigIntLiteral(f):typeof f=="boolean"?f?e.factory.createTrue():e.factory.createFalse():typeof f=="string"?e.factory.createStringLiteral(f,void 0):e.factory.createStringLiteralFromNode(f)},{since:"4.0",warnAfter:"4.1",message:"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead."}),e.createMethodSignature=e.Debug.deprecate(function(f,a,p,x,V){return e.factory.createMethodSignature(void 0,x,V,f,a,p)},n),e.updateMethodSignature=e.Debug.deprecate(function(f,a,p,x,V,g){return e.factory.updateMethodSignature(f,f.modifiers,V,g,a,p,x)},n),e.createTypeOperatorNode=e.Debug.deprecate(function(f,a){var p;return a?p=f:(a=f,p=140),e.factory.createTypeOperatorNode(p,a)},n),e.createTaggedTemplate=e.Debug.deprecate(function(f,a,p){var x;return p?x=a:p=a,e.factory.createTaggedTemplateExpression(f,x,p)},n),e.updateTaggedTemplate=e.Debug.deprecate(function(f,a,p,x){var V;return x?V=p:x=p,e.factory.updateTaggedTemplateExpression(f,a,V,x)},n),e.updateBinary=e.Debug.deprecate(function(f,a,p,x){return x===void 0&&(x=f.operatorToken),typeof x=="number"&&(x=x===f.operatorToken.kind?f.operatorToken:e.factory.createToken(x)),e.factory.updateBinaryExpression(f,a,x,p)},n),e.createConditional=e.Debug.deprecate(function(f,a,p,x,V){return arguments.length===5?e.factory.createConditionalExpression(f,a,p,x,V):arguments.length===3?e.factory.createConditionalExpression(f,e.factory.createToken(57),a,e.factory.createToken(58),p):e.Debug.fail("Argument count mismatch")},n),e.createYield=e.Debug.deprecate(function(f,a){var p;return a?p=f:a=f,e.factory.createYieldExpression(p,a)},n),e.createClassExpression=e.Debug.deprecate(function(f,a,p,x,V){return e.factory.createClassExpression(void 0,f,a,p,x,V)},n),e.updateClassExpression=e.Debug.deprecate(function(f,a,p,x,V,g){return e.factory.updateClassExpression(f,void 0,a,p,x,V,g)},n),e.createPropertySignature=e.Debug.deprecate(function(f,a,p,x,V){var g=e.factory.createPropertySignature(f,a,p,x);return g.initializer=V,g},n),e.updatePropertySignature=e.Debug.deprecate(function(f,a,p,x,V,g){var m=e.factory.updatePropertySignature(f,a,p,x,V);return f.initializer!==g&&(m===f&&(m=e.factory.cloneNode(f)),m.initializer=g),m},n),e.createExpressionWithTypeArguments=e.Debug.deprecate(function(f,a){return e.factory.createExpressionWithTypeArguments(a,f)},n),e.updateExpressionWithTypeArguments=e.Debug.deprecate(function(f,a,p){return e.factory.updateExpressionWithTypeArguments(f,p,a)},n),e.createArrowFunction=e.Debug.deprecate(function(f,a,p,x,V,g){return arguments.length===6?e.factory.createArrowFunction(f,a,p,x,V,g):arguments.length===5?e.factory.createArrowFunction(f,a,p,x,void 0,V):e.Debug.fail("Argument count mismatch")},n),e.updateArrowFunction=e.Debug.deprecate(function(f,a,p,x,V,g,m){return arguments.length===7?e.factory.updateArrowFunction(f,a,p,x,V,g,m):arguments.length===6?e.factory.updateArrowFunction(f,a,p,x,V,f.equalsGreaterThanToken,g):e.Debug.fail("Argument count mismatch")},n),e.createVariableDeclaration=e.Debug.deprecate(function(f,a,p,x){return arguments.length===4?e.factory.createVariableDeclaration(f,a,p,x):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(f,void 0,a,p):e.Debug.fail("Argument count mismatch")},n),e.updateVariableDeclaration=e.Debug.deprecate(function(f,a,p,x,V){return arguments.length===5?e.factory.updateVariableDeclaration(f,a,p,x,V):arguments.length===4?e.factory.updateVariableDeclaration(f,a,f.exclamationToken,p,x):e.Debug.fail("Argument count mismatch")},n),e.createImportClause=e.Debug.deprecate(function(f,a,p){return p===void 0&&(p=!1),e.factory.createImportClause(p,f,a)},n),e.updateImportClause=e.Debug.deprecate(function(f,a,p,x){return e.factory.updateImportClause(f,x,a,p)},n),e.createExportDeclaration=e.Debug.deprecate(function(f,a,p,x,V){return V===void 0&&(V=!1),e.factory.createExportDeclaration(f,a,V,p,x)},n),e.updateExportDeclaration=e.Debug.deprecate(function(f,a,p,x,V,g){return e.factory.updateExportDeclaration(f,a,p,g,x,V,f.assertClause)},n),e.createJSDocParamTag=e.Debug.deprecate(function(f,a,p,x){return e.factory.createJSDocParameterTag(void 0,f,a,p,!1,x?e.factory.createNodeArray([e.factory.createJSDocText(x)]):void 0)},n),e.createComma=e.Debug.deprecate(function(f,a){return e.factory.createComma(f,a)},n),e.createLessThan=e.Debug.deprecate(function(f,a){return e.factory.createLessThan(f,a)},n),e.createAssignment=e.Debug.deprecate(function(f,a){return e.factory.createAssignment(f,a)},n),e.createStrictEquality=e.Debug.deprecate(function(f,a){return e.factory.createStrictEquality(f,a)},n),e.createStrictInequality=e.Debug.deprecate(function(f,a){return e.factory.createStrictInequality(f,a)},n),e.createAdd=e.Debug.deprecate(function(f,a){return e.factory.createAdd(f,a)},n),e.createSubtract=e.Debug.deprecate(function(f,a){return e.factory.createSubtract(f,a)},n),e.createLogicalAnd=e.Debug.deprecate(function(f,a){return e.factory.createLogicalAnd(f,a)},n),e.createLogicalOr=e.Debug.deprecate(function(f,a){return e.factory.createLogicalOr(f,a)},n),e.createPostfixIncrement=e.Debug.deprecate(function(f){return e.factory.createPostfixIncrement(f)},n),e.createLogicalNot=e.Debug.deprecate(function(f){return e.factory.createLogicalNot(f)},n),e.createNode=e.Debug.deprecate(function(f,a,p){return a===void 0&&(a=0),p===void 0&&(p=0),e.setTextRangePosEnd(f===303?e.parseBaseNodeFactory.createBaseSourceFileNode(f):f===79?e.parseBaseNodeFactory.createBaseIdentifierNode(f):f===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(f):e.isNodeKind(f)?e.parseBaseNodeFactory.createBaseNode(f):e.parseBaseNodeFactory.createBaseTokenNode(f),a,p)},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate(function(f){var a=e.factory.cloneNode(f);return e.setTextRange(a,f),e.setParent(a,f.parent),a},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."}),e.isTypeAssertion=e.Debug.deprecate(function(f){return f.kind===210},{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function(f){return e.isMemberName(f)},{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(gr||(gr={}));var aR=gr.createClassifier,RD=gr.createLanguageService,iR=gr.displayPartsToString,oR=gr.EndOfLineState,sR=gr.flattenDiagnosticMessageText,lR=gr.IndentStyle,W_=gr.ScriptKind,cR=gr.ScriptTarget,uR=gr.TokenClass,OD=gr,Ri={};Ri["lib.d.ts"]=`/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// /// /// /// /// `,Ri["lib.dom.d.ts"]=`/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// ///////////////////////////// /// Window APIs ///////////////////////////// interface AddEventListenerOptions extends EventListenerOptions { once?: boolean; passive?: boolean; signal?: AbortSignal; } interface AesCbcParams extends Algorithm { iv: BufferSource; } interface AesCtrParams extends Algorithm { counter: BufferSource; length: number; } interface AesDerivedKeyParams extends Algorithm { length: number; } interface AesGcmParams extends Algorithm { additionalData?: BufferSource; iv: BufferSource; tagLength?: number; } interface AesKeyAlgorithm extends KeyAlgorithm { length: number; } interface AesKeyGenParams extends Algorithm { length: number; } interface Algorithm { name: string; } interface AnalyserOptions extends AudioNodeOptions { fftSize?: number; maxDecibels?: number; minDecibels?: number; smoothingTimeConstant?: number; } interface AnimationEventInit extends EventInit { animationName?: string; elapsedTime?: number; pseudoElement?: string; } interface AnimationPlaybackEventInit extends EventInit { currentTime?: CSSNumberish | null; timelineTime?: CSSNumberish | null; } interface AssignedNodesOptions { flatten?: boolean; } interface AudioBufferOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface AudioBufferSourceOptions { buffer?: AudioBuffer | null; detune?: number; loop?: boolean; loopEnd?: number; loopStart?: number; playbackRate?: number; } interface AudioConfiguration { bitrate?: number; channels?: string; contentType: string; samplerate?: number; spatialRendering?: boolean; } interface AudioContextOptions { latencyHint?: AudioContextLatencyCategory | number; sampleRate?: number; } interface AudioNodeOptions { channelCount?: number; channelCountMode?: ChannelCountMode; channelInterpretation?: ChannelInterpretation; } interface AudioProcessingEventInit extends EventInit { inputBuffer: AudioBuffer; outputBuffer: AudioBuffer; playbackTime: number; } interface AudioTimestamp { contextTime?: number; performanceTime?: DOMHighResTimeStamp; } interface AudioWorkletNodeOptions extends AudioNodeOptions { numberOfInputs?: number; numberOfOutputs?: number; outputChannelCount?: number[]; parameterData?: Record; processorOptions?: any; } interface AuthenticationExtensionsClientInputs { appid?: string; appidExclude?: string; credProps?: boolean; uvm?: boolean; } interface AuthenticationExtensionsClientOutputs { appid?: boolean; credProps?: CredentialPropertiesOutput; uvm?: UvmEntries; } interface AuthenticatorSelectionCriteria { authenticatorAttachment?: AuthenticatorAttachment; requireResidentKey?: boolean; residentKey?: ResidentKeyRequirement; userVerification?: UserVerificationRequirement; } interface BiquadFilterOptions extends AudioNodeOptions { Q?: number; detune?: number; frequency?: number; gain?: number; type?: BiquadFilterType; } interface BlobEventInit { data: Blob; timecode?: DOMHighResTimeStamp; } interface BlobPropertyBag { endings?: EndingType; type?: string; } interface CSSStyleSheetInit { baseURL?: string; disabled?: boolean; media?: MediaList | string; } interface CacheQueryOptions { ignoreMethod?: boolean; ignoreSearch?: boolean; ignoreVary?: boolean; } interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; desynchronized?: boolean; willReadFrequently?: boolean; } interface ChannelMergerOptions extends AudioNodeOptions { numberOfInputs?: number; } interface ChannelSplitterOptions extends AudioNodeOptions { numberOfOutputs?: number; } interface ClientQueryOptions { includeUncontrolled?: boolean; type?: ClientTypes; } interface ClipboardEventInit extends EventInit { clipboardData?: DataTransfer | null; } interface ClipboardItemOptions { presentationStyle?: PresentationStyle; } interface CloseEventInit extends EventInit { code?: number; reason?: string; wasClean?: boolean; } interface CompositionEventInit extends UIEventInit { data?: string; } interface ComputedEffectTiming extends EffectTiming { activeDuration?: CSSNumberish; currentIteration?: number | null; endTime?: CSSNumberish; localTime?: CSSNumberish | null; progress?: CSSNumberish | null; startTime?: CSSNumberish; } interface ComputedKeyframe { composite: CompositeOperationOrAuto; computedOffset: number; easing: string; offset: number | null; [property: string]: string | number | null | undefined; } interface ConstantSourceOptions { offset?: number; } interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; } interface ConstrainDOMStringParameters { exact?: string | string[]; ideal?: string | string[]; } interface ConstrainDoubleRange extends DoubleRange { exact?: number; ideal?: number; } interface ConstrainULongRange extends ULongRange { exact?: number; ideal?: number; } interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; } interface CredentialCreationOptions { publicKey?: PublicKeyCredentialCreationOptions; signal?: AbortSignal; } interface CredentialPropertiesOutput { rk?: boolean; } interface CredentialRequestOptions { mediation?: CredentialMediationRequirement; publicKey?: PublicKeyCredentialRequestOptions; signal?: AbortSignal; } interface CryptoKeyPair { privateKey?: CryptoKey; publicKey?: CryptoKey; } interface CustomEventInit extends EventInit { detail?: T; } interface DOMMatrix2DInit { a?: number; b?: number; c?: number; d?: number; e?: number; f?: number; m11?: number; m12?: number; m21?: number; m22?: number; m41?: number; m42?: number; } interface DOMMatrixInit extends DOMMatrix2DInit { is2D?: boolean; m13?: number; m14?: number; m23?: number; m24?: number; m31?: number; m32?: number; m33?: number; m34?: number; m43?: number; m44?: number; } interface DOMPointInit { w?: number; x?: number; y?: number; z?: number; } interface DOMQuadInit { p1?: DOMPointInit; p2?: DOMPointInit; p3?: DOMPointInit; p4?: DOMPointInit; } interface DOMRectInit { height?: number; width?: number; x?: number; y?: number; } interface DelayOptions extends AudioNodeOptions { delayTime?: number; maxDelayTime?: number; } interface DeviceMotionEventAccelerationInit { x?: number | null; y?: number | null; z?: number | null; } interface DeviceMotionEventInit extends EventInit { acceleration?: DeviceMotionEventAccelerationInit; accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; interval?: number; rotationRate?: DeviceMotionEventRotationRateInit; } interface DeviceMotionEventRotationRateInit { alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DeviceOrientationEventInit extends EventInit { absolute?: boolean; alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DisplayMediaStreamConstraints { audio?: boolean | MediaTrackConstraints; video?: boolean | MediaTrackConstraints; } interface DocumentTimelineOptions { originTime?: DOMHighResTimeStamp; } interface DoubleRange { max?: number; min?: number; } interface DragEventInit extends MouseEventInit { dataTransfer?: DataTransfer | null; } interface DynamicsCompressorOptions extends AudioNodeOptions { attack?: number; knee?: number; ratio?: number; release?: number; threshold?: number; } interface EcKeyAlgorithm extends KeyAlgorithm { namedCurve: NamedCurve; } interface EcKeyGenParams extends Algorithm { namedCurve: NamedCurve; } interface EcKeyImportParams extends Algorithm { namedCurve: NamedCurve; } interface EcdhKeyDeriveParams extends Algorithm { public: CryptoKey; } interface EcdsaParams extends Algorithm { hash: HashAlgorithmIdentifier; } interface EffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; playbackRate?: number; } interface ElementCreationOptions { is?: string; } interface ElementDefinitionOptions { extends?: string; } interface ErrorEventInit extends EventInit { colno?: number; error?: any; filename?: string; lineno?: number; message?: string; } interface EventInit { bubbles?: boolean; cancelable?: boolean; composed?: boolean; } interface EventListenerOptions { capture?: boolean; } interface EventModifierInit extends UIEventInit { altKey?: boolean; ctrlKey?: boolean; metaKey?: boolean; modifierAltGraph?: boolean; modifierCapsLock?: boolean; modifierFn?: boolean; modifierFnLock?: boolean; modifierHyper?: boolean; modifierNumLock?: boolean; modifierScrollLock?: boolean; modifierSuper?: boolean; modifierSymbol?: boolean; modifierSymbolLock?: boolean; shiftKey?: boolean; } interface EventSourceInit { withCredentials?: boolean; } interface FilePropertyBag extends BlobPropertyBag { lastModified?: number; } interface FileSystemFlags { create?: boolean; exclusive?: boolean; } interface FocusEventInit extends UIEventInit { relatedTarget?: EventTarget | null; } interface FocusOptions { preventScroll?: boolean; } interface FontFaceDescriptors { display?: string; featureSettings?: string; stretch?: string; style?: string; unicodeRange?: string; variant?: string; weight?: string; } interface FontFaceSetLoadEventInit extends EventInit { fontfaces?: FontFace[]; } interface FormDataEventInit extends EventInit { formData: FormData; } interface FullscreenOptions { navigationUI?: FullscreenNavigationUI; } interface GainOptions extends AudioNodeOptions { gain?: number; } interface GamepadEventInit extends EventInit { gamepad: Gamepad; } interface GetAnimationsOptions { subtree?: boolean; } interface GetNotificationOptions { tag?: string; } interface GetRootNodeOptions { composed?: boolean; } interface HashChangeEventInit extends EventInit { newURL?: string; oldURL?: string; } interface HkdfParams extends Algorithm { hash: HashAlgorithmIdentifier; info: BufferSource; salt: BufferSource; } interface HmacImportParams extends Algorithm { hash: HashAlgorithmIdentifier; length?: number; } interface HmacKeyAlgorithm extends KeyAlgorithm { hash: KeyAlgorithm; length: number; } interface HmacKeyGenParams extends Algorithm { hash: HashAlgorithmIdentifier; length?: number; } interface IDBDatabaseInfo { name?: string; version?: number; } interface IDBIndexParameters { multiEntry?: boolean; unique?: boolean; } interface IDBObjectStoreParameters { autoIncrement?: boolean; keyPath?: string | string[] | null; } interface IDBVersionChangeEventInit extends EventInit { newVersion?: number | null; oldVersion?: number; } interface IIRFilterOptions extends AudioNodeOptions { feedback: number[]; feedforward: number[]; } interface IdleRequestOptions { timeout?: number; } interface ImageBitmapOptions { colorSpaceConversion?: ColorSpaceConversion; imageOrientation?: ImageOrientation; premultiplyAlpha?: PremultiplyAlpha; resizeHeight?: number; resizeQuality?: ResizeQuality; resizeWidth?: number; } interface ImageBitmapRenderingContextSettings { alpha?: boolean; } interface ImageDataSettings { colorSpace?: PredefinedColorSpace; } interface ImportMeta { url: string; } interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; inputType?: string; isComposing?: boolean; targetRanges?: StaticRange[]; } interface IntersectionObserverEntryInit { boundingClientRect: DOMRectInit; intersectionRatio: number; intersectionRect: DOMRectInit; isIntersecting: boolean; rootBounds: DOMRectInit | null; target: Element; time: DOMHighResTimeStamp; } interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; threshold?: number | number[]; } interface JsonWebKey { alg?: string; crv?: string; d?: string; dp?: string; dq?: string; e?: string; ext?: boolean; k?: string; key_ops?: string[]; kty?: string; n?: string; oth?: RsaOtherPrimesInfo[]; p?: string; q?: string; qi?: string; use?: string; x?: string; y?: string; } interface KeyAlgorithm { name: string; } interface KeyboardEventInit extends EventModifierInit { /** @deprecated */ charCode?: number; code?: string; isComposing?: boolean; key?: string; /** @deprecated */ keyCode?: number; location?: number; repeat?: boolean; } interface Keyframe { composite?: CompositeOperationOrAuto; easing?: string; offset?: number | null; [property: string]: string | number | null | undefined; } interface KeyframeAnimationOptions extends KeyframeEffectOptions { id?: string; } interface KeyframeEffectOptions extends EffectTiming { composite?: CompositeOperation; iterationComposite?: IterationCompositeOperation; pseudoElement?: string | null; } interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { configuration?: MediaDecodingConfiguration; } interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo { configuration?: MediaEncodingConfiguration; } interface MediaCapabilitiesInfo { powerEfficient: boolean; smooth: boolean; supported: boolean; } interface MediaConfiguration { audio?: AudioConfiguration; video?: VideoConfiguration; } interface MediaDecodingConfiguration extends MediaConfiguration { type: MediaDecodingType; } interface MediaElementAudioSourceOptions { mediaElement: HTMLMediaElement; } interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } interface MediaEncryptedEventInit extends EventInit { initData?: ArrayBuffer | null; initDataType?: string; } interface MediaImage { sizes?: string; src: string; type?: string; } interface MediaKeyMessageEventInit extends EventInit { message: ArrayBuffer; messageType: MediaKeyMessageType; } interface MediaKeySystemConfiguration { audioCapabilities?: MediaKeySystemMediaCapability[]; distinctiveIdentifier?: MediaKeysRequirement; initDataTypes?: string[]; label?: string; persistentState?: MediaKeysRequirement; sessionTypes?: string[]; videoCapabilities?: MediaKeySystemMediaCapability[]; } interface MediaKeySystemMediaCapability { contentType?: string; encryptionScheme?: string | null; robustness?: string; } interface MediaMetadataInit { album?: string; artist?: string; artwork?: MediaImage[]; title?: string; } interface MediaPositionState { duration?: number; playbackRate?: number; position?: number; } interface MediaQueryListEventInit extends EventInit { matches?: boolean; media?: string; } interface MediaRecorderErrorEventInit extends EventInit { error: DOMException; } interface MediaRecorderOptions { audioBitsPerSecond?: number; bitsPerSecond?: number; mimeType?: string; videoBitsPerSecond?: number; } interface MediaSessionActionDetails { action: MediaSessionAction; fastSeek?: boolean | null; seekOffset?: number | null; seekTime?: number | null; } interface MediaStreamAudioSourceOptions { mediaStream: MediaStream; } interface MediaStreamConstraints { audio?: boolean | MediaTrackConstraints; peerIdentity?: string; preferCurrentTab?: boolean; video?: boolean | MediaTrackConstraints; } interface MediaStreamTrackEventInit extends EventInit { track: MediaStreamTrack; } interface MediaTrackCapabilities { aspectRatio?: DoubleRange; autoGainControl?: boolean[]; channelCount?: ULongRange; cursor?: string[]; deviceId?: string; displaySurface?: string; echoCancellation?: boolean[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; height?: ULongRange; latency?: DoubleRange; logicalSurface?: boolean; noiseSuppression?: boolean[]; resizeMode?: string[]; sampleRate?: ULongRange; sampleSize?: ULongRange; width?: ULongRange; } interface MediaTrackConstraintSet { aspectRatio?: ConstrainDouble; autoGainControl?: ConstrainBoolean; channelCount?: ConstrainULong; deviceId?: ConstrainDOMString; echoCancellation?: ConstrainBoolean; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; height?: ConstrainULong; latency?: ConstrainDouble; noiseSuppression?: ConstrainBoolean; sampleRate?: ConstrainULong; sampleSize?: ConstrainULong; suppressLocalAudioPlayback?: ConstrainBoolean; width?: ConstrainULong; } interface MediaTrackConstraints extends MediaTrackConstraintSet { advanced?: MediaTrackConstraintSet[]; } interface MediaTrackSettings { aspectRatio?: number; autoGainControl?: boolean; deviceId?: string; echoCancellation?: boolean; facingMode?: string; frameRate?: number; groupId?: string; height?: number; noiseSuppression?: boolean; restrictOwnAudio?: boolean; sampleRate?: number; sampleSize?: number; width?: number; } interface MediaTrackSupportedConstraints { aspectRatio?: boolean; autoGainControl?: boolean; deviceId?: boolean; echoCancellation?: boolean; facingMode?: boolean; frameRate?: boolean; groupId?: boolean; height?: boolean; noiseSuppression?: boolean; sampleRate?: boolean; sampleSize?: boolean; suppressLocalAudioPlayback?: boolean; width?: boolean; } interface MessageEventInit extends EventInit { data?: T; lastEventId?: string; origin?: string; ports?: MessagePort[]; source?: MessageEventSource | null; } interface MouseEventInit extends EventModifierInit { button?: number; buttons?: number; clientX?: number; clientY?: number; movementX?: number; movementY?: number; relatedTarget?: EventTarget | null; screenX?: number; screenY?: number; } interface MultiCacheQueryOptions extends CacheQueryOptions { cacheName?: string; } interface MutationObserverInit { /** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */ attributeFilter?: string[]; /** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */ attributeOldValue?: boolean; /** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */ attributes?: boolean; /** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */ characterData?: boolean; /** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */ characterDataOldValue?: boolean; /** Set to true if mutations to target's children are to be observed. */ childList?: boolean; /** Set to true if mutations to not just target, but also target's descendants are to be observed. */ subtree?: boolean; } interface NotificationAction { action: string; icon?: string; title: string; } interface NotificationOptions { actions?: NotificationAction[]; badge?: string; body?: string; data?: any; dir?: NotificationDirection; icon?: string; image?: string; lang?: string; renotify?: boolean; requireInteraction?: boolean; silent?: boolean; tag?: string; timestamp?: DOMTimeStamp; vibrate?: VibratePattern; } interface OfflineAudioCompletionEventInit extends EventInit { renderedBuffer: AudioBuffer; } interface OfflineAudioContextOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface OptionalEffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; playbackRate?: number; } interface OscillatorOptions extends AudioNodeOptions { detune?: number; frequency?: number; periodicWave?: PeriodicWave; type?: OscillatorType; } interface PageTransitionEventInit extends EventInit { persisted?: boolean; } interface PannerOptions extends AudioNodeOptions { coneInnerAngle?: number; coneOuterAngle?: number; coneOuterGain?: number; distanceModel?: DistanceModelType; maxDistance?: number; orientationX?: number; orientationY?: number; orientationZ?: number; panningModel?: PanningModelType; positionX?: number; positionY?: number; positionZ?: number; refDistance?: number; rolloffFactor?: number; } interface PaymentCurrencyAmount { currency: string; value: string; } interface PaymentDetailsBase { displayItems?: PaymentItem[]; modifiers?: PaymentDetailsModifier[]; } interface PaymentDetailsInit extends PaymentDetailsBase { id?: string; total: PaymentItem; } interface PaymentDetailsModifier { additionalDisplayItems?: PaymentItem[]; data?: any; supportedMethods: string; total?: PaymentItem; } interface PaymentDetailsUpdate extends PaymentDetailsBase { paymentMethodErrors?: any; total?: PaymentItem; } interface PaymentItem { amount: PaymentCurrencyAmount; label: string; pending?: boolean; } interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { methodDetails?: any; methodName?: string; } interface PaymentMethodData { data?: any; supportedMethods: string; } interface PaymentRequestUpdateEventInit extends EventInit { } interface PaymentValidationErrors { error?: string; paymentMethod?: any; } interface Pbkdf2Params extends Algorithm { hash: HashAlgorithmIdentifier; iterations: number; salt: BufferSource; } interface PerformanceMarkOptions { detail?: any; startTime?: DOMHighResTimeStamp; } interface PerformanceMeasureOptions { detail?: any; duration?: DOMHighResTimeStamp; end?: string | DOMHighResTimeStamp; start?: string | DOMHighResTimeStamp; } interface PerformanceObserverInit { buffered?: boolean; entryTypes?: string[]; type?: string; } interface PeriodicWaveConstraints { disableNormalization?: boolean; } interface PeriodicWaveOptions extends PeriodicWaveConstraints { imag?: number[] | Float32Array; real?: number[] | Float32Array; } interface PermissionDescriptor { name: PermissionName; } interface PointerEventInit extends MouseEventInit { coalescedEvents?: PointerEvent[]; height?: number; isPrimary?: boolean; pointerId?: number; pointerType?: string; predictedEvents?: PointerEvent[]; pressure?: number; tangentialPressure?: number; tiltX?: number; tiltY?: number; twist?: number; width?: number; } interface PopStateEventInit extends EventInit { state?: any; } interface PositionOptions { enableHighAccuracy?: boolean; maximumAge?: number; timeout?: number; } interface ProgressEventInit extends EventInit { lengthComputable?: boolean; loaded?: number; total?: number; } interface PromiseRejectionEventInit extends EventInit { promise: Promise; reason?: any; } interface PropertyIndexedKeyframes { composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; easing?: string | string[]; offset?: number | (number | null)[]; [property: string]: string | string[] | number | null | (number | null)[] | undefined; } interface PublicKeyCredentialCreationOptions { attestation?: AttestationConveyancePreference; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: BufferSource; excludeCredentials?: PublicKeyCredentialDescriptor[]; extensions?: AuthenticationExtensionsClientInputs; pubKeyCredParams: PublicKeyCredentialParameters[]; rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntity; } interface PublicKeyCredentialDescriptor { id: BufferSource; transports?: AuthenticatorTransport[]; type: PublicKeyCredentialType; } interface PublicKeyCredentialEntity { name: string; } interface PublicKeyCredentialParameters { alg: COSEAlgorithmIdentifier; type: PublicKeyCredentialType; } interface PublicKeyCredentialRequestOptions { allowCredentials?: PublicKeyCredentialDescriptor[]; challenge: BufferSource; extensions?: AuthenticationExtensionsClientInputs; rpId?: string; timeout?: number; userVerification?: UserVerificationRequirement; } interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { id?: string; } interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { displayName: string; id: BufferSource; } interface PushSubscriptionJSON { endpoint?: string; expirationTime?: DOMTimeStamp | null; keys?: Record; } interface PushSubscriptionOptionsInit { applicationServerKey?: BufferSource | string | null; userVisibleOnly?: boolean; } interface QueuingStrategy { highWaterMark?: number; size?: QueuingStrategySize; } interface QueuingStrategyInit { /** * Creates a new ByteLengthQueuingStrategy with the provided high water mark. * * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw. */ highWaterMark: number; } interface RTCAnswerOptions extends RTCOfferAnswerOptions { } interface RTCCertificateExpiration { expires?: DOMTimeStamp; } interface RTCConfiguration { bundlePolicy?: RTCBundlePolicy; certificates?: RTCCertificate[]; iceCandidatePoolSize?: number; iceServers?: RTCIceServer[]; iceTransportPolicy?: RTCIceTransportPolicy; rtcpMuxPolicy?: RTCRtcpMuxPolicy; } interface RTCDTMFToneChangeEventInit extends EventInit { tone?: string; } interface RTCDataChannelEventInit extends EventInit { channel: RTCDataChannel; } interface RTCDataChannelInit { id?: number; maxPacketLifeTime?: number; maxRetransmits?: number; negotiated?: boolean; ordered?: boolean; protocol?: string; } interface RTCDtlsFingerprint { algorithm?: string; value?: string; } interface RTCIceCandidateInit { candidate?: string; sdpMLineIndex?: number | null; sdpMid?: string | null; usernameFragment?: string | null; } interface RTCIceCandidatePairStats extends RTCStats { availableIncomingBitrate?: number; availableOutgoingBitrate?: number; bytesReceived?: number; bytesSent?: number; currentRoundTripTime?: number; localCandidateId: string; nominated?: boolean; remoteCandidateId: string; requestsReceived?: number; requestsSent?: number; responsesReceived?: number; responsesSent?: number; state: RTCStatsIceCandidatePairState; totalRoundTripTime?: number; transportId: string; } interface RTCIceServer { credential?: string; credentialType?: RTCIceCredentialType; urls: string | string[]; username?: string; } interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats { firCount?: number; framesDecoded?: number; nackCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; } interface RTCLocalSessionDescriptionInit { sdp?: string; type?: RTCSdpType; } interface RTCOfferAnswerOptions { } interface RTCOfferOptions extends RTCOfferAnswerOptions { iceRestart?: boolean; offerToReceiveAudio?: boolean; offerToReceiveVideo?: boolean; } interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats { firCount?: number; framesEncoded?: number; nackCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; } interface RTCPeerConnectionIceErrorEventInit extends EventInit { address?: string | null; errorCode: number; errorText?: string; port?: number | null; url?: string; } interface RTCPeerConnectionIceEventInit extends EventInit { candidate?: RTCIceCandidate | null; url?: string | null; } interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats { jitter?: number; packetsDiscarded?: number; packetsLost?: number; packetsReceived?: number; } interface RTCRtcpParameters { cname?: string; reducedSize?: boolean; } interface RTCRtpCapabilities { codecs: RTCRtpCodecCapability[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } interface RTCRtpCodecCapability { channels?: number; clockRate: number; mimeType: string; sdpFmtpLine?: string; } interface RTCRtpCodecParameters { channels?: number; clockRate: number; mimeType: string; payloadType: number; sdpFmtpLine?: string; } interface RTCRtpCodingParameters { rid?: string; } interface RTCRtpContributingSource { audioLevel?: number; rtpTimestamp: number; source: number; timestamp: DOMHighResTimeStamp; } interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { active?: boolean; maxBitrate?: number; priority?: RTCPriorityType; scaleResolutionDownBy?: number; } interface RTCRtpHeaderExtensionCapability { uri?: string; } interface RTCRtpHeaderExtensionParameters { encrypted?: boolean; id: number; uri: string; } interface RTCRtpParameters { codecs: RTCRtpCodecParameters[]; headerExtensions: RTCRtpHeaderExtensionParameters[]; rtcp: RTCRtcpParameters; } interface RTCRtpReceiveParameters extends RTCRtpParameters { } interface RTCRtpSendParameters extends RTCRtpParameters { degradationPreference?: RTCDegradationPreference; encodings: RTCRtpEncodingParameters[]; transactionId: string; } interface RTCRtpStreamStats extends RTCStats { codecId?: string; kind: string; ssrc: number; transportId?: string; } interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { } interface RTCRtpTransceiverInit { direction?: RTCRtpTransceiverDirection; sendEncodings?: RTCRtpEncodingParameters[]; streams?: MediaStream[]; } interface RTCSentRtpStreamStats extends RTCRtpStreamStats { bytesSent?: number; packetsSent?: number; } interface RTCSessionDescriptionInit { sdp?: string; type: RTCSdpType; } interface RTCStats { id: string; timestamp: DOMHighResTimeStamp; type: RTCStatsType; } interface RTCTrackEventInit extends EventInit { receiver: RTCRtpReceiver; streams?: MediaStream[]; track: MediaStreamTrack; transceiver: RTCRtpTransceiver; } interface RTCTransportStats extends RTCStats { bytesReceived?: number; bytesSent?: number; dtlsCipher?: string; dtlsState: RTCDtlsTransportState; localCertificateId?: string; remoteCertificateId?: string; rtcpTransportStatsId?: string; selectedCandidatePairId?: string; srtpCipher?: string; tlsVersion?: string; } interface ReadableStreamDefaultReadDoneResult { done: true; value?: undefined; } interface ReadableStreamDefaultReadValueResult { done: false; value: T; } interface ReadableWritablePair { readable: ReadableStream; /** * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use. * * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. */ writable: WritableStream; } interface RegistrationOptions { scope?: string; type?: WorkerType; updateViaCache?: ServiceWorkerUpdateViaCache; } interface RequestInit { /** A BodyInit object or null to set request's body. */ body?: BodyInit | null; /** A string indicating how the request will interact with the browser's cache to set request's cache. */ cache?: RequestCache; /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */ credentials?: RequestCredentials; /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */ headers?: HeadersInit; /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */ integrity?: string; /** A boolean to set request's keepalive. */ keepalive?: boolean; /** A string to set request's method. */ method?: string; /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */ mode?: RequestMode; /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */ redirect?: RequestRedirect; /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */ referrer?: string; /** A referrer policy to set request's referrerPolicy. */ referrerPolicy?: ReferrerPolicy; /** An AbortSignal to set request's signal. */ signal?: AbortSignal | null; /** Can only be null. Used to disassociate request from any Window. */ window?: null; } interface ResizeObserverOptions { box?: ResizeObserverBoxOptions; } interface ResponseInit { headers?: HeadersInit; status?: number; statusText?: string; } interface RsaHashedImportParams extends Algorithm { hash: HashAlgorithmIdentifier; } interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { hash: KeyAlgorithm; } interface RsaHashedKeyGenParams extends RsaKeyGenParams { hash: HashAlgorithmIdentifier; } interface RsaKeyAlgorithm extends KeyAlgorithm { modulusLength: number; publicExponent: BigInteger; } interface RsaKeyGenParams extends Algorithm { modulusLength: number; publicExponent: BigInteger; } interface RsaOaepParams extends Algorithm { label?: BufferSource; } interface RsaOtherPrimesInfo { d?: string; r?: string; t?: string; } interface RsaPssParams extends Algorithm { saltLength: number; } interface SVGBoundingBoxOptions { clipped?: boolean; fill?: boolean; markers?: boolean; stroke?: boolean; } interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; inline?: ScrollLogicalPosition; } interface ScrollOptions { behavior?: ScrollBehavior; } interface ScrollToOptions extends ScrollOptions { left?: number; top?: number; } interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; disposition: SecurityPolicyViolationEventDisposition; documentURI: string; effectiveDirective: string; lineNumber?: number; originalPolicy: string; referrer?: string; sample?: string; sourceFile?: string; statusCode: number; violatedDirective: string; } interface ShadowRootInit { delegatesFocus?: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode; } interface ShareData { files?: File[]; text?: string; title?: string; url?: string; } interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } interface SpeechSynthesisEventInit extends EventInit { charIndex?: number; charLength?: number; elapsedTime?: number; name?: string; utterance: SpeechSynthesisUtterance; } interface StaticRangeInit { endContainer: Node; endOffset: number; startContainer: Node; startOffset: number; } interface StereoPannerOptions extends AudioNodeOptions { pan?: number; } interface StorageEstimate { quota?: number; usage?: number; } interface StorageEventInit extends EventInit { key?: string | null; newValue?: string | null; oldValue?: string | null; storageArea?: Storage | null; url?: string; } interface StreamPipeOptions { preventAbort?: boolean; preventCancel?: boolean; /** * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. * * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. * * Errors and closures of the source and destination streams propagate as follows: * * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination. * * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source. * * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error. * * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source. * * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set. */ preventClose?: boolean; signal?: AbortSignal; } interface StructuredSerializeOptions { transfer?: any[]; } interface SubmitEventInit extends EventInit { submitter?: HTMLElement | null; } interface TextDecodeOptions { stream?: boolean; } interface TextDecoderOptions { fatal?: boolean; ignoreBOM?: boolean; } interface TextEncoderEncodeIntoResult { read?: number; written?: number; } interface TouchEventInit extends EventModifierInit { changedTouches?: Touch[]; targetTouches?: Touch[]; touches?: Touch[]; } interface TouchInit { altitudeAngle?: number; azimuthAngle?: number; clientX?: number; clientY?: number; force?: number; identifier: number; pageX?: number; pageY?: number; radiusX?: number; radiusY?: number; rotationAngle?: number; screenX?: number; screenY?: number; target: EventTarget; touchType?: TouchType; } interface TrackEventInit extends EventInit { track?: TextTrack | null; } interface Transformer { flush?: TransformerFlushCallback; readableType?: undefined; start?: TransformerStartCallback; transform?: TransformerTransformCallback; writableType?: undefined; } interface TransitionEventInit extends EventInit { elapsedTime?: number; propertyName?: string; pseudoElement?: string; } interface UIEventInit extends EventInit { detail?: number; view?: Window | null; /** @deprecated */ which?: number; } interface ULongRange { max?: number; min?: number; } interface UnderlyingSink { abort?: UnderlyingSinkAbortCallback; close?: UnderlyingSinkCloseCallback; start?: UnderlyingSinkStartCallback; type?: undefined; write?: UnderlyingSinkWriteCallback; } interface UnderlyingSource { cancel?: UnderlyingSourceCancelCallback; pull?: UnderlyingSourcePullCallback; start?: UnderlyingSourceStartCallback; type?: undefined; } interface VideoConfiguration { bitrate: number; colorGamut?: ColorGamut; contentType: string; framerate: number; hdrMetadataType?: HdrMetadataType; height: number; scalabilityMode?: string; transferFunction?: TransferFunction; width: number; } interface WaveShaperOptions extends AudioNodeOptions { curve?: number[] | Float32Array; oversample?: OverSampleType; } interface WebGLContextAttributes { alpha?: boolean; antialias?: boolean; depth?: boolean; desynchronized?: boolean; failIfMajorPerformanceCaveat?: boolean; powerPreference?: WebGLPowerPreference; premultipliedAlpha?: boolean; preserveDrawingBuffer?: boolean; stencil?: boolean; } interface WebGLContextEventInit extends EventInit { statusMessage?: string; } interface WheelEventInit extends MouseEventInit { deltaMode?: number; deltaX?: number; deltaY?: number; deltaZ?: number; } interface WindowPostMessageOptions extends StructuredSerializeOptions { targetOrigin?: string; } interface WorkerOptions { credentials?: RequestCredentials; name?: string; type?: WorkerType; } interface WorkletOptions { credentials?: RequestCredentials; } type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; }; declare var NodeFilter: { readonly FILTER_ACCEPT: number; readonly FILTER_REJECT: number; readonly FILTER_SKIP: number; readonly SHOW_ALL: number; readonly SHOW_ATTRIBUTE: number; readonly SHOW_CDATA_SECTION: number; readonly SHOW_COMMENT: number; readonly SHOW_DOCUMENT: number; readonly SHOW_DOCUMENT_FRAGMENT: number; readonly SHOW_DOCUMENT_TYPE: number; readonly SHOW_ELEMENT: number; readonly SHOW_ENTITY: number; readonly SHOW_ENTITY_REFERENCE: number; readonly SHOW_NOTATION: number; readonly SHOW_PROCESSING_INSTRUCTION: number; readonly SHOW_TEXT: number; }; type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; /** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ interface ANGLE_instanced_arrays { drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; } interface ARIAMixin { ariaAtomic: string; ariaAutoComplete: string; ariaBusy: string; ariaChecked: string; ariaColCount: string; ariaColIndex: string; ariaColSpan: string; ariaCurrent: string; ariaDisabled: string; ariaExpanded: string; ariaHasPopup: string; ariaHidden: string; ariaKeyShortcuts: string; ariaLabel: string; ariaLevel: string; ariaLive: string; ariaModal: string; ariaMultiLine: string; ariaMultiSelectable: string; ariaOrientation: string; ariaPlaceholder: string; ariaPosInSet: string; ariaPressed: string; ariaReadOnly: string; ariaRequired: string; ariaRoleDescription: string; ariaRowCount: string; ariaRowIndex: string; ariaRowSpan: string; ariaSelected: string; ariaSetSize: string; ariaSort: string; ariaValueMax: string; ariaValueMin: string; ariaValueNow: string; ariaValueText: string; } /** A controller object that allows you to abort one or more DOM requests as and when desired. */ interface AbortController { /** Returns the AbortSignal object associated with this object. */ readonly signal: AbortSignal; /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */ abort(): void; } declare var AbortController: { prototype: AbortController; new(): AbortController; }; interface AbortSignalEventMap { "abort": Event; } /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ interface AbortSignal extends EventTarget { /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */ readonly aborted: boolean; onabort: ((this: AbortSignal, ev: Event) => any) | null; addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AbortSignal: { prototype: AbortSignal; new(): AbortSignal; // abort(): AbortSignal; - To be re-added in the future }; interface AbstractRange { /** Returns true if range is collapsed, and false otherwise. */ readonly collapsed: boolean; /** Returns range's end node. */ readonly endContainer: Node; /** Returns range's end offset. */ readonly endOffset: number; /** Returns range's start node. */ readonly startContainer: Node; /** Returns range's start offset. */ readonly startOffset: number; } declare var AbstractRange: { prototype: AbstractRange; new(): AbstractRange; }; interface AbstractWorkerEventMap { "error": ErrorEvent; } interface AbstractWorker { onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } /** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ interface AnalyserNode extends AudioNode { fftSize: number; readonly frequencyBinCount: number; maxDecibels: number; minDecibels: number; smoothingTimeConstant: number; getByteFrequencyData(array: Uint8Array): void; getByteTimeDomainData(array: Uint8Array): void; getFloatFrequencyData(array: Float32Array): void; getFloatTimeDomainData(array: Float32Array): void; } declare var AnalyserNode: { prototype: AnalyserNode; new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; }; interface Animatable { animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; getAnimations(options?: GetAnimationsOptions): Animation[]; } interface AnimationEventMap { "cancel": AnimationPlaybackEvent; "finish": AnimationPlaybackEvent; "remove": Event; } interface Animation extends EventTarget { currentTime: CSSNumberish | null; effect: AnimationEffect | null; readonly finished: Promise; id: string; oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; onremove: ((this: Animation, ev: Event) => any) | null; readonly pending: boolean; readonly playState: AnimationPlayState; playbackRate: number; readonly ready: Promise; readonly replaceState: AnimationReplaceState; startTime: CSSNumberish | null; timeline: AnimationTimeline | null; cancel(): void; commitStyles(): void; finish(): void; pause(): void; persist(): void; play(): void; reverse(): void; updatePlaybackRate(playbackRate: number): void; addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Animation: { prototype: Animation; new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; }; interface AnimationEffect { getComputedTiming(): ComputedEffectTiming; getTiming(): EffectTiming; updateTiming(timing?: OptionalEffectTiming): void; } declare var AnimationEffect: { prototype: AnimationEffect; new(): AnimationEffect; }; /** Events providing information related to animations. */ interface AnimationEvent extends Event { readonly animationName: string; readonly elapsedTime: number; readonly pseudoElement: string; } declare var AnimationEvent: { prototype: AnimationEvent; new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; }; interface AnimationFrameProvider { cancelAnimationFrame(handle: number): void; requestAnimationFrame(callback: FrameRequestCallback): number; } interface AnimationPlaybackEvent extends Event { readonly currentTime: CSSNumberish | null; readonly timelineTime: CSSNumberish | null; } declare var AnimationPlaybackEvent: { prototype: AnimationPlaybackEvent; new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; }; interface AnimationTimeline { readonly currentTime: number | null; } declare var AnimationTimeline: { prototype: AnimationTimeline; new(): AnimationTimeline; }; /** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ interface Attr extends Node { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: Document; readonly ownerElement: Element | null; readonly prefix: string | null; readonly specified: boolean; value: string; } declare var Attr: { prototype: Attr; new(): Attr; }; /** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ interface AudioBuffer { readonly duration: number; readonly length: number; readonly numberOfChannels: number; readonly sampleRate: number; copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; getChannelData(channel: number): Float32Array; } declare var AudioBuffer: { prototype: AudioBuffer; new(options: AudioBufferOptions): AudioBuffer; }; /** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ interface AudioBufferSourceNode extends AudioScheduledSourceNode { buffer: AudioBuffer | null; readonly detune: AudioParam; loop: boolean; loopEnd: number; loopStart: number; readonly playbackRate: AudioParam; start(when?: number, offset?: number, duration?: number): void; addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioBufferSourceNode: { prototype: AudioBufferSourceNode; new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; }; /** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ interface AudioContext extends BaseAudioContext { readonly baseLatency: number; close(): Promise; createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; createMediaStreamDestination(): MediaStreamAudioDestinationNode; createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; getOutputTimestamp(): AudioTimestamp; resume(): Promise; suspend(): Promise; addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioContext: { prototype: AudioContext; new(contextOptions?: AudioContextOptions): AudioContext; }; /** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */ interface AudioDestinationNode extends AudioNode { readonly maxChannelCount: number; } declare var AudioDestinationNode: { prototype: AudioDestinationNode; new(): AudioDestinationNode; }; /** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */ interface AudioListener { readonly forwardX: AudioParam; readonly forwardY: AudioParam; readonly forwardZ: AudioParam; readonly positionX: AudioParam; readonly positionY: AudioParam; readonly positionZ: AudioParam; readonly upX: AudioParam; readonly upY: AudioParam; readonly upZ: AudioParam; /** @deprecated */ setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; /** @deprecated */ setPosition(x: number, y: number, z: number): void; } declare var AudioListener: { prototype: AudioListener; new(): AudioListener; }; /** A generic interface for representing an audio processing module. Examples include: */ interface AudioNode extends EventTarget { channelCount: number; channelCountMode: ChannelCountMode; channelInterpretation: ChannelInterpretation; readonly context: BaseAudioContext; readonly numberOfInputs: number; readonly numberOfOutputs: number; connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; connect(destinationParam: AudioParam, output?: number): void; disconnect(): void; disconnect(output: number): void; disconnect(destinationNode: AudioNode): void; disconnect(destinationNode: AudioNode, output: number): void; disconnect(destinationNode: AudioNode, output: number, input: number): void; disconnect(destinationParam: AudioParam): void; disconnect(destinationParam: AudioParam, output: number): void; } declare var AudioNode: { prototype: AudioNode; new(): AudioNode; }; /** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ interface AudioParam { automationRate: AutomationRate; readonly defaultValue: number; readonly maxValue: number; readonly minValue: number; value: number; cancelAndHoldAtTime(cancelTime: number): AudioParam; cancelScheduledValues(cancelTime: number): AudioParam; exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; linearRampToValueAtTime(value: number, endTime: number): AudioParam; setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; setValueAtTime(value: number, startTime: number): AudioParam; setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; } declare var AudioParam: { prototype: AudioParam; new(): AudioParam; }; interface AudioParamMap { forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; } declare var AudioParamMap: { prototype: AudioParamMap; new(): AudioParamMap; }; /** * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet. */ interface AudioProcessingEvent extends Event { /** @deprecated */ readonly inputBuffer: AudioBuffer; /** @deprecated */ readonly outputBuffer: AudioBuffer; /** @deprecated */ readonly playbackTime: number; } /** @deprecated */ declare var AudioProcessingEvent: { prototype: AudioProcessingEvent; new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; }; interface AudioScheduledSourceNodeEventMap { "ended": Event; } interface AudioScheduledSourceNode extends AudioNode { onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; start(when?: number): void; stop(when?: number): void; addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioScheduledSourceNode: { prototype: AudioScheduledSourceNode; new(): AudioScheduledSourceNode; }; /** Available only in secure contexts. */ interface AudioWorklet extends Worklet { } declare var AudioWorklet: { prototype: AudioWorklet; new(): AudioWorklet; }; interface AudioWorkletNodeEventMap { "processorerror": Event; } /** Available only in secure contexts. */ interface AudioWorkletNode extends AudioNode { onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; readonly parameters: AudioParamMap; readonly port: MessagePort; addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioWorkletNode: { prototype: AudioWorkletNode; new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; }; /** Available only in secure contexts. */ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly authenticatorData: ArrayBuffer; readonly signature: ArrayBuffer; readonly userHandle: ArrayBuffer | null; } declare var AuthenticatorAssertionResponse: { prototype: AuthenticatorAssertionResponse; new(): AuthenticatorAssertionResponse; }; /** Available only in secure contexts. */ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { readonly attestationObject: ArrayBuffer; } declare var AuthenticatorAttestationResponse: { prototype: AuthenticatorAttestationResponse; new(): AuthenticatorAttestationResponse; }; /** Available only in secure contexts. */ interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } declare var AuthenticatorResponse: { prototype: AuthenticatorResponse; new(): AuthenticatorResponse; }; interface BarProp { readonly visible: boolean; } declare var BarProp: { prototype: BarProp; new(): BarProp; }; interface BaseAudioContextEventMap { "statechange": Event; } interface BaseAudioContext extends EventTarget { /** Available only in secure contexts. */ readonly audioWorklet: AudioWorklet; readonly currentTime: number; readonly destination: AudioDestinationNode; readonly listener: AudioListener; onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; readonly sampleRate: number; readonly state: AudioContextState; createAnalyser(): AnalyserNode; createBiquadFilter(): BiquadFilterNode; createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; createBufferSource(): AudioBufferSourceNode; createChannelMerger(numberOfInputs?: number): ChannelMergerNode; createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; createConstantSource(): ConstantSourceNode; createConvolver(): ConvolverNode; createDelay(maxDelayTime?: number): DelayNode; createDynamicsCompressor(): DynamicsCompressorNode; createGain(): GainNode; createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; createOscillator(): OscillatorNode; createPanner(): PannerNode; createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; /** @deprecated */ createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; createStereoPanner(): StereoPannerNode; createWaveShaper(): WaveShaperNode; decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BaseAudioContext: { prototype: BaseAudioContext; new(): BaseAudioContext; }; /** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ interface BeforeUnloadEvent extends Event { returnValue: any; } declare var BeforeUnloadEvent: { prototype: BeforeUnloadEvent; new(): BeforeUnloadEvent; }; /** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ interface BiquadFilterNode extends AudioNode { readonly Q: AudioParam; readonly detune: AudioParam; readonly frequency: AudioParam; readonly gain: AudioParam; type: BiquadFilterType; getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; } declare var BiquadFilterNode: { prototype: BiquadFilterNode; new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; }; /** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ interface Blob { readonly size: number; readonly type: string; arrayBuffer(): Promise; slice(start?: number, end?: number, contentType?: string): Blob; stream(): ReadableStream; text(): Promise; } declare var Blob: { prototype: Blob; new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; }; interface BlobEvent extends Event { readonly data: Blob; readonly timecode: DOMHighResTimeStamp; } declare var BlobEvent: { prototype: BlobEvent; new(type: string, eventInitDict: BlobEventInit): BlobEvent; }; interface Body { readonly body: ReadableStream | null; readonly bodyUsed: boolean; arrayBuffer(): Promise; blob(): Promise; formData(): Promise; json(): Promise; text(): Promise; } interface BroadcastChannelEventMap { "message": MessageEvent; "messageerror": MessageEvent; } interface BroadcastChannel extends EventTarget { /** Returns the channel name (as passed to the constructor). */ readonly name: string; onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; /** Closes the BroadcastChannel object, opening it up to garbage collection. */ close(): void; /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */ postMessage(message: any): void; addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BroadcastChannel: { prototype: BroadcastChannel; new(name: string): BroadcastChannel; }; /** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ interface ByteLengthQueuingStrategy extends QueuingStrategy { readonly highWaterMark: number; readonly size: QueuingStrategySize; } declare var ByteLengthQueuingStrategy: { prototype: ByteLengthQueuingStrategy; new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; }; /** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */ interface CDATASection extends Text { } declare var CDATASection: { prototype: CDATASection; new(): CDATASection; }; interface CSSAnimation extends Animation { readonly animationName: string; addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSAnimation: { prototype: CSSAnimation; new(): CSSAnimation; }; /** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ interface CSSConditionRule extends CSSGroupingRule { conditionText: string; } declare var CSSConditionRule: { prototype: CSSConditionRule; new(): CSSConditionRule; }; interface CSSCounterStyleRule extends CSSRule { additiveSymbols: string; fallback: string; name: string; negative: string; pad: string; prefix: string; range: string; speakAs: string; suffix: string; symbols: string; system: string; } declare var CSSCounterStyleRule: { prototype: CSSCounterStyleRule; new(): CSSCounterStyleRule; }; interface CSSFontFaceRule extends CSSRule { readonly style: CSSStyleDeclaration; } declare var CSSFontFaceRule: { prototype: CSSFontFaceRule; new(): CSSFontFaceRule; }; /** Any CSS at-rule that contains other rules nested within it. */ interface CSSGroupingRule extends CSSRule { readonly cssRules: CSSRuleList; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; } declare var CSSGroupingRule: { prototype: CSSGroupingRule; new(): CSSGroupingRule; }; interface CSSImportRule extends CSSRule { readonly href: string; readonly media: MediaList; readonly styleSheet: CSSStyleSheet; } declare var CSSImportRule: { prototype: CSSImportRule; new(): CSSImportRule; }; /** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ interface CSSKeyframeRule extends CSSRule { keyText: string; readonly style: CSSStyleDeclaration; } declare var CSSKeyframeRule: { prototype: CSSKeyframeRule; new(): CSSKeyframeRule; }; /** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ interface CSSKeyframesRule extends CSSRule { readonly cssRules: CSSRuleList; name: string; appendRule(rule: string): void; deleteRule(select: string): void; findRule(select: string): CSSKeyframeRule | null; } declare var CSSKeyframesRule: { prototype: CSSKeyframesRule; new(): CSSKeyframesRule; }; /** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ interface CSSMediaRule extends CSSConditionRule { readonly media: MediaList; } declare var CSSMediaRule: { prototype: CSSMediaRule; new(): CSSMediaRule; }; /** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ interface CSSNamespaceRule extends CSSRule { readonly namespaceURI: string; readonly prefix: string; } declare var CSSNamespaceRule: { prototype: CSSNamespaceRule; new(): CSSNamespaceRule; }; /** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ interface CSSPageRule extends CSSGroupingRule { selectorText: string; readonly style: CSSStyleDeclaration; } declare var CSSPageRule: { prototype: CSSPageRule; new(): CSSPageRule; }; /** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ interface CSSRule { cssText: string; readonly parentRule: CSSRule | null; readonly parentStyleSheet: CSSStyleSheet | null; /** @deprecated */ readonly type: number; readonly CHARSET_RULE: number; readonly FONT_FACE_RULE: number; readonly IMPORT_RULE: number; readonly KEYFRAMES_RULE: number; readonly KEYFRAME_RULE: number; readonly MEDIA_RULE: number; readonly NAMESPACE_RULE: number; readonly PAGE_RULE: number; readonly STYLE_RULE: number; readonly SUPPORTS_RULE: number; } declare var CSSRule: { prototype: CSSRule; new(): CSSRule; readonly CHARSET_RULE: number; readonly FONT_FACE_RULE: number; readonly IMPORT_RULE: number; readonly KEYFRAMES_RULE: number; readonly KEYFRAME_RULE: number; readonly MEDIA_RULE: number; readonly NAMESPACE_RULE: number; readonly PAGE_RULE: number; readonly STYLE_RULE: number; readonly SUPPORTS_RULE: number; }; /** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ interface CSSRuleList { readonly length: number; item(index: number): CSSRule | null; [index: number]: CSSRule; } declare var CSSRuleList: { prototype: CSSRuleList; new(): CSSRuleList; }; /** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ interface CSSStyleDeclaration { accentColor: string; alignContent: string; alignItems: string; alignSelf: string; alignmentBaseline: string; all: string; animation: string; animationDelay: string; animationDirection: string; animationDuration: string; animationFillMode: string; animationIterationCount: string; animationName: string; animationPlayState: string; animationTimingFunction: string; appearance: string; aspectRatio: string; backfaceVisibility: string; background: string; backgroundAttachment: string; backgroundBlendMode: string; backgroundClip: string; backgroundColor: string; backgroundImage: string; backgroundOrigin: string; backgroundPosition: string; backgroundPositionX: string; backgroundPositionY: string; backgroundRepeat: string; backgroundSize: string; baselineShift: string; blockSize: string; border: string; borderBlock: string; borderBlockColor: string; borderBlockEnd: string; borderBlockEndColor: string; borderBlockEndStyle: string; borderBlockEndWidth: string; borderBlockStart: string; borderBlockStartColor: string; borderBlockStartStyle: string; borderBlockStartWidth: string; borderBlockStyle: string; borderBlockWidth: string; borderBottom: string; borderBottomColor: string; borderBottomLeftRadius: string; borderBottomRightRadius: string; borderBottomStyle: string; borderBottomWidth: string; borderCollapse: string; borderColor: string; borderEndEndRadius: string; borderEndStartRadius: string; borderImage: string; borderImageOutset: string; borderImageRepeat: string; borderImageSlice: string; borderImageSource: string; borderImageWidth: string; borderInline: string; borderInlineColor: string; borderInlineEnd: string; borderInlineEndColor: string; borderInlineEndStyle: string; borderInlineEndWidth: string; borderInlineStart: string; borderInlineStartColor: string; borderInlineStartStyle: string; borderInlineStartWidth: string; borderInlineStyle: string; borderInlineWidth: string; borderLeft: string; borderLeftColor: string; borderLeftStyle: string; borderLeftWidth: string; borderRadius: string; borderRight: string; borderRightColor: string; borderRightStyle: string; borderRightWidth: string; borderSpacing: string; borderStartEndRadius: string; borderStartStartRadius: string; borderStyle: string; borderTop: string; borderTopColor: string; borderTopLeftRadius: string; borderTopRightRadius: string; borderTopStyle: string; borderTopWidth: string; borderWidth: string; bottom: string; boxShadow: string; boxSizing: string; breakAfter: string; breakBefore: string; breakInside: string; captionSide: string; caretColor: string; clear: string; /** @deprecated */ clip: string; clipPath: string; clipRule: string; color: string; colorInterpolation: string; colorInterpolationFilters: string; colorScheme: string; columnCount: string; columnFill: string; columnGap: string; columnRule: string; columnRuleColor: string; columnRuleStyle: string; columnRuleWidth: string; columnSpan: string; columnWidth: string; columns: string; contain: string; content: string; counterIncrement: string; counterReset: string; counterSet: string; cssFloat: string; cssText: string; cursor: string; direction: string; display: string; dominantBaseline: string; emptyCells: string; fill: string; fillOpacity: string; fillRule: string; filter: string; flex: string; flexBasis: string; flexDirection: string; flexFlow: string; flexGrow: string; flexShrink: string; flexWrap: string; float: string; floodColor: string; floodOpacity: string; font: string; fontFamily: string; fontFeatureSettings: string; fontKerning: string; fontOpticalSizing: string; fontSize: string; fontSizeAdjust: string; fontStretch: string; fontStyle: string; fontSynthesis: string; fontVariant: string; /** @deprecated */ fontVariantAlternates: string; fontVariantCaps: string; fontVariantEastAsian: string; fontVariantLigatures: string; fontVariantNumeric: string; fontVariantPosition: string; fontVariationSettings: string; fontWeight: string; gap: string; grid: string; gridArea: string; gridAutoColumns: string; gridAutoFlow: string; gridAutoRows: string; gridColumn: string; gridColumnEnd: string; /** @deprecated This is a legacy alias of \`columnGap\`. */ gridColumnGap: string; gridColumnStart: string; /** @deprecated This is a legacy alias of \`gap\`. */ gridGap: string; gridRow: string; gridRowEnd: string; /** @deprecated This is a legacy alias of \`rowGap\`. */ gridRowGap: string; gridRowStart: string; gridTemplate: string; gridTemplateAreas: string; gridTemplateColumns: string; gridTemplateRows: string; height: string; hyphens: string; /** @deprecated */ imageOrientation: string; imageRendering: string; inlineSize: string; inset: string; insetBlock: string; insetBlockEnd: string; insetBlockStart: string; insetInline: string; insetInlineEnd: string; insetInlineStart: string; isolation: string; justifyContent: string; justifyItems: string; justifySelf: string; left: string; readonly length: number; letterSpacing: string; lightingColor: string; lineBreak: string; lineHeight: string; listStyle: string; listStyleImage: string; listStylePosition: string; listStyleType: string; margin: string; marginBlock: string; marginBlockEnd: string; marginBlockStart: string; marginBottom: string; marginInline: string; marginInlineEnd: string; marginInlineStart: string; marginLeft: string; marginRight: string; marginTop: string; marker: string; markerEnd: string; markerMid: string; markerStart: string; mask: string; maskType: string; maxBlockSize: string; maxHeight: string; maxInlineSize: string; maxWidth: string; minBlockSize: string; minHeight: string; minInlineSize: string; minWidth: string; mixBlendMode: string; objectFit: string; objectPosition: string; offset: string; offsetAnchor: string; offsetDistance: string; offsetPath: string; offsetRotate: string; opacity: string; order: string; orphans: string; outline: string; outlineColor: string; outlineOffset: string; outlineStyle: string; outlineWidth: string; overflow: string; overflowAnchor: string; overflowWrap: string; overflowX: string; overflowY: string; overscrollBehavior: string; overscrollBehaviorBlock: string; overscrollBehaviorInline: string; overscrollBehaviorX: string; overscrollBehaviorY: string; padding: string; paddingBlock: string; paddingBlockEnd: string; paddingBlockStart: string; paddingBottom: string; paddingInline: string; paddingInlineEnd: string; paddingInlineStart: string; paddingLeft: string; paddingRight: string; paddingTop: string; pageBreakAfter: string; pageBreakBefore: string; pageBreakInside: string; paintOrder: string; readonly parentRule: CSSRule | null; perspective: string; perspectiveOrigin: string; placeContent: string; placeItems: string; placeSelf: string; pointerEvents: string; position: string; quotes: string; resize: string; right: string; rotate: string; rowGap: string; rubyPosition: string; scale: string; scrollBehavior: string; scrollMargin: string; scrollMarginBlock: string; scrollMarginBlockEnd: string; scrollMarginBlockStart: string; scrollMarginBottom: string; scrollMarginInline: string; scrollMarginInlineEnd: string; scrollMarginInlineStart: string; scrollMarginLeft: string; scrollMarginRight: string; scrollMarginTop: string; scrollPadding: string; scrollPaddingBlock: string; scrollPaddingBlockEnd: string; scrollPaddingBlockStart: string; scrollPaddingBottom: string; scrollPaddingInline: string; scrollPaddingInlineEnd: string; scrollPaddingInlineStart: string; scrollPaddingLeft: string; scrollPaddingRight: string; scrollPaddingTop: string; scrollSnapAlign: string; scrollSnapStop: string; scrollSnapType: string; shapeImageThreshold: string; shapeMargin: string; shapeOutside: string; shapeRendering: string; stopColor: string; stopOpacity: string; stroke: string; strokeDasharray: string; strokeDashoffset: string; strokeLinecap: string; strokeLinejoin: string; strokeMiterlimit: string; strokeOpacity: string; strokeWidth: string; tabSize: string; tableLayout: string; textAlign: string; textAlignLast: string; textAnchor: string; textCombineUpright: string; textDecoration: string; textDecorationColor: string; textDecorationLine: string; textDecorationSkipInk: string; textDecorationStyle: string; textDecorationThickness: string; textEmphasis: string; textEmphasisColor: string; textEmphasisPosition: string; textEmphasisStyle: string; textIndent: string; textOrientation: string; textOverflow: string; textRendering: string; textShadow: string; textTransform: string; textUnderlineOffset: string; textUnderlinePosition: string; top: string; touchAction: string; transform: string; transformBox: string; transformOrigin: string; transformStyle: string; transition: string; transitionDelay: string; transitionDuration: string; transitionProperty: string; transitionTimingFunction: string; translate: string; unicodeBidi: string; userSelect: string; verticalAlign: string; visibility: string; /** @deprecated This is a legacy alias of \`alignContent\`. */ webkitAlignContent: string; /** @deprecated This is a legacy alias of \`alignItems\`. */ webkitAlignItems: string; /** @deprecated This is a legacy alias of \`alignSelf\`. */ webkitAlignSelf: string; /** @deprecated This is a legacy alias of \`animation\`. */ webkitAnimation: string; /** @deprecated This is a legacy alias of \`animationDelay\`. */ webkitAnimationDelay: string; /** @deprecated This is a legacy alias of \`animationDirection\`. */ webkitAnimationDirection: string; /** @deprecated This is a legacy alias of \`animationDuration\`. */ webkitAnimationDuration: string; /** @deprecated This is a legacy alias of \`animationFillMode\`. */ webkitAnimationFillMode: string; /** @deprecated This is a legacy alias of \`animationIterationCount\`. */ webkitAnimationIterationCount: string; /** @deprecated This is a legacy alias of \`animationName\`. */ webkitAnimationName: string; /** @deprecated This is a legacy alias of \`animationPlayState\`. */ webkitAnimationPlayState: string; /** @deprecated This is a legacy alias of \`animationTimingFunction\`. */ webkitAnimationTimingFunction: string; /** @deprecated This is a legacy alias of \`appearance\`. */ webkitAppearance: string; /** @deprecated This is a legacy alias of \`backfaceVisibility\`. */ webkitBackfaceVisibility: string; /** @deprecated This is a legacy alias of \`backgroundClip\`. */ webkitBackgroundClip: string; /** @deprecated This is a legacy alias of \`backgroundOrigin\`. */ webkitBackgroundOrigin: string; /** @deprecated This is a legacy alias of \`backgroundSize\`. */ webkitBackgroundSize: string; /** @deprecated This is a legacy alias of \`borderBottomLeftRadius\`. */ webkitBorderBottomLeftRadius: string; /** @deprecated This is a legacy alias of \`borderBottomRightRadius\`. */ webkitBorderBottomRightRadius: string; /** @deprecated This is a legacy alias of \`borderRadius\`. */ webkitBorderRadius: string; /** @deprecated This is a legacy alias of \`borderTopLeftRadius\`. */ webkitBorderTopLeftRadius: string; /** @deprecated This is a legacy alias of \`borderTopRightRadius\`. */ webkitBorderTopRightRadius: string; /** @deprecated This is a legacy alias of \`boxAlign\`. */ webkitBoxAlign: string; /** @deprecated This is a legacy alias of \`boxFlex\`. */ webkitBoxFlex: string; /** @deprecated This is a legacy alias of \`boxOrdinalGroup\`. */ webkitBoxOrdinalGroup: string; /** @deprecated This is a legacy alias of \`boxOrient\`. */ webkitBoxOrient: string; /** @deprecated This is a legacy alias of \`boxPack\`. */ webkitBoxPack: string; /** @deprecated This is a legacy alias of \`boxShadow\`. */ webkitBoxShadow: string; /** @deprecated This is a legacy alias of \`boxSizing\`. */ webkitBoxSizing: string; /** @deprecated This is a legacy alias of \`filter\`. */ webkitFilter: string; /** @deprecated This is a legacy alias of \`flex\`. */ webkitFlex: string; /** @deprecated This is a legacy alias of \`flexBasis\`. */ webkitFlexBasis: string; /** @deprecated This is a legacy alias of \`flexDirection\`. */ webkitFlexDirection: string; /** @deprecated This is a legacy alias of \`flexFlow\`. */ webkitFlexFlow: string; /** @deprecated This is a legacy alias of \`flexGrow\`. */ webkitFlexGrow: string; /** @deprecated This is a legacy alias of \`flexShrink\`. */ webkitFlexShrink: string; /** @deprecated This is a legacy alias of \`flexWrap\`. */ webkitFlexWrap: string; /** @deprecated This is a legacy alias of \`justifyContent\`. */ webkitJustifyContent: string; webkitLineClamp: string; /** @deprecated This is a legacy alias of \`mask\`. */ webkitMask: string; /** @deprecated This is a legacy alias of \`maskBorder\`. */ webkitMaskBoxImage: string; /** @deprecated This is a legacy alias of \`maskBorderOutset\`. */ webkitMaskBoxImageOutset: string; /** @deprecated This is a legacy alias of \`maskBorderRepeat\`. */ webkitMaskBoxImageRepeat: string; /** @deprecated This is a legacy alias of \`maskBorderSlice\`. */ webkitMaskBoxImageSlice: string; /** @deprecated This is a legacy alias of \`maskBorderSource\`. */ webkitMaskBoxImageSource: string; /** @deprecated This is a legacy alias of \`maskBorderWidth\`. */ webkitMaskBoxImageWidth: string; /** @deprecated This is a legacy alias of \`maskClip\`. */ webkitMaskClip: string; webkitMaskComposite: string; /** @deprecated This is a legacy alias of \`maskImage\`. */ webkitMaskImage: string; /** @deprecated This is a legacy alias of \`maskOrigin\`. */ webkitMaskOrigin: string; /** @deprecated This is a legacy alias of \`maskPosition\`. */ webkitMaskPosition: string; /** @deprecated This is a legacy alias of \`maskRepeat\`. */ webkitMaskRepeat: string; /** @deprecated This is a legacy alias of \`maskSize\`. */ webkitMaskSize: string; /** @deprecated This is a legacy alias of \`order\`. */ webkitOrder: string; /** @deprecated This is a legacy alias of \`perspective\`. */ webkitPerspective: string; /** @deprecated This is a legacy alias of \`perspectiveOrigin\`. */ webkitPerspectiveOrigin: string; webkitTextFillColor: string; webkitTextStroke: string; webkitTextStrokeColor: string; webkitTextStrokeWidth: string; /** @deprecated This is a legacy alias of \`transform\`. */ webkitTransform: string; /** @deprecated This is a legacy alias of \`transformOrigin\`. */ webkitTransformOrigin: string; /** @deprecated This is a legacy alias of \`transformStyle\`. */ webkitTransformStyle: string; /** @deprecated This is a legacy alias of \`transition\`. */ webkitTransition: string; /** @deprecated This is a legacy alias of \`transitionDelay\`. */ webkitTransitionDelay: string; /** @deprecated This is a legacy alias of \`transitionDuration\`. */ webkitTransitionDuration: string; /** @deprecated This is a legacy alias of \`transitionProperty\`. */ webkitTransitionProperty: string; /** @deprecated This is a legacy alias of \`transitionTimingFunction\`. */ webkitTransitionTimingFunction: string; /** @deprecated This is a legacy alias of \`userSelect\`. */ webkitUserSelect: string; whiteSpace: string; widows: string; width: string; willChange: string; wordBreak: string; wordSpacing: string; /** @deprecated */ wordWrap: string; writingMode: string; zIndex: string; getPropertyPriority(property: string): string; getPropertyValue(property: string): string; item(index: number): string; removeProperty(property: string): string; setProperty(property: string, value: string | null, priority?: string): void; [index: number]: string; } declare var CSSStyleDeclaration: { prototype: CSSStyleDeclaration; new(): CSSStyleDeclaration; }; /** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ interface CSSStyleRule extends CSSRule { selectorText: string; readonly style: CSSStyleDeclaration; } declare var CSSStyleRule: { prototype: CSSStyleRule; new(): CSSStyleRule; }; /** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ interface CSSStyleSheet extends StyleSheet { readonly cssRules: CSSRuleList; readonly ownerRule: CSSRule | null; /** @deprecated */ readonly rules: CSSRuleList; /** @deprecated */ addRule(selector?: string, style?: string, index?: number): number; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; /** @deprecated */ removeRule(index?: number): void; } declare var CSSStyleSheet: { prototype: CSSStyleSheet; new(options?: CSSStyleSheetInit): CSSStyleSheet; }; /** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ interface CSSSupportsRule extends CSSConditionRule { } declare var CSSSupportsRule: { prototype: CSSSupportsRule; new(): CSSSupportsRule; }; interface CSSTransition extends Animation { readonly transitionProperty: string; addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSTransition: { prototype: CSSTransition; new(): CSSTransition; }; /** * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. * Available only in secure contexts. */ interface Cache { add(request: RequestInfo): Promise; addAll(requests: RequestInfo[]): Promise; delete(request: RequestInfo, options?: CacheQueryOptions): Promise; keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>; match(request: RequestInfo, options?: CacheQueryOptions): Promise; matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>; put(request: RequestInfo, response: Response): Promise; } declare var Cache: { prototype: Cache; new(): Cache; }; /** * The storage for Cache objects. * Available only in secure contexts. */ interface CacheStorage { delete(cacheName: string): Promise; has(cacheName: string): Promise; keys(): Promise; match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise; open(cacheName: string): Promise; } declare var CacheStorage: { prototype: CacheStorage; new(): CacheStorage; }; interface CanvasCompositing { globalAlpha: number; globalCompositeOperation: string; } interface CanvasDrawImage { drawImage(image: CanvasImageSource, dx: number, dy: number): void; drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; } interface CanvasDrawPath { beginPath(): void; clip(fillRule?: CanvasFillRule): void; clip(path: Path2D, fillRule?: CanvasFillRule): void; fill(fillRule?: CanvasFillRule): void; fill(path: Path2D, fillRule?: CanvasFillRule): void; isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; isPointInStroke(x: number, y: number): boolean; isPointInStroke(path: Path2D, x: number, y: number): boolean; stroke(): void; stroke(path: Path2D): void; } interface CanvasFillStrokeStyles { fillStyle: string | CanvasGradient | CanvasPattern; strokeStyle: string | CanvasGradient | CanvasPattern; createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; } interface CanvasFilters { filter: string; } /** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ interface CanvasGradient { /** * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. * * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. */ addColorStop(offset: number, color: string): void; } declare var CanvasGradient: { prototype: CanvasGradient; new(): CanvasGradient; }; interface CanvasImageData { createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData; createImageData(imagedata: ImageData): ImageData; getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData; putImageData(imagedata: ImageData, dx: number, dy: number): void; putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; } interface CanvasImageSmoothing { imageSmoothingEnabled: boolean; imageSmoothingQuality: ImageSmoothingQuality; } interface CanvasPath { arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; closePath(): void; ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; lineTo(x: number, y: number): void; moveTo(x: number, y: number): void; quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; rect(x: number, y: number, w: number, h: number): void; } interface CanvasPathDrawingStyles { lineCap: CanvasLineCap; lineDashOffset: number; lineJoin: CanvasLineJoin; lineWidth: number; miterLimit: number; getLineDash(): number[]; setLineDash(segments: number[]): void; } /** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ interface CanvasPattern { /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */ setTransform(transform?: DOMMatrix2DInit): void; } declare var CanvasPattern: { prototype: CanvasPattern; new(): CanvasPattern; }; interface CanvasRect { clearRect(x: number, y: number, w: number, h: number): void; fillRect(x: number, y: number, w: number, h: number): void; strokeRect(x: number, y: number, w: number, h: number): void; } /** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { readonly canvas: HTMLCanvasElement; getContextAttributes(): CanvasRenderingContext2DSettings; } declare var CanvasRenderingContext2D: { prototype: CanvasRenderingContext2D; new(): CanvasRenderingContext2D; }; interface CanvasShadowStyles { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; } interface CanvasState { restore(): void; save(): void; } interface CanvasText { fillText(text: string, x: number, y: number, maxWidth?: number): void; measureText(text: string): TextMetrics; strokeText(text: string, x: number, y: number, maxWidth?: number): void; } interface CanvasTextDrawingStyles { direction: CanvasDirection; font: string; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; } interface CanvasTransform { getTransform(): DOMMatrix; resetTransform(): void; rotate(angle: number): void; scale(x: number, y: number): void; setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; setTransform(transform?: DOMMatrix2DInit): void; transform(a: number, b: number, c: number, d: number, e: number, f: number): void; translate(x: number, y: number): void; } interface CanvasUserInterface { drawFocusIfNeeded(element: Element): void; drawFocusIfNeeded(path: Path2D, element: Element): void; } /** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ interface ChannelMergerNode extends AudioNode { } declare var ChannelMergerNode: { prototype: ChannelMergerNode; new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; }; /** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ interface ChannelSplitterNode extends AudioNode { } declare var ChannelSplitterNode: { prototype: ChannelSplitterNode; new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; }; /** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { data: string; readonly length: number; readonly ownerDocument: Document; appendData(data: string): void; deleteData(offset: number, count: number): void; insertData(offset: number, data: string): void; replaceData(offset: number, count: number, data: string): void; substringData(offset: number, count: number): string; } declare var CharacterData: { prototype: CharacterData; new(): CharacterData; }; interface ChildNode extends Node { /** * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ after(...nodes: (Node | string)[]): void; /** * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ before(...nodes: (Node | string)[]): void; /** Removes node. */ remove(): void; /** * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. * * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. */ replaceWith(...nodes: (Node | string)[]): void; } /** @deprecated */ interface ClientRect extends DOMRect { } /** Available only in secure contexts. */ interface Clipboard extends EventTarget { read(): Promise; readText(): Promise; write(data: ClipboardItems): Promise; writeText(data: string): Promise; } declare var Clipboard: { prototype: Clipboard; new(): Clipboard; }; /** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ interface ClipboardEvent extends Event { readonly clipboardData: DataTransfer | null; } declare var ClipboardEvent: { prototype: ClipboardEvent; new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; }; interface ClipboardItem { readonly types: ReadonlyArray; getType(type: string): Promise; } declare var ClipboardItem: { prototype: ClipboardItem; new(items: Record>, options?: ClipboardItemOptions): ClipboardItem; }; /** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ interface CloseEvent extends Event { /** Returns the WebSocket connection close code provided by the server. */ readonly code: number; /** Returns the WebSocket connection close reason provided by the server. */ readonly reason: string; /** Returns true if the connection closed cleanly; false otherwise. */ readonly wasClean: boolean; } declare var CloseEvent: { prototype: CloseEvent; new(type: string, eventInitDict?: CloseEventInit): CloseEvent; }; /** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ interface Comment extends CharacterData { } declare var Comment: { prototype: Comment; new(data?: string): Comment; }; /** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ interface CompositionEvent extends UIEvent { readonly data: string; /** @deprecated */ initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void; } declare var CompositionEvent: { prototype: CompositionEvent; new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; }; interface ConstantSourceNode extends AudioScheduledSourceNode { readonly offset: AudioParam; addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ConstantSourceNode: { prototype: ConstantSourceNode; new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; }; /** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ interface ConvolverNode extends AudioNode { buffer: AudioBuffer | null; normalize: boolean; } declare var ConvolverNode: { prototype: ConvolverNode; new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; }; /** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ interface CountQueuingStrategy extends QueuingStrategy { readonly highWaterMark: number; readonly size: QueuingStrategySize; } declare var CountQueuingStrategy: { prototype: CountQueuingStrategy; new(init: QueuingStrategyInit): CountQueuingStrategy; }; /** Available only in secure contexts. */ interface Credential { readonly id: string; readonly type: string; } declare var Credential: { prototype: Credential; new(): Credential; }; /** Available only in secure contexts. */ interface CredentialsContainer { create(options?: CredentialCreationOptions): Promise; get(options?: CredentialRequestOptions): Promise; preventSilentAccess(): Promise; store(credential: Credential): Promise; } declare var CredentialsContainer: { prototype: CredentialsContainer; new(): CredentialsContainer; }; /** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ interface Crypto { /** Available only in secure contexts. */ readonly subtle: SubtleCrypto; getRandomValues(array: T): T; } declare var Crypto: { prototype: Crypto; new(): Crypto; }; /** * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. * Available only in secure contexts. */ interface CryptoKey { readonly algorithm: KeyAlgorithm; readonly extractable: boolean; readonly type: KeyType; readonly usages: KeyUsage[]; } declare var CryptoKey: { prototype: CryptoKey; new(): CryptoKey; }; interface CustomElementRegistry { define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; get(name: string): CustomElementConstructor | undefined; upgrade(root: Node): void; whenDefined(name: string): Promise; } declare var CustomElementRegistry: { prototype: CustomElementRegistry; new(): CustomElementRegistry; }; interface CustomEvent extends Event { /** Returns any custom data event was created with. Typically used for synthetic events. */ readonly detail: T; /** @deprecated */ initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; } declare var CustomEvent: { prototype: CustomEvent; new(type: string, eventInitDict?: CustomEventInit): CustomEvent; }; /** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ interface DOMException extends Error { readonly code: number; readonly message: string; readonly name: string; readonly ABORT_ERR: number; readonly DATA_CLONE_ERR: number; readonly DOMSTRING_SIZE_ERR: number; readonly HIERARCHY_REQUEST_ERR: number; readonly INDEX_SIZE_ERR: number; readonly INUSE_ATTRIBUTE_ERR: number; readonly INVALID_ACCESS_ERR: number; readonly INVALID_CHARACTER_ERR: number; readonly INVALID_MODIFICATION_ERR: number; readonly INVALID_NODE_TYPE_ERR: number; readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; readonly NO_DATA_ALLOWED_ERR: number; readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; readonly SYNTAX_ERR: number; readonly TIMEOUT_ERR: number; readonly TYPE_MISMATCH_ERR: number; readonly URL_MISMATCH_ERR: number; readonly VALIDATION_ERR: number; readonly WRONG_DOCUMENT_ERR: number; } declare var DOMException: { prototype: DOMException; new(message?: string, name?: string): DOMException; readonly ABORT_ERR: number; readonly DATA_CLONE_ERR: number; readonly DOMSTRING_SIZE_ERR: number; readonly HIERARCHY_REQUEST_ERR: number; readonly INDEX_SIZE_ERR: number; readonly INUSE_ATTRIBUTE_ERR: number; readonly INVALID_ACCESS_ERR: number; readonly INVALID_CHARACTER_ERR: number; readonly INVALID_MODIFICATION_ERR: number; readonly INVALID_NODE_TYPE_ERR: number; readonly INVALID_STATE_ERR: number; readonly NAMESPACE_ERR: number; readonly NETWORK_ERR: number; readonly NOT_FOUND_ERR: number; readonly NOT_SUPPORTED_ERR: number; readonly NO_DATA_ALLOWED_ERR: number; readonly NO_MODIFICATION_ALLOWED_ERR: number; readonly QUOTA_EXCEEDED_ERR: number; readonly SECURITY_ERR: number; readonly SYNTAX_ERR: number; readonly TIMEOUT_ERR: number; readonly TYPE_MISMATCH_ERR: number; readonly URL_MISMATCH_ERR: number; readonly VALIDATION_ERR: number; readonly WRONG_DOCUMENT_ERR: number; }; /** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ interface DOMImplementation { createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument; createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; createHTMLDocument(title?: string): Document; /** @deprecated */ hasFeature(...args: any[]): true; } declare var DOMImplementation: { prototype: DOMImplementation; new(): DOMImplementation; }; interface DOMMatrix extends DOMMatrixReadOnly { a: number; b: number; c: number; d: number; e: number; f: number; m11: number; m12: number; m13: number; m14: number; m21: number; m22: number; m23: number; m24: number; m31: number; m32: number; m33: number; m34: number; m41: number; m42: number; m43: number; m44: number; invertSelf(): DOMMatrix; multiplySelf(other?: DOMMatrixInit): DOMMatrix; preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; setMatrixValue(transformList: string): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; skewYSelf(sy?: number): DOMMatrix; translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } declare var DOMMatrix: { prototype: DOMMatrix; new(init?: string | number[]): DOMMatrix; fromFloat32Array(array32: Float32Array): DOMMatrix; fromFloat64Array(array64: Float64Array): DOMMatrix; fromMatrix(other?: DOMMatrixInit): DOMMatrix; }; type SVGMatrix = DOMMatrix; declare var SVGMatrix: typeof DOMMatrix; type WebKitCSSMatrix = DOMMatrix; declare var WebKitCSSMatrix: typeof DOMMatrix; interface DOMMatrixReadOnly { readonly a: number; readonly b: number; readonly c: number; readonly d: number; readonly e: number; readonly f: number; readonly is2D: boolean; readonly isIdentity: boolean; readonly m11: number; readonly m12: number; readonly m13: number; readonly m14: number; readonly m21: number; readonly m22: number; readonly m23: number; readonly m24: number; readonly m31: number; readonly m32: number; readonly m33: number; readonly m34: number; readonly m41: number; readonly m42: number; readonly m43: number; readonly m44: number; flipX(): DOMMatrix; flipY(): DOMMatrix; inverse(): DOMMatrix; multiply(other?: DOMMatrixInit): DOMMatrix; rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVector(x?: number, y?: number): DOMMatrix; scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; /** @deprecated */ scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; skewX(sx?: number): DOMMatrix; skewY(sy?: number): DOMMatrix; toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; toJSON(): any; transformPoint(point?: DOMPointInit): DOMPoint; translate(tx?: number, ty?: number, tz?: number): DOMMatrix; toString(): string; } declare var DOMMatrixReadOnly: { prototype: DOMMatrixReadOnly; new(init?: string | number[]): DOMMatrixReadOnly; fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; toString(): string; }; /** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ interface DOMParser { /** * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser). * * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error. * * Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8. * * Values other than the above for type will cause a TypeError exception to be thrown. */ parseFromString(string: string, type: DOMParserSupportedType): Document; } declare var DOMParser: { prototype: DOMParser; new(): DOMParser; }; interface DOMPoint extends DOMPointReadOnly { w: number; x: number; y: number; z: number; } declare var DOMPoint: { prototype: DOMPoint; new(x?: number, y?: number, z?: number, w?: number): DOMPoint; fromPoint(other?: DOMPointInit): DOMPoint; }; type SVGPoint = DOMPoint; declare var SVGPoint: typeof DOMPoint; interface DOMPointReadOnly { readonly w: number; readonly x: number; readonly y: number; readonly z: number; matrixTransform(matrix?: DOMMatrixInit): DOMPoint; toJSON(): any; } declare var DOMPointReadOnly: { prototype: DOMPointReadOnly; new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; fromPoint(other?: DOMPointInit): DOMPointReadOnly; }; interface DOMQuad { readonly p1: DOMPoint; readonly p2: DOMPoint; readonly p3: DOMPoint; readonly p4: DOMPoint; getBounds(): DOMRect; toJSON(): any; } declare var DOMQuad: { prototype: DOMQuad; new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; fromQuad(other?: DOMQuadInit): DOMQuad; fromRect(other?: DOMRectInit): DOMQuad; }; interface DOMRect extends DOMRectReadOnly { height: number; width: number; x: number; y: number; } declare var DOMRect: { prototype: DOMRect; new(x?: number, y?: number, width?: number, height?: number): DOMRect; fromRect(other?: DOMRectInit): DOMRect; }; type SVGRect = DOMRect; declare var SVGRect: typeof DOMRect; interface DOMRectList { readonly length: number; item(index: number): DOMRect | null; [index: number]: DOMRect; } declare var DOMRectList: { prototype: DOMRectList; new(): DOMRectList; }; interface DOMRectReadOnly { readonly bottom: number; readonly height: number; readonly left: number; readonly right: number; readonly top: number; readonly width: number; readonly x: number; readonly y: number; toJSON(): any; } declare var DOMRectReadOnly: { prototype: DOMRectReadOnly; new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; fromRect(other?: DOMRectInit): DOMRectReadOnly; }; /** A type returned by some APIs which contains a list of DOMString (strings). */ interface DOMStringList { /** Returns the number of strings in strings. */ readonly length: number; /** Returns true if strings contains string, and false otherwise. */ contains(string: string): boolean; /** Returns the string with index index from strings. */ item(index: number): string | null; [index: number]: string; } declare var DOMStringList: { prototype: DOMStringList; new(): DOMStringList; }; /** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */ interface DOMStringMap { [name: string]: string | undefined; } declare var DOMStringMap: { prototype: DOMStringMap; new(): DOMStringMap; }; /** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ interface DOMTokenList { /** Returns the number of tokens. */ readonly length: number; /** * Returns the associated set as string. * * Can be set, to change the associated attribute. */ value: string; toString(): string; /** * Adds all arguments passed, except those already present. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ add(...tokens: string[]): void; /** Returns true if token is present, and false otherwise. */ contains(token: string): boolean; /** Returns the token with index index. */ item(index: number): string | null; /** * Removes arguments passed, if they are present. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ remove(...tokens: string[]): void; /** * Replaces token with newToken. * * Returns true if token was replaced with newToken, and false otherwise. * * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. * * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. */ replace(token: string, newToken: string): boolean; /** * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. * * Throws a TypeError if the associated attribute has no supported tokens defined. */ supports(token: string): boolean; /** * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). * * Returns true if token is now present, and false otherwise. * * Throws a "SyntaxError" DOMException if token is empty. * * Throws an "InvalidCharacterError" DOMException if token contains any spaces. */ toggle(token: string, force?: boolean): boolean; forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; [index: number]: string; } declare var DOMTokenList: { prototype: DOMTokenList; new(): DOMTokenList; }; /** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ interface DataTransfer { /** * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. * * Can be set, to change the selected operation. * * The possible values are "none", "copy", "link", and "move". */ dropEffect: "none" | "copy" | "link" | "move"; /** * Returns the kinds of operations that are to be allowed. * * Can be set (during the dragstart event), to change the allowed operations. * * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", */ effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized"; /** Returns a FileList of the files being dragged, if any. */ readonly files: FileList; /** Returns a DataTransferItemList object, with the drag data. */ readonly items: DataTransferItemList; /** Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". */ readonly types: ReadonlyArray; /** Removes the data of the specified formats. Removes all data if the argument is omitted. */ clearData(format?: string): void; /** Returns the specified data. If there is no such data, returns the empty string. */ getData(format: string): string; /** Adds the specified data. */ setData(format: string, data: string): void; /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */ setDragImage(image: Element, x: number, y: number): void; } declare var DataTransfer: { prototype: DataTransfer; new(): DataTransfer; }; /** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ interface DataTransferItem { /** Returns the drag data item kind, one of: "string", "file". */ readonly kind: string; /** Returns the drag data item type string. */ readonly type: string; /** Returns a File object, if the drag data item kind is File. */ getAsFile(): File | null; /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */ getAsString(callback: FunctionStringCallback | null): void; webkitGetAsEntry(): FileSystemEntry | null; } declare var DataTransferItem: { prototype: DataTransferItem; new(): DataTransferItem; }; /** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ interface DataTransferItemList { /** Returns the number of items in the drag data store. */ readonly length: number; /** Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */ add(data: string, type: string): DataTransferItem | null; add(data: File): DataTransferItem | null; /** Removes all the entries in the drag data store. */ clear(): void; /** Removes the indexth entry in the drag data store. */ remove(index: number): void; [index: number]: DataTransferItem; } declare var DataTransferItemList: { prototype: DataTransferItemList; new(): DataTransferItemList; }; /** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ interface DelayNode extends AudioNode { readonly delayTime: AudioParam; } declare var DelayNode: { prototype: DelayNode; new(context: BaseAudioContext, options?: DelayOptions): DelayNode; }; /** * The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. * Available only in secure contexts. */ interface DeviceMotionEvent extends Event { readonly acceleration: DeviceMotionEventAcceleration | null; readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; readonly interval: number; readonly rotationRate: DeviceMotionEventRotationRate | null; } declare var DeviceMotionEvent: { prototype: DeviceMotionEvent; new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; }; /** Available only in secure contexts. */ interface DeviceMotionEventAcceleration { readonly x: number | null; readonly y: number | null; readonly z: number | null; } /** Available only in secure contexts. */ interface DeviceMotionEventRotationRate { readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } /** * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. * Available only in secure contexts. */ interface DeviceOrientationEvent extends Event { readonly absolute: boolean; readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } declare var DeviceOrientationEvent: { prototype: DeviceOrientationEvent; new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; }; interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap { "fullscreenchange": Event; "fullscreenerror": Event; "pointerlockchange": Event; "pointerlockerror": Event; "readystatechange": Event; "visibilitychange": Event; } /** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** Sets or gets the URL for the current document. */ readonly URL: string; /** * Sets or gets the color of all active links in the document. * @deprecated */ alinkColor: string; /** * Returns a reference to the collection of elements contained by the object. * @deprecated */ readonly all: HTMLAllCollection; /** * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. * @deprecated */ readonly anchors: HTMLCollectionOf; /** * Retrieves a collection of all applet objects in the document. * @deprecated */ readonly applets: HTMLCollection; /** * Deprecated. Sets or retrieves a value that indicates the background color behind the object. * @deprecated */ bgColor: string; /** Specifies the beginning and end of the document body. */ body: HTMLElement; /** Returns document's encoding. */ readonly characterSet: string; /** * Gets or sets the character set used to encode the object. * @deprecated This is a legacy alias of \`characterSet\`. */ readonly charset: string; /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */ readonly compatMode: string; /** Returns document's content type. */ readonly contentType: string; /** * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. * * Can be set, to add a new cookie to the element's set of HTTP cookies. * * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. */ cookie: string; /** * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. * * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. */ readonly currentScript: HTMLOrSVGScriptElement | null; /** Returns the Window object of the active document. */ readonly defaultView: (WindowProxy & typeof globalThis) | null; /** Sets or gets a value that indicates whether the document can be edited. */ designMode: string; /** Sets or retrieves a value that indicates the reading order of the object. */ dir: string; /** Gets an object representing the document type declaration associated with the current document. */ readonly doctype: DocumentType | null; /** Gets a reference to the root node of the document. */ readonly documentElement: HTMLElement; /** Returns document's URL. */ readonly documentURI: string; /** Sets or gets the security domain of the document. */ domain: string; /** Retrieves a collection of all embed objects in the document. */ readonly embeds: HTMLCollectionOf; /** * Sets or gets the foreground (text) color of the document. * @deprecated */ fgColor: string; /** Retrieves a collection, in source order, of all form objects in the document. */ readonly forms: HTMLCollectionOf; /** @deprecated */ readonly fullscreen: boolean; /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */ readonly fullscreenEnabled: boolean; /** Returns the head element. */ readonly head: HTMLHeadElement; readonly hidden: boolean; /** Retrieves a collection, in source order, of img objects in the document. */ readonly images: HTMLCollectionOf; /** Gets the implementation object of the current document. */ readonly implementation: DOMImplementation; /** * Returns the character encoding used to create the webpage that is loaded into the document object. * @deprecated This is a legacy alias of \`characterSet\`. */ readonly inputEncoding: string; /** Gets the date that the page was last modified, if the page supplies one. */ readonly lastModified: string; /** * Sets or gets the color of the document links. * @deprecated */ linkColor: string; /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */ readonly links: HTMLCollectionOf; /** Contains information about the current URL. */ get location(): Location; set location(href: string | Location); onfullscreenchange: ((this: Document, ev: Event) => any) | null; onfullscreenerror: ((this: Document, ev: Event) => any) | null; onpointerlockchange: ((this: Document, ev: Event) => any) | null; onpointerlockerror: ((this: Document, ev: Event) => any) | null; /** * Fires when the state of the object has changed. * @param ev The event */ onreadystatechange: ((this: Document, ev: Event) => any) | null; onvisibilitychange: ((this: Document, ev: Event) => any) | null; readonly ownerDocument: null; readonly pictureInPictureEnabled: boolean; /** Return an HTMLCollection of the embed elements in the Document. */ readonly plugins: HTMLCollectionOf; /** Retrieves a value that indicates the current state of the object. */ readonly readyState: DocumentReadyState; /** Gets the URL of the location that referred the user to the current page. */ readonly referrer: string; /** @deprecated */ readonly rootElement: SVGSVGElement | null; /** Retrieves a collection of all script objects in the document. */ readonly scripts: HTMLCollectionOf; readonly scrollingElement: Element | null; readonly timeline: DocumentTimeline; /** Contains the title of the document. */ title: string; readonly visibilityState: VisibilityState; /** * Sets or gets the color of the links that the user has visited. * @deprecated */ vlinkColor: string; /** * Moves node from another document and returns it. * * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. */ adoptNode(node: T): T; /** @deprecated */ captureEvents(): void; /** @deprecated */ caretRangeFromPoint(x: number, y: number): Range | null; /** @deprecated */ clear(): void; /** Closes an output stream and forces the sent data to display. */ close(): void; /** * Creates an attribute object with a specified name. * @param name String that sets the attribute object's name. */ createAttribute(localName: string): Attr; createAttributeNS(namespace: string | null, qualifiedName: string): Attr; /** Returns a CDATASection node whose data is data. */ createCDATASection(data: string): CDATASection; /** * Creates a comment object with the specified data. * @param data Sets the comment object's data. */ createComment(data: string): Comment; /** Creates a new document. */ createDocumentFragment(): DocumentFragment; /** * Creates an instance of the element for the specified tag. * @param tagName The name of an element. */ createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; /** @deprecated */ createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; /** * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. * * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. * * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: * * localName does not match the QName production. * Namespace prefix is not null and namespace is the empty string. * Namespace prefix is "xml" and namespace is not the XML namespace. * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". * * When supplied, options's is can be used to create a customized built-in element. */ createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; createEvent(eventInterface: "AnimationEvent"): AnimationEvent; createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; createEvent(eventInterface: "BlobEvent"): BlobEvent; createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; createEvent(eventInterface: "CloseEvent"): CloseEvent; createEvent(eventInterface: "CompositionEvent"): CompositionEvent; createEvent(eventInterface: "CustomEvent"): CustomEvent; createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; createEvent(eventInterface: "DragEvent"): DragEvent; createEvent(eventInterface: "ErrorEvent"): ErrorEvent; createEvent(eventInterface: "FocusEvent"): FocusEvent; createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent; createEvent(eventInterface: "FormDataEvent"): FormDataEvent; createEvent(eventInterface: "GamepadEvent"): GamepadEvent; createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; createEvent(eventInterface: "InputEvent"): InputEvent; createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent; createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; createEvent(eventInterface: "MutationEvent"): MutationEvent; createEvent(eventInterface: "MutationEvents"): MutationEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; createEvent(eventInterface: "PointerEvent"): PointerEvent; createEvent(eventInterface: "PopStateEvent"): PopStateEvent; createEvent(eventInterface: "ProgressEvent"): ProgressEvent; createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; createEvent(eventInterface: "StorageEvent"): StorageEvent; createEvent(eventInterface: "SubmitEvent"): SubmitEvent; createEvent(eventInterface: "TouchEvent"): TouchEvent; createEvent(eventInterface: "TrackEvent"): TrackEvent; createEvent(eventInterface: "TransitionEvent"): TransitionEvent; createEvent(eventInterface: "UIEvent"): UIEvent; createEvent(eventInterface: "UIEvents"): UIEvent; createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; createEvent(eventInterface: "WheelEvent"): WheelEvent; createEvent(eventInterface: string): Event; /** * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. * @param root The root element or node to start traversing on. * @param whatToShow The type of nodes or elements to appear in the node list * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. */ createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; /** Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. */ createProcessingInstruction(target: string, data: string): ProcessingInstruction; /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */ createRange(): Range; /** * Creates a text string from the specified value. * @param data String that specifies the nodeValue property of the text node. */ createTextNode(data: string): Text; /** * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. * @param root The root element or node to start traversing on. * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. * @param filter A custom NodeFilter function to use. */ createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; /** * Executes a command on the current document, current selection, or the given range. * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. * @param showUI Display the user interface, defaults to false. * @param value Value to assign. * @deprecated */ execCommand(commandId: string, showUI?: boolean, value?: string): boolean; /** Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */ exitFullscreen(): Promise; exitPictureInPicture(): Promise; exitPointerLock(): void; /** * Returns a reference to the first object with the specified value of the ID attribute. * @param elementId String that specifies the ID value. */ getElementById(elementId: string): HTMLElement | null; /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; /** * Gets a collection of objects based on the value of the NAME or ID attribute. * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. */ getElementsByName(elementName: string): NodeListOf; /** * Retrieves a collection of objects based on the specified element name. * @param name Specifies the name of an element. */ getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: string): HTMLCollectionOf; /** * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. * * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. * * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. * * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. */ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */ getSelection(): Selection | null; /** Gets a value indicating whether the object currently has focus. */ hasFocus(): boolean; hasStorageAccess(): Promise; /** * Returns a copy of node. If deep is true, the copy also includes the node's descendants. * * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. */ importNode(node: T, deep?: boolean): T; /** * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. * @param url Specifies a MIME type for the document. * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. * @param replace Specifies whether the existing entry for the document is replaced in the history list. */ open(unused1?: string, unused2?: string): Document; open(url: string | URL, name: string, features: string): WindowProxy | null; /** * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. * @param commandId Specifies a command identifier. * @deprecated */ queryCommandEnabled(commandId: string): boolean; /** * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. * @param commandId String that specifies a command identifier. */ queryCommandIndeterm(commandId: string): boolean; /** * Returns a Boolean value that indicates the current state of the command. * @param commandId String that specifies a command identifier. * @deprecated */ queryCommandState(commandId: string): boolean; /** * Returns a Boolean value that indicates whether the current command is supported on the current range. * @param commandId Specifies a command identifier. * @deprecated */ queryCommandSupported(commandId: string): boolean; /** * Returns the current value of the document, range, or current selection for the given command. * @param commandId String that specifies a command identifier. */ queryCommandValue(commandId: string): string; /** @deprecated */ releaseEvents(): void; requestStorageAccess(): Promise; /** * Writes one or more HTML expressions to a document in the specified window. * @param content Specifies the text and HTML tags to write. */ write(...text: string[]): void; /** * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. * @param content The text and HTML tags to write. */ writeln(...text: string[]): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Document: { prototype: Document; new(): Document; }; interface DocumentAndElementEventHandlersEventMap { "copy": ClipboardEvent; "cut": ClipboardEvent; "paste": ClipboardEvent; } interface DocumentAndElementEventHandlers { oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } /** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; getElementById(elementId: string): HTMLElement | null; } declare var DocumentFragment: { prototype: DocumentFragment; new(): DocumentFragment; }; interface DocumentOrShadowRoot { /** * Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document. * * For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document. * * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not. */ readonly activeElement: Element | null; /** Returns document's fullscreen element. */ readonly fullscreenElement: Element | null; readonly pictureInPictureElement: Element | null; readonly pointerLockElement: Element | null; /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */ readonly styleSheets: StyleSheetList; /** * Returns the element for the specified x coordinate and the specified y coordinate. * @param x The x-offset * @param y The y-offset */ elementFromPoint(x: number, y: number): Element | null; elementsFromPoint(x: number, y: number): Element[]; getAnimations(): Animation[]; } interface DocumentTimeline extends AnimationTimeline { } declare var DocumentTimeline: { prototype: DocumentTimeline; new(options?: DocumentTimelineOptions): DocumentTimeline; }; /** A Node containing a doctype. */ interface DocumentType extends Node, ChildNode { readonly name: string; readonly ownerDocument: Document; readonly publicId: string; readonly systemId: string; } declare var DocumentType: { prototype: DocumentType; new(): DocumentType; }; /** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ interface DragEvent extends MouseEvent { /** Returns the DataTransfer object for the event. */ readonly dataTransfer: DataTransfer | null; } declare var DragEvent: { prototype: DragEvent; new(type: string, eventInitDict?: DragEventInit): DragEvent; }; /** Inherits properties from its parent, AudioNode. */ interface DynamicsCompressorNode extends AudioNode { readonly attack: AudioParam; readonly knee: AudioParam; readonly ratio: AudioParam; readonly reduction: number; readonly release: AudioParam; readonly threshold: AudioParam; } declare var DynamicsCompressorNode: { prototype: DynamicsCompressorNode; new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; }; interface EXT_blend_minmax { readonly MAX_EXT: GLenum; readonly MIN_EXT: GLenum; } interface EXT_color_buffer_float { } interface EXT_color_buffer_half_float { readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum; readonly RGB16F_EXT: GLenum; readonly RGBA16F_EXT: GLenum; readonly UNSIGNED_NORMALIZED_EXT: GLenum; } interface EXT_float_blend { } /** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ interface EXT_frag_depth { } interface EXT_sRGB { readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; readonly SRGB8_ALPHA8_EXT: GLenum; readonly SRGB_ALPHA_EXT: GLenum; readonly SRGB_EXT: GLenum; } interface EXT_shader_texture_lod { } interface EXT_texture_compression_rgtc { readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum; readonly COMPRESSED_RED_RGTC1_EXT: GLenum; readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum; readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum; } /** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ interface EXT_texture_filter_anisotropic { readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; } interface ElementEventMap { "fullscreenchange": Event; "fullscreenerror": Event; } /** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { readonly attributes: NamedNodeMap; /** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */ readonly classList: DOMTokenList; /** Returns the value of element's class content attribute. Can be set to change it. */ className: string; readonly clientHeight: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; /** Returns the value of element's id content attribute. Can be set to change it. */ id: string; /** Returns the local name. */ readonly localName: string; /** Returns the namespace. */ readonly namespaceURI: string | null; onfullscreenchange: ((this: Element, ev: Event) => any) | null; onfullscreenerror: ((this: Element, ev: Event) => any) | null; outerHTML: string; readonly ownerDocument: Document; readonly part: DOMTokenList; /** Returns the namespace prefix. */ readonly prefix: string | null; readonly scrollHeight: number; scrollLeft: number; scrollTop: number; readonly scrollWidth: number; /** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. */ readonly shadowRoot: ShadowRoot | null; /** Returns the value of element's slot content attribute. Can be set to change it. */ slot: string; /** Returns the HTML-uppercased qualified name. */ readonly tagName: string; /** Creates a shadow root for element and returns it. */ attachShadow(init: ShadowRootInit): ShadowRoot; /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */ closest(selector: K): HTMLElementTagNameMap[K] | null; closest(selector: K): SVGElementTagNameMap[K] | null; closest(selectors: string): E | null; /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */ getAttribute(qualifiedName: string): string | null; /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */ getAttributeNS(namespace: string | null, localName: string): string | null; /** Returns the qualified names of all element's attributes. Can contain duplicates. */ getAttributeNames(): string[]; getAttributeNode(qualifiedName: string): Attr | null; getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */ getElementsByClassName(classNames: string): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: K): HTMLCollectionOf; getElementsByTagName(qualifiedName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */ hasAttribute(qualifiedName: string): boolean; /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */ hasAttributeNS(namespace: string | null, localName: string): boolean; /** Returns true if element has attributes, and false otherwise. */ hasAttributes(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: InsertPosition, element: Element): Element | null; insertAdjacentHTML(position: InsertPosition, text: string): void; insertAdjacentText(where: InsertPosition, data: string): void; /** Returns true if matching selectors against element's root yields element, and false otherwise. */ matches(selectors: string): boolean; releasePointerCapture(pointerId: number): void; /** Removes element's first attribute whose qualified name is qualifiedName. */ removeAttribute(qualifiedName: string): void; /** Removes element's attribute whose namespace is namespace and local name is localName. */ removeAttributeNS(namespace: string | null, localName: string): void; removeAttributeNode(attr: Attr): Attr; /** * Displays element fullscreen and resolves promise when done. * * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. */ requestFullscreen(options?: FullscreenOptions): Promise; requestPointerLock(): void; scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; scrollTo(options?: ScrollToOptions): void; scrollTo(x: number, y: number): void; /** Sets the value of element's first attribute whose qualified name is qualifiedName to value. */ setAttribute(qualifiedName: string, value: string): void; /** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): Attr | null; setAttributeNodeNS(attr: Attr): Attr | null; setPointerCapture(pointerId: number): void; /** * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. * * Returns true if qualifiedName is now present, and false otherwise. */ toggleAttribute(qualifiedName: string, force?: boolean): boolean; /** @deprecated This is a legacy alias of \`matches\`. */ webkitMatchesSelector(selectors: string): boolean; addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Element: { prototype: Element; new(): Element; }; interface ElementCSSInlineStyle { readonly style: CSSStyleDeclaration; } interface ElementContentEditable { contentEditable: string; enterKeyHint: string; inputMode: string; readonly isContentEditable: boolean; } interface ElementInternals extends ARIAMixin { /** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */ readonly shadowRoot: ShadowRoot | null; } declare var ElementInternals: { prototype: ElementInternals; new(): ElementInternals; }; /** Events providing information related to errors in scripts or in files. */ interface ErrorEvent extends Event { readonly colno: number; readonly error: any; readonly filename: string; readonly lineno: number; readonly message: string; } declare var ErrorEvent: { prototype: ErrorEvent; new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; }; /** An event which takes place in the DOM. */ interface Event { /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */ readonly bubbles: boolean; cancelBubble: boolean; /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */ readonly cancelable: boolean; /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */ readonly composed: boolean; /** Returns the object whose event listener's callback is currently being invoked. */ readonly currentTarget: EventTarget | null; /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */ readonly defaultPrevented: boolean; /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */ readonly eventPhase: number; /** Returns true if event was dispatched by the user agent, and false otherwise. */ readonly isTrusted: boolean; /** @deprecated */ returnValue: boolean; /** @deprecated */ readonly srcElement: EventTarget | null; /** Returns the object to which event is dispatched (its target). */ readonly target: EventTarget | null; /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */ readonly timeStamp: DOMHighResTimeStamp; /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ readonly type: string; /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */ composedPath(): EventTarget[]; /** @deprecated */ initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */ preventDefault(): void; /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */ stopImmediatePropagation(): void; /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */ stopPropagation(): void; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; } declare var Event: { prototype: Event; new(type: string, eventInitDict?: EventInit): Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }; interface EventListener { (evt: Event): void; } interface EventListenerObject { handleEvent(object: Event): void; } interface EventSourceEventMap { "error": Event; "message": MessageEvent; "open": Event; } interface EventSource extends EventTarget { onerror: ((this: EventSource, ev: Event) => any) | null; onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; onopen: ((this: EventSource, ev: Event) => any) | null; /** Returns the state of this EventSource object's connection. It can have the values described below. */ readonly readyState: number; /** Returns the URL providing the event stream. */ readonly url: string; /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */ readonly withCredentials: boolean; /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */ close(): void; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var EventSource: { prototype: EventSource; new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; }; /** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ interface EventTarget { /** * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. * * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. * * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. * * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. * * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. * * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. * * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. */ addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ dispatchEvent(event: Event): boolean; /** Removes the event listener in target's event listener list with the same type, callback, and options. */ removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } declare var EventTarget: { prototype: EventTarget; new(): EventTarget; }; /** @deprecated */ interface External { /** @deprecated */ AddSearchProvider(): void; /** @deprecated */ IsSearchProviderInstalled(): void; } /** @deprecated */ declare var External: { prototype: External; new(): External; }; /** Provides information about files and allows JavaScript in a web page to access their content. */ interface File extends Blob { readonly lastModified: number; readonly name: string; readonly webkitRelativePath: string; } declare var File: { prototype: File; new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; }; /** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ interface FileList { readonly length: number; item(index: number): File | null; [index: number]: File; } declare var FileList: { prototype: FileList; new(): FileList; }; interface FileReaderEventMap { "abort": ProgressEvent; "error": ProgressEvent; "load": ProgressEvent; "loadend": ProgressEvent; "loadstart": ProgressEvent; "progress": ProgressEvent; } /** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ interface FileReader extends EventTarget { readonly error: DOMException | null; onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; onload: ((this: FileReader, ev: ProgressEvent) => any) | null; onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; readonly readyState: number; readonly result: string | ArrayBuffer | null; abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(blob: Blob): void; readAsDataURL(blob: Blob): void; readAsText(blob: Blob, encoding?: string): void; readonly DONE: number; readonly EMPTY: number; readonly LOADING: number; addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FileReader: { prototype: FileReader; new(): FileReader; readonly DONE: number; readonly EMPTY: number; readonly LOADING: number; }; interface FileSystem { readonly name: string; readonly root: FileSystemDirectoryEntry; } declare var FileSystem: { prototype: FileSystem; new(): FileSystem; }; interface FileSystemDirectoryEntry extends FileSystemEntry { createReader(): FileSystemDirectoryReader; getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemDirectoryEntry: { prototype: FileSystemDirectoryEntry; new(): FileSystemDirectoryEntry; }; interface FileSystemDirectoryReader { readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemDirectoryReader: { prototype: FileSystemDirectoryReader; new(): FileSystemDirectoryReader; }; interface FileSystemEntry { readonly filesystem: FileSystem; readonly fullPath: string; readonly isDirectory: boolean; readonly isFile: boolean; readonly name: string; getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemEntry: { prototype: FileSystemEntry; new(): FileSystemEntry; }; interface FileSystemFileEntry extends FileSystemEntry { file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemFileEntry: { prototype: FileSystemFileEntry; new(): FileSystemFileEntry; }; /** Focus-related events like focus, blur, focusin, or focusout. */ interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; } declare var FocusEvent: { prototype: FocusEvent; new(type: string, eventInitDict?: FocusEventInit): FocusEvent; }; interface FontFace { ascentOverride: string; descentOverride: string; display: string; family: string; featureSettings: string; lineGapOverride: string; readonly loaded: Promise; readonly status: FontFaceLoadStatus; stretch: string; style: string; unicodeRange: string; variant: string; variationSettings: string; weight: string; load(): Promise; } declare var FontFace: { prototype: FontFace; new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; }; interface FontFaceSetEventMap { "loading": Event; "loadingdone": Event; "loadingerror": Event; } interface FontFaceSet extends EventTarget { onloading: ((this: FontFaceSet, ev: Event) => any) | null; onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; readonly ready: Promise; readonly status: FontFaceSetLoadStatus; check(font: string, text?: string): boolean; load(font: string, text?: string): Promise; forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void; addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FontFaceSet: { prototype: FontFaceSet; new(initialFaces: FontFace[]): FontFaceSet; }; interface FontFaceSetLoadEvent extends Event { readonly fontfaces: ReadonlyArray; } declare var FontFaceSetLoadEvent: { prototype: FontFaceSetLoadEvent; new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent; }; interface FontFaceSource { readonly fonts: FontFaceSet; } /** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ interface FormData { append(name: string, value: string | Blob, fileName?: string): void; delete(name: string): void; get(name: string): FormDataEntryValue | null; getAll(name: string): FormDataEntryValue[]; has(name: string): boolean; set(name: string, value: string | Blob, fileName?: string): void; forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; } declare var FormData: { prototype: FormData; new(form?: HTMLFormElement): FormData; }; interface FormDataEvent extends Event { /** Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */ readonly formData: FormData; } declare var FormDataEvent: { prototype: FormDataEvent; new(type: string, eventInitDict: FormDataEventInit): FormDataEvent; }; /** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */ interface GainNode extends AudioNode { readonly gain: AudioParam; } declare var GainNode: { prototype: GainNode; new(context: BaseAudioContext, options?: GainOptions): GainNode; }; /** * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. * Available only in secure contexts. */ interface Gamepad { readonly axes: ReadonlyArray; readonly buttons: ReadonlyArray; readonly connected: boolean; readonly hapticActuators: ReadonlyArray; readonly id: string; readonly index: number; readonly mapping: GamepadMappingType; readonly timestamp: DOMHighResTimeStamp; } declare var Gamepad: { prototype: Gamepad; new(): Gamepad; }; /** * An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. * Available only in secure contexts. */ interface GamepadButton { readonly pressed: boolean; readonly touched: boolean; readonly value: number; } declare var GamepadButton: { prototype: GamepadButton; new(): GamepadButton; }; /** * This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. * Available only in secure contexts. */ interface GamepadEvent extends Event { readonly gamepad: Gamepad; } declare var GamepadEvent: { prototype: GamepadEvent; new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; }; /** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ interface GamepadHapticActuator { readonly type: GamepadHapticActuatorType; } declare var GamepadHapticActuator: { prototype: GamepadHapticActuator; new(): GamepadHapticActuator; }; interface GenericTransformStream { readonly readable: ReadableStream; readonly writable: WritableStream; } /** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ interface Geolocation { clearWatch(watchId: number): void; getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void; watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number; } declare var Geolocation: { prototype: Geolocation; new(): Geolocation; }; /** Available only in secure contexts. */ interface GeolocationCoordinates { readonly accuracy: number; readonly altitude: number | null; readonly altitudeAccuracy: number | null; readonly heading: number | null; readonly latitude: number; readonly longitude: number; readonly speed: number | null; } declare var GeolocationCoordinates: { prototype: GeolocationCoordinates; new(): GeolocationCoordinates; }; /** Available only in secure contexts. */ interface GeolocationPosition { readonly coords: GeolocationCoordinates; readonly timestamp: DOMTimeStamp; } declare var GeolocationPosition: { prototype: GeolocationPosition; new(): GeolocationPosition; }; interface GeolocationPositionError { readonly code: number; readonly message: string; readonly PERMISSION_DENIED: number; readonly POSITION_UNAVAILABLE: number; readonly TIMEOUT: number; } declare var GeolocationPositionError: { prototype: GeolocationPositionError; new(): GeolocationPositionError; readonly PERMISSION_DENIED: number; readonly POSITION_UNAVAILABLE: number; readonly TIMEOUT: number; }; interface GlobalEventHandlersEventMap { "abort": UIEvent; "animationcancel": AnimationEvent; "animationend": AnimationEvent; "animationiteration": AnimationEvent; "animationstart": AnimationEvent; "auxclick": MouseEvent; "beforeinput": InputEvent; "blur": FocusEvent; "canplay": Event; "canplaythrough": Event; "change": Event; "click": MouseEvent; "close": Event; "compositionend": CompositionEvent; "compositionstart": CompositionEvent; "compositionupdate": CompositionEvent; "contextmenu": MouseEvent; "cuechange": Event; "dblclick": MouseEvent; "drag": DragEvent; "dragend": DragEvent; "dragenter": DragEvent; "dragleave": DragEvent; "dragover": DragEvent; "dragstart": DragEvent; "drop": DragEvent; "durationchange": Event; "emptied": Event; "ended": Event; "error": ErrorEvent; "focus": FocusEvent; "focusin": FocusEvent; "focusout": FocusEvent; "formdata": FormDataEvent; "gotpointercapture": PointerEvent; "input": Event; "invalid": Event; "keydown": KeyboardEvent; "keypress": KeyboardEvent; "keyup": KeyboardEvent; "load": Event; "loadeddata": Event; "loadedmetadata": Event; "loadstart": Event; "lostpointercapture": PointerEvent; "mousedown": MouseEvent; "mouseenter": MouseEvent; "mouseleave": MouseEvent; "mousemove": MouseEvent; "mouseout": MouseEvent; "mouseover": MouseEvent; "mouseup": MouseEvent; "pause": Event; "play": Event; "playing": Event; "pointercancel": PointerEvent; "pointerdown": PointerEvent; "pointerenter": PointerEvent; "pointerleave": PointerEvent; "pointermove": PointerEvent; "pointerout": PointerEvent; "pointerover": PointerEvent; "pointerup": PointerEvent; "progress": ProgressEvent; "ratechange": Event; "reset": Event; "resize": UIEvent; "scroll": Event; "securitypolicyviolation": SecurityPolicyViolationEvent; "seeked": Event; "seeking": Event; "select": Event; "selectionchange": Event; "selectstart": Event; "stalled": Event; "submit": SubmitEvent; "suspend": Event; "timeupdate": Event; "toggle": Event; "touchcancel": TouchEvent; "touchend": TouchEvent; "touchmove": TouchEvent; "touchstart": TouchEvent; "transitioncancel": TransitionEvent; "transitionend": TransitionEvent; "transitionrun": TransitionEvent; "transitionstart": TransitionEvent; "volumechange": Event; "waiting": Event; "webkitanimationend": Event; "webkitanimationiteration": Event; "webkitanimationstart": Event; "webkittransitionend": Event; "wheel": WheelEvent; } interface GlobalEventHandlers { /** * Fires when the user aborts the download. * @param ev The event. */ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the object loses the input focus. * @param ev The focus event. */ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; /** * Occurs when playback is possible, but would require further buffering. * @param ev The event. */ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the contents of the object or selection have changed. * @param ev The event. */ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the left mouse button on the object * @param ev The mouse event. */ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user clicks the right mouse button in the client area, opening the context menu. * @param ev The mouse event. */ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user double-clicks the object. * @param ev The mouse event. */ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires on the source object continuously during a drag operation. * @param ev The event. */ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the source object when the user releases the mouse at the close of a drag operation. * @param ev The event. */ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target element when the user drags the object to a valid drop target. * @param ev The drag event. */ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. * @param ev The drag event. */ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the target element continuously while the user drags the object over a valid drop target. * @param ev The event. */ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Fires on the source object when the user starts to drag a text selection or selected object. * @param ev The event. */ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; /** * Occurs when the duration attribute is updated. * @param ev The event. */ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the media element is reset to its initial state. * @param ev The event. */ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the end of playback is reached. * @param ev The event */ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when an error occurs during object loading. * @param ev The event. */ onerror: OnErrorEventHandler; /** * Fires when the object receives focus. * @param ev The event. */ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user presses a key. * @param ev The keyboard event */ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires when the user presses an alphanumeric key. * @param ev The event. * @deprecated */ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires when the user releases a key. * @param ev The keyboard event */ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; /** * Fires immediately after the browser loads the object. * @param ev The event. */ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when media data is loaded at the current playback position. * @param ev The event. */ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the duration and dimensions of the media have been determined. * @param ev The event. */ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when Internet Explorer begins looking for media data. * @param ev The event. */ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** * Fires when the user clicks the object with either mouse button. * @param ev The mouse event. */ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse over the object. * @param ev The mouse event. */ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer outside the boundaries of the object. * @param ev The mouse event. */ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user moves the mouse pointer into the object. * @param ev The mouse event. */ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Fires when the user releases a mouse button while the mouse is over the object. * @param ev The mouse event. */ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; /** * Occurs when playback is paused. * @param ev The event. */ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the play method is requested. * @param ev The event. */ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the audio or video has started playing. * @param ev The event. */ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; /** * Occurs to indicate progress while downloading media data. * @param ev The event. */ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; /** * Occurs when the playback rate is increased or decreased. * @param ev The event. */ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the user resets a form. * @param ev The event. */ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; /** * Fires when the user repositions the scroll box in the scroll bar on the object. * @param ev The event. */ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the seek operation ends. * @param ev The event. */ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the current playback position is moved. * @param ev The event. */ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Fires when the current selection changes. * @param ev The event. */ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when the download has stopped. * @param ev The event. */ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null; /** * Occurs if the load operation has been intentionally halted. * @param ev The event. */ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs to indicate the current playback position. * @param ev The event. */ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; /** * Occurs when the volume is changed, or playback is muted or unmuted. * @param ev The event. */ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** * Occurs when playback stops because the next frame of a video resource is not available. * @param ev The event. */ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** @deprecated This is a legacy alias of \`onanimationend\`. */ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** @deprecated This is a legacy alias of \`onanimationiteration\`. */ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** @deprecated This is a legacy alias of \`onanimationstart\`. */ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** @deprecated This is a legacy alias of \`ontransitionend\`. */ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface HTMLAllCollection { /** Returns the number of elements in the collection. */ readonly length: number; /** Returns the item with index index from the collection (determined by tree order). */ item(nameOrIndex?: string): HTMLCollection | Element | null; /** * Returns the item with ID or name name from the collection. * * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. * * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. */ namedItem(name: string): HTMLCollection | Element | null; [index: number]: Element; } declare var HTMLAllCollection: { prototype: HTMLAllCollection; new(): HTMLAllCollection; }; /** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { /** * Sets or retrieves the character set used to encode the object. * @deprecated */ charset: string; /** * Sets or retrieves the coordinates of the object. * @deprecated */ coords: string; download: string; /** Sets or retrieves the language code of the object. */ hreflang: string; /** * Sets or retrieves the shape of the object. * @deprecated */ name: string; ping: string; referrerPolicy: string; /** Sets or retrieves the relationship between the object and the destination of the link. */ rel: string; readonly relList: DOMTokenList; /** * Sets or retrieves the relationship between the object and the destination of the link. * @deprecated */ rev: string; /** * Sets or retrieves the shape of the object. * @deprecated */ shape: string; /** Sets or retrieves the window or frame at which to target content. */ target: string; /** Retrieves or sets the text of the object as a string. */ text: string; type: string; addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAnchorElement: { prototype: HTMLAnchorElement; new(): HTMLAnchorElement; }; /** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { /** Sets or retrieves a text alternative to the graphic. */ alt: string; /** Sets or retrieves the coordinates of the object. */ coords: string; download: string; /** * Sets or gets whether clicks in this region cause action. * @deprecated */ noHref: boolean; ping: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; /** Sets or retrieves the shape of the object. */ shape: string; /** Sets or retrieves the window or frame at which to target content. */ target: string; addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAreaElement: { prototype: HTMLAreaElement; new(): HTMLAreaElement; }; /** Provides access to the properties of