var KF=Object.defineProperty;var zF=(Im,A_,Nm)=>A_ in Im?KF(Im,A_,{enumerable:!0,configurable:!0,writable:!0,value:Nm}):Im[A_]=Nm;var Nv=(Im,A_,Nm)=>(zF(Im,typeof A_!="symbol"?A_+"":A_,Nm),Nm);(function(){"use strict";class Im{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(n){setTimeout(()=>{throw n.stack?Cg.isErrorNoTelemetry(n)?new Cg(n.message+` `+n.stack):new Error(n.message+` `+n.stack):n},0)}}emit(n){this.listeners.forEach(f=>{f(n)})}onUnexpectedError(n){this.unexpectedErrorHandler(n),this.emit(n)}onUnexpectedExternalError(n){this.unexpectedErrorHandler(n)}}const A_=new Im;function Nm(e){GI(e)||A_.onUnexpectedError(e)}function BT(e){if(e instanceof Error){const{name:n,message:f}=e,d=e.stacktrace||e.stack;return{$isError:!0,name:n,message:f,stack:d,noTelemetry:Cg.isErrorNoTelemetry(e)}}return e}const Zb="Canceled";function GI(e){return e instanceof BI?!0:e instanceof Error&&e.name===Zb&&e.message===Zb}class BI extends Error{constructor(){super(Zb),this.name=this.message}}class Cg extends Error{constructor(n){super(n),this.name="ErrorNoTelemetry"}static fromError(n){if(n instanceof Cg)return n;const f=new Cg;return f.message=n.message,f.stack=n.stack,f}static isErrorNoTelemetry(n){return n.name==="ErrorNoTelemetry"}}function UI(e){const n=this;let f=!1,d;return function(){return f||(f=!0,d=e.apply(n,arguments)),d}}var qh;(function(e){function n(x){return x&&typeof x=="object"&&typeof x[Symbol.iterator]=="function"}e.is=n;const f=Object.freeze([]);function d(){return f}e.empty=d;function*a(x){yield x}e.single=a;function p(x){return x||f}e.from=p;function N(x){return!x||x[Symbol.iterator]().next().done===!0}e.isEmpty=N;function H(x){return x[Symbol.iterator]().next().value}e.first=H;function h(x,w){for(const K of x)if(w(K))return!0;return!1}e.some=h;function v(x,w){for(const K of x)if(w(K))return K}e.find=v;function*A(x,w){for(const K of x)w(K)&&(yield K)}e.filter=A;function*q(x,w){let K=0;for(const Z of x)yield w(Z,K++)}e.map=q;function*ie(...x){for(const w of x)for(const K of w)yield K}e.concat=ie;function*b(x){for(const w of x)for(const K of w)yield K}e.concatNested=b;function P(x,w,K){let Z=K;for(const ne of x)Z=w(Z,ne);return Z}e.reduce=P;function S(x,w){let K=0;for(const Z of x)w(Z,K++)}e.forEach=S;function*B(x,w,K=x.length){for(w<0&&(w+=x.length),K<0?K+=x.length:K>x.length&&(K=x.length);wZ===ne){const Z=x[Symbol.iterator](),ne=w[Symbol.iterator]();for(;;){const R=Z.next(),Y=ne.next();if(R.done!==Y.done)return!1;if(R.done)return!0;if(!K(R.value,Y.value))return!1}}e.equals=M})(qh||(qh={}));function qF(e){return e}function XF(e,n){}class VI extends Error{constructor(n){super(`Encountered errors while disposing of store. Errors: [${n.join(", ")}]`),this.errors=n}}function UT(e){if(qh.is(e)){const n=[];for(const f of e)if(f)try{f.dispose()}catch(d){n.push(d)}if(n.length===1)throw n[0];if(n.length>1)throw new VI(n);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function WI(...e){return Xh(()=>UT(e))}function Xh(e){return{dispose:UI(()=>{e()})}}class km{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{UT(this._toDispose.values())}finally{this._toDispose.clear()}}add(n){if(!n)return n;if(n===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?km.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}}km.DISABLE_DISPOSED_WARNING=!1;class $b{constructor(){this._store=new km,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)}}$b.None=Object.freeze({dispose(){}});class jI{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(n){let f=n;return this.unset=()=>f=void 0,this.isset=()=>f!==void 0,this.dispose=()=>{f&&(f(),f=void 0)},this}}class al{constructor(n){this.element=n,this.next=al.Undefined,this.prev=al.Undefined}}al.Undefined=new al(void 0);class Yh{constructor(){this._first=al.Undefined,this._last=al.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===al.Undefined}clear(){let n=this._first;for(;n!==al.Undefined;){const f=n.next;n.prev=al.Undefined,n.next=al.Undefined,n=f}this._first=al.Undefined,this._last=al.Undefined,this._size=0}unshift(n){return this._insert(n,!1)}push(n){return this._insert(n,!0)}_insert(n,f){const d=new al(n);if(this._first===al.Undefined)this._first=d,this._last=d;else if(f){const p=this._last;this._last=d,d.prev=p,p.next=d}else{const p=this._first;this._first=d,d.next=p,p.prev=d}this._size+=1;let a=!1;return()=>{a||(a=!0,this._remove(d))}}shift(){if(this._first!==al.Undefined){const n=this._first.element;return this._remove(this._first),n}}pop(){if(this._last!==al.Undefined){const n=this._last.element;return this._remove(this._last),n}}_remove(n){if(n.prev!==al.Undefined&&n.next!==al.Undefined){const f=n.prev;f.next=n.next,n.next.prev=f}else n.prev===al.Undefined&&n.next===al.Undefined?(this._first=al.Undefined,this._last=al.Undefined):n.next===al.Undefined?(this._last=this._last.prev,this._last.next=al.Undefined):n.prev===al.Undefined&&(this._first=this._first.next,this._first.prev=al.Undefined);this._size-=1}*[Symbol.iterator](){let n=this._first;for(;n!==al.Undefined;)yield n.element,n=n.next}}let HI=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function JI(e,n){let f;return n.length===0?f=e:f=e.replace(/\{(\d+)\}/g,(d,a)=>{const p=a[0],N=n[p];let H=d;return typeof N=="string"?H=N:(typeof N=="number"||typeof N=="boolean"||N===void 0||N===null)&&(H=String(N)),H}),HI&&(f="\uFF3B"+f.replace(/[aouei]/g,"$&$&")+"\uFF3D"),f}function KI(e,n,...f){return JI(n,f)}function YF(e){}var eE;const kv="en";let rE=!1,tE=!1,nE=!1,VT=!1,Qh,aE=kv,zI,q_;const su=typeof self=="object"?self:typeof global=="object"?global:{};let lu;typeof su.vscode<"u"&&typeof su.vscode.process<"u"?lu=su.vscode.process:typeof process<"u"&&(lu=process);const qI=typeof((eE=lu==null?void 0:lu.versions)===null||eE===void 0?void 0:eE.electron)=="string"&&(lu==null?void 0:lu.type)==="renderer";if(typeof navigator=="object"&&!qI)q_=navigator.userAgent,rE=q_.indexOf("Windows")>=0,tE=q_.indexOf("Macintosh")>=0,(q_.indexOf("Macintosh")>=0||q_.indexOf("iPad")>=0||q_.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,nE=q_.indexOf("Linux")>=0,VT=!0,KI({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),Qh=kv,aE=Qh;else if(typeof lu=="object"){rE=lu.platform==="win32",tE=lu.platform==="darwin",nE=lu.platform==="linux",nE&&!!lu.env.SNAP&&lu.env.SNAP_REVISION,lu.env.CI||lu.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Qh=kv,aE=kv;const e=lu.env.VSCODE_NLS_CONFIG;if(e)try{const n=JSON.parse(e),f=n.availableLanguages["*"];Qh=n.locale,aE=f||kv,zI=n._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const Ov=rE,XI=tE;VT&&su.importScripts;const Kp=q_,YI=typeof su.postMessage=="function"&&!su.importScripts;(()=>{if(YI){const e=[];su.addEventListener("message",f=>{if(f.data&&f.data.vscodeScheduleAsyncWork)for(let d=0,a=e.length;d{const d=++n;e.push({id:d,callback:f}),su.postMessage({vscodeScheduleAsyncWork:d},"*")}}return e=>setTimeout(e)})();const QI=!!(Kp&&Kp.indexOf("Chrome")>=0);Kp&&Kp.indexOf("Firefox")>=0,!QI&&Kp&&Kp.indexOf("Safari")>=0,Kp&&Kp.indexOf("Edg/")>=0,Kp&&Kp.indexOf("Android")>=0;const ZI=su.performance&&typeof su.performance.now=="function";class Zh{constructor(n){this._highResolution=ZI&&n,this._startTime=this._now(),this._stopTime=-1}static create(n=!0){return new Zh(n)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?su.performance.now():Date.now()}}var iE;(function(e){e.None=()=>$b.None;function n(K){return(Z,ne=null,R)=>{let Y=!1,U;return U=K($=>{if(!Y)return U?U.dispose():Y=!0,Z.call(ne,$)},null,R),Y&&U.dispose(),U}}e.once=n;function f(K,Z,ne){return h((R,Y=null,U)=>K($=>R.call(Y,Z($)),null,U),ne)}e.map=f;function d(K,Z,ne){return h((R,Y=null,U)=>K($=>{Z($),R.call(Y,$)},null,U),ne)}e.forEach=d;function a(K,Z,ne){return h((R,Y=null,U)=>K($=>Z($)&&R.call(Y,$),null,U),ne)}e.filter=a;function p(K){return K}e.signal=p;function N(...K){return(Z,ne=null,R)=>WI(...K.map(Y=>Y(U=>Z.call(ne,U),null,R)))}e.any=N;function H(K,Z,ne,R){let Y=ne;return f(K,U=>(Y=Z(Y,U),Y),R)}e.reduce=H;function h(K,Z){let ne;const R={onFirstListenerAdd(){ne=K(Y.fire,Y)},onLastListenerRemove(){ne==null||ne.dispose()}},Y=new zp(R);return Z==null||Z.add(Y),Y.event}function v(K,Z,ne=100,R=!1,Y,U){let $,T,I,y=0;const D={leakWarningThreshold:Y,onFirstListenerAdd(){$=K(m=>{y++,T=Z(T,m),R&&!I&&(C.fire(T),T=void 0),clearTimeout(I),I=setTimeout(()=>{const u=T;T=void 0,I=void 0,(!R||y>1)&&C.fire(u),y=0},ne)})},onLastListenerRemove(){$.dispose()}},C=new zp(D);return U==null||U.add(C),C.event}e.debounce=v;function A(K,Z=(R,Y)=>R===Y,ne){let R=!0,Y;return a(K,U=>{const $=R||!Z(U,Y);return R=!1,Y=U,$},ne)}e.latch=A;function q(K,Z,ne){return[e.filter(K,Z,ne),e.filter(K,R=>!Z(R),ne)]}e.split=q;function ie(K,Z=!1,ne=[]){let R=ne.slice(),Y=K(T=>{R?R.push(T):$.fire(T)});const U=()=>{R==null||R.forEach(T=>$.fire(T)),R=null},$=new zp({onFirstListenerAdd(){Y||(Y=K(T=>$.fire(T)))},onFirstListenerDidAdd(){R&&(Z?setTimeout(U):U())},onLastListenerRemove(){Y&&Y.dispose(),Y=null}});return $.event}e.buffer=ie;class b{constructor(Z){this.event=Z,this.disposables=new km}map(Z){return new b(f(this.event,Z,this.disposables))}forEach(Z){return new b(d(this.event,Z,this.disposables))}filter(Z){return new b(a(this.event,Z,this.disposables))}reduce(Z,ne){return new b(H(this.event,Z,ne,this.disposables))}latch(){return new b(A(this.event,void 0,this.disposables))}debounce(Z,ne=100,R=!1,Y){return new b(v(this.event,Z,ne,R,Y,this.disposables))}on(Z,ne,R){return this.event(Z,ne,R)}once(Z,ne,R){return n(this.event)(Z,ne,R)}dispose(){this.disposables.dispose()}}function P(K){return new b(K)}e.chain=P;function S(K,Z,ne=R=>R){const R=(...T)=>$.fire(ne(...T)),Y=()=>K.on(Z,R),U=()=>K.removeListener(Z,R),$=new zp({onFirstListenerAdd:Y,onLastListenerRemove:U});return $.event}e.fromNodeEventEmitter=S;function B(K,Z,ne=R=>R){const R=(...T)=>$.fire(ne(...T)),Y=()=>K.addEventListener(Z,R),U=()=>K.removeEventListener(Z,R),$=new zp({onFirstListenerAdd:Y,onLastListenerRemove:U});return $.event}e.fromDOMEventEmitter=B;function J(K){return new Promise(Z=>n(K)(Z))}e.toPromise=J;function k(K,Z){return Z(void 0),K(ne=>Z(ne))}e.runAndSubscribe=k;function M(K,Z){let ne=null;function R(U){ne==null||ne.dispose(),ne=new km,Z(U,ne)}R(void 0);const Y=K(U=>R(U));return Xh(()=>{Y.dispose(),ne==null||ne.dispose()})}e.runAndSubscribeWithStore=M;class x{constructor(Z,ne){this.obs=Z,this._counter=0,this._hasChanged=!1;const R={onFirstListenerAdd:()=>{Z.addObserver(this)},onLastListenerRemove:()=>{Z.removeObserver(this)}};this.emitter=new zp(R),ne&&ne.add(this.emitter)}beginUpdate(Z){this._counter++}handleChange(Z,ne){this._hasChanged=!0}endUpdate(Z){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function w(K,Z){return new x(K,Z).emitter.event}e.fromObservable=w})(iE||(iE={}));class $h{constructor(n){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${n}_${$h._idPool++}`}start(n){this._stopWatch=new Zh(!0),this._listenerCount=n}stop(){if(this._stopWatch){const n=this._stopWatch.elapsed();this._elapsedOverall+=n,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${n.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}$h._idPool=0;class oE{constructor(n){this.value=n}static create(){var n;return new oE((n=new Error().stack)!==null&&n!==void 0?n:"")}print(){console.warn(this.value.split(` `).slice(2).join(` `))}}class $I{constructor(n,f,d){this.callback=n,this.callbackThis=f,this.stack=d,this.subscription=new jI}invoke(n){this.callback.call(this.callbackThis,n)}}class zp{constructor(n){var f,d;this._disposed=!1,this._options=n,this._leakageMon=void 0,this._perfMon=!((f=this._options)===null||f===void 0)&&f._profName?new $h(this._options._profName):void 0,this._deliveryQueue=(d=this._options)===null||d===void 0?void 0:d.deliveryQueue}dispose(){var n,f,d,a;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(n=this._deliveryQueue)===null||n===void 0||n.clear(this),(d=(f=this._options)===null||f===void 0?void 0:f.onLastListenerRemove)===null||d===void 0||d.call(f),(a=this._leakageMon)===null||a===void 0||a.dispose())}get event(){return this._event||(this._event=(n,f,d)=>{var a,p,N;this._listeners||(this._listeners=new Yh);const H=this._listeners.isEmpty();H&&((a=this._options)===null||a===void 0?void 0:a.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let h,v;this._leakageMon&&this._listeners.size>=30&&(v=oE.create(),h=this._leakageMon.check(v,this._listeners.size+1));const A=new $I(n,f,v),q=this._listeners.push(A);H&&((p=this._options)===null||p===void 0?void 0:p.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((N=this._options)===null||N===void 0)&&N.onListenerDidAdd&&this._options.onListenerDidAdd(this,n,f);const ie=A.subscription.set(()=>{h==null||h(),this._disposed||(q(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return d instanceof km?d.add(ie):Array.isArray(d)&&d.push(ie),ie}),this._event}fire(n){var f,d;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new rN);for(const a of this._listeners)this._deliveryQueue.push(this,a,n);(f=this._perfMon)===null||f===void 0||f.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(d=this._perfMon)===null||d===void 0||d.stop()}}}class eN{constructor(){this._queue=new Yh}get size(){return this._queue.size}push(n,f,d){this._queue.push(new tN(n,f,d))}clear(n){const f=new Yh;for(const d of this._queue)d.emitter!==n&&f.push(d);this._queue=f}deliver(){for(;this._queue.size>0;){const n=this._queue.shift();try{n.listener.invoke(n.event)}catch(f){Nm(f)}}}}class rN extends eN{clear(n){this._queue.clear()}}class tN{constructor(n,f,d){this.emitter=n,this.listener=f,this.event=d}}function nN(e){let n=[],f=Object.getPrototypeOf(e);for(;Object.prototype!==f;)n=n.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return n}function sE(e){const n=[];for(const f of nN(e))typeof e[f]=="function"&&n.push(f);return n}function aN(e,n){const f=a=>function(){const p=Array.prototype.slice.call(arguments,0);return n(a,p)},d={};for(const a of e)d[a]=f(a);return d}function iN(e,n="Unreachable"){throw new Error(n)}class oN{constructor(n){this.fn=n,this.lastCache=void 0,this.lastArgKey=void 0}get(n){const f=JSON.stringify(n);return this.lastArgKey!==f&&(this.lastArgKey=f,this.lastCache=this.fn(n)),this.lastCache}}class WT{constructor(n){this.executor=n,this._didRun=!1}hasValue(){return this._didRun}getValue(){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 jT;function sN(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function lN(e){return e.split(/\r\n|\r|\n/)}function cN(e){for(let n=0,f=e.length;n=0;f--){const d=e.charCodeAt(f);if(d!==32&&d!==9)return f}return-1}function HT(e){return e>=65&&e<=90}function lE(e){return 55296<=e&&e<=56319}function fN(e){return 56320<=e&&e<=57343}function dN(e,n){return(e-55296<<10)+(n-56320)+65536}function pN(e,n,f){const d=e.charCodeAt(f);if(lE(d)&&f+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]}')),Id.cache=new oN(e=>{function n(v){const A=new Map;for(let q=0;q!v.startsWith("_")&&v in a);p.length===0&&(p=["_default"]);let N;for(const v of p){const A=n(a[v]);N=d(N,A)}const H=n(a._common),h=f(H,N);return new Id(h)}),Id._locales=new WT(()=>Object.keys(Id.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith("_")));class X_{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(X_.getRawData())),this._data}static isInvisibleCharacter(n){return X_.getData().has(n)}static get codePoints(){return X_.getData()}}X_._data=void 0;const gN="$initialize";class vN{constructor(n,f,d,a){this.vsWorker=n,this.req=f,this.method=d,this.args=a,this.type=0}}class JT{constructor(n,f,d,a){this.vsWorker=n,this.seq=f,this.res=d,this.err=a,this.type=1}}class hN{constructor(n,f,d,a){this.vsWorker=n,this.req=f,this.eventName=d,this.arg=a,this.type=2}}class yN{constructor(n,f,d){this.vsWorker=n,this.req=f,this.event=d,this.type=3}}class bN{constructor(n,f){this.vsWorker=n,this.req=f,this.type=4}}class EN{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,f){const d=String(++this._lastSentReq);return new Promise((a,p)=>{this._pendingReplies[d]={resolve:a,reject:p},this._send(new vN(this._workerId,d,n,f))})}listen(n,f){let d=null;const a=new zp({onFirstListenerAdd:()=>{d=String(++this._lastSentReq),this._pendingEmitters.set(d,a),this._send(new hN(this._workerId,d,n,f))},onLastListenerRemove:()=>{this._pendingEmitters.delete(d),this._send(new bN(this._workerId,d)),d=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 f=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let d=n.err;n.err.$isError&&(d=new Error,d.name=n.err.name,d.message=n.err.message,d.stack=n.err.stack),f.reject(d);return}f.resolve(n.res)}_handleRequestMessage(n){const f=n.req;this._handler.handleMessage(n.method,n.args).then(a=>{this._send(new JT(this._workerId,f,a,void 0))},a=>{a.detail instanceof Error&&(a.detail=BT(a.detail)),this._send(new JT(this._workerId,f,void 0,BT(a)))})}_handleSubscribeEventMessage(n){const f=n.req,d=this._handler.handleEvent(n.eventName,n.arg)(a=>{this._send(new yN(this._workerId,f,a))});this._pendingEvents.set(f,d)}_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 f=[];if(n.type===0)for(let d=0;dfunction(){const H=Array.prototype.slice.call(arguments,0);return n(N,H)},a=N=>function(H){return f(N,H)},p={};for(const N of e){if(zT(N)){p[N]=a(N);continue}if(KT(N)){p[N]=f(N,void 0);continue}p[N]=d(N)}return p}class SN{constructor(n,f){this._requestHandlerFactory=f,this._requestHandler=null,this._protocol=new EN({sendMessage:(d,a)=>{n(d,a)},handleMessage:(d,a)=>this._handleMessage(d,a),handleEvent:(d,a)=>this._handleEvent(d,a)})}onmessage(n){this._protocol.handleMessage(n)}_handleMessage(n,f){if(n===gN)return this.initialize(f[0],f[1],f[2],f[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,f))}catch(d){return Promise.reject(d)}}_handleEvent(n,f){if(!this._requestHandler)throw new Error("Missing requestHandler");if(zT(n)){const d=this._requestHandler[n].call(this._requestHandler,f);if(typeof d!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return d}if(KT(n)){const d=this._requestHandler[n];if(typeof d!="function")throw new Error(`Missing event ${n} on request handler.`);return d}throw new Error(`Malformed event name ${n}`)}initialize(n,f,d,a){this._protocol.setWorkerId(n);const H=TN(a,(h,v)=>this._protocol.sendMessage(h,v),(h,v)=>this._protocol.listen(h,v));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(H),Promise.resolve(sE(this._requestHandler))):(f&&(typeof f.baseUrl<"u"&&delete f.baseUrl,typeof f.paths<"u"&&typeof f.paths.vs<"u"&&delete f.paths.vs,typeof f.trustedTypesPolicy!==void 0&&delete f.trustedTypesPolicy,f.catchError=!0,su.require.config(f)),new Promise((h,v)=>{const A=su.require;A([d],q=>{if(this._requestHandler=q.create(H),!this._requestHandler){v(new Error("No RequestHandler!"));return}h(sE(this._requestHandler))},v)}))}}class Y_{constructor(n,f,d,a){this.originalStart=n,this.originalLength=f,this.modifiedStart=d,this.modifiedLength=a}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function qT(e,n){return(n<<5)-n+e|0}function DN(e,n){n=qT(149417,n);for(let f=0,d=e.length;f0||this.m_modifiedCount>0)&&this.m_changes.push(new Y_(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,f){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,f),this.m_originalCount++}AddModifiedElement(n,f){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,f),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 Q_{constructor(n,f,d=null){this.ContinueProcessingPredicate=d,this._originalSequence=n,this._modifiedSequence=f;const[a,p,N]=Q_._getElements(n),[H,h,v]=Q_._getElements(f);this._hasStrings=N&&v,this._originalStringElements=a,this._originalElementsOrHash=p,this._modifiedStringElements=H,this._modifiedElementsOrHash=h,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(n){return n.length>0&&typeof n[0]=="string"}static _getElements(n){const f=n.getElements();if(Q_._isStringArray(f)){const d=new Int32Array(f.length);for(let a=0,p=f.length;a=n&&a>=d&&this.ElementsAreEqual(f,a);)f--,a--;if(n>f||d>a){let q;return d<=a?(xg.Assert(n===f+1,"originalStart should only be one more than originalEnd"),q=[new Y_(n,0,d,a-d+1)]):n<=f?(xg.Assert(d===a+1,"modifiedStart should only be one more than modifiedEnd"),q=[new Y_(n,f-n+1,d,0)]):(xg.Assert(n===f+1,"originalStart should only be one more than originalEnd"),xg.Assert(d===a+1,"modifiedStart should only be one more than modifiedEnd"),q=[]),q}const N=[0],H=[0],h=this.ComputeRecursionPoint(n,f,d,a,N,H,p),v=N[0],A=H[0];if(h!==null)return h;if(!p[0]){const q=this.ComputeDiffRecursive(n,v,d,A,p);let ie=[];return p[0]?ie=[new Y_(v+1,f-(v+1)+1,A+1,a-(A+1)+1)]:ie=this.ComputeDiffRecursive(v+1,f,A+1,a,p),this.ConcatenateChanges(q,ie)}return[new Y_(n,f-n+1,d,a-d+1)]}WALKTRACE(n,f,d,a,p,N,H,h,v,A,q,ie,b,P,S,B,J,k){let M=null,x=null,w=new YT,K=f,Z=d,ne=b[0]-B[0]-a,R=-1073741824,Y=this.m_forwardHistory.length-1;do{const U=ne+n;U===K||U=0&&(v=this.m_forwardHistory[Y],n=v[0],K=1,Z=v.length-1)}while(--Y>=-1);if(M=w.getReverseChanges(),k[0]){let U=b[0]+1,$=B[0]+1;if(M!==null&&M.length>0){const T=M[M.length-1];U=Math.max(U,T.getOriginalEnd()),$=Math.max($,T.getModifiedEnd())}x=[new Y_(U,ie-U+1,$,S-$+1)]}else{w=new YT,K=N,Z=H,ne=b[0]-B[0]-h,R=1073741824,Y=J?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const U=ne+p;U===K||U=A[U+1]?(q=A[U+1]-1,P=q-ne-h,q>R&&w.MarkNextChange(),R=q+1,w.AddOriginalElement(q+1,P+1),ne=U+1-p):(q=A[U-1],P=q-ne-h,q>R&&w.MarkNextChange(),R=q,w.AddModifiedElement(q+1,P+1),ne=U-1-p),Y>=0&&(A=this.m_reverseHistory[Y],p=A[0],K=1,Z=A.length-1)}while(--Y>=-1);x=w.getChanges()}return this.ConcatenateChanges(M,x)}ComputeRecursionPoint(n,f,d,a,p,N,H){let h=0,v=0,A=0,q=0,ie=0,b=0;n--,d--,p[0]=0,N[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const P=f-n+(a-d),S=P+1,B=new Int32Array(S),J=new Int32Array(S),k=a-d,M=f-n,x=n-d,w=f-a,Z=(M-k)%2===0;B[k]=n,J[M]=f,H[0]=!1;for(let ne=1;ne<=P/2+1;ne++){let R=0,Y=0;A=this.ClipDiagonalBound(k-ne,ne,k,S),q=this.ClipDiagonalBound(k+ne,ne,k,S);for(let $=A;$<=q;$+=2){$===A||$R+Y&&(R=h,Y=v),!Z&&Math.abs($-M)<=ne-1&&h>=J[$])return p[0]=h,N[0]=v,T<=J[$]&&1447>0&&ne<=1447+1?this.WALKTRACE(k,A,q,x,M,ie,b,w,B,J,h,f,p,v,a,N,Z,H):null}const U=(R-n+(Y-d)-ne)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(R,U))return H[0]=!0,p[0]=R,N[0]=Y,U>0&&1447>0&&ne<=1447+1?this.WALKTRACE(k,A,q,x,M,ie,b,w,B,J,h,f,p,v,a,N,Z,H):(n++,d++,[new Y_(n,f-n+1,d,a-d+1)]);ie=this.ClipDiagonalBound(M-ne,ne,M,S),b=this.ClipDiagonalBound(M+ne,ne,M,S);for(let $=ie;$<=b;$+=2){$===ie||$=J[$+1]?h=J[$+1]-1:h=J[$-1],v=h-($-M)-w;const T=h;for(;h>n&&v>d&&this.ElementsAreEqual(h,v);)h--,v--;if(J[$]=h,Z&&Math.abs($-k)<=ne&&h<=B[$])return p[0]=h,N[0]=v,T>=B[$]&&1447>0&&ne<=1447+1?this.WALKTRACE(k,A,q,x,M,ie,b,w,B,J,h,f,p,v,a,N,Z,H):null}if(ne<=1447){let $=new Int32Array(q-A+2);$[0]=k-A+1,Ig.Copy2(B,A,$,1,q-A+1),this.m_forwardHistory.push($),$=new Int32Array(b-ie+2),$[0]=M-ie+1,Ig.Copy2(J,ie,$,1,b-ie+1),this.m_reverseHistory.push($)}}return this.WALKTRACE(k,A,q,x,M,ie,b,w,B,J,h,f,p,v,a,N,Z,H)}PrettifyChanges(n){for(let f=0;f0,H=d.modifiedLength>0;for(;d.originalStart+d.originalLength=0;f--){const d=n[f];let a=0,p=0;if(f>0){const q=n[f-1];a=q.originalStart+q.originalLength,p=q.modifiedStart+q.modifiedLength}const N=d.originalLength>0,H=d.modifiedLength>0;let h=0,v=this._boundaryScore(d.originalStart,d.originalLength,d.modifiedStart,d.modifiedLength);for(let q=1;;q++){const ie=d.originalStart-q,b=d.modifiedStart-q;if(iev&&(v=S,h=q)}d.originalStart-=h,d.modifiedStart-=h;const A=[null];if(f>0&&this.ChangesOverlap(n[f-1],n[f],A)){n[f-1]=A[0],n.splice(f,1),f++;continue}}if(this._hasStrings)for(let f=1,d=n.length;f0&&b>h&&(h=b,v=q,A=ie)}return h>0?[v,A]:null}_contiguousSequenceScore(n,f,d){let a=0;for(let p=0;p=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[n])}_OriginalRegionIsBoundary(n,f){if(this._OriginalIsBoundary(n)||this._OriginalIsBoundary(n-1))return!0;if(f>0){const d=n+f;if(this._OriginalIsBoundary(d-1)||this._OriginalIsBoundary(d))return!0}return!1}_ModifiedIsBoundary(n){return n<=0||n>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[n])}_ModifiedRegionIsBoundary(n,f){if(this._ModifiedIsBoundary(n)||this._ModifiedIsBoundary(n-1))return!0;if(f>0){const d=n+f;if(this._ModifiedIsBoundary(d-1)||this._ModifiedIsBoundary(d))return!0}return!1}_boundaryScore(n,f,d,a){const p=this._OriginalRegionIsBoundary(n,f)?1:0,N=this._ModifiedRegionIsBoundary(d,a)?1:0;return p+N}ConcatenateChanges(n,f){const d=[];if(n.length===0||f.length===0)return f.length>0?f:n;if(this.ChangesOverlap(n[n.length-1],f[0],d)){const a=new Array(n.length+f.length-1);return Ig.Copy(n,0,a,0,n.length-1),a[n.length-1]=d[0],Ig.Copy(f,1,a,n.length,f.length-1),a}else{const a=new Array(n.length+f.length);return Ig.Copy(n,0,a,0,n.length),Ig.Copy(f,0,a,n.length,f.length),a}}ChangesOverlap(n,f,d){if(xg.Assert(n.originalStart<=f.originalStart,"Left change is not less than or equal to right change"),xg.Assert(n.modifiedStart<=f.modifiedStart,"Left change is not less than or equal to right change"),n.originalStart+n.originalLength>=f.originalStart||n.modifiedStart+n.modifiedLength>=f.modifiedStart){const a=n.originalStart;let p=n.originalLength;const N=n.modifiedStart;let H=n.modifiedLength;return n.originalStart+n.originalLength>=f.originalStart&&(p=f.originalStart+f.originalLength-n.originalStart),n.modifiedStart+n.modifiedLength>=f.modifiedStart&&(H=f.modifiedStart+f.modifiedLength-n.modifiedStart),d[0]=new Y_(a,p,N,H),!0}else return d[0]=null,!1}ClipDiagonalBound(n,f,d,a){if(n>=0&&n=CN&&e<=IN||e>=xN&&e<=NN}function ey(e,n,f,d){let a="",p=0,N=-1,H=0,h=0;for(let v=0;v<=e.length;++v){if(v2){const A=a.lastIndexOf(f);A===-1?(a="",p=0):(a=a.slice(0,A),p=a.length-1-a.lastIndexOf(f)),N=v,H=0;continue}else if(a.length!==0){a="",p=0,N=v,H=0;continue}}n&&(a+=a.length>0?`${f}..`:"..",p=2)}else a.length>0?a+=`${f}${e.slice(N+1,v)}`:a=e.slice(N+1,v),p=v-N-1;N=v,H=0}else h===Z_&&H!==-1?++H:H=-1}return a}function ZT(e,n){if(n===null||typeof n!="object")throw new QT("pathObject","Object",n);const f=n.dir||n.root,d=n.base||`${n.name||""}${n.ext||""}`;return f?f===n.root?`${f}${d}`:`${f}${e}${d}`:d}const Yu={resolve(...e){let n="",f="",d=!1;for(let a=e.length-1;a>=-1;a--){let p;if(a>=0){if(p=e[a],Kl(p,"path"),p.length===0)continue}else n.length===0?p=cE():(p=AN[`=${n}`]||cE(),(p===void 0||p.slice(0,2).toLowerCase()!==n.toLowerCase()&&p.charCodeAt(2)===pf)&&(p=`${n}\\`));const N=p.length;let H=0,h="",v=!1;const A=p.charCodeAt(0);if(N===1)Zo(A)&&(H=1,v=!0);else if(Zo(A))if(v=!0,Zo(p.charCodeAt(1))){let q=2,ie=q;for(;q2&&Zo(p.charCodeAt(2))&&(v=!0,H=3));if(h.length>0)if(n.length>0){if(h.toLowerCase()!==n.toLowerCase())continue}else n=h;if(d){if(n.length>0)break}else if(f=`${p.slice(H)}\\${f}`,d=v,v&&n.length>0)break}return f=ey(f,!d,"\\",Zo),d?`${n}\\${f}`:`${n}${f}`||"."},normalize(e){Kl(e,"path");const n=e.length;if(n===0)return".";let f=0,d,a=!1;const p=e.charCodeAt(0);if(n===1)return uE(p)?"\\":e;if(Zo(p))if(a=!0,Zo(e.charCodeAt(1))){let H=2,h=H;for(;H2&&Zo(e.charCodeAt(2))&&(a=!0,f=3));let N=f0&&Zo(e.charCodeAt(n-1))&&(N+="\\"),d===void 0?a?`\\${N}`:N:a?`${d}\\${N}`:`${d}${N}`},isAbsolute(e){Kl(e,"path");const n=e.length;if(n===0)return!1;const f=e.charCodeAt(0);return Zo(f)||n>2&&em(f)&&e.charCodeAt(1)===$_&&Zo(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let n,f;for(let p=0;p0&&(n===void 0?n=f=N:n+=`\\${N}`)}if(n===void 0)return".";let d=!0,a=0;if(typeof f=="string"&&Zo(f.charCodeAt(0))){++a;const p=f.length;p>1&&Zo(f.charCodeAt(1))&&(++a,p>2&&(Zo(f.charCodeAt(2))?++a:d=!1))}if(d){for(;a=2&&(n=`\\${n.slice(a)}`)}return Yu.normalize(n)},relative(e,n){if(Kl(e,"from"),Kl(n,"to"),e===n)return"";const f=Yu.resolve(e),d=Yu.resolve(n);if(f===d||(e=f.toLowerCase(),n=d.toLowerCase(),e===n))return"";let a=0;for(;aa&&e.charCodeAt(p-1)===pf;)p--;const N=p-a;let H=0;for(;HH&&n.charCodeAt(h-1)===pf;)h--;const v=h-H,A=NA){if(n.charCodeAt(H+ie)===pf)return d.slice(H+ie+1);if(ie===2)return d.slice(H+ie)}N>A&&(e.charCodeAt(a+ie)===pf?q=ie:ie===2&&(q=3)),q===-1&&(q=0)}let b="";for(ie=a+q+1;ie<=p;++ie)(ie===p||e.charCodeAt(ie)===pf)&&(b+=b.length===0?"..":"\\..");return H+=q,b.length>0?`${b}${d.slice(H,h)}`:(d.charCodeAt(H)===pf&&++H,d.slice(H,h))},toNamespacedPath(e){if(typeof e!="string")return e;if(e.length===0)return"";const n=Yu.resolve(e);if(n.length<=2)return e;if(n.charCodeAt(0)===pf){if(n.charCodeAt(1)===pf){const f=n.charCodeAt(2);if(f!==kN&&f!==Z_)return`\\\\?\\UNC\\${n.slice(2)}`}}else if(em(n.charCodeAt(0))&&n.charCodeAt(1)===$_&&n.charCodeAt(2)===pf)return`\\\\?\\${n}`;return e},dirname(e){Kl(e,"path");const n=e.length;if(n===0)return".";let f=-1,d=0;const a=e.charCodeAt(0);if(n===1)return Zo(a)?e:".";if(Zo(a)){if(f=d=1,Zo(e.charCodeAt(1))){let H=2,h=H;for(;H2&&Zo(e.charCodeAt(2))?3:2,d=f);let p=-1,N=!0;for(let H=n-1;H>=d;--H)if(Zo(e.charCodeAt(H))){if(!N){p=H;break}}else N=!1;if(p===-1){if(f===-1)return".";p=f}return e.slice(0,p)},basename(e,n){n!==void 0&&Kl(n,"ext"),Kl(e,"path");let f=0,d=-1,a=!0,p;if(e.length>=2&&em(e.charCodeAt(0))&&e.charCodeAt(1)===$_&&(f=2),n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return"";let N=n.length-1,H=-1;for(p=e.length-1;p>=f;--p){const h=e.charCodeAt(p);if(Zo(h)){if(!a){f=p+1;break}}else H===-1&&(a=!1,H=p+1),N>=0&&(h===n.charCodeAt(N)?--N===-1&&(d=p):(N=-1,d=H))}return f===d?d=H:d===-1&&(d=e.length),e.slice(f,d)}for(p=e.length-1;p>=f;--p)if(Zo(e.charCodeAt(p))){if(!a){f=p+1;break}}else d===-1&&(a=!1,d=p+1);return d===-1?"":e.slice(f,d)},extname(e){Kl(e,"path");let n=0,f=-1,d=0,a=-1,p=!0,N=0;e.length>=2&&e.charCodeAt(1)===$_&&em(e.charCodeAt(0))&&(n=d=2);for(let H=e.length-1;H>=n;--H){const h=e.charCodeAt(H);if(Zo(h)){if(!p){d=H+1;break}continue}a===-1&&(p=!1,a=H+1),h===Z_?f===-1?f=H:N!==1&&(N=1):f!==-1&&(N=-1)}return f===-1||a===-1||N===0||N===1&&f===a-1&&f===d+1?"":e.slice(f,a)},format:ZT.bind(null,"\\"),parse(e){Kl(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;const f=e.length;let d=0,a=e.charCodeAt(0);if(f===1)return Zo(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(Zo(a)){if(d=1,Zo(e.charCodeAt(1))){let q=2,ie=q;for(;q0&&(n.root=e.slice(0,d));let p=-1,N=d,H=-1,h=!0,v=e.length-1,A=0;for(;v>=d;--v){if(a=e.charCodeAt(v),Zo(a)){if(!h){N=v+1;break}continue}H===-1&&(h=!1,H=v+1),a===Z_?p===-1?p=v:A!==1&&(A=1):p!==-1&&(A=-1)}return H!==-1&&(p===-1||A===0||A===1&&p===H-1&&p===N+1?n.base=n.name=e.slice(N,H):(n.name=e.slice(N,p),n.base=e.slice(N,H),n.ext=e.slice(p,H))),N>0&&N!==d?n.dir=e.slice(0,N-1):n.dir=n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},_f={resolve(...e){let n="",f=!1;for(let d=e.length-1;d>=-1&&!f;d--){const a=d>=0?e[d]:cE();Kl(a,"path"),a.length!==0&&(n=`${a}/${n}`,f=a.charCodeAt(0)===Wc)}return n=ey(n,!f,"/",uE),f?`/${n}`:n.length>0?n:"."},normalize(e){if(Kl(e,"path"),e.length===0)return".";const n=e.charCodeAt(0)===Wc,f=e.charCodeAt(e.length-1)===Wc;return e=ey(e,!n,"/",uE),e.length===0?n?"/":f?"./":".":(f&&(e+="/"),n?`/${e}`:e)},isAbsolute(e){return Kl(e,"path"),e.length>0&&e.charCodeAt(0)===Wc},join(...e){if(e.length===0)return".";let n;for(let f=0;f0&&(n===void 0?n=d:n+=`/${d}`)}return n===void 0?".":_f.normalize(n)},relative(e,n){if(Kl(e,"from"),Kl(n,"to"),e===n||(e=_f.resolve(e),n=_f.resolve(n),e===n))return"";const f=1,d=e.length,a=d-f,p=1,N=n.length-p,H=aH){if(n.charCodeAt(p+v)===Wc)return n.slice(p+v+1);if(v===0)return n.slice(p+v)}else a>H&&(e.charCodeAt(f+v)===Wc?h=v:v===0&&(h=0));let A="";for(v=f+h+1;v<=d;++v)(v===d||e.charCodeAt(v)===Wc)&&(A+=A.length===0?"..":"/..");return`${A}${n.slice(p+h)}`},toNamespacedPath(e){return e},dirname(e){if(Kl(e,"path"),e.length===0)return".";const n=e.charCodeAt(0)===Wc;let f=-1,d=!0;for(let a=e.length-1;a>=1;--a)if(e.charCodeAt(a)===Wc){if(!d){f=a;break}}else d=!1;return f===-1?n?"/":".":n&&f===1?"//":e.slice(0,f)},basename(e,n){n!==void 0&&Kl(n,"ext"),Kl(e,"path");let f=0,d=-1,a=!0,p;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return"";let N=n.length-1,H=-1;for(p=e.length-1;p>=0;--p){const h=e.charCodeAt(p);if(h===Wc){if(!a){f=p+1;break}}else H===-1&&(a=!1,H=p+1),N>=0&&(h===n.charCodeAt(N)?--N===-1&&(d=p):(N=-1,d=H))}return f===d?d=H:d===-1&&(d=e.length),e.slice(f,d)}for(p=e.length-1;p>=0;--p)if(e.charCodeAt(p)===Wc){if(!a){f=p+1;break}}else d===-1&&(a=!1,d=p+1);return d===-1?"":e.slice(f,d)},extname(e){Kl(e,"path");let n=-1,f=0,d=-1,a=!0,p=0;for(let N=e.length-1;N>=0;--N){const H=e.charCodeAt(N);if(H===Wc){if(!a){f=N+1;break}continue}d===-1&&(a=!1,d=N+1),H===Z_?n===-1?n=N:p!==1&&(p=1):n!==-1&&(p=-1)}return n===-1||d===-1||p===0||p===1&&n===d-1&&n===f+1?"":e.slice(n,d)},format:ZT.bind(null,"/"),parse(e){Kl(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;const f=e.charCodeAt(0)===Wc;let d;f?(n.root="/",d=1):d=0;let a=-1,p=0,N=-1,H=!0,h=e.length-1,v=0;for(;h>=d;--h){const A=e.charCodeAt(h);if(A===Wc){if(!H){p=h+1;break}continue}N===-1&&(H=!1,N=h+1),A===Z_?a===-1?a=h:v!==1&&(v=1):a!==-1&&(v=-1)}if(N!==-1){const A=p===0&&f?1:p;a===-1||v===0||v===1&&a===N-1&&a===p+1?n.base=n.name=e.slice(A,N):(n.name=e.slice(A,a),n.base=e.slice(A,N),n.ext=e.slice(a,N))}return p>0?n.dir=e.slice(0,p-1):f&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};_f.win32=Yu.win32=Yu,_f.posix=Yu.posix=_f,Om==="win32"?Yu.normalize:_f.normalize,Om==="win32"?Yu.resolve:_f.resolve,Om==="win32"?Yu.relative:_f.relative,Om==="win32"?Yu.dirname:_f.dirname,Om==="win32"?Yu.basename:_f.basename,Om==="win32"?Yu.extname:_f.extname,Om==="win32"?Yu.sep:_f.sep;const ON=/^\w[\w\d+.-]*$/,RN=/^\//,wN=/^\/\//;function $T(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&&!ON.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!RN.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(wN.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 PN(e,n){return!e&&!n?"file":e}function MN(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==hp&&(n=hp+n):n=hp;break}return n}const fl="",hp="/",FN=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Rm{constructor(n,f,d,a,p,N=!1){typeof n=="object"?(this.scheme=n.scheme||fl,this.authority=n.authority||fl,this.path=n.path||fl,this.query=n.query||fl,this.fragment=n.fragment||fl):(this.scheme=PN(n,N),this.authority=f||fl,this.path=MN(this.scheme,d||fl),this.query=a||fl,this.fragment=p||fl,$T(this,N))}static isUri(n){return n instanceof Rm?!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}get fsPath(){return fE(this,!1)}with(n){if(!n)return this;let{scheme:f,authority:d,path:a,query:p,fragment:N}=n;return f===void 0?f=this.scheme:f===null&&(f=fl),d===void 0?d=this.authority:d===null&&(d=fl),a===void 0?a=this.path:a===null&&(a=fl),p===void 0?p=this.query:p===null&&(p=fl),N===void 0?N=this.fragment:N===null&&(N=fl),f===this.scheme&&d===this.authority&&a===this.path&&p===this.query&&N===this.fragment?this:new kg(f,d,a,p,N)}static parse(n,f=!1){const d=FN.exec(n);return d?new kg(d[2]||fl,ry(d[4]||fl),ry(d[5]||fl),ry(d[7]||fl),ry(d[9]||fl),f):new kg(fl,fl,fl,fl,fl)}static file(n){let f=fl;if(Ov&&(n=n.replace(/\\/g,hp)),n[0]===hp&&n[1]===hp){const d=n.indexOf(hp,2);d===-1?(f=n.substring(2),n=hp):(f=n.substring(2,d),n=n.substring(d)||hp)}return new kg("file",f,n,fl,fl)}static from(n){const f=new kg(n.scheme,n.authority,n.path,n.query,n.fragment);return $T(f,!0),f}static joinPath(n,...f){if(!n.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let d;return Ov&&n.scheme==="file"?d=Rm.file(Yu.join(fE(n,!0),...f)).path:d=_f.join(n.path,...f),n.with({path:d})}toString(n=!1){return dE(this,n)}toJSON(){return this}static revive(n){if(n){if(n instanceof Rm)return n;{const f=new kg(n);return f._formatted=n.external,f._fsPath=n._sep===eS?n.fsPath:null,f}}else return n}}const eS=Ov?1:void 0;class kg extends Rm{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=fE(this,!1)),this._fsPath}toString(n=!1){return n?dE(this,!0):(this._formatted||(this._formatted=dE(this,!1)),this._formatted)}toJSON(){const n={$mid:1};return this._fsPath&&(n.fsPath=this._fsPath,n._sep=eS),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 rS={[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 tS(e,n){let f,d=-1;for(let a=0;a=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===45||p===46||p===95||p===126||n&&p===47)d!==-1&&(f+=encodeURIComponent(e.substring(d,a)),d=-1),f!==void 0&&(f+=e.charAt(a));else{f===void 0&&(f=e.substr(0,a));const N=rS[p];N!==void 0?(d!==-1&&(f+=encodeURIComponent(e.substring(d,a)),d=-1),f+=N):d===-1&&(d=a)}}return d!==-1&&(f+=encodeURIComponent(e.substring(d))),f!==void 0?f:e}function GN(e){let n;for(let f=0;f1&&e.scheme==="file"?f=`//${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?f=e.path.substr(1):f=e.path[1].toLowerCase()+e.path.substr(2):f=e.path,Ov&&(f=f.replace(/\//g,"\\")),f}function dE(e,n){const f=n?GN:tS;let d="",{scheme:a,authority:p,path:N,query:H,fragment:h}=e;if(a&&(d+=a,d+=":"),(p||a==="file")&&(d+=hp,d+=hp),p){let v=p.indexOf("@");if(v!==-1){const A=p.substr(0,v);p=p.substr(v+1),v=A.indexOf(":"),v===-1?d+=f(A,!1):(d+=f(A.substr(0,v),!1),d+=":",d+=f(A.substr(v+1),!1)),d+="@"}p=p.toLowerCase(),v=p.indexOf(":"),v===-1?d+=f(p,!1):(d+=f(p.substr(0,v),!1),d+=p.substr(v))}if(N){if(N.length>=3&&N.charCodeAt(0)===47&&N.charCodeAt(2)===58){const v=N.charCodeAt(1);v>=65&&v<=90&&(N=`/${String.fromCharCode(v+32)}:${N.substr(3)}`)}else if(N.length>=2&&N.charCodeAt(1)===58){const v=N.charCodeAt(0);v>=65&&v<=90&&(N=`${String.fromCharCode(v+32)}:${N.substr(2)}`)}d+=f(N,!0)}return H&&(d+="?",d+=f(H,!1)),h&&(d+="#",d+=n?h:tS(h,!1)),d}function nS(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+nS(e.substr(3)):e}}const aS=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ry(e){return e.match(aS)?e.replace(aS,n=>nS(n)):e}class mf{constructor(n,f){this.lineNumber=n,this.column=f}with(n=this.lineNumber,f=this.column){return n===this.lineNumber&&f===this.column?this:new mf(n,f)}delta(n=0,f=0){return this.with(this.lineNumber+n,this.column+f)}equals(n){return mf.equals(this,n)}static equals(n,f){return!n&&!f?!0:!!n&&!!f&&n.lineNumber===f.lineNumber&&n.column===f.column}isBefore(n){return mf.isBefore(this,n)}static isBefore(n,f){return n.lineNumberd||n===d&&f>a?(this.startLineNumber=d,this.startColumn=a,this.endLineNumber=n,this.endColumn=f):(this.startLineNumber=n,this.startColumn=f,this.endLineNumber=d,this.endColumn=a)}isEmpty(){return yl.isEmpty(this)}static isEmpty(n){return n.startLineNumber===n.endLineNumber&&n.startColumn===n.endColumn}containsPosition(n){return yl.containsPosition(this,n)}static containsPosition(n,f){return!(f.lineNumbern.endLineNumber||f.lineNumber===n.startLineNumber&&f.columnn.endColumn)}static strictContainsPosition(n,f){return!(f.lineNumbern.endLineNumber||f.lineNumber===n.startLineNumber&&f.column<=n.startColumn||f.lineNumber===n.endLineNumber&&f.column>=n.endColumn)}containsRange(n){return yl.containsRange(this,n)}static containsRange(n,f){return!(f.startLineNumbern.endLineNumber||f.endLineNumber>n.endLineNumber||f.startLineNumber===n.startLineNumber&&f.startColumnn.endColumn)}strictContainsRange(n){return yl.strictContainsRange(this,n)}static strictContainsRange(n,f){return!(f.startLineNumbern.endLineNumber||f.endLineNumber>n.endLineNumber||f.startLineNumber===n.startLineNumber&&f.startColumn<=n.startColumn||f.endLineNumber===n.endLineNumber&&f.endColumn>=n.endColumn)}plusRange(n){return yl.plusRange(this,n)}static plusRange(n,f){let d,a,p,N;return f.startLineNumbern.endLineNumber?(p=f.endLineNumber,N=f.endColumn):f.endLineNumber===n.endLineNumber?(p=f.endLineNumber,N=Math.max(f.endColumn,n.endColumn)):(p=n.endLineNumber,N=n.endColumn),new yl(d,a,p,N)}intersectRanges(n){return yl.intersectRanges(this,n)}static intersectRanges(n,f){let d=n.startLineNumber,a=n.startColumn,p=n.endLineNumber,N=n.endColumn;const H=f.startLineNumber,h=f.startColumn,v=f.endLineNumber,A=f.endColumn;return dv?(p=v,N=A):p===v&&(N=Math.min(N,A)),d>p||d===p&&a>N?null:new yl(d,a,p,N)}equalsRange(n){return yl.equalsRange(this,n)}static equalsRange(n,f){return!!n&&!!f&&n.startLineNumber===f.startLineNumber&&n.startColumn===f.startColumn&&n.endLineNumber===f.endLineNumber&&n.endColumn===f.endColumn}getEndPosition(){return yl.getEndPosition(this)}static getEndPosition(n){return new mf(n.endLineNumber,n.endColumn)}getStartPosition(){return yl.getStartPosition(this)}static getStartPosition(n){return new mf(n.startLineNumber,n.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(n,f){return new yl(this.startLineNumber,this.startColumn,n,f)}setStartPosition(n,f){return new yl(n,f,this.endLineNumber,this.endColumn)}collapseToStart(){return yl.collapseToStart(this)}static collapseToStart(n){return new yl(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)}static fromPositions(n,f=n){return new yl(n.lineNumber,n.column,f.lineNumber,f.column)}static lift(n){return n?new yl(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,f){return!(n.endLineNumbern.startLineNumber}toJSON(){return this}}const BN=3;function iS(e,n,f,d){return new Q_(e,n,f).ComputeDiff(d)}class oS{constructor(n){const f=[],d=[];for(let a=0,p=n.length;a(n===10?"\\n":String.fromCharCode(n))+`-(${this._lineNumbers[f]},${this._columns[f]})`).join(", ")+"]"}_assertIndex(n,f){if(n<0||n>=f.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 Rv{constructor(n,f,d,a,p,N,H,h){this.originalStartLineNumber=n,this.originalStartColumn=f,this.originalEndLineNumber=d,this.originalEndColumn=a,this.modifiedStartLineNumber=p,this.modifiedStartColumn=N,this.modifiedEndLineNumber=H,this.modifiedEndColumn=h}static createFromDiffChange(n,f,d){const a=f.getStartLineNumber(n.originalStart),p=f.getStartColumn(n.originalStart),N=f.getEndLineNumber(n.originalStart+n.originalLength-1),H=f.getEndColumn(n.originalStart+n.originalLength-1),h=d.getStartLineNumber(n.modifiedStart),v=d.getStartColumn(n.modifiedStart),A=d.getEndLineNumber(n.modifiedStart+n.modifiedLength-1),q=d.getEndColumn(n.modifiedStart+n.modifiedLength-1);return new Rv(a,p,N,H,h,v,A,q)}}function VN(e){if(e.length<=1)return e;const n=[e[0]];let f=n[0];for(let d=1,a=e.length;d0&&f.originalLength<20&&f.modifiedLength>0&&f.modifiedLength<20&&p()){const b=d.createCharSequence(n,f.originalStart,f.originalStart+f.originalLength-1),P=a.createCharSequence(n,f.modifiedStart,f.modifiedStart+f.modifiedLength-1);if(b.getElements().length>0&&P.getElements().length>0){let S=iS(b,P,p,!0).changes;H&&(S=VN(S)),ie=[];for(let B=0,J=S.length;B1&&S>1;){const B=ie.charCodeAt(P-2),J=b.charCodeAt(S-2);if(B!==J)break;P--,S--}(P>1||S>1)&&this._pushTrimWhitespaceCharChange(a,p+1,1,P,N+1,1,S)}{let P=_E(ie,1),S=_E(b,1);const B=ie.length+1,J=b.length+1;for(;P!0;const n=Date.now();return()=>Date.now()-n0}e.isGreaterThan=f;function d(a){return a===0}e.isNeitherLessOrGreaterThan=d,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(lS||(lS={}));function cS(e){return e<0?0:e>255?255:e|0}function Og(e){return e<0?0:e>4294967295?4294967295:e|0}class jN{constructor(n){this.values=n,this.prefixSum=new Uint32Array(n.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(n,f){n=Og(n);const d=this.values,a=this.prefixSum,p=f.length;return p===0?!1:(this.values=new Uint32Array(d.length+p),this.values.set(d.subarray(0,n),0),this.values.set(d.subarray(n),n+p),this.values.set(f,n),n-1=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(n,f){return n=Og(n),f=Og(f),this.values[n]===f?!1:(this.values[n]=f,n-1=d.length)return!1;const p=d.length-n;return f>=p&&(f=p),f===0?!1:(this.values=new Uint32Array(d.length-f),this.values.set(d.subarray(0,n),0),this.values.set(d.subarray(n+f),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=Og(n),this._getPrefixSum(n))}_getPrefixSum(n){if(n<=this.prefixSumValidIndex[0])return this.prefixSum[n];let f=this.prefixSumValidIndex[0]+1;f===0&&(this.prefixSum[0]=this.values[0],f++),n>=this.values.length&&(n=this.values.length-1);for(let d=f;d<=n;d++)this.prefixSum[d]=this.prefixSum[d-1]+this.values[d];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],n),this.prefixSum[n]}getIndexOf(n){n=Math.floor(n),this.getTotalSum();let f=0,d=this.values.length-1,a=0,p=0,N=0;for(;f<=d;)if(a=f+(d-f)/2|0,p=this.prefixSum[a],N=p-this.values[a],n=p)f=a+1;else break;return new HN(a,n-N)}}class HN{constructor(n,f){this.index=n,this.remainder=f,this._prefixSumIndexOfResultBrand=void 0,this.index=n,this.remainder=f}}class JN{constructor(n,f,d,a){this._uri=n,this._lines=f,this._eol=d,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 f=n.changes;for(const d of f)this._acceptDeleteRange(d.range),this._acceptInsertText(new mf(d.range.startLineNumber,d.range.startColumn),d.text);this._versionId=n.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const n=this._eol.length,f=this._lines.length,d=new Uint32Array(f);for(let a=0;a/?";function zN(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const f of KN)e.indexOf(f)>=0||(n+="\\"+f);return n+="\\s]+)",new RegExp(n,"g")}const uS=zN();function qN(e){let n=uS;if(e&&e instanceof RegExp)if(e.global)n=e;else{let f="g";e.ignoreCase&&(f+="i"),e.multiline&&(f+="m"),e.unicode&&(f+="u"),n=new RegExp(e.source,f)}return n.lastIndex=0,n}const fS=new Yh;fS.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function mE(e,n,f,d,a){if(a||(a=qh.first(fS)),f.length>a.maxLen){let v=e-a.maxLen/2;return v<0?v=0:d+=v,f=f.substring(v,e+a.maxLen/2),mE(e,n,f,d,a)}const p=Date.now(),N=e-1-d;let H=-1,h=null;for(let v=1;!(Date.now()-p>=a.timeBudget);v++){const A=N-a.windowSize*v;n.lastIndex=Math.max(0,A);const q=XN(n,f,N,H);if(!q&&h||(h=q,A<=0))break;H=A}if(h){const v={word:h[0],startColumn:d+1+h.index,endColumn:d+1+h.index+h[0].length};return n.lastIndex=0,v}return null}function XN(e,n,f,d){let a;for(;a=e.exec(n);){const p=a.index||0;if(p<=f&&e.lastIndex>=f)return a;if(d>0&&p>d)return null}return null}class gE{constructor(n){const f=cS(n);this._defaultValue=f,this._asciiMap=gE._createAsciiMap(f),this._map=new Map}static _createAsciiMap(n){const f=new Uint8Array(256);for(let d=0;d<256;d++)f[d]=n;return f}set(n,f){const d=cS(f);n>=0&&n<256?this._asciiMap[n]=d:this._map.set(n,d)}get(n){return n>=0&&n<256?this._asciiMap[n]:this._map.get(n)||this._defaultValue}}class YN{constructor(n,f,d){const a=new Uint8Array(n*f);for(let p=0,N=n*f;pf&&(f=h),H>d&&(d=H),v>d&&(d=v)}f++,d++;const a=new YN(d,f,0);for(let p=0,N=n.length;p=this._maxCharCode?0:this._states.get(n,f)}}let vE=null;function ZN(){return vE===null&&(vE=new QN([[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]])),vE}let Pv=null;function $N(){if(Pv===null){Pv=new gE(0);const e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let f=0;fa);if(a>0){const H=f.charCodeAt(a-1),h=f.charCodeAt(N);(H===40&&h===41||H===91&&h===93||H===123&&h===125)&&N--}return{range:{startLineNumber:d,startColumn:a+1,endLineNumber:d,endColumn:N+2},url:f.substring(a,N+1)}}static computeLinks(n,f=ZN()){const d=$N(),a=[];for(let p=1,N=n.getLineCount();p<=N;p++){const H=n.getLineContent(p),h=H.length;let v=0,A=0,q=0,ie=1,b=!1,P=!1,S=!1,B=!1;for(;v=0?(a+=d?1:-1,a<0?a=n.length-1:a%=n.length,n[a]):null}}hE.INSTANCE=new hE;const dS=Object.freeze(function(e,n){const f=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(f)}}});var ny;(function(e){function n(f){return f===e.None||f===e.Cancelled||f instanceof ay?!0:!f||typeof f!="object"?!1:typeof f.isCancellationRequested=="boolean"&&typeof f.onCancellationRequested=="function"}e.isCancellationToken=n,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:iE.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:dS})})(ny||(ny={}));class ay{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?dS:(this._emitter||(this._emitter=new zp),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class rk{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 ay),this._token}cancel(){this._token?this._token instanceof ay&&this._token.cancel():this._token=ny.Cancelled}dispose(n=!1){n&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof ay&&this._token.dispose():this._token=ny.None}}class yE{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(n,f){this._keyCodeToStr[n]=f,this._strToKeyCode[f.toLowerCase()]=n}keyCodeToStr(n){return this._keyCodeToStr[n]}strToKeyCode(n){return this._strToKeyCode[n.toLowerCase()]||0}}const iy=new yE,bE=new yE,EE=new yE,tk=new Array(230),nk=Object.create(null),ak=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]],f=[],d=[];for(const a of n){const[p,N,H,h,v,A,q,ie,b,P]=a;if(d[H]||(d[H]=!0,nk[h]=H,ak[h.toLowerCase()]=H),!f[v]){if(f[v]=!0,!A)throw new Error(`String representation missing for key code ${v} around scan code ${h}`);iy.define(v,A),bE.define(v,b||A),EE.define(v,P||b||A)}q&&(tk[q]=v)}})();var pS;(function(e){function n(H){return iy.keyCodeToStr(H)}e.toString=n;function f(H){return iy.strToKeyCode(H)}e.fromString=f;function d(H){return bE.keyCodeToStr(H)}e.toUserSettingsUS=d;function a(H){return EE.keyCodeToStr(H)}e.toUserSettingsGeneral=a;function p(H){return bE.strToKeyCode(H)||EE.strToKeyCode(H)}e.fromUserSettings=p;function N(H){if(H>=93&&H<=108)return null;switch(H){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return iy.keyCodeToStr(H)}e.toElectronAccelerator=N})(pS||(pS={}));function ik(e,n){const f=(n&65535)<<16>>>0;return(e|f)>>>0}class Qf extends yl{constructor(n,f,d,a){super(n,f,d,a),this.selectionStartLineNumber=n,this.selectionStartColumn=f,this.positionLineNumber=d,this.positionColumn=a}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(n){return Qf.selectionsEqual(this,n)}static selectionsEqual(n,f){return n.selectionStartLineNumber===f.selectionStartLineNumber&&n.selectionStartColumn===f.selectionStartColumn&&n.positionLineNumber===f.positionLineNumber&&n.positionColumn===f.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(n,f){return this.getDirection()===0?new Qf(this.startLineNumber,this.startColumn,n,f):new Qf(n,f,this.startLineNumber,this.startColumn)}getPosition(){return new mf(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new mf(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(n,f){return this.getDirection()===0?new Qf(n,f,this.endLineNumber,this.endColumn):new Qf(this.endLineNumber,this.endColumn,n,f)}static fromPositions(n,f=n){return new Qf(n.lineNumber,n.column,f.lineNumber,f.column)}static fromRange(n,f){return f===0?new Qf(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new Qf(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}static liftSelection(n){return new Qf(n.selectionStartLineNumber,n.selectionStartColumn,n.positionLineNumber,n.positionColumn)}static selectionsArrEqual(n,f){if(n&&!f||!n&&f)return!1;if(!n&&!f)return!0;if(n.length!==f.length)return!1;for(let d=0,a=n.length;d{this._map.get(n)===f&&(this._map.delete(n),this.fire([n]))})}registerFactory(n,f){var d;(d=this._factories.get(n))===null||d===void 0||d.dispose();const a=new sk(this,n,f);return this._factories.set(n,a),Xh(()=>{const p=this._factories.get(n);!p||p!==a||(this._factories.delete(n),p.dispose())})}getOrCreate(n){return TE(this,void 0,void 0,function*(){const f=this.get(n);if(f)return f;const d=this._factories.get(n);return!d||d.isResolved?null:(yield d.resolve(),this.get(n))})}get(n){return this._map.get(n)||null}isResolved(n){if(this.get(n))return!0;const d=this._factories.get(n);return!!(!d||d.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 sk extends $b{constructor(n,f,d){super(),this._registry=n,this._languageId=f,this._factory=d,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return TE(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return TE(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 lk{constructor(n,f,d){this._tokenBrand=void 0,this.offset=n,this.type=f,this.language=d}toString(){return"("+this.offset+", "+this.type+")"}}var mS;(function(e){const n=new Map;n.set(0,ae.symbolMethod),n.set(1,ae.symbolFunction),n.set(2,ae.symbolConstructor),n.set(3,ae.symbolField),n.set(4,ae.symbolVariable),n.set(5,ae.symbolClass),n.set(6,ae.symbolStruct),n.set(7,ae.symbolInterface),n.set(8,ae.symbolModule),n.set(9,ae.symbolProperty),n.set(10,ae.symbolEvent),n.set(11,ae.symbolOperator),n.set(12,ae.symbolUnit),n.set(13,ae.symbolValue),n.set(15,ae.symbolEnum),n.set(14,ae.symbolConstant),n.set(15,ae.symbolEnum),n.set(16,ae.symbolEnumMember),n.set(17,ae.symbolKeyword),n.set(27,ae.symbolSnippet),n.set(18,ae.symbolText),n.set(19,ae.symbolColor),n.set(20,ae.symbolFile),n.set(21,ae.symbolReference),n.set(22,ae.symbolCustomColor),n.set(23,ae.symbolFolder),n.set(24,ae.symbolTypeParameter),n.set(25,ae.account),n.set(26,ae.issues);function f(p){let N=n.get(p);return N||(console.info("No codicon found for CompletionItemKind "+p),N=ae.symbolProperty),N}e.toIcon=f;const d=new Map;d.set("method",0),d.set("function",1),d.set("constructor",2),d.set("field",3),d.set("variable",4),d.set("class",5),d.set("struct",6),d.set("interface",7),d.set("module",8),d.set("property",9),d.set("event",10),d.set("operator",11),d.set("unit",12),d.set("value",13),d.set("constant",14),d.set("enum",15),d.set("enum-member",16),d.set("enumMember",16),d.set("keyword",17),d.set("snippet",27),d.set("text",18),d.set("color",19),d.set("file",20),d.set("reference",21),d.set("customcolor",22),d.set("folder",23),d.set("type-parameter",24),d.set("typeParameter",24),d.set("account",25),d.set("issue",26);function a(p,N){let H=d.get(p);return typeof H>"u"&&!N&&(H=9),H}e.fromString=a})(mS||(mS={}));var gS;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(gS||(gS={}));var vS;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(vS||(vS={}));var hS;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(hS||(hS={}));var yS;(function(e){const n=new Map;n.set(0,ae.symbolFile),n.set(1,ae.symbolModule),n.set(2,ae.symbolNamespace),n.set(3,ae.symbolPackage),n.set(4,ae.symbolClass),n.set(5,ae.symbolMethod),n.set(6,ae.symbolProperty),n.set(7,ae.symbolField),n.set(8,ae.symbolConstructor),n.set(9,ae.symbolEnum),n.set(10,ae.symbolInterface),n.set(11,ae.symbolFunction),n.set(12,ae.symbolVariable),n.set(13,ae.symbolConstant),n.set(14,ae.symbolString),n.set(15,ae.symbolNumber),n.set(16,ae.symbolBoolean),n.set(17,ae.symbolArray),n.set(18,ae.symbolObject),n.set(19,ae.symbolKey),n.set(20,ae.symbolNull),n.set(21,ae.symbolEnumMember),n.set(22,ae.symbolStruct),n.set(23,ae.symbolEvent),n.set(24,ae.symbolOperator),n.set(25,ae.symbolTypeParameter);function f(d){let a=n.get(d);return a||(console.info("No codicon found for SymbolKind "+d),a=ae.symbolProperty),a}e.toIcon=f})(yS||(yS={}));var bS;(function(e){function n(f){return!f||typeof f!="object"?!1:typeof f.id=="string"&&typeof f.title=="string"}e.is=n})(bS||(bS={}));var ES;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(ES||(ES={})),new ok;var TS;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(TS||(TS={}));var SS;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(SS||(SS={}));var DS;(function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(DS||(DS={}));var LS;(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"})(LS||(LS={}));var AS;(function(e){e[e.Deprecated=1]="Deprecated"})(AS||(AS={}));var CS;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(CS||(CS={}));var xS;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(xS||(xS={}));var IS;(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"})(IS||(IS={}));var NS;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(NS||(NS={}));var kS;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(kS||(kS={}));var OS;(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"})(OS||(OS={}));var RS;(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.columnSelection=18]="columnSelection",e[e.comments=19]="comments",e[e.contextmenu=20]="contextmenu",e[e.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",e[e.cursorBlinking=22]="cursorBlinking",e[e.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",e[e.cursorStyle=24]="cursorStyle",e[e.cursorSurroundingLines=25]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",e[e.cursorWidth=27]="cursorWidth",e[e.disableLayerHinting=28]="disableLayerHinting",e[e.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",e[e.domReadOnly=30]="domReadOnly",e[e.dragAndDrop=31]="dragAndDrop",e[e.dropIntoEditor=32]="dropIntoEditor",e[e.emptySelectionClipboard=33]="emptySelectionClipboard",e[e.experimental=34]="experimental",e[e.extraEditorClassName=35]="extraEditorClassName",e[e.fastScrollSensitivity=36]="fastScrollSensitivity",e[e.find=37]="find",e[e.fixedOverflowWidgets=38]="fixedOverflowWidgets",e[e.folding=39]="folding",e[e.foldingStrategy=40]="foldingStrategy",e[e.foldingHighlight=41]="foldingHighlight",e[e.foldingImportsByDefault=42]="foldingImportsByDefault",e[e.foldingMaximumRegions=43]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=44]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=45]="fontFamily",e[e.fontInfo=46]="fontInfo",e[e.fontLigatures=47]="fontLigatures",e[e.fontSize=48]="fontSize",e[e.fontWeight=49]="fontWeight",e[e.formatOnPaste=50]="formatOnPaste",e[e.formatOnType=51]="formatOnType",e[e.glyphMargin=52]="glyphMargin",e[e.gotoLocation=53]="gotoLocation",e[e.hideCursorInOverviewRuler=54]="hideCursorInOverviewRuler",e[e.hover=55]="hover",e[e.inDiffEditor=56]="inDiffEditor",e[e.inlineSuggest=57]="inlineSuggest",e[e.letterSpacing=58]="letterSpacing",e[e.lightbulb=59]="lightbulb",e[e.lineDecorationsWidth=60]="lineDecorationsWidth",e[e.lineHeight=61]="lineHeight",e[e.lineNumbers=62]="lineNumbers",e[e.lineNumbersMinChars=63]="lineNumbersMinChars",e[e.linkedEditing=64]="linkedEditing",e[e.links=65]="links",e[e.matchBrackets=66]="matchBrackets",e[e.minimap=67]="minimap",e[e.mouseStyle=68]="mouseStyle",e[e.mouseWheelScrollSensitivity=69]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=70]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=71]="multiCursorMergeOverlapping",e[e.multiCursorModifier=72]="multiCursorModifier",e[e.multiCursorPaste=73]="multiCursorPaste",e[e.occurrencesHighlight=74]="occurrencesHighlight",e[e.overviewRulerBorder=75]="overviewRulerBorder",e[e.overviewRulerLanes=76]="overviewRulerLanes",e[e.padding=77]="padding",e[e.parameterHints=78]="parameterHints",e[e.peekWidgetDefaultFocus=79]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=80]="definitionLinkOpensInPeek",e[e.quickSuggestions=81]="quickSuggestions",e[e.quickSuggestionsDelay=82]="quickSuggestionsDelay",e[e.readOnly=83]="readOnly",e[e.renameOnType=84]="renameOnType",e[e.renderControlCharacters=85]="renderControlCharacters",e[e.renderFinalNewline=86]="renderFinalNewline",e[e.renderLineHighlight=87]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=88]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=89]="renderValidationDecorations",e[e.renderWhitespace=90]="renderWhitespace",e[e.revealHorizontalRightPadding=91]="revealHorizontalRightPadding",e[e.roundedSelection=92]="roundedSelection",e[e.rulers=93]="rulers",e[e.scrollbar=94]="scrollbar",e[e.scrollBeyondLastColumn=95]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=96]="scrollBeyondLastLine",e[e.scrollPredominantAxis=97]="scrollPredominantAxis",e[e.selectionClipboard=98]="selectionClipboard",e[e.selectionHighlight=99]="selectionHighlight",e[e.selectOnLineNumbers=100]="selectOnLineNumbers",e[e.showFoldingControls=101]="showFoldingControls",e[e.showUnused=102]="showUnused",e[e.snippetSuggestions=103]="snippetSuggestions",e[e.smartSelect=104]="smartSelect",e[e.smoothScrolling=105]="smoothScrolling",e[e.stickyTabStops=106]="stickyTabStops",e[e.stopRenderingLineAfter=107]="stopRenderingLineAfter",e[e.suggest=108]="suggest",e[e.suggestFontSize=109]="suggestFontSize",e[e.suggestLineHeight=110]="suggestLineHeight",e[e.suggestOnTriggerCharacters=111]="suggestOnTriggerCharacters",e[e.suggestSelection=112]="suggestSelection",e[e.tabCompletion=113]="tabCompletion",e[e.tabIndex=114]="tabIndex",e[e.unicodeHighlighting=115]="unicodeHighlighting",e[e.unusualLineTerminators=116]="unusualLineTerminators",e[e.useShadowDOM=117]="useShadowDOM",e[e.useTabStops=118]="useTabStops",e[e.wordSeparators=119]="wordSeparators",e[e.wordWrap=120]="wordWrap",e[e.wordWrapBreakAfterCharacters=121]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=122]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=123]="wordWrapColumn",e[e.wordWrapOverride1=124]="wordWrapOverride1",e[e.wordWrapOverride2=125]="wordWrapOverride2",e[e.wrappingIndent=126]="wrappingIndent",e[e.wrappingStrategy=127]="wrappingStrategy",e[e.showDeprecated=128]="showDeprecated",e[e.inlayHints=129]="inlayHints",e[e.editorClassName=130]="editorClassName",e[e.pixelRatio=131]="pixelRatio",e[e.tabFocusMode=132]="tabFocusMode",e[e.layoutInfo=133]="layoutInfo",e[e.wrappingInfo=134]="wrappingInfo"})(RS||(RS={}));var wS;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(wS||(wS={}));var PS;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(PS||(PS={}));var MS;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(MS||(MS={}));var FS;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(FS||(FS={}));var GS;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(GS||(GS={}));var BS;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(BS||(BS={}));var SE;(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"})(SE||(SE={}));var DE;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(DE||(DE={}));var LE;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(LE||(LE={}));var US;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(US||(US={}));var VS;(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"})(VS||(VS={}));var WS;(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"})(WS||(WS={}));var jS;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(jS||(jS={}));var HS;(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"})(HS||(HS={}));var JS;(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"})(JS||(JS={}));var KS;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(KS||(KS={}));var zS;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(zS||(zS={}));var qS;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(qS||(qS={}));var AE;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(AE||(AE={}));var XS;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(XS||(XS={}));var YS;(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"})(YS||(YS={}));var QS;(function(e){e[e.Deprecated=1]="Deprecated"})(QS||(QS={}));var ZS;(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"})(ZS||(ZS={}));var $S;(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"})($S||($S={}));var eD;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(eD||(eD={}));var rD;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(rD||(rD={}));class Mv{static chord(n,f){return ik(n,f)}}Mv.CtrlCmd=2048,Mv.Shift=1024,Mv.Alt=512,Mv.WinCtrl=256;function ck(){return{editor:void 0,languages:void 0,CancellationTokenSource:rk,Emitter:zp,KeyCode:SE,KeyMod:Mv,Position:mf,Range:yl,Selection:Qf,SelectionDirection:AE,MarkerSeverity:DE,MarkerTag:LE,Uri:Rm,Token:lk}}var tD;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(tD||(tD={}));var nD;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(nD||(nD={}));var aD;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(aD||(aD={}));function uk(e,n,f,d,a){if(d===0)return!0;const p=n.charCodeAt(d-1);if(e.get(p)!==0||p===13||p===10)return!0;if(a>0){const N=n.charCodeAt(d);if(e.get(N)!==0)return!0}return!1}function fk(e,n,f,d,a){if(d+a===f)return!0;const p=n.charCodeAt(d+a);if(e.get(p)!==0||p===13||p===10)return!0;if(a>0){const N=n.charCodeAt(d+a-1);if(e.get(N)!==0)return!0}return!1}function dk(e,n,f,d,a){return uk(e,n,f,d,a)&&fk(e,n,f,d,a)}class pk{constructor(n,f){this._wordSeparators=n,this._searchRegex=f,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(n){this._searchRegex.lastIndex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(n){const f=n.length;let d;do{if(this._prevMatchStartIndex+this._prevMatchLength===f||(d=this._searchRegex.exec(n),!d))return null;const a=d.index,p=d[0].length;if(a===this._prevMatchStartIndex&&p===this._prevMatchLength){if(p===0){pN(n,f,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=p,!this._wordSeparators||dk(this._wordSeparators,n,f,a,p))return d}while(d);return null}}class _k{static computeUnicodeHighlights(n,f,d){const a=d?d.startLineNumber:1,p=d?d.endLineNumber:n.getLineCount(),N=new iD(f),H=N.getCandidateCodePoints();let h;H==="allNonBasicAscii"?h=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):h=new RegExp(`${mk(Array.from(H))}`,"g");const v=new pk(null,h),A=[];let q=!1,ie,b=0,P=0,S=0;e:for(let B=a,J=p;B<=J;B++){const k=n.getLineContent(B),M=k.length;v.reset(0);do if(ie=v.next(k),ie){let x=ie.index,w=ie.index+ie[0].length;if(x>0){const R=k.charCodeAt(x-1);lE(R)&&x--}if(w+1=R){q=!0;break e}A.push(new yl(B,x+1,B,w+1))}}while(ie)}return{ranges:A,hasMore:q,ambiguousCharacterCount:b,invisibleCharacterCount:P,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(n,f){const d=new iD(f);switch(d.shouldHighlightNonBasicASCII(n,null)){case 0:return null;case 2:return{kind:1};case 3:{const p=n.codePointAt(0),N=d.ambiguousCharacters.getPrimaryConfusable(p),H=Id.getLocales().filter(h=>!Id.getInstance(new Set([...f.allowedLocales,h])).isAmbiguous(p));return{kind:0,confusableWith:String.fromCodePoint(N),notAmbiguousInLocales:H}}case 1:return{kind:2}}}}function mk(e,n){return`[${sN(e.map(d=>String.fromCodePoint(d)).join(""))}]`}class iD{constructor(n){this.options=n,this.allowedCodePoints=new Set(n.allowedCodePoints),this.ambiguousCharacters=Id.getInstance(new Set(n.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const n=new Set;if(this.options.invisibleCharacters)for(const f of X_.codePoints)oD(String.fromCodePoint(f))||n.add(f);if(this.options.ambiguousCharacters)for(const f of this.ambiguousCharacters.getConfusableCodePoints())n.add(f);for(const f of this.allowedCodePoints)n.delete(f);return n}shouldHighlightNonBasicASCII(n,f){const d=n.codePointAt(0);if(this.allowedCodePoints.has(d))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,p=!1;if(f)for(const N of f){const H=N.codePointAt(0),h=mN(N);a=a||h,!h&&!this.ambiguousCharacters.isAmbiguous(H)&&!X_.isInvisibleCharacter(H)&&(p=!0)}return!a&&p?0:this.options.invisibleCharacters&&!oD(n)&&X_.isInvisibleCharacter(d)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(d)?3:0}}function oD(e){return e===" "||e===` `||e===" "}var wm=function(e,n,f,d){function a(p){return p instanceof f?p:new f(function(N){N(p)})}return new(f||(f=Promise))(function(p,N){function H(A){try{v(d.next(A))}catch(q){N(q)}}function h(A){try{v(d.throw(A))}catch(q){N(q)}}function v(A){A.done?p(A.value):a(A.value).then(H,h)}v((d=d.apply(e,n||[])).next())})};class gk extends JN{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,f){const d=mE(n.column,qN(f),this._lines[n.lineNumber-1],0);return d?new yl(n.lineNumber,d.startColumn,n.lineNumber,d.endColumn):null}words(n){const f=this._lines,d=this._wordenize.bind(this);let a=0,p="",N=0,H=[];return{*[Symbol.iterator](){for(;;)if(Nthis._lines.length)f=this._lines.length,d=this._lines[f-1].length+1,a=!0;else{const p=this._lines[f-1].length+1;d<1?(d=1,a=!0):d>p&&(d=p,a=!0)}return a?{lineNumber:f,column:d}:n}}class Pm{constructor(n,f){this._host=n,this._models=Object.create(null),this._foreignModuleFactory=f,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(n){return this._models[n]}_getModels(){const n=[];return Object.keys(this._models).forEach(f=>n.push(this._models[f])),n}acceptNewModel(n){this._models[n.url]=new gk(Rm.parse(n.url),n.lines,n.EOL,n.versionId)}acceptModelChanged(n,f){if(!this._models[n])return;this._models[n].onEvents(f)}acceptRemovedModel(n){!this._models[n]||delete this._models[n]}computeUnicodeHighlights(n,f,d){return wm(this,void 0,void 0,function*(){const a=this._getModel(n);return a?_k.computeUnicodeHighlights(a,f,d):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(n,f,d,a){return wm(this,void 0,void 0,function*(){const p=this._getModel(n),N=this._getModel(f);return!p||!N?null:Pm.computeDiff(p,N,d,a)})}static computeDiff(n,f,d,a){const p=n.getLinesContent(),N=f.getLinesContent(),h=new WN(p,N,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:d,shouldMakePrettyDiff:!0,maxComputationTime:a}).computeDiff(),v=h.changes.length>0?!1:this._modelsAreIdentical(n,f);return{quitEarly:h.quitEarly,identical:v,changes:h.changes}}static _modelsAreIdentical(n,f){const d=n.getLineCount(),a=f.getLineCount();if(d!==a)return!1;for(let p=1;p<=d;p++){const N=n.getLineContent(p),H=f.getLineContent(p);if(N!==H)return!1}return!0}computeMoreMinimalEdits(n,f){return wm(this,void 0,void 0,function*(){const d=this._getModel(n);if(!d)return f;const a=[];let p;f=f.slice(0).sort((N,H)=>{if(N.range&&H.range)return yl.compareRangesUsingStarts(N.range,H.range);const h=N.range?0:1,v=H.range?0:1;return h-v});for(let{range:N,text:H,eol:h}of f){if(typeof h=="number"&&(p=h),yl.isEmpty(N)&&!H)continue;const v=d.getValueInRange(N);if(H=H.replace(/\r\n|\n|\r/g,d.eol),v===H)continue;if(Math.max(H.length,v.length)>Pm._diffLimit){a.push({range:N,text:H});continue}const A=LN(v,H,!1),q=d.offsetAt(yl.lift(N).getStartPosition());for(const ie of A){const b=d.positionAt(q+ie.originalStart),P=d.positionAt(q+ie.originalStart+ie.originalLength),S={text:H.substr(ie.modifiedStart,ie.modifiedLength),range:{startLineNumber:b.lineNumber,startColumn:b.column,endLineNumber:P.lineNumber,endColumn:P.column}};d.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 wm(this,void 0,void 0,function*(){const f=this._getModel(n);return f?ek(f):null})}textualSuggest(n,f,d,a){return wm(this,void 0,void 0,function*(){const p=new Zh(!0),N=new RegExp(d,a),H=new Set;e:for(const h of n){const v=this._getModel(h);if(!!v){for(const A of v.words(N))if(!(A===f||!isNaN(Number(A)))&&(H.add(A),H.size>Pm._suggestionsLimit))break e}}return{words:Array.from(H),duration:p.elapsed()}})}computeWordRanges(n,f,d,a){return wm(this,void 0,void 0,function*(){const p=this._getModel(n);if(!p)return Object.create(null);const N=new RegExp(d,a),H=Object.create(null);for(let h=f.startLineNumber;hthis._host.fhr(H,h)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(N,f),Promise.resolve(sE(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(n,f){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,f))}catch(d){return Promise.reject(d)}}}Pm._diffLimit=1e5,Pm._suggestionsLimit=1e4,typeof importScripts=="function"&&(su.monaco=ck());let CE=!1;function sD(e){if(CE)return;CE=!0;const n=new SN(f=>{self.postMessage(f)},f=>new Pm(f,e));self.onmessage=f=>{n.onmessage(f.data)}}self.onmessage=e=>{CE||sD(null)};/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.34.0(9d278685b078158491964f8fd7ac9628fffa0f30) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/var vk=Object.defineProperty,hk=(e,n)=>{for(var f in n)vk(e,f,{get:n[f],enumerable:!0})},lD={};hk(lD,{EndOfLineState:()=>Ek,IndentStyle:()=>Sk,ScriptKind:()=>Fm,ScriptTarget:()=>Dk,TokenClass:()=>Lk,createClassifier:()=>yk,createLanguageService:()=>fD,displayPartsToString:()=>bk,flattenDiagnosticMessageText:()=>Tk,typescript:()=>dD});var Gt=function(e,n,f){if(f||arguments.length===2)for(var d=0,a=n.length,p;d0&&p[p.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!p||v[1]>p[0]&&v[1]=0;er--){var hr=Be(se[er],er);if(hr)return hr}}e.forEachRight=N;function H(se,Be){if(se!==void 0)for(var er=0;er=0;er--){var hr=se[er];if(Be(hr,er))return hr}}e.findLast=B;function J(se,Be,er){for(var hr=er||0;hr=0;hr--)if(Be(se[hr],hr))return hr;return-1}e.findLastIndex=k;function M(se,Be){for(var er=0;er0;return!1}e.some=Q;function V(se,Be,er){for(var hr,qr=0;qr0&&e.Debug.assertGreaterThanOrEqual(er(Be[Dt],Be[Dt-1]),0);r:for(var Jt=qr;qrJt&&e.Debug.assertGreaterThanOrEqual(er(se[qr],se[qr-1]),0),er(Be[Dt],se[qr])){case-1:hr.push(Be[Dt]);continue e;case 0:continue e;case 1:continue r}}return hr}e.relativeComplement=qe;function Xe(se,Be){for(var er=0,hr=0,qr=se;hr>1),ta=er(se[Sn],Sn);switch(hr(ta,Be)){case-1:Dt=Sn+1;break;case 0:return Sn;case 1:Jt=Sn-1;break}}return~Dt}e.binarySearchKey=ze;function Ar(se,Be,er,hr,qr){if(se&&se.length>0){var Dt=se.length;if(Dt>0){var Jt=hr===void 0||hr<0?0:hr,Sn=qr===void 0||Jt+qr>Dt-1?Dt-1:Jt+qr,ta=void 0;for(arguments.length<=2?(ta=se[Jt],Jt++):ta=er;Jt<=Sn;)ta=Be(ta,se[Jt],Jt),Jt++;return ta}}return er}e.reduceLeft=Ar;var Yr=Object.prototype.hasOwnProperty;function lt(se,Be){return Yr.call(se,Be)}e.hasProperty=lt;function tt(se,Be){return Yr.call(se,Be)?se[Be]:void 0}e.getProperty=tt;function Rt(se){var Be=[];for(var er in se)Yr.call(se,er)&&Be.push(er);return Be}e.getOwnKeys=Rt;function cn(se){var Be=[];do for(var er=Object.getOwnPropertyNames(se),hr=0,qr=er;hrBe?1:0)}e.compareStringsCaseInsensitive=Pn;function dn(se,Be){return en(se,Be)}e.compareStringsCaseSensitive=dn;function oa(se){return se?Pn:dn}e.getStringComparer=oa;var pt=function(){var se,Be,er=Sn();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 qr(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 Sn(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?qr:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?Dt:Jt}function ta(xa){return xa===void 0?se||(se=er(xa)):xa==="en-US"?Be||(Be=er(xa)):er(xa)}}(),_t,Pt;function It(){return Pt}e.getUILocale=It;function rt(se){Pt!==se&&(Pt=se,_t=void 0)}e.setUILocale=rt;function Cn(se,Be){var er=_t||(_t=pt(Pt));return er(se,Be)}e.compareStringsCaseSensitiveUI=Cn;function Qn(se,Be,er,hr){return se===Be?0:se===void 0?-1:Be===void 0?1:hr(se[er],Be[er])}e.compareProperties=Qn;function Ra(se,Be){return St(se?1:0,Be?1:0)}e.compareBooleans=Ra;function Ci(se,Be,er){for(var hr=Math.min(2,Math.floor(se.length*.34)),qr=Math.floor(se.length*.4)+1,Dt,Jt=0,Sn=Be;Jter?Jt-er:1),xa=Math.floor(Be.length>er+Jt?er+Jt:Be.length);qr[0]=Jt;for(var Di=Jt,$a=1;$aer)return;var cs=hr;hr=qr,qr=cs}var bt=hr[Be.length];return bt>er?void 0:bt}function va(se,Be){var er=se.length-Be.length;return er>=0&&se.indexOf(Be,er)===er}e.endsWith=va;function yi(se,Be){return va(se,Be)?se.slice(0,se.length-Be.length):se}e.removeSuffix=yi;function ro(se,Be){return va(se,Be)?se.slice(0,se.length-Be.length):void 0}e.tryRemoveSuffix=ro;function Ka(se,Be){return se.indexOf(Be)!==-1}e.stringContains=Ka;function Pi(se){for(var Be=se.length,er=Be-1;er>0;er--){var hr=se.charCodeAt(er);if(hr>=48&&hr<=57)do--er,hr=se.charCodeAt(er);while(er>0&&hr>=48&&hr<=57);else if(er>4&&(hr===110||hr===78)){if(--er,hr=se.charCodeAt(er),hr!==105&&hr!==73||(--er,hr=se.charCodeAt(er),hr!==109&&hr!==77))break;--er,hr=se.charCodeAt(er)}else break;if(hr!==45&&hr!==46)break;Be=er}return Be===se.length?se:se.slice(0,Be)}e.removeMinAndVersionNumbers=Pi;function io(se,Be){for(var er=0;erqr&&(qr=ta.prefix.length,hr=Sn)}return hr}e.findBestPatternMatch=Yo;function co(se,Be){return se.lastIndexOf(Be,0)===0}e.startsWith=co;function za(se,Be){return co(se,Be)?se.substr(Be.length):se}e.removePrefix=za;function hi(se,Be,er){return er===void 0&&(er=ht),co(er(se),er(Be))?se.substring(Be.length):void 0}e.tryRemovePrefix=hi;function Zi(se,Be){var er=se.prefix,hr=se.suffix;return Be.length>=er.length+hr.length&&co(Be,er)&&va(Be,hr)}function Po(se,Be){return function(er){return se(er)&&Be(er)}}e.and=Po;function Mo(){for(var se=[],Be=0;Be=0&&e.isWhiteSpaceLike(se.charCodeAt(Be));)Be--;return se.slice(0,Be+1)}})(gr||(gr={}));var gr;(function(e){var n;(function(f){f[f.Off=0]="Off",f[f.Error=1]="Error",f[f.Warning=2]="Warning",f[f.Info=3]="Info",f[f.Verbose=4]="Verbose"})(n=e.LogLevel||(e.LogLevel={})),function(f){var d,a=0;f.currentLogLevel=n.Warning,f.isDebugging=!1;function p(){return d!=null?d:d=new e.Version(e.version)}f.getTypeScriptVersion=p;function N(lr){return f.currentLogLevel<=lr}f.shouldLog=N;function H(lr,Cr){f.loggingHost&&N(lr)&&f.loggingHost.log(lr,Cr)}function h(lr){H(n.Info,lr)}f.log=h,function(lr){function Cr(Hr){H(n.Error,Hr)}lr.error=Cr;function Or(Hr){H(n.Warning,Hr)}lr.warn=Or;function Ke(Hr){H(n.Info,Hr)}lr.log=Ke;function Pe(Hr){H(n.Verbose,Hr)}lr.trace=Pe}(h=f.log||(f.log={}));var v={};function A(){return a}f.getAssertionLevel=A;function q(lr){var Cr=a;if(a=lr,lr>Cr)for(var Or=0,Ke=e.getOwnKeys(v);Or=Hr.level&&(f[Pe]=Hr,v[Pe]=void 0)}}f.setAssertionLevel=q;function ie(lr){return a>=lr}f.shouldAssert=ie;function b(lr,Cr){return ie(lr)?!0:(v[Cr]={level:lr,assertion:f[Cr]},f[Cr]=e.noop,!1)}function P(lr,Cr){var Or=new Error(lr?"Debug Failure. ".concat(lr):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Or,Cr||P),Or}f.fail=P;function S(lr,Cr,Or){return P("".concat(Cr||"Unexpected node.",`\r Node `).concat(F(lr.kind)," was unexpected."),Or||S)}f.failBadSyntaxKind=S;function B(lr,Cr,Or,Ke){lr||(Cr=Cr?"False expression: ".concat(Cr):"False expression.",Or&&(Cr+=`\r Verbose Debug Information: `+(typeof Or=="string"?Or:Or())),P(Cr,Ke||B))}f.assert=B;function J(lr,Cr,Or,Ke,Pe){if(lr!==Cr){var Hr=Or?Ke?"".concat(Or," ").concat(Ke):Or:"";P("Expected ".concat(lr," === ").concat(Cr,". ").concat(Hr),Pe||J)}}f.assertEqual=J;function k(lr,Cr,Or,Ke){lr>=Cr&&P("Expected ".concat(lr," < ").concat(Cr,". ").concat(Or||""),Ke||k)}f.assertLessThan=k;function M(lr,Cr,Or){lr>Cr&&P("Expected ".concat(lr," <= ").concat(Cr),Or||M)}f.assertLessThanOrEqual=M;function x(lr,Cr,Or){lr= ").concat(Cr),Or||x)}f.assertGreaterThanOrEqual=x;function w(lr,Cr,Or){lr==null&&P(Cr,Or||w)}f.assertIsDefined=w;function K(lr,Cr,Or){return w(lr,Cr,Or||K),lr}f.checkDefined=K,f.assertDefined=K;function Z(lr,Cr,Or){for(var Ke=0,Pe=lr;Ke0&&Ke[0][0]===0?Ke[0][1]:"0";if(Or){for(var Pe="",Hr=lr,ur=0,vr=Ke;urlr)break;Fe!==0&&Fe&lr&&(Pe="".concat(Pe).concat(Pe?"|":"").concat($e),Hr&=~Fe)}if(Hr===0)return Pe}else for(var Dr=0,Fr=Ke;Dr=0;return de?De(lr,Hr,vr,Cr.message):Fe?Ae(lr,Hr,vr,Cr.message):e.noop}function Lr(lr,Cr){return function(){return lr(),Cr.apply(this,arguments)}}function Er(lr,Cr){var Or=Ye(C(lr),Cr);return Lr(Or,lr)}f.deprecate=Er}(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,f=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,d=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\d*)$/,p=function(){function Y(U,$,T,I,y){if($===void 0&&($=0),T===void 0&&(T=0),I===void 0&&(I=""),y===void 0&&(y=""),typeof U=="string"){var D=e.Debug.checkDefined(N(U),"Invalid version");U=D.major,$=D.minor,T=D.patch,I=D.prerelease,y=D.build}e.Debug.assert(U>=0,"Invalid argument: major"),e.Debug.assert($>=0,"Invalid argument: minor"),e.Debug.assert(T>=0,"Invalid argument: patch"),e.Debug.assert(!I||f.test(I),"Invalid argument: prerelease"),e.Debug.assert(!y||d.test(y),"Invalid argument: build"),this.major=U,this.minor=$,this.patch=T,this.prerelease=I?I.split("."):e.emptyArray,this.build=y?y.split("."):e.emptyArray}return Y.tryParse=function(U){var $=N(U);if(!!$){var T=$.major,I=$.minor,y=$.patch,D=$.prerelease,C=$.build;return new Y(T,I,y,D,C)}},Y.prototype.compareTo=function(U){return this===U?0:U===void 0?1:e.compareValues(this.major,U.major)||e.compareValues(this.minor,U.minor)||e.compareValues(this.patch,U.patch)||H(this.prerelease,U.prerelease)},Y.prototype.increment=function(U){switch(U){case"major":return new Y(this.major+1,0,0);case"minor":return new Y(this.major,this.minor+1,0);case"patch":return new Y(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(U)}},Y.prototype.toString=function(){var U="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return e.some(this.prerelease)&&(U+="-".concat(this.prerelease.join("."))),e.some(this.build)&&(U+="+".concat(this.build.join("."))),U},Y.zero=new Y(0,0,0),Y}();e.Version=p;function N(Y){var U=n.exec(Y);if(!!U){var $=U[1],T=U[2],I=T===void 0?"0":T,y=U[3],D=y===void 0?"0":y,C=U[4],m=C===void 0?"":C,u=U[5],g=u===void 0?"":u;if(!(m&&!f.test(m))&&!(g&&!d.test(g)))return{major:parseInt($,10),minor:parseInt(I,10),patch:parseInt(D,10),prerelease:m,build:g}}}function H(Y,U){if(Y===U)return 0;if(Y.length===0)return U.length===0?0:1;if(U.length===0)return-1;for(var $=Math.min(Y.length,U.length),T=0;T<$;T++){var I=Y[T],y=U[T];if(I!==y){var D=a.test(I),C=a.test(y);if(D||C){if(D!==C)return D?-1:1;var m=e.compareValues(+I,+y);if(m)return m}else{var m=e.compareStringsCaseSensitive(I,y);if(m)return m}}}return e.compareValues(Y.length,U.length)}var h=function(){function Y(U){this._alternatives=U?e.Debug.checkDefined(P(U),"Invalid range spec."):e.emptyArray}return Y.tryParse=function(U){var $=P(U);if($){var T=new Y("");return T._alternatives=$,T}},Y.prototype.test=function(U){return typeof U=="string"&&(U=new p(U)),x(U,this._alternatives)},Y.prototype.toString=function(){return Z(this._alternatives)},Y}();e.VersionRange=h;var v=/\|\|/g,A=/\s+/g,q=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,ie=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,b=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function P(Y){for(var U=[],$=0,T=e.trimString(Y).split(v);$=",T.version)),k(I.major)||$.push(k(I.minor)?M("<",I.version.increment("major")):k(I.patch)?M("<",I.version.increment("minor")):M("<=",I.version)),!0):!1}function J(Y,U,$){var T=S(U);if(!T)return!1;var I=T.version,y=T.major,D=T.minor,C=T.patch;if(k(y))(Y==="<"||Y===">")&&$.push(M("<",p.zero));else switch(Y){case"~":$.push(M(">=",I)),$.push(M("<",I.increment(k(D)?"major":"minor")));break;case"^":$.push(M(">=",I)),$.push(M("<",I.increment(I.major>0||k(D)?"major":I.minor>0||k(C)?"minor":"patch")));break;case"<":case">=":$.push(M(Y,I));break;case"<=":case">":$.push(k(D)?M(Y==="<="?"<":">=",I.increment("major")):k(C)?M(Y==="<="?"<":">=",I.increment("minor")):M(Y,I));break;case"=":case void 0:k(D)||k(C)?($.push(M(">=",I)),$.push(M("<",I.increment(k(D)?"major":"minor")))):$.push(M("=",I));break;default:return!1}return!0}function k(Y){return Y==="*"||Y==="x"||Y==="X"}function M(Y,U){return{operator:Y,operand:U}}function x(Y,U){if(U.length===0)return!0;for(var $=0,T=U;$":return T>0;case">=":return T>=0;case"=":return T===0;default:return e.Debug.assertNever(U)}}function Z(Y){return e.map(Y,ne).join(" || ")||"*"}function ne(Y){return e.map(Y,R).join(" ")}function R(Y){return"".concat(Y.operator).concat(Y.operand)}})(gr||(gr={}));var gr;(function(e){function n(H,h){return typeof H=="object"&&typeof H.timeOrigin=="number"&&typeof H.mark=="function"&&typeof H.measure=="function"&&typeof H.now=="function"&&typeof h=="function"}function f(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&n(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function d(){if(typeof process<"u"&&process.nextTick&&!process.browser&&typeof module=="object"&&!1)try{var H,h,v,A;if(n(v,A))var q,ie}catch(b){}}var a=f()||d(),p=a==null?void 0:a.performance;function N(){return a}e.tryGetNativePerformanceHooks=N,e.timestamp=p?function(){return p.now()}:Date.now?Date.now:function(){return+new Date}})(gr||(gr={}));var gr;(function(e){(function(n){var f,d;function a(M,x,w,K){return M?p(x,w,K):n.nullTimer}n.createTimerIf=a;function p(M,x,w){var K=0;return{enter:Z,exit:ne};function Z(){++K===1&&q(x)}function ne(){--K===0?(q(w),ie(M,x,w)):K<0&&e.Debug.fail("enter/exit count does not match.")}}n.createTimer=p,n.nullTimer={enter:e.noop,exit:e.noop};var N=!1,H=e.timestamp(),h=new e.Map,v=new e.Map,A=new e.Map;function q(M){var x;if(N){var w=(x=v.get(M))!==null&&x!==void 0?x:0;v.set(M,w+1),h.set(M,e.timestamp()),d==null||d.mark(M)}}n.mark=q;function ie(M,x,w){var K,Z;if(N){var ne=(K=w!==void 0?h.get(w):void 0)!==null&&K!==void 0?K:e.timestamp(),R=(Z=x!==void 0?h.get(x):void 0)!==null&&Z!==void 0?Z:H,Y=A.get(M)||0;A.set(M,Y+(ne-R)),d==null||d.measure(M,x,w)}}n.measure=ie;function b(M){return v.get(M)||0}n.getCount=b;function P(M){return A.get(M)||0}n.getDuration=P;function S(M){A.forEach(function(x,w){return M(w,x)})}n.forEachMeasure=S;function B(){return N}n.isEnabled=B;function J(M){var x;return M===void 0&&(M=e.sys),N||(N=!0,f||(f=e.tryGetNativePerformanceHooks()),f&&(H=f.performance.timeOrigin,(f.shouldWriteNativeEvents||((x=M==null?void 0:M.cpuProfilingEnabled)===null||x===void 0?void 0:x.call(M))||(M==null?void 0:M.debugMode))&&(d=f.performance))),!0}n.enable=J;function k(){N&&(h.clear(),v.clear(),A.clear(),d=void 0,N=!1)}n.disable=k})(e.performance||(e.performance={}))})(gr||(gr={}));var gr;(function(e){var n,f={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},d;try{var a=(n=process.env.TS_ETW_MODULE_PATH)!==null&&n!==void 0?n:"./node_modules/@microsoft/typescript-etw";d=void 0}catch{d=void 0}e.perfLogger=d&&d.logEvent?d:f})(gr||(gr={}));var gr;(function(e){var n;(function(f){var d,a=0,p=0,N,H=[],h,v=[];function A(ne,R,Y){if(e.Debug.assert(!e.tracing,"Tracing already started"),d===void 0)try{d=void 0}catch(y){throw new Error(`tracing requires having fs (original error: `.concat(y.message||y,")"))}N=ne,H.length=0,h===void 0&&(h=e.combinePaths(R,"legend.json")),d.existsSync(R)||d.mkdirSync(R,{recursive:!0});var U=N==="build"?".".concat(process.pid,"-").concat(++a):N==="server"?".".concat(process.pid):"",$=e.combinePaths(R,"trace".concat(U,".json")),T=e.combinePaths(R,"types".concat(U,".json"));v.push({configFilePath:Y,tracePath:$,typesPath:T}),p=d.openSync($,"w"),e.tracing=f;var I={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};d.writeSync(p,`[ `+[Rn({name:"process_name",args:{name:"tsc"}},I),Rn({name:"thread_name",args:{name:"Main"}},I),Rn(Rn({name:"TracingStartedInBrowser"},I),{cat:"disabled-by-default-devtools.timeline"})].map(function(y){return JSON.stringify(y)}).join(`, `))}f.startTracing=A;function q(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!H.length==(N!=="server")),d.writeSync(p,` ] `),d.closeSync(p),e.tracing=void 0,H.length?K(H):v[v.length-1].typesPath=void 0}f.stopTracing=q;function ie(ne){N!=="server"&&H.push(ne)}f.recordType=ie,function(ne){ne.Parse="parse",ne.Program="program",ne.Bind="bind",ne.Check="check",ne.CheckTypes="checkTypes",ne.Emit="emit",ne.Session="session"}(f.Phase||(f.Phase={}));function b(ne,R,Y){x("I",ne,R,Y,'"s":"g"')}f.instant=b;var P=[];function S(ne,R,Y,U){U===void 0&&(U=!1),U&&x("B",ne,R,Y),P.push({phase:ne,name:R,args:Y,time:1e3*e.timestamp(),separateBeginAndEnd:U})}f.push=S;function B(){e.Debug.assert(P.length>0),M(P.length-1,1e3*e.timestamp()),P.length--}f.pop=B;function J(){for(var ne=1e3*e.timestamp(),R=P.length-1;R>=0;R--)M(R,ne);P.length=0}f.popAll=J;var k=1e3*10;function M(ne,R){var Y=P[ne],U=Y.phase,$=Y.name,T=Y.args,I=Y.time,y=Y.separateBeginAndEnd;y?x("E",U,$,T,void 0,R):k-I%k<=R-I&&x("X",U,$,T,'"dur":'.concat(R-I),I)}function x(ne,R,Y,U,$,T){T===void 0&&(T=1e3*e.timestamp()),!(N==="server"&&R==="checkTypes")&&(e.performance.mark("beginTracing"),d.writeSync(p,`, {"pid":1,"tid":1,"ph":"`.concat(ne,'","cat":"').concat(R,'","ts":').concat(T,',"name":"').concat(Y,'"')),$&&d.writeSync(p,",".concat($)),U&&d.writeSync(p,',"args":'.concat(JSON.stringify(U))),d.writeSync(p,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function w(ne){var R=e.getSourceFileOfNode(ne);return R?{path:R.path,start:Y(e.getLineAndCharacterOfPosition(R,ne.pos)),end:Y(e.getLineAndCharacterOfPosition(R,ne.end))}:void 0;function Y(U){return{line:U.line+1,character:U.character+1}}}function K(ne){var R,Y,U,$,T,I,y,D,C,m,u,g,F,te,ue,X,j,Se,Ce,O,Q,V;e.performance.mark("beginDumpTypes");var z=v[v.length-1].typesPath,Te=d.openSync(z,"w"),ge=new e.Map;d.writeSync(Te,"[");for(var ke=ne.length,Me=0;Me0}e.isRootedDiskPath=p;function N(ve){var Ve=B(ve);return Ve>0&&Ve===ve.length}e.isDiskPathRoot=N;function H(ve){return B(ve)!==0}e.pathIsAbsolute=H;function h(ve){return/^\.\.?($|[\\/])/.test(ve)}e.pathIsRelative=h;function v(ve){return!H(ve)&&!h(ve)}e.pathIsBareSpecifier=v;function A(ve){return e.stringContains(M(ve),".")}e.hasExtension=A;function q(ve,Ve){return ve.length>Ve.length&&e.endsWith(ve,Ve)}e.fileExtensionIs=q;function ie(ve,Ve){for(var _e=0,Le=Ve;_e0&&d(ve.charCodeAt(ve.length-1))}e.hasTrailingDirectorySeparator=b;function P(ve){return ve>=97&&ve<=122||ve>=65&&ve<=90}function S(ve,Ve){var _e=ve.charCodeAt(Ve);if(_e===58)return Ve+1;if(_e===37&&ve.charCodeAt(Ve+1)===51){var Le=ve.charCodeAt(Ve+2);if(Le===97||Le===65)return Ve+3}return-1}function B(ve){if(!ve)return 0;var Ve=ve.charCodeAt(0);if(Ve===47||Ve===92){if(ve.charCodeAt(1)!==Ve)return 1;var _e=ve.indexOf(Ve===47?e.directorySeparator:e.altDirectorySeparator,2);return _e<0?ve.length:_e+1}if(P(Ve)&&ve.charCodeAt(1)===58){var Le=ve.charCodeAt(2);if(Le===47||Le===92)return 3;if(ve.length===2)return 2}var qe=ve.indexOf(n);if(qe!==-1){var Xe=qe+n.length,De=ve.indexOf(e.directorySeparator,Xe);if(De!==-1){var Ae=ve.slice(0,qe),Ye=ve.slice(Xe,De);if(Ae==="file"&&(Ye===""||Ye==="localhost")&&P(ve.charCodeAt(De+1))){var Lr=S(ve,De+2);if(Lr!==-1){if(ve.charCodeAt(Lr)===47)return~(Lr+1);if(Lr===ve.length)return~Lr}}return~(De+1)}return~ve.length}return 0}function J(ve){var Ve=B(ve);return Ve<0?~Ve:Ve}e.getRootLength=J;function k(ve){ve=Y(ve);var Ve=J(ve);return Ve===ve.length?ve:(ve=F(ve),ve.slice(0,Math.max(Ve,ve.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=k;function M(ve,Ve,_e){ve=Y(ve);var Le=J(ve);if(Le===ve.length)return"";ve=F(ve);var qe=ve.slice(Math.max(J(ve),ve.lastIndexOf(e.directorySeparator)+1)),Xe=Ve!==void 0&&_e!==void 0?K(qe,Ve,_e):void 0;return Xe?qe.slice(0,qe.length-Xe.length):qe}e.getBaseFileName=M;function x(ve,Ve,_e){if(e.startsWith(Ve,".")||(Ve="."+Ve),ve.length>=Ve.length&&ve.charCodeAt(ve.length-Ve.length)===46){var Le=ve.slice(ve.length-Ve.length);if(_e(Le,Ve))return Le}}function w(ve,Ve,_e){if(typeof Ve=="string")return x(ve,Ve,_e)||"";for(var Le=0,qe=Ve;Le=0?Le.substring(qe):""}e.getAnyExtensionFromPath=K;function Z(ve,Ve){var _e=ve.substring(0,Ve),Le=ve.substring(Ve).split(e.directorySeparator);return Le.length&&!e.lastOrUndefined(Le)&&Le.pop(),Gt([_e],Le,!0)}function ne(ve,Ve){return Ve===void 0&&(Ve=""),ve=$(Ve,ve),Z(ve,J(ve))}e.getPathComponents=ne;function R(ve){if(ve.length===0)return"";var Ve=ve[0]&&te(ve[0]);return Ve+ve.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=R;function Y(ve){var Ve=ve.indexOf("\\");return Ve===-1?ve:(f.lastIndex=Ve,ve.replace(f,e.directorySeparator))}e.normalizeSlashes=Y;function U(ve){if(!e.some(ve))return[];for(var Ve=[ve[0]],_e=1;_e1){if(Ve[Ve.length-1]!==".."){Ve.pop();continue}}else if(Ve[0])continue}Ve.push(Le)}}return Ve}e.reducePathComponents=U;function $(ve){for(var Ve=[],_e=1;_e0==J(Ve)>0,"Paths must either both be absolute or both be relative");var Le=typeof _e=="function"?_e:e.identity,qe=typeof _e=="boolean"?_e:!1,Xe=Te(ve,Ve,qe?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,Le);return R(Xe)}e.getRelativePathFromDirectory=ge;function ke(ve,Ve,_e){return p(ve)?Ie(Ve,ve,Ve,_e,!1):ve}e.convertToRelativePath=ke;function Me(ve,Ve,_e){return ue(ge(k(ve),Ve,_e))}e.getRelativePathFromFile=Me;function Ie(ve,Ve,_e,Le,qe){var Xe=Te(T(_e,ve),T(_e,Ve),e.equateStringsCaseSensitive,Le),De=Xe[0];if(qe&&p(De)){var Ae=De.charAt(0)===e.directorySeparator?"file://":"file:///";Xe[0]=Ae+De}return R(Xe)}e.getRelativePathToDirectoryOrUrl=Ie;function Ge(ve,Ve){for(;;){var _e=Ve(ve);if(_e!==void 0)return _e;var Le=k(ve);if(Le===ve)return;ve=Le}}e.forEachAncestorDirectory=Ge;function he(ve){return e.endsWith(ve,"/node_modules")}e.isNodeModulesDirectory=he})(gr||(gr={}));var gr;(function(e){function n(U){for(var $=5381,T=0;T"u")){var U=process.version;if(!!U){var $=U.indexOf(".");if($!==-1)return parseInt(U.substring(1,$))}}}e.getNodeMajorVersion=R,e.sys=void 0;function Y(U){e.sys=U}e.setSys=Y,e.sys&&e.sys.getEnvironmentVariable&&(v(e.sys),e.Debug.setAssertionLevel(/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)})(gr||(gr={}));var gr;(function(e){function n(f,d,a,p,N,H,h){return{code:f,category:d,key:a,message:p,reportsUnnecessary:N,elidedInCompatabilityPyramid:H,reportsDeprecated:h}}e.Diagnostics={Unterminated_string_literal:n(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:n(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:n(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:n(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_to_match_the_token_here:n(1007,e.DiagnosticCategory.Error,"The_parser_expected_to_find_a_to_match_the_token_here_1007","The parser expected to find a '}' to match the '{' token here."),Trailing_comma_not_allowed:n(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:n(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:n(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:n(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:n(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:n(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:n(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:n(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:n(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:n(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:n(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:n(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:n(1025,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:n(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:n(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:n(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:n(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:n(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:n(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:n(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:n(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:n(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:n(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n(1046,e.DiagnosticCategory.Error,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:n(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:n(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:n(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:n(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:n(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:n(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:n(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:n(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:n(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:n(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:n(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:n(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise 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 f(Ae){return Ae>=79}e.tokenIsIdentifierOrKeyword=f;function d(Ae){return Ae===31||f(Ae)}e.tokenIsIdentifierOrKeywordOrGreaterThan=d,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(Rn(Rn({},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}))),N=[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],H=[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],h=[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],v=[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],q=[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],ie=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,b=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function P(Ae,Ye){if(Ae=2?P(Ae,A):Ye===1?P(Ae,h):P(Ae,N)}e.isUnicodeIdentifierStart=S;function B(Ae,Ye){return Ye>=2?P(Ae,q):Ye===1?P(Ae,v):P(Ae,H)}function J(Ae){var Ye=[];return Ae.forEach(function(Lr,Er){Ye[Lr]=Er}),Ye}var k=J(p);function M(Ae){return k[Ae]}e.tokenToString=M;function x(Ae){return p.get(Ae)}e.stringToToken=x;function w(Ae){for(var Ye=new Array,Lr=0,Er=0;Lr127&&y(lr)&&(Ye.push(Er),Er=Lr);break}}return Ye.push(Er),Ye}e.computeLineStarts=w;function K(Ae,Ye,Lr,Er){return Ae.getPositionOfLineAndCharacter?Ae.getPositionOfLineAndCharacter(Ye,Lr,Er):Z(ne(Ae),Ye,Lr,Ae.text,Er)}e.getPositionOfLineAndCharacter=K;function Z(Ae,Ye,Lr,Er,lr){(Ye<0||Ye>=Ae.length)&&(lr?Ye=Ye<0?0:Ye>=Ae.length?Ae.length-1:Ye:e.Debug.fail("Bad line number. Line: ".concat(Ye,", lineStarts.length: ").concat(Ae.length," , line map is correct? ").concat(Er!==void 0?e.arraysEqual(Ae,w(Er)):"unknown")));var Cr=Ae[Ye]+Lr;return lr?Cr>Ae[Ye+1]?Ae[Ye+1]:typeof Er=="string"&&Cr>Er.length?Er.length:Cr:(Ye=8192&&Ae<=8203||Ae===8239||Ae===8287||Ae===12288||Ae===65279}e.isWhiteSpaceSingleLine=I;function y(Ae){return Ae===10||Ae===13||Ae===8232||Ae===8233}e.isLineBreak=y;function D(Ae){return Ae>=48&&Ae<=57}function C(Ae){return D(Ae)||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102}function m(Ae){return Ae<=1114111}function u(Ae){return Ae>=48&&Ae<=55}e.isOctalDigit=u;function g(Ae,Ye){var Lr=Ae.charCodeAt(Ye);switch(Lr){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 Lr>127}}e.couldStartTrivia=g;function F(Ae,Ye,Lr,Er,lr){if(e.positionIsSynthesized(Ye))return Ye;for(var Cr=!1;;){var Or=Ae.charCodeAt(Ye);switch(Or){case 13:Ae.charCodeAt(Ye+1)===10&&Ye++;case 10:if(Ye++,Lr)return Ye;Cr=!!lr;continue;case 9:case 11:case 12:case 32:Ye++;continue;case 47:if(Er)break;if(Ae.charCodeAt(Ye+1)===47){for(Ye+=2;Ye127&&T(Or)){Ye++;continue}break}return Ye}}e.skipTrivia=F;var te=7;function ue(Ae,Ye){if(e.Debug.assert(Ye>=0),Ye===0||y(Ae.charCodeAt(Ye-1))){var Lr=Ae.charCodeAt(Ye);if(Ye+te=0&&Lr127&&T(Dr)){vr&&y(Dr)&&(ur=!0),Lr++;continue}break e}}return vr&&(Fe=lr(Ke,Pe,Hr,ur,Cr,Fe)),Fe}function Q(Ae,Ye,Lr,Er){return O(!1,Ae,Ye,!1,Lr,Er)}e.forEachLeadingCommentRange=Q;function V(Ae,Ye,Lr,Er){return O(!1,Ae,Ye,!0,Lr,Er)}e.forEachTrailingCommentRange=V;function z(Ae,Ye,Lr,Er,lr){return O(!0,Ae,Ye,!1,Lr,Er,lr)}e.reduceEachLeadingCommentRange=z;function Te(Ae,Ye,Lr,Er,lr){return O(!0,Ae,Ye,!0,Lr,Er,lr)}e.reduceEachTrailingCommentRange=Te;function ge(Ae,Ye,Lr,Er,lr,Cr){return Cr||(Cr=[]),Cr.push({kind:Lr,pos:Ae,end:Ye,hasTrailingNewLine:Er}),Cr}function ke(Ae,Ye){return z(Ae,Ye,ge,void 0,void 0)}e.getLeadingCommentRanges=ke;function Me(Ae,Ye){return Te(Ae,Ye,ge,void 0,void 0)}e.getTrailingCommentRanges=Me;function Ie(Ae){var Ye=j.exec(Ae);if(Ye)return Ye[0]}e.getShebang=Ie;function Ge(Ae,Ye){return Ae>=65&&Ae<=90||Ae>=97&&Ae<=122||Ae===36||Ae===95||Ae>127&&S(Ae,Ye)}e.isIdentifierStart=Ge;function he(Ae,Ye,Lr){return Ae>=65&&Ae<=90||Ae>=97&&Ae<=122||Ae>=48&&Ae<=57||Ae===36||Ae===95||(Lr===1?Ae===45||Ae===58:!1)||Ae>127&&B(Ae,Ye)}e.isIdentifierPart=he;function ve(Ae,Ye,Lr){var Er=_e(Ae,0);if(!Ge(Er,Ye))return!1;for(var lr=Le(Er);lr116},isReservedWord:function(){return de>=81&&de<=116},isUnterminated:function(){return($e&4)!==0},getCommentDirectives:function(){return Dr},getNumericLiteralFlags:function(){return $e&1008},getTokenFlags:function(){return $e},reScanGreaterToken:Ne,reScanAsteriskEqualsToken:me,reScanSlashToken:Ze,reScanTemplateToken:dr,reScanTemplateHeadOrNoSubstitutionTemplate:et,scanJsxIdentifier:zr,scanJsxAttributeValue:gt,reScanJsxAttributeValue:vt,reScanJsxToken:yt,reScanLessThanToken:Wr,reScanHashToken:tr,reScanQuestionToken:Ir,reScanInvalidIdentifier:We,scanJsxToken:kr,scanJsDocToken:ut,scan:Ee,getText:mt,clearCommentDirectives:rn,setText:sa,setScriptTarget:Jn,setLanguageVariant:na,setOnError:ba,setTextPos:Wn,setInJSDocType:en,tryScan:Qt,lookAhead:wt,scanRange:xt};return e.Debug.isDebugging&&Object.defineProperty(He,"__debugShowCurrentPositionInText",{get:function(){var St=He.getText();return St.slice(0,He.getStartPos())+"\u2551"+St.slice(He.getStartPos())}}),He;function pr(St,Ut,qt){if(Ut===void 0&&(Ut=Pe),lr){var Pn=Pe;Pe=Ut,lr(St,qt||0),Pe=Pn}}function Jr(){for(var St=Pe,Ut=!1,qt=!1,Pn="";;){var dn=Ke.charCodeAt(Pe);if(dn===95){$e|=512,Ut?(Ut=!1,qt=!0,Pn+=Ke.substring(St,Pe)):pr(qt?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Pe,1),Pe++,St=Pe;continue}if(D(dn)){Ut=!0,qt=!1,Pe++;continue}break}return Ke.charCodeAt(Pe-1)===95&&pr(e.Diagnostics.Numeric_separators_are_not_allowed_here,Pe-1,1),Pn+Ke.substring(St,Pe)}function ze(){var St=Pe,Ut=Jr(),qt,Pn;Ke.charCodeAt(Pe)===46&&(Pe++,qt=Jr());var dn=Pe;if(Ke.charCodeAt(Pe)===69||Ke.charCodeAt(Pe)===101){Pe++,$e|=16,(Ke.charCodeAt(Pe)===43||Ke.charCodeAt(Pe)===45)&&Pe++;var oa=Pe,pt=Jr();pt?(Pn=Ke.substring(dn,oa)+pt,dn=Pe):pr(e.Diagnostics.Digit_expected)}var _t;if($e&512?(_t=Ut,qt&&(_t+="."+qt),Pn&&(_t+=Pn)):_t=Ke.substring(St,dn),qt!==void 0||$e&16)return Ar(St,qt===void 0&&!!($e&16)),{type:8,value:""+ +_t};Fe=_t;var Pt=je();return Ar(St),{type:Pt,value:Fe}}function Ar(St,Ut){if(!!Ge(_e(Ke,Pe),Ae)){var qt=Pe,Pn=ye().length;Pn===1&&Ke[qt]==="n"?pr(Ut?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,St,qt-St+1):(pr(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,qt,Pn),Pe=qt)}}function Yr(){for(var St=Pe;u(Ke.charCodeAt(Pe));)Pe++;return+Ke.substring(St,Pe)}function lt(St,Ut){var qt=Rt(St,!1,Ut);return qt?parseInt(qt,16):-1}function tt(St,Ut){return Rt(St,!0,Ut)}function Rt(St,Ut,qt){for(var Pn=[],dn=!1,oa=!1;Pn.length=65&&pt<=70)pt+=97-65;else if(!(pt>=48&&pt<=57||pt>=97&&pt<=102))break;Pn.push(pt),Pe++,oa=!1}return Pn.length=Hr){qt+=Ke.substring(Pn,Pe),$e|=4,pr(e.Diagnostics.Unterminated_string_literal);break}var dn=Ke.charCodeAt(Pe);if(dn===Ut){qt+=Ke.substring(Pn,Pe),Pe++;break}if(dn===92&&!St){qt+=Ke.substring(Pn,Pe),qt+=In(),Pn=Pe;continue}if(y(dn)&&!St){qt+=Ke.substring(Pn,Pe),$e|=4,pr(e.Diagnostics.Unterminated_string_literal);break}Pe++}return qt}function bn(St){var Ut=Ke.charCodeAt(Pe)===96;Pe++;for(var qt=Pe,Pn="",dn;;){if(Pe>=Hr){Pn+=Ke.substring(qt,Pe),$e|=4,pr(e.Diagnostics.Unterminated_template_literal),dn=Ut?14:17;break}var oa=Ke.charCodeAt(Pe);if(oa===96){Pn+=Ke.substring(qt,Pe),Pe++,dn=Ut?14:17;break}if(oa===36&&Pe+1=Hr)return pr(e.Diagnostics.Unexpected_end_of_text),"";var qt=Ke.charCodeAt(Pe);switch(Pe++,qt){case 48:return St&&Pe=0?String.fromCharCode(Ut):(pr(e.Diagnostics.Hexadecimal_digit_expected),"")}function ir(){var St=tt(1,!1),Ut=St?parseInt(St,16):-1,qt=!1;return Ut<0?(pr(e.Diagnostics.Hexadecimal_digit_expected),qt=!0):Ut>1114111&&(pr(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),qt=!0),Pe>=Hr?(pr(e.Diagnostics.Unexpected_end_of_text),qt=!0):Ke.charCodeAt(Pe)===125?Pe++:(pr(e.Diagnostics.Unterminated_Unicode_escape_sequence),qt=!0),qt?"":De(Ut)}function Rr(){if(Pe+5=2&&_e(Ke,Pe+1)===117&&_e(Ke,Pe+2)===123){var St=Pe;Pe+=3;var Ut=tt(1,!1),qt=Ut?parseInt(Ut,16):-1;return Pe=St,qt}return-1}function ye(){for(var St="",Ut=Pe;Pe=0&&he(qt,Ae)){Pe+=3,$e|=8,St+=ir(),Ut=Pe;continue}if(qt=Rr(),!(qt>=0&&he(qt,Ae)))break;$e|=1024,St+=Ke.substring(Ut,Pe),St+=De(qt),Pe+=6,Ut=Pe}else break}return St+=Ke.substring(Ut,Pe),St}function or(){var St=Fe.length;if(St>=2&&St<=12){var Ut=Fe.charCodeAt(0);if(Ut>=97&&Ut<=122){var qt=a.get(Fe);if(qt!==void 0)return de=qt}}return de=79}function fe(St){for(var Ut="",qt=!1,Pn=!1;;){var dn=Ke.charCodeAt(Pe);if(dn===95){$e|=512,qt?(qt=!1,Pn=!0):pr(Pn?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Pe,1),Pe++;continue}if(qt=!0,!D(dn)||dn-48>=St)break;Ut+=Ke[Pe],Pe++,Pn=!1}return Ke.charCodeAt(Pe-1)===95&&pr(e.Diagnostics.Numeric_separators_are_not_allowed_here,Pe-1,1),Ut}function je(){if(Ke.charCodeAt(Pe)===110)return Fe+="n",$e&384&&(Fe=e.parsePseudoBigInt(Fe)+"n"),Pe++,9;var St=$e&128?parseInt(Fe.slice(2),2):$e&256?parseInt(Fe.slice(2),8):+Fe;return Fe=""+St,8}function Ee(){var St;ur=Pe,$e=0;for(var Ut=!1;;){if(vr=Pe,Pe>=Hr)return de=1;var qt=_e(Ke,Pe);if(qt===35&&Pe===0&&Se(Ke,Pe)){if(Pe=Ce(Ke,Pe),Ye)continue;return de=6}switch(qt){case 10:case 13:if($e|=1,Ye){Pe++;continue}else return qt===13&&Pe+1=0&&Ge(pt,Ae))return Pe+=3,$e|=8,Fe=ir()+ye(),de=or();var _t=Rr();return _t>=0&&Ge(_t,Ae)?(Pe+=6,$e|=1024,Fe=String.fromCharCode(_t)+ye(),de=or()):(pr(e.Diagnostics.Invalid_character),Pe++,de=0);case 35:return Pe!==0&&Ke[Pe+1]==="!"?(pr(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),Pe++,de=0):(Ge(_e(Ke,Pe+1),Ae)?(Pe++,ee(_e(Ke,Pe),Ae)):(Fe=String.fromCharCode(_e(Ke,Pe)),pr(e.Diagnostics.Invalid_character,Pe++,Le(qt))),de=80);default:var Pt=ee(qt,Ae);if(Pt)return de=Pt;if(I(qt)){Pe+=Le(qt);continue}else if(y(qt)){$e|=1,Pe+=Le(qt);continue}var It=Le(qt);return pr(e.Diagnostics.Invalid_character,Pe,It),Pe+=It,de=0}}}function We(){e.Debug.assert(de===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),Pe=vr=ur,$e=0;var St=_e(Ke,Pe),Ut=ee(St,99);return Ut?de=Ut:(Pe+=Le(St),de)}function ee(St,Ut){var qt=St;if(Ge(qt,Ut)){for(Pe+=Le(qt);Pe=Hr)return de=1;var Ut=Ke.charCodeAt(Pe);if(Ut===60)return Ke.charCodeAt(Pe+1)===47?(Pe+=2,de=30):(Pe++,de=29);if(Ut===123)return Pe++,de=18;for(var qt=0;Pe0)break;T(Ut)||(qt=Pe)}Pe++}return Fe=Ke.substring(ur,Pe),qt===-1?12:11}function zr(){if(f(de)){for(var St=!1;Pe=Hr)return de=1;var St=_e(Ke,Pe);switch(Pe+=Le(St),St){case 9:case 11:case 12:case 32:for(;Pe=0&&Ge(Ut,Ae))return Pe+=3,$e|=8,Fe=ir()+ye(),de=or();var qt=Rr();return qt>=0&&Ge(qt,Ae)?(Pe+=6,$e|=1024,Fe=String.fromCharCode(qt)+ye(),de=or()):(Pe++,de=0)}if(Ge(St,Ae)){for(var Pn=St;Pe=0),Pe=St,ur=St,vr=St,de=0,Fe=void 0,$e=0}function en(St){Fr+=St?1:-1}}e.createScanner=Ve;var _e=String.prototype.codePointAt?function(Ae,Ye){return Ae.codePointAt(Ye)}:function(Ye,Lr){var Er=Ye.length;if(!(Lr<0||Lr>=Er)){var lr=Ye.charCodeAt(Lr);if(lr>=55296&&lr<=56319&&Er>Lr+1){var Cr=Ye.charCodeAt(Lr+1);if(Cr>=56320&&Cr<=57343)return(lr-55296)*1024+Cr-56320+65536}return lr}};function Le(Ae){return Ae>=65536?2:1}function qe(Ae){if(e.Debug.assert(0<=Ae&&Ae<=1114111),Ae<=65535)return String.fromCharCode(Ae);var Ye=Math.floor((Ae-65536)/1024)+55296,Lr=(Ae-65536)%1024+56320;return String.fromCharCode(Ye,Lr)}var Xe=String.fromCodePoint?function(Ae){return String.fromCodePoint(Ae)}:qe;function De(Ae){return Xe(Ae)}e.utf16EncodeAsString=De})(gr||(gr={}));var gr;(function(e){function n(Re){return e.pathIsRelative(Re)||e.isRootedDiskPath(Re)}e.isExternalModuleNameRelative=n;function f(Re){return e.sortAndDeduplicate(Re,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=f;function d(Re){switch(e.getEmitScriptTarget(Re)){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=d;function a(Re){return Re.start+Re.length}e.textSpanEnd=a;function p(Re){return Re.length===0}e.textSpanIsEmpty=p;function N(Re,Qr){return Qr>=Re.start&&Qr=Re.pos&&Qr<=Re.end}e.textRangeContainsPositionInclusive=H;function h(Re,Qr){return Qr.start>=Re.start&&a(Qr)<=a(Re)}e.textSpanContainsTextSpan=h;function v(Re,Qr){return A(Re,Qr)!==void 0}e.textSpanOverlapsWith=v;function A(Re,Qr){var vn=S(Re,Qr);return vn&&vn.length===0?void 0:vn}e.textSpanOverlap=A;function q(Re,Qr){return b(Re.start,Re.length,Qr.start,Qr.length)}e.textSpanIntersectsWithTextSpan=q;function ie(Re,Qr,vn){return b(Re.start,Re.length,Qr,vn)}e.textSpanIntersectsWith=ie;function b(Re,Qr,vn,Xn){var gi=Re+Qr,Ia=vn+Xn;return vn<=gi&&Ia>=Re}e.decodedTextSpanIntersectsWith=b;function P(Re,Qr){return Qr<=a(Re)&&Qr>=Re.start}e.textSpanIntersectsWithPosition=P;function S(Re,Qr){var vn=Math.max(Re.start,Qr.start),Xn=Math.min(a(Re),a(Qr));return vn<=Xn?J(vn,Xn):void 0}e.textSpanIntersection=S;function B(Re,Qr){if(Re<0)throw new Error("start < 0");if(Qr<0)throw new Error("length < 0");return{start:Re,length:Qr}}e.createTextSpan=B;function J(Re,Qr){return B(Re,Qr-Re)}e.createTextSpanFromBounds=J;function k(Re){return B(Re.span.start,Re.newLength)}e.textChangeRangeNewSpan=k;function M(Re){return p(Re.span)&&Re.newLength===0}e.textChangeRangeIsUnchanged=M;function x(Re,Qr){if(Qr<0)throw new Error("newLength < 0");return{span:Re,newLength:Qr}}e.createTextChangeRange=x,e.unchangedTextChangeRange=x(B(0,0),0);function w(Re){if(Re.length===0)return e.unchangedTextChangeRange;if(Re.length===1)return Re[0];for(var Qr=Re[0],vn=Qr.span.start,Xn=a(Qr.span),gi=vn+Qr.newLength,Ia=1;Ia=2&&Re.charCodeAt(0)===95&&Re.charCodeAt(1)===95?"_"+Re:Re}e.escapeLeadingUnderscores=g;function F(Re){var Qr=Re;return Qr.length>=3&&Qr.charCodeAt(0)===95&&Qr.charCodeAt(1)===95&&Qr.charCodeAt(2)===95?Qr.substr(1):Qr}e.unescapeLeadingUnderscores=F;function te(Re){return F(Re.escapedText)}e.idText=te;function ue(Re){return Re.valueDeclaration&&ht(Re.valueDeclaration)?te(Re.valueDeclaration.name):F(Re.escapedName)}e.symbolName=ue;function X(Re){var Qr=Re.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 vn=Qr.expression;switch(vn.kind===220&&vn.operatorToken.kind===63&&(vn=vn.left),vn.kind){case 205:return vn.name;case 206:var Xn=vn.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(Re){var Qr=V(Re);return Qr&&e.isIdentifier(Qr)?Qr:void 0}function Se(Re,Qr){return!!(O(Re)&&e.isIdentifier(Re.name)&&te(Re.name)===te(Qr)||e.isVariableStatement(Re)&&e.some(Re.declarationList.declarations,function(vn){return Se(vn,Qr)}))}e.nodeHasName=Se;function Ce(Re){return Re.name||X(Re)}e.getNameOfJSDocTypedef=Ce;function O(Re){return!!Re.name}e.isNamedDeclaration=O;function Q(Re){switch(Re.kind){case 79:return Re;case 345:case 338:{var Qr=Re.name;if(Qr.kind===160)return Qr.right;break}case 207:case 220:{var vn=Re;switch(e.getAssignmentDeclarationKind(vn)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(vn.left);case 7:case 8:case 9:return vn.arguments[1];default:return}}case 343:return Ce(Re);case 337:return X(Re);case 270:{var Xn=Re.expression;return e.isIdentifier(Xn)?Xn:void 0}case 206:var gi=Re;if(e.isBindableStaticElementAccessExpression(gi))return gi.argumentExpression}return Re.name}e.getNonAssignedNameOfDeclaration=Q;function V(Re){if(Re!==void 0)return Q(Re)||(e.isFunctionExpression(Re)||e.isArrowFunction(Re)||e.isClassExpression(Re)?z(Re):void 0)}e.getNameOfDeclaration=V;function z(Re){if(Re.parent){if(e.isPropertyAssignment(Re.parent)||e.isBindingElement(Re.parent))return Re.parent.name;if(e.isBinaryExpression(Re.parent)&&Re===Re.parent.right){if(e.isIdentifier(Re.parent.left))return Re.parent.left;if(e.isAccessExpression(Re.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(Re.parent.left)}else if(e.isVariableDeclaration(Re.parent)&&e.isIdentifier(Re.parent.name))return Re.parent.name}else return}e.getAssignedName=z;function Te(Re,Qr){if(Re.name)if(e.isIdentifier(Re.name)){var vn=Re.name.escapedText;return $e(Re.parent,Qr).filter(function(Ia){return e.isJSDocParameterTag(Ia)&&e.isIdentifier(Ia.name)&&Ia.name.escapedText===vn})}else{var Xn=Re.parent.parameters.indexOf(Re);e.Debug.assert(Xn>-1,"Parameters should always be in their parents' parameter list");var gi=$e(Re.parent,Qr).filter(e.isJSDocParameterTag);if(Xn=160}e.isNodeKind=Ze;function xr(Re){return Re>=0&&Re<=159}e.isTokenKind=xr;function fr(Re){return xr(Re.kind)}e.isToken=fr;function dr(Re){return Re.hasOwnProperty("pos")&&Re.hasOwnProperty("end")}e.isNodeArray=dr;function et(Re){return 8<=Re&&Re<=14}e.isLiteralKind=et;function yt(Re){return et(Re.kind)}e.isLiteralExpression=yt;function Wr(Re){return 14<=Re&&Re<=17}e.isTemplateLiteralKind=Wr;function tr(Re){return Wr(Re.kind)}e.isTemplateLiteralToken=tr;function Ir(Re){var Qr=Re.kind;return Qr===16||Qr===17}e.isTemplateMiddleOrTemplateTail=Ir;function kr(Re){return e.isImportSpecifier(Re)||e.isExportSpecifier(Re)}e.isImportOrExportSpecifier=kr;function zr(Re){switch(Re.kind){case 269:case 274:return Re.isTypeOnly||Re.parent.parent.isTypeOnly;case 267:return Re.parent.isTypeOnly;case 266:case 264:return Re.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=zr;function gt(Re){return e.isStringLiteral(Re)||e.isIdentifier(Re)}e.isAssertionKey=gt;function vt(Re){return Re.kind===10||Wr(Re.kind)}e.isStringTextContainingNode=vt;function ut(Re){return e.isIdentifier(Re)&&(Re.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=ut;function ht(Re){return(e.isPropertyDeclaration(Re)||_t(Re))&&e.isPrivateIdentifier(Re.name)}e.isPrivateIdentifierClassElementDeclaration=ht;function xt(Re){return e.isPropertyAccessExpression(Re)&&e.isPrivateIdentifier(Re.name)}e.isPrivateIdentifierPropertyAccessExpression=xt;function wt(Re){switch(Re){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(Re){return!!(e.modifierToFlag(Re)&16476)}e.isParameterPropertyModifier=Qt;function mt(Re){return Qt(Re)||Re===124||Re===158}e.isClassMemberModifier=mt;function rn(Re){return wt(Re.kind)}e.isModifier=rn;function sa(Re){var Qr=Re.kind;return Qr===160||Qr===79}e.isEntityName=sa;function ba(Re){var Qr=Re.kind;return Qr===79||Qr===80||Qr===10||Qr===8||Qr===161}e.isPropertyName=ba;function Jn(Re){var Qr=Re.kind;return Qr===79||Qr===200||Qr===201}e.isBindingName=Jn;function na(Re){return!!Re&&qt(Re.kind)}e.isFunctionLike=na;function Wn(Re){return!!Re&&(qt(Re.kind)||e.isClassStaticBlockDeclaration(Re))}e.isFunctionLikeOrClassStaticBlockDeclaration=Wn;function en(Re){return Re&&Ut(Re.kind)}e.isFunctionLikeDeclaration=en;function St(Re){return Re.kind===110||Re.kind===95}e.isBooleanLiteral=St;function Ut(Re){switch(Re){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function qt(Re){switch(Re){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return Ut(Re)}}e.isFunctionLikeKind=qt;function Pn(Re){return e.isSourceFile(Re)||e.isModuleBlock(Re)||e.isBlock(Re)&&na(Re.parent)}e.isFunctionOrModuleBlock=Pn;function dn(Re){var Qr=Re.kind;return Qr===170||Qr===166||Qr===168||Qr===171||Qr===172||Qr===175||Qr===169||Qr===233}e.isClassElement=dn;function oa(Re){return Re&&(Re.kind===256||Re.kind===225)}e.isClassLike=oa;function pt(Re){return Re&&(Re.kind===171||Re.kind===172)}e.isAccessor=pt;function _t(Re){switch(Re.kind){case 168:case 171:case 172:return!0;default:return!1}}e.isMethodOrAccessor=_t;function Pt(Re){var Qr=Re.kind;return Qr===174||Qr===173||Qr===165||Qr===167||Qr===175}e.isTypeElement=Pt;function It(Re){return Pt(Re)||dn(Re)}e.isClassOrTypeElement=It;function rt(Re){var Qr=Re.kind;return Qr===294||Qr===295||Qr===296||Qr===168||Qr===171||Qr===172}e.isObjectLiteralElementLike=rt;function Cn(Re){return e.isTypeNodeKind(Re.kind)}e.isTypeNode=Cn;function Qn(Re){switch(Re.kind){case 178:case 179:return!0}return!1}e.isFunctionOrConstructorTypeNode=Qn;function Ra(Re){if(Re){var Qr=Re.kind;return Qr===201||Qr===200}return!1}e.isBindingPattern=Ra;function Ci(Re){var Qr=Re.kind;return Qr===203||Qr===204}e.isAssignmentPattern=Ci;function _i(Re){var Qr=Re.kind;return Qr===202||Qr===226}e.isArrayBindingElement=_i;function va(Re){switch(Re.kind){case 253:case 163:case 202:return!0}return!1}e.isDeclarationBindingElement=va;function yi(Re){return ro(Re)||Pi(Re)}e.isBindingOrAssignmentPattern=yi;function ro(Re){switch(Re.kind){case 200:case 204:return!0}return!1}e.isObjectBindingOrAssignmentPattern=ro;function Ka(Re){switch(Re.kind){case 202:case 294:case 295:case 296:return!0}return!1}e.isObjectBindingOrAssignmentElement=Ka;function Pi(Re){switch(Re.kind){case 201:case 203:return!0}return!1}e.isArrayBindingOrAssignmentPattern=Pi;function io(Re){var Qr=Re.kind;return Qr===205||Qr===160||Qr===199}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=io;function ji(Re){var Qr=Re.kind;return Qr===205||Qr===160}e.isPropertyAccessOrQualifiedName=ji;function Hi(Re){switch(Re.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}}e.isCallLikeExpression=Hi;function to(Re){return Re.kind===207||Re.kind===208}e.isCallOrNewExpression=to;function No(Re){var Qr=Re.kind;return Qr===222||Qr===14}e.isTemplateLiteral=No;function lo(Re){return Lo(or(Re).kind)}e.isLeftHandSideExpression=lo;function Lo(Re){switch(Re){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(Re){return Yo(or(Re).kind)}e.isUnaryExpression=Ha;function Yo(Re){switch(Re){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return Lo(Re)}}function co(Re){switch(Re.kind){case 219:return!0;case 218:return Re.operator===45||Re.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=co;function za(Re){return hi(or(Re).kind)}e.isExpression=za;function hi(Re){switch(Re){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return Yo(Re)}}function Zi(Re){var Qr=Re.kind;return Qr===210||Qr===228}e.isAssertionExpression=Zi;function Po(Re){return e.isNotEmittedStatement(Re)||e.isPartiallyEmittedExpression(Re)}e.isNotEmittedOrPartiallyEmittedNode=Po;function Mo(Re,Qr){switch(Re.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return Qr&&Mo(Re.statement,Qr)}return!1}e.isIterationStatement=Mo;function Fo(Re){return e.isExportAssignment(Re)||e.isExportDeclaration(Re)}e.isScopeMarker=Fo;function zo(Re){return e.some(Re,Fo)}e.hasScopeMarker=zo;function Es(Re){return!e.isAnyImportOrReExport(Re)&&!e.isExportAssignment(Re)&&!e.hasSyntacticModifier(Re,1)&&!e.isAmbientModule(Re)}e.needsScopeMarker=Es;function Cs(Re){return e.isAnyImportOrReExport(Re)||e.isExportAssignment(Re)||e.hasSyntacticModifier(Re,1)}e.isExternalModuleIndicator=Cs;function yr(Re){return Re.kind===242||Re.kind===243}e.isForInOrOfStatement=yr;function dt(Re){return e.isBlock(Re)||za(Re)}e.isConciseBody=dt;function tn(Re){return e.isBlock(Re)}e.isFunctionBody=tn;function Un(Re){return e.isVariableDeclarationList(Re)||za(Re)}e.isForInitializer=Un;function Oe(Re){var Qr=Re.kind;return Qr===261||Qr===260||Qr===79}e.isModuleBody=Oe;function oe(Re){var Qr=Re.kind;return Qr===261||Qr===260}e.isNamespaceBody=oe;function mr(Re){var Qr=Re.kind;return Qr===79||Qr===260}e.isJSDocNamespaceBody=mr;function se(Re){var Qr=Re.kind;return Qr===268||Qr===267}e.isNamedImportBindings=se;function Be(Re){return Re.kind===260||Re.kind===259}e.isModuleOrEnumDeclaration=Be;function er(Re){return Re===213||Re===202||Re===256||Re===225||Re===169||Re===170||Re===259||Re===297||Re===274||Re===255||Re===212||Re===171||Re===266||Re===264||Re===269||Re===257||Re===284||Re===168||Re===167||Re===260||Re===263||Re===267||Re===273||Re===163||Re===294||Re===166||Re===165||Re===172||Re===295||Re===258||Re===162||Re===253||Re===343||Re===336||Re===345}function hr(Re){return Re===255||Re===275||Re===256||Re===257||Re===258||Re===259||Re===260||Re===265||Re===264||Re===271||Re===270||Re===263}function qr(Re){return Re===245||Re===244||Re===252||Re===239||Re===237||Re===235||Re===242||Re===243||Re===241||Re===238||Re===249||Re===246||Re===248||Re===250||Re===251||Re===236||Re===240||Re===247||Re===347||Re===351||Re===350}function Dt(Re){return Re.kind===162?Re.parent&&Re.parent.kind!==342||e.isInJSFile(Re):er(Re.kind)}e.isDeclaration=Dt;function Jt(Re){return hr(Re.kind)}e.isDeclarationStatement=Jt;function Sn(Re){return qr(Re.kind)}e.isStatementButNotDeclaration=Sn;function ta(Re){var Qr=Re.kind;return qr(Qr)||hr(Qr)||xa(Re)}e.isStatement=ta;function xa(Re){return Re.kind!==234||Re.parent!==void 0&&(Re.parent.kind===251||Re.parent.kind===291)?!1:!e.isFunctionBlock(Re)}function Di(Re){var Qr=Re.kind;return qr(Qr)||hr(Qr)||Qr===234}e.isStatementOrBlock=Di;function $a(Re){var Qr=Re.kind;return Qr===276||Qr===160||Qr===79}e.isModuleReference=$a;function Ji(Re){var Qr=Re.kind;return Qr===108||Qr===79||Qr===205}e.isJsxTagNameExpression=Ji;function So(Re){var Qr=Re.kind;return Qr===277||Qr===287||Qr===278||Qr===11||Qr===281}e.isJsxChild=So;function cs(Re){var Qr=Re.kind;return Qr===284||Qr===286}e.isJsxAttributeLike=cs;function bt(Re){var Qr=Re.kind;return Qr===10||Qr===287}e.isStringLiteralOrJsxExpression=bt;function Mn(Re){var Qr=Re.kind;return Qr===279||Qr===278}e.isJsxOpeningLikeElement=Mn;function da(Re){var Qr=Re.kind;return Qr===288||Qr===289}e.isCaseOrDefaultClause=da;function ei(Re){return Re.kind>=307&&Re.kind<=345}e.isJSDocNode=ei;function bi(Re){return Re.kind===318||Re.kind===317||Re.kind===319||Zt(Re)||xi(Re)||e.isJSDocTypeLiteral(Re)||e.isJSDocSignature(Re)}e.isJSDocCommentContainingNode=bi;function xi(Re){return Re.kind>=325&&Re.kind<=345}e.isJSDocTag=xi;function ka(Re){return Re.kind===172}e.isSetAccessor=ka;function mi(Re){return Re.kind===171}e.isGetAccessor=mi;function Xi(Re){var Qr=Re.jsDoc;return!!Qr&&Qr.length>0}e.hasJSDocNodes=Xi;function Gi(Re){return!!Re.type}e.hasType=Gi;function Ro(Re){return!!Re.initializer}e.hasInitializer=Ro;function ko(Re){switch(Re.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}}e.hasOnlyExpressionInitializer=ko;function es(Re){return Re.kind===284||Re.kind===286||rt(Re)}e.isObjectLiteralElement=es;function as(Re){return Re.kind===177||Re.kind===227}e.isTypeReferenceType=as;var pe=1073741823;function wr(Re){for(var Qr=pe,vn=0,Xn=Re;vn=0),e.getLineStarts(re)[l]}e.getStartPositionOfLine=D;function C(l){var re=T(l),cr=e.getLineAndCharacterOfPosition(re,l.pos);return"".concat(re.fileName,"(").concat(cr.line+1,",").concat(cr.character+1,")")}e.nodePosToString=C;function m(l,re){e.Debug.assert(l>=0);var cr=e.getLineStarts(re),Vr=l,Nt=re.text;if(Vr+1===cr.length)return Nt.length-1;var xn=cr[Vr],Bn=cr[Vr+1]-1;for(e.Debug.assert(e.isLineBreak(Nt.charCodeAt(Bn)));xn<=Bn&&e.isLineBreak(Nt.charCodeAt(Bn));)Bn--;return Bn}e.getEndLinePosition=m;function u(l,re,cr){return!(cr&&cr(re))&&!l.identifiers.has(re)}e.isFileLevelUniqueName=u;function g(l){return l===void 0?!0:l.pos===l.end&&l.pos>=0&&l.kind!==1}e.nodeIsMissing=g;function F(l){return!g(l)}e.nodeIsPresent=F;function te(l,re,cr){if(re===void 0||re.length===0)return l;for(var Vr=0;Vr0?Te(l._children[0],re,cr):e.skipTrivia((re||T(l)).text,l.pos,!1,!1,qr(l))}e.getTokenPosOfNode=Te;function ge(l,re){return g(l)||!l.decorators?Te(l,re):e.skipTrivia((re||T(l)).text,l.decorators.end)}e.getNonDecoratorTokenPosOfNode=ge;function ke(l,re,cr){return cr===void 0&&(cr=!1),Ge(l.text,re,cr)}e.getSourceTextOfNodeFromSourceFile=ke;function Me(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 Ge(l,re,cr){if(cr===void 0&&(cr=!1),g(re))return"";var Vr=l.substring(cr?re.pos:e.skipTrivia(l,re.pos),re.end);return Me(re)&&(Vr=Vr.split(/\r\n|\n|\r/).map(function(Nt){return e.trimStringStart(Nt.replace(/^\s*\*/,""))}).join(` `)),Vr}e.getTextOfNodeFromSourceText=Ge;function he(l,re){return re===void 0&&(re=!1),ke(T(l),l,re)}e.getTextOfNode=he;function ve(l){return l.pos}function Ve(l,re){return e.binarySearch(l,re,ve,e.compareValues)}e.indexOfNode=Ve;function _e(l){var re=l.emitNode;return re&&re.flags||0}e.getEmitFlags=_e;function Le(){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=Le,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,cr){var Vr;if(Xe(l,cr))return ke(re,l);switch(l.kind){case 10:{var Nt=cr&2?Mu:cr&1||_e(l)&16777216?Ru:Pu;return l.singleQuote?"'"+Nt(l.text,39)+"'":'"'+Nt(l.text,34)+'"'}case 14:case 15:case 16:case 17:{var Nt=cr&1||_e(l)&16777216?Ru:Pu,xn=(Vr=l.rawText)!==null&&Vr!==void 0?Vr:bf(Nt(l.text,96));switch(l.kind){case 14:return"`"+xn+"`";case 15:return"`"+xn+"${";case 16:return"}"+xn+"${";case 17:return"}"+xn+"`"}break}case 8:case 9:return l.text;case 13:return cr&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 Fd(l)||!l.parent||re&4&&l.isUnterminated?!1:e.isNumericLiteral(l)&&l.numericLiteralFlags&512?!!(re&8):!e.isBigIntLiteral(l)}function De(l){return e.isString(l)?'"'+Pu(l)+'"':""+l}e.getTextOfConstantValue=De;function Ae(l){return e.getBaseFileName(l).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}e.makeIdentifierFromModuleName=Ae;function Ye(l){return(e.getCombinedNodeFlags(l)&3)!==0||Lr(l)}e.isBlockOrCatchScoped=Ye;function Lr(l){var re=Pd(l);return re.kind===253&&re.parent.kind===291}e.isCatchClauseVariableDeclarationOrBindingElement=Lr;function Er(l){return e.isModuleDeclaration(l)&&(l.name.kind===10||ur(l))}e.isAmbientModule=Er;function lr(l){return e.isModuleDeclaration(l)&&l.name.kind===10}e.isModuleWithStringLiteralName=lr;function Cr(l){return e.isModuleDeclaration(l)&&e.isStringLiteral(l.name)}e.isNonGlobalAmbientModule=Cr;function Or(l){return e.isModuleDeclaration(l)||e.isIdentifier(l)}e.isEffectiveModuleDeclaration=Or;function Ke(l){return Pe(l.valueDeclaration)}e.isShorthandAmbientModuleSymbol=Ke;function Pe(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 ur(l){return!!(l.flags&1024)}e.isGlobalScopeAugmentation=ur;function vr(l){return Er(l)&&de(l)}e.isExternalModuleAugmentation=vr;function de(l){switch(l.parent.kind){case 303:return e.isExternalModule(l.parent);case 261:return Er(l.parent.parent)&&e.isSourceFile(l.parent.parent.parent)&&!e.isExternalModule(l.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=de;function Fe(l){var re;return(re=l.declarations)===null||re===void 0?void 0:re.find(function(cr){return!vr(cr)&&!(e.isModuleDeclaration(cr)&&ur(cr))})}e.getNonAugmentationDeclaration=Fe;function $e(l){return l===e.ModuleKind.CommonJS||l===e.ModuleKind.Node12||l===e.ModuleKind.NodeNext}function Dr(l,re){return e.isExternalModule(l)||re.isolatedModules||$e(vd(re))&&!!l.commonJsModuleIndicator}e.isEffectiveExternalModule=Dr;function Fr(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?vd(re)>=e.ModuleKind.ES2015?!0:!re.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=Fr;function He(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=He;function pr(l){switch(l.kind){case 336:case 343:case 321:return!0;default:return e.assertType(l),Jr(l)}}e.isDeclarationWithTypeParameters=pr;function Jr(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=Jr;function ze(l){switch(l.kind){case 265:case 264:return!0;default:return!1}}e.isAnyImportSyntax=ze;function Ar(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=Ar;function Yr(l){return lt(l)||e.isModuleDeclaration(l)||e.isImportTypeNode(l)||tr(l)}e.hasPossibleExternalModuleReference=Yr;function lt(l){return ze(l)||e.isExportDeclaration(l)}e.isAnyImportOrReExport=lt;function tt(l){return e.findAncestor(l.parent,function(re){return He(re,re.parent)})}e.getEnclosingBlockScopeContainer=tt;function Rt(l,re){for(var cr=tt(l);cr;)re(cr),cr=tt(cr)}e.forEachEnclosingBlockScopeContainer=Rt;function cn(l){return!l||J(l)===0?"(Missing)":he(l)}e.declarationNameToString=cn;function bn(l){return l.declaration?cn(l.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=bn;function In(l){return l.kind===161&&!ks(l.expression)}e.isComputedNonLiteralName=In;function zn(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 ks(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=zn;function ir(l){switch(l.kind){case 108:return"this";case 80:case 79:return J(l)===0?e.idText(l):he(l);case 160:return ir(l.left)+"."+ir(l.right);case 205:return e.isIdentifier(l.name)||e.isPrivateIdentifier(l.name)?ir(l.expression)+"."+ir(l.name):e.Debug.assertNever(l.name);case 309:return ir(l.left)+ir(l.right);default:return e.Debug.assertNever(l)}}e.entityNameToString=ir;function Rr(l,re,cr,Vr,Nt,xn){var Bn=T(l);return ye(Bn,l,re,cr,Vr,Nt,xn)}e.createDiagnosticForNode=Rr;function sr(l,re,cr,Vr,Nt,xn,Bn){var ga=e.skipTrivia(l.text,re.pos);return An(l,ga,re.end-ga,cr,Vr,Nt,xn,Bn)}e.createDiagnosticForNodeArray=sr;function ye(l,re,cr,Vr,Nt,xn,Bn){var ga=me(l,re);return An(l,ga.start,ga.length,cr,Vr,Nt,xn,Bn)}e.createDiagnosticForNodeInSourceFile=ye;function or(l,re,cr){var Vr=T(l),Nt=me(Vr,l);return je(Vr,Nt.start,Nt.length,re,cr)}e.createDiagnosticForNodeFromMessageChain=or;function fe(l,re,cr){e.Debug.assertGreaterThanOrEqual(re,0),e.Debug.assertGreaterThanOrEqual(cr,0),l&&(e.Debug.assertLessThanOrEqual(re,l.text.length),e.Debug.assertLessThanOrEqual(re+cr,l.text.length))}function je(l,re,cr,Vr,Nt){return fe(l,re,cr),{file:l,start:re,length:cr,code:Vr.code,category:Vr.category,messageText:Vr.next?Vr:Vr.messageText,relatedInformation:Nt}}e.createFileDiagnosticFromMessageChain=je;function Ee(l,re,cr){return{file:l,start:0,length:0,code:re.code,category:re.category,messageText:re.next?re:re.messageText,relatedInformation:cr}}e.createDiagnosticForFileFromMessageChain=Ee;function We(l,re,cr){return{file:l,start:re.pos,length:re.end-re.pos,code:cr.code,category:cr.category,messageText:cr.message}}e.createDiagnosticForRange=We;function ee(l,re){var cr=e.createScanner(l.languageVersion,!0,l.languageVariant,l.text,void 0,re);cr.scan();var Vr=cr.getTokenPos();return e.createTextSpanFromBounds(Vr,cr.getTextPos())}e.getSpanOfTokenAtPosition=ee;function Ne(l,re){var cr=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,xn)}if(cr===void 0)return ee(l,re.pos);e.Debug.assert(!e.isJSDoc(cr));var Bn=g(cr),ga=Bn||e.isJsxText(re)?cr.pos:e.skipTrivia(l.text,cr.pos);return Bn?(e.Debug.assert(ga===cr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ga===cr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(ga>=cr.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(ga<=cr.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(ga,cr.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 Wr(l){return l.kind===207&&l.expression.kind===106}e.isSuperCall=Wr;function tr(l){return l.kind===207&&l.expression.kind===100}e.isImportCall=tr;function Ir(l){return e.isMetaProperty(l)&&l.keywordToken===100&&l.name.escapedText==="meta"}e.isImportMeta=Ir;function kr(l){return e.isImportTypeNode(l)&&e.isLiteralTypeNode(l.argument)&&e.isStringLiteral(l.argument.literal)}e.isLiteralImportTypeNode=kr;function zr(l){return l.kind===237&&l.expression.kind===10}e.isPrologueDirective=zr;function gt(l){return!!(_e(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 cr=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(cr,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 mt=/^(\/\/\/\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!bc(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!bc(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 cr(l);function cr(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,cr)}}}e.forEachReturnStatement=ba;function Jn(l,re){return cr(l);function cr(Vr){switch(Vr.kind){case 223:re(Vr);var Nt=Vr.expression;Nt&&cr(Nt);return;case 259:case 257:case 260:case 258:return;default:if(e.isFunctionLike(Vr)){if(Vr.name&&Vr.name.kind===161){cr(Vr.name.expression);return}}else rn(Vr)||e.forEachChild(Vr,cr)}}}e.forEachYieldExpression=Jn;function na(l){return l&&l.kind===182?l.elementType:l&&l.kind===177?e.singleOrUndefined(l.typeArguments):void 0}e.getRestParameterElementType=na;function Wn(l){switch(l.kind){case 257:case 256:case 225:case 181:return l.members;case 204:return l.properties}}e.getMembersOfDeclaration=Wn;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)?If(l)&&zc(l):e.isPropertySignature(l)&&If(l)}e.isValidESSymbolDeclaration=qt;function Pn(l){switch(l.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return!0}return!1}e.introducesArgumentsExoticObject=Pn;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 _t(l){return(l.kind===168||l.kind===171||l.kind===172)&&(l.parent.kind===204||l.parent.kind===225)}e.isObjectLiteralOrClassExpressionMethodOrAccessor=_t;function Pt(l){return l&&l.kind===1}e.isIdentifierTypePredicate=Pt;function It(l){return l&&l.kind===0}e.isThisTypePredicate=It;function rt(l,re,cr){return l.properties.filter(function(Vr){if(Vr.kind===294){var Nt=zn(Vr.name);return re===Nt||!!cr&&cr===Nt}return!1})}e.getPropertyAssignment=rt;function Cn(l,re,cr){return e.firstDefined(rt(l,re),function(Vr){return e.isArrayLiteralExpression(Vr.initializer)?e.find(Vr.initializer.elements,function(Nt){return e.isStringLiteral(Nt)&&Nt.text===cr}):void 0})}e.getPropertyArrayElementValue=Cn;function Qn(l){if(l&&l.statements.length){var re=l.statements[0].expression;return e.tryCast(re,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=Qn;function Ra(l,re,cr){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===cr}):void 0})}e.getTsConfigPropArrayElementValue=Ra;function Ci(l,re){var cr=Qn(l);return cr?rt(cr,re):e.emptyArray}e.getTsConfigPropArray=Ci;function _i(l){return e.findAncestor(l.parent,e.isFunctionLike)}e.getContainingFunction=_i;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 Pi(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=Pi;function io(l){e.isIdentifier(l)&&(e.isClassDeclaration(l.parent)||e.isFunctionDeclaration(l.parent))&&l.parent.name===l&&(l=l.parent);var re=Pi(l,!0);return e.isSourceFile(re)}e.isInTopLevelContext=io;function ji(l){var re=Pi(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,cr=l.parent;cr.kind===211;)re=cr,cr=cr.parent;if(cr.kind===207&&cr.expression===re)return cr}}e.getImmediatelyInvokedFunctionExpression=to;function No(l){return l.kind===106||lo(l)}e.isSuperOrSuperProperty=No;function lo(l){var re=l.kind;return(re===205||re===206)&&l.expression.kind===106}e.isSuperProperty=lo;function Lo(l){var re=l.kind;return(re===205||re===206)&&l.expression.kind===108}e.isThisProperty=Lo;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 Yo(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=Yo;function co(l){switch(l.kind){case 177:return l.typeName;case 227:return qc(l.expression)?l.expression:void 0;case 79:case 160:return l}}e.getEntityNameFromTypeNode=co;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,cr){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)&&cr.kind===256}return!1}e.nodeCanBeDecorated=hi;function Zi(l,re,cr){return l.decorators!==void 0&&hi(l,re,cr)}e.nodeIsDecorated=Zi;function Po(l,re,cr){return Zi(l,re,cr)||Mo(l,re)}e.nodeOrChildIsDecorated=Po;function Mo(l,re){switch(l.kind){case 256:return e.some(l.members,function(cr){return Po(cr,l,re)});case 168:case 172:case 170:return e.some(l.parameters,function(cr){return Zi(cr,l,re)});default:return!1}}e.childIsDecorated=Mo;function Fo(l){if(Zi(l))return!0;var re=Sf(l);return!!re&&Mo(re,l)}e.classOrConstructorParameterIsDecorated=Fo;function zo(l){var re=l.parent;return re.kind===279||re.kind===278||re.kind===280?re.tagName===l:!1}e.isJSXTagName=zo;function Es(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)||zo(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)||zo(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)||zo(l))return!0;case 8:case 9:case 10:case 14:case 108:return Cs(l);default:return!1}}e.isExpressionNode=Es;function Cs(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 cr=re;return cr.initializer===l&&cr.initializer.kind!==254||cr.condition===l||cr.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&&bc(re);case 295:return re.objectAssignmentInitializer===l;default:return Es(re)}}e.isInExpressionContext=Cs;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 Un(l){return e.Debug.assert(tn(l)),l.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=Un;function Oe(l){return ta(l)&&ml(l.initializer).arguments[0]}e.getExternalModuleRequireArgument=Oe;function oe(l){return l.kind===264&&l.moduleReference.kind!==276}e.isInternalModuleImportEqualsDeclaration=oe;function mr(l){return Be(l)}e.isSourceFileJS=mr;function se(l){return!Be(l)}e.isSourceFileNotJS=se;function Be(l){return!!l&&!!(l.flags&131072)}e.isInJSFile=Be;function er(l){return!!l&&!!(l.flags&33554432)}e.isInJsonFile=er;function hr(l){return!xr(l)}e.isSourceFileNotJson=hr;function qr(l){return!!l&&!!(l.flags&4194304)}e.isInJSDoc=qr;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 cr=l,Vr=cr.expression,Nt=cr.arguments;if(Vr.kind!==79||Vr.escapedText!=="require"||Nt.length!==1)return!1;var xn=Nt[0];return!re||e.isStringLiteralLike(xn)}e.isRequireCall=Jt;function Sn(l){return xa(l,!1)}e.isVariableDeclarationInitializedToRequire=Sn;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?ml(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 Sn(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 So(l){return e.isBinaryExpression(l)||ul(l)||e.isIdentifier(l)||e.isCallExpression(l)}e.isAssignmentDeclaration=So;function cs(l){return Be(l)&&l.initializer&&e.isBinaryExpression(l.initializer)&&(l.initializer.operatorToken.kind===56||l.initializer.operatorToken.kind===60)&&l.name&&qc(l.name)&&mi(l.name,l.initializer.left)?l.initializer.right:l.initializer}e.getEffectiveInitializer=cs;function bt(l){var re=cs(l);return re&&ei(re,Ec(l.name))}e.getDeclaredExpandoInitializer=bt;function Mn(l,re){return e.forEach(l.properties,function(cr){return e.isPropertyAssignment(cr)&&e.isIdentifier(cr.name)&&cr.name.escapedText==="value"&&cr.initializer&&ei(cr.initializer,re)})}function da(l){if(l&&l.parent&&e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63){var re=Ec(l.parent.left);return ei(l.parent.right,re)||bi(l.parent.left,l.parent.right,re)}if(l&&e.isCallExpression(l)&&as(l)){var cr=Mn(l.arguments[2],l.arguments[1].text==="prototype");if(cr)return cr}}e.getAssignedExpandoInitializer=da;function ei(l,re){if(e.isCallExpression(l)){var cr=Si(l.expression);return cr.kind===212||cr.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,cr){var Vr=e.isBinaryExpression(re)&&(re.operatorToken.kind===56||re.operatorToken.kind===60)&&ei(re.right,cr);if(Vr&&mi(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,Ec(re))&&qc(re)&&mi(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 mi(l,re){if($f(l)&&$f(re))return Od(l)===Od(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 cr=Qr(re);return e.isPrivateIdentifier(cr)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),mi(l,cr)}return pe(l)&&pe(re)?Ia(l)===Ia(re)&&mi(l.expression,re.expression):!1}e.isSameEntityName=mi;function Xi(l){for(;Xd(l,!0);)l=l.right;return l}e.getRightMostAssignedExpression=Xi;function Gi(l){return e.isIdentifier(l)&&l.escapedText==="exports"}e.isExportsIdentifier=Gi;function Ro(l){return e.isIdentifier(l)&&l.escapedText==="module"}e.isModuleIdentifier=Ro;function ko(l){return(e.isPropertyAccessExpression(l)||wr(l))&&Ro(l.expression)&&Ia(l)==="exports"}e.isModuleExportsAccessExpression=ko;function es(l){var re=vn(l);return re===5||Be(l)?re:0}e.getAssignmentDeclarationKind=es;function as(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"&&ks(l.arguments[1])&&Re(l.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=as;function pe(l){return e.isPropertyAccessExpression(l)||wr(l)}e.isLiteralLikeAccess=pe;function wr(l){return e.isElementAccessExpression(l)&&ks(l.argumentExpression)}e.isLiteralLikeElementAccess=wr;function ft(l,re){return e.isPropertyAccessExpression(l)&&(!re&&l.expression.kind===108||e.isIdentifier(l.name)&&Re(l.expression,!0))||Zt(l,re)}e.isBindableStaticAccessExpression=ft;function Zt(l,re){return wr(l)&&(!re&&l.expression.kind===108||qc(l.expression)||ft(l.expression,!0))}e.isBindableStaticElementAccessExpression=Zt;function Re(l,re){return qc(l)||ft(l,re)}e.isBindableStaticNameExpression=Re;function Qr(l){return e.isPropertyAccessExpression(l)?l.name:l.argumentExpression}e.getNameOrArgument=Qr;function vn(l){if(e.isCallExpression(l)){if(!as(l))return 0;var re=l.arguments[0];return Gi(re)||ko(re)?8:ft(re)&&Ia(re)==="prototype"?9:7}return l.operatorToken.kind!==63||!ul(l.left)||Xn(Xi(l))?0:Re(l.left.expression,!0)&&Ia(l.left)==="prototype"&&e.isObjectLiteralExpression(Wo(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(ko(l))return 2;if(Re(l.expression,!0)){if(Ec(l.expression))return 3;for(var re=l;!e.isIdentifier(re.expression);)re=re.expression;var cr=re.expression;if((cr.escapedText==="exports"||cr.escapedText==="module"&&Ia(re)==="exports")&&ft(l))return 1;if(Re(l,!0)||e.isElementAccessExpression(l)&&kd(l))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=oo;function Wo(l){for(;e.isBinaryExpression(l.right);)l=l.right;return l.right}e.getInitializerOfBinaryExpression=Wo;function Nr(l){return e.isBinaryExpression(l)&&es(l)===3}e.isPrototypePropertyAssignment=Nr;function Us(l){return Be(l)&&l.parent&&l.parent.kind===237&&(!e.isElementAccessExpression(l)||wr(l))&&!!e.getJSDocTypeTag(l.parent)}e.isSpecialPropertyDeclaration=Us;function il(l,re){var cr=l.valueDeclaration;(!cr||!(re.flags&8388608&&!(cr.flags&8388608))&&So(cr)&&!So(re)||cr.kind!==re.kind&&Or(cr))&&(l.valueDeclaration=re)}e.setValueDeclaration=il;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 Co(l){var re,cr,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((cr=e.tryCast(l.moduleReference,e.isExternalModuleReference))===null||cr===void 0?void 0:cr.expression,e.isStringLiteralLike))===null||Vr===void 0?void 0:Vr.text;default:e.Debug.assertNever(l)}}e.tryGetModuleSpecifierFromDeclaration=Co;function Vs(l){return Ql(l)||e.Debug.failBadSyntaxKind(l.parent)}e.importFromModuleSpecifier=Vs;function Ql(l){switch(l.parent.kind){case 265:case 271:return l.parent;case 276:return l.parent.parent;case 207:return tr(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=Ql;function zl(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 kr(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=zl;function uc(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=uc;function cu(l){return l.kind===265&&!!l.importClause&&!!l.importClause.name}e.isDefaultImport=cu;function no(l,re){if(l.name){var cr=re(l);if(cr)return cr}if(l.namedBindings){var cr=e.isNamespaceImport(l.namedBindings)?re(l.namedBindings):e.forEach(l.namedBindings.elements,re);if(cr)return cr}}e.forEachImportClauseDeclaration=no;function ql(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=ql;function fc(l){var re=e.isJSDocFunctionType(l)?e.firstOrUndefined(l.parameters):void 0,cr=e.tryCast(re&&re.name,e.isIdentifier);return!!cr&&cr.escapedText==="new"}e.isJSDocConstructSignature=fc;function Ws(l){return l.kind===343||l.kind===336||l.kind===337}e.isJSDocTypeAlias=Ws;function xc(l){return Ws(l)||e.isTypeAliasDeclaration(l)}e.isTypeAlias=xc;function Ic(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)&&es(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 uu(l){switch(l.kind){case 236:var re=dc(l);return re&&re.initializer;case 166:return l.initializer;case 294:return l.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=uu;function dc(l){return e.isVariableStatement(l)?e.firstOrUndefined(l.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=dc;function Nc(l){return e.isModuleDeclaration(l)&&l.body&&l.body.kind===260?l.body:void 0}function Pr(l,re){var cr;en(l)&&e.hasInitializer(l)&&e.hasJSDocNodes(l.initializer)&&(cr=e.addRange(cr,$r(l,e.last(l.initializer.jsDoc))));for(var Vr=l;Vr&&Vr.parent;){if(e.hasJSDocNodes(Vr)&&(cr=e.addRange(cr,$r(l,e.last(Vr.jsDoc)))),Vr.kind===163){cr=e.addRange(cr,(re?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(Vr));break}if(Vr.kind===162){cr=e.addRange(cr,(re?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(Vr));break}Vr=Kt(Vr)}return cr||e.emptyArray}e.getJSDocCommentsAndTags=Pr;function $r(l,re){if(e.isJSDoc(re)){var cr=e.filter(re.tags,function(Vr){return Lt(l,Vr)});return re.tags===cr?[re]:cr}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||Nc(re)||e.isBinaryExpression(l)&&l.operatorToken.kind===63)return re;if(re.parent&&(dc(re.parent)===l||e.isBinaryExpression(re)&&re.operatorToken.kind===63))return re.parent;if(re.parent&&re.parent.parent&&(dc(re.parent.parent)||uu(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,cr=kn(l);if(!!cr){var Vr=e.find(cr.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,Ws);if(re)return re}return kn(l)}e.getEffectiveContainerForJSDocTemplateTag=fn;function kn(l){var re=Kn(l);return re&&e.isFunctionLike(re)?re:void 0}e.getHostSignatureFromJSDoc=kn;function Kn(l){var re=Fa(l);if(re)return La(re)||Ic(re)||uu(re)||dc(re)||Nc(re)||re}e.getEffectiveJSDocHost=Kn;function Fa(l){var re=ua(l);if(!!re){var cr=re.parent;if(cr&&cr.jsDoc&&re===e.lastOrUndefined(cr.jsDoc))return cr}}e.getJSDocHost=Fa;function ua(l){return e.findAncestor(l.parent,e.isJSDoc)}e.getJSDocRoot=ua;function le(l){var re=l.name.escapedText,cr=l.parent.parent.parent.typeParameters;return cr&&e.find(cr,function(Vr){return Vr.name.escapedText===re})}e.getTypeParameterFromJsDoc=le;function rr(l){var re=e.lastOrUndefined(l.parameters);return!!re&&br(re)}e.hasRestParameter=rr;function br(l){var re=e.isJSDocParameterTag(l)?l.typeExpression&&l.typeExpression.type:l.type;return l.dotDotDotToken!==void 0||!!re&&re.kind===316}e.isRestParameter=br;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 cr=re.operatorToken.kind;return ac(cr)&&re.left===l?cr===63||du(cr)?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 yn(l){return jt(l)!==0}e.isAssignmentTarget=yn;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 cr=re?17:1;return e.skipOuterExpressions(l,cr)}e.skipParentheses=Si;function Do(l){return l.kind!==205&&l.kind!==206?!1:(l=fi(l.parent),l&&l.kind===214)}e.isDeleteTarget=Do;function bo(l,re){for(;l;){if(l===re)return!0;l=l.parent}return!1}e.isNodeDescendantOf=bo;function Ns(l){return!e.isSourceFile(l)&&!e.isBindingPattern(l)&&e.isDeclaration(l.parent)&&l.parent.name===l}e.isDeclarationName=Ns;function Ys(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 cr=re.parent;return e.isJSDocParameterTag(cr)&&cr.name===re?cr:void 0}else{var Vr=re.parent;return e.isBinaryExpression(Vr)&&es(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=Ys;function Nu(l){return ks(l)&&l.parent.kind===161&&e.isDeclaration(l.parent.parent)}e.isLiteralComputedPropertyDeclarationName=Nu;function gf(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=gf;function Zl(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&&$l(l)||e.isBinaryExpression(l)&&es(l)===2&&$l(l)||e.isPropertyAccessExpression(l)&&e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===63&&Mr(l.parent.right)||l.kind===295||l.kind===294&&Mr(l.initializer)}e.isAliasSymbolDeclaration=Zl;function jc(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 jc(l)}}e.getAliasDeclarationFromName=jc;function Mr(l){return qc(l)||e.isClassExpression(l)}e.isAliasableExpression=Mr;function $l(l){var re=pc(l);return Mr(re)}e.exportAssignmentIsAlias=$l;function pc(l){return e.isExportAssignment(l)?l.expression:l.right}e.getExportAssignmentExpression=pc;function ku(l){return l.kind===295?l.name:l.kind===294?l.initializer:l.parent.right}e.getPropertyAssignmentAliasLikeExpression=ku;function ol(l){var re=kc(l);if(re&&Be(l)){var cr=e.getJSDocAugmentsTag(l);if(cr)return cr.class}return re}e.getEffectiveBaseTypeNode=ol;function kc(l){var re=hf(l.heritageClauses,94);return re&&re.types.length>0?re.types[0]:void 0}e.getClassExtendsHeritageElement=kc;function vf(l){if(Be(l))return e.getJSDocImplementsTags(l).map(function(cr){return cr.class});var re=hf(l.heritageClauses,117);return re==null?void 0:re.types}e.getEffectiveImplementsTypeNodes=vf;function fo(l){return e.isInterfaceDeclaration(l)?Zf(l)||e.emptyArray:e.isClassLike(l)&&e.concatenate(e.singleElementArray(ol(l)),vf(l))||e.emptyArray}e.getAllSuperTypeNodes=fo;function Zf(l){var re=hf(l.heritageClauses,94);return re?re.types:void 0}e.getInterfaceBaseTypeNodes=Zf;function hf(l,re){if(l)for(var cr=0,Vr=l;cr=0)return li[go]}}function xn(Ei){var li;Ei.file?(li=cr.get(Ei.file.fileName),li||(li=[],cr.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,rm)}function Bn(){return Vr=!0,l}function ga(Ei){if(Ei)return cr.get(Ei)||[];var li=e.flatMapToMutable(re,function(go){return cr.get(go)});return l.length&&li.unshift.apply(li,l),li}}e.createDiagnosticCollection=ec;var Ud=/\$\{/g;function bf(l){return l.replace(Ud,"\\${")}function Tp(l){return l&&!!(e.isNoSubstitutionTemplateLiteral(l)?l.templateFlags:l.head.templateFlags||e.some(l.templateSpans,function(re){return!!re.literal.templateFlags}))}e.hasInvalidEscape=Tp;var Sp=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Ef=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,$p=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Vd=new e.Map(e.getEntries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"}));function rd(l){var re=l.toString(16).toUpperCase(),cr=("0000"+re).slice(-4);return"\\u"+cr}function td(l,re,cr){if(l.charCodeAt(0)===0){var Vr=cr.charCodeAt(re+l.length);return Vr>=48&&Vr<=57?"\\x00":"\\0"}return Vd.get(l)||rd(l.charCodeAt(0))}function Ru(l,re){var cr=re===96?$p:re===39?Ef:Sp;return l.replace(cr,td)}e.escapeString=Ru;var wu=/[^\u0000-\u007F]/g;function Pu(l,re){return l=Ru(l,re),wu.test(l)?l.replace(wu,function(cr){return rd(cr.charCodeAt(0))}):l}e.escapeNonAsciiString=Pu;var js=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,gc=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,nd=new e.Map(e.getEntries({'"':""","'":"'"}));function x_(l){var re=l.toString(16).toUpperCase();return"&#x"+re+";"}function ad(l){return l.charCodeAt(0)===0?"�":nd.get(l)||x_(l.charCodeAt(0))}function Mu(l,re){var cr=re===39?gc:js;return l.replace(cr,ad)}e.escapeJsxAttributeString=Mu;function I_(l){var re=l.length;return re>=2&&l.charCodeAt(0)===l.charCodeAt(re-1)&&vc(l.charCodeAt(0))?l.substring(1,re-1):l}e.stripQuotes=I_;function vc(l){return l===39||l===34||l===96}function Ml(l){var re=l.charCodeAt(0);return re>=97&&re<=122||e.stringContains(l,"-")||e.stringContains(l,":")}e.isIntrinsicJsxName=Ml;var Sl=[""," "];function Fl(l){for(var re=Sl[1],cr=Sl.length;cr<=l;cr++)Sl.push(Sl[cr-1]+re);return Sl[l]}e.getIndentString=Fl;function pl(){return Sl[1].length}e.getIndentSize=pl;function Dp(l){var re,cr,Vr,Nt,xn,Bn=!1;function ga(Eo){var zu=e.computeLineStarts(Eo);zu.length>1?(Nt=Nt+zu.length-1,xn=re.length-Eo.length+e.last(zu),Vr=xn-re.length===0):Vr=!1}function Ei(Eo){Eo&&Eo.length&&(Vr&&(Eo=Fl(cr)+Eo,Vr=!1),re+=Eo,ga(Eo))}function li(Eo){Eo&&(Bn=!1),Ei(Eo)}function go(Eo){Eo&&(Bn=!0),Ei(Eo)}function wi(){re="",cr=0,Vr=!0,Nt=0,xn=0,Bn=!1}function Is(Eo){Eo!==void 0&&(re+=Eo,ga(Eo),Bn=!1)}function Ks(Eo){Eo&&Eo.length&&li(Eo)}function hs(Eo){(!Vr||Eo)&&(re+=l,Nt++,xn=re.length,Vr=!0,Bn=!1)}function ic(){return Vr?re.length:re.length+l.length}return wi(),{write:li,rawWrite:Is,writeLiteral:Ks,writeLine:hs,increaseIndent:function(){cr++},decreaseIndent:function(){cr--},getIndent:function(){return cr},getTextPos:function(){return re.length},getLine:function(){return Nt},getColumn:function(){return Vr?cr*pl():re.length-xn},getText:function(){return re},isAtStartOfLine:function(){return Vr},hasTrailingComment:function(){return Bn},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(Eo,zu){return li(Eo)},writeTrailingSemicolon:li,writeComment:go,getTextPosWithWriteLine:ic}}e.createTextWriter=Dp;function Tf(l){var re=!1;function cr(){re&&(l.writeTrailingSemicolon(";"),re=!1)}return Rn(Rn({},l),{writeTrailingSemicolon:function(){re=!0},writeLiteral:function(Vr){cr(),l.writeLiteral(Vr)},writeStringLiteral:function(Vr){cr(),l.writeStringLiteral(Vr)},writeSymbol:function(Vr,Nt){cr(),l.writeSymbol(Vr,Nt)},writePunctuation:function(Vr){cr(),l.writePunctuation(Vr)},writeKeyword:function(Vr){cr(),l.writeKeyword(Vr)},writeOperator:function(Vr){cr(),l.writeOperator(Vr)},writeParameter:function(Vr){cr(),l.writeParameter(Vr)},writeSpace:function(Vr){cr(),l.writeSpace(Vr)},writeProperty:function(Vr){cr(),l.writeProperty(Vr)},writeComment:function(Vr){cr(),l.writeComment(Vr)},writeLine:function(){cr(),l.writeLine()},increaseIndent:function(){cr(),l.increaseIndent()},decreaseIndent:function(){cr(),l.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=Tf;function Wd(l){return l.useCaseSensitiveFileNames?l.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=Wd;function id(l){return e.createGetCanonicalFileName(Wd(l))}e.hostGetCanonicalFileName=id;function mo(l,re,cr){return re.moduleName||ms(l,re.fileName,cr&&cr.fileName)}e.getResolvedExternalModuleName=mo;function Dl(l,re){return l.getCanonicalFileName(e.getNormalizedAbsolutePath(re,l.getCurrentDirectory()))}function wo(l,re,cr){var Vr=re.getExternalModuleFileFromDeclaration(cr);if(!(!Vr||Vr.isDeclarationFile)){var Nt=zl(cr);if(!(Nt&&e.isStringLiteralLike(Nt)&&!e.pathIsRelative(Nt.text)&&Dl(l,Vr.path).indexOf(Dl(l,e.ensureTrailingDirectorySeparator(l.getCommonSourceDirectory())))===-1))return mo(l,Vr)}}e.getExternalModuleNameFromDeclaration=wo;function ms(l,re,cr){var Vr=function(Ei){return l.getCanonicalFileName(Ei)},Nt=e.toPath(cr?e.getDirectoryPath(cr):l.getCommonSourceDirectory(),l.getCurrentDirectory(),Vr),xn=e.getNormalizedAbsolutePath(re,l.getCurrentDirectory()),Bn=e.getRelativePathToDirectoryOrUrl(Nt,xn,Nt,Vr,!1),ga=Wm(Bn);return cr?e.ensurePathIsNonModuleName(ga):ga}e.getExternalModuleNameFromPath=ms;function e_(l,re,cr){var Vr=re.getCompilerOptions(),Nt;return Vr.outDir?Nt=Wm(sl(l,re,Vr.outDir)):Nt=Wm(l),Nt+cr}e.getOwnEmitOutputFilePath=e_;function Yl(l,re){return od(l,re.getCompilerOptions(),re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(cr){return re.getCanonicalFileName(cr)})}e.getDeclarationEmitOutputFilePath=Yl;function od(l,re,cr,Vr,Nt){var xn=re.declarationDir||re.outDir,Bn=xn?Dn(l,xn,cr,Vr,Nt):l,ga=Ln(Bn);return Wm(Bn)+ga}e.getDeclarationEmitOutputFilePathWorker=od;function Ln(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=Ln;function us(l){return l.outFile||l.out}e.outFile=us;function ii(l,re){var cr,Vr;if(!!l.paths)return(cr=l.baseUrl)!==null&&cr!==void 0?cr: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 Rc(l,re,cr){var Vr=l.getCompilerOptions();if(us(Vr)){var Nt=vd(Vr),xn=Vr.emitDeclarationOnly||Nt===e.ModuleKind.AMD||Nt===e.ModuleKind.System;return e.filter(l.getSourceFiles(),function(ga){return(xn||!e.isExternalModule(ga))&&sd(ga,l,cr)})}else{var Bn=re===void 0?l.getSourceFiles():[re];return e.filter(Bn,function(ga){return sd(ga,l,cr)})}}e.getSourceFilesToEmit=Rc;function sd(l,re,cr){var Vr=re.getCompilerOptions();return!(Vr.noEmitForJsFiles&&mr(l))&&!l.isDeclarationFile&&!re.isSourceFileFromExternalLibrary(l)&&(cr||!(xr(l)&&re.getResolvedProjectReferenceToRedirect(l.fileName))&&!re.isSourceOfProjectReferenceRedirect(l.fileName))}e.sourceFileMayBeEmitted=sd;function sl(l,re,cr){return Dn(l,cr,re.getCurrentDirectory(),re.getCommonSourceDirectory(),function(Vr){return re.getCanonicalFileName(Vr)})}e.getSourceFilePathInNewDir=sl;function Dn(l,re,cr,Vr,Nt){var xn=e.getNormalizedAbsolutePath(l,cr),Bn=Nt(xn).indexOf(Nt(Vr))===0;return xn=Bn?xn.substring(Vr.length):xn,e.combinePaths(re,xn)}e.getSourceFilePathInNewDirWorker=Dn;function N_(l,re,cr,Vr,Nt,xn){l.writeFile(cr,Vr,Nt,function(Bn){re.add(nf(e.Diagnostics.Could_not_write_file_0_Colon_1,cr,Bn))},xn)}e.writeFile=N_;function rs(l,re,cr){if(l.length>e.getRootLength(l)&&!cr(l)){var Vr=e.getDirectoryPath(l);rs(Vr,re,cr),re(l)}}function fs(l,re,cr,Vr,Nt,xn){try{Vr(l,re,cr)}catch{rs(e.getDirectoryPath(e.normalizePath(l)),Nt,xn),Vr(l,re,cr)}}e.writeFileEnsuringDirectories=fs;function wc(l,re){var cr=e.getLineStarts(l);return e.computeLineOfPosition(cr,re)}e.getLineOfLocalPosition=wc;function Hs(l,re){return e.computeLineOfPosition(l,re)}e.getLineOfLocalPositionFromLineMap=Hs;function Sf(l){return e.find(l.members,function(re){return e.isConstructorDeclaration(re)&&F(re.body)})}e.getFirstConstructorWithBody=Sf;function ws(l){if(l&&l.parameters.length>0){var re=l.parameters.length===2&&Df(l.parameters[0]);return l.parameters[re?1:0]}}e.getSetAccessorValueParameter=ws;function Pc(l){var re=ws(l);return re&&re.type}e.getSetAccessorTypeAnnotationNode=Pc;function Qu(l){if(l.parameters.length&&!e.isJSDocSignature(l)){var re=l.parameters[0];if(Df(re))return re}}e.getThisParameter=Qu;function Df(l){return hc(l.name)}e.parameterIsThisKeyword=Df;function hc(l){return!!l&&l.kind===79&&ll(l)}e.isThisIdentifier=hc;function Lf(l){if(!hc(l))return!1;for(;e.isQualifiedName(l.parent)&&l.parent.left===l;)l=l.parent;return l.parent.kind===180}e.isThisInTypeQuery=Lf;function ll(l){return l.originalKeywordKind===108}e.identifierIsThisKeyword=ll;function r_(l,re){var cr,Vr,Nt,xn;return Ou(re)?(cr=re,re.kind===171?Nt=re:re.kind===172?xn=re:e.Debug.fail("Accessor has wrong kind")):e.forEach(l,function(Bn){if(e.isAccessor(Bn)&&Zu(Bn)===Zu(re)){var ga=Uo(Bn.name),Ei=Uo(re.name);ga===Ei&&(cr?Vr||(Vr=Bn):cr=Bn,Bn.kind===171&&!Nt&&(Nt=Bn),Bn.kind===172&&!xn&&(xn=Bn))}}),{firstAccessor:cr,secondAccessor:Vr,getAccessor:Nt,setAccessor:xn}}e.getAllAccessorDeclarations=r_;function Fu(l){if(!(!Be(l)&&e.isFunctionDeclaration(l))){var re=l.type;return re||!Be(l)?re:e.isJSDocPropertyLikeTag(l)?l.typeExpression&&l.typeExpression.type:e.getJSDocType(l)}}e.getEffectiveTypeAnnotationNode=Fu;function Af(l){return l.type}e.getTypeAnnotationNode=Af;function ld(l){return e.isJSDocSignature(l)?l.type&&l.type.typeExpression&&l.type.typeExpression.type:l.type||(Be(l)?e.getJSDocReturnType(l):void 0)}e.getEffectiveReturnTypeNode=ld;function cd(l){return e.flatMap(e.getJSDocTags(l),function(re){return Cf(re)?re.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=cd;function Cf(l){return e.isJSDocTemplateTag(l)&&!(l.parent.kind===318&&l.parent.tags.some(Ws))}function yc(l){var re=ws(l);return re&&Fu(re)}e.getEffectiveSetAccessorTypeAnnotationNode=yc;function ud(l,re,cr,Vr){xf(l,re,cr.pos,Vr)}e.emitNewLineBeforeLeadingComments=ud;function xf(l,re,cr,Vr){Vr&&Vr.length&&cr!==Vr[0].pos&&Hs(l,cr)!==Hs(l,Vr[0].pos)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=xf;function Gu(l,re,cr,Vr){cr!==Vr&&Hs(l,cr)!==Hs(l,Vr)&&re.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Gu;function Js(l,re,cr,Vr,Nt,xn,Bn,ga){if(Vr&&Vr.length>0){Nt&&cr.writeSpace(" ");for(var Ei=!1,li=0,go=Vr;li=hs+2)break}li.push(Ks),go=Ks}if(li.length){var hs=Hs(re,e.last(li).end),Eo=Hs(re,e.skipTrivia(l,Nt.pos));Eo>=hs+2&&(ud(re,cr,Nt,ga),Js(l,re,cr,li,!1,!0,xn,Vr),Ei={nodePos:Nt.pos,detachedCommentEndPos:e.last(li).end})}}return Ei;function zu(u_){return V(l,u_.pos)}}e.emitDetachedComments=Gl;function Kc(l,re,cr,Vr,Nt,xn){if(l.charCodeAt(Vr+1)===42)for(var Bn=e.computeLineAndCharacterOfPosition(re,Vr),ga=re.length,Ei=void 0,li=Vr,go=Bn.line;li0){var hs=Ks%pl(),ic=Fl((Ks-hs)/pl());for(cr.rawWrite(ic);hs;)cr.rawWrite(" "),hs--}else cr.rawWrite("")}fd(l,Nt,cr,xn,li,wi),li=wi}else cr.writeComment(l.substring(Vr,Nt))}e.writeCommentRange=Kc;function fd(l,re,cr,Vr,Nt,xn){var Bn=Math.min(re,xn-1),ga=e.trimString(l.substring(Nt,Bn));ga?(cr.writeComment(ga),Bn!==re&&cr.writeLine()):cr.rawWrite(Vr)}function Ga(l,re,cr){for(var Vr=0;re=0&&l.kind<=159?0:(l.modifierFlagsCache&536870912||(l.modifierFlagsCache=Bu(l)|536870912),re&&!(l.modifierFlagsCache&4096)&&(cr||Be(l))&&l.parent&&(l.modifierFlagsCache|=nc(l)|4096),l.modifierFlagsCache&-536875009)}function jo(l){return Jd(l,!0)}e.getEffectiveModifierFlags=jo;function Bl(l){return Jd(l,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Bl;function Kd(l){return Jd(l,!1)}e.getSyntacticModifierFlags=Kd;function nc(l){var re=0;return!!l.parent&&!e.isParameter(l)&&(Be(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 Nf(l){return Bu(l)|nc(l)}e.getEffectiveModifierFlagsNoCache=Nf;function Bu(l){var re=dd(l.modifiers);return(l.flags&4||l.kind===79&&l.isInJSDocNamespace)&&(re|=1),re}e.getSyntacticModifierFlagsNoCache=Bu;function dd(l){var re=0;if(l)for(var cr=0,Vr=l;cr=63&&l<=78}e.isAssignmentOperator=ac;function kf(l){var re=Uu(l);return re&&!re.isImplements?re.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=kf;function Uu(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=Uu;function Xd(l,re){return e.isBinaryExpression(l)&&(re?l.operatorToken.kind===63:ac(l.operatorToken.kind))&&e.isLeftHandSideExpression(l.left)}e.isAssignmentExpression=Xd;function ef(l){return Xd(l.parent)&&l.parent.left===l}e.isLeftHandSideOfAssignment=ef;function Of(l){if(Xd(l,!0)){var re=l.left.kind;return re===204||re===203}return!1}e.isDestructuringAssignment=Of;function bc(l){return kf(l)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=bc;function qc(l){return l.kind===79||Xc(l)}e.isEntityNameExpression=qc;function rf(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=rf;function Vu(l){return l.kind===79||l.kind===108||l.kind===106||l.kind===230||l.kind===205&&Vu(l.expression)||l.kind===211&&Vu(l.expression)}e.isDottedName=Vu;function Xc(l){return e.isPropertyAccessExpression(l)&&e.isIdentifier(l.name)&&qc(l.expression)}e.isPropertyAccessEntityNameExpression=Xc;function Yd(l){if(e.isPropertyAccessExpression(l)){var re=Yd(l.expression);if(re!==void 0)return re+"."+ir(l.name)}else if(e.isElementAccessExpression(l)){var re=Yd(l.expression);if(re!==void 0&&e.isPropertyName(l.argumentExpression))return re+"."+Uo(l.argumentExpression)}else if(e.isIdentifier(l))return e.unescapeLeadingUnderscores(l.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=Yd;function Ec(l){return ft(l)&&Ia(l)==="prototype"}e.isPrototypeAccess=Ec;function Wu(l){return l.parent.kind===160&&l.parent.right===l||l.parent.kind===205&&l.parent.name===l}e.isRightSideOfQualifiedNameOrPropertyAccess=Wu;function t_(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=t_;function Wa(l){return l.kind===204&&l.properties.length===0}e.isEmptyObjectLiteral=Wa;function pu(l){return l.kind===203&&l.elements.length===0}e.isEmptyArrayLiteral=pu;function gn(l){if(!(!Rf(l)||!l.declarations))for(var re=0,cr=l.declarations;re0&&rc(l.declarations[0],512)}function Qd(l){return e.find(hu,function(re){return e.fileExtensionIs(l,re)})}e.tryExtractTSExtension=Qd;function Zd(l){for(var re=[],cr=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 Mc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function $d(l){for(var re="",cr=Zd(l),Vr=0,Nt=cr.length,xn,Bn,ga,Ei;Vr>2,Bn=(cr[Vr]&3)<<4|cr[Vr+1]>>4,ga=(cr[Vr+1]&15)<<2|cr[Vr+2]>>6,Ei=cr[Vr+2]&63,Vr+1>=Nt?ga=Ei=64:Vr+2>=Nt&&(Ei=64),re+=Mc.charAt(xn)+Mc.charAt(Bn)+Mc.charAt(ga)+Mc.charAt(Ei),Vr+=3;return re}e.convertToBase64=$d;function k_(l){for(var re="",cr=0,Vr=l.length;cr>4&3,go=(Bn&15)<<4|ga>>2&15,wi=(ga&3)<<6|Ei&63;go===0&&ga!==0?Vr.push(li):wi===0&&Ei!==0?Vr.push(li,go):Vr.push(li,go,wi),Nt+=4}return k_(Vr)}e.base64decode=Lp;function pd(l,re){try{var cr=re.readFile(l);if(!cr)return{};var Vr=e.parseConfigFileTextToJson(l,cr);return Vr.error?{}:Vr.config}catch{return{}}}e.readJson=pd;function Ap(l,re){return!re.directoryExists||re.directoryExists(l)}e.directoryProbablyExists=Ap;var Ul=`\r `,wf=` `;function _d(l,re){switch(l.newLine){case 0:return Ul;case 1:return wf}return re?re():e.sys?e.sys.newLine:Ul}e.getNewLineCharacter=_d;function Fc(l,re){return re===void 0&&(re=l),e.Debug.assert(re>=l||re===-1),{pos:l,end:re}}e.createRange=Fc;function Qc(l,re){return Fc(l.pos,re)}e.moveRangeEnd=Qc;function Pf(l,re){return Fc(re,l.end)}e.moveRangePos=Pf;function E(l){return l.decorators&&l.decorators.length>0?Pf(l,l.decorators.end):l}e.moveRangePastDecorators=E;function Qe(l){return l.modifiers&&l.modifiers.length>0?Pf(l,l.modifiers.end):E(l)}e.moveRangePastModifiers=Qe;function nt(l){return l.pos===l.end}e.isCollapsedRange=nt;function Ot(l,re){return Fc(l,l+e.tokenToString(re).length)}e.createTokenRange=Ot;function fa(l,re){return ti(l,l,re)}e.rangeIsOnSingleLine=fa;function Oa(l,re,cr){return os(is(l,cr,!1),is(re,cr,!1),cr)}e.rangeStartPositionsAreOnSameLine=Oa;function ia(l,re,cr){return os(l.end,re.end,cr)}e.rangeEndPositionsAreOnSameLine=ia;function ti(l,re,cr){return os(is(l,cr,!1),re.end,cr)}e.rangeStartIsOnSameLineAsRangeEnd=ti;function Na(l,re,cr){return os(l.end,is(re,cr,!1),cr)}e.rangeEndIsOnSameLineAsRangeStart=Na;function Ua(l,re,cr,Vr){var Nt=is(re,cr,Vr);return e.getLinesBetweenPositions(cr,l.end,Nt)}e.getLinesBetweenRangeEndAndRangeStart=Ua;function Go(l,re,cr){return e.getLinesBetweenPositions(cr,l.end,re.end)}e.getLinesBetweenRangeEndPositions=Go;function cl(l,re){return!os(l.pos,l.end,re)}e.isNodeArrayMultiLine=cl;function os(l,re,cr){return e.getLinesBetweenPositions(cr,l,re)===0}e.positionsAreOnSameLine=os;function is(l,re,cr){return jg(l.pos)?-1:e.skipTrivia(re.text,l.pos,!1,cr)}e.getStartPositionOfRange=is;function Vl(l,re,cr,Vr){var Nt=e.skipTrivia(cr.text,l,!1,Vr),xn=$c(Nt,re,cr);return e.getLinesBetweenPositions(cr,xn!=null?xn:re,Nt)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=Vl;function Zc(l,re,cr,Vr){var Nt=e.skipTrivia(cr.text,l,!1,Vr);return e.getLinesBetweenPositions(cr,l,Math.min(re,Nt))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=Zc;function $c(l,re,cr){for(re===void 0&&(re=0);l-- >re;)if(!e.isWhiteSpaceLike(cr.text.charCodeAt(l)))return l}function md(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=md;function n_(l){return e.filter(l.declarations,tf)}e.getInitializedVariables=n_;function tf(l){return l.initializer!==void 0}function Mf(l){return l.watch&&l.hasOwnProperty("watch")}e.isWatchSet=Mf;function a_(l){l.close()}e.closeFileWatcher=a_;function gd(l){return l.flags&33554432?l.checkFlags:0}e.getCheckFlags=gd;function Wl(l,re){if(re===void 0&&(re=!1),l.valueDeclaration){var cr=re&&l.declarations&&e.find(l.declarations,function(ga){return ga.kind===172})||l.valueDeclaration,Vr=e.getCombinedModifierFlags(cr);return l.parent&&l.parent.flags&32?Vr:Vr&-29}if(gd(l)&6){var Nt=l.checkFlags,xn=Nt&1024?8:Nt&256?4:16,Bn=Nt&2048?32:0;return xn|Bn}return l.flags&4194304?36:0}e.getDeclarationModifierFlagsFromSymbol=Wl;function ep(l,re){return l.flags&2097152?re.getAliasedSymbol(l):l}e.skipAlias=ep;function i_(l){return l.exportSymbol?l.exportSymbol.flags|l.flags:l.flags}e.getCombinedLocalAndExportSymbolFlags=i_;function xe(l){return at(l)===1}e.isWriteOnlyAccess=xe;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 cr=re.operator;return cr===45||cr===46?ga():0;case 220:var Vr=re,Nt=Vr.left,xn=Vr.operatorToken;return Nt===l&&ac(xn.kind)?xn.kind===63?1:ga():0;case 205:return re.name!==l?0:at(re);case 294:{var Bn=at(re.parent);return l===re.name?Ct(Bn):Bn}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 cr in l)if(typeof l[cr]=="object"){if(!Xt(l[cr],re[cr]))return!1}else if(typeof l[cr]!="function"&&l[cr]!==re[cr])return!1;return!0}e.compareDataObjects=Xt;function On(l,re){l.forEach(re),l.clear()}e.clearMap=On;function $n(l,re,cr){var Vr=cr.onDeleteValue,Nt=cr.onExistingValue;l.forEach(function(xn,Bn){var ga=re.get(Bn);ga===void 0?(l.delete(Bn),Vr(xn,Bn)):Nt&&Nt(xn,ga,Bn)})}e.mutateMapSkippingNewValues=$n;function wa(l,re,cr){$n(l,re,cr);var Vr=cr.createNewValue;re.forEach(function(Nt,xn){l.has(xn)||l.set(xn,Vr(xn,Nt))})}e.mutateMap=wa;function Ea(l){if(l.flags&32){var re=Ki(l);return!!re&&rc(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 Qo(l){return l.flags&3899393?l.objectFlags:0}e.getObjectFlags=Qo;function $i(l,re){return re.getSignaturesOfType(l,0).length!==0||re.getSignaturesOfType(l,1).length!==0}e.typeHasCallOrConstructSignatures=$i;function Ho(l,re){return!!e.forEachAncestorDirectory(l,function(cr){return re(cr)?!0:void 0})}e.forSomeAncestorDirectory=Ho;function gs(l){return!!l&&!!l.declarations&&!!l.declarations[0]&&e.isNamespaceExportDeclaration(l.declarations[0])}e.isUMDExportSymbol=gs;function _l(l){var re=l.moduleSpecifier;return e.isStringLiteral(re)?re.text:he(re)}e.showModuleSpecifier=_l;function xs(l){var re;return e.forEachChild(l,function(cr){F(cr)&&(re=cr)},function(cr){for(var Vr=cr.length-1;Vr>=0;Vr--)if(F(cr[Vr])){re=cr[Vr];break}}),re}e.getLastChild=xs;function Cl(l,re,cr){return cr===void 0&&(cr=!0),l.has(re)?!1:(l.set(re,cr),!0)}e.addToSeen=Cl;function bl(l){return e.isClassLike(l)||e.isInterfaceDeclaration(l)||e.isTypeLiteralNode(l)}e.isObjectTypeDeclaration=bl;function ju(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=ju;function ul(l){return l.kind===205||l.kind===206}e.isAccessExpression=ul;function Ps(l){return l.kind===205?l.name:(e.Debug.assert(l.kind===206),l.argumentExpression)}e.getNameOfAccessExpression=Ps;function Ff(l){switch(l.kind){case"text":case"internal":return!0;default:return!1}}e.isBundleFileTextLike=Ff;function _u(l){return l.kind===268||l.kind===272}e.isNamedImportsOrExports=_u;function ml(l){for(;ul(l);)l=l.expression;return l}e.getLeftmostAccessExpression=ml;function _(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=_;function W(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 be(l,re){this.flags=re,(e.Debug.isDebugging||e.tracing)&&(this.checker=l)}function nr(l,re){this.flags=re,e.Debug.isDebugging&&(this.checker=l)}function Ur(l,re,cr){this.pos=re,this.end=cr,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,cr){this.pos=re,this.end=cr,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function an(l,re,cr){this.pos=re,this.end=cr,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,cr){this.fileName=l,this.text=re,this.skipTrivia=cr||function(Vr){return Vr}}e.objectAllocator={getNodeConstructor:function(){return Ur},getTokenConstructor:function(){return Ht},getIdentifierConstructor:function(){return an},getPrivateIdentifierConstructor:function(){return Ur},getSourceFileConstructor:function(){return Ur},getSymbolConstructor:function(){return W},getTypeConstructor:function(){return be},getSignatureConstructor:function(){return nr},getSourceMapSourceConstructor:function(){return si}};function Io(l){e.objectAllocator=l}e.setObjectAllocator=Io;function vs(l,re,cr){return cr===void 0&&(cr=0),l.replace(/{(\d+)}/g,function(Vr,Nt){return""+e.Debug.checkDefined(re[+Nt+cr])})}e.formatStringFromArgs=vs;function rp(l){e.localizedDiagnosticMessages=l}e.setLocalizedDiagnosticMessages=rp;function Gc(l){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[l.key]||l.message}e.getLocaleSpecificMessage=Gc;function Gm(l,re,cr,Vr){fe(void 0,re,cr);var Nt=Gc(Vr);return arguments.length>4&&(Nt=vs(Nt,arguments,4)),{file:void 0,start:re,length:cr,messageText:Nt,category:Vr.category,code:Vr.code,reportsUnnecessary:Vr.reportsUnnecessary,fileName:l}}e.createDetachedDiagnostic=Gm;function tp(l){return l.file===void 0&&l.start!==void 0&&l.length!==void 0&&typeof l.fileName=="string"}function Bm(l,re){var cr=re.fileName||"",Vr=re.text.length;e.Debug.assertEqual(l.fileName,cr),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 xn=0,Bn=l.relatedInformation;xn4&&(Nt=vs(Nt,arguments,4)),{file:l,start:re,length:cr,messageText:Nt,category:Vr.category,code:Vr.code,reportsUnnecessary:Vr.reportsUnnecessary,reportsDeprecated:Vr.reportsDeprecated}}e.createFileDiagnostic=An;function Gf(l,re){var cr=Gc(re);return arguments.length>2&&(cr=vs(cr,arguments,2)),cr}e.formatMessage=Gf;function nf(l){var re=Gc(l);return arguments.length>1&&(re=vs(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=nf;function O_(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=O_;function Cp(l,re){var cr=Gc(re);return arguments.length>2&&(cr=vs(cr,arguments,2)),{messageText:cr,category:re.category,code:re.code,next:l===void 0||Array.isArray(l)?l:[l]}}e.chainDiagnosticMessages=Cp;function Um(l,re){for(var cr=l;cr.next;)cr=cr.next[0];cr.next=[re]}e.concatenateDiagnosticMessageChains=Um;function Hu(l){return l.file?l.file.path:void 0}function rm(l,re){return mu(l,re)||Gv(l,re)||0}e.compareDiagnostics=rm;function mu(l,re){return e.compareStringsCaseSensitive(Hu(l),Hu(re))||e.compareValues(l.start,re.start)||e.compareValues(l.length,re.length)||e.compareValues(l.code,re.code)||o_(l.messageText,re.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=mu;function Gv(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(cr,Vr){var Nt=re.relatedInformation[Vr];return rm(cr,Nt)})||0:l.relatedInformation?-1:1}function o_(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 cr=e.compareStringsCaseSensitive(l.messageText,re.messageText);if(cr)return cr;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 tm(l){return l===4||l===2||l===1||l===6?1:0}e.getLanguageVariant=tm;function s_(l){return l.target||l.module===e.ModuleKind.Node12&&7||l.module===e.ModuleKind.NodeNext&&99||0}e.getEmitScriptTarget=s_;function vd(l){return typeof l.module=="number"?l.module:s_(l)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=vd;function Vm(l){var re=l.moduleResolution;if(re===void 0)switch(vd(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=Vm;function Ju(l){switch(vd(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=Ju;function Bv(l){return l.allowUnreachableCode===!1}e.unreachableCodeIsError=Bv;function Pg(l){return l.allowUnusedLabels===!1}e.unusedLabelIsError=Pg;function xl(l){return!!(Fg(l)&&l.declarationMap)}e.getAreDeclarationMapsEnabled=xl;function Mg(l){if(l.esModuleInterop!==void 0)return l.esModuleInterop;switch(vd(l)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}e.getESModuleInterop=Mg;function xp(l){var re=vd(l);return l.allowSyntheticDefaultImports!==void 0?l.allowSyntheticDefaultImports:Mg(l)||re===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=xp;function Fg(l){return!!(l.declaration||l.composite)}e.getEmitDeclarations=Fg;function Ku(l){return!!(l.preserveConstEnums||l.isolatedModules)}e.shouldPreserveConstEnums=Ku;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 Hn(l){return l.allowJs===void 0?!!l.checkJs:l.allowJs}e.getAllowJSCompilerOption=Hn;function Sa(l){return l.useDefineForClassFields===void 0?s_(l)===99:l.useDefineForClassFields}e.getUseDefineForClassFields=Sa;function Za(l,re){return q(re,l,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=Za;function zi(l,re){return q(re,l,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=zi;function Bo(l,re){return re.strictFlag?pa(l,re.name):l[re.name]}e.getCompilerOptionValue=Bo;function Zs(l){var re=l.jsx;return re===2||re===4||re===5}e.getJSXTransformEnabled=Zs;function gl(l,re){var cr=re==null?void 0:re.pragmas.get("jsximportsource"),Vr=e.isArray(cr)?cr[cr.length-1]:cr;return l.jsx===4||l.jsx===5||l.jsxImportSource||Vr?(Vr==null?void 0:Vr.arguments.factory)||l.jsxImportSource||"react":void 0}e.getJSXImplicitImportBase=gl;function jl(l,re){return l?"".concat(l,"/").concat(re.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}e.getJSXRuntimeImport=jl;function vl(l){for(var re=!1,cr=0;cr=2&&xn.length>=2&&!l_(Nt[Nt.length-2],Vr)&&!l_(xn[xn.length-2],Vr)&&Vr(Nt[Nt.length-1])===Vr(xn[xn.length-1]);)Nt.pop(),xn.pop(),Bn=!0;return Bn?[e.getPathFromPathComponents(Nt),e.getPathFromPathComponents(xn)]:void 0}function l_(l,re){return l!==void 0&&(re(l)==="node_modules"||e.startsWith(l,"@"))}function np(l){return e.isAnyDirectorySeparator(l.charCodeAt(0))?l.slice(1):void 0}function nm(l,re,cr){var Vr=e.tryRemovePrefix(l,re,cr);return Vr===void 0?void 0:np(Vr)}e.tryRemoveDirectoryPrefix=nm;var am=/[^\w\s\/]/g;function IE(l){return l.replace(am,NE)}e.regExpEscape=IE;function NE(l){return"\\"+l}var oy=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var Gg="(?!(".concat(e.commonPackageFolders.join("|"),")(/|$))"),Uv={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(Gg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(l){return Vv(l,Uv.singleAsteriskRegexFragment)}},Bg={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(Gg,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(l){return Vv(l,Bg.singleAsteriskRegexFragment)}},gu={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(l){return Vv(l,gu.singleAsteriskRegexFragment)}},Ug={files:Uv,directories:Bg,exclude:gu};function Ip(l,re,cr){var Vr=R_(l,re,cr);if(!(!Vr||!Vr.length)){var Nt=Vr.map(function(Bn){return"(".concat(Bn,")")}).join("|"),xn=cr==="exclude"?"($|/)":"$";return"^(".concat(Nt,")").concat(xn)}}e.getRegularExpressionForWildcard=Ip;function R_(l,re,cr){if(!(l===void 0||l.length===0))return e.flatMap(l,function(Vr){return Vr&&vu(Vr,re,cr,Ug[cr])})}e.getRegularExpressionsForWildcards=R_;function c_(l){return!/[.*?]/.test(l)}e.isImplicitGlob=c_;function kE(l,re,cr){var Vr=l&&vu(l,re,cr,Ug[cr]);return Vr&&"^(".concat(Vr,")").concat(cr==="exclude"?"($|/)":"$")}e.getPatternFromSpec=kE;function vu(l,re,cr,Vr){var Nt=Vr.singleAsteriskRegexFragment,xn=Vr.doubleAsteriskRegexFragment,Bn=Vr.replaceWildcardCharacter,ga="",Ei=!1,li=e.getNormalizedPathComponents(l,re),go=e.last(li);if(!(cr!=="exclude"&&go==="**")){li[0]=e.removeTrailingDirectorySeparator(li[0]),c_(go)&&li.push("**","*");for(var wi=0,Is=0,Ks=li;Is0;)ga+=")?",wi--;return ga}}function Vv(l,re){return l==="*"?re:l==="?"?"[^/]":"\\"+l}function Wv(l,re,cr,Vr,Nt){l=e.normalizePath(l),Nt=e.normalizePath(Nt);var xn=e.combinePaths(Nt,l);return{includeFilePatterns:e.map(R_(cr,xn,"files"),function(Bn){return"^".concat(Bn,"$")}),includeFilePattern:Ip(cr,xn,"files"),includeDirectoryPattern:Ip(cr,xn,"directories"),excludePattern:Ip(re,xn,"exclude"),basePaths:Vg(l,cr,Vr)}}e.getFileMatcherPatterns=Wv;function im(l,re){return new RegExp(l,re?"":"i")}e.getRegexFromPattern=im;function af(l,re,cr,Vr,Nt,xn,Bn,ga,Ei){l=e.normalizePath(l),xn=e.normalizePath(xn);for(var li=Wv(l,cr,Vr,Nt,xn),go=li.includeFilePatterns&&li.includeFilePatterns.map(function(ap){return im(ap,Nt)}),wi=li.includeDirectoryPattern&&im(li.includeDirectoryPattern,Nt),Is=li.excludePattern&&im(li.excludePattern,Nt),Ks=go?go.map(function(){return[]}):[[]],hs=new e.Map,ic=e.createGetCanonicalFileName(Nt),Eo=0,zu=li.basePaths;Eo=0)}e.positionIsSynthesized=jg;function gy(l){return l===".ts"||l===".tsx"||l===".d.ts"||l===".cts"||l===".mts"||l===".d.mts"||l===".d.cts"}e.extensionIsTS=gy;function vy(l){return gy(l)||l===".json"}e.resolutionExtensionIsTSOrJson=vy;function hy(l){var re=Kv(l);return re!==void 0?re:e.Debug.fail("File ".concat(l," has unknown extension."))}e.extensionFromPath=hy;function ME(l){return Kv(l)!==void 0}e.isAnySupportedFileExtension=ME;function Kv(l){return e.find(Hv,function(re){return e.fileExtensionIs(l,re)})}e.tryGetExtensionFromPath=Kv;function FE(l,re){return l.checkJsDirective?l.checkJsDirective.enabled:re.checkJs}e.isCheckJsEnabledForFile=FE,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function jm(l,re){for(var cr=[],Vr=0,Nt=l;VrVr&&(Vr=xn)}return{min:cr,max:Vr}}e.minAndMax=GE;function BE(l){return{pos:Te(l),end:l.end}}e.rangeOfNode=BE;function eu(l,re){var cr=re.pos-1,Vr=e.skipTrivia(l.text,re.end)+1;return{pos:cr,end:Vr}}e.rangeOfTypeParameters=eu;function Tc(l,re,cr){return re.skipLibCheck&&l.isDeclarationFile||re.skipDefaultLibCheck&&l.hasNoDefaultLib||cr.isSourceOfProjectReferenceRedirect(l.fileName)}e.skipTypeChecking=Tc;function of(l,re){return l===re||typeof l=="object"&&l!==null&&typeof re=="object"&&re!==null&&e.equalOwnProperties(l,re,of)}e.isJsonEqual=of;function yu(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 cr=l.length-1,Vr=0;l.charCodeAt(Vr)===48;)Vr++;return l.slice(Vr,cr)||"0"}for(var Nt=2,xn=l.length-1,Bn=(xn-Nt)*re,ga=new Uint16Array((Bn>>>4)+(Bn&15?1:0)),Ei=xn-1,li=0;Ei>=Nt;Ei--,li+=re){var go=li>>>4,wi=l.charCodeAt(Ei),Is=wi<=57?wi-48:10+wi-(wi<=70?65:97),Ks=Is<<(li&15);ga[go]|=Ks;var hs=Ks>>>16;hs&&(ga[go+1]|=hs)}for(var ic="",Eo=ga.length-1,zu=!0;zu;){var u_=0;zu=!1;for(var go=Eo;go>=0;go--){var sm=u_<<16|ga[go],ap=sm/10|0;ga[go]=ap,u_=sm-ap*10,ap&&!zu&&(Eo=go,zu=!0)}ic=u_+ic}return ic}e.parsePseudoBigInt=yu;function yy(l){var re=l.negative,cr=l.base10Value;return(re&&cr!=="0"?"-":"")+cr}e.pseudoBigIntToString=yy;function Hm(l){return!!(l.flags&8388608)||yr(l)||by(l)||ru(l)||!(Es(l)||Jm(l))}e.isValidTypeOnlyAliasUseSite=Hm;function Jm(l){return e.isIdentifier(l)&&e.isShorthandPropertyAssignment(l.parent)&&l.parent.name===l}function ru(l){for(;l.kind===79||l.kind===205;)l=l.parent;if(l.kind!==161)return!1;if(rc(l.parent,128))return!0;var re=l.parent.parent.kind;return re===257||re===181}function by(l){if(l.kind!==79)return!1;var re=e.findAncestor(l.parent,function(cr){switch(cr.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 Xv(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)}e.isIdentifierTypeReference=Xv;function UE(l,re){if(re===void 0&&(re=e.equateValues),l.length<2)return!0;for(var cr=l[0],Vr=1,Nt=l.length;Vr3)return!0;var te=e.getExpressionPrecedence(F);switch(e.compareValues(te,u)){case-1:return!(!C&&g===1&&D.kind===223);case 1:return!1;case 0:if(C)return g===1;if(e.isBinaryExpression(F)&&F.operatorToken.kind===y){if(h(y))return!1;if(y===39){var ue=m?v(m):0;if(e.isLiteralKind(ue)&&ue===v(F))return!1}}var X=e.getExpressionAssociativity(F);return X===0}}function h(y){return y===41||y===51||y===50||y===52}function v(y){if(y=e.skipPartiallyEmittedExpressions(y),e.isLiteralKind(y.kind))return y.kind;if(y.kind===220&&y.operatorToken.kind===39){if(y.cachedLiteralKind!==void 0)return y.cachedLiteralKind;var D=v(y.left),C=e.isLiteralKind(D)&&D===v(y.right)?D:0;return y.cachedLiteralKind=C,C}return 0}function A(y,D,C,m){var u=e.skipPartiallyEmittedExpressions(D);return u.kind===211?D:H(y,D,C,m)?f.createParenthesizedExpression(D):D}function q(y,D){return A(y,D,!0)}function ie(y,D,C){return A(y,C,!1,D)}function b(y){return e.isCommaSequence(y)?f.createParenthesizedExpression(y):y}function P(y){var D=e.getOperatorPrecedence(221,57),C=e.skipPartiallyEmittedExpressions(y),m=e.getExpressionPrecedence(C);return e.compareValues(m,D)!==1?f.createParenthesizedExpression(y):y}function S(y){var D=e.skipPartiallyEmittedExpressions(y);return e.isCommaSequence(D)?f.createParenthesizedExpression(y):y}function B(y){var D=e.skipPartiallyEmittedExpressions(y),C=e.isCommaSequence(D);if(!C)switch(e.getLeftmostExpression(D,!1).kind){case 225:case 212:C=!0}return C?f.createParenthesizedExpression(y):y}function J(y){var D=e.getLeftmostExpression(y,!0);switch(D.kind){case 207:return f.createParenthesizedExpression(y);case 208:return D.arguments?y:f.createParenthesizedExpression(y)}return k(y)}function k(y){var D=e.skipPartiallyEmittedExpressions(y);return e.isLeftHandSideExpression(D)&&(D.kind!==208||D.arguments)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function M(y){return e.isLeftHandSideExpression(y)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function x(y){return e.isUnaryExpression(y)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function w(y){var D=e.sameMap(y,K);return e.setTextRange(f.createNodeArray(D,y.hasTrailingComma),y)}function K(y){var D=e.skipPartiallyEmittedExpressions(y),C=e.getExpressionPrecedence(D),m=e.getOperatorPrecedence(220,27);return C>m?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function Z(y){var D=e.skipPartiallyEmittedExpressions(y);if(e.isCallExpression(D)){var C=D.expression,m=e.skipPartiallyEmittedExpressions(C).kind;if(m===212||m===213){var u=f.updateCallExpression(D,e.setTextRange(f.createParenthesizedExpression(C),C),D.typeArguments,D.arguments);return f.restoreOuterExpressions(y,u,8)}}var g=e.getLeftmostExpression(D,!1).kind;return g===204||g===212?e.setTextRange(f.createParenthesizedExpression(y),y):y}function ne(y){return!e.isBlock(y)&&(e.isCommaSequence(y)||e.getLeftmostExpression(y,!1).kind===204)?e.setTextRange(f.createParenthesizedExpression(y),y):y}function R(y){return y.kind===188?f.createParenthesizedType(y):y}function Y(y){switch(y.kind){case 186:case 187:case 178:case 179:return f.createParenthesizedType(y)}return R(y)}function U(y){switch(y.kind){case 180:case 192:case 189:return f.createParenthesizedType(y)}return Y(y)}function $(y){return f.createNodeArray(e.sameMap(y,Y))}function T(y,D){return D===0&&e.isFunctionOrConstructorTypeNode(y)&&y.typeParameters?f.createParenthesizedType(y):y}function I(y){if(e.some(y))return f.createNodeArray(e.sameMap(y,T))}}e.createParenthesizerRules=n,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(f){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(f){return e.identity},parenthesizeLeftSideOfBinary:function(f,d){return d},parenthesizeRightSideOfBinary:function(f,d,a){return a},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(f){return e.cast(f,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(f){return e.cast(f,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(f){return e.cast(f,e.isNodeArray)},parenthesizeTypeArguments:function(f){return f&&e.cast(f,e.isNodeArray)}}})(gr||(gr={}));var gr;(function(e){function n(f){return{convertToFunctionBlock:d,convertToFunctionExpression:a,convertToArrayAssignmentElement:p,convertToObjectAssignmentElement:N,convertToAssignmentPattern:H,convertToObjectAssignmentPattern:h,convertToArrayAssignmentPattern:v,convertToAssignmentElementTarget:A};function d(q,ie){if(e.isBlock(q))return q;var b=f.createReturnStatement(q);e.setTextRange(b,q);var P=f.createBlock([b],ie);return e.setTextRange(P,q),P}function a(q){if(!q.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var ie=f.createFunctionExpression(q.modifiers,q.asteriskToken,q.name,q.typeParameters,q.parameters,q.type,q.body);return e.setOriginalNode(ie,q),e.setTextRange(ie,q),e.getStartsOnNewLine(q)&&e.setStartsOnNewLine(ie,!0),ie}function p(q){if(e.isBindingElement(q)){if(q.dotDotDotToken)return e.Debug.assertNode(q.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createSpreadElement(q.name),q),q);var ie=A(q.name);return q.initializer?e.setOriginalNode(e.setTextRange(f.createAssignment(ie,q.initializer),q),q):ie}return e.cast(q,e.isExpression)}function N(q){if(e.isBindingElement(q)){if(q.dotDotDotToken)return e.Debug.assertNode(q.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createSpreadAssignment(q.name),q),q);if(q.propertyName){var ie=A(q.name);return e.setOriginalNode(e.setTextRange(f.createPropertyAssignment(q.propertyName,q.initializer?f.createAssignment(ie,q.initializer):ie),q),q)}return e.Debug.assertNode(q.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createShorthandPropertyAssignment(q.name,q.initializer),q),q)}return e.cast(q,e.isObjectLiteralElementLike)}function H(q){switch(q.kind){case 201:case 203:return v(q);case 200:case 204:return h(q)}}function h(q){return e.isObjectBindingPattern(q)?e.setOriginalNode(e.setTextRange(f.createObjectLiteralExpression(e.map(q.elements,N)),q),q):e.cast(q,e.isObjectLiteralExpression)}function v(q){return e.isArrayBindingPattern(q)?e.setOriginalNode(e.setTextRange(f.createArrayLiteralExpression(e.map(q.elements,p)),q),q):e.cast(q,e.isArrayLiteralExpression)}function A(q){return e.isBindingPattern(q)?H(q):e.cast(q,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(U){U[U.None=0]="None",U[U.NoParenthesizerRules=1]="NoParenthesizerRules",U[U.NoNodeConverters=2]="NoNodeConverters",U[U.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",U[U.NoOriginalNode=8]="NoOriginalNode"})(e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function f(U,$){var T=U&8?d:a,I=e.memoize(function(){return U&1?e.nullParenthesizerRules:e.createParenthesizerRules(Se)}),y=e.memoize(function(){return U&2?e.nullNodeConverters:e.createNodeConverters(Se)}),D=e.memoizeOne(function(_){return function(W,be){return Ia(W,_,be)}}),C=e.memoizeOne(function(_){return function(W){return Qr(_,W)}}),m=e.memoizeOne(function(_){return function(W){return Xn(W,_)}}),u=e.memoizeOne(function(_){return function(){return I_(_)}}),g=e.memoizeOne(function(_){return function(W){return vc(_,W)}}),F=e.memoizeOne(function(_){return function(W,be){return Ml(_,W,be)}}),te=e.memoizeOne(function(_){return function(W,be){return Af(_,W,be)}}),ue=e.memoizeOne(function(_){return function(W,be,nr){return ld(_,W,be,nr)}}),X=e.memoizeOne(function(_){return function(W,be,nr){return cd(_,W,be,nr)}}),j=e.memoizeOne(function(_){return function(W,be,nr,Ur){return Cf(_,W,be,nr,Ur)}}),Se={get parenthesizer(){return I()},get converters(){return y()},createNodeArray:Ce,createNumericLiteral:_e,createBigIntLiteral:Le,createStringLiteral:Xe,createStringLiteralFromNode:De,createRegularExpressionLiteral:Ae,createLiteralLikeNode:Ye,createIdentifier:lr,updateIdentifier:Cr,createTempVariable:Or,createLoopVariable:Ke,createUniqueName:Pe,getGeneratedNameForNode:Hr,createPrivateIdentifier:ur,createToken:de,createSuper:Fe,createThis:$e,createNull:Dr,createTrue:Fr,createFalse:He,createModifier:pr,createModifiersFromModifierFlags:Jr,createQualifiedName:ze,updateQualifiedName:Ar,createComputedPropertyName:Yr,updateComputedPropertyName:lt,createTypeParameterDeclaration:tt,updateTypeParameterDeclaration:Rt,createParameterDeclaration:cn,updateParameterDeclaration:bn,createDecorator:In,updateDecorator:zn,createPropertySignature:ir,updatePropertySignature:Rr,createPropertyDeclaration:sr,updatePropertyDeclaration:ye,createMethodSignature:or,updateMethodSignature:fe,createMethodDeclaration:je,updateMethodDeclaration:Ee,createConstructorDeclaration:Ne,updateConstructorDeclaration:me,createGetAccessorDeclaration:Ze,updateGetAccessorDeclaration:xr,createSetAccessorDeclaration:fr,updateSetAccessorDeclaration:dr,createCallSignature:et,updateCallSignature:yt,createConstructSignature:Wr,updateConstructSignature:tr,createIndexSignature:Ir,updateIndexSignature:kr,createClassStaticBlockDeclaration:We,updateClassStaticBlockDeclaration:ee,createTemplateLiteralTypeSpan:zr,updateTemplateLiteralTypeSpan:gt,createKeywordTypeNode:vt,createTypePredicateNode:ut,updateTypePredicateNode:ht,createTypeReferenceNode:xt,updateTypeReferenceNode:wt,createFunctionTypeNode:Qt,updateFunctionTypeNode:mt,createConstructorTypeNode:rn,updateConstructorTypeNode:Jn,createTypeQueryNode:en,updateTypeQueryNode:St,createTypeLiteralNode:Ut,updateTypeLiteralNode:qt,createArrayTypeNode:Pn,updateArrayTypeNode:dn,createTupleTypeNode:oa,updateTupleTypeNode:pt,createNamedTupleMember:_t,updateNamedTupleMember:Pt,createOptionalTypeNode:It,updateOptionalTypeNode:rt,createRestTypeNode:Cn,updateRestTypeNode:Qn,createUnionTypeNode:_i,updateUnionTypeNode:va,createIntersectionTypeNode:yi,updateIntersectionTypeNode:ro,createConditionalTypeNode:Ka,updateConditionalTypeNode:Pi,createInferTypeNode:io,updateInferTypeNode:ji,createImportTypeNode:No,updateImportTypeNode:lo,createParenthesizedType:Lo,updateParenthesizedType:Ha,createThisTypeNode:Yo,createTypeOperatorNode:co,updateTypeOperatorNode:za,createIndexedAccessTypeNode:hi,updateIndexedAccessTypeNode:Zi,createMappedTypeNode:Po,updateMappedTypeNode:Mo,createLiteralTypeNode:Fo,updateLiteralTypeNode:zo,createTemplateLiteralType:Hi,updateTemplateLiteralType:to,createObjectBindingPattern:Es,updateObjectBindingPattern:Cs,createArrayBindingPattern:yr,updateArrayBindingPattern:dt,createBindingElement:tn,updateBindingElement:Un,createArrayLiteralExpression:oe,updateArrayLiteralExpression:mr,createObjectLiteralExpression:se,updateObjectLiteralExpression:Be,createPropertyAccessExpression:U&4?function(_,W){return e.setEmitFlags(er(_,W),131072)}:er,updatePropertyAccessExpression:hr,createPropertyAccessChain:U&4?function(_,W,be){return e.setEmitFlags(qr(_,W,be),131072)}:qr,updatePropertyAccessChain:Dt,createElementAccessExpression:Jt,updateElementAccessExpression:Sn,createElementAccessChain:ta,updateElementAccessChain:xa,createCallExpression:Di,updateCallExpression:$a,createCallChain:Ji,updateCallChain:So,createNewExpression:cs,updateNewExpression:bt,createTaggedTemplateExpression:Mn,updateTaggedTemplateExpression:da,createTypeAssertion:ei,updateTypeAssertion:bi,createParenthesizedExpression:xi,updateParenthesizedExpression:ka,createFunctionExpression:mi,updateFunctionExpression:Xi,createArrowFunction:Gi,updateArrowFunction:Ro,createDeleteExpression:ko,updateDeleteExpression:es,createTypeOfExpression:as,updateTypeOfExpression:pe,createVoidExpression:wr,updateVoidExpression:ft,createAwaitExpression:Zt,updateAwaitExpression:Re,createPrefixUnaryExpression:Qr,updatePrefixUnaryExpression:vn,createPostfixUnaryExpression:Xn,updatePostfixUnaryExpression:gi,createBinaryExpression:Ia,updateBinaryExpression:Wo,createConditionalExpression:Nr,updateConditionalExpression:Us,createTemplateExpression:il,updateTemplateExpression:Pl,createTemplateHead:Ql,createTemplateMiddle:zl,createTemplateTail:uc,createNoSubstitutionTemplateLiteral:cu,createTemplateLiteralLikeNode:Vs,createYieldExpression:no,updateYieldExpression:ql,createSpreadElement:fc,updateSpreadElement:Ws,createClassExpression:xc,updateClassExpression:Ic,createOmittedExpression:La,createExpressionWithTypeArguments:uu,updateExpressionWithTypeArguments:dc,createAsExpression:Nc,updateAsExpression:Pr,createNonNullExpression:$r,updateNonNullExpression:Lt,createNonNullChain:Kt,updateNonNullChain:pn,createMetaProperty:fn,updateMetaProperty:kn,createTemplateSpan:Kn,updateTemplateSpan:Fa,createSemicolonClassElement:ua,createBlock:le,updateBlock:rr,createVariableStatement:br,updateVariableStatement:ct,createEmptyStatement:jt,createExpressionStatement:yn,updateExpressionStatement:ha,createIfStatement:ri,updateIfStatement:Ta,createDoStatement:Ya,updateDoStatement:fi,createWhileStatement:ci,updateWhileStatement:Si,createForStatement:Do,updateForStatement:bo,createForInStatement:Ns,updateForInStatement:Ys,createForOfStatement:Nu,updateForOfStatement:gf,createContinueStatement:Zl,updateContinueStatement:jc,createBreakStatement:Mr,updateBreakStatement:$l,createReturnStatement:pc,updateReturnStatement:ku,createWithStatement:ol,updateWithStatement:kc,createSwitchStatement:vf,updateSwitchStatement:fo,createLabeledStatement:Zf,updateLabeledStatement:hf,createThrowStatement:Nd,updateThrowStatement:_s,createTryStatement:Hc,updateTryStatement:Jc,createDebuggerStatement:qp,createVariableDeclaration:dl,updateVariableDeclaration:Xp,createVariableDeclarationList:Rs,updateVariableDeclarationList:Ja,createFunctionDeclaration:Zn,updateFunctionDeclaration:Oc,createClassDeclaration:ks,updateClassDeclaration:yf,createInterfaceDeclaration:Ou,updateInterfaceDeclaration:kd,createTypeAliasDeclaration:Uo,updateTypeAliasDeclaration:$f,createEnumDeclaration:Od,updateEnumDeclaration:Rd,createModuleDeclaration:Yp,updateModuleDeclaration:yp,createModuleBlock:Xl,updateModuleBlock:C_,createCaseBlock:ed,updateCaseBlock:bp,createNamespaceExportDeclaration:wd,updateNamespaceExportDeclaration:Pd,createImportEqualsDeclaration:Md,updateImportEqualsDeclaration:Fd,createImportDeclaration:Ep,updateImportDeclaration:Qp,createImportClause:Gd,updateImportClause:Zp,createAssertClause:Bd,updateAssertClause:fu,createAssertEntry:_c,updateAssertEntry:mc,createNamespaceImport:ec,updateNamespaceImport:Ud,createNamespaceExport:bf,updateNamespaceExport:Tp,createNamedImports:Sp,updateNamedImports:Ef,createImportSpecifier:$p,updateImportSpecifier:Vd,createExportAssignment:rd,updateExportAssignment:td,createExportDeclaration:Ru,updateExportDeclaration:wu,createNamedExports:Pu,updateNamedExports:js,createExportSpecifier:gc,updateExportSpecifier:nd,createMissingDeclaration:x_,createExternalModuleReference:ad,updateExternalModuleReference:Mu,get createJSDocAllType(){return u(310)},get createJSDocUnknownType(){return u(311)},get createJSDocNonNullableType(){return g(313)},get updateJSDocNonNullableType(){return F(313)},get createJSDocNullableType(){return g(312)},get updateJSDocNullableType(){return F(312)},get createJSDocOptionalType(){return g(314)},get updateJSDocOptionalType(){return F(314)},get createJSDocVariadicType(){return g(316)},get updateJSDocVariadicType(){return F(316)},get createJSDocNamepathType(){return g(317)},get updateJSDocNamepathType(){return F(317)},createJSDocFunctionType:Sl,updateJSDocFunctionType:Fl,createJSDocTypeLiteral:pl,updateJSDocTypeLiteral:Dp,createJSDocTypeExpression:Tf,updateJSDocTypeExpression:Wd,createJSDocSignature:id,updateJSDocSignature:mo,createJSDocTemplateTag:ms,updateJSDocTemplateTag:e_,createJSDocTypedefTag:Yl,updateJSDocTypedefTag:od,createJSDocParameterTag:Ln,updateJSDocParameterTag:us,createJSDocPropertyTag:ii,updateJSDocPropertyTag:Rc,createJSDocCallbackTag:sd,updateJSDocCallbackTag:sl,createJSDocAugmentsTag:Dn,updateJSDocAugmentsTag:N_,createJSDocImplementsTag:rs,updateJSDocImplementsTag:Fu,createJSDocSeeTag:fs,updateJSDocSeeTag:wc,createJSDocNameReference:Hs,updateJSDocNameReference:Sf,createJSDocMemberName:ws,updateJSDocMemberName:Pc,createJSDocLink:Qu,updateJSDocLink:Df,createJSDocLinkCode:hc,updateJSDocLinkCode:Lf,createJSDocLinkPlain:ll,updateJSDocLinkPlain:r_,get createJSDocTypeTag(){return X(341)},get updateJSDocTypeTag(){return j(341)},get createJSDocReturnTag(){return X(339)},get updateJSDocReturnTag(){return j(339)},get createJSDocThisTag(){return X(340)},get updateJSDocThisTag(){return j(340)},get createJSDocEnumTag(){return X(337)},get updateJSDocEnumTag(){return j(337)},get createJSDocAuthorTag(){return te(328)},get updateJSDocAuthorTag(){return ue(328)},get createJSDocClassTag(){return te(330)},get updateJSDocClassTag(){return ue(330)},get createJSDocPublicTag(){return te(331)},get updateJSDocPublicTag(){return ue(331)},get createJSDocPrivateTag(){return te(332)},get updateJSDocPrivateTag(){return ue(332)},get createJSDocProtectedTag(){return te(333)},get updateJSDocProtectedTag(){return ue(333)},get createJSDocReadonlyTag(){return te(334)},get updateJSDocReadonlyTag(){return ue(334)},get createJSDocOverrideTag(){return te(335)},get updateJSDocOverrideTag(){return ue(335)},get createJSDocDeprecatedTag(){return te(329)},get updateJSDocDeprecatedTag(){return ue(329)},createJSDocUnknownTag:yc,updateJSDocUnknownTag:ud,createJSDocText:xf,updateJSDocText:Gu,createJSDocComment:Js,updateJSDocComment:Gl,createJsxElement:Kc,updateJsxElement:fd,createJsxSelfClosingElement:Ga,updateJsxSelfClosingElement:wn,createJsxOpeningElement:Ts,updateJsxOpeningElement:jd,createJsxClosingElement:rc,updateJsxClosingElement:Zu,createJsxFragment:zc,createJsxText:Ll,updateJsxText:tc,createJsxOpeningFragment:If,createJsxJsxClosingFragment:$u,updateJsxFragment:Hd,createJsxAttribute:Qs,updateJsxAttribute:Jd,createJsxAttributes:jo,updateJsxAttributes:Bl,createJsxSpreadAttribute:Kd,updateJsxSpreadAttribute:nc,createJsxExpression:Nf,updateJsxExpression:Bu,createCaseClause:dd,updateCaseClause:zd,createDefaultClause:Al,updateDefaultClause:ts,createHeritageClause:du,updateHeritageClause:qd,createCatchClause:ac,updateCatchClause:kf,createPropertyAssignment:Uu,updatePropertyAssignment:ef,createShorthandPropertyAssignment:Of,updateShorthandPropertyAssignment:qc,createSpreadAssignment:rf,updateSpreadAssignment:Vu,createEnumMember:Xc,updateEnumMember:Yd,createSourceFile:Ec,updateSourceFile:t_,createBundle:Wa,updateBundle:pu,createUnparsedSource:gn,createUnparsedPrologue:Qd,createUnparsedPrepend:Zd,createUnparsedTextLike:Mc,createUnparsedSyntheticReference:$d,createInputFiles:k_,createSyntheticExpression:Yc,createSyntaxList:Lp,createNotEmittedStatement:pd,createPartiallyEmittedExpression:Ap,updatePartiallyEmittedExpression:Ul,createCommaListExpression:_d,updateCommaListExpression:Fc,createEndOfDeclarationMarker:Qc,createMergeDeclarationMarker:Pf,createSyntheticReferenceExpression:E,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 m(45)},get createPostfixDecrement(){return m(46)},createImmediatelyInvokedFunctionExpression:Ot,createImmediatelyInvokedArrowFunction:fa,createVoidZero:Oa,createExportDefault:ia,createExternalModuleExport:ti,createTypeCheck:Na,createMethodCall:Ua,createGlobalMethodCall:is,createFunctionBindCall:Go,createFunctionCallCall:cl,createFunctionApplyCall:os,createArraySliceCall:Vl,createArrayConcatCall:Zc,createObjectDefinePropertyCall:$c,createReflectGetCall:md,createReflectSetCall:n_,createPropertyDescriptor:Mf,createCallBinding:xe,createAssignmentTargetWrapper:Tr,inlineExpressions:Gr,getInternalName:Ct,getLocalName:Xt,getExportName:On,getDeclarationName:$n,getNamespaceMemberName:wa,getExternalModuleOrNamespaceExportName:Ea,restoreOuterExpressions:Wl,restoreEnclosingLabel:ep,createUseStrictPrologue:$i,copyPrologue:Ki,copyStandardPrologue:Ho,copyCustomPrologue:gs,ensureUseStrict:_l,liftToBlock:xs,mergeLexicalEnvironment:bl,updateModifiers:ju};return Se;function Ce(_,W){if(_===void 0||_===e.emptyArray)_=[];else if(e.isNodeArray(_)){if(W===void 0||_.hasTrailingComma===W)return _.transformFlags===void 0&&b(_),e.Debug.attachNodeArrayDebugInfo(_),_;var be=_.slice();return be.pos=_.pos,be.end=_.end,be.hasTrailingComma=W,be.transformFlags=_.transformFlags,e.Debug.attachNodeArrayDebugInfo(be),be}var nr=_.length,Ur=nr>=1&&nr<=4?_.slice():_;return e.setTextRangePosEnd(Ur,-1,-1),Ur.hasTrailingComma=!!W,b(Ur),e.Debug.attachNodeArrayDebugInfo(Ur),Ur}function O(_){return $.createBaseNode(_)}function Q(_,W,be){var nr=O(_);return nr.decorators=ul(W),nr.modifiers=ul(be),nr.transformFlags|=ie(nr.decorators)|ie(nr.modifiers),nr.symbol=void 0,nr.localSymbol=void 0,nr.locals=void 0,nr.nextContainer=void 0,nr}function V(_,W,be,nr){var Ur=Q(_,W,be);if(nr=Ps(nr),Ur.name=nr,nr)switch(Ur.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(nr)){Ur.transformFlags|=v(nr);break}default:Ur.transformFlags|=q(nr);break}return Ur}function z(_,W,be,nr,Ur){var Ht=V(_,W,be,nr);return Ht.typeParameters=ul(Ur),Ht.transformFlags|=ie(Ht.typeParameters),Ur&&(Ht.transformFlags|=1),Ht}function Te(_,W,be,nr,Ur,Ht,an){var si=z(_,W,be,nr,Ur);return si.parameters=Ce(Ht),si.type=an,si.transformFlags|=ie(si.parameters)|q(si.type),an&&(si.transformFlags|=1),si}function ge(_,W){return W.typeArguments&&(_.typeArguments=W.typeArguments),T(_,W)}function ke(_,W,be,nr,Ur,Ht,an,si){var Io=Te(_,W,be,nr,Ur,Ht,an);return Io.body=si,Io.transformFlags|=q(Io.body)&-16777217,si||(Io.transformFlags|=1),Io}function Me(_,W){return W.exclamationToken&&(_.exclamationToken=W.exclamationToken),W.typeArguments&&(_.typeArguments=W.typeArguments),ge(_,W)}function Ie(_,W,be,nr,Ur,Ht){var an=z(_,W,be,nr,Ur);return an.heritageClauses=ul(Ht),an.transformFlags|=ie(an.heritageClauses),an}function Ge(_,W,be,nr,Ur,Ht,an){var si=Ie(_,W,be,nr,Ur,Ht);return si.members=Ce(an),si.transformFlags|=ie(si.members),si}function he(_,W,be,nr,Ur){var Ht=V(_,W,be,nr);return Ht.initializer=Ur,Ht.transformFlags|=q(Ht.initializer),Ht}function ve(_,W,be,nr,Ur,Ht){var an=he(_,W,be,nr,Ht);return an.type=Ur,an.transformFlags|=q(Ur),Ur&&(an.transformFlags|=1),an}function Ve(_,W){var be=vr(_);return be.text=W,be}function _e(_,W){W===void 0&&(W=0);var be=Ve(8,typeof _=="number"?_+"":_);return be.numericLiteralFlags=W,W&384&&(be.transformFlags|=512),be}function Le(_){var W=Ve(9,typeof _=="string"?_:e.pseudoBigIntToString(_)+"n");return W.transformFlags|=4,W}function qe(_,W){var be=Ve(10,_);return be.singleQuote=W,be}function Xe(_,W,be){var nr=qe(_,W);return nr.hasExtendedUnicodeEscape=be,be&&(nr.transformFlags|=512),nr}function De(_){var W=qe(e.getTextOfIdentifierOrLiteral(_),void 0);return W.textSourceNode=_,W}function Ae(_){var W=Ve(13,_);return W}function Ye(_,W){switch(_){case 8:return _e(W,0);case 9:return Le(W);case 10:return Xe(W,void 0);case 11:return Ll(W,!1);case 12:return Ll(W,!0);case 13:return Ae(W);case 14:return Vs(_,W,void 0,0)}}function Lr(_,W){W===void 0&&_&&(W=e.stringToToken(_)),W===79&&(W=void 0);var be=$.createBaseIdentifierNode(79);return be.originalKeywordKind=W,be.escapedText=e.escapeLeadingUnderscores(_),be}function Er(_,W){var be=Lr(_,void 0);return be.autoGenerateFlags=W,be.autoGenerateId=n,n++,be}function lr(_,W,be){var nr=Lr(_,be);return W&&(nr.typeArguments=Ce(W)),nr.originalKeywordKind===132&&(nr.transformFlags|=16777216),nr}function Cr(_,W){return _.typeArguments!==W?T(lr(e.idText(_),W),_):_}function Or(_,W){var be=1;W&&(be|=8);var nr=Er("",be);return _&&_(nr),nr}function Ke(_){var W=2;return _&&(W|=8),Er("",W)}function Pe(_,W){return W===void 0&&(W=0),e.Debug.assert(!(W&7),"Argument out of range: flags"),e.Debug.assert((W&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Er(_,3|W)}function Hr(_,W){W===void 0&&(W=0),e.Debug.assert(!(W&7),"Argument out of range: flags");var be=Er(_&&e.isIdentifier(_)?e.idText(_):"",4|W);return be.original=_,be}function ur(_){e.startsWith(_,"#")||e.Debug.fail("First character of private identifier must be #: "+_);var W=$.createBasePrivateIdentifierNode(80);return W.escapedText=e.escapeLeadingUnderscores(_),W.transformFlags|=8388608,W}function vr(_){return $.createBaseTokenNode(_)}function de(_){e.Debug.assert(_>=0&&_<=159,"Invalid token"),e.Debug.assert(_<=14||_>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(_<=8||_>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(_!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var W=vr(_),be=0;switch(_){case 131:be=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:be=1;break;case 106:be=33554944;break;case 124:be=512;break;case 108:be=8192;break}return be&&(W.transformFlags|=be),W}function Fe(){return de(106)}function $e(){return de(108)}function Dr(){return de(104)}function Fr(){return de(110)}function He(){return de(95)}function pr(_){return de(_)}function Jr(_){var W=[];return _&1&&W.push(pr(93)),_&2&&W.push(pr(135)),_&512&&W.push(pr(88)),_&2048&&W.push(pr(85)),_&4&&W.push(pr(123)),_&8&&W.push(pr(121)),_&16&&W.push(pr(122)),_&128&&W.push(pr(126)),_&32&&W.push(pr(124)),_&16384&&W.push(pr(158)),_&64&&W.push(pr(144)),_&256&&W.push(pr(131)),W}function ze(_,W){var be=O(160);return be.left=_,be.right=Ps(W),be.transformFlags|=q(be.left)|v(be.right),be}function Ar(_,W,be){return _.left!==W||_.right!==be?T(ze(W,be),_):_}function Yr(_){var W=O(161);return W.expression=I().parenthesizeExpressionOfComputedPropertyName(_),W.transformFlags|=q(W.expression)|512|65536,W}function lt(_,W){return _.expression!==W?T(Yr(W),_):_}function tt(_,W,be){var nr=V(162,void 0,void 0,_);return nr.constraint=W,nr.default=be,nr.transformFlags=1,nr}function Rt(_,W,be,nr){return _.name!==W||_.constraint!==be||_.default!==nr?T(tt(W,be,nr),_):_}function cn(_,W,be,nr,Ur,Ht,an){var si=ve(163,_,W,nr,Ht,an&&I().parenthesizeExpressionForDisallowedComma(an));return si.dotDotDotToken=be,si.questionToken=Ur,e.isThisIdentifier(si.name)?si.transformFlags=1:(si.transformFlags|=q(si.dotDotDotToken)|q(si.questionToken),Ur&&(si.transformFlags|=1),e.modifiersToFlags(si.modifiers)&16476&&(si.transformFlags|=4096),(an||be)&&(si.transformFlags|=512)),si}function bn(_,W,be,nr,Ur,Ht,an,si){return _.decorators!==W||_.modifiers!==be||_.dotDotDotToken!==nr||_.name!==Ur||_.questionToken!==Ht||_.type!==an||_.initializer!==si?T(cn(W,be,nr,Ur,Ht,an,si),_):_}function In(_){var W=O(164);return W.expression=I().parenthesizeLeftSideOfAccess(_),W.transformFlags|=q(W.expression)|1|4096,W}function zn(_,W){return _.expression!==W?T(In(W),_):_}function ir(_,W,be,nr){var Ur=V(165,void 0,_,W);return Ur.type=nr,Ur.questionToken=be,Ur.transformFlags=1,Ur}function Rr(_,W,be,nr,Ur){return _.modifiers!==W||_.name!==be||_.questionToken!==nr||_.type!==Ur?T(ir(W,be,nr,Ur),_):_}function sr(_,W,be,nr,Ur,Ht){var an=ve(166,_,W,be,Ur,Ht);return an.questionToken=nr&&e.isQuestionToken(nr)?nr:void 0,an.exclamationToken=nr&&e.isExclamationToken(nr)?nr:void 0,an.transformFlags|=q(an.questionToken)|q(an.exclamationToken)|8388608,(e.isComputedPropertyName(an.name)||e.hasStaticModifier(an)&&an.initializer)&&(an.transformFlags|=4096),(nr||e.modifiersToFlags(an.modifiers)&2)&&(an.transformFlags|=1),an}function ye(_,W,be,nr,Ur,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.questionToken!==(Ur!==void 0&&e.isQuestionToken(Ur)?Ur:void 0)||_.exclamationToken!==(Ur!==void 0&&e.isExclamationToken(Ur)?Ur:void 0)||_.type!==Ht||_.initializer!==an?T(sr(W,be,nr,Ur,Ht,an),_):_}function or(_,W,be,nr,Ur,Ht){var an=Te(167,void 0,_,W,nr,Ur,Ht);return an.questionToken=be,an.transformFlags=1,an}function fe(_,W,be,nr,Ur,Ht,an){return _.modifiers!==W||_.name!==be||_.questionToken!==nr||_.typeParameters!==Ur||_.parameters!==Ht||_.type!==an?ge(or(W,be,nr,Ur,Ht,an),_):_}function je(_,W,be,nr,Ur,Ht,an,si,Io){var vs=ke(168,_,W,nr,Ht,an,si,Io);return vs.asteriskToken=be,vs.questionToken=Ur,vs.transformFlags|=q(vs.asteriskToken)|q(vs.questionToken)|512,Ur&&(vs.transformFlags|=1),e.modifiersToFlags(vs.modifiers)&256?be?vs.transformFlags|=64:vs.transformFlags|=128:be&&(vs.transformFlags|=1024),vs}function Ee(_,W,be,nr,Ur,Ht,an,si,Io,vs){return _.decorators!==W||_.modifiers!==be||_.asteriskToken!==nr||_.name!==Ur||_.questionToken!==Ht||_.typeParameters!==an||_.parameters!==si||_.type!==Io||_.body!==vs?Me(je(W,be,nr,Ur,Ht,an,si,Io,vs),_):_}function We(_,W,be){var nr=z(169,_,W,void 0,void 0);return nr.body=be,nr.transformFlags=q(be)|8388608,nr}function ee(_,W,be,nr){return _.decorators!==W||_.modifier!==be||_.body!==nr?T(We(W,be,nr),_):_}function Ne(_,W,be,nr){var Ur=ke(170,_,W,void 0,void 0,be,void 0,nr);return Ur.transformFlags|=512,Ur}function me(_,W,be,nr,Ur){return _.decorators!==W||_.modifiers!==be||_.parameters!==nr||_.body!==Ur?Me(Ne(W,be,nr,Ur),_):_}function Ze(_,W,be,nr,Ur,Ht){return ke(171,_,W,be,void 0,nr,Ur,Ht)}function xr(_,W,be,nr,Ur,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.parameters!==Ur||_.type!==Ht||_.body!==an?Me(Ze(W,be,nr,Ur,Ht,an),_):_}function fr(_,W,be,nr,Ur){return ke(172,_,W,be,void 0,nr,void 0,Ur)}function dr(_,W,be,nr,Ur,Ht){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.parameters!==Ur||_.body!==Ht?Me(fr(W,be,nr,Ur,Ht),_):_}function et(_,W,be){var nr=Te(173,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function yt(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(et(W,be,nr),_):_}function Wr(_,W,be){var nr=Te(174,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function tr(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(Wr(W,be,nr),_):_}function Ir(_,W,be,nr){var Ur=Te(175,_,W,void 0,void 0,be,nr);return Ur.transformFlags=1,Ur}function kr(_,W,be,nr,Ur){return _.parameters!==nr||_.type!==Ur||_.decorators!==W||_.modifiers!==be?ge(Ir(W,be,nr,Ur),_):_}function zr(_,W){var be=O(198);return be.type=_,be.literal=W,be.transformFlags=1,be}function gt(_,W,be){return _.type!==W||_.literal!==be?T(zr(W,be),_):_}function vt(_){return de(_)}function ut(_,W,be){var nr=O(176);return nr.assertsModifier=_,nr.parameterName=Ps(W),nr.type=be,nr.transformFlags=1,nr}function ht(_,W,be,nr){return _.assertsModifier!==W||_.parameterName!==be||_.type!==nr?T(ut(W,be,nr),_):_}function xt(_,W){var be=O(177);return be.typeName=Ps(_),be.typeArguments=W&&I().parenthesizeTypeArguments(Ce(W)),be.transformFlags=1,be}function wt(_,W,be){return _.typeName!==W||_.typeArguments!==be?T(xt(W,be),_):_}function Qt(_,W,be){var nr=Te(178,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function mt(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(Qt(W,be,nr),_):_}function rn(){for(var _=[],W=0;W0;default:return!0}}function xe(_,W,be,nr){nr===void 0&&(nr=!1);var Ur=e.skipOuterExpressions(_,15),Ht,an;return e.isSuperProperty(Ur)?(Ht=$e(),an=Ur):e.isSuperKeyword(Ur)?(Ht=$e(),an=be!==void 0&&be<2?e.setTextRange(lr("_super"),Ur):Ur):e.getEmitFlags(Ur)&4096?(Ht=Oa(),an=I().parenthesizeLeftSideOfAccess(Ur)):e.isPropertyAccessExpression(Ur)?i_(Ur.expression,nr)?(Ht=Or(W),an=er(e.setTextRange(Se.createAssignment(Ht,Ur.expression),Ur.expression),Ur.name),e.setTextRange(an,Ur)):(Ht=Ur.expression,an=Ur):e.isElementAccessExpression(Ur)?i_(Ur.expression,nr)?(Ht=Or(W),an=Jt(e.setTextRange(Se.createAssignment(Ht,Ur.expression),Ur.expression),Ur.argumentExpression),e.setTextRange(an,Ur)):(Ht=Ur.expression,an=Ur):(Ht=Oa(),an=I().parenthesizeLeftSideOfAccess(_)),{target:an,thisArg:Ht}}function Tr(_,W){return er(xi(se([fr(void 0,void 0,"value",[cn(void 0,void 0,void 0,_,void 0,void 0,void 0)],le([yn(W)]))])),"value")}function Gr(_){return _.length>10?_d(_):e.reduceLeft(_,Se.createComma)}function at(_,W,be,nr){nr===void 0&&(nr=0);var Ur=e.getNameOfDeclaration(_);if(Ur&&e.isIdentifier(Ur)&&!e.isGeneratedIdentifier(Ur)){var Ht=e.setParent(e.setTextRange(nt(Ur),Ur),Ur.parent);return nr|=e.getEmitFlags(Ur),be||(nr|=48),W||(nr|=1536),nr&&e.setEmitFlags(Ht,nr),Ht}return Hr(_)}function Ct(_,W,be){return at(_,W,be,49152)}function Xt(_,W,be){return at(_,W,be,16384)}function On(_,W,be){return at(_,W,be,8192)}function $n(_,W,be){return at(_,W,be)}function wa(_,W,be,nr){var Ur=er(_,e.nodeIsSynthesized(W)?W:nt(W));e.setTextRange(Ur,W);var Ht=0;return nr||(Ht|=48),be||(Ht|=1536),Ht&&e.setEmitFlags(Ur,Ht),Ur}function Ea(_,W,be,nr){return _&&e.hasSyntacticModifier(W,1)?wa(_,at(W),be,nr):On(W,be,nr)}function Ki(_,W,be,nr){var Ur=Ho(_,W,be);return gs(_,W,Ur,nr)}function Qo(_){return e.isStringLiteral(_.expression)&&_.expression.text==="use strict"}function $i(){return e.startOnNewLine(yn(Xe("use strict")))}function Ho(_,W,be){e.Debug.assert(W.length===0,"Prologue directives should be at the first statement in the target statements array");for(var nr=!1,Ur=0,Ht=_.length;Ursi&&vs.splice.apply(vs,Gt([Ur,0],W.slice(si,Io),!1)),si>an&&vs.splice.apply(vs,Gt([nr,0],W.slice(an,si),!1)),an>Ht&&vs.splice.apply(vs,Gt([be,0],W.slice(Ht,an),!1)),Ht>0)if(be===0)vs.splice.apply(vs,Gt([0,0],W.slice(0,Ht),!1));else{for(var rp=new e.Map,Gc=0;Gc=0;Gc--){var tp=W[Gc];rp.has(tp.expression.text)||vs.unshift(tp)}}return e.isNodeArray(_)?e.setTextRange(Ce(vs,_.hasTrailingComma),_):_}function ju(_,W){var be;return typeof W=="number"&&(W=Jr(W)),e.isParameter(_)?bn(_,_.decorators,W,_.dotDotDotToken,_.name,_.questionToken,_.type,_.initializer):e.isPropertySignature(_)?Rr(_,W,_.name,_.questionToken,_.type):e.isPropertyDeclaration(_)?ye(_,_.decorators,W,_.name,(be=_.questionToken)!==null&&be!==void 0?be:_.exclamationToken,_.type,_.initializer):e.isMethodSignature(_)?fe(_,W,_.name,_.questionToken,_.typeParameters,_.parameters,_.type):e.isMethodDeclaration(_)?Ee(_,_.decorators,W,_.asteriskToken,_.name,_.questionToken,_.typeParameters,_.parameters,_.type,_.body):e.isConstructorDeclaration(_)?me(_,_.decorators,W,_.parameters,_.body):e.isGetAccessorDeclaration(_)?xr(_,_.decorators,W,_.name,_.parameters,_.type,_.body):e.isSetAccessorDeclaration(_)?dr(_,_.decorators,W,_.name,_.parameters,_.body):e.isIndexSignatureDeclaration(_)?kr(_,_.decorators,W,_.parameters,_.type):e.isFunctionExpression(_)?Xi(_,W,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isArrowFunction(_)?Ro(_,W,_.typeParameters,_.parameters,_.type,_.equalsGreaterThanToken,_.body):e.isClassExpression(_)?Ic(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isVariableStatement(_)?ct(_,W,_.declarationList):e.isFunctionDeclaration(_)?Oc(_,_.decorators,W,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isClassDeclaration(_)?yf(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isInterfaceDeclaration(_)?kd(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isTypeAliasDeclaration(_)?$f(_,_.decorators,W,_.name,_.typeParameters,_.type):e.isEnumDeclaration(_)?Rd(_,_.decorators,W,_.name,_.members):e.isModuleDeclaration(_)?yp(_,_.decorators,W,_.name,_.body):e.isImportEqualsDeclaration(_)?Fd(_,_.decorators,W,_.isTypeOnly,_.name,_.moduleReference):e.isImportDeclaration(_)?Qp(_,_.decorators,W,_.importClause,_.moduleSpecifier,_.assertClause):e.isExportAssignment(_)?td(_,_.decorators,W,_.expression):e.isExportDeclaration(_)?wu(_,_.decorators,W,_.isTypeOnly,_.exportClause,_.moduleSpecifier,_.assertClause):e.Debug.assertNever(_)}function ul(_){return _?Ce(_):void 0}function Ps(_){return typeof _=="string"?lr(_):_}function Ff(_){return typeof _=="string"?Xe(_):typeof _=="number"?_e(_):typeof _=="boolean"?_?Fr():He():_}function _u(_){return typeof _=="number"?de(_):_}function ml(_){return _&&e.isNotEmittedStatement(_)?e.setTextRange(ne(jt(),_),_):_}}e.createNodeFactory=f;function d(U,$){return U!==$&&e.setTextRange(U,$),U}function a(U,$){return U!==$&&(ne(U,$),e.setTextRange(U,$)),U}function p(U){switch(U){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(U)))}}var N,H={};function h(U,$){switch(N||(N=e.createScanner(99,!1,0)),U){case 14:N.setText("`"+$+"`");break;case 15:N.setText("`"+$+"${");break;case 16:N.setText("}"+$+"${");break;case 17:N.setText("}"+$+"`");break}var T=N.scan();if(T===19&&(T=N.reScanTemplateToken(!1)),N.isUnterminated())return N.setText(void 0),H;var I;switch(T){case 14:case 15:case 16:case 17:I=N.getTokenValue();break}return I===void 0||N.scan()!==1?(N.setText(void 0),H):(N.setText(void 0),I)}function v(U){return q(U)&-16777217}function A(U,$){return $|U.transformFlags&33562624}function q(U){if(!U)return 0;var $=U.transformFlags&~P(U.kind);return e.isNamedDeclaration(U)&&e.isPropertyName(U.name)?A(U.name,$):$}function ie(U){return U?U.transformFlags:0}function b(U){for(var $=0,T=0,I=U;T=176&&U<=199)return-2;switch(U){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=P;var S=e.createBaseNodeFactory();function B(U){return U.flags|=8,U}var J={createBaseSourceFileNode:function(U){return B(S.createBaseSourceFileNode(U))},createBaseIdentifierNode:function(U){return B(S.createBaseIdentifierNode(U))},createBasePrivateIdentifierNode:function(U){return B(S.createBasePrivateIdentifierNode(U))},createBaseTokenNode:function(U){return B(S.createBaseTokenNode(U))},createBaseNode:function(U){return B(S.createBaseNode(U))}};e.factory=f(4,J);function k(U,$,T){var I,y,D,C,m,u,g,F,te,ue;e.isString(U)?(D="",C=U,m=U.length,u=$,g=T):(e.Debug.assert($==="js"||$==="dts"),D=($==="js"?U.javascriptPath:U.declarationPath)||"",u=$==="js"?U.javascriptMapPath:U.declarationMapPath,F=function(){return $==="js"?U.javascriptText:U.declarationText},te=function(){return $==="js"?U.javascriptMapText:U.declarationMapText},m=function(){return F().length},U.buildInfo&&U.buildInfo.bundle&&(e.Debug.assert(T===void 0||typeof T=="boolean"),I=T,y=$==="js"?U.buildInfo.bundle.js:U.buildInfo.bundle.dts,ue=U.oldFileOfCurrentEmit));var X=ue?x(e.Debug.assertDefined(y)):M(y,I,m);return X.fileName=D,X.sourceMapPath=u,X.oldFileOfCurrentEmit=ue,F&&te?(Object.defineProperty(X,"text",{get:F}),Object.defineProperty(X,"sourceMapText",{get:te})):(e.Debug.assert(!ue),X.text=C!=null?C:"",X.sourceMapText=g),X}e.createUnparsedSourceFile=k;function M(U,$,T){for(var I,y,D,C,m,u,g,F,te=0,ue=U?U.sections:e.emptyArray;te0&&(u[te-F]=ue)}F>0&&(u.length-=F)}}e.moveEmitHelpers=U;function $(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.snippetElement}e.getSnippetElement=$;function T(y,D){var C=n(y);return C.snippetElement=D,y}e.setSnippetElement=T;function I(y){return n(y).flags|=134217728,y}e.ignoreSourceNewlines=I})(gr||(gr={}));var gr;(function(e){function n(H){var h=H.factory,v=e.memoize(function(){return e.setEmitFlags(h.createTrue(),268435456)}),A=e.memoize(function(){return e.setEmitFlags(h.createFalse(),268435456)});return{getUnscopedHelperName:q,createDecorateHelper:ie,createMetadataHelper:b,createParamHelper:P,createAssignHelper:S,createAwaitHelper:B,createAsyncGeneratorHelper:J,createAsyncDelegatorHelper:k,createAsyncValuesHelper:M,createRestHelper:x,createAwaiterHelper:w,createExtendsHelper:K,createTemplateObjectHelper:Z,createSpreadArrayHelper:ne,createValuesHelper:R,createReadHelper:Y,createGeneratorHelper:U,createCreateBindingHelper:$,createImportStarHelper:T,createImportStarCallbackHelper:I,createImportDefaultHelper:y,createExportStarHelper:D,createClassPrivateFieldGetHelper:C,createClassPrivateFieldSetHelper:m,createClassPrivateFieldInHelper:u};function q(g){return e.setEmitFlags(h.createIdentifier(g),4098)}function ie(g,F,te,ue){H.requestEmitHelper(e.decorateHelper);var X=[];return X.push(h.createArrayLiteralExpression(g,!0)),X.push(F),te&&(X.push(te),ue&&X.push(ue)),h.createCallExpression(q("__decorate"),void 0,X)}function b(g,F){return H.requestEmitHelper(e.metadataHelper),h.createCallExpression(q("__metadata"),void 0,[h.createStringLiteral(g),F])}function P(g,F,te){return H.requestEmitHelper(e.paramHelper),e.setTextRange(h.createCallExpression(q("__param"),void 0,[h.createNumericLiteral(F+""),g]),te)}function S(g){return e.getEmitScriptTarget(H.getCompilerOptions())>=2?h.createCallExpression(h.createPropertyAccessExpression(h.createIdentifier("Object"),"assign"),void 0,g):(H.requestEmitHelper(e.assignHelper),h.createCallExpression(q("__assign"),void 0,g))}function B(g){return H.requestEmitHelper(e.awaitHelper),h.createCallExpression(q("__await"),void 0,[g])}function J(g,F){return H.requestEmitHelper(e.awaitHelper),H.requestEmitHelper(e.asyncGeneratorHelper),(g.emitNode||(g.emitNode={})).flags|=786432,h.createCallExpression(q("__asyncGenerator"),void 0,[F?h.createThis():h.createVoidZero(),h.createIdentifier("arguments"),g])}function k(g){return H.requestEmitHelper(e.awaitHelper),H.requestEmitHelper(e.asyncDelegator),h.createCallExpression(q("__asyncDelegator"),void 0,[g])}function M(g){return H.requestEmitHelper(e.asyncValues),h.createCallExpression(q("__asyncValues"),void 0,[g])}function x(g,F,te,ue){H.requestEmitHelper(e.restHelper);for(var X=[],j=0,Se=0;Se= 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(H){return H.name}))}e.getAllUnscopedEmitHelpers=p,e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:d(cD([` const `," = name => super[name];"],[` const `," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:d(cD([` 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 N(H,h){return e.isCallExpression(H)&&e.isIdentifier(H.expression)&&(e.getEmitFlags(H.expression)&4096)!==0&&H.expression.escapedText===h}e.isCallToHelper=N})(gr||(gr={}));var gr;(function(e){function n(Nr){return Nr.kind===8}e.isNumericLiteral=n;function f(Nr){return Nr.kind===9}e.isBigIntLiteral=f;function d(Nr){return Nr.kind===10}e.isStringLiteral=d;function a(Nr){return Nr.kind===11}e.isJsxText=a;function p(Nr){return Nr.kind===13}e.isRegularExpressionLiteral=p;function N(Nr){return Nr.kind===14}e.isNoSubstitutionTemplateLiteral=N;function H(Nr){return Nr.kind===15}e.isTemplateHead=H;function h(Nr){return Nr.kind===16}e.isTemplateMiddle=h;function v(Nr){return Nr.kind===17}e.isTemplateTail=v;function A(Nr){return Nr.kind===25}e.isDotDotDotToken=A;function q(Nr){return Nr.kind===27}e.isCommaToken=q;function ie(Nr){return Nr.kind===39}e.isPlusToken=ie;function b(Nr){return Nr.kind===40}e.isMinusToken=b;function P(Nr){return Nr.kind===41}e.isAsteriskToken=P;function S(Nr){return Nr.kind===53}e.isExclamationToken=S;function B(Nr){return Nr.kind===57}e.isQuestionToken=B;function J(Nr){return Nr.kind===58}e.isColonToken=J;function k(Nr){return Nr.kind===28}e.isQuestionDotToken=k;function M(Nr){return Nr.kind===38}e.isEqualsGreaterThanToken=M;function x(Nr){return Nr.kind===79}e.isIdentifier=x;function w(Nr){return Nr.kind===80}e.isPrivateIdentifier=w;function K(Nr){return Nr.kind===93}e.isExportModifier=K;function Z(Nr){return Nr.kind===131}e.isAsyncModifier=Z;function ne(Nr){return Nr.kind===128}e.isAssertsKeyword=ne;function R(Nr){return Nr.kind===132}e.isAwaitKeyword=R;function Y(Nr){return Nr.kind===144}e.isReadonlyKeyword=Y;function U(Nr){return Nr.kind===124}e.isStaticModifier=U;function $(Nr){return Nr.kind===126}e.isAbstractModifier=$;function T(Nr){return Nr.kind===106}e.isSuperKeyword=T;function I(Nr){return Nr.kind===100}e.isImportKeyword=I;function y(Nr){return Nr.kind===160}e.isQualifiedName=y;function D(Nr){return Nr.kind===161}e.isComputedPropertyName=D;function C(Nr){return Nr.kind===162}e.isTypeParameterDeclaration=C;function m(Nr){return Nr.kind===163}e.isParameter=m;function u(Nr){return Nr.kind===164}e.isDecorator=u;function g(Nr){return Nr.kind===165}e.isPropertySignature=g;function F(Nr){return Nr.kind===166}e.isPropertyDeclaration=F;function te(Nr){return Nr.kind===167}e.isMethodSignature=te;function ue(Nr){return Nr.kind===168}e.isMethodDeclaration=ue;function X(Nr){return Nr.kind===169}e.isClassStaticBlockDeclaration=X;function j(Nr){return Nr.kind===170}e.isConstructorDeclaration=j;function Se(Nr){return Nr.kind===171}e.isGetAccessorDeclaration=Se;function Ce(Nr){return Nr.kind===172}e.isSetAccessorDeclaration=Ce;function O(Nr){return Nr.kind===173}e.isCallSignatureDeclaration=O;function Q(Nr){return Nr.kind===174}e.isConstructSignatureDeclaration=Q;function V(Nr){return Nr.kind===175}e.isIndexSignatureDeclaration=V;function z(Nr){return Nr.kind===176}e.isTypePredicateNode=z;function Te(Nr){return Nr.kind===177}e.isTypeReferenceNode=Te;function ge(Nr){return Nr.kind===178}e.isFunctionTypeNode=ge;function ke(Nr){return Nr.kind===179}e.isConstructorTypeNode=ke;function Me(Nr){return Nr.kind===180}e.isTypeQueryNode=Me;function Ie(Nr){return Nr.kind===181}e.isTypeLiteralNode=Ie;function Ge(Nr){return Nr.kind===182}e.isArrayTypeNode=Ge;function he(Nr){return Nr.kind===183}e.isTupleTypeNode=he;function ve(Nr){return Nr.kind===196}e.isNamedTupleMember=ve;function Ve(Nr){return Nr.kind===184}e.isOptionalTypeNode=Ve;function _e(Nr){return Nr.kind===185}e.isRestTypeNode=_e;function Le(Nr){return Nr.kind===186}e.isUnionTypeNode=Le;function qe(Nr){return Nr.kind===187}e.isIntersectionTypeNode=qe;function Xe(Nr){return Nr.kind===188}e.isConditionalTypeNode=Xe;function De(Nr){return Nr.kind===189}e.isInferTypeNode=De;function Ae(Nr){return Nr.kind===190}e.isParenthesizedTypeNode=Ae;function Ye(Nr){return Nr.kind===191}e.isThisTypeNode=Ye;function Lr(Nr){return Nr.kind===192}e.isTypeOperatorNode=Lr;function Er(Nr){return Nr.kind===193}e.isIndexedAccessTypeNode=Er;function lr(Nr){return Nr.kind===194}e.isMappedTypeNode=lr;function Cr(Nr){return Nr.kind===195}e.isLiteralTypeNode=Cr;function Or(Nr){return Nr.kind===199}e.isImportTypeNode=Or;function Ke(Nr){return Nr.kind===198}e.isTemplateLiteralTypeSpan=Ke;function Pe(Nr){return Nr.kind===197}e.isTemplateLiteralTypeNode=Pe;function Hr(Nr){return Nr.kind===200}e.isObjectBindingPattern=Hr;function ur(Nr){return Nr.kind===201}e.isArrayBindingPattern=ur;function vr(Nr){return Nr.kind===202}e.isBindingElement=vr;function de(Nr){return Nr.kind===203}e.isArrayLiteralExpression=de;function Fe(Nr){return Nr.kind===204}e.isObjectLiteralExpression=Fe;function $e(Nr){return Nr.kind===205}e.isPropertyAccessExpression=$e;function Dr(Nr){return Nr.kind===206}e.isElementAccessExpression=Dr;function Fr(Nr){return Nr.kind===207}e.isCallExpression=Fr;function He(Nr){return Nr.kind===208}e.isNewExpression=He;function pr(Nr){return Nr.kind===209}e.isTaggedTemplateExpression=pr;function Jr(Nr){return Nr.kind===210}e.isTypeAssertionExpression=Jr;function ze(Nr){return Nr.kind===211}e.isParenthesizedExpression=ze;function Ar(Nr){return Nr.kind===212}e.isFunctionExpression=Ar;function Yr(Nr){return Nr.kind===213}e.isArrowFunction=Yr;function lt(Nr){return Nr.kind===214}e.isDeleteExpression=lt;function tt(Nr){return Nr.kind===215}e.isTypeOfExpression=tt;function Rt(Nr){return Nr.kind===216}e.isVoidExpression=Rt;function cn(Nr){return Nr.kind===217}e.isAwaitExpression=cn;function bn(Nr){return Nr.kind===218}e.isPrefixUnaryExpression=bn;function In(Nr){return Nr.kind===219}e.isPostfixUnaryExpression=In;function zn(Nr){return Nr.kind===220}e.isBinaryExpression=zn;function ir(Nr){return Nr.kind===221}e.isConditionalExpression=ir;function Rr(Nr){return Nr.kind===222}e.isTemplateExpression=Rr;function sr(Nr){return Nr.kind===223}e.isYieldExpression=sr;function ye(Nr){return Nr.kind===224}e.isSpreadElement=ye;function or(Nr){return Nr.kind===225}e.isClassExpression=or;function fe(Nr){return Nr.kind===226}e.isOmittedExpression=fe;function je(Nr){return Nr.kind===227}e.isExpressionWithTypeArguments=je;function Ee(Nr){return Nr.kind===228}e.isAsExpression=Ee;function We(Nr){return Nr.kind===229}e.isNonNullExpression=We;function ee(Nr){return Nr.kind===230}e.isMetaProperty=ee;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 Wr(Nr){return Nr.kind===237}e.isExpressionStatement=Wr;function tr(Nr){return Nr.kind===238}e.isIfStatement=tr;function Ir(Nr){return Nr.kind===239}e.isDoStatement=Ir;function kr(Nr){return Nr.kind===240}e.isWhileStatement=kr;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 mt(Nr){return Nr.kind===249}e.isLabeledStatement=mt;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 Jn(Nr){return Nr.kind===253}e.isVariableDeclaration=Jn;function na(Nr){return Nr.kind===254}e.isVariableDeclarationList=na;function Wn(Nr){return Nr.kind===255}e.isFunctionDeclaration=Wn;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 Pn(Nr){return Nr.kind===260}e.isModuleDeclaration=Pn;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 _t(Nr){return Nr.kind===264}e.isImportEqualsDeclaration=_t;function Pt(Nr){return Nr.kind===265}e.isImportDeclaration=Pt;function It(Nr){return Nr.kind===266}e.isImportClause=It;function rt(Nr){return Nr.kind===292}e.isAssertClause=rt;function Cn(Nr){return Nr.kind===293}e.isAssertEntry=Cn;function Qn(Nr){return Nr.kind===267}e.isNamespaceImport=Qn;function Ra(Nr){return Nr.kind===273}e.isNamespaceExport=Ra;function Ci(Nr){return Nr.kind===268}e.isNamedImports=Ci;function _i(Nr){return Nr.kind===269}e.isImportSpecifier=_i;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 Pi(Nr){return Nr.kind===275}e.isMissingDeclaration=Pi;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 No(Nr){return Nr.kind===276}e.isExternalModuleReference=No;function lo(Nr){return Nr.kind===277}e.isJsxElement=lo;function Lo(Nr){return Nr.kind===278}e.isJsxSelfClosingElement=Lo;function Ha(Nr){return Nr.kind===279}e.isJsxOpeningElement=Ha;function Yo(Nr){return Nr.kind===280}e.isJsxClosingElement=Yo;function co(Nr){return Nr.kind===281}e.isJsxFragment=co;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 Mo(Nr){return Nr.kind===286}e.isJsxSpreadAttribute=Mo;function Fo(Nr){return Nr.kind===287}e.isJsxExpression=Fo;function zo(Nr){return Nr.kind===288}e.isCaseClause=zo;function Es(Nr){return Nr.kind===289}e.isDefaultClause=Es;function Cs(Nr){return Nr.kind===290}e.isHeritageClause=Cs;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 Un(Nr){return Nr.kind===296}e.isSpreadAssignment=Un;function Oe(Nr){return Nr.kind===297}e.isEnumMember=Oe;function oe(Nr){return Nr.kind===299}e.isUnparsedPrepend=oe;function mr(Nr){return Nr.kind===303}e.isSourceFile=mr;function se(Nr){return Nr.kind===304}e.isBundle=se;function Be(Nr){return Nr.kind===305}e.isUnparsedSource=Be;function er(Nr){return Nr.kind===307}e.isJSDocTypeExpression=er;function hr(Nr){return Nr.kind===308}e.isJSDocNameReference=hr;function qr(Nr){return Nr.kind===309}e.isJSDocMemberName=qr;function Dt(Nr){return Nr.kind===322}e.isJSDocLink=Dt;function Jt(Nr){return Nr.kind===323}e.isJSDocLinkCode=Jt;function Sn(Nr){return Nr.kind===324}e.isJSDocLinkPlain=Sn;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 So(Nr){return Nr.kind===315}e.isJSDocFunctionType=So;function cs(Nr){return Nr.kind===316}e.isJSDocVariadicType=cs;function bt(Nr){return Nr.kind===317}e.isJSDocNamepathType=bt;function Mn(Nr){return Nr.kind===318}e.isJSDoc=Mn;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 mi(Nr){return Nr.kind===336}e.isJSDocCallbackTag=mi;function Xi(Nr){return Nr.kind===331}e.isJSDocPublicTag=Xi;function Gi(Nr){return Nr.kind===332}e.isJSDocPrivateTag=Gi;function Ro(Nr){return Nr.kind===333}e.isJSDocProtectedTag=Ro;function ko(Nr){return Nr.kind===334}e.isJSDocReadonlyTag=ko;function es(Nr){return Nr.kind===335}e.isJSDocOverrideTag=es;function as(Nr){return Nr.kind===329}e.isJSDocDeprecatedTag=as;function pe(Nr){return Nr.kind===344}e.isJSDocSeeTag=pe;function wr(Nr){return Nr.kind===337}e.isJSDocEnumTag=wr;function ft(Nr){return Nr.kind===338}e.isJSDocParameterTag=ft;function Zt(Nr){return Nr.kind===339}e.isJSDocReturnTag=Zt;function Re(Nr){return Nr.kind===340}e.isJSDocThisTag=Re;function Qr(Nr){return Nr.kind===341}e.isJSDocTypeTag=Qr;function vn(Nr){return Nr.kind===342}e.isJSDocTemplateTag=vn;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 Wo(Nr){return Nr.kind===346}e.isSyntaxList=Wo})(gr||(gr={}));var gr;(function(e){function n(ur){return ur.createExportDeclaration(void 0,void 0,!1,ur.createNamedExports([]),void 0)}e.createEmptyExports=n;function f(ur,vr,de,Fe){if(e.isComputedPropertyName(de))return e.setTextRange(ur.createElementAccessExpression(vr,de.expression),Fe);var $e=e.setTextRange(e.isMemberName(de)?ur.createPropertyAccessExpression(vr,de):ur.createElementAccessExpression(vr,de),de);return e.getOrCreateEmitNode($e).flags|=64,$e}e.createMemberAccessForPropertyName=f;function d(ur,vr){var de=e.parseNodeFactory.createIdentifier(ur||"React");return e.setParent(de,e.getParseTreeNode(vr)),de}function a(ur,vr,de){if(e.isQualifiedName(vr)){var Fe=a(ur,vr.left,de),$e=ur.createIdentifier(e.idText(vr.right));return $e.escapedText=vr.right.escapedText,ur.createPropertyAccessExpression(Fe,$e)}else return d(e.idText(vr),de)}function p(ur,vr,de,Fe){return vr?a(ur,vr,Fe):ur.createPropertyAccessExpression(d(de,Fe),"createElement")}e.createJsxFactoryExpression=p;function N(ur,vr,de,Fe){return vr?a(ur,vr,Fe):ur.createPropertyAccessExpression(d(de,Fe),"Fragment")}function H(ur,vr,de,Fe,$e,Dr){var Fr=[de];if(Fe&&Fr.push(Fe),$e&&$e.length>0)if(Fe||Fr.push(ur.createNull()),$e.length>1)for(var He=0,pr=$e;He0)if($e.length>1)for(var Jr=0,ze=$e;Jr=e.ModuleKind.ES2015&&pr<=e.ModuleKind.ESNext||de.impliedNodeFormat===e.ModuleKind.ESNext){var Jr=e.getEmitHelpers(de);if(Jr){for(var ze=[],Ar=0,Yr=Jr;Ar0?tt[Ar-1]:void 0;return e.Debug.assertEqual(Yr[Ar],vr),tt[Ar]=ze.onEnter(lt[Ar],bn,cn),Yr[Ar]=He(ze,vr),Ar}ur.enter=vr;function de(ze,Ar,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Ar],de),e.Debug.assertIsDefined(ze.onLeft),Yr[Ar]=He(ze,de);var bn=ze.onLeft(lt[Ar].left,tt[Ar],lt[Ar]);return bn?(Jr(Ar,lt,bn),pr(Ar,Yr,lt,tt,bn)):Ar}ur.left=de;function Fe(ze,Ar,Yr,lt,tt,Rt,cn){return e.Debug.assertEqual(Yr[Ar],Fe),e.Debug.assertIsDefined(ze.onOperator),Yr[Ar]=He(ze,Fe),ze.onOperator(lt[Ar].operatorToken,tt[Ar],lt[Ar]),Ar}ur.operator=Fe;function $e(ze,Ar,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Ar],$e),e.Debug.assertIsDefined(ze.onRight),Yr[Ar]=He(ze,$e);var bn=ze.onRight(lt[Ar].right,tt[Ar],lt[Ar]);return bn?(Jr(Ar,lt,bn),pr(Ar,Yr,lt,tt,bn)):Ar}ur.right=$e;function Dr(ze,Ar,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Ar],Dr),Yr[Ar]=He(ze,Dr);var bn=ze.onExit(lt[Ar],tt[Ar]);if(Ar>0){if(Ar--,ze.foldState){var In=Yr[Ar]===Dr?"right":"left";tt[Ar]=ze.foldState(tt[Ar],bn,In)}}else Rt.value=bn;return Ar}ur.exit=Dr;function Fr(ze,Ar,Yr,lt,tt,Rt,cn){return e.Debug.assertEqual(Yr[Ar],Fr),Ar}ur.done=Fr;function He(ze,Ar){switch(Ar){case vr:if(ze.onLeft)return de;case de:if(ze.onOperator)return Fe;case Fe:if(ze.onRight)return $e;case $e:return Dr;case Dr:return Fr;case Fr:return Fr;default:e.Debug.fail("Invalid state")}}ur.nextState=He;function pr(ze,Ar,Yr,lt,tt){return ze++,Ar[ze]=vr,Yr[ze]=tt,lt[ze]=void 0,ze}function Jr(ze,Ar,Yr){if(e.Debug.shouldAssert(2))for(;ze>=0;)e.Debug.assert(Ar[ze]!==Yr,"Circular traversal detected."),ze--}})(Ke||(Ke={}));var Pe=function(){function ur(vr,de,Fe,$e,Dr,Fr){this.onEnter=vr,this.onLeft=de,this.onOperator=Fe,this.onRight=$e,this.onExit=Dr,this.foldState=Fr}return ur}();function Hr(ur,vr,de,Fe,$e,Dr){var Fr=new Pe(ur,vr,de,Fe,$e,Dr);return He;function He(pr,Jr){for(var ze={value:void 0},Ar=[Ke.enter],Yr=[pr],lt=[void 0],tt=0;Ar[tt]!==Ke.done;)tt=Ar[tt](Fr,tt,Ar,Yr,lt,ze,Jr);return e.Debug.assertEqual(tt,0),ze.value}}e.createBinaryExpressionTrampoline=Hr})(gr||(gr={}));var gr;(function(e){function n(f,d){return d?e.setTextRangePosEnd(f,d.pos,d.end):f}e.setTextRange=n})(gr||(gr={}));var gr;(function(e){var n;(function(m){m[m.None=0]="None",m[m.Yield=1]="Yield",m[m.Await=2]="Await",m[m.Type=4]="Type",m[m.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",m[m.JSDoc=32]="JSDoc"})(n||(n={}));var f;(function(m){m[m.TryParse=0]="TryParse",m[m.Lookahead=1]="Lookahead",m[m.Reparse=2]="Reparse"})(f||(f={}));var d,a,p,N,H;e.parseBaseNodeFactory={createBaseSourceFileNode:function(m){return new(H||(H=e.objectAllocator.getSourceFileConstructor()))(m,-1,-1)},createBaseIdentifierNode:function(m){return new(p||(p=e.objectAllocator.getIdentifierConstructor()))(m,-1,-1)},createBasePrivateIdentifierNode:function(m){return new(N||(N=e.objectAllocator.getPrivateIdentifierConstructor()))(m,-1,-1)},createBaseTokenNode:function(m){return new(a||(a=e.objectAllocator.getTokenConstructor()))(m,-1,-1)},createBaseNode:function(m){return new(d||(d=e.objectAllocator.getNodeConstructor()))(m,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function h(m,u){return u&&m(u)}function v(m,u,g){if(g){if(u)return u(g);for(var F=0,te=g;F=0;--Se)F.push(ue[Se]),te.push(X)}else{var j=u(ue,X);if(j){if(j==="skip")continue;return j}if(ue.kind>=160)for(var Ce=0,O=b(ue);Ce=gs.pos}),Cl=xs>=0?e.findIndex(Ct,function(bl){return bl.start>=_l.pos},xs):-1;xs>=0&&e.addRange(Me,Ct,xs,Cl>=0?Cl:void 0),ut(function(){var bl=De;for(De|=32768,u.setTextPos(_l.pos),fr();me()!==1;){var ju=u.getStartPos(),ul=Oe(0,Ga);if(at.push(ul),ju===u.getStartPos()&&fr(),Xt>=0){var Ps=xe.statements[Xt];if(ul.end===Ps.pos)break;ul.end>Ps.pos&&(Xt=$i(xe.statements,Xt+1))}}De=bl},2),On=Xt>=0?Qo(xe.statements,Xt):-1};On!==-1;)$n();if(Xt>=0){var wa=xe.statements[Xt];e.addRange(at,xe.statements,Xt);var Ea=e.findIndex(Ct,function(gs){return gs.start>=wa.pos});Ea>=0&&e.addRange(Me,Ct,Ea)}return Ge=Tr,O.updateSourceFile(xe,e.setTextRange(O.createNodeArray(at),xe.statements));function Ki(gs){return!(gs.flags&32768)&&!!(gs.transformFlags&16777216)}function Qo(gs,_l){for(var xs=_l;xs116}function Qt(){return me()===79?!0:me()===125&&ir()||me()===132&&ye()?!1:me()>116}function mt(xe,Tr,Gr){return Gr===void 0&&(Gr=!0),me()===xe?(Gr&&fr(),!0):(Tr?or(Tr):or(e.Diagnostics._0_expected,e.tokenToString(xe)),!1)}var rn=Object.keys(e.textToKeywordObj).filter(function(xe){return xe.length>2});function sa(xe){var Tr;if(e.isTaggedTemplateExpression(xe)){je(e.skipTrivia(z,xe.template.pos),xe.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Gr=e.isIdentifier(xe)?e.idText(xe):void 0;if(!Gr||!e.isIdentifierText(Gr,Te)){or(e.Diagnostics._0_expected,e.tokenToString(26));return}var at=e.skipTrivia(z,xe.pos);switch(Gr){case"const":case"let":case"var":je(at,xe.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,u.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:Jn(Gr);if(Ct){je(at,xe.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Ct);return}me()!==0&&je(at,xe.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function ba(xe,Tr,Gr){me()===Gr?or(Tr):or(xe,u.getTokenValue())}function Jn(xe){for(var Tr=0,Gr=rn;Trat.length+2&&e.startsWith(xe,at))return"".concat(at," ").concat(xe.slice(at.length))}}function na(xe,Tr,Gr){if(me()===59&&!u.hasPrecedingLineBreak()){or(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(me()===20){or(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),fr();return}if(Tr&&!pt()){Gr?or(e.Diagnostics._0_expected,e.tokenToString(26)):or(e.Diagnostics.Expected_for_property_initializer);return}if(!_t()){if(Gr){me()===18&&or(e.Diagnostics._0_expected,e.tokenToString(26));return}sa(xe)}}function Wn(xe){return me()===xe?(dr(),!0):(or(e.Diagnostics._0_expected,e.tokenToString(xe)),!1)}function en(xe){return me()===xe?(fr(),!0):!1}function St(xe){if(me()===xe)return dn()}function Ut(xe){if(me()===xe)return oa()}function qt(xe,Tr,Gr){return St(xe)||Cn(xe,!1,Tr||e.Diagnostics._0_expected,Gr||e.tokenToString(xe))}function Pn(xe){return Ut(xe)||Cn(xe,!1,e.Diagnostics._0_expected,e.tokenToString(xe))}function dn(){var xe=ee(),Tr=me();return fr(),rt(O.createToken(Tr),xe)}function oa(){var xe=ee(),Tr=me();return dr(),rt(O.createToken(Tr),xe)}function pt(){return me()===26?!0:me()===19||me()===1||u.hasPrecedingLineBreak()}function _t(){return pt()?(me()===26&&fr(),!0):!1}function Pt(){return _t()||mt(26)}function It(xe,Tr,Gr,at){var Ct=O.createNodeArray(xe,at);return e.setTextRangePosEnd(Ct,Tr,Gr!=null?Gr:u.getStartPos()),Ct}function rt(xe,Tr,Gr){return e.setTextRangePosEnd(xe,Tr,Gr!=null?Gr:u.getStartPos()),De&&(xe.flags|=De),Ye&&(Ye=!1,xe.flags|=65536),xe}function Cn(xe,Tr,Gr,at){Tr?fe(u.getStartPos(),0,Gr,at):Gr&&or(Gr,at);var Ct=ee(),Xt=xe===79?O.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(xe)?O.createTemplateLiteralLikeNode(xe,"","",void 0):xe===8?O.createNumericLiteral("",void 0):xe===10?O.createStringLiteral("",void 0):xe===275?O.createMissingDeclaration():O.createToken(xe);return rt(Xt,Ct)}function Qn(xe){var Tr=Ve.get(xe);return Tr===void 0&&Ve.set(xe,Tr=xe),Tr}function Ra(xe,Tr,Gr){if(xe){Le++;var at=ee(),Ct=me(),Xt=Qn(u.getTokenValue());return Ze(),rt(O.createIdentifier(Xt,void 0,Ct),at)}if(me()===80)return or(Gr||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ra(!0);if(me()===0&&u.tryScan(function(){return u.reScanInvalidIdentifier()===79}))return Ra(!0);Le++;var On=me()===1,$n=u.isReservedWord(),wa=u.getTokenText(),Ea=$n?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Cn(79,On,Tr||Ea,wa)}function Ci(xe){return Ra(wt(),void 0,xe)}function _i(xe,Tr){return Ra(Qt(),xe,Tr)}function va(xe){return Ra(e.tokenIsIdentifierOrKeyword(me()),xe)}function yi(){return e.tokenIsIdentifierOrKeyword(me())||me()===10||me()===8}function ro(){return e.tokenIsIdentifierOrKeyword(me())||me()===10}function Ka(xe){if(me()===10||me()===8){var Tr=ko();return Tr.text=Qn(Tr.text),Tr}return xe&&me()===22?io():me()===80?Hi():va()}function Pi(){return Ka(!0)}function io(){var xe=ee();mt(22);var Tr=Ar(Rs);return mt(23),rt(O.createComputedPropertyName(Tr),xe)}function ji(xe){var Tr=_e.get(xe);return Tr===void 0&&_e.set(xe,Tr=xe),Tr}function Hi(){var xe=ee(),Tr=O.createPrivateIdentifier(ji(u.getTokenText()));return fr(),rt(Tr,xe)}function to(xe){return me()===xe&&xt(lo)}function No(){return fr(),u.hasPrecedingLineBreak()?!1:co()}function lo(){switch(me()){case 85:return fr()===92;case 93:return fr(),me()===88?ht(za):me()===151?ht(Ha):Lo();case 88:return za();case 124:case 136:case 148:return fr(),co();default:return No()}}function Lo(){return me()!==41&&me()!==127&&me()!==18&&co()}function Ha(){return fr(),Lo()}function Yo(){return e.isModifierKind(me())&&xt(lo)}function co(){return me()===22||me()===18||me()===41||me()===25||yi()}function za(){return fr(),me()===84||me()===98||me()===118||me()===126&&ht(yc)||me()===131&&ht(ud)}function hi(xe,Tr){var Gr=oe(xe);if(Gr)return!0;switch(xe){case 0:case 1:case 3:return!(me()===26&&Tr)&&Gl();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()&&!zo():qp()&&!zo();case 8:return $u();case 10:return me()===27||me()===25||$u();case 19:return Qt();case 15:switch(me()){case 27:case 24:return!0}case 11:return me()===25||dl();case 16:return Vs(!1);case 17:return Vs(!0);case 20:case 21:return me()===27||bo();case 22:return Rf();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 xe=fr();return xe===27||xe===18||xe===94||xe===117}return!0}function Po(){return fr(),Qt()}function Mo(){return fr(),e.tokenIsIdentifierOrKeyword(me())}function Fo(){return fr(),e.tokenIsIdentifierOrKeywordOrGreaterThan(me())}function zo(){return me()===117||me()===94?ht(Es):!1}function Es(){return fr(),dl()}function Cs(){return fr(),bo()}function yr(xe){if(me()===1)return!0;switch(xe){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(Fc);default:return!1}}function dt(){return!!(pt()||bp(me())||me()===38)}function tn(){for(var xe=0;xe<25;xe++)if(qe&1<=0)}function Ji(xe){return xe===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function So(){var xe=It([],ee());return xe.isMissingList=!0,xe}function cs(xe){return!!xe.isMissingList}function bt(xe,Tr,Gr,at){if(mt(Gr)){var Ct=$a(xe,Tr);return mt(at),Ct}return So()}function Mn(xe,Tr){for(var Gr=ee(),at=xe?va(Tr):_i(Tr),Ct=ee();en(24);){if(me()===29){at.jsdocDotPos=Ct;break}Ct=ee(),at=rt(O.createQualifiedName(at,ei(xe,!1)),Gr)}return at}function da(xe,Tr){return rt(O.createQualifiedName(xe,Tr),xe.pos)}function ei(xe,Tr){if(u.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(me())){var Gr=ht(Cf);if(Gr)return Cn(79,!0,e.Diagnostics.Identifier_expected)}if(me()===80){var at=Hi();return Tr?at:Cn(79,!0,e.Diagnostics.Identifier_expected)}return xe?va():_i()}function bi(xe){var Tr=ee(),Gr=[],at;do at=Ro(xe),Gr.push(at);while(at.literal.kind===16);return It(Gr,Tr)}function xi(xe){var Tr=ee();return rt(O.createTemplateExpression(es(xe),bi(xe)),Tr)}function ka(){var xe=ee();return rt(O.createTemplateLiteralType(es(!1),mi()),xe)}function mi(){var xe=ee(),Tr=[],Gr;do Gr=Xi(),Tr.push(Gr);while(Gr.literal.kind===16);return It(Tr,xe)}function Xi(){var xe=ee();return rt(O.createTemplateLiteralTypeSpan(_s(),Gi(!1)),xe)}function Gi(xe){return me()===19?(Wr(xe),as()):qt(17,e.Diagnostics._0_expected,e.tokenToString(19))}function Ro(xe){var Tr=ee();return rt(O.createTemplateSpan(Ar(Rs),Gi(xe)),Tr)}function ko(){return wr(me())}function es(xe){xe&&tr();var Tr=wr(me());return e.Debug.assert(Tr.kind===15,"Template head has wrong token kind"),Tr}function as(){var xe=wr(me());return e.Debug.assert(xe.kind===16||xe.kind===17,"Template fragment has wrong token kind"),xe}function pe(xe){var Tr=xe===14||xe===17,Gr=u.getTokenText();return Gr.substring(1,Gr.length-(u.isUnterminated()?0:Tr?1:2))}function wr(xe){var Tr=ee(),Gr=e.isTemplateLiteralKind(xe)?O.createTemplateLiteralLikeNode(xe,u.getTokenValue(),pe(xe),u.getTokenFlags()&2048):xe===8?O.createNumericLiteral(u.getTokenValue(),u.getNumericLiteralFlags()):xe===10?O.createStringLiteral(u.getTokenValue(),void 0,u.hasExtendedUnicodeEscape()):e.isLiteralKind(xe)?O.createLiteralLikeNode(xe,u.getTokenValue()):e.Debug.fail();return u.hasExtendedUnicodeEscape()&&(Gr.hasExtendedUnicodeEscape=!0),u.isUnterminated()&&(Gr.isUnterminated=!0),fr(),rt(Gr,Tr)}function ft(){return Mn(!0,e.Diagnostics.Type_expected)}function Zt(){if(!u.hasPrecedingLineBreak()&&Ir()===29)return bt(20,_s,29,31)}function Re(){var xe=ee();return rt(O.createTypeReferenceNode(ft(),Zt()),xe)}function Qr(xe){switch(xe.kind){case 177:return e.nodeIsMissing(xe.typeName);case 178:case 179:{var Tr=xe,Gr=Tr.parameters,at=Tr.type;return cs(Gr)||Qr(at)}case 190:return Qr(xe.type);default:return!1}}function vn(xe){return fr(),rt(O.createTypePredicateNode(void 0,xe,_s()),xe.pos)}function Xn(){var xe=ee();return fr(),rt(O.createThisTypeNode(),xe)}function gi(){var xe=ee();return fr(),rt(O.createJSDocAllType(),xe)}function Ia(){var xe=ee();return fr(),rt(O.createJSDocNonNullableType(Do()),xe)}function oo(){var xe=ee();return fr(),me()===27||me()===19||me()===21||me()===31||me()===63||me()===51?rt(O.createJSDocUnknownType(),xe):rt(O.createJSDocNullableType(_s()),xe)}function Wo(){var xe=ee(),Tr=Ne();if(ht(wf)){fr();var Gr=Ws(36),at=no(58,!1);return Pe(rt(O.createJSDocFunctionType(Gr,at),xe),Tr)}return rt(O.createTypeReferenceNode(va(),void 0),xe)}function Nr(){var xe=ee(),Tr;return(me()===108||me()===103)&&(Tr=va(),mt(58)),rt(O.createParameterDeclaration(void 0,void 0,void 0,Tr,void 0,Us(),void 0),xe)}function Us(){u.setInJSDocType(!0);var xe=ee();if(en(141)){var Tr=O.createJSDocNamepathType(void 0);e:for(;;)switch(me()){case 19:case 1:case 27:case 5:break e;default:dr()}return u.setInJSDocType(!1),rt(Tr,xe)}var Gr=en(25),at=Zf();return u.setInJSDocType(!1),Gr&&(at=rt(O.createJSDocVariadicType(at),xe)),me()===63?(fr(),rt(O.createJSDocOptionalType(at),xe)):at}function il(){var xe=ee();return mt(112),rt(O.createTypeQueryNode(Mn(!0)),xe)}function Pl(){var xe=ee(),Tr=_i(),Gr,at;en(94)&&(bo()||!dl()?Gr=_s():at=_c());var Ct=en(63)?_s():void 0,Xt=O.createTypeParameterDeclaration(Tr,Gr,Ct);return Xt.expression=at,rt(Xt,xe)}function Co(){if(me()===29)return bt(19,Pl,29,31)}function Vs(xe){return me()===25||$u()||e.isModifierKind(me())||me()===59||bo(!xe)}function Ql(xe){var Tr=Qs(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(Tr)===0&&!e.some(xe)&&e.isModifierKind(me())&&fr(),Tr}function zl(){return cu(!0)}function uc(){return cu(!1)}function cu(xe){var Tr=ee(),Gr=Ne(),at=xe?Rt(ef):ef();if(me()===108){var Ct=O.createParameterDeclaration(at,void 0,void 0,Ra(!0),void 0,Jc(),void 0);return at&&Ee(at[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),Pe(rt(Ct,Tr),Gr)}var Xt=Ae;Ae=!1;var On=bc(),$n=Pe(rt(O.createParameterDeclaration(at,On,St(25),Ql(On),St(57),Jc(),Ja()),Tr),Gr);return Ae=Xt,$n}function no(xe,Tr){if(ql(xe,Tr))return Zf()}function ql(xe,Tr){return xe===38?(mt(xe),!0):en(58)?!0:Tr&&me()===38?(or(e.Diagnostics._0_expected,e.tokenToString(58)),fr(),!0):!1}function fc(xe){var Tr=ir(),Gr=ye();Fr(!!(xe&1)),pr(!!(xe&2));var at=xe&32?$a(17,Nr):$a(16,Gr?zl:uc);return Fr(Tr),pr(Gr),at}function Ws(xe){if(!mt(20))return So();var Tr=fc(xe);return mt(21),Tr}function xc(){en(27)||Pt()}function Ic(xe){var Tr=ee(),Gr=Ne();xe===174&&mt(103);var at=Co(),Ct=Ws(4),Xt=no(58,!0);xc();var On=xe===173?O.createCallSignature(at,Ct,Xt):O.createConstructSignature(at,Ct,Xt);return Pe(rt(On,Tr),Gr)}function La(){return me()===22&&ht(uu)}function uu(){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 dc(xe,Tr,Gr,at){var Ct=bt(16,uc,22,23),Xt=Jc();xc();var On=O.createIndexSignature(Gr,at,Ct,Xt);return Pe(rt(On,xe),Tr)}function Nc(xe,Tr,Gr){var at=Pi(),Ct=St(57),Xt;if(me()===20||me()===29){var On=Co(),$n=Ws(4),wa=no(58,!0);Xt=O.createMethodSignature(Gr,at,Ct,On,$n,wa)}else{var wa=Jc();Xt=O.createPropertySignature(Gr,at,Ct,wa),me()===63&&(Xt.initializer=Ja())}return xc(),Pe(rt(Xt,xe),Tr)}function Pr(){if(me()===20||me()===29||me()===136||me()===148)return!0;for(var xe=!1;e.isModifierKind(me());)xe=!0,fr();return me()===22?!0:(yi()&&(xe=!0,fr()),xe?me()===20||me()===29||me()===57||me()===58||me()===27||pt():!1)}function $r(){if(me()===20||me()===29)return Ic(173);if(me()===103&&ht(Lt))return Ic(174);var xe=ee(),Tr=Ne(),Gr=bc();return to(136)?du(xe,Tr,void 0,Gr,171):to(148)?du(xe,Tr,void 0,Gr,172):La()?dc(xe,Tr,void 0,Gr):Nc(xe,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 xe=ee();return rt(O.createTypeLiteralNode(kn()),xe)}function kn(){var xe;return mt(18)?(xe=Un(4,$r),mt(19)):xe=So(),xe}function Kn(){return fr(),me()===39||me()===40?fr()===144:(me()===144&&fr(),me()===22&&Po()&&fr()===101)}function Fa(){var xe=ee(),Tr=va();mt(101);var Gr=_s();return rt(O.createTypeParameterDeclaration(Tr,Gr,void 0),xe)}function ua(){var xe=ee();mt(18);var Tr;(me()===144||me()===39||me()===40)&&(Tr=dn(),Tr.kind!==144&&mt(144)),mt(22);var Gr=Fa(),at=en(127)?_s():void 0;mt(23);var Ct;(me()===57||me()===39||me()===40)&&(Ct=dn(),Ct.kind!==57&&mt(57));var Xt=Jc();Pt();var On=Un(4,$r);return mt(19),rt(O.createMappedTypeNode(Tr,Gr,at,Ct,Xt,On),xe)}function le(){var xe=ee();if(en(25))return rt(O.createRestTypeNode(_s()),xe);var Tr=_s();if(e.isJSDocNullableType(Tr)&&Tr.pos===Tr.type.pos){var Gr=O.createOptionalTypeNode(Tr.type);return e.setTextRange(Gr,Tr),Gr.flags=Tr.flags,Gr}return Tr}function rr(){return fr()===58||me()===57&&fr()===58}function br(){return me()===25?e.tokenIsIdentifierOrKeyword(fr())&&rr():e.tokenIsIdentifierOrKeyword(me())&&rr()}function ct(){if(ht(br)){var xe=ee(),Tr=Ne(),Gr=St(25),at=va(),Ct=St(57);mt(58);var Xt=le(),On=O.createNamedTupleMember(Gr,at,Ct,Xt);return Pe(rt(On,xe),Tr)}return le()}function jt(){var xe=ee();return rt(O.createTupleTypeNode(bt(21,ct,22,23)),xe)}function yn(){var xe=ee();mt(20);var Tr=_s();return mt(21),rt(O.createParenthesizedType(Tr),xe)}function ha(){var xe;if(me()===126){var Tr=ee();fr();var Gr=rt(O.createToken(126),Tr);xe=It([Gr],Tr)}return xe}function ri(){var xe=ee(),Tr=Ne(),Gr=ha(),at=en(103),Ct=Co(),Xt=Ws(4),On=no(38,!1),$n=at?O.createConstructorTypeNode(Gr,Ct,Xt,On):O.createFunctionTypeNode(Ct,Xt,On);return at||($n.modifiers=Gr),Pe(rt($n,xe),Tr)}function Ta(){var xe=dn();return me()===24?void 0:xe}function Ya(xe){var Tr=ee();xe&&fr();var Gr=me()===110||me()===95||me()===104?dn():wr(me());return xe&&(Gr=rt(O.createPrefixUnaryExpression(40,Gr),Tr)),rt(O.createLiteralTypeNode(Gr),Tr)}function fi(){return fr(),me()===100}function ci(){V|=1048576;var xe=ee(),Tr=en(112);mt(100),mt(20);var Gr=_s();mt(21);var at=en(24)?ft():void 0,Ct=Zt();return rt(O.createImportTypeNode(Gr,at,Ct,Tr),xe)}function Si(){return fr(),me()===8||me()===9}function Do(){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)||Re();case 66:u.reScanAsteriskEqualsToken();case 41:return gi();case 60:u.reScanQuestionToken();case 57:return oo();case 98:return Wo();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):Re();case 114:return dn();case 108:{var xe=Xn();return me()===139&&!u.hasPrecedingLineBreak()?vn(xe):xe}case 112:return ht(fi)?ci():il();case 18:return ht(Kn)?ua():fn();case 22:return jt();case 20:return yn();case 100:return ci();case 128:return ht(Cf)?Nd():Re();case 15:return ka();default:return Re()}}function bo(xe){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!xe;case 40:return!xe&&ht(Si);case 20:return!xe&&ht(Ns);default:return Qt()}}function Ns(){return fr(),me()===21||Vs(!1)||bo()}function Ys(){for(var xe=ee(),Tr=Do();!u.hasPrecedingLineBreak();)switch(me()){case 53:fr(),Tr=rt(O.createJSDocNonNullableType(Tr),xe);break;case 57:if(ht(Cs))return Tr;fr(),Tr=rt(O.createJSDocNullableType(Tr),xe);break;case 22:if(mt(22),bo()){var Gr=_s();mt(23),Tr=rt(O.createIndexedAccessTypeNode(Tr,Gr),xe)}else mt(23),Tr=rt(O.createArrayTypeNode(Tr),xe);break;default:return Tr}return Tr}function Nu(xe){var Tr=ee();return mt(xe),rt(O.createTypeOperatorNode(xe,jc()),Tr)}function gf(){var xe=ee();return rt(O.createTypeParameterDeclaration(_i(),void 0,void 0),xe)}function Zl(){var xe=ee();return mt(137),rt(O.createInferTypeNode(gf()),xe)}function jc(){var xe=me();switch(xe){case 140:case 153:case 144:return Nu(xe);case 137:return Zl()}return Ys()}function Mr(xe){if(kc()){var Tr=ri(),Gr=void 0;return e.isFunctionTypeNode(Tr)?Gr=xe?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=xe?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,Ee(Tr,Gr),Tr}}function $l(xe,Tr,Gr){var at=ee(),Ct=xe===51,Xt=en(xe),On=Xt&&Mr(Ct)||Tr();if(me()===xe||Xt){for(var $n=[On];en(xe);)$n.push(Mr(Ct)||Tr());On=rt(Gr(It($n,at)),at)}return On}function pc(){return $l(50,jc,O.createIntersectionTypeNode)}function ku(){return $l(51,pc,O.createUnionTypeNode)}function ol(){return fr(),me()===103}function kc(){return me()===29||me()===20&&ht(fo)?!0:me()===103||me()===126&&ht(ol)}function vf(){if(e.isModifierKind(me())&&bc(),Qt()||me()===108)return fr(),!0;if(me()===22||me()===18){var xe=Me.length;return Qs(),xe===Me.length}return!1}function fo(){return fr(),!!(me()===21||me()===25||vf()&&(me()===58||me()===27||me()===57||me()===63||me()===21&&(fr(),me()===38)))}function Zf(){var xe=ee(),Tr=Qt()&&xt(hf),Gr=_s();return Tr?rt(O.createTypePredicateNode(void 0,Tr,Gr),xe):Gr}function hf(){var xe=_i();if(me()===139&&!u.hasPrecedingLineBreak())return fr(),xe}function Nd(){var xe=ee(),Tr=qt(128),Gr=me()===108?Xn():_i(),at=en(139)?_s():void 0;return rt(O.createTypePredicateNode(Tr,Gr,at),xe)}function _s(){return Jr(40960,Hc)}function Hc(xe){if(kc())return ri();var Tr=ee(),Gr=ku();if(!xe&&!u.hasPrecedingLineBreak()&&en(94)){var at=Hc(!0);mt(57);var Ct=Hc();mt(58);var Xt=Hc();return rt(O.createConditionalTypeNode(Gr,at,Ct,Xt),Tr)}return Gr}function Jc(){return en(58)?_s():void 0}function qp(){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 dl(){if(qp())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 Pd()?!0:Qt()}}function Xp(){return me()!==18&&me()!==98&&me()!==84&&me()!==59&&dl()}function Rs(){var xe=sr();xe&&He(!1);for(var Tr=ee(),Gr=Zn(),at;at=St(27);)Gr=Md(Gr,at,Zn(),Tr);return xe&&He(!0),Gr}function Ja(){return en(63)?Zn():void 0}function Zn(){if(Oc())return yf();var xe=kd()||Rd();if(xe)return xe;var Tr=ee(),Gr=ed(0);return Gr.kind===79&&me()===38?Ou(Tr,Gr,void 0):e.isLeftHandSideExpression(Gr)&&e.isAssignmentOperator(et())?Md(Gr,dn(),Zn(),Tr):C_(Gr,Tr)}function Oc(){return me()===125?ir()?!0:ht(xf):!1}function ks(){return fr(),!u.hasPrecedingLineBreak()&&Qt()}function yf(){var xe=ee();return fr(),!u.hasPrecedingLineBreak()&&(me()===41||dl())?rt(O.createYieldExpression(St(41),Zn()),xe):rt(O.createYieldExpression(void 0,void 0),xe)}function Ou(xe,Tr,Gr){e.Debug.assert(me()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var at=O.createParameterDeclaration(void 0,void 0,void 0,Tr,void 0,void 0,void 0);rt(at,Tr.pos);var Ct=It([at],at.pos,at.end),Xt=qt(38),On=Xl(!!Gr),$n=O.createArrowFunction(Gr,void 0,Ct,void 0,Xt,On);return ur(rt($n,xe))}function kd(){var xe=Uo();if(xe!==0)return xe===1?yp(!0):xt(Od)}function Uo(){return me()===20||me()===29||me()===131?ht($f):me()===38?1:0}function $f(){if(me()===131&&(fr(),u.hasPrecedingLineBreak()||me()!==20&&me()!==29))return 0;var xe=me(),Tr=fr();if(xe===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(xe===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 Od(){var xe=u.getTokenPos();if(!(Xe!=null&&Xe.has(xe))){var Tr=yp(!1);return Tr||(Xe||(Xe=new e.Set)).add(xe),Tr}}function Rd(){if(me()===131&&ht(Yp)===1){var xe=ee(),Tr=qc(),Gr=ed(0);return Ou(xe,Gr,Tr)}}function Yp(){if(me()===131){if(fr(),u.hasPrecedingLineBreak()||me()===38)return 0;var xe=ed(0);if(!u.hasPrecedingLineBreak()&&xe.kind===79&&me()===38)return 1}return 0}function yp(xe){var Tr=ee(),Gr=Ne(),at=qc(),Ct=e.some(at,e.isAsyncModifier)?2:0,Xt=Co(),On;if(mt(20)){if(On=fc(Ct),!mt(21)&&!xe)return}else{if(!xe)return;On=So()}var $n=no(58,!1);if(!($n&&!xe&&Qr($n))){var wa=$n&&e.isJSDocFunctionType($n);if(!(!xe&&me()!==38&&(wa||me()!==18))){var Ea=me(),Ki=qt(38),Qo=Ea===38||Ea===18?Xl(e.some(at,e.isAsyncModifier)):_i(),$i=O.createArrowFunction(at,Xt,On,$n,Ki,Qo);return Pe(rt($i,Tr),Gr)}}}function Xl(xe){if(me()===18)return Dn(xe?2:0);if(me()!==26&&me()!==98&&me()!==84&&Gl()&&!Xp())return Dn(16|(xe?2:0));var Tr=Ae;Ae=!1;var Gr=xe?Rt(Zn):cn(Zn);return Ae=Tr,Gr}function C_(xe,Tr){var Gr=St(57);if(!Gr)return xe;var at;return rt(O.createConditionalExpression(xe,Gr,Jr(g,Zn),at=qt(58),e.nodeIsPresent(at)?Zn():Cn(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),Tr)}function ed(xe){var Tr=ee(),Gr=_c();return wd(xe,Gr,Tr)}function bp(xe){return xe===101||xe===159}function wd(xe,Tr,Gr){for(;;){et();var at=e.getBinaryOperatorPrecedence(me()),Ct=me()===42?at>=xe:at>xe;if(!Ct||me()===101&&Rr())break;if(me()===127){if(u.hasPrecedingLineBreak())break;fr(),Tr=Fd(Tr,_s())}else Tr=Md(Tr,dn(),ed(at),Gr)}return Tr}function Pd(){return Rr()&&me()===101?!1:e.getBinaryOperatorPrecedence(me())>0}function Md(xe,Tr,Gr,at){return rt(O.createBinaryExpression(xe,Tr,Gr),at)}function Fd(xe,Tr){return rt(O.createAsExpression(xe,Tr),xe.pos)}function Ep(){var xe=ee();return rt(O.createPrefixUnaryExpression(me(),xr(mc)),xe)}function Qp(){var xe=ee();return rt(O.createDeleteExpression(xr(mc)),xe)}function Gd(){var xe=ee();return rt(O.createTypeOfExpression(xr(mc)),xe)}function Zp(){var xe=ee();return rt(O.createVoidExpression(xr(mc)),xe)}function Bd(){return me()===132?ye()?!0:ht(xf):!1}function fu(){var xe=ee();return rt(O.createAwaitExpression(xr(mc)),xe)}function _c(){if(ec()){var xe=ee(),Tr=Ud();return me()===42?wd(e.getBinaryOperatorPrecedence(me()),Tr,xe):Tr}var Gr=me(),at=mc();if(me()===42){var xe=e.skipTrivia(z,at.pos),Ct=at.end;at.kind===210?je(xe,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(xe,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 mc(){switch(me()){case 39:case 40:case 54:case 53:return Ep();case 89:return Qp();case 112:return Gd();case 114:return Zp();case 29:return ad();case 132:if(Bd())return fu();default:return Ud()}}function ec(){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 Ud(){if(me()===45||me()===46){var xe=ee();return rt(O.createPrefixUnaryExpression(me(),xr(bf)),xe)}else if(ke===1&&me()===29&&ht(Fo))return Ef(!0);var Tr=bf();if(e.Debug.assert(e.isLeftHandSideExpression(Tr)),(me()===45||me()===46)&&!u.hasPrecedingLineBreak()){var Gr=me();return fr(),rt(O.createPostfixUnaryExpression(Tr,Gr),Tr.pos)}return Tr}function bf(){var xe=ee(),Tr;return me()===100?ht(Lt)?(V|=1048576,Tr=dn()):ht(Kt)?(fr(),fr(),Tr=rt(O.createMetaProperty(100,va()),xe),V|=2097152):Tr=Tp():Tr=me()===106?Sp():Tp(),Tf(xe,Tr)}function Tp(){var xe=ee(),Tr=Dl();return Fl(xe,Tr,!0)}function Sp(){var xe=ee(),Tr=dn();if(me()===29){var Gr=ee(),at=xt(id);at!==void 0&&je(Gr,ee(),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),rt(O.createPropertyAccessExpression(Tr,ei(!0,!0)),xe))}function Ef(xe,Tr,Gr){var at=ee(),Ct=Ru(xe),Xt;if(Ct.kind===279){var On=rd(Ct),$n=void 0,wa=On[On.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=rt(O.createJsxElement(wa.openingElement,wa.children,rt(O.createJsxClosingElement(rt(O.createIdentifier(""),Ea,Ea)),Ea,Ea)),wa.openingElement.pos,Ea);On=It(Gt(Gt([],On.slice(0,On.length-1),!0),[Ki],!1),On.pos,Ea),$n=wa.closingElement}else $n=nd(Ct,xe),C(Ct.tagName,$n.tagName)||(Gr&&e.isJsxOpeningElement(Gr)&&C($n.tagName,Gr.tagName)?Ee(Ct.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(z,Ct.tagName)):Ee($n.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(z,Ct.tagName)));Xt=rt(O.createJsxElement(Ct,On,$n),at)}else Ct.kind===282?Xt=rt(O.createJsxFragment(Ct,rd(Ct),x_(xe)),at):(e.Debug.assert(Ct.kind===278),Xt=Ct);if(xe&&me()===29){var Qo=typeof Tr>"u"?Xt.pos:Tr,$i=xt(function(){return Ef(!0,Qo)});if($i){var Ho=Cn(27,!1);return e.setTextRangePosWidth(Ho,$i.pos,0),je(e.skipTrivia(z,Qo),$i.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),rt(O.createBinaryExpression(Xt,Ho,$i),at)}}return Xt}function $p(){var xe=ee(),Tr=O.createJsxText(u.getTokenValue(),he===12);return he=u.scanJsxToken(),rt(Tr,xe)}function Vd(xe,Tr){switch(Tr){case 1:if(e.isJsxOpeningFragment(xe))Ee(xe,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Gr=xe.tagName,at=e.skipTrivia(z,Gr.pos);je(at,Gr.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(z,xe.tagName))}return;case 30:case 7:return;case 11:case 12:return $p();case 18:return Pu(!1);case 29:return Ef(!1,void 0,xe);default:return e.Debug.assertNever(Tr)}}function rd(xe){var Tr=[],Gr=ee(),at=qe;for(qe|=1<<14;;){var Ct=Vd(xe,he=u.reScanJsxToken());if(!Ct||(Tr.push(Ct),e.isJsxOpeningElement(xe)&&(Ct==null?void 0:Ct.kind)===277&&!C(Ct.openingElement.tagName,Ct.closingElement.tagName)&&C(xe.tagName,Ct.closingElement.tagName)))break}return qe=at,It(Tr,Gr)}function td(){var xe=ee();return rt(O.createJsxAttributes(Un(13,js)),xe)}function Ru(xe){var Tr=ee();if(mt(29),me()===31)return gt(),rt(O.createJsxOpeningFragment(),Tr);var Gr=wu(),at=(De&131072)===0?gn():void 0,Ct=td(),Xt;return me()===31?(gt(),Xt=O.createJsxOpeningElement(Gr,at,Ct)):(mt(43),mt(31,void 0,!1)&&(xe?fr():gt()),Xt=O.createJsxSelfClosingElement(Gr,at,Ct)),rt(Xt,Tr)}function wu(){var xe=ee();zr();for(var Tr=me()===108?dn():va();en(24);)Tr=rt(O.createPropertyAccessExpression(Tr,ei(!0,!1)),xe);return Tr}function Pu(xe){var Tr=ee();if(!!mt(18)){var Gr,at;return me()!==19&&(Gr=St(25),at=Rs()),xe?mt(19):mt(19,void 0,!1)&>(),rt(O.createJsxExpression(Gr,at),Tr)}}function js(){if(me()===18)return gc();zr();var xe=ee();return rt(O.createJsxAttribute(va(),me()!==63?void 0:vt()===10?ko():Pu(!0)),xe)}function gc(){var xe=ee();mt(18),mt(25);var Tr=Rs();return mt(19),rt(O.createJsxSpreadAttribute(Tr),xe)}function nd(xe,Tr){var Gr=ee();mt(30);var at=wu();return mt(31,void 0,!1)&&(Tr||!C(xe.tagName,at)?fr():gt()),rt(O.createJsxClosingElement(at),Gr)}function x_(xe){var Tr=ee();return mt(30),e.tokenIsIdentifierOrKeyword(me())&&Ee(wu(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),mt(31,void 0,!1)&&(xe?fr():gt()),rt(O.createJsxJsxClosingFragment(),Tr)}function ad(){var xe=ee();mt(29);var Tr=_s();mt(31);var Gr=mc();return rt(O.createTypeAssertion(Tr,Gr),xe)}function Mu(){return fr(),e.tokenIsIdentifierOrKeyword(me())||me()===22||pl()}function I_(){return me()===28&&ht(Mu)}function vc(xe){if(xe.flags&32)return!0;if(e.isNonNullExpression(xe)){for(var Tr=xe.expression;e.isNonNullExpression(Tr)&&!(Tr.flags&32);)Tr=Tr.expression;if(Tr.flags&32){for(;e.isNonNullExpression(xe);)xe.flags|=32,xe=xe.expression;return!0}}return!1}function Ml(xe,Tr,Gr){var at=ei(!0,!0),Ct=Gr||vc(Tr),Xt=Ct?O.createPropertyAccessChain(Tr,Gr,at):O.createPropertyAccessExpression(Tr,at);return Ct&&e.isPrivateIdentifier(Xt.name)&&Ee(Xt.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),rt(Xt,xe)}function Sl(xe,Tr,Gr){var at;if(me()===23)at=Cn(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Ct=Ar(Rs);e.isStringOrNumericLiteralLike(Ct)&&(Ct.text=Qn(Ct.text)),at=Ct}mt(23);var Xt=Gr||vc(Tr)?O.createElementAccessChain(Tr,Gr,at):O.createElementAccessExpression(Tr,at);return rt(Xt,xe)}function Fl(xe,Tr,Gr){for(;;){var at=void 0,Ct=!1;if(Gr&&I_()?(at=qt(28),Ct=e.tokenIsIdentifierOrKeyword(me())):Ct=en(24),Ct){Tr=Ml(xe,Tr,at);continue}if(!at&&me()===53&&!u.hasPrecedingLineBreak()){fr(),Tr=rt(O.createNonNullExpression(Tr),xe);continue}if((at||!sr())&&en(22)){Tr=Sl(xe,Tr,at);continue}if(pl()){Tr=Dp(xe,Tr,at,void 0);continue}return Tr}}function pl(){return me()===14||me()===15}function Dp(xe,Tr,Gr,at){var Ct=O.createTaggedTemplateExpression(Tr,at,me()===14?(tr(),ko()):xi(!0));return(Gr||Tr.flags&32)&&(Ct.flags|=32),Ct.questionDotToken=Gr,rt(Ct,xe)}function Tf(xe,Tr){for(;;){Tr=Fl(xe,Tr,!0);var Gr=St(28);if((De&131072)===0&&(me()===29||me()===47)){var at=xt(id);if(at){if(pl()){Tr=Dp(xe,Tr,Gr,at);continue}var Ct=Wd(),Xt=Gr||vc(Tr)?O.createCallChain(Tr,Gr,at,Ct):O.createCallExpression(Tr,at,Ct);Tr=rt(Xt,xe);continue}}else if(me()===20){var Ct=Wd(),Xt=Gr||vc(Tr)?O.createCallChain(Tr,Gr,void 0,Ct):O.createCallExpression(Tr,void 0,Ct);Tr=rt(Xt,xe);continue}if(Gr){var On=Cn(79,!1,e.Diagnostics.Identifier_expected);Tr=rt(O.createPropertyAccessChain(Tr,Gr,On),xe)}break}return Tr}function Wd(){mt(20);var xe=$a(11,Yl);return mt(21),xe}function id(){if((De&131072)===0&&Ir()===29){fr();var xe=$a(20,_s);if(!!mt(31))return xe&&mo()?xe:void 0}}function mo(){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 Dl(){switch(me()){case 8:case 9:case 10:case 14:return ko();case 108:case 106:case 104:case 110:case 95:return dn();case 20:return wo();case 22:return od();case 18:return us();case 131:if(!ht(ud))break;return ii();case 84:return Vu();case 98:return ii();case 103:return sd();case 43:case 68:if(yt()===13)return ko();break;case 15:return xi(!1);case 80:return Hi()}return _i(e.Diagnostics.Expression_expected)}function wo(){var xe=ee(),Tr=Ne();mt(20);var Gr=Ar(Rs);return mt(21),Pe(rt(O.createParenthesizedExpression(Gr),xe),Tr)}function ms(){var xe=ee();mt(25);var Tr=Zn();return rt(O.createSpreadElement(Tr),xe)}function e_(){return me()===25?ms():me()===27?rt(O.createOmittedExpression(),ee()):Zn()}function Yl(){return Jr(g,e_)}function od(){var xe=ee();mt(22);var Tr=u.hasPrecedingLineBreak(),Gr=$a(15,e_);return mt(23),rt(O.createArrayLiteralExpression(Gr,Tr),xe)}function Ln(){var xe=ee(),Tr=Ne();if(St(25)){var Gr=Zn();return Pe(rt(O.createSpreadAssignment(Gr),xe),Tr)}var at=ef(),Ct=bc();if(to(136))return du(xe,Tr,at,Ct,171);if(to(148))return du(xe,Tr,at,Ct,172);var Xt=St(41),On=Qt(),$n=Pi(),wa=St(57),Ea=St(53);if(Xt||me()===20||me()===29)return zd(xe,Tr,at,Ct,Xt,$n,wa,Ea);var Ki,Qo=On&&me()!==58;if(Qo){var $i=St(63),Ho=$i?Ar(Zn):void 0;Ki=O.createShorthandPropertyAssignment($n,Ho),Ki.equalsToken=$i}else{mt(58);var gs=Ar(Zn);Ki=O.createPropertyAssignment($n,gs)}return Ki.decorators=at,Ki.modifiers=Ct,Ki.questionToken=wa,Ki.exclamationToken=Ea,Pe(rt(Ki,xe),Tr)}function us(){var xe=ee(),Tr=u.getTokenPos();mt(18);var Gr=u.hasPrecedingLineBreak(),at=$a(12,Ln,!0);if(!mt(19)){var Ct=e.lastOrUndefined(Me);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Q,Tr,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return rt(O.createObjectLiteralExpression(at,Gr),xe)}function ii(){var xe=sr();He(!1);var Tr=ee(),Gr=Ne(),at=bc();mt(98);var Ct=St(41),Xt=Ct?1:0,On=e.some(at,e.isAsyncModifier)?2:0,$n=Xt&&On?bn(Rc):Xt?lt(Rc):On?Rt(Rc):Rc(),wa=Co(),Ea=Ws(Xt|On),Ki=no(58,!1),Qo=Dn(Xt|On);He(xe);var $i=O.createFunctionExpression(at,Ct,$n,wa,Ea,Ki,Qo);return Pe(rt($i,Tr),Gr)}function Rc(){return wt()?Ci():void 0}function sd(){var xe=ee();if(mt(103),en(24)){var Tr=va();return rt(O.createMetaProperty(103,Tr),xe)}for(var Gr=ee(),at=Dl(),Ct;;){at=Fl(Gr,at,!1),Ct=xt(id),pl()&&(e.Debug.assert(!!Ct,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),at=Dp(Gr,at,void 0,Ct),Ct=void 0);break}var Xt;return me()===20?Xt=Wd():Ct&&je(xe,u.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),rt(O.createNewExpression(at,Ct,Xt),xe)}function sl(xe,Tr){var Gr=ee(),at=Ne(),Ct=u.getTokenPos();if(mt(18,Tr)||xe){var Xt=u.hasPrecedingLineBreak(),On=Un(1,Ga);if(!mt(19)){var $n=e.lastOrUndefined(Me);$n&&$n.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo($n,e.createDetachedDiagnostic(Q,Ct,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var wa=Pe(rt(O.createBlock(On,Xt),Gr),at);return me()===63&&(or(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 On=So();return Pe(rt(O.createBlock(On,void 0),Gr),at)}}function Dn(xe,Tr){var Gr=ir();Fr(!!(xe&1));var at=ye();pr(!!(xe&2));var Ct=Ae;Ae=!1;var Xt=sr();Xt&&He(!1);var On=sl(!!(xe&16),Tr);return Xt&&He(!0),Ae=Ct,Fr(Gr),pr(at),On}function N_(){var xe=ee(),Tr=Ne();return mt(26),Pe(rt(O.createEmptyStatement(),xe),Tr)}function rs(){var xe=ee(),Tr=Ne();mt(99),mt(20);var Gr=Ar(Rs);mt(21);var at=Ga(),Ct=en(91)?Ga():void 0;return Pe(rt(O.createIfStatement(Gr,at,Ct),xe),Tr)}function fs(){var xe=ee(),Tr=Ne();mt(90);var Gr=Ga();mt(115),mt(20);var at=Ar(Rs);return mt(21),en(26),Pe(rt(O.createDoStatement(Gr,at),xe),Tr)}function wc(){var xe=ee(),Tr=Ne();mt(115),mt(20);var Gr=Ar(Rs);mt(21);var at=Ga();return Pe(rt(O.createWhileStatement(Gr,at),xe),Tr)}function Hs(){var xe=ee(),Tr=Ne();mt(97);var Gr=St(132);mt(20);var at;me()!==26&&(me()===113||me()===119||me()===85?at=Bl(!0):at=Yr(Rs));var Ct;if(Gr?mt(159):en(159)){var Xt=Ar(Zn);mt(21),Ct=O.createForOfStatement(Gr,at,Xt,Ga())}else if(en(101)){var Xt=Ar(Rs);mt(21),Ct=O.createForInStatement(at,Xt,Ga())}else{mt(26);var On=me()!==26&&me()!==21?Ar(Rs):void 0;mt(26);var $n=me()!==21?Ar(Rs):void 0;mt(21),Ct=O.createForStatement(at,On,$n,Ga())}return Pe(rt(Ct,xe),Tr)}function Sf(xe){var Tr=ee(),Gr=Ne();mt(xe===245?81:86);var at=pt()?void 0:_i();Pt();var Ct=xe===245?O.createBreakStatement(at):O.createContinueStatement(at);return Pe(rt(Ct,Tr),Gr)}function ws(){var xe=ee(),Tr=Ne();mt(105);var Gr=pt()?void 0:Ar(Rs);return Pt(),Pe(rt(O.createReturnStatement(Gr),xe),Tr)}function Pc(){var xe=ee(),Tr=Ne();mt(116),mt(20);var Gr=Ar(Rs);mt(21);var at=ze(16777216,Ga);return Pe(rt(O.createWithStatement(Gr,at),xe),Tr)}function Qu(){var xe=ee();mt(82);var Tr=Ar(Rs);mt(58);var Gr=Un(3,Ga);return rt(O.createCaseClause(Tr,Gr),xe)}function Df(){var xe=ee();mt(88),mt(58);var Tr=Un(3,Ga);return rt(O.createDefaultClause(Tr),xe)}function hc(){return me()===82?Qu():Df()}function Lf(){var xe=ee();mt(18);var Tr=Un(2,hc);return mt(19),rt(O.createCaseBlock(Tr),xe)}function ll(){var xe=ee(),Tr=Ne();mt(107),mt(20);var Gr=Ar(Rs);mt(21);var at=Lf();return Pe(rt(O.createSwitchStatement(Gr,at),xe),Tr)}function r_(){var xe=ee(),Tr=Ne();mt(109);var Gr=u.hasPrecedingLineBreak()?void 0:Ar(Rs);return Gr===void 0&&(Le++,Gr=rt(O.createIdentifier(""),ee())),_t()||sa(Gr),Pe(rt(O.createThrowStatement(Gr),xe),Tr)}function Fu(){var xe=ee(),Tr=Ne();mt(111);var Gr=sl(!1),at=me()===83?Af():void 0,Ct;return(!at||me()===96)&&(mt(96),Ct=sl(!1)),Pe(rt(O.createTryStatement(Gr,at,Ct),xe),Tr)}function Af(){var xe=ee();mt(83);var Tr;en(20)?(Tr=jo(),mt(21)):Tr=void 0;var Gr=sl(!1);return rt(O.createCatchClause(Tr,Gr),xe)}function ld(){var xe=ee(),Tr=Ne();return mt(87),Pt(),Pe(rt(O.createDebuggerStatement(),xe),Tr)}function cd(){var xe=ee(),Tr=Ne(),Gr,at=me()===20,Ct=Ar(Rs);return e.isIdentifier(Ct)&&en(58)?Gr=O.createLabeledStatement(Ct,Ga()):(_t()||sa(Ct),Gr=O.createExpressionStatement(Ct),at&&(Tr=!1)),Pe(rt(Gr,xe),Tr)}function Cf(){return fr(),e.tokenIsIdentifierOrKeyword(me())&&!u.hasPrecedingLineBreak()}function yc(){return fr(),me()===84&&!u.hasPrecedingLineBreak()}function ud(){return fr(),me()===98&&!u.hasPrecedingLineBreak()}function xf(){return fr(),(e.tokenIsIdentifierOrKeyword(me())||me()===8||me()===9||me()===10)&&!u.hasPrecedingLineBreak()}function Gu(){for(;;)switch(me()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return ks();case 141:case 142:return Zu();case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(fr(),u.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 xe=fr();if(xe===151&&(xe=ht(fr)),xe===63||xe===41||xe===18||xe===88||xe===127)return!0;continue;case 124:fr();continue;default:return!1}}function Js(){return ht(Gu)}function Gl(){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 Js()||ht(pn);case 85:case 93:return Js();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 Js()||!ht(Cf);default:return dl()}}function Kc(){return fr(),wt()||me()===18||me()===22}function fd(){return ht(Kc)}function Ga(){switch(me()){case 26:return N_();case 18:return sl(!1);case 113:return nc(ee(),Ne(),void 0,void 0);case 119:if(fd())return nc(ee(),Ne(),void 0,void 0);break;case 98:return Nf(ee(),Ne(),void 0,void 0);case 84:return Xc(ee(),Ne(),void 0,void 0);case 99:return rs();case 90:return fs();case 115:return wc();case 97:return Hs();case 86:return Sf(244);case 81:return Sf(245);case 105:return ws();case 116:return Pc();case 107:return ll();case 109:return r_();case 111:case 83:case 96:return Fu();case 87:return ld();case 59:return Ts();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(Js())return Ts();break}return cd()}function wn(xe){return xe.kind===135}function Ts(){var xe=e.some(ht(function(){return ef(),bc()}),wn);if(xe){var Tr=jd();if(Tr)return Tr}var Gr=ee(),at=Ne(),Ct=ef(),Xt=bc();if(xe){for(var On=0,$n=Xt;On<$n.length;On++){var wa=$n[On];wa.flags|=8388608}return ze(8388608,function(){return rc(Gr,at,Ct,Xt)})}else return rc(Gr,at,Ct,Xt)}function jd(){return ze(8388608,function(){var xe=oe(qe);if(xe)return mr(xe)})}function rc(xe,Tr,Gr,at){switch(me()){case 113:case 119:case 85:return nc(xe,Tr,Gr,at);case 98:return Nf(xe,Tr,Gr,at);case 84:return Xc(xe,Tr,Gr,at);case 118:return Zd(xe,Tr,Gr,at);case 151:return Mc(xe,Tr,Gr,at);case 92:return k_(xe,Tr,Gr,at);case 156:case 141:case 142:return Ap(xe,Tr,Gr,at);case 100:return Pf(xe,Tr,Gr,at);case 93:switch(fr(),me()){case 88:case 63:return $c(xe,Tr,Gr,at);case 127:return Qc(xe,Tr,Gr,at);default:return Zc(xe,Tr,Gr,at)}default:if(Gr||at){var Ct=Cn(275,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(Ct,xe),Ct.decorators=Gr,Ct.modifiers=at,Ct}return}}function Zu(){return fr(),!u.hasPrecedingLineBreak()&&(Qt()||me()===10)}function zc(xe,Tr){if(me()!==18&&pt()){Pt();return}return Dn(xe,Tr)}function Hd(){var xe=ee();if(me()===27)return rt(O.createOmittedExpression(),xe);var Tr=St(25),Gr=Qs(),at=Ja();return rt(O.createBindingElement(Tr,void 0,Gr,at),xe)}function Ll(){var xe=ee(),Tr=St(25),Gr=wt(),at=Pi(),Ct;Gr&&me()!==58?(Ct=at,at=void 0):(mt(58),Ct=Qs());var Xt=Ja();return rt(O.createBindingElement(Tr,at,Ct,Xt),xe)}function tc(){var xe=ee();mt(18);var Tr=$a(9,Ll);return mt(19),rt(O.createObjectBindingPattern(Tr),xe)}function If(){var xe=ee();mt(22);var Tr=$a(10,Hd);return mt(23),rt(O.createArrayBindingPattern(Tr),xe)}function $u(){return me()===18||me()===22||me()===80||wt()}function Qs(xe){return me()===22?If():me()===18?tc():Ci(xe)}function Jd(){return jo(!0)}function jo(xe){var Tr=ee(),Gr=Ne(),at=Qs(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations),Ct;xe&&at.kind===79&&me()===53&&!u.hasPrecedingLineBreak()&&(Ct=dn());var Xt=Jc(),On=bp(me())?void 0:Ja(),$n=O.createVariableDeclaration(at,Ct,Xt,On);return Pe(rt($n,Tr),Gr)}function Bl(xe){var Tr=ee(),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(Kd))at=So();else{var Ct=Rr();Dr(xe),at=$a(8,xe?jo:Jd),Dr(Ct)}return rt(O.createVariableDeclarationList(at,Gr),Tr)}function Kd(){return Po()&&fr()===21}function nc(xe,Tr,Gr,at){var Ct=Bl(!1);Pt();var Xt=O.createVariableStatement(at,Ct);return Xt.decorators=Gr,Pe(rt(Xt,xe),Tr)}function Nf(xe,Tr,Gr,at){var Ct=ye(),Xt=e.modifiersToFlags(at);mt(98);var On=St(41),$n=Xt&512?Rc():Ci(),wa=On?1:0,Ea=Xt&256?2:0,Ki=Co();Xt&1&&pr(!0);var Qo=Ws(wa|Ea),$i=no(58,!1),Ho=zc(wa|Ea,e.Diagnostics.or_expected);pr(Ct);var gs=O.createFunctionDeclaration(Gr,at,On,$n,Ki,Qo,$i,Ho);return Pe(rt(gs,xe),Tr)}function Bu(){if(me()===134)return mt(134);if(me()===10&&ht(fr)===20)return xt(function(){var xe=ko();return xe.text==="constructor"?xe:void 0})}function dd(xe,Tr,Gr,at){return xt(function(){if(Bu()){var Ct=Co(),Xt=Ws(0),On=no(58,!1),$n=zc(0,e.Diagnostics.or_expected),wa=O.createConstructorDeclaration(Gr,at,Xt,$n);return wa.typeParameters=Ct,wa.type=On,Pe(rt(wa,xe),Tr)}})}function zd(xe,Tr,Gr,at,Ct,Xt,On,$n,wa){var Ea=Ct?1:0,Ki=e.some(at,e.isAsyncModifier)?2:0,Qo=Co(),$i=Ws(Ea|Ki),Ho=no(58,!1),gs=zc(Ea|Ki,wa),_l=O.createMethodDeclaration(Gr,at,Ct,Xt,On,Qo,$i,Ho,gs);return _l.exclamationToken=$n,Pe(rt(_l,xe),Tr)}function Al(xe,Tr,Gr,at,Ct,Xt){var On=!Xt&&!u.hasPrecedingLineBreak()?St(53):void 0,$n=Jc(),wa=Jr(45056,Ja);na(Ct,$n,wa);var Ea=O.createPropertyDeclaration(Gr,at,Ct,Xt||On,$n,wa);return Pe(rt(Ea,xe),Tr)}function ts(xe,Tr,Gr,at){var Ct=St(41),Xt=Pi(),On=St(57);return Ct||me()===20||me()===29?zd(xe,Tr,Gr,at,Ct,Xt,On,void 0,e.Diagnostics.or_expected):Al(xe,Tr,Gr,at,Xt,On)}function du(xe,Tr,Gr,at,Ct){var Xt=Pi(),On=Co(),$n=Ws(0),wa=no(58,!1),Ea=zc(0),Ki=Ct===171?O.createGetAccessorDeclaration(Gr,at,Xt,$n,wa,Ea):O.createSetAccessorDeclaration(Gr,at,Xt,$n,Ea);return Ki.typeParameters=On,wa&&Ki.kind===172&&(Ki.type=wa),Pe(rt(Ki,xe),Tr)}function qd(){var xe;if(me()===59)return!0;for(;e.isModifierKind(me());){if(xe=me(),e.isClassMemberModifier(xe))return!0;fr()}if(me()===41||(yi()&&(xe=me(),fr()),me()===22))return!0;if(xe!==void 0){if(!e.isKeyword(xe)||xe===148||xe===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 ac(xe,Tr,Gr,at){qt(124);var Ct=kf();return Pe(rt(O.createClassStaticBlockDeclaration(Gr,at,Ct),xe),Tr)}function kf(){var xe=ir(),Tr=ye();Fr(!1),pr(!0);var Gr=sl(!1);return Fr(xe),pr(Tr),Gr}function Uu(){if(ye()&&me()===132){var xe=ee(),Tr=_i(e.Diagnostics.Expression_expected);fr();var Gr=Fl(xe,Tr,!0);return Tf(xe,Gr)}return bf()}function Xd(){var xe=ee();if(!!en(59)){var Tr=tt(Uu);return rt(O.createDecorator(Tr),xe)}}function ef(){for(var xe=ee(),Tr,Gr;Gr=Xd();)Tr=e.append(Tr,Gr);return Tr&&It(Tr,xe)}function Of(xe,Tr,Gr){var at=ee(),Ct=me();if(me()===85&&xe){if(!xt(No))return}else{if(Tr&&me()===124&&ht(_d))return;if(Gr&&me()===124)return;if(!Yo())return}return rt(O.createToken(Ct),at)}function bc(xe,Tr){for(var Gr=ee(),at,Ct,Xt=!1;Ct=Of(xe,Tr,Xt);)Ct.kind===124&&(Xt=!0),at=e.append(at,Ct);return at&&It(at,Gr)}function qc(){var xe;if(me()===131){var Tr=ee();fr();var Gr=rt(O.createToken(131),Tr);xe=It([Gr],Tr)}return xe}function rf(){var xe=ee();if(me()===26)return fr(),rt(O.createSemicolonClassElement(),xe);var Tr=Ne(),Gr=ef(),at=bc(!0,!0);if(me()===124&&ht(_d))return ac(xe,Tr,Gr,at);if(to(136))return du(xe,Tr,Gr,at,171);if(to(148))return du(xe,Tr,Gr,at,172);if(me()===134||me()===10){var Ct=dd(xe,Tr,Gr,at);if(Ct)return Ct}if(La())return dc(xe,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 On=0,$n=at;On<$n.length;On++){var wa=$n[On];wa.flags|=8388608}return ze(8388608,function(){return ts(xe,Tr,Gr,at)})}else return ts(xe,Tr,Gr,at)}if(Gr||at){var Ea=Cn(79,!0,e.Diagnostics.Declaration_expected);return Al(xe,Tr,Gr,at,Ea,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function Vu(){return Yd(ee(),Ne(),void 0,void 0,225)}function Xc(xe,Tr,Gr,at){return Yd(xe,Tr,Gr,at,256)}function Yd(xe,Tr,Gr,at,Ct){var Xt=ye();mt(84);var On=Ec(),$n=Co();e.some(at,e.isExportModifier)&&pr(!0);var wa=t_(),Ea;mt(18)?(Ea=Qd(),mt(19)):Ea=So(),pr(Xt);var Ki=Ct===256?O.createClassDeclaration(Gr,at,On,$n,wa,Ea):O.createClassExpression(Gr,at,On,$n,wa,Ea);return Pe(rt(Ki,xe),Tr)}function Ec(){return wt()&&!Wu()?Ra(wt()):void 0}function Wu(){return me()===117&&ht(Mo)}function t_(){if(Rf())return Un(22,Wa)}function Wa(){var xe=ee(),Tr=me();e.Debug.assert(Tr===94||Tr===117),fr();var Gr=$a(7,pu);return rt(O.createHeritageClause(Tr,Gr),xe)}function pu(){var xe=ee(),Tr=bf(),Gr=gn();return rt(O.createExpressionWithTypeArguments(Tr,Gr),xe)}function gn(){return me()===29?bt(20,_s,29,31):void 0}function Rf(){return me()===94||me()===117}function Qd(){return Un(5,rf)}function Zd(xe,Tr,Gr,at){mt(118);var Ct=_i(),Xt=Co(),On=t_(),$n=kn(),wa=O.createInterfaceDeclaration(Gr,at,Ct,Xt,On,$n);return Pe(rt(wa,xe),Tr)}function Mc(xe,Tr,Gr,at){mt(151);var Ct=_i(),Xt=Co();mt(63);var On=me()===138&&xt(Ta)||_s();Pt();var $n=O.createTypeAliasDeclaration(Gr,at,Ct,Xt,On);return Pe(rt($n,xe),Tr)}function $d(){var xe=ee(),Tr=Ne(),Gr=Pi(),at=Ar(Ja);return Pe(rt(O.createEnumMember(Gr,at),xe),Tr)}function k_(xe,Tr,Gr,at){mt(92);var Ct=_i(),Xt;mt(18)?(Xt=In(function(){return $a(6,$d)}),mt(19)):Xt=So();var On=O.createEnumDeclaration(Gr,at,Ct,Xt);return Pe(rt(On,xe),Tr)}function Yc(){var xe=ee(),Tr;return mt(18)?(Tr=Un(1,Ga),mt(19)):Tr=So(),rt(O.createModuleBlock(Tr),xe)}function Lp(xe,Tr,Gr,at,Ct){var Xt=Ct&16,On=_i(),$n=en(24)?Lp(ee(),!1,void 0,void 0,4|Xt):Yc(),wa=O.createModuleDeclaration(Gr,at,On,$n,Ct);return Pe(rt(wa,xe),Tr)}function pd(xe,Tr,Gr,at){var Ct=0,Xt;me()===156?(Xt=_i(),Ct|=1024):(Xt=ko(),Xt.text=Qn(Xt.text));var On;me()===18?On=Yc():Pt();var $n=O.createModuleDeclaration(Gr,at,Xt,On,Ct);return Pe(rt($n,xe),Tr)}function Ap(xe,Tr,Gr,at){var Ct=0;if(me()===156)return pd(xe,Tr,Gr,at);if(en(142))Ct|=16;else if(mt(141),me()===10)return pd(xe,Tr,Gr,at);return Lp(xe,Tr,Gr,at,Ct)}function Ul(){return me()===145&&ht(wf)}function wf(){return fr()===20}function _d(){return fr()===18}function Fc(){return fr()===43}function Qc(xe,Tr,Gr,at){mt(127),mt(142);var Ct=_i();Pt();var Xt=O.createNamespaceExportDeclaration(Ct);return Xt.decorators=Gr,Xt.modifiers=at,Pe(rt(Xt,xe),Tr)}function Pf(xe,Tr,Gr,at){mt(100);var Ct=u.getStartPos(),Xt;Qt()&&(Xt=_i());var On=!1;if(me()!==155&&(Xt==null?void 0:Xt.escapedText)==="type"&&(Qt()||nt())&&(On=!0,Xt=Qt()?_i():void 0),Xt&&!Ot())return fa(xe,Tr,Gr,at,Xt,On);var $n;(Xt||me()===41||me()===18)&&($n=Oa(Xt,Ct,On),mt(155));var wa=Na(),Ea;me()===129&&!u.hasPrecedingLineBreak()&&(Ea=Qe()),Pt();var Ki=O.createImportDeclaration(Gr,at,$n,wa,Ea);return Pe(rt(Ki,xe),Tr)}function E(){var xe=ee(),Tr=e.tokenIsIdentifierOrKeyword(me())?va():wr(10);mt(58);var Gr=wr(10);return rt(O.createAssertEntry(Tr,Gr),xe)}function Qe(){var xe=ee();mt(129);var Tr=u.getTokenPos();if(mt(18)){var Gr=u.hasPrecedingLineBreak(),at=$a(24,E,!0);if(!mt(19)){var Ct=e.lastOrUndefined(Me);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Q,Tr,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return rt(O.createAssertClause(at,Gr),xe)}else{var at=It([],ee(),void 0,!1);return rt(O.createAssertClause(at,!1),xe)}}function nt(){return me()===41||me()===18}function Ot(){return me()===27||me()===155}function fa(xe,Tr,Gr,at,Ct,Xt){mt(63);var On=ia();Pt();var $n=O.createImportEqualsDeclaration(Gr,at,Xt,Ct,On),wa=Pe(rt($n,xe),Tr);return wa}function Oa(xe,Tr,Gr){var at;return(!xe||en(27))&&(at=me()===41?Ua():Go(268)),rt(O.createImportClause(Gr,xe,at),Tr)}function ia(){return Ul()?ti():Mn(!1)}function ti(){var xe=ee();mt(145),mt(20);var Tr=Na();return mt(21),rt(O.createExternalModuleReference(Tr),xe)}function Na(){if(me()===10){var xe=ko();return xe.text=Qn(xe.text),xe}else return Rs()}function Ua(){var xe=ee();mt(41),mt(127);var Tr=_i();return rt(O.createNamespaceImport(Tr),xe)}function Go(xe){var Tr=ee(),Gr=xe===268?O.createNamedImports(bt(23,os,18,19)):O.createNamedExports(bt(23,cl,18,19));return rt(Gr,Tr)}function cl(){return is(274)}function os(){return is(269)}function is(xe){var Tr=ee(),Gr=e.isKeyword(me())&&!Qt(),at=u.getTokenPos(),Ct=u.getTextPos(),Xt=!1,On,$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,On=Ea,wa=$i(),$n=!1):(On=wa,wa=Ki,$n=!1)}else e.tokenIsIdentifierOrKeyword(me())?(On=wa,$n=!1,wa=$i()):(Xt=!0,wa=Ea)}else e.tokenIsIdentifierOrKeyword(me())&&(Xt=!0,wa=$i());$n&&me()===127&&(On=wa,mt(127),wa=$i()),xe===269&&Gr&&je(at,Ct,e.Diagnostics.Identifier_expected);var Qo=xe===269?O.createImportSpecifier(Xt,On,wa):O.createExportSpecifier(Xt,On,wa);return rt(Qo,Tr);function $i(){return Gr=e.isKeyword(me())&&!Qt(),at=u.getTokenPos(),Ct=u.getTextPos(),va()}}function Vl(xe){return rt(O.createNamespaceExport(va()),xe)}function Zc(xe,Tr,Gr,at){var Ct=ye();pr(!0);var Xt,On,$n,wa=en(151),Ea=ee();en(41)?(en(127)&&(Xt=Vl(Ea)),mt(155),On=Na()):(Xt=Go(272),(me()===155||me()===10&&!u.hasPrecedingLineBreak())&&(mt(155),On=Na())),On&&me()===129&&!u.hasPrecedingLineBreak()&&($n=Qe()),Pt(),pr(Ct);var Ki=O.createExportDeclaration(Gr,at,wa,Xt,On,$n);return Pe(rt(Ki,xe),Tr)}function $c(xe,Tr,Gr,at){var Ct=ye();pr(!0);var Xt;en(63)?Xt=!0:mt(88);var On=Zn();Pt(),pr(Ct);var $n=O.createExportAssignment(Gr,at,Xt,On);return Pe(rt($n,xe),Tr)}function md(xe){xe.externalModuleIndicator=e.forEach(xe.statements,n_)||tf(xe)}function n_(xe){return a_(xe,93)||e.isImportEqualsDeclaration(xe)&&e.isExternalModuleReference(xe.moduleReference)||e.isImportDeclaration(xe)||e.isExportAssignment(xe)||e.isExportDeclaration(xe)?xe:void 0}function tf(xe){return xe.flags&2097152?Mf(xe):void 0}function Mf(xe){return gd(xe)?xe:q(xe,Mf)}function a_(xe,Tr){return e.some(xe.modifiers,function(Gr){return Gr.kind===Tr})}function gd(xe){return e.isMetaProperty(xe)&&xe.keywordToken===100&&xe.name.escapedText==="meta"}var Wl;(function(xe){xe[xe.SourceElements=0]="SourceElements",xe[xe.BlockStatements=1]="BlockStatements",xe[xe.SwitchClauses=2]="SwitchClauses",xe[xe.SwitchClauseStatements=3]="SwitchClauseStatements",xe[xe.TypeMembers=4]="TypeMembers",xe[xe.ClassMembers=5]="ClassMembers",xe[xe.EnumMembers=6]="EnumMembers",xe[xe.HeritageClauseElement=7]="HeritageClauseElement",xe[xe.VariableDeclarations=8]="VariableDeclarations",xe[xe.ObjectBindingElements=9]="ObjectBindingElements",xe[xe.ArrayBindingElements=10]="ArrayBindingElements",xe[xe.ArgumentExpressions=11]="ArgumentExpressions",xe[xe.ObjectLiteralMembers=12]="ObjectLiteralMembers",xe[xe.JsxAttributes=13]="JsxAttributes",xe[xe.JsxChildren=14]="JsxChildren",xe[xe.ArrayLiteralMembers=15]="ArrayLiteralMembers",xe[xe.Parameters=16]="Parameters",xe[xe.JSDocParameters=17]="JSDocParameters",xe[xe.RestProperties=18]="RestProperties",xe[xe.TypeParameters=19]="TypeParameters",xe[xe.TypeArguments=20]="TypeArguments",xe[xe.TupleElementTypes=21]="TupleElementTypes",xe[xe.HeritageClauses=22]="HeritageClauses",xe[xe.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",xe[xe.AssertEntries=24]="AssertEntries",xe[xe.Count=25]="Count"})(Wl||(Wl={}));var ep;(function(xe){xe[xe.False=0]="False",xe[xe.True=1]="True",xe[xe.Unknown=2]="Unknown"})(ep||(ep={}));var i_;(function(xe){function Tr(Ea,Ki,Qo){Cr("file.js",Ea,99,void 0,1),u.setText(Ea,Ki,Qo),he=u.scan();var $i=Gr(),Ho=Fe("file.js",99,1,!1,[],O.createToken(1),0),gs=e.attachFileToDiagnostics(Me,Ho);return Ie&&(Ho.jsDocDiagnostics=e.attachFileToDiagnostics(Ie,Ho)),Or(),$i?{jsDocTypeExpression:$i,diagnostics:gs}:void 0}xe.parseJSDocTypeExpressionForTests=Tr;function Gr(Ea){var Ki=ee(),Qo=(Ea?en:mt)(18),$i=ze(4194304,Us);(!Ea||Qo)&&Wn(19);var Ho=O.createJSDocTypeExpression($i);return de(Ho),rt(Ho,Ki)}xe.parseJSDocTypeExpression=Gr;function at(){for(var Ea=ee(),Ki=en(18),Qo=ee(),$i=Mn(!1);me()===80;)kr(),dr(),$i=rt(O.createJSDocMemberName($i,_i()),Qo);Ki&&Wn(19);var Ho=O.createJSDocNameReference($i);return de(Ho),rt(Ho,Ea)}xe.parseJSDocNameReference=at;function Ct(Ea,Ki,Qo){Cr("",Ea,99,void 0,1);var $i=ze(4194304,function(){return wa(Ki,Qo)}),Ho={languageVariant:0,text:Ea},gs=e.attachFileToDiagnostics(Me,Ho);return Or(),$i?{jsDoc:$i,diagnostics:gs}:void 0}xe.parseIsolatedJSDocComment=Ct;function Xt(Ea,Ki,Qo){var $i=he,Ho=Me.length,gs=Ye,_l=ze(4194304,function(){return wa(Ki,Qo)});return e.setParent(_l,Ea),De&131072&&(Ie||(Ie=[]),Ie.push.apply(Ie,Me)),he=$i,Me.length=Ho,Ye=gs,_l}xe.parseJSDocComment=Xt;var On;(function(Ea){Ea[Ea.BeginningOfLine=0]="BeginningOfLine",Ea[Ea.SawAsterisk=1]="SawAsterisk",Ea[Ea.SavingComments=2]="SavingComments",Ea[Ea.SavingBackticks=3]="SavingBackticks"})(On||(On={}));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 Qo=z,$i=Ki===void 0?Qo.length:Ea+Ki;if(Ki=$i-Ea,e.Debug.assert(Ea>=0),e.Debug.assert(Ea<=$i),e.Debug.assert($i<=Qo.length),!A(Qo,Ea))return;var Ho,gs,_l,xs,Cl,bl=[],ju=[];return u.scanRange(Ea+3,Ki-5,function(){var un=1,pa,Hn=Ea-(Qo.lastIndexOf(` `,Ea)+1)+4;function Sa(vl){pa||(pa=Hn),bl.push(vl),Hn+=vl.length}for(dr();xp(5););xp(4)&&(un=0,Hn=0);e:for(;;){switch(me()){case 59:un===0||un===1?(Ps(bl),Cl||(Cl=ee()),si(_(Hn)),un=0,pa=void 0):Sa(u.getTokenText());break;case 4:bl.push(u.getTokenText()),un=0,Hn=0;break;case 41:var Za=u.getTokenText();un===1||un===2?(un=2,Sa(Za)):(un=1,Hn+=Za.length);break;case 5:var zi=u.getTokenText();un===2?bl.push(zi):pa!==void 0&&Hn+zi.length>pa&&bl.push(zi.slice(pa-Hn)),Hn+=zi.length;break;case 1:break e;case 18:un=2;var Bo=u.getStartPos(),Zs=u.getTextPos()-1,gl=Ur(Zs);if(gl){xs||ul(bl),ju.push(rt(O.createJSDocText(bl.join("")),xs!=null?xs:Ea,Bo)),ju.push(gl),bl=[],xs=u.getTextPos();break}default:un=2,Sa(u.getTokenText());break}dr()}Ps(bl),ju.length&&bl.length&&ju.push(rt(O.createJSDocText(bl.join("")),xs!=null?xs:Ea,Cl)),ju.length&&Ho&&e.Debug.assertIsDefined(Cl,"having parsed tags implies that the end of the comment span should be set");var jl=Ho&&It(Ho,gs,_l);return rt(O.createJSDocComment(ju.length?It(ju,Ea,Cl):bl.length?bl.join(""):void 0,jl),Ea,$i)});function ul(un){for(;un.length&&(un[0]===` `||un[0]==="\r");)un.shift()}function Ps(un){for(;un.length&&un[un.length-1].trim()==="";)un.pop()}function Ff(){for(;;){if(dr(),me()===1)return!0;if(!(me()===5||me()===4))return!1}}function _u(){if(!((me()===5||me()===4)&&ht(Ff)))for(;me()===5||me()===4;)dr()}function ml(){if((me()===5||me()===4)&&ht(Ff))return"";for(var un=u.hasPrecedingLineBreak(),pa=!1,Hn="";un&&me()===41||me()===5||me()===4;)Hn+=u.getTokenText(),me()===4?(un=!0,pa=!0,Hn=""):me()===41&&(un=!1),dr();return pa?Hn:""}function _(un){e.Debug.assert(me()===59);var pa=u.getTokenPos();dr();var Hn=Ku(void 0),Sa=ml(),Za;switch(Hn.escapedText){case"author":Za=An(pa,Hn,un,Sa);break;case"implements":Za=nf(pa,Hn,un,Sa);break;case"augments":case"extends":Za=O_(pa,Hn,un,Sa);break;case"class":case"constructor":Za=Hu(pa,O.createJSDocClassTag,Hn,un,Sa);break;case"public":Za=Hu(pa,O.createJSDocPublicTag,Hn,un,Sa);break;case"private":Za=Hu(pa,O.createJSDocPrivateTag,Hn,un,Sa);break;case"protected":Za=Hu(pa,O.createJSDocProtectedTag,Hn,un,Sa);break;case"readonly":Za=Hu(pa,O.createJSDocReadonlyTag,Hn,un,Sa);break;case"override":Za=Hu(pa,O.createJSDocOverrideTag,Hn,un,Sa);break;case"deprecated":Hr=!0,Za=Hu(pa,O.createJSDocDeprecatedTag,Hn,un,Sa);break;case"this":Za=rm(pa,Hn,un,Sa);break;case"enum":Za=mu(pa,Hn,un,Sa);break;case"arg":case"argument":case"param":return Gc(pa,Hn,2,un);case"return":case"returns":Za=tp(pa,Hn,un,Sa);break;case"template":Za=Mg(pa,Hn,un,Sa);break;case"type":Za=Bm(pa,Hn,un,Sa);break;case"typedef":Za=Gv(pa,Hn,un,Sa);break;case"callback":Za=s_(pa,Hn,un,Sa);break;case"see":Za=Fv(pa,Hn,un,Sa);break;default:Za=an(pa,Hn,un,Sa);break}return Za}function W(un,pa,Hn,Sa){return Sa||(Hn+=pa-un),be(Hn,Sa.slice(Hn))}function be(un,pa){var Hn=ee(),Sa=[],Za=[],zi,Bo=0,Zs=!0,gl;function jl(nm){gl||(gl=un),Sa.push(nm),un+=nm.length}pa!==void 0&&(pa!==""&&jl(pa),Bo=1);var vl=me();e:for(;;){switch(vl){case 4:Bo=0,Sa.push(u.getTokenText()),un=0;break;case 59:if(Bo===3||Bo===2&&(!Zs||ht(nr))){Sa.push(u.getTokenText());break}u.setTextPos(u.getTextPos()-1);case 1:break e;case 5:if(Bo===2||Bo===3)jl(u.getTokenText());else{var Bf=u.getTokenText();gl!==void 0&&un+Bf.length>gl&&Sa.push(Bf.slice(gl-un)),un+=Bf.length}break;case 18:Bo=2;var po=u.getStartPos(),l_=u.getTextPos()-1,np=Ur(l_);np?(Za.push(rt(O.createJSDocText(Sa.join("")),zi!=null?zi:Hn,po)),Za.push(np),Sa=[],zi=u.getTextPos()):jl(u.getTokenText());break;case 61:Bo===3?Bo=2:Bo=3,jl(u.getTokenText());break;case 41:if(Bo===0){Bo=1,un+=1;break}default:Bo!==3&&(Bo=2),jl(u.getTokenText());break}Zs=me()===5,vl=dr()}if(ul(Sa),Ps(Sa),Za.length)return Sa.length&&Za.push(rt(O.createJSDocText(Sa.join("")),zi!=null?zi:Hn)),It(Za,Hn,u.getTextPos());if(Sa.length)return Sa.join("")}function nr(){var un=dr();return un===5||un===4}function Ur(un){var pa=xt(Ht);if(!!pa){dr(),_u();var Hn=ee(),Sa=e.tokenIsIdentifierOrKeyword(me())?Mn(!0):void 0;if(Sa)for(;me()===80;)kr(),dr(),Sa=rt(O.createJSDocMemberName(Sa,_i()),Hn);for(var Za=[];me()!==19&&me()!==4&&me()!==1;)Za.push(u.getTokenText()),dr();var zi=pa==="link"?O.createJSDocLink:pa==="linkcode"?O.createJSDocLinkCode:O.createJSDocLinkPlain;return rt(zi(Sa,Za.join("")),un,u.getTextPos())}}function Ht(){if(ml(),me()===18&&dr()===59&&e.tokenIsIdentifierOrKeyword(dr())){var un=u.getTokenValue();if(un==="link"||un==="linkcode"||un==="linkplain")return un}}function an(un,pa,Hn,Sa){return rt(O.createJSDocUnknownTag(pa,W(un,ee(),Hn,Sa)),un)}function si(un){!un||(Ho?Ho.push(un):(Ho=[un],gs=un.pos),_l=un.end)}function Io(){return ml(),me()===18?Gr():void 0}function vs(){var un=xp(22);un&&_u();var pa=xp(61),Hn=Fg();return pa&&Pn(61),un&&(_u(),St(63)&&Rs(),mt(23)),{name:Hn,isBracketed:un}}function rp(un){switch(un.kind){case 147:return!0;case 182:return rp(un.elementType);default:return e.isTypeReferenceNode(un)&&e.isIdentifier(un.typeName)&&un.typeName.escapedText==="Object"&&!un.typeArguments}}function Gc(un,pa,Hn,Sa){var Za=Io(),zi=!Za;ml();var Bo=vs(),Zs=Bo.name,gl=Bo.isBracketed,jl=ml();zi&&!ht(Ht)&&(Za=Io());var vl=W(un,ee(),Sa,jl),Bf=Hn!==4&&Gm(Za,Zs,Hn,Sa);Bf&&(Za=Bf,zi=!0);var po=Hn===1?O.createJSDocPropertyTag(pa,Zs,gl,Za,zi,vl):O.createJSDocParameterTag(pa,Zs,gl,Za,zi,vl);return rt(po,un)}function Gm(un,pa,Hn,Sa){if(un&&rp(un.type)){for(var Za=ee(),zi=void 0,Bo=void 0;zi=xt(function(){return Ju(Hn,Sa,pa)});)(zi.kind===338||zi.kind===345)&&(Bo=e.append(Bo,zi));if(Bo){var Zs=rt(O.createJSDocTypeLiteral(Bo,un.type.kind===182),Za);return rt(O.createJSDocTypeExpression(Zs),Za)}}}function tp(un,pa,Hn,Sa){e.some(Ho,e.isJSDocReturnTag)&&je(pa.pos,u.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=Io();return rt(O.createJSDocReturnTag(pa,Za,W(un,ee(),Hn,Sa)),un)}function Bm(un,pa,Hn,Sa){e.some(Ho,e.isJSDocTypeTag)&&je(pa.pos,u.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=Gr(!0),zi=Hn!==void 0&&Sa!==void 0?W(un,ee(),Hn,Sa):void 0;return rt(O.createJSDocTypeTag(pa,Za,zi),un)}function Fv(un,pa,Hn,Sa){var Za=me()===22||ht(function(){return dr()===59&&e.tokenIsIdentifierOrKeyword(dr())&&u.getTokenValue()==="link"}),zi=Za?void 0:at(),Bo=Hn!==void 0&&Sa!==void 0?W(un,ee(),Hn,Sa):void 0;return rt(O.createJSDocSeeTag(pa,zi,Bo),un)}function An(un,pa,Hn,Sa){var Za=ee(),zi=Gf(),Bo=u.getStartPos(),Zs=W(un,Bo,Hn,Sa);Zs||(Bo=u.getStartPos());var gl=typeof Zs!="string"?It(e.concatenate([rt(zi,Za,Bo)],Zs),Za):zi.text+Zs;return rt(O.createJSDocAuthorTag(pa,gl),un)}function Gf(){for(var un=[],pa=!1,Hn=u.getToken();Hn!==1&&Hn!==4;){if(Hn===29)pa=!0;else{if(Hn===59&&!pa)break;if(Hn===31&&pa){un.push(u.getTokenText()),u.setTextPos(u.getTokenPos()+1);break}}un.push(u.getTokenText()),Hn=dr()}return O.createJSDocText(un.join(""))}function nf(un,pa,Hn,Sa){var Za=Cp();return rt(O.createJSDocImplementsTag(pa,Za,W(un,ee(),Hn,Sa)),un)}function O_(un,pa,Hn,Sa){var Za=Cp();return rt(O.createJSDocAugmentsTag(pa,Za,W(un,ee(),Hn,Sa)),un)}function Cp(){var un=en(18),pa=ee(),Hn=Um(),Sa=gn(),Za=O.createExpressionWithTypeArguments(Hn,Sa),zi=rt(Za,pa);return un&&mt(19),zi}function Um(){for(var un=ee(),pa=Ku();en(24);){var Hn=Ku();pa=rt(O.createPropertyAccessExpression(pa,Hn),un)}return pa}function Hu(un,pa,Hn,Sa,Za){return rt(pa(Hn,W(un,ee(),Sa,Za)),un)}function rm(un,pa,Hn,Sa){var Za=Gr(!0);return _u(),rt(O.createJSDocThisTag(pa,Za,W(un,ee(),Hn,Sa)),un)}function mu(un,pa,Hn,Sa){var Za=Gr(!0);return _u(),rt(O.createJSDocEnumTag(pa,Za,W(un,ee(),Hn,Sa)),un)}function Gv(un,pa,Hn,Sa){var Za,zi=Io();ml();var Bo=o_();_u();var Zs=be(Hn),gl;if(!zi||rp(zi.type)){for(var jl=void 0,vl=void 0,Bf=void 0,po=!1;jl=xt(function(){return Vm(Hn)});)if(po=!0,jl.kind===341)if(vl){or(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var l_=e.lastOrUndefined(Me);l_&&e.addRelatedInfo(l_,e.createDetachedDiagnostic(Q,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else vl=jl;else Bf=e.append(Bf,jl);if(po){var np=zi&&zi.type.kind===182,nm=O.createJSDocTypeLiteral(Bf,np);zi=vl&&vl.typeExpression&&!rp(vl.typeExpression.type)?vl.typeExpression:rt(nm,un),gl=zi.end}}gl=gl||Zs!==void 0?ee():((Za=Bo!=null?Bo:zi)!==null&&Za!==void 0?Za:pa).end,Zs||(Zs=W(un,gl,Hn,Sa));var am=O.createJSDocTypedefTag(pa,zi,Bo,Zs);return rt(am,un,gl)}function o_(un){var pa=u.getTokenPos();if(!!e.tokenIsIdentifierOrKeyword(me())){var Hn=Ku();if(en(24)){var Sa=o_(!0),Za=O.createModuleDeclaration(void 0,void 0,Hn,Sa,un?4:void 0);return rt(Za,pa)}return un&&(Hn.isInJSDocNamespace=!0),Hn}}function tm(un){for(var pa=ee(),Hn,Sa;Hn=xt(function(){return Ju(4,un)});)Sa=e.append(Sa,Hn);return It(Sa||[],pa)}function s_(un,pa,Hn,Sa){var Za=o_();_u();var zi=be(Hn),Bo=tm(Hn),Zs=xt(function(){if(xp(59)){var jl=_(Hn);if(jl&&jl.kind===339)return jl}}),gl=rt(O.createJSDocSignature(void 0,Bo,Zs),un);return zi||(zi=W(un,ee(),Hn,Sa)),rt(O.createJSDocCallbackTag(pa,gl,Za,zi),un)}function vd(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 Vm(un){return Ju(1,un)}function Ju(un,pa,Hn){for(var Sa=!0,Za=!1;;)switch(dr()){case 59:if(Sa){var zi=Bv(un,pa);return zi&&(zi.kind===338||zi.kind===345)&&un!==4&&Hn&&(e.isIdentifier(zi.name)||!vd(Hn,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 Bv(un,pa){e.Debug.assert(me()===59);var Hn=u.getStartPos();dr();var Sa=Ku();_u();var Za;switch(Sa.escapedText){case"type":return un===1&&Bm(Hn,Sa);case"prop":case"property":Za=1;break;case"arg":case"argument":case"param":Za=6;break;default:return!1}return un&Za?Gc(Hn,Sa,un,pa):!1}function Pg(){var un=ee(),pa=xp(22);pa&&_u();var Hn=Ku(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Sa;if(pa&&(_u(),mt(63),Sa=ze(4194304,Us),mt(23)),!e.nodeIsMissing(Hn))return rt(O.createTypeParameterDeclaration(Hn,void 0,Sa),un)}function xl(){var un=ee(),pa=[];do{_u();var Hn=Pg();Hn!==void 0&&pa.push(Hn),ml()}while(xp(27));return It(pa,un)}function Mg(un,pa,Hn,Sa){var Za=me()===18?Gr():void 0,zi=xl();return rt(O.createJSDocTemplateTag(pa,Za,zi,W(un,ee(),Hn,Sa)),un)}function xp(un){return me()===un?(dr(),!0):!1}function Fg(){var un=Ku();for(en(22)&&mt(23);en(24);){var pa=Ku();en(22)&&mt(23),un=da(un,pa)}return un}function Ku(un){if(!e.tokenIsIdentifierOrKeyword(me()))return Cn(79,!un,un||e.Diagnostics.Identifier_expected);Le++;var pa=u.getTokenPos(),Hn=u.getTextPos(),Sa=me(),Za=Qn(u.getTokenValue()),zi=rt(O.createIdentifier(Za,void 0,Sa),pa,Hn);return dr(),zi}}})(i_=m.JSDocParser||(m.JSDocParser={}))})(w||(w={}));var K;(function(m){function u(z,Te,ge,ke){if(ke=ke||e.Debug.shouldAssert(2),O(z,Te,ge,ke),e.textChangeRangeIsUnchanged(ge))return z;if(z.statements.length===0)return w.parseSourceFile(z.fileName,Te,z.languageVersion,void 0,!0,z.scriptKind);var Me=z;e.Debug.assert(!Me.hasBeenIncrementallyParsed),Me.hasBeenIncrementallyParsed=!0,w.fixupParentReferences(Me);var Ie=z.text,Ge=Q(z),he=Se(z,ge);O(z,Te,he,ke),e.Debug.assert(he.span.start<=ge.span.start),e.Debug.assert(e.textSpanEnd(he.span)===e.textSpanEnd(ge.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(he))===e.textSpanEnd(e.textChangeRangeNewSpan(ge)));var ve=e.textChangeRangeNewSpan(he).length-he.span.length;j(Me,he.span.start,e.textSpanEnd(he.span),e.textSpanEnd(e.textChangeRangeNewSpan(he)),ve,Ie,Te,ke);var Ve=w.parseSourceFile(z.fileName,Te,z.languageVersion,Ge,!0,z.scriptKind);return Ve.commentDirectives=g(z.commentDirectives,Ve.commentDirectives,he.span.start,e.textSpanEnd(he.span),ve,Ie,Te,ke),Ve.impliedNodeFormat=z.impliedNodeFormat,Ve}m.updateSourceFile=u;function g(z,Te,ge,ke,Me,Ie,Ge,he){if(!z)return Te;for(var ve,Ve=!1,_e=0,Le=z;_eke){Ye();var Ae={range:{pos:Xe.pos+Me,end:Xe.end+Me},type:De};ve=e.append(ve,Ae),he&&e.Debug.assert(Ie.substring(Xe.pos,Xe.end)===Ge.substring(Ae.range.pos,Ae.range.end))}}return Ye(),ve;function Ye(){Ve||(Ve=!0,ve?Te&&ve.push.apply(ve,Te):ve=Te)}}function F(z,Te,ge,ke,Me,Ie){Te?he(z):Ge(z);return;function Ge(ve){var Ve="";if(Ie&&te(ve)&&(Ve=ke.substring(ve.pos,ve.end)),ve._children&&(ve._children=void 0),e.setTextRangePosEnd(ve,ve.pos+ge,ve.end+ge),Ie&&te(ve)&&e.Debug.assert(Ve===Me.substring(ve.pos,ve.end)),q(ve,Ge,he),e.hasJSDocNodes(ve))for(var _e=0,Le=ve.jsDoc;_e=Te,"Adjusting an element that was entirely before the change range"),e.Debug.assert(z.pos<=ge,"Adjusting an element that was entirely after the change range"),e.Debug.assert(z.pos<=z.end);var Ie=Math.min(z.pos,ke),Ge=z.end>=ge?z.end+Me:Math.min(z.end,ke);e.Debug.assert(Ie<=Ge),z.parent&&(e.Debug.assertGreaterThanOrEqual(Ie,z.parent.pos),e.Debug.assertLessThanOrEqual(Ge,z.parent.end)),e.setTextRangePosEnd(z,Ie,Ge)}function X(z,Te){if(Te){var ge=z.pos,ke=function(he){e.Debug.assert(he.pos>=ge),ge=he.end};if(e.hasJSDocNodes(z))for(var Me=0,Ie=z.jsDoc;Mege){F(_e,!1,Me,Ie,Ge,he);return}var Le=_e.end;if(Le>=Te){if(_e.intersectsChange=!0,_e._children=void 0,ue(_e,Te,ge,ke,Me),q(_e,ve,Ve),e.hasJSDocNodes(_e))for(var qe=0,Xe=_e.jsDoc;qege){F(_e,!0,Me,Ie,Ge,he);return}var Le=_e.end;if(Le>=Te){_e.intersectsChange=!0,_e._children=void 0,ue(_e,Te,ge,ke,Me);for(var qe=0,Xe=_e;qe0&&Me<=ge;Me++){var Ie=Ce(z,ke);e.Debug.assert(Ie.pos<=ke);var Ge=Ie.pos;ke=Math.max(0,Ge-1)}var he=e.createTextSpanFromBounds(ke,e.textSpanEnd(Te.span)),ve=Te.newLength+(Te.span.start-ke);return e.createTextChangeRange(he,ve)}function Ce(z,Te){var ge=z,ke;if(q(z,Ge),ke){var Me=Ie(ke);Me.pos>ge.pos&&(ge=Me)}return ge;function Ie(he){for(;;){var ve=e.getLastChild(he);if(ve)he=ve;else return he}}function Ge(he){if(!e.nodeIsMissing(he))if(he.pos<=Te){if(he.pos>=ge.pos&&(ge=he),TeTe),!0}}function O(z,Te,ge,ke){var Me=z.text;if(ge&&(e.Debug.assert(Me.length-ge.span.length+ge.newLength===Te.length),ke||e.Debug.shouldAssert(3))){var Ie=Me.substr(0,ge.span.start),Ge=Te.substr(0,ge.span.start);e.Debug.assert(Ie===Ge);var he=Me.substring(e.textSpanEnd(ge.span),Me.length),ve=Te.substring(e.textSpanEnd(e.textChangeRangeNewSpan(ge)),Te.length);e.Debug.assert(he===ve)}}function Q(z){var Te=z.statements,ge=0;e.Debug.assert(ge=Ve.pos&&Ge=Ve.pos&&Gem.checkJsDirective.pos)&&(m.checkJsDirective={enabled:F==="ts-check",end:O.range.end,pos:O.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}})}e.processPragmasIntoFields=R;var Y=new e.Map;function U(m){if(Y.has(m))return Y.get(m);var u=new RegExp("(\\s".concat(m,`\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`),"im");return Y.set(m,u),u}var $=/^\/\/\/\s*<(\S+)\s.*?\/>/im,T=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function I(m,u,g){var F=u.kind===2&&$.exec(g);if(F){var te=F[1].toLowerCase(),ue=e.commentPragmas[te];if(!ue||!(ue.kind&1))return;if(ue.args){for(var X={},j=0,Se=ue.args;j=Qt.length)break;var sa=rn;if(Qt.charCodeAt(sa)===34){for(rn++;rn32;)rn++;mt.push(Qt.substring(sa,rn))}}ht(mt)}}e.parseCommandLineWorker=S;function B(tr,Ir,kr,zr,gt,vt){if(zr.isTSConfigOnly){var ut=tr[Ir];ut==="null"?(gt[zr.name]=void 0,Ir++):zr.type==="boolean"?ut==="false"?(gt[zr.name]=ir(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(!tr[Ir]&&zr.type!=="boolean"&&vt.push(e.createCompilerDiagnostic(kr.optionTypeMismatchDiagnostic,zr.name,z(zr))),tr[Ir]!=="null")switch(zr.type){case"number":gt[zr.name]=ir(zr,parseInt(tr[Ir]),vt),Ir++;break;case"boolean":var ut=tr[Ir];gt[zr.name]=ir(zr,ut!=="false",vt),(ut==="false"||ut==="true")&&Ir++;break;case"string":gt[zr.name]=ir(zr,tr[Ir]||"",vt),Ir++;break;case"list":var ht=ie(zr,tr[Ir],vt);gt[zr.name]=ht||[],ht&&Ir++;break;default:gt[zr.name]=q(zr,tr[Ir],vt),Ir++;break}else gt[zr.name]=void 0,Ir++;return Ir}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:H,getOptionsNameMap:N,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 J(tr,Ir){return S(e.compilerOptionsDidYouMeanDiagnostics,tr,Ir)}e.parseCommandLine=J;function k(tr,Ir){return M(N,tr,Ir)}e.getOptionFromName=k;function M(tr,Ir,kr){kr===void 0&&(kr=!1),Ir=Ir.toLowerCase();var zr=tr(),gt=zr.optionsNameMap,vt=zr.shortOptionNames;if(kr){var ut=vt.get(Ir);ut!==void 0&&(Ir=ut)}return gt.get(Ir)}var x;function w(){return x||(x=a(e.buildOpts))}var K={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:N},Z={alternateMode:K,getOptionsNameMap:w,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(tr){var Ir=S(Z,tr),kr=Ir.options,zr=Ir.watchOptions,gt=Ir.fileNames,vt=Ir.errors,ut=kr;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 R(tr){var Ir=e.createCompilerDiagnostic.apply(void 0,arguments);return Ir.messageText}e.getDiagnosticText=R;function Y(tr,Ir,kr,zr,gt,vt){var ut=I(tr,function(wt){return kr.readFile(wt)});if(!e.isString(ut)){kr.onUnRecoverableConfigFileDiagnostic(ut);return}var ht=e.parseJsonText(tr,ut),xt=kr.getCurrentDirectory();return ht.path=e.toPath(tr,xt,e.createGetCanonicalFileName(kr.useCaseSensitiveFileNames)),ht.resolvedPath=ht.path,ht.originalFileName=ht.fileName,Lr(ht,kr,e.getNormalizedAbsolutePath(e.getDirectoryPath(tr),xt),Ir,e.getNormalizedAbsolutePath(tr,xt),void 0,vt,zr,gt)}e.getParsedCommandLineOfConfigFile=Y;function U(tr,Ir){var kr=I(tr,Ir);return e.isString(kr)?$(tr,kr):{config:{},error:kr}}e.readConfigFile=U;function $(tr,Ir){var kr=e.parseJsonText(tr,Ir);return{config:O(kr,kr.parseDiagnostics,!1,void 0),error:kr.parseDiagnostics.length?kr.parseDiagnostics[0]:void 0}}e.parseConfigFileTextToJson=$;function T(tr,Ir){var kr=I(tr,Ir);return e.isString(kr)?e.parseJsonText(tr,kr):{fileName:tr,parseDiagnostics:[kr]}}e.readJsonConfigFile=T;function I(tr,Ir){var kr;try{kr=Ir(tr)}catch(zr){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,tr,zr.message)}return kr===void 0?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,tr):kr}e.tryReadFile=I;function y(tr){return e.arrayToMap(tr,b)}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 m(){return C||(C=a(e.optionsForWatch))}var u={getOptionsNameMap:m,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},g;function F(){return g||(g=y(e.optionDeclarations))}var te;function ue(){return te||(te=y(e.optionsForWatch))}var X;function j(){return X||(X=y(e.typeAcquisitionDeclarations))}var Se;function Ce(){return Se===void 0&&(Se={name:void 0,type:"object",elementOptions:y([{name:"compilerOptions",type:"object",elementOptions:F(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:ue(),extraKeyDiagnostics:u},{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])}),Se}function O(tr,Ir,kr,zr){var gt,vt=(gt=tr.statements[0])===null||gt===void 0?void 0:gt.expression,ut=kr?Ce():void 0;if(vt&&vt.kind!==204){if(Ir.push(e.createDiagnosticForNodeInSourceFile(tr,vt,e.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,e.getBaseFileName(tr.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),e.isArrayLiteralExpression(vt)){var ht=e.find(vt.elements,e.isObjectLiteralExpression);if(ht)return V(tr,ht,Ir,!0,ut,zr)}return{}}return V(tr,vt,Ir,!0,ut,zr)}function Q(tr,Ir){var kr;return V(tr,(kr=tr.statements[0])===null||kr===void 0?void 0:kr.expression,Ir,!0,void 0,void 0)}e.convertToObject=Q;function V(tr,Ir,kr,zr,gt,vt){if(!Ir)return zr?{}:void 0;return wt(Ir,gt);function ut(mt){return gt&>.elementOptions===mt}function ht(mt,rn,sa,ba){for(var Jn=zr?{}:void 0,na=function(Ut){if(Ut.kind!==294)return kr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut,e.Diagnostics.Property_assignment_expected)),"continue";Ut.questionToken&&kr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),Qt(Ut.name)||kr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.name,e.Diagnostics.String_literal_with_double_quotes_expected));var qt=e.isComputedNonLiteralName(Ut.name)?void 0:e.getTextOfPropertyName(Ut.name),Pn=qt&&e.unescapeLeadingUnderscores(qt),dn=Pn&&rn?rn.get(Pn):void 0;Pn&&sa&&!dn&&(rn?kr.push(P(Pn,sa,function(_t,Pt,It){return e.createDiagnosticForNodeInSourceFile(tr,Ut.name,_t,Pt,It)})):kr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.name,sa.unknownOptionDiagnostic,Pn)));var oa=wt(Ut.initializer,dn);if(typeof Pn<"u"&&(zr&&(Jn[Pn]=oa),vt&&(ba||ut(rn)))){var pt=Te(dn,oa);ba?pt&&vt.onSetValidOptionKeyValueInParent(ba,dn,oa):ut(rn)&&(pt?vt.onSetValidOptionKeyValueInRoot(Pn,Ut.name,oa,Ut.initializer):dn||vt.onSetUnknownOptionKeyValueInRoot(Pn,Ut.name,oa,Ut.initializer))}},Wn=0,en=mt.properties;Wn=0)return ut.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,Gt(Gt([],vt,!0),[wt],!1).join(" -> "))),{raw:tr||Q(Ir,ut)};var Qt=tr?$e(tr,kr,zr,gt,ut):Dr(Ir,kr,zr,gt,ut);if(!((xt=Qt.options)===null||xt===void 0)&&xt.paths&&(Qt.options.pathsBasePath=zr),Qt.extendedConfigPath){vt=vt.concat([wt]);var mt=He(Ir,Qt.extendedConfigPath,kr,vt,ut,ht);if(mt&&de(mt)){var rn=mt.raw,sa=Qt.raw,ba,Jn=function(na){!sa[na]&&rn[na]&&(sa[na]=e.map(rn[na],function(Wn){return e.isRootedDiskPath(Wn)?Wn:e.combinePaths(ba||(ba=e.convertToRelativePath(e.getDirectoryPath(Qt.extendedConfigPath),zr,e.createGetCanonicalFileName(kr.useCaseSensitiveFileNames))),Wn)}))};Jn("include"),Jn("exclude"),Jn("files"),sa.compileOnSave===void 0&&(sa.compileOnSave=rn.compileOnSave),Qt.options=e.assign({},mt.options,Qt.options),Qt.watchOptions=Qt.watchOptions&&mt.watchOptions?e.assign({},mt.watchOptions,Qt.watchOptions):Qt.watchOptions||mt.watchOptions}}return Qt}function $e(tr,Ir,kr,zr,gt){e.hasProperty(tr,"excludes")&>.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var vt=Yr(tr.compilerOptions,kr,gt,zr),ut=tt(tr.typeAcquisition||tr.typingOptions,kr,gt,zr),ht=Rt(tr.watchOptions,kr,gt);tr.compileOnSave=pr(tr,kr,gt);var xt;if(tr.extends)if(!e.isString(tr.extends))gt.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));else{var wt=zr?Cr(zr,kr):kr;xt=Fr(tr.extends,Ir,wt,gt,e.createCompilerDiagnostic)}return{raw:tr,options:vt,watchOptions:ht,typeAcquisition:ut,extendedConfigPath:xt}}function Dr(tr,Ir,kr,zr,gt){var vt=Ar(zr),ut,ht,xt,wt,Qt,mt={onSetValidOptionKeyValueInParent:function(sa,ba,Jn){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]=In(ba,kr,Jn)},onSetValidOptionKeyValueInRoot:function(sa,ba,Jn,na){switch(sa){case"extends":var Wn=zr?Cr(zr,kr):kr;wt=Fr(Jn,Ir,Wn,gt,function(en,St){return e.createDiagnosticForNodeInSourceFile(tr,na,en,St)});return}},onSetUnknownOptionKeyValueInRoot:function(sa,ba,Jn,na){sa==="excludes"&>.push(e.createDiagnosticForNodeInSourceFile(tr,ba,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(d,function(Wn){return Wn.name===sa})&&(Qt=e.append(Qt,ba))}},rn=O(tr,gt,!0,mt);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(tr,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 Fr(tr,Ir,kr,zr,gt){if(tr=e.normalizeSlashes(tr),e.isRootedDiskPath(tr)||e.startsWith(tr,"./")||e.startsWith(tr,"../")){var vt=e.getNormalizedAbsolutePath(tr,kr);if(!Ir.fileExists(vt)&&!e.endsWith(vt,".json")&&(vt="".concat(vt,".json"),!Ir.fileExists(vt))){zr.push(gt(e.Diagnostics.File_0_not_found,tr));return}return vt}var ut=e.nodeModuleNameResolver(tr,e.combinePaths(kr,"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,tr))}function He(tr,Ir,kr,zr,gt,vt){var ut,ht=kr.useCaseSensitiveFileNames?Ir:e.toFileNameLowerCase(Ir),xt,wt,Qt;if(vt&&(xt=vt.get(ht))?(wt=xt.extendedResult,Qt=xt.extendedConfig):(wt=T(Ir,function(mt){return kr.readFile(mt)}),wt.parseDiagnostics.length||(Qt=Fe(void 0,wt,kr,e.getDirectoryPath(Ir),e.getBaseFileName(Ir),zr,gt,vt)),vt&&vt.set(ht,{extendedResult:wt,extendedConfig:Qt})),tr&&(tr.extendedSourceFiles=[wt.fileName],wt.extendedSourceFiles&&(ut=tr.extendedSourceFiles).push.apply(ut,wt.extendedSourceFiles)),wt.parseDiagnostics.length){gt.push.apply(gt,wt.parseDiagnostics);return}return Qt}function pr(tr,Ir,kr){if(!e.hasProperty(tr,e.compileOnSaveCommandLineOption.name))return!1;var zr=bn(e.compileOnSaveCommandLineOption,tr.compileOnSave,Ir,kr);return typeof zr=="boolean"&&zr}function Jr(tr,Ir,kr){var zr=[],gt=Yr(tr,Ir,zr,kr);return{options:gt,errors:zr}}e.convertCompilerOptionsFromJson=Jr;function ze(tr,Ir,kr){var zr=[],gt=tt(tr,Ir,zr,kr);return{options:gt,errors:zr}}e.convertTypeAcquisitionFromJson=ze;function Ar(tr){var Ir=tr&&e.getBaseFileName(tr)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return Ir}function Yr(tr,Ir,kr,zr){var gt=Ar(zr);return cn(F(),tr,Ir,gt,e.compilerOptionsDidYouMeanDiagnostics,kr),zr&&(gt.configFilePath=e.normalizeSlashes(zr)),gt}function lt(tr){return{enable:!!tr&&e.getBaseFileName(tr)==="jsconfig.json",include:[],exclude:[]}}function tt(tr,Ir,kr,zr){var gt=lt(zr),vt=h(tr);return cn(j(),vt,Ir,gt,D,kr),gt}function Rt(tr,Ir,kr){return cn(ue(),tr,Ir,void 0,u,kr)}function cn(tr,Ir,kr,zr,gt,vt){if(!!Ir){for(var ut in Ir){var ht=tr.get(ut);ht?(zr||(zr={}))[ht.name]=bn(ht,Ir[ut],kr,vt):vt.push(P(ut,gt,e.createCompilerDiagnostic))}return zr}}function bn(tr,Ir,kr,zr){if(Te(tr,Ir)){var gt=tr.type;if(gt==="list"&&e.isArray(Ir))return sr(tr,Ir,kr,zr);if(!e.isString(gt))return Rr(tr,Ir,zr);var vt=ir(tr,Ir,zr);return lr(vt)?vt:zn(tr,kr,vt)}else zr.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,tr.name,z(tr)))}e.convertJsonOption=bn;function In(tr,Ir,kr){if(!lr(kr)){if(tr.type==="list"){var zr=tr;return zr.element.isFilePath||!e.isString(zr.element.type)?e.filter(e.map(kr,function(gt){return In(zr.element,Ir,gt)}),function(gt){return!!gt}):kr}else if(!e.isString(tr.type))return tr.type.get(e.isString(kr)?kr.toLowerCase():kr);return zn(tr,Ir,kr)}}function zn(tr,Ir,kr){return tr.isFilePath&&(kr=e.getNormalizedAbsolutePath(kr,Ir),kr===""&&(kr=".")),kr}function ir(tr,Ir,kr){var zr;if(!lr(Ir)){var gt=(zr=tr.extraValidation)===null||zr===void 0?void 0:zr.call(tr,Ir);if(!gt)return Ir;kr.push(e.createCompilerDiagnostic.apply(void 0,gt))}}function Rr(tr,Ir,kr){if(!lr(Ir)){var zr=Ir.toLowerCase(),gt=tr.type.get(zr);if(gt!==void 0)return ir(tr,gt,kr);kr.push(v(tr))}}function sr(tr,Ir,kr,zr){return e.filter(e.map(Ir,function(gt){return bn(tr.element,gt,kr,zr)}),function(gt){return!!gt})}var ye=/(^|\/)\*\*\/?$/,or=/^[^*?]*(?=\/[^/]*[*?])/;function fe(tr,Ir,kr,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=tr.validatedFilesSpec,Qt=tr.validatedIncludeSpecs,mt=tr.validatedExcludeSpecs,rn=e.getSupportedExtensions(kr,gt),sa=e.getSupportedExtensionsWithJsonIfResolveJsonModule(kr,rn);if(wt)for(var ba=0,Jn=wt;ba0)for(var St=function(oa){if(e.fileExtensionIs(oa,".json")){if(!en){var pt=Qt.filter(function(Cn){return e.endsWith(Cn,".json")}),_t=e.map(e.getRegularExpressionsForWildcards(pt,Ir,"files"),function(Cn){return"^".concat(Cn,"$")});en=_t?_t.map(function(Cn){return e.getRegexFromPattern(Cn,zr.useCaseSensitiveFileNames)}):e.emptyArray}var Pt=e.findIndex(en,function(Cn){return Cn.test(oa)});if(Pt!==-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 rt=vt(oa);!ut.has(rt)&&!ht.has(rt)&&ht.set(rt,oa)},Ut=0,qt=zr.readDirectory(Ir,e.flatten(sa),mt,Qt,void 0);UtIr}function We(tr,Ir,kr,zr){return ee(tr,e.filter(Ir,function(gt){return!Ee(gt)}),kr,zr)}e.matchesExclude=We;function ee(tr,Ir,kr,zr,gt){var vt=e.getRegularExpressionForWildcard(Ir,e.combinePaths(e.normalizePath(zr),gt),"exclude"),ut=vt&&e.getRegexFromPattern(vt,kr);return ut?ut.test(tr)?!0:!e.hasExtension(tr)&&ut.test(e.ensureTrailingDirectorySeparator(tr)):!1}function Ne(tr,Ir,kr,zr,gt){return tr.filter(function(ut){if(!e.isString(ut))return!1;var ht=me(ut,kr);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(tr,Ir){if(Ir&&ye.test(tr))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,tr];if(Ee(tr))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,tr]}function Ze(tr,Ir,kr){var zr=tr.validatedIncludeSpecs,gt=tr.validatedExcludeSpecs,vt=e.getRegularExpressionForWildcard(gt,Ir,"exclude"),ut=vt&&new RegExp(vt,kr?"":"i"),ht={};if(zr!==void 0){for(var xt=[],wt=0,Qt=zr;wt=0;vt--){var ut=gt[vt];if(e.fileExtensionIs(tr,ut))return;var ht=zr(e.changeExtension(tr,ut));Ir.delete(ht)}}function et(tr){var Ir={};for(var kr in tr)if(tr.hasOwnProperty(kr)){var zr=k(kr);zr!==void 0&&(Ir[kr]=yt(tr[kr],zr))}return Ir}e.convertCompilerOptionsForTelemetry=et;function yt(tr,Ir){switch(Ir.type){case"object":return"";case"string":return"";case"number":return typeof tr=="number"?tr:"";case"boolean":return typeof tr=="boolean"?tr:"";case"list":var kr=Ir.element;return e.isArray(tr)?tr.map(function(zr){return yt(zr,kr)}):"";default:return e.forEachEntry(Ir.type,function(zr,gt){if(zr===tr)return gt})}}function Wr(tr){switch(tr.type){case"number":return 1;case"boolean":return!0;case"string":return tr.isFilePath?"./":"";case"list":return[];case"object":return{};default:var Ir=tr.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 f(sr,ye){return!!sr.traceResolution&&ye.trace!==void 0}e.isTraceEnabled=f;function d(sr,ye){var or;if(ye&&sr){var fe=sr.packageJsonContent;typeof fe.name=="string"&&typeof fe.version=="string"&&(or={name:fe.name,subModuleName:ye.path.slice(sr.packageDirectory.length+e.directorySeparator.length),version:fe.version})}return ye&&{path:ye.path,extension:ye.ext,packageId:or}}function a(sr){return d(void 0,sr)}function p(sr){if(sr)return e.Debug.assert(sr.packageId===void 0),{path:sr.path,ext:sr.extension}}var N;(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"})(N||(N={}));function H(sr){if(!!sr)return e.Debug.assert(e.extensionIsTS(sr.extension)),{fileName:sr.path,packageId:sr.packageId}}function h(sr,ye,or,fe){var je;return fe?((je=fe.failedLookupLocations).push.apply(je,or),fe):{resolvedModule:sr&&{resolvedFileName:sr.path,originalPath:sr.originalPath===!0?void 0:sr.originalPath,extension:sr.extension,isExternalLibraryImport:ye,packageId:sr.packageId},failedLookupLocations:or}}function v(sr,ye,or,fe){if(!e.hasProperty(sr,ye)){fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_does_not_have_a_0_field,ye);return}var je=sr[ye];if(typeof je!==or||je===null){fe.traceEnabled&&n(fe.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,ye,or,je===null?"null":typeof je);return}return je}function A(sr,ye,or,fe){var je=v(sr,ye,"string",fe);if(je!==void 0){if(!je){fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_had_a_falsy_0_field,ye);return}var Ee=e.normalizePath(e.combinePaths(or,je));return fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,ye,je,Ee),Ee}}function q(sr,ye,or){return A(sr,"typings",ye,or)||A(sr,"types",ye,or)}function ie(sr,ye,or){return A(sr,"tsconfig",ye,or)}function b(sr,ye,or){return A(sr,"main",ye,or)}function P(sr,ye){var or=v(sr,"typesVersions","object",ye);if(or!==void 0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),or}function S(sr,ye){var or=P(sr,ye);if(or!==void 0){if(ye.traceEnabled)for(var fe in or)e.hasProperty(or,fe)&&!e.VersionRange.tryParse(fe)&&n(ye.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,fe);var je=J(or);if(!je){ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor);return}var Ee=je.version,We=je.paths;if(typeof We!="object"){ye.traceEnabled&&n(ye.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(Ee,"']"),"object",typeof We);return}return je}}var B;function J(sr){B||(B=new e.Version(e.version));for(var ye in sr)if(!!e.hasProperty(sr,ye)){var or=e.VersionRange.tryParse(ye);if(or!==void 0&&or.test(B))return{version:ye,paths:sr[ye]}}}e.getPackageJsonTypesVersionsPaths=J;function k(sr,ye){if(sr.typeRoots)return sr.typeRoots;var or;if(sr.configFilePath?or=e.getDirectoryPath(sr.configFilePath):ye.getCurrentDirectory&&(or=ye.getCurrentDirectory()),or!==void 0)return M(or,ye)}e.getEffectiveTypeRoots=k;function M(sr,ye){if(!ye.directoryExists)return[e.combinePaths(sr,x)];var or;return e.forEachAncestorDirectory(e.normalizePath(sr),function(fe){var je=e.combinePaths(fe,x);ye.directoryExists(je)&&(or||(or=[])).push(je)}),or}var x=e.combinePaths("node_modules","@types");function w(sr,ye,or){var fe=typeof or.useCaseSensitiveFileNames=="function"?or.useCaseSensitiveFileNames():or.useCaseSensitiveFileNames;return e.comparePaths(sr,ye,!fe)===0}function K(sr,ye,or,fe,je,Ee){var We=f(or,fe);je&&(or=je.commandLine.options);var ee=ye?e.getDirectoryPath(ye):void 0,Ne=ee?Ee&&Ee.getOrCreateCacheForDirectory(ee,je):void 0,me=Ne&&Ne.get(sr,void 0);if(me)return We&&(n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,sr,ye),je&&n(fe,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName),n(fe,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,sr,ee),zr(me)),me;var Ze=k(or,fe);We&&(ye===void 0?Ze===void 0?n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,sr):n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,sr,Ze):Ze===void 0?n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,sr,ye):n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,sr,ye,Ze),je&&n(fe,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName));var xr=[],fr=e.getEmitModuleResolutionKind(or)===e.ModuleResolutionKind.Node12?j.Node12Default:e.getEmitModuleResolutionKind(or)===e.ModuleResolutionKind.NodeNext?j.NodeNextDefault:j.None,dr={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:xr,packageJsonInfoCache:Ee,features:fr,conditions:["node","require","types"]},et=gt(),yt=!0;et||(et=vt(),yt=!1);var Wr;if(et){var tr=et.fileName,Ir=et.packageId,kr=or.preserveSymlinks?tr:Ie(tr,fe,We);Wr={primary:yt,resolvedFileName:kr,originalPath:w(tr,kr,fe)?void 0:tr,packageId:Ir,isExternalLibraryImport:he(tr)}}return me={resolvedTypeReferenceDirective:Wr,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(fe,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(fe,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,sr,ut.resolvedTypeReferenceDirective.resolvedFileName,ut.resolvedTypeReferenceDirective.primary):n(fe,e.Diagnostics.Type_reference_directive_0_was_not_resolved,sr)}function gt(){if(Ze&&Ze.length)return We&&n(fe,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,fe);return!wt&&We&&n(fe,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,xt),H(Ye(N.DtsOnly,ht,!wt,dr))});We&&n(fe,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function vt(){var ut=ye&&e.getDirectoryPath(ye);if(ut!==void 0){We&&n(fe,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=Ge(N.DtsOnly,wt,!1,dr,!0)}else{var xt=Fr(N.DtsOnly,sr,ut,dr,void 0,void 0);ht=xt&&xt.value}return H(ht)}else We&&n(fe,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}e.resolveTypeReferenceDirective=K;function Z(sr,ye){if(sr.types)return sr.types;var or=[];if(ye.directoryExists&&ye.getDirectories){var fe=k(sr,ye);if(fe)for(var je=0,Ee=fe;je0);var fe={sourceFile:sr.configFile,commandLine:{options:sr}};ye.setOwnMap(ye.getOrCreateMapOfCacheRedirects(fe)),or==null||or.setOwnMap(or.getOrCreateMapOfCacheRedirects(fe))}ye.setOwnOptions(sr),or==null||or.setOwnOptions(sr)}}function $(sr,ye,or){return{getOrCreateCacheForDirectory:Ee,clear:fe,update:je};function fe(){or.clear()}function je(We){U(We,or)}function Ee(We,ee){var Ne=e.toPath(We,sr,ye);return Y(or,ee,Ne,function(){return T()})}}function T(){var sr=new e.Map,ye=new e.Map,or={get:function(je,Ee){return sr.get(fe(je,Ee))},set:function(je,Ee,We){return sr.set(fe(je,Ee),We),or},delete:function(je,Ee){return sr.delete(fe(je,Ee)),or},has:function(je,Ee){return sr.has(fe(je,Ee))},forEach:function(je){return sr.forEach(function(Ee,We){var ee=ye.get(We),Ne=ee[0],me=ee[1];return je(Ee,Ne,me)})},size:function(){return sr.size}};return or;function fe(je,Ee){var We=Ee===void 0?je:"".concat(Ee,"|").concat(je);return ye.set(We,[je,Ee]),We}}e.createModeAwareCache=T;function I(sr,ye,or){e.Debug.assert(ye.length===or.length);for(var fe=T(),je=0;je0;){var We=Er(e.getPathFromPathComponents(Ee),!1,je);if(We)return We;Ee.pop()}}e.getPackageScopeForPath=Lr;function Er(sr,ye,or){var fe,je,Ee,We=or.host,ee=or.traceEnabled,Ne=e.combinePaths(sr,"package.json");if(ye){or.failedLookupLocations.push(Ne);return}var me=(fe=or.packageJsonInfoCache)===null||fe===void 0?void 0:fe.getPackageJsonInfo(Ne);if(me!==void 0){if(typeof me!="boolean")return ee&&n(We,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,Ne),me;me&&ee&&n(We,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,Ne),or.failedLookupLocations.push(Ne);return}var Ze=e.directoryProbablyExists(sr,We);if(Ze&&We.fileExists(Ne)){var xr=e.readJson(Ne,We);ee&&n(We,e.Diagnostics.Found_package_json_at_0,Ne);var fr=S(xr,or),dr={packageDirectory:sr,packageJsonContent:xr,versionPaths:fr};return(je=or.packageJsonInfoCache)===null||je===void 0||je.setPackageJsonInfo(Ne,dr),dr}else Ze&&ee&&n(We,e.Diagnostics.File_0_does_not_exist,Ne),(Ee=or.packageJsonInfoCache)===null||Ee===void 0||Ee.setPackageJsonInfo(Ne,Ze),or.failedLookupLocations.push(Ne)}e.getPackageJsonInfo=Er;function lr(sr,ye,or,fe,je,Ee){var We;if(je)switch(sr){case N.JavaScript:case N.Json:We=b(je,ye,fe);break;case N.TypeScript:We=q(je,ye,fe)||b(je,ye,fe);break;case N.DtsOnly:We=q(je,ye,fe);break;case N.TSConfig:We=ie(je,ye,fe);break;default:return e.Debug.assertNever(sr)}var ee=function(et,yt,Wr,tr){var Ir=Ae(yt,Wr,tr);if(Ir){var kr=Cr(et,Ir);if(kr)return a(kr);tr.traceEnabled&&n(tr.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,Ir)}var zr=et===N.DtsOnly?N.TypeScript:et;return Ge(zr,yt,Wr,tr,!1)},Ne=We?!e.directoryProbablyExists(e.getDirectoryPath(We),fe.host):void 0,me=or||!e.directoryProbablyExists(ye,fe.host),Ze=e.combinePaths(ye,sr===N.TSConfig?"tsconfig":"index");if(Ee&&(!We||e.containsPath(ye,We))){var xr=e.getRelativePathFromDirectory(ye,We||Ze,!1);fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,Ee.version,e.version,xr);var fr=Ar(sr,xr,ye,Ee.paths,void 0,ee,Ne||me,fe);if(fr)return p(fr.value)}var dr=We&&p(ee(sr,We,Ne,fe));if(dr)return dr;if(!(fe.features&j.EsmMode))return Le(sr,Ze,me,fe)}function Cr(sr,ye){var or=e.tryGetExtensionFromPath(ye);return or!==void 0&&Or(sr,or)?{path:ye,ext:or}:void 0}function Or(sr,ye){switch(sr){case N.JavaScript:return ye===".js"||ye===".jsx";case N.TSConfig:case N.Json:return ye===".json";case N.TypeScript:return ye===".ts"||ye===".tsx"||ye===".d.ts";case N.DtsOnly:return ye===".d.ts"}}function Ke(sr){var ye=sr.indexOf(e.directorySeparator);return sr[0]==="@"&&(ye=sr.indexOf(e.directorySeparator,ye+1)),ye===-1?{packageName:sr,rest:""}:{packageName:sr.slice(0,ye),rest:sr.slice(ye+1)}}e.parsePackageName=Ke;function Pe(sr){return e.every(e.getOwnKeys(sr),function(ye){return e.startsWith(ye,".")})}e.allKeysStartWithDot=Pe;function Hr(sr){return!e.some(e.getOwnKeys(sr),function(ye){return e.startsWith(ye,".")})}function ur(sr,ye,or,fe,je,Ee){var We,ee,Ne=typeof fe.host.useCaseSensitiveFileNames=="function"?fe.host.useCaseSensitiveFileNames():fe.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(or,"dummy"),(ee=(We=fe.host).getCurrentDirectory)===null||ee===void 0?void 0:ee.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Lr(me,fe.packageJsonInfoCache,fe.host,fe.compilerOptions);if(!(!Ze||!Ze.packageJsonContent.exports)&&typeof Ze.packageJsonContent.name=="string"){var xr=e.getPathComponents(ye),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)):".",fe,je,Ee)}}}function vr(sr,ye,or,fe,je,Ee){if(!!sr.packageJsonContent.exports){if(or==="."){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 ee=$e(ye,fe,je,Ee,or,sr,!1);return ee(We,"",!1)}}else if(Pe(sr.packageJsonContent.exports)){if(typeof sr.packageJsonContent.exports!="object")return fe.traceEnabled&&n(fe.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,or,sr.packageDirectory),Rr(void 0);var Ne=Fe(ye,fe,je,Ee,or,sr.packageJsonContent.exports,sr,!1);if(Ne)return Ne}return fe.traceEnabled&&n(fe.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,or,sr.packageDirectory),Rr(void 0)}}function de(sr,ye,or,fe,je,Ee){var We,ee;if(ye==="#"||e.startsWith(ye,"#/"))return fe.traceEnabled&&n(fe.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,ye),Rr(void 0);var Ne=typeof fe.host.useCaseSensitiveFileNames=="function"?fe.host.useCaseSensitiveFileNames():fe.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(or,"dummy"),(ee=(We=fe.host).getCurrentDirectory)===null||ee===void 0?void 0:ee.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Lr(me,fe.packageJsonInfoCache,fe.host,fe.compilerOptions);if(!Ze)return fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,me),Rr(void 0);if(!Ze.packageJsonContent.imports)return fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,Ze.packageDirectory),Rr(void 0);var xr=Fe(sr,fe,je,Ee,ye,Ze.packageJsonContent.imports,Ze,!0);return xr||(fe.traceEnabled&&n(fe.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,ye,Ze.packageDirectory),Rr(void 0))}function Fe(sr,ye,or,fe,je,Ee,We,ee){var Ne=$e(sr,ye,or,fe,je,We,ee);if(!e.endsWith(je,e.directorySeparator)&&je.indexOf("*")===-1&&e.hasProperty(Ee,je)){var me=Ee[je];return Ne(me,"",!1)}for(var Ze=e.sort(e.filter(e.getOwnKeys(Ee),function(tr){return tr.indexOf("*")!==-1||e.endsWith(tr,"/")}),function(tr,Ir){return tr.length-Ir.length}),xr=0,fr=Ze;xr0&&!e.endsWith(Ne,"/"))return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(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=Me(ye.features,dr,Ee.packageDirectory+"/",ye.compilerOptions,ye.host,or,[sr],fe);return Rr(et.resolvedModule?{path:et.resolvedModule.resolvedFileName,extension:et.resolvedModule.extension,packageId:et.resolvedModule.packageId,originalPath:et.resolvedModule.originalPath}:void 0)}return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(void 0)}var yt=e.pathIsRelative(Ne)?e.getPathComponents(Ne).slice(1):e.getPathComponents(Ne),Wr=yt.slice(1);if(Wr.indexOf("..")>=0||Wr.indexOf(".")>=0||Wr.indexOf("node_modules")>=0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(void 0);var tr=e.combinePaths(Ee.packageDirectory,Ne),Ir=e.getPathComponents(me);if(Ir.indexOf("..")>=0||Ir.indexOf(".")>=0||Ir.indexOf("node_modules")>=0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(void 0);var kr=e.getNormalizedAbsolutePath(Ze?tr.replace(/\*/g,me):tr+me,(fr=(xr=ye.host).getCurrentDirectory)===null||fr===void 0?void 0:fr.call(xr));return Rr(d(Ee,Xe(sr,kr,!1,ye)))}else if(typeof Ne=="object"&&Ne!==null)if(Array.isArray(Ne)){if(!e.length(Ne))return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(void 0);for(var ht=0,xt=Ne;ht=0||Dr(ye.conditions,vt)){var ut=Ne[vt],et=ee(ut,me,Ze);if(et)return et}}return}else if(Ne===null)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,Ee.packageDirectory,je),Rr(void 0);return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Rr(void 0)}}function Dr(sr,ye){if(sr.indexOf("types")===-1||!e.startsWith(ye,"types@"))return!1;var or=e.VersionRange.tryParse(ye.substring(6));return or?or.test(e.version):!1}e.isApplicableVersionedTypesKey=Dr;function Fr(sr,ye,or,fe,je,Ee){return pr(sr,ye,or,fe,!1,je,Ee)}function He(sr,ye,or){return pr(N.DtsOnly,sr,ye,or,!0,void 0,void 0)}function pr(sr,ye,or,fe,je,Ee,We){var ee=Ee&&Ee.getOrCreateCacheForModuleName(ye,fe.features===0?void 0:fe.features&j.EsmMode?e.ModuleKind.ESNext:e.ModuleKind.CommonJS,We);return e.forEachAncestorDirectory(e.normalizeSlashes(or),function(Ne){if(e.getBaseFileName(Ne)!=="node_modules"){var me=In(ee,ye,Ne,fe);return me||Rr(Jr(sr,ye,Ne,fe,je,Ee,We))}})}function Jr(sr,ye,or,fe,je,Ee,We){var ee=e.combinePaths(or,"node_modules"),Ne=e.directoryProbablyExists(ee,fe.host);!Ne&&fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,ee);var me=je?void 0:ze(sr,ye,ee,Ne,fe,Ee,We);if(me)return me;if(sr===N.TypeScript||sr===N.DtsOnly){var Ze=e.combinePaths(ee,"@types"),xr=Ne;return Ne&&!e.directoryProbablyExists(Ze,fe.host)&&(fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Ze),xr=!1),ze(N.DtsOnly,lt(ye,fe),Ze,xr,fe,Ee,We)}}function ze(sr,ye,or,fe,je,Ee,We){var ee=e.normalizePath(e.combinePaths(or,ye)),Ne=Er(ee,!fe,je);if(!(je.features&j.Exports)&&Ne){var me=Le(sr,ee,!fe,je);if(me)return a(me);var Ze=lr(sr,ee,!fe,je,Ne.packageJsonContent,Ne.versionPaths);return d(Ne,Ze)}var xr=Ke(ye),fr=xr.packageName,dr=xr.rest,et=function(Ir,kr,zr,gt){var vt;if(Ne&&Ne.packageJsonContent.exports&>.features&j.Exports)return(vt=vr(Ne,Ir,e.combinePaths(".",dr),gt,Ee,We))===null||vt===void 0?void 0:vt.value;var ut=Le(Ir,kr,zr,gt)||lr(Ir,kr,zr,gt,Ne&&Ne.packageJsonContent,Ne&&Ne.versionPaths);return d(Ne,ut)};if(dr!==""){var yt=e.combinePaths(or,fr);if(Ne=Er(yt,!fe,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 Wr=fe&&e.directoryProbablyExists(yt,je.host),tr=Ar(sr,dr,yt,Ne.versionPaths.paths,void 0,et,!Wr,je);if(tr)return tr.value}}return et(sr,ee,!fe,je)}function Ar(sr,ye,or,fe,je,Ee,We,ee){je||(je=e.tryParsePatterns(fe));var Ne=e.matchPatternOrExact(je,ye);if(Ne){var me=e.isString(Ne)?void 0:e.matchedText(Ne,ye),Ze=e.isString(Ne)?Ne:e.patternText(Ne);ee.traceEnabled&&n(ee.host,e.Diagnostics.Module_name_0_matched_pattern_1,ye,Ze);var xr=e.forEach(fe[Ze],function(fr){var dr=me?fr.replace("*",me):fr,et=e.normalizePath(e.combinePaths(or,dr));ee.traceEnabled&&n(ee.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,fr,dr);var yt=e.tryGetExtensionFromPath(fr);if(yt!==void 0){var Wr=Ae(et,We,ee);if(Wr!==void 0)return a({path:Wr,ext:yt})}return Ee(sr,et,We||!e.directoryProbablyExists(e.getDirectoryPath(et),ee.host),ee)});return{value:xr}}}var Yr="__";function lt(sr,ye){var or=Rt(sr);return ye.traceEnabled&&or!==sr&&n(ye.host,e.Diagnostics.Scoped_package_detected_looking_in_0,or),or}function tt(sr){return"@types/".concat(Rt(sr))}e.getTypesPackageName=tt;function Rt(sr){if(e.startsWith(sr,"@")){var ye=sr.replace(e.directorySeparator,Yr);if(ye!==sr)return ye.slice(1)}return sr}e.mangleScopedPackageName=Rt;function cn(sr){var ye=e.removePrefix(sr,"@types/");return ye!==sr?bn(ye):sr}e.getPackageNameFromTypesPackageName=cn;function bn(sr){return e.stringContains(sr,Yr)?"@"+sr.replace(Yr,e.directorySeparator):sr}e.unmangleScopedPackageName=bn;function In(sr,ye,or,fe){var je=sr&&sr.get(or);if(je)return fe.traceEnabled&&n(fe.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,ye,or),fe.resultFromCache=je,{value:je.resolvedModule&&{path:je.resolvedModule.resolvedFileName,originalPath:je.resolvedModule.originalPath||!0,extension:je.resolvedModule.extension,packageId:je.resolvedModule.packageId}}}function zn(sr,ye,or,fe,je,Ee){var We=f(or,fe),ee=[],Ne={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:ee,packageJsonInfoCache:je,features:j.None,conditions:[]},me=e.getDirectoryPath(ye),Ze=xr(N.TypeScript)||xr(N.JavaScript);return h(Ze&&Ze.value,!1,ee,Ne.resultFromCache);function xr(fr){var dr=u(fr,sr,me,_e,Ne);if(dr)return{value:dr};if(e.isExternalModuleNameRelative(sr)){var Wr=e.normalizePath(e.combinePaths(me,sr));return Rr(_e(fr,Wr,!1,Ne))}else{var et=je&&je.getOrCreateCacheForModuleName(sr,void 0,Ee),yt=e.forEachAncestorDirectory(me,function(tr){var Ir=In(et,sr,tr,Ne);if(Ir)return Ir;var kr=e.normalizePath(e.combinePaths(tr,sr));return Rr(_e(fr,kr,!1,Ne))});if(yt)return yt;if(fr===N.TypeScript)return He(sr,me,Ne)}}}e.classicNameResolver=zn;function ir(sr,ye,or,fe,je,Ee){var We=f(or,fe);We&&n(fe,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,ye,sr,je);var ee=[],Ne={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:ee,packageJsonInfoCache:Ee,features:j.None,conditions:[]},me=Jr(N.DtsOnly,sr,je,Ne,!1,void 0,void 0);return h(me,!0,ee,Ne.resultFromCache)}e.loadModuleFromGlobalCache=ir;function Rr(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,B){return S.body&&!S.body.parent&&(e.setParent(S.body,S),e.setParentRecursive(S.body,!1)),S.body?f(S.body,B):1}e.getModuleInstanceState=n;function f(S,B){B===void 0&&(B=new e.Map);var J=e.getNodeId(S);if(B.has(J))return B.get(J)||0;B.set(J,void 0);var k=d(S,B);return B.set(J,k),k}function d(S,B){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 J=S;if(!J.moduleSpecifier&&J.exportClause&&J.exportClause.kind===272){for(var k=0,M=0,x=J.exportClause.elements;Mk&&(k=K),k===1)return k}return k}break;case 261:{var Z=0;return e.forEachChild(S,function(ne){var R=f(ne,B);switch(R){case 0:return;case 2:Z=2;return;case 1:return Z=1,!0;default:e.Debug.assertNever(R)}}),Z}case 260:return n(S,B);case 79:if(S.isInJSDocNamespace)return 0}return 1}function a(S,B){for(var J=S.propertyName||S.name,k=S.parent;k;){if(e.isBlock(k)||e.isModuleBlock(k)||e.isSourceFile(k)){for(var M=k.statements,x=void 0,w=0,K=M;wx)&&(x=ne),x===1)return x}}if(x!==void 0)return x}k=k.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 N(S){return e.Debug.attachFlowNodeDebugInfo(S),S}var H=v();function h(S,B){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),H(S,B),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=h;function v(){var S,B,J,k,M,x,w,K,Z,ne,R,Y,U,$,T,I,y,D,C,m,u,g,F=!1,te=0,ue,X,j={flags:1},Se={flags:1},Ce=fr();function O(pe,wr,ft,Zt,Re){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(pe)||S,pe,wr,ft,Zt,Re)}function Q(pe,wr){S=pe,B=wr,J=e.getEmitScriptTarget(B),g=V(S,wr),X=new e.Set,te=0,ue=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(j),e.Debug.attachFlowNodeDebugInfo(Se),S.locals||(Ha(S),S.symbolCount=te,S.classifiableNames=X,pt()),S=void 0,B=void 0,J=void 0,k=void 0,M=void 0,x=void 0,w=void 0,K=void 0,Z=void 0,ne=!1,R=void 0,Y=void 0,U=void 0,$=void 0,T=void 0,I=void 0,y=void 0,C=void 0,m=!1,F=!1,u=0}return Q;function V(pe,wr){return e.getStrictOptionValue(wr,"alwaysStrict")&&!pe.isDeclarationFile?!0:!!pe.externalModuleIndicator}function z(pe,wr){return te++,new ue(pe,wr)}function Te(pe,wr,ft){pe.flags|=ft,wr.symbol=pe,pe.declarations=e.appendIfUnique(pe.declarations,wr),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,wr)}function ge(pe){if(pe.kind===270)return pe.isExportEquals?"export=":"default";var wr=e.getNameOfDeclaration(pe);if(wr){if(e.isAmbientModule(pe)){var ft=e.getTextOfIdentifierOrLiteral(wr);return e.isGlobalScopeAugmentation(pe)?"__global":'"'.concat(ft,'"')}if(wr.kind===161){var Zt=wr.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(wr)){var Re=e.getContainingClass(pe);if(!Re)return;var Qr=Re.symbol;return e.getSymbolNameForPrivateIdentifier(Qr,wr.escapedText)}return e.isPropertyNameLiteral(wr)?e.getEscapedTextOfIdentifierOrLiteral(wr):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 vn=pe.parent,Xn=vn.parameters.indexOf(pe);return"arg"+Xn}}function ke(pe){return e.isNamedDeclaration(pe)?e.declarationNameToString(pe.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(ge(pe)))}function Me(pe,wr,ft,Zt,Re,Qr,vn){e.Debug.assert(vn||!e.hasDynamicName(ft));var Xn=e.hasSyntacticModifier(ft,512)||e.isExportSpecifier(ft)&&ft.name.escapedText==="default",gi=vn?"__computed":Xn&&wr?"default":ge(ft),Ia;if(gi===void 0)Ia=z(0,"__missing");else if(Ia=pe.get(gi),Zt&2885600&&X.add(gi),!Ia)pe.set(gi,Ia=z(0,gi)),Qr&&(Ia.isReplaceableByMethod=!0);else{if(Qr&&!Ia.isReplaceableByMethod)return Ia;if(Ia.flags&Re){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,Wo=!0;(Ia.flags&384||Zt&384)&&(oo=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Wo=!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,Wo=!1,Nr=!0);var Us=[];e.isTypeAliasDeclaration(ft)&&e.nodeIsMissing(ft.type)&&e.hasSyntacticModifier(ft,1)&&Ia.flags&2887656&&Us.push(O(ft,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(ft.name.escapedText)," }")));var il=e.getNameOfDeclaration(ft)||ft;e.forEach(Ia.declarations,function(Co,Vs){var Ql=e.getNameOfDeclaration(Co)||Co,zl=O(Ql,oo,Wo?ke(Co):void 0);S.bindDiagnostics.push(Nr?e.addRelatedInfo(zl,O(il,Vs===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):zl),Nr&&Us.push(O(Ql,e.Diagnostics.The_first_export_default_is_here))});var Pl=O(il,oo,Wo?ke(ft):void 0);S.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,Gt([Pl],Us,!1))),Ia=z(0,gi)}}}return Te(Ia,ft,Zt),Ia.parent?e.Debug.assert(Ia.parent===wr,"Existing symbol parent should match new one"):Ia.parent=wr,Ia}function Ie(pe,wr,ft){var Zt=!!(e.getCombinedModifierFlags(pe)&1)||Ge(pe);if(wr&2097152)return pe.kind===274||pe.kind===264&&Zt?Me(M.symbol.exports,M.symbol,pe,wr,ft):Me(M.locals,void 0,pe,wr,ft);if(e.isJSDocTypeAlias(pe)&&e.Debug.assert(e.isInJSFile(pe)),!e.isAmbientModule(pe)&&(Zt||M.flags&64)){if(!M.locals||e.hasSyntacticModifier(pe,512)&&!ge(pe))return Me(M.symbol.exports,M.symbol,pe,wr,ft);var Re=wr&111551?1048576:0,Qr=Me(M.locals,void 0,pe,Re,ft);return Qr.exportSymbol=Me(M.symbol.exports,M.symbol,pe,wr,ft),pe.localSymbol=Qr,Qr}else return Me(M.locals,void 0,pe,wr,ft)}function Ge(pe){if(pe.parent&&e.isModuleDeclaration(pe)&&(pe=pe.parent),!e.isJSDocTypeAlias(pe))return!1;if(!e.isJSDocEnumTag(pe)&&!!pe.fullName)return!0;var wr=e.getNameOfDeclaration(pe);return wr?!!(e.isPropertyAccessEntityNameExpression(wr.parent)&&$a(wr.parent)||e.isDeclaration(wr.parent)&&e.getCombinedModifierFlags(wr.parent)&1):!1}function he(pe,wr){var ft=M,Zt=x,Re=w;if(wr&1?(pe.kind!==213&&(x=M),M=w=pe,wr&32&&(M.locals=e.createSymbolTable()),mt(M)):wr&2&&(w=pe,w.locals=void 0),wr&4){var Qr=R,vn=Y,Xn=U,gi=$,Ia=y,oo=C,Wo=m,Nr=wr&16&&!e.hasSyntacticModifier(pe,256)&&!pe.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(pe);Nr||(R=N({flags:2}),wr&144&&(R.node=pe)),$=Nr||pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212)?lr():void 0,y=void 0,Y=void 0,U=void 0,C=void 0,m=!1,Le(pe),pe.flags&=-2817,!(R.flags&1)&&wr&8&&e.nodeIsPresent(pe.body)&&(pe.flags|=256,m&&(pe.flags|=512),pe.endFlowNode=R),pe.kind===303&&(pe.flags|=u,pe.endFlowNode=R),$&&(Pe($,R),R=Fe($),(pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212))&&(pe.returnFlowNode=R)),Nr||(R=Qr),Y=vn,U=Xn,$=gi,y=Ia,C=oo,m=Wo}else wr&64?(ne=!1,Le(pe),pe.flags=ne?pe.flags|128:pe.flags&-129):Le(pe);M=ft,x=Zt,w=Re}function ve(pe){Ve(pe,function(wr){return wr.kind===255?Ha(wr):void 0}),Ve(pe,function(wr){return wr.kind!==255?Ha(wr):void 0})}function Ve(pe,wr){wr===void 0&&(wr=Ha),pe!==void 0&&e.forEach(pe,wr)}function _e(pe){e.forEachChild(pe,Ha,Ve)}function Le(pe){var wr=F;if(F=!1,as(pe)){_e(pe),Yo(pe),F=wr;return}switch(pe.kind>=236&&pe.kind<=252&&!B.allowUnreachableCode&&(pe.flowNode=R),pe.kind){case 240:Yr(pe);break;case 239:lt(pe);break;case 241:tt(pe);break;case 242:case 243:Rt(pe);break;case 238:cn(pe);break;case 246:case 250:bn(pe);break;case 245:case 244:ir(pe);break;case 251:Rr(pe);break;case 248:sr(pe);break;case 262:ye(pe);break;case 288:or(pe);break;case 237:fe(pe);break;case 249:Ee(pe);break;case 218:me(pe);break;case 219:Ze(pe);break;case 220:if(e.isDestructuringAssignment(pe)){F=wr,xr(pe);return}Ce(pe);break;case 214:dr(pe);break;case 221:et(pe);break;case 253:Wr(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:{ve(pe.statements),Ha(pe.endOfFileToken);break}case 234:case 261:ve(pe.statements);break;case 202:tr(pe);break;case 204:case 203:case 294:case 224:F=wr;default:_e(pe);break}Yo(pe),F=wr}function qe(pe){switch(pe.kind){case 79:case 80:case 108:case 205:case 206:return De(pe);case 207:return Ae(pe);case 211:case 229:return qe(pe.expression);case 220:return Lr(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 De(pe){return Xe(pe)||e.isOptionalChain(pe)&&De(pe.expression)}function Ae(pe){if(pe.arguments)for(var wr=0,ft=pe.arguments;wr=117&&pe.originalKeywordKind<=125?S.bindDiagnostics.push(O(pe,Pt(pe),e.declarationNameToString(pe))):pe.originalKeywordKind===132?e.isExternalModule(S)&&e.isInTopLevelContext(pe)?S.bindDiagnostics.push(O(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(O(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(O(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(pe))))}function Pt(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(O(pe,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(pe))))}function rt(pe){g&&e.isLeftHandSideExpression(pe.left)&&e.isAssignmentOperator(pe.operatorToken.kind)&&Ci(pe,pe.left)}function Cn(pe){g&&pe.variableDeclaration&&Ci(pe,pe.variableDeclaration.name)}function Qn(pe){if(g&&pe.expression.kind===79){var wr=e.getErrorSpanForNode(S,pe.expression);S.bindDiagnostics.push(e.createFileDiagnostic(S,wr.start,wr.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Ra(pe){return e.isIdentifier(pe)&&(pe.escapedText==="eval"||pe.escapedText==="arguments")}function Ci(pe,wr){if(wr&&wr.kind===79){var ft=wr;if(Ra(ft)){var Zt=e.getErrorSpanForNode(S,wr);S.bindDiagnostics.push(e.createFileDiagnostic(S,Zt.start,Zt.length,_i(pe),e.idText(ft)))}}}function _i(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){g&&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(J<2&&w.kind!==303&&w.kind!==260&&!e.isFunctionLikeOrClassStaticBlockDeclaration(w)){var wr=e.getErrorSpanForNode(S,pe);S.bindDiagnostics.push(e.createFileDiagnostic(S,wr.start,wr.length,yi(pe)))}}function Ka(pe){g&&pe.numericLiteralFlags&32&&S.bindDiagnostics.push(O(pe,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Pi(pe){g&&Ci(pe,pe.operand)}function io(pe){g&&(pe.operator===45||pe.operator===46)&&Ci(pe,pe.operand)}function ji(pe){g&&to(pe,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Hi(pe){g&&e.getEmitScriptTarget(B)>=2&&(e.isDeclarationStatement(pe.statement)||e.isVariableStatement(pe.statement))&&to(pe.label,e.Diagnostics.A_label_is_not_allowed_here)}function to(pe,wr,ft,Zt,Re){var Qr=e.getSpanOfTokenAtPosition(S,pe.pos);S.bindDiagnostics.push(e.createFileDiagnostic(S,Qr.start,Qr.length,wr,ft,Zt,Re))}function No(pe,wr,ft){lo(pe,wr,wr,ft)}function lo(pe,wr,ft,Zt){Lo(pe,{pos:e.getTokenPosOfNode(wr,S),end:ft.end},Zt)}function Lo(pe,wr,ft){var Zt=e.createFileDiagnostic(S,wr.pos,wr.end-wr.pos,ft);pe?S.bindDiagnostics.push(Zt):S.bindSuggestionDiagnostics=e.append(S.bindSuggestionDiagnostics,Rn(Rn({},Zt),{category:e.DiagnosticCategory.Suggestion}))}function Ha(pe){if(!!pe){e.setParent(pe,k);var wr=g;if(hi(pe),pe.kind>159){var ft=k;k=pe;var Zt=Qt(pe);Zt===0?Le(pe):he(pe,Zt),k=ft}else{var ft=k;pe.kind===1&&(k=pe),Yo(pe),k=ft}g=wr}}function Yo(pe){if(e.hasJSDocNodes(pe))if(e.isInJSFile(pe))for(var wr=0,ft=pe.jsDoc;wr>",0,Ze),No=hu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),lo=hu(void 0,void 0,void 0,e.emptyArray,dr,void 0,0,0),Lo=hu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),Ha=hu(void 0,void 0,void 0,e.emptyArray,St,void 0,0,0),Yo=Eu(wt,xt,!0),co=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=Xf(Ze,Ze,Ze),Zi=Xf(Ze,Ze,tr),Po=Xf(en,Ze,kr),Mo={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:qk,getGlobalIterableType:zk,getGlobalIterableIteratorType:Xk,getGlobalGeneratorType:Yk,resolveIterationType:J_,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},Fo={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:Qk,getGlobalIterableType:BD,getGlobalIterableIteratorType:Zk,getGlobalGeneratorType:$k,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},zo,Es=new e.Map,Cs=!1,yr,dt,tn,Un,Oe,oe,mr,se,Be,er,hr,qr,Dt,Jt,Sn,ta,xa,Di,$a,Ji,So,cs,bt,Mn,da,ei,bi,xi,ka,mi,Xi,Gi,Ro,ko,es,as,pe,wr,ft,Zt,Re,Qr,vn,Xn,gi=new e.Map,Ia=0,oo=0,Wo=0,Nr=!1,Us=0,il,Pl,Co,Vs=Lc(""),Ql=Wf(0),zl=E0({negative:!1,base10Value:"0"}),uc=[],cu=[],no=[],ql=0,fc=10,Ws=[],xc=[],Ic=[],La=[],uu=[],dc=[],Nc=[],Pr=[],$r=[],Lt=[],Kt=[],pn=[],fn=[],kn=[],Kn=[],Fa=[],ua=e.createDiagnosticCollection(),le=e.createDiagnosticCollection(),rr=new e.Map(e.getEntries({string:xt,number:wt,bigint:Qt,boolean:Jn,symbol:na,undefined:kr})),br=Kd(),ct,jt,yn,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(He.escapedName,He);var Do=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",Xe.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return K8(),Yr;function bo(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,De),e.visitNode(t.localJsxFragmentFactory,Ys),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=e.getFirstIdentifier(t.localJsxFragmentFactory).escapedText}var s=NT(r);if(s)return t.localJsxFragmentFactory=s,t.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{var c=Ns(t);if(c)return t.localJsxNamespace=c}}return ct||(ct="React",Xe.jsxFactory?(jt=e.parseIsolatedEntityName(Xe.jsxFactory,De),e.visitNode(jt,Ys),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 Ns(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,De),e.visitNode(r.localJsxFactory,Ys),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}function Ys(r){return e.setTextRangePosEnd(r,-1,-1),e.visitEachChild(r,Ys,e.nullTransformationContext)}function Nu(r,t){return sI(r,t),$e}function gf(r,t,i,o,s,c){var L=r?e.createDiagnosticForNode(r,t,i,o,s,c):e.createCompilerDiagnostic(t,i,o,s,c),G=ua.lookup(L);return G||(ua.add(L),L)}function Zl(r,t,i,o,s,c,L){var G=Mr(t,i,o,s,c,L);return G.skippedOn=r,G}function jc(r,t,i,o,s,c){return r?e.createDiagnosticForNode(r,t,i,o,s,c):e.createCompilerDiagnostic(t,i,o,s,c)}function Mr(r,t,i,o,s,c){var L=jc(r,t,i,o,s,c);return ua.add(L),L}function $l(r,t){r?ua.add(t):le.add(Rn(Rn({},t),{category:e.DiagnosticCategory.Suggestion}))}function pc(r,t,i,o,s,c,L){if(t.pos<0||t.end<0){if(!r)return;var G=e.getSourceFileOfNode(t);$l(r,"message"in i?e.createFileDiagnostic(G,0,0,i,o,s,c,L):e.createDiagnosticForFileFromMessageChain(G,i));return}$l(r,"message"in i?e.createDiagnosticForNode(t,i,o,s,c,L):e.createDiagnosticForNodeFromMessageChain(t,i))}function ku(r,t,i,o,s,c,L){var G=Mr(r,i,o,s,c,L);if(t){var ce=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(G,ce)}return G}function ol(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)),le.add(t),t}function kc(r,t,i){var o=e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,i);return ol(t,o)}function vf(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 ol(t,s)}function fo(r,t,i){Me++;var o=new z(r|33554432,t);return o.checkFlags=i||0,o}function Zf(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 hf(r,t){t.mergeId||(t.mergeId=p,p++),Ws[t.mergeId]=r}function Nd(r){var t=fo(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)),hf(t,r),t}function _s(r,t,i){if(i===void 0&&(i=!1),!(r.flags&Zf(t.flags))||(t.flags|r.flags)&67108864){if(t===r)return r;if(!(r.flags&33554432)){var o=wo(r);if(o===We)return t;r=Nd(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()),dl(r.members,t.members,i)),t.exports&&(r.exports||(r.exports=e.createSymbolTable()),dl(r.exports,t.exports,i)),i||hf(r,t)}else if(r.flags&1024)r!==pr&&Mr(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),c=!!(r.flags&2||t.flags&2),L=s?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:c?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,G=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),ce=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),we=Wa(t);if(G&&ce&&zo&&!s&&G!==ce){var Ue=e.comparePaths(G.path,ce.path)===-1?G:ce,Je=Ue===G?ce:G,ar=e.getOrUpdate(zo,"".concat(Ue.path,"|").concat(Je.path),function(){return{firstFile:Ue,secondFile:Je,conflictingSymbols:new e.Map}}),_r=e.getOrUpdate(ar.conflictingSymbols,we,function(){return{isBlockScoped:c,firstFileLocations:[],secondFileLocations:[]}});Br(_r.firstFileLocations,t),Br(_r.secondFileLocations,r)}else Hc(t,L,we,r),Hc(r,L,we,t)}return r;function Br(Zr,Et){if(Et.declarations)for(var Tt=0,At=Et.declarations;Tt=5||e.some(c.relatedInformation,function(Br){return e.compareDiagnostics(Br,_r)===0||e.compareDiagnostics(Br,ar)===0}))return"continue";e.addRelatedInfo(c,e.length(c.relatedInformation)?_r:ar)},G=0,ce=o||e.emptyArray;G1);return}if(e.isGlobalScopeAugmentation(s))dl(Fr,s.symbol.exports);else{var c=r.parent.parent.flags&8388608?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,L=Pc(r,r,c,!0);if(!L)return;if(L=ll(L),L.flags&1920)if(e.some(dt,function(Br){return L===Br.symbol})){var G=_s(s.symbol,L,!0);tn||(tn=new e.Map),tn.set(r.text,G)}else{if(((i=L.exports)===null||i===void 0?void 0:i.get("__export"))&&((o=s.symbol.exports)===null||o===void 0?void 0:o.size))for(var ce=im(L,"resolvedExports"),we=0,Ue=e.arrayFrom(s.symbol.exports.entries());weJe.end)return!1;var Br=e.findAncestor(ar,function(Zr){if(Zr===Je)return"quit";switch(Zr.kind){case 213:return!0;case 166:return _r&&(e.isPropertyDeclaration(Je)&&Zr.parent===Je.parent||e.isParameterPropertyDeclaration(Je,Je.parent)&&Zr.parent===Je.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 kd(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 c=Zn(s);return c.declarationRequiresScopeChange===void 0&&(c.declarationRequiresScopeChange=e.forEach(s.parameters,L)||!1),!c.declarationRequiresScopeChange}return!1;function L(ce){return G(ce.name)||!!ce.initializer&&G(ce.initializer)}function G(ce){switch(ce.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return G(ce.name);case 166:return e.hasStaticModifier(ce)?o<99||!Ye:G(ce.name);default:return e.isNullishCoalesce(ce)||e.isOptionalChain(ce)?o<7:e.isBindingElement(ce)&&ce.dotDotDotToken&&e.isObjectBindingPattern(ce.parent)?o<4:e.isTypeNode(ce)?!1:e.forEachChild(ce,G)||!1}}}function Uo(r,t,i,o,s,c,L,G){return L===void 0&&(L=!1),G===void 0&&(G=!0),$f(r,t,i,o,s,c,L,G,ks)}function $f(r,t,i,o,s,c,L,G,ce){var we,Ue,Je,ar=r,_r,Br,Zr,Et,Tt,At=!1,Vt=r,Nn,on=!1;e:for(;r;){if(r.locals&&!Oc(r)&&(_r=ce(r.locals,t,i))){var ca=!0;if(e.isFunctionLike(r)&&Br&&Br!==r.body?(i&_r.flags&788968&&Br.kind!==318&&(ca=_r.flags&262144?Br===r.type||Br.kind===163||Br.kind===162:!1),i&_r.flags&3&&(kd(_r,r,Br)?ca=!1:_r.flags&1&&(ca=Br.kind===163||Br===r.type&&!!e.findAncestor(_r.valueDeclaration,e.isParameter)))):r.kind===188&&(ca=Br===r.trueType),ca)break e;_r=void 0}switch(At=At||Yp(r,Br),r.kind){case 303:if(!e.isExternalOrCommonJsModule(r))break;on=!0;case 260:var la=((we=wn(r))===null||we===void 0?void 0:we.exports)||Le;if(r.kind===303||e.isModuleDeclaration(r)&&r.flags&8388608&&!e.isGlobalScopeAugmentation(r)){if(_r=la.get("default")){var di=e.getLocalSymbolForExportDefault(_r);if(di&&_r.flags&i&&di.escapedName===t)break e;_r=void 0}var Aa=la.get(t);if(Aa&&Aa.flags===2097152&&(e.getDeclarationOfKind(Aa,274)||e.getDeclarationOfKind(Aa,273)))break}if(t!=="default"&&(_r=ce(la,t,i&2623475)))if(e.isSourceFile(r)&&r.commonJsModuleIndicator&&!(!((Ue=_r.declarations)===null||Ue===void 0)&&Ue.some(e.isJSDocTypeAlias)))_r=void 0;else break e;break;case 259:if(_r=ce(((Je=wn(r))===null||Je===void 0?void 0:Je.exports)||Le,t,i&8))break e;break;case 166:if(!e.isStatic(r)){var Li=$u(r.parent);Li&&Li.locals&&ce(Li.locals,t,i&111551)&&(Et=r)}break;case 256:case 225:case 257:if(_r=ce(wn(r).members||Le,t,i&788968)){if(!C_(_r,r)){_r=void 0;break}if(Br&&e.isStatic(Br)){Mr(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){_r=r.symbol;break e}}break;case 227:if(Br===r.expression&&r.parent.token===94){var Ai=r.parent.parent;if(e.isClassLike(Ai)&&(_r=ce(wn(Ai).members,t,i&788968))){o&&Mr(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)&&(_r=ce(wn(Nn).members,t,i&788968))){Mr(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"){_r=Jr;break e}break;case 212:if(i&3&&t==="arguments"){_r=Jr;break e}if(i&16){var xo=r.name;if(xo&&t===xo.escapedText){_r=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){_r=r.typeParameter.symbol;break e}}break}yp(r)&&(Zr=r),Br=r,r=e.isJSDocTemplateTag(r)&&e.getEffectiveContainerForJSDocTemplateTag(r)||r.parent}if(c&&_r&&(!Zr||_r!==Zr.symbol)&&(_r.isReferenced|=i),!_r){if(Br&&(e.Debug.assert(Br.kind===303),Br.commonJsModuleIndicator&&t==="exports"&&i&Br.symbol.flags))return Br.symbol;L||(_r=ce(Fr,t,i))}if(!_r&&ar&&e.isInJSFile(ar)&&ar.parent&&e.isRequireCall(ar.parent,!1))return ze;if(!_r){if(o&&Se&&(!Vt||!ed(Vt,t,s)&&!bp(Vt)&&!Pd(Vt,t,i)&&!Ep(Vt,t)&&!Qp(Vt,t,i)&&!Bd(Vt,t,i)&&!Md(Vt,t,i))){var _n=void 0;if(G&&qlTt.pos&&Wt.parent.locals&&ce(Wt.parent.locals,hn.escapedName,i)===hn&&Mr(Vt,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(Tt.name),e.declarationNameToString(Vt))}_r&&Vt&&i&111551&&_r.flags&2097152&&Od(_r,t,Vt)}return _r}function Od(r,t,i){if(!e.isValidTypeOnlyAliasUseSite(i)){var o=Ln(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,c=e.unescapeLeadingUnderscores(t);Rd(Mr(i,s,c),o,c)}}}function Rd(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 Yp(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 yp(r){switch(r.kind){case 255:case 256:case 257:case 259:case 258:case 260:return!0;default:return!1}}function Xl(r){return e.isString(r)?e.unescapeLeadingUnderscores(r):e.declarationNameToString(r)}function C_(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,Je=Mr(r.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Wa(o),ce);Ue&&e.addRelatedInfo(Je,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,ce))}else Pu(o,r);else if(G||L){var ar=ll(o,t)||wo(o,t);return Yl(r,o,ar,!1),ar}return Yl(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))Mr(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 c=Mr(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 G=(s=L.declarations)===null||s===void 0?void 0:s.find(function(ce){var we,Ue;return!!(e.isExportDeclaration(ce)&&ce.moduleSpecifier&&((Ue=(we=ws(ce,ce.moduleSpecifier))===null||we===void 0?void 0:we.exports)===null||Ue===void 0?void 0:Ue.has("default")))});G&&e.addRelatedInfo(c,e.createDiagnosticForNode(G,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function js(r,t){var i=r.parent.parent.moduleSpecifier,o=ws(r,i),s=Fu(o,i,t,!1);return Yl(r,o,s,!1),s}function gc(r,t){var i=r.parent.moduleSpecifier,o=i&&ws(r,i),s=i&&Fu(o,i,t,!1);return Yl(r,o,s,!1),s}function nd(r,t){if(r===We&&t===We)return We;if(r.flags&790504)return r;var i=fo(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 x_(r,t,i,o){if(r.flags&1536){var s=Js(r).get(t.escapedText),c=wo(s,o);return Yl(i,s,c,!1),c}}function ad(r,t){if(r.flags&3){var i=r.valueDeclaration.type;if(i)return wo(Ii(Da(i),t))}}function Mu(r,t,i){var o,s;i===void 0&&(i=!1);var c=e.getExternalModuleRequireArgument(r)||r.moduleSpecifier,L=ws(r,c),G=!e.isPropertyAccessExpression(t)&&t.propertyName||t.name;if(!!e.isIdentifier(G)){var ce=G.escapedText==="default"&&!!(Xe.allowSyntheticDefaultImports||e.getESModuleInterop(Xe)),we=Fu(L,c,!1,ce);if(we&&G.escapedText){if(e.isShorthandAmbientModuleSymbol(L))return L;var Ue=void 0;L&&L.exports&&L.exports.get("export=")?Ue=Ii(An(we),G.escapedText,!0):Ue=ad(we,G.escapedText),Ue=wo(Ue,i);var Je=x_(we,G,t,i);if(Je===void 0&&G.escapedText==="default"){var ar=(o=L.declarations)===null||o===void 0?void 0:o.find(e.isSourceFile);(td(c)||Ru(ar,L,i,c))&&(Je=ll(L,i)||wo(L,i))}var _r=Je&&Ue&&Je!==Ue?nd(Ue,Je):Je||Ue;if(!_r){var Br=sl(L,r),Zr=e.declarationNameToString(G),Et=hb(G,we);if(Et!==void 0){var Tt=Wa(Et),At=Mr(G,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")?Mr(G,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Br,Zr):I_(r,G,Zr,L,Br)}return _r}}}function I_(r,t,i,o,s){var c,L,G=(L=(c=o.valueDeclaration)===null||c===void 0?void 0:c.locals)===null||L===void 0?void 0:L.get(t.escapedText),ce=o.exports;if(G){var we=ce==null?void 0:ce.get("export=");if(we)Ll(we,G)?vc(r,t,i,s):Mr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i);else{var Ue=ce?e.find(Ym(ce),function(ar){return!!Ll(ar,G)}):void 0,Je=Ue?Mr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,i,Wa(Ue)):Mr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,i);G.declarations&&e.addRelatedInfo.apply(void 0,Gt([Je],e.map(G.declarations,function(ar,_r){return e.createDiagnosticForNode(ar,_r===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}),!1))}}else Mr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i)}function vc(r,t,i,o){if(Ae>=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;Mr(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;Mr(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;Mr(t,s,i,i,o)}}function Ml(r,t){var i=e.isBindingElement(r)?e.getRootDeclaration(r):r.parent.parent.parent,o=Sl(i),s=Mu(i,o||r,t),c=r.propertyName||r.name;return o&&s&&e.isIdentifier(c)?wo(Ii(An(s),c.escapedText),t):(Yl(r,void 0,s,!1),s)}function Sl(r){if(e.isVariableDeclaration(r)&&r.initializer&&e.isPropertyAccessExpression(r.initializer))return r.initializer}function Fl(r,t){var i=ll(r.parent.symbol,t);return Yl(r,void 0,i,!1),i}function pl(r,t,i){var o=r.parent.parent.moduleSpecifier?Mu(r.parent.parent,r,i):rs(r.propertyName||r.name,t,!1,i);return Yl(r,void 0,o,!1),o}function Dp(r,t){var i=e.isExportAssignment(r)?r.expression:r.right,o=Tf(i,t);return Yl(r,void 0,o,!1),o}function Tf(r,t){if(e.isClassExpression(r))return Ss(r).symbol;if(!(!e.isEntityName(r)&&!e.isEntityNameExpression(r))){var i=rs(r,901119,!0,t);return i||(Ss(r),Zn(r).resolvedSymbol)}}function Wd(r,t){var i=r.initializer;return Tf(i,t)}function id(r,t){if(!!(e.isBinaryExpression(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63))return Tf(r.parent.right,t)}function mo(r,t){switch(t===void 0&&(t=!1),r.kind){case 264:case 253:return Tp(r,t);case 266:return wu(r,t);case 267:return js(r,t);case 273:return gc(r,t);case 269:case 202:return Ml(r,t);case 274:return pl(r,901119,t);case 270:case 220:return Dp(r,t);case 263:return Fl(r,t);case 295:return rs(r.name,901119,!0,t);case 294:return Wd(r,t);case 206:case 205:return id(r,t);default:return e.Debug.fail()}}function Dl(r,t){return t===void 0&&(t=901119),r?(r.flags&(2097152|t))===2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function wo(r,t){return!t&&Dl(r)?ms(r):r}function ms(r){e.Debug.assert((r.flags&2097152)!==0,"Should only get Alias here.");var t=Ja(r);if(t.target)t.target===ee&&(t.target=We);else{t.target=ee;var i=ec(r);if(!i)return e.Debug.fail();var o=mo(i);t.target===ee?t.target=o||We:Mr(i,e.Diagnostics.Circular_definition_of_import_alias_0,Wa(r))}return t.target}function e_(r){var t=Ja(r);if(t.target!==ee)return ms(r)}function Yl(r,t,i,o){if(!r||e.isPropertyAccessExpression(r))return!1;var s=wn(r);if(e.isTypeOnlyImportOrExportDeclaration(r)){var c=Ja(s);return c.typeOnlyDeclaration=r,!0}var L=Ja(s);return od(L,t,o)||od(L,i,o)}function od(r,t,i){var o,s,c;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,G=L.declarations&&e.find(L.declarations,e.isTypeOnlyImportOrExportDeclaration);r.typeOnlyDeclaration=(c=G!=null?G:Ja(L).typeOnlyDeclaration)!==null&&c!==void 0?c:!1}return!!r.typeOnlyDeclaration}function Ln(r){if(!!(r.flags&2097152)){var t=Ja(r);return t.typeOnlyDeclaration||void 0}}function us(r){var t=wn(r),i=ms(t);if(i){var o=i===We||i.flags&111551&&!Lv(i)&&!Ln(t);o&&ii(t)}}function ii(r){var t=Ja(r);if(!t.referenced){t.referenced=!0;var i=ec(r);if(!i)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(i)){var o=wo(r);(o===We||o.flags&111551)&&Ss(i.moduleReference)}}}function Rc(r){var t=Ja(r);t.constEnumReferenced||(t.constEnumReferenced=!0)}function sd(r,t){return r.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),r.kind===79||r.parent.kind===160?rs(r,1920,!1,t):(e.Debug.assert(r.parent.kind===264),rs(r,901119,!1,t))}function sl(r,t){return r.parent?sl(r.parent,t)+"."+Wa(r):Wa(r,t,void 0,20)}function Dn(r){for(;e.isQualifiedName(r.parent);)r=r.parent;return r}function N_(r){var t=e.getFirstIdentifier(r),i=Uo(t,t.escapedText,111551,void 0,t,!0);if(!!i){for(;e.isQualifiedName(t.parent);){var o=An(i);if(i=Ii(o,t.parent.right.escapedText),!i)return;t=t.parent}return i}}function rs(r,t,i,o,s){if(!e.nodeIsMissing(r)){var c=1920|(e.isInJSFile(r)?t&111551:0),L;if(r.kind===79){var G=t===c||e.nodeIsSynthesized(r)?e.Diagnostics.Cannot_find_namespace_0:lA(e.getFirstIdentifier(r)),ce=e.isInJSFile(r)&&!e.nodeIsSynthesized(r)?fs(r,t):void 0;if(L=Ga(Uo(s||r,r.escapedText,t,i||ce?void 0:G,r,!0,!1)),!L)return Ga(ce)}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,Je=rs(we,c,i,!1,s);if(!Je||e.nodeIsMissing(Ue))return;if(Je===We)return Je;if(Je.valueDeclaration&&e.isInJSFile(Je.valueDeclaration)&&e.isVariableDeclaration(Je.valueDeclaration)&&Je.valueDeclaration.initializer&&VC(Je.valueDeclaration.initializer)){var ar=Je.valueDeclaration.initializer.arguments[0],_r=ws(ar,ar);if(_r){var Br=ll(_r);Br&&(Je=Br)}}if(L=Ga(ks(Js(Je),Ue.escapedText,t)),!L){if(!i){var Zr=sl(Je),Et=e.declarationNameToString(Ue),Tt=hb(Ue,Je);if(Tt){Mr(Ue,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Zr,Et,Wa(Tt));return}var At=e.isQualifiedName(r)&&Dn(r),Vt=Un&&t&788968&&At&&!e.isTypeOfExpression(At.parent)&&N_(At);if(Vt){Mr(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(ks(Js(Je),Ue.escapedText,788968));if(Nn){Mr(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}}Mr(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)&&Yl(e.getAliasDeclarationFromName(r),L,void 0,!0),L.flags&t||o?L:ms(L)}}function fs(r,t){if(Cy(r.parent)){var i=wc(r.parent);if(i)return Uo(i,r.escapedText,t,void 0,r,!0)}}function wc(r){var t=e.findAncestor(r,function(c){return e.isJSDocNode(c)||c.flags&4194304?e.isJSDocTypeAlias(c):"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 Hs(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 Hs(o)}var s=e.getEffectiveJSDocHost(r);if(s&&e.isFunctionLike(s)){var o=wn(s);return o&&o.valueDeclaration}}}function Hs(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 Sf(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 z1(o,r)}}}function ws(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)?Qu(r,t.text,i,t,o):void 0}function Qu(r,t,i,o,s){var c,L,G,ce,we,Ue,Je;if(s===void 0&&(s=!1),e.startsWith(t,"@types/")){var ar=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,_r=e.removePrefix(t,"@types/");Mr(o,ar,_r,t)}var Br=Jg(t,!0);if(Br)return Br;var Zr=e.getSourceFileOfNode(r),Et=e.isStringLiteralLike(r)?r:((c=e.findAncestor(r,e.isImportCall))===null||c===void 0?void 0:c.arguments[0])||((L=e.findAncestor(r,e.isImportDeclaration))===null||L===void 0?void 0:L.moduleSpecifier)||((G=e.findAncestor(r,e.isExternalModuleImportEqualsDeclaration))===null||G===void 0?void 0:G.moduleReference.expression)||((ce=e.findAncestor(r,e.isExportDeclaration))===null||ce===void 0?void 0:ce.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)&&Df(!1,o,At,t),e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.NodeNext){var on=Zr.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(r,e.isImportCall)||!!e.findAncestor(r,e.isImportEqualsDeclaration);on&&Nn.impliedNodeFormat===e.ModuleKind.ESNext&&Mr(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"&&Mr(o,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)}return Ga(Nn.symbol)}i&&Mr(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 ar=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Mr(o,ar,t,At.resolvedFileName)}else Df(Ke&&!!i,o,At,t);return}if(i){if(At){var di=j.getProjectReferenceRedirect(At.resolvedFileName);if(di){Mr(o,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,di,At.resolvedFileName);return}}if(Vt)Mr(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 ar=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,xo=e.removeExtension(t,Aa),Wt=xo;Ae>=e.ModuleKind.ES2015&&(Wt+=Aa===".mts"?".mjs":Aa===".cts"?".cjs":".js"),Mr(o,ar,Aa,Wt)}else if(!Xe.resolveJsonModule&&e.fileExtensionIs(t,".json")&&e.getEmitModuleResolutionKind(Xe)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(Xe))Mr(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)),_n=(Je=Do.find(function(Ca){var Yn=Ca[0];return Ca[1],j.fileExists(Ft+Yn)}))===null||Je===void 0?void 0:Je[1];_n?Mr(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,t+_n):Mr(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 Mr(o,i,t)}}}function Df(r,t,i,o){var s=i.packageId,c=i.resolvedFileName,L=!e.isExternalModuleNameRelative(o)&&s?hc(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)):Lf(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;pc(r,t,e.chainDiagnosticMessages(L,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,c))}function hc(r){return Ce().has(e.getTypesPackageName(r))}function Lf(r){return!!Ce().get(r)}function ll(r,t){if(r!=null&&r.exports){var i=wo(r.exports.get("export="),t),o=r_(Ga(i),Ga(r));return Ga(o)||r}}function r_(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:Nd(r);return o.flags=o.flags|512,o.exports===void 0&&(o.exports=e.createSymbolTable()),t.exports.forEach(function(s,c){c!=="export="&&o.exports.set(c,o.exports.has(c)?_s(o.exports.get(c),s):s)}),Ja(o).cjsExportMerged=o,i.cjsExportMerged=o}function Fu(r,t,i,o){var s=ll(r,i);if(!i&&s){if(!o&&!(s.flags&1539)&&!e.getDeclarationOfKind(s,303)){var c=Ae>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Mr(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,c),s}var L=t.parent;if(e.isImportDeclaration(L)&&e.getNamespaceDeclarationNode(L)||e.isImportCall(L)){var G=e.isImportCall(L)?L.arguments[0]:L.moduleSpecifier,ce=An(s),we=BC(ce,s,r,G);if(we)return Af(s,we,L);if(e.getESModuleInterop(Xe)){var Ue=Hg(ce,0);if((!Ue||!Ue.length)&&(Ue=Hg(ce,1)),Ue&&Ue.length||Ii(ce,"default",!0)){var Je=UC(ce,s,r,G);return Af(s,Je,L)}}}}return s}function Af(r,t,i){var o=fo(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=Sc(t);return o.type=ts(o,s.members,e.emptyArray,e.emptyArray,s.indexInfos),o}function ld(r){return r.exports.get("export=")!==void 0}function cd(r){return Ym(Gl(r))}function Cf(r){var t=cd(r),i=ll(r);if(i!==r){var o=An(i);Gu(o)&&e.addRange(t,Yi(o))}return t}function yc(r,t){var i=Gl(r);i.forEach(function(c,L){Nf(L)||t(c,L)});var o=ll(r);if(o!==r){var s=An(o);Gu(s)&&VE(s,function(c,L){t(c,L)})}}function ud(r,t){var i=Gl(t);if(i)return i.get(r)}function xf(r,t){var i=ud(r,t);if(i)return i;var o=ll(t);if(o!==t){var s=An(o);return Gu(s)?Ii(s,r):void 0}}function Gu(r){return!(r.flags&131068||e.getObjectFlags(r)&1||el(r)||ki(r))}function Js(r){return r.flags&6256?im(r,"resolvedExports"):r.flags&1536?Gl(r):r.exports||Le}function Gl(r){var t=Ja(r);return t.resolvedExports||(t.resolvedExports=fd(r))}function Kc(r,t,i,o){!t||t.forEach(function(s,c){if(c!=="default"){var L=r.get(c);if(!L)r.set(c,s),i&&o&&i.set(c,{specifierText:e.getTextOfNode(o.moduleSpecifier)});else if(i&&o&&L&&wo(L)!==wo(s)){var G=i.get(c);G.exportsWithDuplicate?G.exportsWithDuplicate.push(o):G.exportsWithDuplicate=[o]}}})}function fd(r){var t=[];return r=ll(r),i(r)||Le;function i(o){if(!!(o&&o.exports&&e.pushIfUnique(t,o))){var s=new e.Map(o.exports),c=o.exports.get("__export");if(c){var L=e.createSymbolTable(),G=new e.Map;if(c.declarations)for(var ce=0,we=c.declarations;ce=Ue?we.substr(0,Ue-3)+"...":we}function Rf(r,t){var i=Zd(r.symbol)?gn(r,r.symbol.valueDeclaration):gn(r),o=Zd(t.symbol)?gn(t,t.symbol.valueDeclaration):gn(t);return i===o&&(i=Qd(r),o=Qd(t)),[i,o]}function Qd(r){return gn(r,void 0,64)}function Zd(r){return r&&!!r.valueDeclaration&&e.isExpression(r.valueDeclaration)&&!nu(r.valueDeclaration)}function Mc(r){return r===void 0&&(r=0),r&814775659}function $d(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===Hn(r.symbol)||!!(r.flags&524288)&&!!(e.getObjectFlags(r)&16777216))}function k_(){return{typeToTypeNode:function(jr,Sr,hn,nn){return r(Sr,hn,nn,function(Vn){return o(jr,Vn)})},indexInfoToIndexSignatureDeclaration:function(jr,Sr,hn,nn){return r(Sr,hn,nn,function(Vn){return we(jr,Vn,void 0)})},signatureToSignatureDeclaration:function(jr,Sr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Ue(jr,Sr,En)})},symbolToEntityName:function(jr,Sr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Aa(jr,En,Sr,!1)})},symbolToExpression:function(jr,Sr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Li(jr,En,Sr)})},symbolToTypeParameterDeclarations:function(jr,Sr,hn,nn){return r(Sr,hn,nn,function(Vn){return Tt(jr,Vn)})},symbolToParameterDeclaration:function(jr,Sr,hn,nn){return r(Sr,hn,nn,function(Vn){return _r(jr,Vn)})},typeParameterToDeclaration:function(jr,Sr,hn,nn){return r(Sr,hn,nn,function(Vn){return ar(jr,Vn)})},symbolTableToDeclarationStatements:function(jr,Sr,hn,nn,Vn){return r(Sr,hn,nn,function(En){return Fi(jr,En,Vn)})}};function r(jr,Sr,hn,nn){var Vn,En;e.Debug.assert(jr===void 0||(jr.flags&8)===0);var Fn={enclosingDeclaration:jr,flags:Sr||0,tracker:hn&&hn.trackSymbol?hn:{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};Fn.tracker=t(Fn,Fn.tracker);var Xr=nn(Fn);return Fn.truncating&&Fn.flags&1&&((En=(Vn=Fn.tracker)===null||Vn===void 0?void 0:Vn.reportTruncationError)===null||En===void 0||En.call(Vn)),Fn.encounteredError?void 0:Xr}function t(jr,Sr){var hn=Sr.trackSymbol;return Rn(Rn({},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:hn&&function(){for(var Vn=[],En=0;En(jr.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function o(jr,Sr){O&&O.throwIfCancellationRequested&&O.throwIfCancellationRequested();var hn=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=Eo(jr)),jr.flags&1)return jr.aliasSymbol?e.factory.createTypeReferenceNode(on(jr.aliasSymbol),G(jr.aliasTypeArguments,Sr)):jr===et?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,"unresolved"):(Sr.approximateLength+=3,e.factory.createKeywordTypeNode(jr===Wr?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=Ts(jr.symbol),Vn=ca(nn,Sr,788968);if(po(nn)===jr)return Vn;var En=e.symbolName(jr.symbol);return e.isIdentifierText(En,0)?Ad(Vn,e.factory.createTypeReferenceNode(En,void 0)):e.isImportTypeNode(Vn)?(Vn.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(Vn,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(En)))):e.isTypeReferenceNode(Vn)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(Vn.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(En))):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 Fn=jr.value;return Sr.approximateLength+=(""+Fn).length,e.factory.createLiteralTypeNode(Fn<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-Fn)):e.factory.createNumericLiteral(Fn))}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(Of(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(lh(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(!hn&&jr.aliasSymbol&&(Sr.flags&16384||ef(jr.aliasSymbol,Sr.enclosingDeclaration))){var Xr=G(jr.aliasTypeArguments,Sr);return Nf(jr.aliasSymbol.escapedName)&&!(jr.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),Xr):ca(jr.aliasSymbol,Sr,788968,Xr)}var it=e.getObjectFlags(jr);if(it&4)return e.Debug.assert(!!(jr.flags&524288)),jr.node?bs(jr,Ls):Ls(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(Je(jr,Sr,void 0));if(Sr.flags&4&&jr.flags&262144&&!ef(jr.symbol,Sr.enclosingDeclaration)){var Mt=di(jr,Sr);return Sr.approximateLength+=e.idText(Mt).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(Mt)),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?Lp(jr.types):jr.types;if(e.length(Bt)===1)return o(Bt[0],Sr);var Yt=G(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)),Xs(jr);if(jr.flags&4194304){var mn=jr.type;Sr.approximateLength+=6;var ya=o(mn,Sr);return e.factory.createTypeOperatorNode(140,ya)}if(jr.flags&134217728){var _a=jr.texts,qa=jr.types,Vi=e.factory.createTemplateHead(_a[0]),Qa=e.factory.createNodeArray(e.map(qa,function(Ma,Ri){return e.factory.createTemplateLiteralTypeSpan(o(Ma,Sr),(Ri10)return s(Sr);Sr.symbolDepth.set(st,Gn+1)}Sr.visitedTypes.add(Bs);var Tn=Sr.approximateLength,zt=Ri(Ma),ni=Sr.approximateLength-Tn;return!Sr.reportedDiagnostic&&!Sr.encounteredError&&(Sr.truncating&&(zt.truncating=!0),zt.addedLength=ni,(uo=kt==null?void 0:kt.serializedTypes)===null||uo===void 0||uo.set($t,zt)),Sr.visitedTypes.delete(Bs),st&&Sr.symbolDepth.set(st,Gn),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 Yf(Ma){if(El(Ma)||Ma.containsError)return ss(Ma);var Ri=Sc(Ma);if(!Ri.properties.length&&!Ri.indexInfos.length){if(!Ri.callSignatures.length&&!Ri.constructSignatures.length)return Sr.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(Ri.callSignatures.length===1&&!Ri.constructSignatures.length){var qo=Ri.callSignatures[0],uo=Ue(qo,178,Sr);return uo}if(Ri.constructSignatures.length===1&&!Ri.callSignatures.length){var qo=Ri.constructSignatures[0],uo=Ue(qo,179,Sr);return uo}}var Bs=e.filter(Ri.constructSignatures,function(Gn){return!!(Gn.flags&4)});if(e.some(Bs)){var Kr=e.map(Bs,Zm),st=Ri.callSignatures.length+(Ri.constructSignatures.length-Bs.length)+Ri.indexInfos.length+(Sr.flags&2048?e.countWhere(Ri.properties,function(Gn){return!(Gn.flags&4194304)}):e.length(Ri.properties));return st&&Kr.push(du(Ri)),o(To(Kr),Sr)}var kt=Sr.flags;Sr.flags|=4194304;var $t=xv(Ri);Sr.flags=kt;var ea=e.factory.createTypeLiteralNode($t);return Sr.approximateLength+=2,e.setEmitFlags(ea,Sr.flags&1024?0:1),ea}function Ls(Ma){var Ri=vo(Ma);if(Ma.target===se||Ma.target===Be){if(Sr.flags&2){var qo=o(Ri[0],Sr);return e.factory.createTypeReferenceNode(Ma.target===se?"Array":"ReadonlyArray",[qo])}var uo=o(Ri[0],Sr),Bs=e.factory.createArrayTypeNode(uo);return Ma.target===se?Bs:e.factory.createTypeOperatorNode(144,Bs)}else if(Ma.target.objectFlags&8){if(Ri=e.sameMap(Ri,function(eo,Ko){return gm(eo,!!(Ma.target.elementFlags[Ko]&2))}),Ri.length>0){var Kr=op(Ma),st=G(Ri.slice(0,Kr),Sr);if(st){if(Ma.target.labeledElementDeclarations)for(var kt=0;kt0){var ls=(Ma.target.typeParameters||e.emptyArray).length;ps=G(Ri.slice(kt,ls),Sr)}var $t=Sr.flags;Sr.flags|=16;var Xo=ca(Ma.symbol,Sr,788968,ps);return Sr.flags=$t,Tn?Ad(Tn,Xo):Xo}}function Ad(Ma,Ri){if(e.isImportTypeNode(Ma)){var qo=Ma.typeArguments,uo=Ma.qualifier;uo&&(e.isIdentifier(uo)?uo=e.factory.updateIdentifier(uo,qo):uo=e.factory.updateQualifiedName(uo,uo.left,e.factory.updateIdentifier(uo.right,qo))),qo=Ri.typeArguments;for(var Bs=Cv(Ri),Kr=0,st=Bs;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),Vn=nn?e.createUnderscoreEscapedMultiMap():void 0,En=[],Fn=0,Xr=0,it=jr;Xr0)):Vn=[jr],Vn;function Fn(Xr,it,Mt){var Bt=kf(Xr,Sr.enclosingDeclaration,it,!!(Sr.flags&128)),Yt;if(!Bt||Uu(Bt[0],Sr.enclosingDeclaration,Bt.length===1?it:ac(it))){var mn=rc(Bt?Bt[0]:Xr,Sr.enclosingDeclaration,it);if(e.length(mn)){Yt=mn.map(function(ao){return e.some(ao.declarations,Ec)?Nn(ao,Sr):void 0});var ya=mn.map(function(ao,Ds){return Ds});ya.sort(Vo);for(var _a=ya.map(function(ao){return mn[ao]}),qa=0,Vi=_a;qa1?qa(Vn,Vn.length-1,1):void 0,Xr=nn||At(Vn,0,Sr),it=Nn(Vn[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 Mt=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(it));if(Sr.tracker.trackExternalModuleSymbolOfImportTypeNode&&Sr.tracker.trackExternalModuleSymbolOfImportTypeNode(Vn[0]),Sr.approximateLength+=it.length+10,!Fn||e.isEntityName(Fn)){if(Fn){var Bt=e.isIdentifier(Fn)?Fn:Fn.right;Bt.typeArguments=void 0}return e.factory.createImportTypeNode(Mt,Fn,Xr,En)}else{var Yt=Vt(Fn),mn=Yt.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(Mt,mn,Xr,En),Yt.indexType)}}var ya=qa(Vn,Vn.length-1,0);if(e.isIndexedAccessTypeNode(ya))return ya;if(En)return e.factory.createTypeQueryNode(ya);var Bt=e.isIdentifier(ya)?ya:ya.right,_a=Bt.typeArguments;return Bt.typeArguments=void 0,e.factory.createTypeReferenceNode(ya,_a);function qa(Vi,Qa,ho){var Vo=Qa===Vi.length-1?nn:At(Vi,Qa,Sr),ao=Vi[Qa],Ds=Vi[Qa-1],ss;if(Qa===0)Sr.flags|=16777216,ss=Fc(ao,Sr),Sr.approximateLength+=(ss?ss.length:0)+1,Sr.flags^=16777216;else if(Ds&&Js(Ds)){var Xs=Js(Ds);e.forEachEntry(Xs,function(Ls,Ad){if(Ll(Ls,ao)&&!Ip(Ad)&&Ad!=="export=")return ss=e.unescapeLeadingUnderscores(Ad),!0})}if(ss||(ss=Fc(ao,Sr)),Sr.approximateLength+=ss.length+1,!(Sr.flags&16)&&Ds&&af(Ds)&&af(Ds).get(ao.escapedName)&&Ll(af(Ds).get(ao.escapedName),ao)){var bs=qa(Vi,Qa-1,ho);return e.isIndexedAccessTypeNode(bs)?e.factory.createIndexedAccessTypeNode(bs,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ss))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(bs,Vo),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ss)))}var Yf=e.setEmitFlags(e.factory.createIdentifier(ss,Vo),16777216);if(Yf.symbol=ao,Qa>ho){var bs=qa(Vi,Qa-1,ho);return e.isEntityName(bs)?e.factory.createQualifiedName(bs,Yf):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Yf}}function la(jr,Sr,hn){var nn=Uo(Sr.enclosingDeclaration,jr,788968,void 0,jr,!1);return nn?!(nn.flags&262144&&nn===hn.symbol):!1}function di(jr,Sr){var hn,nn;if(Sr.flags&4&&Sr.typeParameterNames){var Vn=Sr.typeParameterNames.get(Bc(jr));if(Vn)return Vn}var En=Aa(jr.symbol,Sr,788968,!0);if(!(En.kind&79))return e.factory.createIdentifier("(Missing type parameter)");if(Sr.flags&4){for(var Fn=En.escapedText,Xr=((hn=Sr.typeParameterNamesByTextNextNameCount)===null||hn===void 0?void 0:hn.get(Fn))||0,it=Fn;((nn=Sr.typeParameterNamesByText)===null||nn===void 0?void 0:nn.has(it))||la(it,Sr,jr);)Xr++,it="".concat(Fn,"_").concat(Xr);it!==Fn&&(En=e.factory.createIdentifier(it,En.typeArguments)),(Sr.typeParameterNamesByTextNextNameCount||(Sr.typeParameterNamesByTextNextNameCount=new e.Map)).set(Fn,Xr),(Sr.typeParameterNames||(Sr.typeParameterNames=new e.Map)).set(Bc(jr),En),(Sr.typeParameterNamesByText||(Sr.typeParameterNamesByText=new e.Set)).add(Fn)}return En}function Aa(jr,Sr,hn,nn){var Vn=Zr(jr,Sr,hn);return nn&&Vn.length!==1&&!Sr.encounteredError&&!(Sr.flags&65536)&&(Sr.encounteredError=!0),En(Vn,Vn.length-1);function En(Fn,Xr){var it=At(Fn,Xr,Sr),Mt=Fn[Xr];Xr===0&&(Sr.flags|=16777216);var Bt=Fc(Mt,Sr);Xr===0&&(Sr.flags^=16777216);var Yt=e.setEmitFlags(e.factory.createIdentifier(Bt,it),16777216);return Yt.symbol=Mt,Xr>0?e.factory.createQualifiedName(En(Fn,Xr-1),Yt):Yt}}function Li(jr,Sr,hn){var nn=Zr(jr,Sr,hn);return Vn(nn,nn.length-1);function Vn(En,Fn){var Xr=At(En,Fn,Sr),it=En[Fn];Fn===0&&(Sr.flags|=16777216);var Mt=Fc(it,Sr);Fn===0&&(Sr.flags^=16777216);var Bt=Mt.charCodeAt(0);if(e.isSingleOrDoubleQuote(Bt)&&e.some(it.declarations,Ec))return e.factory.createStringLiteral(Nn(it,Sr));var Yt=Bt===35?Mt.length>1&&e.isIdentifierStart(Mt.charCodeAt(1),De):e.isIdentifierStart(Bt,De);if(Fn===0||Yt){var mn=e.setEmitFlags(e.factory.createIdentifier(Mt,Xr),16777216);return mn.symbol=it,Fn>0?e.factory.createPropertyAccessExpression(Vn(En,Fn-1),mn):mn}else{Bt===91&&(Mt=Mt.substring(1,Mt.length-1),Bt=Mt.charCodeAt(0));var ya=void 0;return e.isSingleOrDoubleQuote(Bt)?ya=e.factory.createStringLiteral(Mt.substring(1,Mt.length-1).replace(/\\./g,function(_a){return _a.substring(1)}),Bt===39):""+ +Mt===Mt&&(ya=e.factory.createNumericLiteral(+Mt)),ya||(ya=e.setEmitFlags(e.factory.createIdentifier(Mt,Xr),16777216),ya.symbol=it),e.factory.createElementAccessExpression(Vn(En,Fn-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 xo(jr,Sr){var hn=!!e.length(jr.declarations)&&e.every(jr.declarations,Ai),nn=Wt(jr,Sr,hn);if(nn)return nn;var Vn=e.unescapeLeadingUnderscores(jr.escapedName),En=!!e.length(jr.declarations)&&e.every(jr.declarations,Bi);return Ft(Vn,En,hn)}function Wt(jr,Sr,hn){var nn=Ja(jr).nameType;if(nn){if(nn.flags&384){var Vn=""+nn.value;return!e.isIdentifierText(Vn,e.getEmitScriptTarget(Xe))&&!zf(Vn)?e.factory.createStringLiteral(Vn,!!hn):zf(Vn)&&e.startsWith(Vn,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+Vn)):Ft(Vn)}if(nn.flags&8192)return e.factory.createComputedPropertyName(Li(nn.symbol,Sr,111551))}}function Ft(jr,Sr,hn){return e.isIdentifierText(jr,e.getEmitScriptTarget(Xe))?e.factory.createIdentifier(jr):!Sr&&zf(jr)&&+jr>=0?e.factory.createNumericLiteral(+jr):e.factory.createStringLiteral(jr,!!hn)}function _n(jr){var Sr=Rn({},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(hn){return!!e.getEffectiveTypeAnnotationNode(hn)&&(!Sr||!!e.findAncestor(hn,function(nn){return nn===Sr}))})}function Yn(jr,Sr){return!(e.getObjectFlags(Sr)&4)||!e.isTypeReferenceNode(jr)||e.length(jr.typeArguments)>=lf(Sr.target.typeParameters)}function Ba(jr,Sr,hn,nn,Vn,En){if(!Ua(Sr)&&nn){var Fn=Ca(hn,nn);if(Fn&&!e.isFunctionLikeDeclaration(Fn)&&!e.isGetAccessorDeclaration(Fn)){var Xr=e.getEffectiveTypeAnnotationNode(Fn);if(Da(Xr)===Sr&&Yn(Xr,Sr)){var it=jn(jr,Xr,Vn,En);if(it)return it}}}var Mt=jr.flags;Sr.flags&8192&&Sr.symbol===hn&&(!jr.enclosingDeclaration||e.some(hn.declarations,function(Yt){return e.getSourceFileOfNode(Yt)===e.getSourceFileOfNode(jr.enclosingDeclaration)}))&&(jr.flags|=1048576);var Bt=o(Sr,jr);return jr.flags=Mt,Bt}function Ti(jr,Sr,hn,nn,Vn){if(!Ua(Sr)&&jr.enclosingDeclaration){var En=hn.declaration&&e.getEffectiveReturnTypeNode(hn.declaration);if(!!e.findAncestor(En,function(Mt){return Mt===jr.enclosingDeclaration})&&En){var Fn=Da(En),Xr=Fn.flags&262144&&Fn.isThisType?oi(Fn,hn.mapper):Fn;if(Xr===Sr&&Yn(En,Sr)){var it=jn(jr,En,nn,Vn);if(it)return it}}}return o(Sr,jr)}function Mi(jr,Sr,hn){var nn,Vn,En=!1,Fn=e.getFirstIdentifier(jr);if(e.isInJSFile(jr)&&(e.isExportsIdentifier(Fn)||e.isModuleExportsAccessExpression(Fn.parent)||e.isQualifiedName(Fn.parent)&&e.isModuleIdentifier(Fn.parent.left)&&e.isExportsIdentifier(Fn.parent.right)))return En=!0,{introducesError:En,node:jr};var Xr=rs(Fn,67108863,!0,!0);if(Xr&&(rf(Xr,Sr.enclosingDeclaration,67108863,!1).accessibility!==0?En=!0:((Vn=(nn=Sr.tracker)===null||nn===void 0?void 0:nn.trackSymbol)===null||Vn===void 0||Vn.call(nn,Xr,Sr.enclosingDeclaration,67108863),hn==null||hn(Xr)),e.isIdentifier(jr))){var it=Xr.flags&262144?di(po(Xr),Sr):e.factory.cloneNode(jr);return it.symbol=Xr,{introducesError:En,node:e.setEmitFlags(e.setOriginalNode(it,jr),16777216)}}return{introducesError:En,node:jr}}function jn(jr,Sr,hn,nn){O&&O.throwIfCancellationRequested&&O.throwIfCancellationRequested();var Vn=!1,En=e.getSourceFileOfNode(Sr),Fn=e.visitNode(Sr,Xr);if(Vn)return;return Fn===Sr?e.setTextRange(e.factory.cloneNode(Sr),Sr):Fn;function Xr(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,Xr),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(it))return e.factory.createUnionTypeNode([e.visitNode(it.type,Xr),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(it))return e.visitNode(it.type,Xr);if(e.isJSDocVariadicType(it))return e.factory.createArrayTypeNode(e.visitNode(it.type,Xr));if(e.isJSDocTypeLiteral(it))return e.factory.createTypeLiteralNode(e.map(it.jsDocPropertyTags,function(Qa){var ho=e.isIdentifier(Qa.name)?Qa.name:Qa.name.right,Vo=ia(Da(it),ho.escapedText),ao=Vo&&Qa.typeExpression&&Da(Qa.typeExpression.type)!==Vo?o(Vo,jr):void 0;return e.factory.createPropertySignature(void 0,ho,Qa.isBracketed||Qa.typeExpression&&e.isJSDocOptionalType(Qa.typeExpression.type)?e.factory.createToken(57):void 0,ao||Qa.typeExpression&&e.visitNode(Qa.typeExpression.type,Xr)||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],Xr))],e.visitNode(it.typeArguments[1],Xr))]);if(e.isJSDocFunctionType(it))if(e.isJSDocConstructSignature(it)){var Mt;return e.factory.createConstructorTypeNode(it.modifiers,e.visitNodes(it.typeParameters,Xr),e.mapDefined(it.parameters,function(Qa,ho){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText==="new"?(Mt=Qa.type,void 0):e.factory.createParameterDeclaration(void 0,void 0,_a(Qa),qa(Qa,ho),Qa.questionToken,e.visitNode(Qa.type,Xr),void 0)}),e.visitNode(Mt||it.type,Xr)||e.factory.createKeywordTypeNode(130))}else return e.factory.createFunctionTypeNode(e.visitNodes(it.typeParameters,Xr),e.map(it.parameters,function(Qa,ho){return e.factory.createParameterDeclaration(void 0,void 0,_a(Qa),qa(Qa,ho),Qa.questionToken,e.visitNode(Qa.type,Xr),void 0)}),e.visitNode(it.type,Xr)||e.factory.createKeywordTypeNode(130));if(e.isTypeReferenceNode(it)&&e.isInJSDoc(it)&&(!Yn(it,Da(it))||ID(it)||We===rg(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)>=lf(mu(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,Xr,e.isTypeNode),it.isTypeOf)}if(e.isEntityName(it)||e.isEntityNameExpression(it)){var Yt=Mi(it,jr,hn),mn=Yt.introducesError,ya=Yt.node;if(Vn=Vn||mn,ya!==it)return ya}return En&&e.isTupleTypeNode(it)&&e.getLineAndCharacterOfPosition(En,it.pos).line===e.getLineAndCharacterOfPosition(En,it.end).line&&e.setEmitFlags(it,1),e.visitEachChild(it,Xr,e.nullTransformationContext);function _a(Qa){return Qa.dotDotDotToken||(Qa.type&&e.isJSDocVariadicType(Qa.type)?e.factory.createToken(25):void 0)}function qa(Qa,ho){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText==="this"?"this":_a(Qa)?"args":"arg".concat(ho)}function Vi(Qa,ho){if(nn){if(jr.tracker&&jr.tracker.moduleResolverHost){var Vo=kT(Qa);if(Vo){var ao=e.createGetCanonicalFileName(!!j.useCaseSensitiveFileNames),Ds={getCanonicalFileName:ao,getCurrentDirectory:function(){return jr.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return jr.tracker.moduleResolverHost.getCommonSourceDirectory()}},ss=e.getResolvedExternalModuleName(Ds,Vo);return e.factory.createStringLiteral(ss)}}}else if(jr.tracker&&jr.tracker.trackExternalModuleSymbolOfImportTypeNode){var Xs=Pc(ho,ho,void 0);Xs&&jr.tracker.trackExternalModuleSymbolOfImportTypeNode(Xs)}return ho}}}function Fi(jr,Sr,hn){var nn=vi(e.factory.createPropertyDeclaration,168,!0),Vn=vi(function(ot,ln,aa,qn,ra){return e.factory.createPropertySignature(ln,aa,qn,ra)},167,!1),En=Sr.enclosingDeclaration,Fn=[],Xr=new e.Set,it=[],Mt=Sr;Sr=Rn(Rn({},Mt),{usedSymbolNames:new e.Set(Mt.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:Rn(Rn({},Mt.tracker),{trackSymbol:function(ot,ln,aa){var qn=rf(ot,ln,aa,!1);if(qn.accessibility===0){var ra=Et(ot,Sr,aa);ot.flags&4||bs(ra[0])}else if(Mt.tracker&&Mt.tracker.trackSymbol)return Mt.tracker.trackSymbol(ot,ln,aa);return!1}})}),Sr.tracker=t(Sr,Sr.tracker),e.forEachEntry(jr,function(ot,ln){var aa=e.unescapeLeadingUnderscores(ln);$o(ot,aa)});var Bt=!hn,Yt=jr.get("export=");return Yt&&jr.size>1&&Yt.flags&2097152&&(jr=e.createSymbolTable(),jr.set("export=",Yt)),Ds(jr),Qa(Fn);function mn(ot){return!!ot&&ot.kind===79}function ya(ot){return e.isVariableStatement(ot)?e.filter(e.map(ot.declarationList.declarations,e.getNameOfDeclaration),mn):e.filter([e.getNameOfDeclaration(ot)],mn)}function _a(ot){var ln=e.find(ot,e.isExportAssignment),aa=e.findIndex(ot,e.isModuleDeclaration),qn=aa!==-1?ot[aa]:void 0;if(qn&&ln&&ln.isExportEquals&&e.isIdentifier(ln.expression)&&e.isIdentifier(qn.name)&&e.idText(qn.name)===e.idText(ln.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)})){Fn=[];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){Ls(Va,pi?1:0)}),ot=Gt(Gt([],e.filter(ot,function(Va){return Va!==qn&&Va!==ln}),!0),Fn,!0)}}return ot}function qa(ot){var ln=e.filter(ot,function(Pa){return e.isExportDeclaration(Pa)&&!Pa.moduleSpecifier&&!!Pa.exportClause&&e.isNamedExports(Pa.exportClause)});if(e.length(ln)>1){var aa=e.filter(ot,function(Pa){return!e.isExportDeclaration(Pa)||!!Pa.moduleSpecifier||!Pa.exportClause});ot=Gt(Gt([],aa,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(ln,function(Pa){return e.cast(Pa.exportClause,e.isNamedExports).elements})),void 0)],!1)}var qn=e.filter(ot,function(Pa){return e.isExportDeclaration(Pa)&&!!Pa.moduleSpecifier&&!!Pa.exportClause&&e.isNamedExports(Pa.exportClause)});if(e.length(qn)>1){var ra=e.group(qn,function(Pa){return e.isStringLiteral(Pa.moduleSpecifier)?">"+Pa.moduleSpecifier.text:">"});if(ra.length!==qn.length)for(var Xa=function(Pa){Pa.length>1&&(ot=Gt(Gt([],e.filter(ot,function(qi){return Pa.indexOf(qi)===-1}),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Pa,function(qi){return e.cast(qi.exportClause,e.isNamedExports).elements})),Pa[0].moduleSpecifier)],!1))},ja=0,pi=ra;ja=0){var aa=ot[ln],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 ho(ot[qi])})){for(var pi=0,Va=ja;pi0&&e.isSingleOrDoubleQuote(qn.charCodeAt(0))?e.stripQuotes(qn):qn}return ln==="default"?ln="_default":ln==="export="&&(ln="_exports"),ln=e.isIdentifierText(ln,De)&&!e.isStringANonContextualKeyword(ln)?ln:"_"+ln.replace(/[^a-zA-Z0-9]/g,"_"),ln}function $o(ot,ln){var aa=y(ot);return Sr.remappedSymbolNames.has(aa)?Sr.remappedSymbolNames.get(aa):(ln=Ko(ot,ln),Sr.remappedSymbolNames.set(aa,ln),ln)}}}function Yc(r,t,i,o){return i===void 0&&(i=16384),o?s(o).getText():e.usingSingleLineStringWriter(s);function s(c){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&&Dr.typeToTypeNode(r.type,t,Mc(i)|70221824|512)),G=e.createPrinter({removeComments:!0}),ce=t&&e.getSourceFileOfNode(t);return G.writeNode(4,L,ce,c),c}}function Lp(r){for(var t=[],i=0,o=0;o=0){for(var o=uc.length,s=i;s=0;i--){if(nt(uc[i],no[i]))return-1;if(uc[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 uc.pop(),no.pop(),cu.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 Oa(r){var t=po(Ts(r));return t.typeParameters?Uf(t,e.map(t.typeParameters,function(i){return Ze})):t}function ia(r,t){var i=Ii(r,t);return i?An(i):void 0}function ti(r,t){var i;return ia(r,t)||((i=ip(r,t))===null||i===void 0?void 0:i.type)||tr}function Na(r){return r&&(r.flags&1)!==0}function Ua(r){return r===dr||!!(r.flags&1&&r.aliasSymbol)}function Go(r){var t=wn(r);return t&&Ja(t).type||ep(r,!1)}function cl(r,t,i){if(r=rl(r,function(Ue){return!(Ue.flags&98304)}),r.flags&131072)return Qn;if(r.flags&1048576)return ds(r,function(Ue){return cl(Ue,t,i)});var o=ma(e.map(t,lp));if(M_(r)||F_(o)){if(o.flags&131072)return r;var s=nO();return s?eg(s,[r,o]):dr}for(var c=e.createSymbolTable(),L=0,G=Yi(r);L=2?iO(Ze):Sn;var L=e.map(o,function(Ue){return e.isOmittedExpression(Ue)?Ze:Ho(Ue,t,i)}),G=e.findLastIndex(o,function(Ue){return!(Ue===c||e.isOmittedExpression(Ue)||fg(Ue))},o.length-1)+1,ce=e.map(o,function(Ue,Je){return Ue===c?4:Je>=G?2:1}),we=Tu(L,ce);return t&&(we=ED(we),we.pattern=r,we.objectFlags|=262144),we}function xs(r,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),r.kind===200?gs(r,t,i):_l(r,t,i)}function Cl(r,t){return ju(ep(r,!0),r,t)}function bl(r){var t=wn(r),i=Jk(!1);return i&&t&&t===i}function ju(r,t,i){return r?(r.flags&4096&&bl(t.parent)&&(r=T0(t)),i&&qy(t,r),r.flags&8192&&(e.isBindingElement(t)||!t.type)&&r.symbol!==wn(t)&&(r=na),wl(r)):(r=e.isParameter(t)&&t.dotDotDotToken?Sn:Ze,i&&(ul(t)||Fp(t,r)),r)}function ul(r){var t=e.getRootDeclaration(r),i=t.kind===163?t.parent:t;return Ob(i)}function Ps(r){var t=e.getEffectiveTypeAnnotationNode(r);if(t)return Da(t)}function Ff(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 Oa(r);if(r===ze)return Ze;if(r.flags&134217728&&r.valueDeclaration){var t=wn(e.getSourceFileOfNode(r.valueDeclaration)),i=fo(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),ts(r,o,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(r.valueDeclaration);var s=r.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var c=e.getEffectiveTypeAnnotationNode(s);if(c===void 0)return Hr?tr:Ze;var L=jp(c);return Na(L)||L===tr?L:dr}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?wl(Mp(ui(s.statements[0].expression))):Qn;if(!E(r,0))return r.flags&512&&!(r.flags&67108864)?Io(r):tp(r);var G;if(s.kind===270)G=ju(Ps(s)||Ss(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))G=On(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 Io(r);G=e.isBinaryExpression(s.parent)?On(r):Ps(s)||Ze}else if(e.isPropertyAssignment(s))G=Ps(s)||lx(s);else if(e.isJsxAttribute(s))G=Ps(s)||qA(s);else if(e.isShorthandPropertyAssignment(s))G=Ps(s)||bg(s.name,0);else if(e.isObjectLiteralMethod(s))G=Ps(s)||cx(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))G=Cl(s,!0);else if(e.isEnumDeclaration(s))G=Io(r);else if(e.isEnumMember(s))G=rp(r);else if(e.isAccessor(s))G=an(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()?G:r.flags&512&&!(r.flags&67108864)?Io(r):tp(r)}function ml(r){if(r)if(r.kind===171){var t=e.getEffectiveReturnTypeNode(r);return t}else{var i=e.getEffectiveSetAccessorTypeAnnotationNode(r);return i}}function _(r){var t=ml(r);return t&&Da(t)}function W(r){var t=wT(r);return t&&t.symbol}function be(r){return d_(bu(r))}function nr(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),!E(r,0))return dr;var i=an(r,t);if(!Ot()&&(i=Ze,Ke)){var o=e.getDeclarationOfKind(r,171);Mr(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 an(r,t){t===void 0&&(t=!1);var i=e.getDeclarationOfKind(r,171),o=e.getDeclarationOfKind(r,172),s=_(o);if(t&&s)return ce(s,r);if(i&&e.isInJSFile(i)){var c=Mf(i);if(c)return ce(c,r)}var L=_(i);if(L)return ce(L,r);if(s)return s;if(i&&i.body){var G=xb(i);return ce(G,r)}if(o)return Ob(o)||pc(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"),Ob(i)||pc(Ke,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Wa(r)),Ze;return;function ce(we,Ue){if(e.getCheckFlags(Ue)&1){var Je=Ja(Ue);return oi(we,Je.mapper)}return we}}function si(r){var t=Ju(Hn(r));return t.flags&8650752?t:t.flags&2097152?e.find(t.types,function(i){return!!(i.flags&8650752)}):void 0}function Io(r){var t=Ja(r),i=t;if(!t.type){var o=r.valueDeclaration&&Lb(r.valueDeclaration,!1);if(o){var s=z1(r,o);s&&(r=t=s)}i.type=t.type=vs(r)}return t.type}function vs(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 On(r);if(r.flags&512&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var i=ll(r);if(i!==r){if(!E(r,0))return dr;var o=Ga(r.exports.get("export=")),s=On(o,o===i?void 0:i);return Ot()?s:tp(r)}}var c=Bl(16,r);if(r.flags&32){var L=si(r);return L?To([c,L]):c}else return Er&&r.flags&16777216?Jf(c):c}function rp(r){var t=Ja(r);return t.type||(t.type=jl(r))}function Gc(r){var t=Ja(r);if(!t.type){var i=ms(r),o=r.declarations&&mo(ec(r),!0),s=e.firstDefined(o==null?void 0:o.declarations,function(c){return e.isExportAssignment(c)?Ps(c):void 0});t.type=(o==null?void 0:o.declarations)&&jb(o.declarations)&&r.declarations.length?Gr(o):jb(r.declarations)?xr:s||(i.flags&111551?An(i):dr)}return t.type}function Gm(r){var t=Ja(r);if(!t.type){if(!E(r,0))return t.type=dr;var i=oi(An(t.target),t.mapper);Ot()||(i=tp(r)),t.type=i}return t.type}function tp(r){var t=r.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Mr(r.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Wa(r)),dr):(Ke&&(t.kind!==163||t.initializer)&&Mr(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 Bm(r){var t=Ja(r);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=t.deferralParent.flags&1048576?ma(t.deferralConstituents):To(t.deferralConstituents)),t.type}function Fv(r){if(r.flags&98304){var t=Ur(r);if(t)return t}return An(r)}function An(r){var t=e.getCheckFlags(r);return t&65536?Bm(r):t&1?Gm(r):t&262144?BE(r):t&8192?lw(r):r.flags&7?Ff(r):r.flags&9136?Io(r):r.flags&8?rp(r):r.flags&98304?nr(r):r.flags&2097152?Gc(r):dr}function Gf(r){return gm(An(r),!!(r.flags&16777216))}function nf(r,t){return r!==void 0&&t!==void 0&&(e.getObjectFlags(r)&4)!==0&&r.target===t}function O_(r){return e.getObjectFlags(r)&4?r.target:r}function Cp(r,t){return i(r);function i(o){if(e.getObjectFlags(o)&7){var s=O_(o);return s===t||e.some(xl(s),i)}else if(o.flags&2097152)return e.some(o.types,i);return!1}}function Um(r,t){for(var i=0,o=t;i0)return!0;if(r.flags&8650752){var t=l(r);return!!t&&o_(t)}return!1}function s_(r){return e.getEffectiveBaseTypeNode(r.symbol.valueDeclaration)}function vd(r,t,i){var o=e.length(t),s=e.isInJSFile(i);return e.filter(Ni(r,1),function(c){return(s||o>=lf(c.typeParameters))&&o<=e.length(c.typeParameters)})}function Vm(r,t,i){var o=vd(r,t,i),s=e.map(t,Da);return e.sameMap(o,function(c){return e.some(c.typeParameters)?ah(c,s,e.isInJSFile(i)):c})}function Ju(r){if(!r.resolvedBaseConstructorType){var t=r.symbol.valueDeclaration,i=e.getEffectiveBaseTypeNode(t),o=s_(r);if(!o)return r.resolvedBaseConstructorType=kr;if(!E(r,1))return dr;var s=ui(o.expression);if(i&&o!==i&&(e.Debug.assert(!i.typeArguments),ui(i.expression)),s.flags&2621440&&Sc(s),!Ot())return Mr(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&&!tm(s)){var c=Mr(o.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,gn(s));if(s.flags&262144){var L=$m(s),G=tr;if(L){var ce=Ni(L,1);ce[0]&&(G=_o(ce[0]))}s.symbol.declarations&&e.addRelatedInfo(c,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(G)))}return r.resolvedBaseConstructorType=dr}r.resolvedBaseConstructorType=s}return r.resolvedBaseConstructorType}function Bv(r){var t=e.emptyArray;if(r.symbol.declarations)for(var i=0,o=r.symbol.declarations;i=_r&&ce<=Br){var Zr=Br?Sy(ar,P_(G,ar.typeParameters,_r,L)):Np(ar);Zr.typeParameters=r.localTypeParameters,Zr.resolvedReturnType=r,Zr.flags=s?Zr.flags|4:Zr.flags&-5,we.push(Zr)}}return we}function jv(r,t,i,o,s){for(var c=0,L=r;c0)return;for(var o=1;o1&&(i=i===void 0?o:-1);for(var s=0,c=r[o];s1){var we=L.thisParameter,Ue=e.forEach(G,function(Vt){return Vt.thisParameter});if(Ue){var Je=To(e.mapDefined(G,function(Vt){return Vt.thisParameter&&An(Vt.thisParameter)}));we=V_(Ue,Je)}ce=cy(L,G),ce.thisParameter=we}(t||(t=[])).push(ce)}}}}if(!e.length(t)&&i!==-1){for(var ar=r[i!==void 0?i:0],_r=ar.slice(),Br=function(Vt){if(Vt!==ar){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"),_r=!!Nn.typeParameters&&e.some(_r,function(on){return!!on.typeParameters&&!py(Nn.typeParameters,on.typeParameters)})?void 0:e.map(_r,function(on){return _y(on,Nn)}),!_r)return"break"}},Zr=0,Et=r;Zr=s?r:t,L=c===r?t:r,G=c===r?o:s,ce=xu(r)||xu(t),we=ce&&!xu(c),Ue=new Array(G+(we?1:0)),Je=0;Je=Cu(c)&&Je>=Cu(L),Tt=Je>=o?void 0:vg(r,Je),At=Je>=s?void 0:vg(t,Je),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=fo(1|(Et&&!Zr?16777216:0),Vt||"arg".concat(Je));Nn.type=Zr?zs(Br):Br,Ue[Je]=Nn}if(we){var on=fo(1,"args");on.type=zs(Uc(L,G)),L===t&&(on.type=oi(on.type,i)),Ue[G]=on}return Ue}function _y(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,c=Wm(r,t,o),L=Hv(r.thisParameter,t.thisParameter,o),G=Math.max(r.minArgumentCount,t.minArgumentCount),ce=hu(s,i,L,c,void 0,void 0,G,(r.flags|t.flags)&39);return ce.compositeKind=1048576,ce.compositeSignatures=e.concatenate(r.compositeKind!==2097152&&r.compositeSignatures||[r],[t]),o&&(ce.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?m_(r.mapper,o):o),ce}function Jv(r){var t=Ms(r[0]);if(t){for(var i=[],o=function(G){var ce=G.keyType;e.every(r,function(we){return!!oc(we,ce)})&&i.push(Eu(ce,ma(e.map(r,function(we){return tu(we,ce)})),e.some(r,function(we){return oc(we,ce).isReadonly})))},s=0,c=t;s0}),i=e.map(r,o_);if(t>0&&t===e.countWhere(i,function(s){return s})){var o=i.indexOf(!0);i[o]=!1}return i}function jg(r,t,i,o){for(var s=[],c=0;c0&&(Je=e.map(Je,function(ar){var _r=Np(ar);return _r.resolvedReturnType=jg(_o(ar),s,c,we),_r})),i=vy(i,Je)}t=vy(t,Ni(Ue,0)),o=e.reduceLeft(Ms(Ue),function(ar,_r){return hy(ar,_r,!1)},o)},ce=0;ce=7):t.flags&528?qr:t.flags&12288?FD(De>=2):t.flags&67108864?Qn:t.flags&4194304?_t:t.flags&2&&!Er?Qn:t}function Is(r){return Eo(wi(Eo(r)))}function Ks(r,t,i){for(var o,s,c,L,G,ce=r.flags&1048576,we=ce?0:16777216,Ue=4,Je=ce?0:8,ar=!1,_r=0,Br=r.types;_r2?(_n.checkFlags|=65536,_n.deferralParent=r,_n.deferralConstituents=Bi):_n.type=ce?ma(Bi):To(Bi),_n}}function hs(r,t,i){var o,s,c=((o=r.propertyCacheWithoutObjectFunctionPropertyAugment)===null||o===void 0?void 0:o.get(t))||!i?(s=r.propertyCache)===null||s===void 0?void 0:s.get(t):void 0;if(!c&&(c=Ks(r,t,i),c)){var L=i?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):r.propertyCache||(r.propertyCache=e.createSymbolTable());L.set(t,c)}return c}function ic(r,t,i){var o=hs(r,t,i);return o&&!(e.getCheckFlags(o)&16)?o:void 0}function Eo(r){return r.flags&1048576&&r.objectFlags&33554432?r.resolvedReducedType||(r.resolvedReducedType=zu(r)):r.flags&2097152?(r.objectFlags&33554432||(r.objectFlags|=33554432|(e.some(Km(r),u_)?67108864:0)),r.objectFlags&67108864?en:r):r}function zu(r){var t=e.sameMap(r.types,Eo);if(t===r.types)return r;var i=ma(t);return i.flags&1048576&&(i.resolvedReducedType=i),i}function u_(r){return sm(r)||ap(r)}function sm(r){return!(r.flags&16777216)&&(e.getCheckFlags(r)&131264)===192&&!!(An(r).flags&131072)}function ap(r){return!r.valueDeclaration&&!!(e.getCheckFlags(r)&1024)}function zm(r,t){if(t.flags&2097152&&e.getObjectFlags(t)&67108864){var i=e.find(Km(t),sm);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(Km(t),ap);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=Is(r),r.flags&524288){var o=Sc(r),s=o.members.get(t);if(s&&If(s))return s;if(i)return;var c=o===yi?Oe:o.callSignatures.length?oe:o.constructSignatures.length?mr:void 0;if(c){var L=hd(c,t);if(L)return L}return hd(Un,t)}if(r.flags&3145728)return ic(r,t,i)}function Hg(r,t){if(r.flags&3670016){var i=Sc(r);return t===0?i.callSignatures:i.constructSignatures}return e.emptyArray}function Ni(r,t){return Hg(Is(r),t)}function $v(r,t){return e.find(r,function(i){return i.keyType===t})}function eh(r,t){for(var i,o,s,c=0,L=r;c=0),i>=Cu(t,3)}var o=e.getImmediatelyInvokedFunctionExpression(r.parent);return o?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=o.arguments.length:!1}function Ck(r){return e.isPropertyDeclaration(r)&&r.questionToken}function zE(r){if(!e.isJSDocPropertyLikeTag(r))return!1;var t=r.isBracketed,i=r.typeExpression;return t||!!i&&i.type.kind===314}function nh(r,t,i,o){return{kind:r,parameterName:t,parameterIndex:i,type:o}}function lf(r){var t=0;if(r)for(var i=0;i=i&&c<=s){for(var L=r?r.slice():[],G=c;GG.arguments.length&&!_r||Qm(Je);Zr||(s=i.length)}if((r.kind===171||r.kind===172)&&c_(r)&&(!L||!c)){var Et=r.kind===171?172:171,Tt=e.getDeclarationOfKind(wn(r),Et);Tt&&(c=W(Tt))}var At=r.kind===170?Hn(Ga(r.parent.symbol)):void 0,Vt=At?At.localTypeParameters:th(r);(e.hasRestParameter(r)||e.isInJSFile(r)&&xk(r,i))&&(o|=1),(e.isConstructorTypeNode(r)&&e.hasSyntacticModifier(r,128)||e.isConstructorDeclaration(r)&&e.hasSyntacticModifier(r.parent,128))&&(o|=4),t.resolvedSignature=hu(r,Vt,c,i,void 0,void 0,s,o)}return t.resolvedSignature}function xk(r,t){if(e.isJSDocSignature(r)||!XE(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}),c=fo(3,"args",32768);return c.type=s?zs(Da(s.type)):Sn,s&&t.pop(),t.push(c),!0}function qE(r){if(!!(e.isInJSFile(r)&&e.isFunctionLikeDeclaration(r))){var t=e.getJSDocTypeTag(r);return(t==null?void 0:t.typeExpression)&&j_(Da(t.typeExpression))}}function Ik(r){var t=qE(r);return t&&_o(t)}function XE(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===Jr.escapedName&&Av(o)===Jr;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 Op(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(bu(o))}}return t}function pD(r){var t=ws(r,r);if(t){var i=ll(t);if(i)return An(i)}return Ze}function d_(r){if(r.thisParameter)return An(r.thisParameter)}function Dc(r){if(!r.resolvedTypePredicate){if(r.target){var t=Dc(r.target);r.resolvedTypePredicate=t?nR(t,r.mapper):to}else if(r.compositeSignatures)r.resolvedTypePredicate=gO(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=qE(r.declaration);s&&r!==s&&(o=Dc(s))}r.resolvedTypePredicate=i&&e.isTypePredicateNode(i)?Nk(i,r):o||to}e.Debug.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===to?void 0:r.resolvedTypePredicate}function Nk(r,t){var i=r.parameterName,o=r.type&&Da(r.type);return i.kind===191?nh(r.assertsModifier?2:0,void 0,void 0,o):nh(r.assertsModifier?3:1,i.escapedText,e.findIndex(t.parameters,function(s){return s.escapedName===i.escapedText}),o)}function _D(r,t,i){return t!==2097152?ma(r,i):To(r)}function _o(r){if(!r.resolvedReturnType){if(!E(r,3))return dr;var t=r.target?oi(_o(r.target),r.mapper):r.compositeSignatures?oi(_D(e.map(r.compositeSignatures,_o),r.compositeKind,2),r.mapper):lm(r.declaration)||(e.nodeIsMissing(r.declaration.body)?Ze:xb(r.declaration));if(r.flags&8?t=XL(t):r.flags&16&&(t=Jf(t)),!Ot()){if(r.declaration){var i=e.getEffectiveReturnTypeNode(r.declaration);if(i)Mr(i,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Ke){var o=r.declaration,s=e.getNameOfDeclaration(o);s?Mr(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)):Mr(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 lm(r){if(r.kind===170)return Hn(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&&c_(r)){var i=e.isInJSFile(r)&&Mf(r);if(i)return i;var o=e.getDeclarationOfKind(wn(r),172),s=_(o);if(s)return s}return Ik(r)}function YE(r){return!r.resolvedReturnType&&Qe(r,3)>=0}function kk(r){return mD(r)||Ze}function mD(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]),i=ki(t)?tv(t):t;return i&&tu(i,wt)}}function ah(r,t,i,o){var s=QE(r,P_(t,r.typeParameters,lf(r.typeParameters),i));if(o){var c=TC(_o(s));if(c){var L=Np(c);L.typeParameters=o;var G=Np(s);return G.resolvedReturnType=Zm(L),G}}return s}function QE(r,t){var i=r.instantiations||(r.instantiations=new e.Map),o=sc(t),s=i.get(o);return s||i.set(o,s=Sy(r,t)),s}function Sy(r,t){return pm(r,Ok(r,t),!0)}function Ok(r,t){return Ol(r.typeParameters,t)}function Kg(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=Rk(r)):r}function Rk(r){return pm(r,bL(r.typeParameters),!0)}function wk(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=Pk(r)):r}function Pk(r){return ah(r,e.map(r.typeParameters,function(t){return t.target&&!Nl(t.target)?t.target:t}),e.isInJSFile(r.declaration))}function Mk(r){var t=r.typeParameters;if(t){if(r.baseSignatureCache)return r.baseSignatureCache;for(var i=bL(t),o=Ol(t,e.map(t,function(L){return Nl(L)||tr})),s=e.map(t,function(L){return oi(L,o)||tr}),c=0;c1&&(t+=":"+c),o+=c}return t}function cm(r,t){return r?"@".concat(y(r))+(t?":".concat(sc(t)):""):""}function $E(r,t){for(var i=0,o=0,s=r;oo.length)){var ce=L&&e.isExpressionWithTypeArguments(r)&&!e.isJSDocAugmentsTag(r.parent),we=c===o.length?ce?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?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(Mr(r,we,Ue,c,o.length),!L)return dr}if(r.kind===177&&jD(r,e.length(r.typeArguments)!==o.length))return e0(i,r,void 0);var Je=e.concatenate(i.outerTypeParameters,P_(xy(r),o,c,L));return Uf(i,Je)}return Rp(r,t)?i:dr}function eg(r,t,i,o){var s=po(r);if(s===Wr&&U.has(r.escapedName)&&t&&t.length===1)return Ny(r,t[0]);var c=Ja(r),L=c.typeParameters,G=sc(t)+cm(i,o),ce=c.instantiations.get(G);return ce||c.instantiations.set(G,ce=DL(s,Ol(L,P_(t,L,lf(L),e.isInJSFile(r.valueDeclaration))),i,o)),ce}function Gk(r,t){if(e.getCheckFlags(t)&1048576){var i=xy(r),o=cm(t,i),s=me.get(o);return s||(s=jo(1,"error"),s.aliasSymbol=t,s.aliasTypeArguments=i,me.set(o,s)),s}var c=po(t),L=Ja(t).typeParameters;if(L){var G=e.length(r.typeArguments),ce=lf(L);if(GL.length)return Mr(r,ce===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),ce,L.length),dr;var we=G_(r),Ue=we&&(SD(t)||!SD(we))?we:void 0;return eg(t,xy(r),Ue,um(Ue))}return Rp(r,t)?c:dr}function SD(r){var t,i=(t=r.declarations)===null||t===void 0?void 0:t.find(e.isTypeAlias);return!!(i&&e.getContainingFunction(i))}function Bk(r){switch(r.kind){case 177:return r.typeName;case 227:var t=r.expression;if(e.isEntityNameExpression(t))return t}}function DD(r){return r.parent?"".concat(DD(r.parent),".").concat(r.escapedName):r.escapedName}function Ly(r){var t=r.kind===160?r.right:r.kind===205?r.name:r,i=t.escapedText;if(i){var o=r.kind===160?Ly(r.left):r.kind===205?Ly(r.expression):void 0,s=o?"".concat(DD(o),".").concat(i):i,c=Ne.get(s);return c||(Ne.set(s,c=fo(524288,i,1048576)),c.parent=o,c.declaredType=et),c}return We}function rg(r,t,i){var o=Bk(r);if(!o)return We;var s=rs(o,t,i);return s&&s!==We?s:i?We:Ly(o)}function Ay(r,t){if(t===We)return dr;if(t=Sf(t)||t,t.flags&96)return TD(r,t);if(t.flags&524288)return Gk(r,t);var i=l_(t);if(i)return Rp(r,t)?kl(i):dr;if(t.flags&111551&&Cy(r)){var o=Uk(r,t);return o||(rg(r,788968),An(t))}return dr}function Uk(r,t){var i=Zn(r);if(!i.resolvedJSDocType){var o=An(t),s=o;if(t.valueDeclaration){var c=r.kind===199&&r.qualifier;o.symbol&&o.symbol!==t&&c&&(s=Ay(r,o.symbol))}i.resolvedJSDocType=s}return i.resolvedJSDocType}function LD(r,t){if(t.flags&3||t===r)return r;var i="".concat(Bc(r),">").concat(Bc(t)),o=or.get(i);if(o)return o;var s=Qs(33554432);return s.baseType=r,s.substitute=t,or.set(i,s),s}function AD(r){return r.kind===183&&r.elements.length===1}function CD(r,t,i){return AD(t)&&AD(i)?CD(r,t.elements[0],i.elements[0]):p_(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 c=CD(r,s.checkType,s.extendsType);c&&(i=e.append(i,c))}t=s}return i?LD(r,To(e.append(i,r))):r}function Cy(r){return!!(r.flags&4194304)&&(r.kind===177||r.kind===199)}function Rp(r,t){return r.typeArguments?(Mr(r,e.Diagnostics.Type_0_is_not_generic,t?Wa(t):r.typeName?e.declarationNameToString(r.typeName):f),!1):!0}function ID(r){if(e.isIdentifier(r.typeName)){var t=r.typeArguments;switch(r.typeName.escapedText){case"String":return Rp(r),xt;case"Number":return Rp(r),wt;case"Boolean":return Rp(r),Jn;case"Void":return Rp(r),Wn;case"Undefined":return Rp(r),kr;case"Null":return Rp(r),ut;case"Function":case"function":return Rp(r),Oe;case"array":return(!t||!t.length)&&!Ke?Sn:void 0;case"promise":return(!t||!t.length)&&!Ke?Oh(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?[Eu(i,o,!1)]:e.emptyArray;return ts(void 0,Le,e.emptyArray,e.emptyArray,s)}return Ze}return Rp(r),Ke?void 0:Ze}}}function Vk(r){var t=Da(r.type);return Er?jy(t,65536):t}function ih(r){var t=Zn(r);if(!t.resolvedType){if(e.isConstTypeReference(r)&&e.isAssertionExpression(r.parent))return t.resolvedSymbol=We,t.resolvedType=Ss(r.parent.expression);var i=void 0,o=void 0,s=788968;Cy(r)&&(o=ID(r),o||(i=rg(r,s,!0),i===We?i=rg(r,s|111551):rg(r,s),o=Ay(r,i))),o||(i=rg(r,s),o=Ay(r,i)),t.resolvedSymbol=i,t.resolvedType=o}return t.resolvedType}function xy(r){return e.map(r.typeArguments,Da)}function ND(r){var t=Zn(r);if(!t.resolvedType){var i=e.isThisIdentifier(r.exprName)?lb(r.exprName):ui(r.exprName);t.resolvedType=kl(wl(i))}return t.resolvedType}function kD(r,t){function i(s){var c=s.declarations;if(c)for(var L=0,G=c;L=0)return sh(e.map(t,function(Tt,At){return r.elementFlags[At]&8?Tt:tr}))?ds(t[c],function(Tt){return JD(r,e.replaceElement(t,c,Tt))}):dr}for(var L=[],G=[],ce=[],we=-1,Ue=-1,Je=-1,ar=function(Tt){var At=t[Tt],Vt=r.elementFlags[Tt];if(Vt&8)if(At.flags&58982400||El(At))Et(At,8,(i=r.labeledElementDeclarations)===null||i===void 0?void 0:i[Tt]);else if(ki(At)){var Nn=vo(At);if(Nn.length+L.length>=1e4)return Mr(_e,e.isPartOfTypeNode(_e)?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(on,ca){var la;return Et(on,At.target.elementFlags[ca],(la=At.target.labeledElementDeclarations)===null||la===void 0?void 0:la[ca])})}else Et(_p(At)&&tu(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])},_r=0;_r=0&&Ueo.fixedLength?zR(r)||Tu(e.emptyArray):Tu(vo(r).slice(t,s),o.elementFlags.slice(t,s),!1,o.labeledElementDeclarations&&o.labeledElementDeclarations.slice(t,s))}function KD(r){return ma(e.append(e.arrayOf(r.target.fixedLength,function(t){return Lc(""+t)}),qu(r.target.readonly?Be:se)))}function zD(r,t){var i=e.findIndex(r.elementFlags,function(o){return!(o&t)});return i>=0?i:r.elementFlags.length}function Iy(r,t){return r.elementFlags.length-e.findLastIndex(r.elementFlags,function(i){return!(i&t)})-1}function uO(r){return Wl(Da(r.type),!0)}function Bc(r){return r.id}function sp(r,t){return e.binarySearch(r,t,Bc,e.compareValues)>=0}function s0(r,t){var i=e.binarySearch(r,t,Bc,e.compareValues);return i<0?(r.splice(~i,0,t),!0):!1}function fO(r,t,i){var o=i.flags;if(o&1048576)return qD(r,t|(mO(i)?1048576:0),i.types);if(!(o&131072))if(t|=o&205258751,o&465829888&&(t|=33554432),i===fr&&(t|=8388608),!Er&&o&98304)e.getObjectFlags(i)&131072||(t|=4194304);else{var s=r.length,c=s&&i.id>r[s-1].id?~s:e.binarySearch(r,i,Bc,e.compareValues);c<0&&r.splice(~c,0,i)}return t}function qD(r,t,i){for(var o=0,s=i;o0;){L--;var ce=r[L];if(s||ce.flags&469499904)for(var we=ce.flags&61603840?e.find(Yi(ce),function(Et){return Su(An(Et))}):void 0,Ue=we&&kl(An(we)),Je=0,ar=r;Je1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:r.map(function(Et){return Et.id})}),Mr(_e,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(G++,we&&_r.flags&61603840){var Zr=ia(_r,we.escapedName);if(Zr&&Su(Zr)&&kl(Zr)!==Ue)continue}if(Hf(ce,_r,ri)&&(!(e.getObjectFlags(O_(ce))&1)||!(e.getObjectFlags(O_(_r))&1)||_m(ce,_r))){e.orderedRemoveItemAt(r,L);break}}}}return fe.set(i,r),r}function pO(r,t,i){for(var o=r.length;o>0;){o--;var s=r[o],c=s.flags,L=c&402653312&&t&4||c&256&&t&8||c&2048&&t&64||c&8192&&t&4096||i&&c&32768&&t&16384||Pp(s)&&sp(r,s.regularType);L&&e.orderedRemoveItemAt(r,o)}}function _O(r){var t=e.filter(r,ag);if(t.length)for(var i=r.length,o=function(){i--;var s=r[i];s.flags&128&&e.some(t,function(c){return iA(s,c)})&&e.orderedRemoveItemAt(r,i)};i>0;)o()}function mO(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function XD(r,t){for(var i=0,o=t;i=0&&sp(c,kr)&&e.orderedRemoveItemAt(c,G)}if((L&402664320||L&16384&&L&32768)&&pO(c,L,!!(t&2)),L&128&&L&134217728&&_O(c),t===2&&(c=dO(c,!!(L&524288)),!c))return dr;if(c.length===0)return L&65536?L&4194304?ut:ht:L&32768?L&4194304?kr:zr:en}if(!s&&L&1048576){var ce=[];XD(ce,r);for(var we=[],Ue=function(At){e.some(ce,function(Vt){return sp(Vt.types,At)})||we.push(At)},Je=0,ar=c;Je0;){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 bO(r,t){for(var i=0,o=r;i0;){t--;var o=r[t];if(!!(o.flags&134217728))for(var s=0,c=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}),Mr(_e,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function DO(r){for(var t=$D(r),i=[],o=0;o=0;L--)if(r[L].flags&1048576){var G=r[L].types,ce=G.length;s[L]=G[c%ce],c=Math.floor(c/ce)}var we=To(s);we.flags&131072||i.push(we)}return i}function LO(r){var t=Zn(r);if(!t.resolvedType){var i=G_(r);t.resolvedType=To(e.map(r.types,Da),i,um(i))}return t.resolvedType}function eL(r,t){var i=Qs(4194304);return i.type=r,i.stringsOnly=t,i}function AO(r){var t=Jd(4194304);return t.type=r,t}function rL(r,t){return t?r.resolvedStringIndexType||(r.resolvedStringIndexType=eL(r,!0)):r.resolvedIndexType||(r.resolvedIndexType=eL(r,!1))}function CO(r,t,i){var o=eu(r),s=Tc(r),c=of(r.target||r);if(!c&&!i)return s;var L=[];if(Hm(r)){if(F_(s))return rL(r,t);var G=wi(Jm(r));qv(G,8576,t,we)}else h_(jm(s),we);F_(s)&&h_(s,we);var ce=i?rl(ma(L),function(Ue){return!(Ue.flags&5)}):ma(L);if(ce.flags&1048576&&s.flags&1048576&&sc(ce.types)===sc(s.types))return s;return ce;function we(Ue){var Je=c?oi(c,$g(r.mapper,o,Ue)):Ue;L.push(Je===xt?oa:Je)}}function xO(r){var t=eu(r);return i(of(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 lp(r){return e.isPrivateIdentifier(r)?en:e.isIdentifier(r)?Lc(e.unescapeLeadingUnderscores(r.escapedText)):kl(e.isComputedPropertyName(r)?qf(r):ui(r))}function tg(r,t,i){if(i||!(e.getDeclarationModifierFlagsFromSymbol(r)&24)){var o=Ja(Vg(r)).nameType;if(!o){var s=e.getNameOfDeclaration(r.valueDeclaration);o=r.escapedName==="default"?Lc("default"):s&&lp(s)||(e.isKnownSymbol(r)?void 0:Lc(e.symbolName(r)))}if(o&&o.flags&t)return o}return en}function tL(r,t){return!!(r.flags&t||r.flags&2097152&&e.some(r.types,function(i){return tL(i,t)}))}function IO(r,t,i){var o=i&&(e.getObjectFlags(r)&7||r.aliasSymbol)?AO(r):void 0,s=e.map(Yi(r),function(L){return tg(L,t)}),c=e.map(Ms(r),function(L){return L!==Yo&&tL(L.keyType,t)?L.keyType===xt&&t&8?oa:L.keyType:en});return ma(e.concatenate(s,c),1,void 0,void 0,o)}function qu(r,t,i){return t===void 0&&(t=ur),r=Eo(r),r.flags&1048576?To(e.map(r.types,function(o){return qu(o,t,i)})):r.flags&2097152?ma(e.map(r.types,function(o){return qu(o,t,i)})):r.flags&58982400||lg(r)||El(r)&&!xO(r)?rL(r,t):e.getObjectFlags(r)&32?CO(r,t,i):r===fr?fr:r.flags&2?en:r.flags&131073?_t:IO(r,(i?128:402653316)|(t?0:12584),t===ur&&!i)}function nL(r){if(ur)return r;var t=tO();return t?eg(t,[r,xt]):xt}function NO(r){var t=nL(qu(r));return t.flags&131072?xt:t}function kO(r){var t=Zn(r);if(!t.resolvedType)switch(r.operator){case 140:t.resolvedType=qu(Da(r.type));break;case 153:t.resolvedType=r.type.kind===150?T0(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 OO(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=ng(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 ng(r,t){var i=e.findIndex(t,function(we){return!!(we.flags&1179648)});if(i>=0)return sh(t)?ds(t[i],function(we){return ng(r,e.replaceElement(t,i,we))}):dr;if(e.contains(t,fr))return fr;var o=[],s=[],c=r[0];if(!ce(r,t))return xt;if(o.length===0)return Lc(c);if(s.push(c),e.every(s,function(we){return we===""})&&e.every(o,function(we){return!!(we.flags&4)}))return xt;var L="".concat(sc(o),"|").concat(e.map(s,function(we){return we.length}).join(","),"|").concat(s.join("")),G=sr.get(L);return G||sr.set(L,G=wO(s,o)),G;function ce(we,Ue){for(var Je=0;Je=0){if(s&&Kf(t,function(on){return!on.target.hasRestElement})&&!(c&16)){var ar=p0(s);ki(t)?Mr(ar,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(t),op(t),e.unescapeLeadingUnderscores(ce)):Mr(ar,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ce),gn(t))}return Nn(oc(t,wt)),ds(t,function(on){var ca=tv(on)||kr;return c&1?ma([ca,kr]):ca})}}if(!(i.flags&98304)&&ys(i,402665900)){if(t.flags&131073)return t;var _r=Xm(t,i)||oc(t,xt);if(_r){if(c&2&&_r.keyType!==wt){G&&Mr(G,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,gn(i),gn(r));return}if(s&&_r.keyType===xt&&!ys(i,12)){var ar=p0(s);return Mr(ar,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i)),c&1?ma([_r.type,kr]):_r.type}return Nn(_r),c&1?ma([_r.type,kr]):_r.type}if(i.flags&131072)return en;if(Yg(t))return Ze;if(G&&!eT(t)){if(Gp(t)){if(Ke&&i.flags&384)return ua.add(e.createDiagnosticForNode(G,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,gn(t))),kr;if(i.flags&12){var Br=e.map(t.properties,function(on){return An(on)});return ma(e.append(Br,kr))}}if(t.symbol===pr&&ce!==void 0&&pr.exports.has(ce)&&pr.exports.get(ce).flags&418)Mr(G,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ce),gn(t));else if(Ke&&!Xe.suppressImplicitAnyIndexErrors&&!(c&128))if(ce!==void 0&&pC(ce,t)){var Zr=gn(t);Mr(G,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Zr,Zr+"["+e.getTextOfNode(G.argumentExpression)+"]")}else if(tu(t,wt))Mr(G.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var Et=void 0;if(ce!==void 0&&(Et=G1(ce,t)))Et!==void 0&&Mr(G.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,gn(t),Et);else{var Tt=yM(t,G,i);if(Tt!==void 0)Mr(G,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=sl(i.symbol,G);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(G,At))}}}return}}if(Yg(t))return Ze;if(s){var ar=p0(s);i.flags&384?Mr(ar,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+i.value,gn(t)):i.flags&12?Mr(ar,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,gn(t),gn(i)):Mr(ar,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i))}if(Na(i))return i;return;function Nn(on){on&&on.isReadonly&&G&&(e.isAssignmentTarget(G)||e.isDeleteTarget(G))&&Mr(G,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,gn(t))}}function p0(r){return r.kind===206?r.argumentExpression:r.kind===193?r.indexType:r.kind===161?r.expression:r}function iL(r){return!!(r.flags&77)}function ag(r){return!!(r.flags&134217728)&&e.every(r.types,iL)}function Qg(r){return!!Zg(r)}function M_(r){return!!(Zg(r)&8388608)}function F_(r){return!!(Zg(r)&16777216)}function Zg(r){return r.flags&3145728?(r.objectFlags&4194304||(r.objectFlags|=4194304|e.reduceLeft(r.types,function(t,i){return t|Zg(i)},0)),r.objectFlags&25165824):r.flags&33554432?(r.objectFlags&4194304||(r.objectFlags|=4194304|Zg(r.substitute)|Zg(r.baseType)),r.objectFlags&25165824):(r.flags&58982400||El(r)||lg(r)?8388608:0)|(r.flags&465829888&&!ag(r)?16777216:0)}function lh(r){return!!(r.flags&262144&&r.isThisType)}function Vf(r,t){return r.flags&8388608?UO(r,t):r.flags&16777216?VO(r,t):r}function oL(r,t,i){if(r.flags&3145728){var o=e.map(r.types,function(s){return Vf(Hl(s,t),i)});return r.flags&2097152||i?To(o):ma(o)}}function BO(r,t,i){if(t.flags&1048576){var o=e.map(t.types,function(s){return Vf(Hl(r,s),i)});return i?To(o):ma(o)}}function UO(r,t){var i=t?"simplifiedForWriting":"simplifiedForReading";if(r[i])return r[i]===Ka?r:r[i];r[i]=Ka;var o=Vf(r.objectType,t),s=Vf(r.indexType,t),c=BO(o,s,t);if(c)return r[i]=c;if(!(s.flags&465829888)){var L=oL(o,s,t);if(L)return r[i]=L}if(lg(o)&&s.flags&296){var G=Wy(o,s.flags&8?0:o.target.fixedLength,0,t);if(G)return r[i]=G}return El(o)?r[i]=ds(lL(o,r.indexType),function(ce){return Vf(ce,t)}):r[i]=r}function VO(r,t){var i=r.checkType,o=r.extendsType,s=up(r),c=fp(r);if(c.flags&131072&&p_(s)===p_(i)){if(i.flags&1||Qi(g_(i),g_(o)))return Vf(s,t);if(sL(i,o))return en}else if(s.flags&131072&&p_(c)===p_(i)){if(!(i.flags&1)&&Qi(g_(i),g_(o)))return en;if(i.flags&1||sL(i,o))return Vf(c,t)}return r}function sL(r,t){return!!(ma([om(r,t),en]).flags&131072)}function lL(r,t){var i=Ol([eu(r)],[t]),o=m_(r.mapper,i);return oi(yu(r),o)}function Hl(r,t,i,o,s,c){return i===void 0&&(i=0),cp(r,t,i,o,s,c)||(o?dr:tr)}function cL(r,t){return Kf(r,function(i){if(i.flags&384){var o=vu(i);if(zf(o)){var s=+o;return s>=0&&s=t?tr:i})}function m_(r,t){return r?Py(3,r,t):t}function rR(r,t){return r?Py(4,r,t):t}function dm(r,t,i){return i?Py(4,B_(r,t),i):B_(r,t)}function $g(r,t,i){return r?Py(4,r,B_(t,i)):B_(t,i)}function tR(r){return r.constraint===tr?r:r.restrictiveInstantiation||(r.restrictiveInstantiation=nc(r.symbol),r.restrictiveInstantiation.constraint=tr,r.restrictiveInstantiation)}function EL(r){var t=nc(r.symbol);return t.target=r,t}function nR(r,t){return nh(r.kind,r.parameterName,r.parameterIndex,oi(r.type,t))}function pm(r,t,i){var o;if(r.typeParameters&&!i){o=e.map(r.typeParameters,EL),t=m_(Ol(r.typeParameters,o),t);for(var s=0,c=o;s=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:r.id,instantiationDepth:ve,instantiationCount:he}),Mr(_e,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),dr;Ge++,he++,ve++;var s=cR(r,t,i,o);return ve--,s}function cR(r,t,i,o){var s=r.flags;if(s&262144)return dp(r,t);if(s&524288){var c=r.objectFlags;if(c&52){if(c&4&&!r.node){var L=r.resolvedTypeArguments,G=bd(L,t);return G!==L?o0(r.target,G):r}return c&1024?uR(r,t):aR(r,t,i,o)}return r}if(s&3145728){var ce=r.flags&1048576?r.origin:void 0,we=ce&&ce.flags&3145728?ce.types:r.types,Ue=bd(we,t);if(Ue===we&&i===r.aliasSymbol)return r;var Je=i||r.aliasSymbol,ar=i?o:bd(r.aliasTypeArguments,t);return s&2097152||ce&&ce.flags&2097152?To(Ue,Je,ar):ma(Ue,1,Je,ar)}if(s&4194304)return qu(oi(r.type,t));if(s&134217728)return ng(r.texts,bd(r.types,t));if(s&268435456)return Ny(r.symbol,oi(r.type,t));if(s&8388608){var Je=i||r.aliasSymbol,ar=i?o:bd(r.aliasTypeArguments,t);return Hl(oi(r.objectType,t),oi(r.indexType,t),r.accessFlags,void 0,Je,ar)}if(s&16777216)return C0(r,m_(r.mapper,t),i,o);if(s&33554432){var _r=oi(r.baseType,t);if(_r.flags&8650752)return LD(_r,oi(r.substitute,t));var Br=oi(r.substitute,t);return Br.flags&3||Qi(g_(_r),g_(Br))?_r:Br}return r}function uR(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=rA(oi(r.source,t),i,o);return s||r}function Fy(r){return r.flags&262143?r:r.permissiveInstantiation||(r.permissiveInstantiation=oi(r,Cn))}function g_(r){return r.flags&262143?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=oi(r,rt),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function fR(r,t){return Eu(r.keyType,oi(r.type,t),r.isReadonly,r.declaration)}function nu(r){switch(e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r)),r.kind){case 212:case 213:case 168:case 255:return LL(r);case 204:return e.some(r.properties,nu);case 203:return e.some(r.elements,nu);case 221:return nu(r.whenTrue)||nu(r.whenFalse);case 220:return(r.operatorToken.kind===56||r.operatorToken.kind===60)&&(nu(r.left)||nu(r.right));case 294:return nu(r.initializer);case 211:return nu(r.expression);case 285:return e.some(r.properties,nu)||e.isJsxOpeningElement(r.parent)&&e.some(r.parent.parent.children,nu);case 284:{var t=r.initializer;return!!t&&nu(t)}case 287:{var i=r.expression;return!!i&&nu(i)}}return!1}function LL(r){return(!e.isFunctionDeclaration(r)||e.isInJSFile(r)&&!!Mf(r))&&(e.hasContextSensitiveParameters(r)||dR(r))}function dR(r){return!r.typeParameters&&!e.getEffectiveReturnTypeNode(r)&&!!r.body&&r.body.kind!==234&&nu(r.body)}function AL(r){return(e.isInJSFile(r)&&e.isFunctionDeclaration(r)||e.isFunctionExpressionOrArrowFunction(r)||e.isObjectLiteralMethod(r))&&LL(r)}function CL(r){if(r.flags&524288){var t=Sc(r);if(t.constructSignatures.length||t.callSignatures.length){var i=Bl(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 To(e.map(r.types,CL));return r}function jf(r,t){return Hf(r,t,fi)}function ev(r,t){return Hf(r,t,fi)?-1:0}function x0(r,t){return Hf(r,t,Ta)?-1:0}function pR(r,t){return Hf(r,t,ha)?-1:0}function Ed(r,t){return Hf(r,t,ha)}function Qi(r,t){return Hf(r,t,Ta)}function _m(r,t){return r.flags&1048576?e.every(r.types,function(i){return _m(i,t)}):t.flags&1048576?e.some(t.types,function(i){return _m(r,i)}):r.flags&58982400?_m(l(r)||tr,t):t===Un?!!(r.flags&67633152):t===Oe?!!(r.flags&524288)&&l1(r):Cp(r,O_(t))||el(t)&&!og(t)&&_m(r,Be)}function ig(r,t){return Hf(r,t,Ya)}function Gy(r,t){return ig(r,t)||ig(t,r)}function Rl(r,t,i,o,s,c){return au(r,t,Ta,i,o,s,c)}function pp(r,t,i,o,s,c){return I0(r,t,Ta,i,o,s,c,void 0)}function I0(r,t,i,o,s,c,L,G){return Hf(r,t,i)?!0:!o||!fh(s,r,t,i,c,L,G)?au(r,t,i,o,c,L,G):!1}function xL(r){return!!(r.flags&16777216||r.flags&2097152&&e.some(r.types,xL))}function fh(r,t,i,o,s,c,L){if(!r||xL(i))return!1;if(!au(t,i,o,void 0)&&_R(r,t,i,o,s,c,L))return!0;switch(r.kind){case 287:case 211:return fh(r.expression,t,i,o,s,c,L);case 220:switch(r.operatorToken.kind){case 63:case 27:return fh(r.right,t,i,o,s,c,L)}break;case 204:return SR(r,t,i,o,c,L);case 203:return ER(r,t,i,o,c,L);case 285:return bR(r,t,i,o,c,L);case 213:return mR(r,t,i,o,c,L)}return!1}function _R(r,t,i,o,s,c,L){for(var G=Ni(t,0),ce=Ni(t,1),we=0,Ue=[ce,G];we1,Zr=rl(ar,jL),Et=rl(ar,function(la){return!jL(la)});if(Br){if(Zr!==en){var Tt=Tu(pb(ce,0)),At=yR(ce,ca);L=rv(At,Tt,Zr,o,s,c)||L}else if(!Hf(Hl(t,Je),ar,o)){L=!0;var Vt=Mr(ce.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ue,gn(ar));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(Vt)}}else if(Et!==en){var Nn=_r[0],on=IL(Nn,Je,ca);on&&(L=rv(function(){return Rg(this,function(la){switch(la.label){case 0:return[4,on];case 1:return la.sent(),[2]}})}(),t,i,o,s,c)||L)}else if(!Hf(Hl(t,Je),ar,o)){L=!0;var Vt=Mr(ce.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(ar));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(Vt)}}return L;function ca(){if(!G){var la=e.getTextOfNode(r.parent.tagName),di=_b(Em(r)),Aa=di===void 0?"children":e.unescapeLeadingUnderscores(di),Li=Hl(i,Lc(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;G=Rn(Rn({},Bi),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,Bi,la,Aa,gn(Li))})}return G}}function NL(r,t){var i,o,s,c;return Rg(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 oce:Cu(r)>ce);if(we)return 0;r.typeParameters&&r.typeParameters!==t.typeParameters&&(t=wk(t),r=SC(r,t,void 0,L));var Ue=Tl(r),Je=_v(r),ar=_v(t);if((Je||ar)&&oi(Je||ar,G),Je&&ar&&Ue!==ce)return 0;var _r=t.declaration?t.declaration.kind:0,Br=!(i&3)&&lr&&_r!==168&&_r!==167&&_r!==170,Zr=-1,Et=d_(r);if(Et&&Et!==Wn){var Tt=d_(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=Je||ar?Math.min(Ue,ce):Math.max(Ue,ce),Nn=Je||ar?Vt-1:-1,on=0;on=Cu(r)&&on0||CT(Tn));if(so&&!IR(Tn,zt,vi)){if($t){var Ui=gn(Kr.aliasSymbol?Kr:Tn),ps=gn(st.aliasSymbol?st:zt),ls=Ni(Tn,0),Xo=Ni(Tn,1);ls.length>0&&jn(_o(ls[0]),zt,1,!1)||Xo.length>0&&jn(_o(Xo[0]),zt,1,!1)?_n(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ui,ps):_n(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ui,ps)}return 0}Fi(Tn,zt);var eo=0,Ko=xo();if((Tn.flags&1048576||zt.flags&1048576)&&SA(Tn)*SA(zt)<4?eo=mn(Tn,zt,$t,Gn|8):(Tn.flags&3145728||zt.flags&3145728)&&(eo=Yt(Tn,zt,$t,Gn|8,kt)),!eo&&!(Tn.flags&1048576)&&(Tn.flags&469499904||zt.flags&469499904)&&(eo=Yt(Tn,zt,$t,Gn,kt))&&Ai(Ko),!eo&&Tn.flags&2359296){var $o=KE(Tn.flags&2097152?Tn.types:[Tn],!!(zt.flags&1048576));$o&&(Tn.flags&2097152||zt.flags&1048576)&&Kf($o,function(ln){return ln!==Tn})&&(eo=jn($o,zt,1,!1,void 0,Gn))&&Ai(Ko)}return eo&&!Nn&&(zt.flags&2097152&&(ai||so)||v0(zt)&&!el(zt)&&!ki(zt)&&Tn.flags&2097152&&wi(Tn).flags&3670016&&!e.some(Tn.types,function(ln){return!!(e.getObjectFlags(ln)&524288)}))&&(Nn=!0,eo&=Yt(Tn,zt,$t,4,kt),Nn=!1),ot(Tn,zt,eo,vi),eo;function ot(ln,aa,qn,ra){if(!qn&&$t){var Xa=!!V0(Kr),ja=!!V0(st);ln=Kr.aliasSymbol||Xa?Kr:ln,aa=st.aliasSymbol||ja?st:aa;var pi=Tt>0;if(pi&&Tt--,ln.flags&524288&&aa.flags&524288){var Va=G;Ti(ln,aa,$t),G!==Va&&(pi=!!G)}if(ln.flags&524288&&aa.flags&131068)Ba(ln,aa);else if(ln.symbol&&ln.flags&524288&&Un===ln)_n(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 Pa=aa.types,qi=Vp(F.IntrinsicAttributes,o),yo=Vp(F.IntrinsicClassAttributes,o);if(!Ua(qi)&&!Ua(yo)&&(e.contains(Pa,qi)||e.contains(Pa,yo)))return qn}else G=zm(G,st);if(!ea&&pi)return At=[ln,aa],qn;Yn(ea,ln,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,Gn=$t.types.length;ea*Gn>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:Kr.id,sourceSize:ea,targetId:st.id,targetSize:Gn,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=Vn(Kr,st);return $t&&($t&=Vn(st,Kr)),$t}return Yt(Kr,st,!1,0,kt)}function Sr(Kr,st){var kt=function($t,ea){var Gn;ea=wi(ea);var Tn=ea.flags&3145728?ic(ea,st):hd(ea,st),zt=Tn&&An(Tn)||((Gn=ip(ea,st))===null||Gn===void 0?void 0:Gn.type)||kr;return e.append($t,zt)};return ma(e.reduceLeft(Kr,kt,void 0)||e.emptyArray)}function hn(Kr,st,kt){var $t;if(!Ah(st)||!Ke&&e.getObjectFlags(st)&8192)return!1;var ea=!!(e.getObjectFlags(Kr)&2048);if((i===Ta||i===Ya)&&(hh(Un,st)||!ea&&cf(st)))return!1;var Gn=st,Tn;st.flags&1048576&&(Gn=RI(Kr,st,jn)||HF(st),Tn=Gn.flags&1048576?Gn.types:[Gn]);for(var zt=function(Ui){if(nn(Ui,Kr.symbol)&&!wL(Kr,Ui)){if(!N1(Gn,Ui.escapedName,ea)){if(kt){var ps=rl(Gn,Ah);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 ls=Wa(Ui),Xo=mC(ls,ps),eo=Xo?Wa(Xo):void 0;eo?_n(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ls,gn(ps),eo):_n(e.Diagnostics.Property_0_does_not_exist_on_type_1,ls,gn(ps))}else{var Ko=(($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===Ko})&&e.getSourceFileOfNode(Ko)===e.getSourceFileOfNode(o)){var $o=Ui.valueDeclaration;e.Debug.assertNode($o,e.isObjectLiteralElementLike),o=$o;var ot=$o.name;e.isIdentifier(ot)&&(eo=G1(ot,ps))}eo!==void 0?_n(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(ps),eo):_n(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Wa(Ui),gn(ps))}}return{value:!0}}if(Tn&&!jn(An(Ui),Sr(Tn,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=Tn.types.length&&Gn.length%Tn.types.length===0){var vi=jn(ni,Tn.types[zt%Tn.types.length],3,!1,void 0,$t);if(vi){ea&=vi;continue}}var ai=jn(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 Gn=Kr.length<=st.length?Kr.length:st.length,Tn=-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=Gf(zt);ni[ai]=so.flags&1048576?so.types:[so],vi.add(zt.escapedName)}for(var Ui=e.cartesianProduct(ni),ps=[],ls=function(ra){var Xa=!1;e:for(var ja=0,pi=st.types;ja5?_n(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):_n(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&&G&&Tt++)}function ss(Kr,st,kt,$t,ea){if(i===fi)return Xs(Kr,st,$t);var Gn=-1;if(ki(st)){if(el(Kr)||ki(Kr)){if(!st.target.readonly&&(og(Kr)||ki(Kr)&&Kr.target.readonly))return 0;var Tn=op(Kr),zt=op(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&&Tn=zt-Xo)?Kr.target.elementFlags[$o]:4,ln=st.target.elementFlags[Ko];if(ln&8&&!(ot&8))return kt&&_n(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Ko),0;if(ot&8&&!(ln&12))return kt&&_n(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,$o,Ko),0;if(ln&1&&!(ot&1))return kt&&_n(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Ko),0;if(!(eo&&((ot&12||ln&12)&&(eo=!1),eo&&($t==null?void 0:$t.has(""+Ko))))){var aa=ki(Kr)?Ko=zt-Xo?gm(Ui[$o],!!(ot&ln&2)):Wy(Kr,ls,Xo)||en:Ui[0],qn=ps[Ko],ra=ot&8&&ln&4?zs(qn):gm(qn,!!(ln&2)),Xa=jn(aa,ra,3,kt,void 0,ea);if(!Xa)return kt&&(zt>1||Tn>1)&&(Ko=zt-Xo||Tn-ls-Xo===1?Wt(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,$o,Ko):Wt(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,ls,Tn-Xo-1,Ko)),0;Gn&=Xa}}return Gn}if(st.target.combinedFlags&12)return 0}var ja=(i===ha||i===ri)&&!Gp(Kr)&&!W0(Kr)&&!ki(Kr),pi=n1(Kr,st,ja,!1);if(pi)return kt&&Ds(Kr,st,pi,ja),0;if(Gp(st))for(var Va=0,Pa=ho(Yi(Kr),$t);Va0&&e.every(t.properties,function(i){return!!(i.flags&16777216)})}return r.flags&2097152?e.every(r.types,FL):!1}function IR(r,t,i){for(var o=0,s=Yi(r);o";continue}Je+="-"+Br.id}return Je}}function G0(r,t,i,o,s){if(o===fi&&r.id>t.id){var c=r;r=t,t=c}var L=i?":"+i:"";return By(r)&&By(t)?wR(r,t,L,s):"".concat(r.id,",").concat(t.id).concat(L)}function ph(r,t){if(e.getCheckFlags(r)&6){for(var i=0,o=r.containingType.types;i=o)for(var s=mh(r),c=0,L=0,G=0;G=L&&(c++,c>=o))return!0;L=ce.id}}return!1}function mh(r){if(r.flags&524288&&!a1(r)){if(e.getObjectFlags(r)&&4&&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 UL(r,t){return B0(r,t,ev)!==0}function B0(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(Am(r)!==Am(t))return 0}else if((r.flags&16777216)!==(t.flags&16777216))return 0;return Iu(r)!==Iu(t)?0:i(An(r),An(t))}function GR(r,t,i){var o=Tl(r),s=Tl(t),c=Cu(r),L=Cu(t),G=xu(r),ce=xu(t);return!!(o===s&&c===L&&G===ce||i&&c<=L)}function gh(r,t,i,o,s,c){if(r===t)return-1;if(!GR(r,t,i)||e.length(r.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var L=Ol(r.typeParameters,t.typeParameters),G=0;Ge.length(t.typeParameters)&&(s=Il(s,e.last(vo(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=s}}}function WL(r){return Er?r===qt:r===zr}function W0(r){var t=U0(r);return!!t&&WL(t)}function sg(r){return ki(r)||!!Ii(r,"0")}function jL(r){return _p(r)||sg(r)}function jR(r,t){var i=ia(r,""+t);if(i)return i;if(Kf(r,ki))return ds(r,function(o){return tv(o)||kr})}function HR(r){return!(r.flags&240512)}function Su(r){return!!(r.flags&109440)}function HL(r){return r.flags&2097152?e.some(r.types,Su):!!(r.flags&109440)}function JR(r){return r.flags&2097152&&e.find(r.types,Su)||r}function mm(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:e.every(r.types,Su):Su(r)}function Du(r){return r.flags&1024?Zs(r):r.flags&128?xt:r.flags&256?wt:r.flags&2048?Qt:r.flags&512?Jn:r.flags&1048576?ds(r,Du):r}function Mp(r){return r.flags&1024&&Pp(r)?Zs(r):r.flags&128&&Pp(r)?xt:r.flags&256&&Pp(r)?wt:r.flags&2048&&Pp(r)?Qt:r.flags&512&&Pp(r)?Jn:r.flags&1048576?ds(r,Mp):r}function JL(r){return r.flags&8192?na:r.flags&1048576?ds(r,JL):r}function j0(r,t){return Nb(r,t)||(r=JL(Mp(r))),r}function KR(r,t,i){if(r&&Su(r)){var o=t?i?yv(t):t:void 0;r=j0(r,o)}return r}function H0(r,t,i,o){if(r&&Su(r)){var s=t?Lm(i,t,o):void 0;r=j0(r,s)}return r}function ki(r){return!!(e.getObjectFlags(r)&4&&r.target.objectFlags&8)}function lg(r){return ki(r)&&!!(r.target.combinedFlags&8)}function KL(r){return lg(r)&&r.target.elementFlags.length===1}function tv(r){return Wy(r,r.target.fixedLength)}function zR(r){var t=tv(r);return t&&zs(t)}function Wy(r,t,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var s=op(r)-i;if(t-1&&(Uo(c,c.name.escapedText,788968,void 0,c.name.escapedText,!0)||c.name.originalKeywordKind&&e.isTypeNodeKind(c.name.originalKeywordKind))){var L="arg"+c.parent.parameters.indexOf(c),G=e.declarationNameToString(c.name)+(c.dotDotDotToken?"[]":"");pc(Ke,r,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,L,G);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:Mr(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?Mr(r,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,o):Mr(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&&Mr(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}pc(Ke,r,s,e.declarationNameToString(e.getNameOfDeclaration(r)),o)}}function qy(r,t,i){Se&&Ke&&e.getObjectFlags(t)&131072&&(!i||!D1(r))&&(zy(t)||Fp(r,t,i))}function X0(r,t,i){var o=Tl(r),s=Tl(t),c=pv(r),L=pv(t),G=L?s-1:s,ce=c?G:Math.min(o,G),we=d_(r);if(we){var Ue=d_(t);Ue&&i(we,Ue)}for(var Je=0;Jer.target.minLength||!t.target.hasRestElement&&(r.target.hasRestElement||t.target.fixedLength0){for(var Et=ar,Tt=_r;Tt=At(Et).indexOf(Zr,Tt),!(Tt>=0);){if(Et++,Et===r.length)return;Tt=0}Vt(Et,Tt),_r+=Zr.length}else if(_r0)for(var Xr=0,it=Ft;Xr1){var t=e.filter(r,a1);if(t.length){var i=ma(t,2);return e.concatenate(e.filter(r,function(o){return!a1(o)}),[i])}}return r}function bw(r){return r.priority&416?To(r.contraCandidates):WR(r.contraCandidates)}function Ew(r,t){var i=yw(r.candidates),o=hw(r.typeParameter),s=!o&&r.topLevel&&(r.isFixed||!e1(_o(t),r.typeParameter)),c=o?e.sameMap(i,kl):s?e.sameMap(i,Mp):i,L=r.priority&416?ma(c,2):VR(c);return wl(L)}function sA(r,t){var i=r.inferences[t];if(!i.inferredType){var o=void 0,s=r.signature;if(s){var c=i.candidates?Ew(i,s):void 0;if(i.contraCandidates)o=c&&!(c.flags&131072)&&e.some(i.contraCandidates,function(we){return Ed(c,we)})?c:bw(i);else if(c)o=c;else if(r.flags&1)o=St;else{var L=Bn(i.typeParameter);L&&(o=oi(L,rR(eR(r,t),r.nonFixingMapper)))}}else o=tA(i);i.inferredType=o||i1(!!(r.flags&2));var G=Nl(i.typeParameter);if(G){var ce=oi(G,r.nonFixingMapper);(!o||!r.compareTypes(o,Il(ce,o)))&&(i.inferredType=o=ce)}}return i.inferredType}function i1(r){return r?Ze:tr}function o1(r){for(var t=[],i=0;i=10&&o*2>=r.length?i:void 0}function Zy(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(c){return Su(An(c))?c.escapedName:void 0}):void 0}),o=i&&Sw(t,i);r.keyPropertyName=o?i:"",r.constituentMap=o}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function $y(r,t){var i,o=(i=r.constituentMap)===null||i===void 0?void 0:i.get(Bc(kl(t)));return o!==tr?o:void 0}function fA(r,t){var i=Zy(r),o=i&&ia(t,i);return o&&$y(r,o)}function Dw(r,t){var i=Zy(r),o=i&&e.find(t.properties,function(c){return c.symbol&&c.kind===294&&c.symbol.escapedName===i&&Sh(c.initializer)}),s=o&&Mh(o.initializer);return s&&$y(r,s)}function dA(r,t){return qs(r,t)||cA(r,t)}function pA(r,t){if(r.arguments)for(var i=0,o=r.arguments;i=0&&Mt.parameterIndex=Mt&&mn-1){var Vi=Yt.filter(function(ao){return ao!==void 0}),Qa=mn=2||(t.flags&34)===0||!t.valueDeclaration||e.isSourceFile(t.valueDeclaration)||t.valueDeclaration.parent.kind===291)){var i=e.getEnclosingBlockScopeContainer(t.valueDeclaration),o=rP(r,i),s=p1(i);if(s){if(o){var c=!0;if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);if(L&&L.parent===i){var G=tP(r.parent,i);if(G){var ce=Zn(G);ce.flags|=131072;var we=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);e.pushIfUnique(we,t),G===i.initializer&&(c=!1)}}}c&&(Zn(s).flags|=65536)}if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);L&&L.parent===i&&iP(r,i)&&(Zn(t.valueDeclaration).flags|=4194304)}Zn(t.valueDeclaration).flags|=524288}o&&(Zn(t.valueDeclaration).flags|=262144)}}function aP(r,t){var i=Zn(r);return!!i&&e.contains(i.capturedBlockScopeBindings,wn(t))}function iP(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(c){return c===t?"quit":c===t.statement}):!1}function _1(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 OA(r){return e.isSuperCall(r)?r:e.isFunctionLike(r)?void 0:e.forEachChild(r,OA)}function RA(r){var t=wn(r),i=po(t),o=Ju(i);return o===ht}function wA(r,t,i){var o=t.parent,s=e.getClassExtendsHeritageElement(o);s&&!RA(o)&&r.flowNode&&!ob(r.flowNode,!1)&&Mr(r,i)}function oP(r,t){e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)&&t.initializer&&e.textRangeContainsPositionInclusive(t.initializer,r.pos)&&e.length(t.parent.decorators)&&Mr(r,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function lb(r){var t=ug(r),i=e.getThisContainer(r,!0),o=!1;switch(i.kind===170&&wA(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),oP(r,i),i.kind){case 260:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:PA(r,i)&&Mr(r,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!t&&o&&De<2&&_1(r,i);var s=m1(r,!0,i);if(Pe){var c=An(pr);if(s===c&&o)Mr(r,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var L=Mr(r,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(i)){var G=m1(i);G&&G!==c&&e.addRelatedInfo(L,e.createDiagnosticForNode(i,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||Ze}function m1(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)&&(!h1(r)||e.getThisParameter(i))){var s=be(i)||o&&cP(i);if(!s){var c=lP(i);if(o&&c){var L=ui(c).symbol;L&&L.members&&L.flags&16&&(s=po(L).thisType)}else ou(i)&&(s=po(Ga(i.symbol)).thisType);s||(s=FA(i))}if(s)return b_(r,s)}if(e.isClassLike(i.parent)){var G=wn(i.parent),ce=e.isStatic(i)?An(G):po(G).thisType;return b_(r,ce)}if(e.isSourceFile(i))if(i.commonJsModuleIndicator){var we=wn(i);return we&&An(we)}else{if(i.externalModuleIndicator)return kr;if(t)return An(pr)}}function sP(r){var t=e.getThisContainer(r,!1);if(e.isFunctionLike(t)){var i=bu(t);if(i.thisParameter)return nb(i.thisParameter)}if(e.isClassLike(t.parent)){var o=wn(t.parent);return e.isStatic(t)?An(o):po(o).thisType}}function lP(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 cP(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 PA(r,t){return!!e.findAncestor(r,function(i){return e.isFunctionLikeDeclaration(i)?"quit":i.kind===163&&i.parent===t})}function g1(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=De<2;var c=Je(o),L=0;if(!c){var G=e.findAncestor(r,function(ar){return ar===o?"quit":ar.kind===161});return G&&G.kind===161?Mr(r,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Mr(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)?Mr(r,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Mr(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&&wA(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&&De>=2&&De<=8&&(e.isPropertyDeclaration(o)||e.isClassStaticBlockDeclaration(o))&&e.forEachEnclosingBlockScopeContainer(r.parent,function(ar){(!e.isSourceFile(ar)||e.isExternalOrCommonJsModule(ar))&&(Zn(ar).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&&_1(r.parent,o),o.parent.kind===204)return De<2?(Mr(r,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),dr):Ze;var ce=o.parent;if(!e.getClassExtendsHeritageElement(ce))return Mr(r,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),dr;var we=po(wn(ce)),Ue=we&&xl(we)[0];if(!Ue)return dr;if(o.kind===170&&PA(r,o))return Mr(r,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),dr;return L===512?Ju(we):Il(Ue,we.thisType);function Je(ar){return ar?t?ar.kind===170:e.isClassLike(ar.parent)||ar.parent.kind===204?e.isStatic(ar)?ar.kind===168||ar.kind===167||ar.kind===171||ar.kind===172||ar.kind===166||ar.kind===169:ar.kind===168||ar.kind===167||ar.kind===171||ar.kind===172||ar.kind===166||ar.kind===165||ar.kind===170:!1:!1}}function uP(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 MA(r){return e.getObjectFlags(r)&4&&r.target===Jt?vo(r)[0]:void 0}function fP(r){return ds(r,function(t){return t.flags&2097152?e.forEach(t.types,MA):MA(t)})}function FA(r){if(r.kind!==213){if(AL(r)){var t=Dh(r);if(t){var i=t.thisParameter;if(i)return An(i)}}var o=e.isInJSFile(r);if(Pe||o){var s=uP(r);if(s){for(var c=Up(s),L=s,G=c;G;){var ce=fP(G);if(ce)return oi(ce,$0(cv(s)));if(L.parent.kind!==294)break;L=L.parent.parent,G=Up(L)}return wl(c?Td(c):Ss(s))}var we=e.walkUpParenthesizedExpressions(r.parent);if(we.kind===220&&we.operatorToken.kind===63){var Ue=we.left;if(e.isAccessExpression(Ue)){var Je=Ue.expression;if(o&&e.isIdentifier(Je)){var ar=e.getSourceFileOfNode(we);if(ar.commonJsModuleIndicator&&Lu(Je)===ar.symbol)return}return wl(Ss(Je))}}}}}function GA(r){var t=r.parent;if(!!AL(t)){var i=e.getImmediatelyInvokedFunctionExpression(t);if(i&&i.arguments){var o=H1(i),s=t.parameters.indexOf(r);if(r.dotDotDotToken)return j1(o,s,o.length,Ze,void 0,0);var c=Zn(i),L=c.resolvedSignature;c.resolvedSignature=No;var G=s=o?Hl(An(i.parameters[o]),Wf(t-o),256):Uc(i,t)}function hP(r,t){if(r.parent.kind===209)return UA(r.parent,t)}function yP(r,t){var i=r.parent,o=i.left,s=i.operatorToken,c=i.right;switch(s.kind){case 63:case 76:case 75:case 77:return r===c?EP(i):void 0;case 56:case 60:var L=Ac(i,t);return r===c&&(L&&L.pattern||!L&&!e.isDefaultedExpandoInitializer(i))?tl(o):L;case 55:case 27:return r===c?Ac(i,t):void 0;default:return}}function bP(r){if(r.symbol)return r.symbol;if(e.isIdentifier(r))return Lu(r);if(e.isPropertyAccessExpression(r)){var t=tl(r.expression);return e.isPrivateIdentifier(r.name)?i(t,r.name):Ii(t,r.name.escapedText)}return;function i(o,s){var c=gb(s.escapedText,s);return c&&w1(o,c)}}function EP(r){var t,i,o=e.getAssignmentDeclarationKind(r);switch(o){case 0:case 4:var s=bP(r.left),c=s&&s.valueDeclaration;if(c&&(e.isPropertyDeclaration(c)||e.isPropertySignature(c))){var L=e.getEffectiveTypeAnnotationNode(c);return L&&oi(Da(L),Ja(s).mapper)||c.initializer&&tl(r.left)}return o===0?tl(r.left):VA(r);case 5:if(cb(r,o))return VA(r);if(r.left.symbol){var G=r.left.symbol.valueDeclaration;if(!G)return;var ce=e.cast(r.left,e.isAccessExpression),L=e.getEffectiveTypeAnnotationNode(G);if(L)return Da(L);if(e.isIdentifier(ce.expression)){var we=ce.expression,Ue=Uo(we,we.escapedText,111551,void 0,we.escapedText,!0);if(Ue){var Je=Ue.valueDeclaration&&e.getEffectiveTypeAnnotationNode(Ue.valueDeclaration);if(Je){var ar=e.getElementOrPropertyAccessName(ce);if(ar!==void 0)return E_(Da(Je),ar)}return}}return e.isInJSFile(G)?void 0:tl(r.left)}else return tl(r.left);case 1:case 6:case 3:var _r=(t=r.left.symbol)===null||t===void 0?void 0:t.valueDeclaration;case 2:_r||(_r=(i=r.symbol)===null||i===void 0?void 0:i.valueDeclaration);var Br=_r&&e.getEffectiveTypeAnnotationNode(_r);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 cb(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=Uo(r.left,i,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(o==null?void 0:o.valueDeclaration)}function VA(r){if(!r.symbol)return tl(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=lb(o.expression),c=e.getElementOrPropertyAccessName(o);return c!==void 0&&E_(s,c)||void 0}}function TP(r){return!!(e.getCheckFlags(r)&262144&&!r.type&&Qe(r,0)>=0)}function E_(r,t){return ds(r,function(i){var o;if(El(i)){var s=Tc(i),c=l(s)||s,L=Lc(e.unescapeLeadingUnderscores(t));if(Qi(L,c))return lL(i,L)}else if(i.flags&3670016){var G=Ii(i,t);if(G)return TP(G)?void 0:An(G);if(ki(i)){var ce=tv(i);if(ce&&zf(t)&&+t>=0)return ce}return(o=eh(qm(i),Lc(e.unescapeLeadingUnderscores(t))))===null||o===void 0?void 0:o.type}},!0)}function SP(r,t){if(e.Debug.assert(e.isObjectLiteralMethod(r)),!(r.flags&16777216))return E1(r,t)}function E1(r,t){var i=r.parent,o=e.isPropertyAssignment(r)&&v1(r);if(o)return o;var s=Up(i,t);if(s){if(c_(r))return E_(s,wn(r).escapedName);if(r.name){var c=lp(r.name);return ds(s,function(L){var G;return(G=eh(qm(L),c))===null||G===void 0?void 0:G.type},!0)}}}function T1(r,t){return r&&(E_(r,""+t)||ds(r,function(i){return mT(1,i,kr,void 0,!1)},!0))}function DP(r,t){var i=r.parent;return r===i.whenTrue||r===i.whenFalse?Ac(i,t):void 0}function LP(r,t){var i=Up(r.openingElement.tagName),o=_b(Em(r));if(!!(i&&!Na(i)&&o&&o!=="")){var s=e.getSemanticJsxChildren(r.children),c=s.indexOf(t),L=E_(i,o);return L&&(s.length===1?L:ds(L,function(G){return _p(G)?Hl(G,Wf(c)):G},!0))}}function AP(r){var t=r.parent;return e.isJsxAttributeLike(t)?Ac(r):e.isJsxElement(t)?LP(t,r):void 0}function WA(r){if(e.isJsxAttribute(r)){var t=Up(r.parent);return!t||Na(t)?void 0:E_(t,r.name.escapedText)}else return Ac(r.parent)}function Sh(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 Sh(r.expression);case 287:return!r.expression||Sh(r.expression)}return!1}function CP(r,t){return Dw(t,r)||M0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===294&&Sh(i.initializer)&&ov(t,i.symbol.escapedName)}),function(i){return[function(){return Mh(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)&&ov(t,i.escapedName)}),function(i){return[function(){return kr},i.escapedName]})),Qi,t)}function xP(r,t){return M0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===284&&ov(t,i.symbol.escapedName)&&(!i.initializer||Sh(i.initializer))}),function(i){return[i.initializer?function(){return Mh(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)&&ov(t,i.escapedName)}),function(i){return[function(){return kr},i.escapedName]})),Qi,t)}function Up(r,t){var i=e.isObjectLiteralMethod(r)?SP(r,t):Ac(r,t),o=ub(i,r,t);if(o&&!(t&&t&2&&o.flags&8650752)){var s=ds(o,wi,!0);return s.flags&1048576&&e.isObjectLiteralExpression(r)?CP(r,s):s.flags&1048576&&e.isJsxAttributes(r)?xP(r,s):s}}function ub(r,t,i){if(r&&Jo(r,465829888)){var o=cv(t);if(o&&e.some(o.inferences,H_)){if(i&&i&1)return fb(r,o.nonFixingMapper);if(o.returnMapper)return fb(r,o.returnMapper)}}return r}function fb(r,t){return r.flags&465829888?oi(r,t):r.flags&1048576?ma(e.map(r.types,function(i){return fb(i,t)}),0):r.flags&2097152?To(e.map(r.types,function(i){return fb(i,t)})):r}function Ac(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 _P(r,t);case 213:case 246:return mP(r);case 223:return vP(i);case 217:return gP(i,t);case 207:case 208:return UA(i,r);case 210:case 228:return e.isConstTypeReference(i.type)?L(i):Da(i.type);case 220:return yP(r,t);case 294:case 295:return E1(i,t);case 296:return Ac(i.parent,t);case 203:{var o=i,s=Up(o,t);return T1(s,e.indexOfNode(o.elements,r))}case 221:return DP(r,t);case 232:return e.Debug.assert(i.parent.kind===222),hP(i.parent,r);case 211:{var c=e.isInJSFile(i)?e.getJSDocTypeTag(i):void 0;return c?e.isJSDocTypeTag(c)&&e.isConstTypeReference(c.typeExpression.type)?L(i):Da(c.typeExpression.type):Ac(i,t)}case 229:return Ac(i,t);case 287:return AP(i);case 284:case 286:return WA(i);case 279:case 278:return IP(i,t)}return;function L(G){return Ac(G)}}function cv(r){var t=e.findAncestor(r,function(i){return!!i.inferenceContext});return t&&t.inferenceContext}function IP(r,t){return e.isJsxOpeningElement(r)&&r.parent.contextualType&&t!==4?r.parent.contextualType:b1(r,0)}function db(r,t){return CC(t)!==0?NP(r,t):RP(r,t)}function NP(r,t){var i=Y1(r,tr);i=jA(t,Em(t),i);var o=Vp(F.IntrinsicAttributes,t);return Ua(o)||(i=om(o,i)),i}function kP(r,t){if(r.compositeSignatures){for(var i=[],o=0,s=r.compositeSignatures;o=2){var G=P_([c,i],L,2,e.isInJSFile(r));return eg(o,G)}}if(e.length(s.typeParameters)>=2){var G=P_([c,i],s.typeParameters,2,e.isInJSFile(r));return Uf(s,G)}}return i}function RP(r,t){var i=Em(t),o=$P(i),s=o===void 0?Y1(r,tr):o===""?_o(r):kP(r,o);if(!s)return!!o&&!!e.length(t.attributes.properties)&&Mr(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(o)),tr;if(s=jA(t,i,s),Na(s))return s;var c=s,L=Vp(F.IntrinsicClassAttributes,t);if(!Ua(L)){var G=mu(L.symbol),ce=_o(r);c=om(G?Uf(L,P_([ce],G,lf(G),e.isInJSFile(t))):L,c)}var we=Vp(F.IntrinsicAttributes,t);return Ua(we)||(c=om(we,c)),c}function wP(r){return e.getStrictOptionValue(Xe,"noImplicitAny")?e.reduceLeft(r,function(t,i){return t===i||!t?t:py(t.typeParameters,i.typeParameters)?FP(t,i):void 0}):void 0}function PP(r,t,i){if(!r||!t)return r||t;var o=ma([An(r),oi(An(t),i)]);return V_(r,o)}function MP(r,t,i){for(var o=Tl(r),s=Tl(t),c=o>=s?r:t,L=c===r?t:r,G=c===r?o:s,ce=xu(r)||xu(t),we=ce&&!xu(c),Ue=new Array(G+(we?1:0)),Je=0;Je=Cu(c)&&Je>=Cu(L),Tt=Je>=o?void 0:vg(r,Je),At=Je>=s?void 0:vg(t,Je),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=fo(1|(Et&&!Zr?16777216:0),Vt||"arg".concat(Je));Nn.type=Zr?zs(Br):Br,Ue[Je]=Nn}if(we){var on=fo(1,"args");on.type=zs(Uc(L,G)),L===t&&(on.type=oi(on.type,i)),Ue[G]=on}return Ue}function FP(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,c=MP(r,t,o),L=PP(r.thisParameter,t.thisParameter,o),G=Math.max(r.minArgumentCount,t.minArgumentCount),ce=hu(s,i,L,c,void 0,void 0,G,(r.flags|t.flags)&39);return ce.compositeKind=2097152,ce.compositeSignatures=e.concatenate(r.compositeKind===2097152&&r.compositeSignatures||[r],[t]),o&&(ce.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?m_(r.mapper,o):o),ce}function S1(r,t){var i=Ni(r,0),o=e.filter(i,function(s){return!GP(s,t)});return o.length===1?o[0]:wP(o)}function GP(r,t){for(var i=0;i0&&(L=wp(L,Mi(),r.symbol,Br,we),c=[],s=e.createSymbolTable(),Et=!1,Tt=!1,At=!1);var Ai=Eo(ui(Aa.expression));if(dg(Ai)){var Yn=y0(Ai,we);if(o&&XA(Yn,o,Aa),ca=c.length,Ua(L))continue;L=wp(L,Yn,r.symbol,Br,we)}else Mr(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),Dv(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),c.push(Li)}if(ce&&r.parent.kind!==296)for(var Ba=0,Ti=Yi(G);Ba0&&(L=wp(L,Mi(),r.symbol,Br,we),c=[],s=e.createSymbolTable(),Et=!1,Tt=!1),ds(L,function(jn){return jn===Qn?Mi():jn});return Mi();function Mi(){var jn=[];Et&&jn.push(L1(r,ca,c,xt)),Tt&&jn.push(L1(r,ca,c,wt)),At&&jn.push(L1(r,ca,c,na));var Fi=ts(r.symbol,s,e.emptyArray,e.emptyArray,jn);return Fi.objectFlags|=Br|128|262144,_r&&(Fi.objectFlags|=8192),Zr&&(Fi.objectFlags|=512),i&&(Fi.pattern=r),Fi}}function dg(r){if(r.flags&465829888){var t=l(r);if(t!==void 0)return dg(t)}return!!(r.flags&126615553||lc(r)&117632&&dg(qL(r))||r.flags&3145728&&e.every(r.types,dg))}function JP(r){I1(r)}function KP(r,t){return Dv(r),Lh(r)||Ze}function zP(r){I1(r.openingElement),pg(r.closingElement.tagName)?C1(r.closingElement):ui(r.closingElement.tagName),pb(r)}function qP(r,t){return Dv(r),Lh(r)||Ze}function XP(r){I1(r.openingFragment);var t=e.getSourceFileOfNode(r);return e.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||t.pragmas.has("jsx"))&&!Xe.jsxFragmentFactory&&!t.pragmas.has("jsxfrag")&&Mr(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),pb(r),Lh(r)||Ze}function A1(r){return e.stringContains(r,"-")}function pg(r){return r.kind===79&&e.isIntrinsicJsxName(r.escapedText)}function qA(r,t){return r.initializer?bg(r.initializer,t):sa}function YP(r,t){for(var i=r.attributes,o=Er?e.createSymbolTable():void 0,s=e.createSymbolTable(),c=Ra,L=!1,G,ce=!1,we=2048,Ue=_b(Em(r)),Je=0,ar=i.properties;Je0&&(c=wp(c,la(),i.symbol,we,!1),s=e.createSymbolTable());var Zr=Eo(Ss(_r.expression,t));Na(Zr)&&(L=!0),dg(Zr)?(c=wp(c,Zr,i.symbol,we,!1),o&&XA(Zr,o,_r)):G=G?To([G,Zr]):Zr}}L||s.size>0&&(c=wp(c,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=pb(Tt,t);if(!L&&Ue&&Ue!==""){ce&&Mr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(Ue));var Vt=Up(r.attributes),Nn=Vt&&E_(Vt,Ue),on=fo(4,Ue);on.type=At.length===1?At[0]:Nn&&hm(Nn,sg)?Tu(At):zs(ma(At)),on.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(Ue),void 0,void 0),e.setParent(on.valueDeclaration,i),on.valueDeclaration.symbol=on;var ca=e.createSymbolTable();ca.set(Ue,on),c=wp(c,ts(i.symbol,ca,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,we,!1)}}if(L)return Ze;if(G&&c!==Ra)return To([G,c]);return G||(c===Ra?la():c);function la(){we|=vr;var di=ts(i.symbol,s,e.emptyArray,e.emptyArray,e.emptyArray);return di.objectFlags|=we|128|262144,di}}function pb(r,t){for(var i=[],o=0,s=r.children;o1&&i.declarations&&Mr(i.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(r))}}function ZP(r){return r&&ks(r.exports,F.LibraryManagedAttributes,788968)}function $P(r){return YA(F.ElementAttributesPropertyNameContainer,r)}function _b(r){return YA(F.ElementChildrenAttributeNameContainer,r)}function QA(r,t){if(r.flags&4)return[No];if(r.flags&128){var i=ZA(r,t);if(i){var o=Db(t,i);return[o]}else return Mr(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,"JSX."+F.IntrinsicElements),e.emptyArray}var s=wi(r),c=Ni(s,1);return c.length===0&&(c=Ni(s,0)),c.length===0&&s.flags&1048576&&(c=Wg(e.map(s.types,function(L){return QA(L,t)}))),c}function ZA(r,t){var i=Vp(F.IntrinsicElements,t);if(!Ua(i)){var o=r.value,s=Ii(i,e.escapeLeadingUnderscores(o));if(s)return An(s);var c=tu(i,xt);return c||void 0}return Ze}function eM(r,t,i){if(r===1){var o=rC(i);o&&au(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&&au(t,s,Ta,i.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,L)}else{var o=rC(i),s=eC(i);if(!o||!s)return;var c=ma([o,s]);au(t,c,Ta,i.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,L)}function L(){var G=e.getTextOfNode(i.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,G)}}function $A(r){e.Debug.assert(pg(r.tagName));var t=Zn(r);if(!t.resolvedJsxElementAttributesType){var i=C1(r);return t.jsxFlags&1?t.resolvedJsxElementAttributesType=An(i)||dr:t.jsxFlags&2?t.resolvedJsxElementAttributesType=tu(Vp(F.IntrinsicElements,r),xt)||dr:t.resolvedJsxElementAttributesType=dr}return t.resolvedJsxElementAttributesType}function eC(r){var t=Vp(F.ElementClass,r);if(!Ua(t))return t}function Lh(r){return Vp(F.Element,r)}function rC(r){var t=Lh(r);if(t)return ma([t,ut])}function rM(r){var t=Vp(F.IntrinsicElements,r);return t?Yi(t):e.emptyArray}function tM(r){(Xe.jsx||0)===0&&Mr(r,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Lh(r)===void 0&&Ke&&Mr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function I1(r){var t=e.isJsxOpeningLikeElement(r);if(t&&_F(r),tM(r),!x1(r)){var i=ua&&Xe.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,o=bo(r),s=t?r.tagName:r,c=void 0;if(e.isJsxOpeningFragment(r)&&o==="null"||(c=Uo(s,o,111551,i,o,!0)),c&&(c.isReferenced=67108863,c.flags&2097152&&!Ln(c)&&ii(c)),e.isJsxOpeningFragment(r)){var L=e.getSourceFileOfNode(r),G=Ns(L);G&&Uo(s,G,111551,i,G,!0)}}if(t){var ce=r,we=gg(ce);Ab(we,r),eM(CC(ce),_o(we),ce)}}function N1(r,t,i){if(r.flags&524288){if(hd(r,t)||ip(r,t)||Ip(t)&&oc(r,xt)||i&&A1(t))return!0}else if(r.flags&3145728&&Ah(r))for(var o=0,s=r.types;o=1&&Qi(i,Uc(ce,0))}return!1}var s=e.isAssignmentTarget(t)?"set":"get";if(!!o(s)){var c=e.tryGetPropertyAccessOrIdentifierToString(t.expression);return c===void 0?c=s:c+="."+s,c}}function bM(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 Ch(r,t,i){return e.getSpellingSuggestion(r,t,o);function o(s){var c=e.symbolName(s);if(!e.startsWith(c,'"')){if(s.flags&i)return c;if(s.flags&2097152){var L=e_(s);if(L&&L.flags&i)return c}}}}function xh(r,t,i){var o=r&&r.flags&106500&&r.valueDeclaration;if(!!o){var s=e.hasEffectiveModifier(o,8),c=r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name);if(!(!s&&!c)&&!(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 gC(r,t){return r.kind===108||!!t&&e.isEntityNameExpression(r)&&t===Lu(e.getFirstIdentifier(r))}function EM(r,t){switch(r.kind){case 205:return U1(r,r.expression.kind===106,t,wl(ui(r.expression)));case 160:return U1(r,!1,t,wl(ui(r.left)));case 199:return U1(r,!1,t,Da(r))}}function vC(r,t,i){return V1(r,r.kind===205&&r.expression.kind===106,!1,t,i)}function U1(r,t,i,o){if(Na(o))return!0;var s=Ii(o,i);return!!s&&V1(r,t,!1,o,s)}function V1(r,t,i,o,s){if(Na(o))return!0;if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var c=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(r)&&!!e.findAncestor(r,function(L){return L===c})}return tC(r,t,i,o,s)}function TM(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 Lu(t)}function SM(r){return Ms(r).length===1&&!!oc(r,wt)}function DM(r){var t=e.skipParentheses(r);if(t.kind===79){var i=Lu(t);if(i.flags&3)for(var o=r,s=r.parent;s;){if(s.kind===242&&o===s.statement&&TM(s)===i&&SM(tl(s.expression)))return!0;o=s,s=s.parent}}return!1}function LM(r,t){return r.flags&32?AM(r,t):hC(r,_g(r.expression),t)}function AM(r,t){var i=ui(r.expression),o=nv(i,r.expression);return Hy(hC(r,iu(o,r.expression),t),r,o!==i)}function hC(r,t,i){var o=e.getAssignmentTargetKind(r)!==0||lC(r)?wl(t):t,s=r.argumentExpression,c=ui(s);if(Ua(o)||o===St)return o;if(eT(o)&&!e.isStringLiteralLike(s))return Mr(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),dr;var L=DM(s)?wt:c,G=e.isAssignmentTarget(r)?4|(M_(o)&&!lh(o)?2:0):32,ce=cp(o,L,G,r)||dr;return Ex(uC(r,Zn(r).resolvedSymbol,ce,s,i),r)}function yC(r){return e.isCallOrNewExpression(r)||e.isTaggedTemplateExpression(r)||e.isJsxOpeningLikeElement(r)}function Tm(r){return yC(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)}),No}function Au(r){return Tm(r),lo}function CM(r,t,i){var o,s,c=0,L,G=-1,ce;e.Debug.assert(!t.length);for(var we=0,Ue=r;we=0)return Ue>=Cu(i)&&(xu(i)||UeL)return!1;if(c||s>=G)return!0;for(var Je=s;Je=o&&t.length<=i}function j_(r){return fv(r,0,!1)}function TC(r){return fv(r,0,!1)||fv(r,1,!1)}function fv(r,t,i){if(r.flags&524288){var o=Sc(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 SC(r,t,i,o){var s=av(r.typeParameters,r,0,o),c=pv(t),L=i&&(c&&c.flags&262144?i.nonFixingMapper:i.mapper),G=L?pm(t,L):t;return X0(G,r,function(ce,we){uf(s.inferences,ce,we)}),i||Y0(t,r,function(ce,we){uf(s.inferences,ce,we,128)}),ah(r,o1(s),e.isInJSFile(t.declaration))}function IM(r,t,i,o){var s=db(t,r),c=Dm(r.attributes,s,o,i);return uf(o.inferences,c,s),o1(o)}function DC(r){if(!r)return Wn;var t=ui(r);return e.isOptionalChainRoot(r.parent)?Td(t):e.isOptionalChain(r.parent)?K0(t):t}function W1(r,t,i,o,s){if(e.isJsxOpeningLikeElement(r))return IM(r,t,o,s);if(r.kind!==164){var c=Ac(r,e.every(t.typeParameters,function(di){return!!Bn(di)})?8:0);if(c){var L=cv(r),G=$0(aw(L,1)),ce=oi(c,G),we=j_(ce),Ue=we&&we.typeParameters?Zm(QE(we,we.typeParameters)):ce,Je=_o(t);uf(s.inferences,Ue,Je,128);var ar=av(t.typeParameters,t,s.flags),_r=oi(c,L&&L.returnMapper);uf(ar.inferences,_r,Je),s.returnMapper=e.some(ar.inferences,H_)?$0(iw(ar)):void 0}}var Br=_v(t),Zr=Br?Math.min(Tl(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,yb,Zr)<0?i.length-Zr:void 0)}var Tt=d_(t);if(Tt){var At=xC(r);uf(s.inferences,DC(At),Tt)}for(var Vt=0;Vt=i-1){var L=r[i-1];if(yb(L))return LC(L.kind===231?L.type:Dm(L.expression,o,s,c))}for(var G=[],ce=[],we=[],Ue=t;UeAt&&(At=Bi)}}if(!Tt)return!0;for(var Ai=1/0,xo=0,Wt=ar;xo0||e.isJsxOpeningElement(r)&&r.parent.children.length>0?[r.attributes]:e.emptyArray;var o=r.arguments||e.emptyArray,s=bb(o);if(s>=0){for(var c=o.slice(0,s),L=function(ce){var we=o[ce],Ue=we.kind===224&&(oo?ui(we.expression):Ss(we.expression));Ue&&ki(Ue)?e.forEach(vo(Ue),function(Je,ar){var _r,Br=Ue.target.elementFlags[ar],Zr=Wp(we,Br&4?zs(Je):Je,!!(Br&12),(_r=Ue.target.labeledElementDeclarations)===null||_r===void 0?void 0:_r[ar]);c.push(Zr)}):c.push(we)},G=s;G-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 c=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY,G=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,we,Ue=0,Je=t;UeG&&(G=_r),i.lengtho?ce=Math.min(ce,Je):L1&&(At=En(Je,ha,_r,Vt)),At||(At=En(Je,Ta,_r,Vt)),At)return At;if(we)if(Zr)if(Zr.length===1||Zr.length>3){var Nn=Zr[Zr.length-1],on;Zr.length>3&&(on=e.chainDiagnosticMessages(on,e.Diagnostics.The_last_overload_gave_the_following_error),on=e.chainDiagnosticMessages(on,e.Diagnostics.No_overload_matches_this_call));var ca=Ih(r,ar,Nn,Ta,0,!0,function(){return on});if(ca)for(var la=0,di=ca;la3&&e.addRelatedInfo(Aa,e.createDiagnosticForNode(Nn.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Vn(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,xo=0,Wt=0,Ft=function(Fn){var Xr=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Wt+1,Je.length,pu(Fn))},it=Ih(r,ar,Fn,Ta,0,!0,Xr);it?(it.length<=Ai&&(Ai=it.length,xo=Wt),Bi=Math.max(Bi,it.length),Li.push(it)):e.Debug.fail("No error for 3 or fewer overload signatures"),Wt++},_n=0,Ca=Zr;_n1?Li[xo]: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(Fn){return typeof Fn.messageText=="string"?Fn:Fn.messageText}),e.Diagnostics.No_overload_matches_this_call),Mi=Gt([],e.flatMap(Ba,function(Fn){return Fn.relatedInformation}),!0),jn=void 0;if(e.every(Ba,function(Fn){return Fn.start===Ba[0].start&&Fn.length===Ba[0].length&&Fn.file===Ba[0].file})){var Fi=Ba[0],jr=Fi.file,Sr=Fi.start,hn=Fi.length;jn={file:jr,start:Sr,length:hn,code:Ti.code,category:Ti.category,messageText:Ti,relatedInformation:Mi}}else jn=e.createDiagnosticForNodeFromMessageChain(r,Ti,Mi);Vn(Zr[0],jn),ua.add(jn)}else if(Et)ua.add(kC(r,[Et],ar));else if(Tt)AC(Tt,r.typeArguments,!0,c);else{var nn=e.filter(t,function(Fn){return EC(Fn,Ue)});nn.length===0?ua.add(RM(r,t,Ue)):G?c&&ua.add(Tb(r,c)):ua.add(kC(r,nn,ar))}return wM(r,Je,ar,!!i);function Vn(Fn,Xr){var it,Mt,Bt=Zr,Yt=Et,mn=Tt,ya=((Mt=(it=Fn.declaration)===null||it===void 0?void 0:it.symbol)===null||Mt===void 0?void 0:Mt.declarations)||e.emptyArray,_a=ya.length>1,qa=_a?e.find(ya,function(ho){return e.isFunctionLikeDeclaration(ho)&&e.nodeIsPresent(ho.body)}):void 0;if(qa){var Vi=bu(qa),Qa=!Vi.typeParameters;En([Vi],Ta,Qa)&&e.addRelatedInfo(Xr,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=mn}function En(Fn,Xr,it,Mt){if(Mt===void 0&&(Mt=!1),Zr=void 0,Et=void 0,Tt=void 0,it){var Bt=Fn[0];if(e.some(Ue)||!Eb(r,ar,Bt,Mt))return;if(Ih(r,ar,Bt,Xr,0,!1,void 0)){Zr=[Bt];return}return Bt}for(var Yt=0;Yt0),Dv(r),o||t.length===1||t.some(function(s){return!!s.typeParameters})?FM(r,t,i):PM(t)}function PM(r){var t=e.mapDefined(r,function(ar){return ar.thisParameter}),i;t.length&&(i=OC(t,t.map(dv)));for(var o=e.minAndMax(r,MM),s=o.min,c=o.max,L=[],G=function(ar){var _r=e.mapDefined(r,function(Br){return ue(Br)?art.length;)o.pop();for(;o.length=t)return s;L>o&&(o=L,i=s)}return i}function VM(r,t,i){if(r.expression.kind===106){var o=g1(r.expression);if(Na(o)){for(var s=0,c=r.arguments;s=0&&Mr(r.arguments[o],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=_g(r.expression);if(s===St)return Ha;if(s=wi(s),Ua(s))return Au(r);if(Na(s))return r.typeArguments&&Mr(r,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Tm(r);var c=Ni(s,1);if(c.length){if(!HM(r,c[0]))return Au(r);if(c.some(function(we){return we.flags&4}))return Mr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Au(r);var L=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return L&&e.hasSyntacticModifier(L,128)?(Mr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Au(r)):mg(r,c,t,i,0)}var G=Ni(s,0);if(G.length){var ce=mg(r,G,t,i,0);return Ke||(ce.declaration&&!ou(ce.declaration)&&_o(ce)!==Wn&&Mr(r,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),d_(ce)===Wn&&Mr(r,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),ce}return K1(r.expression,s,1),Au(r)}function J1(r,t){var i=xl(t);if(!e.length(i))return!1;var o=i[0];if(o.flags&2097152){for(var s=o.types,c=my(s),L=0,G=0,ce=o.types;G0;if(t.flags&1048576){for(var G=t.types,ce=!1,we=0,Ue=G;we1?Ss(r.arguments[1]):void 0,s=2;s=i-1)return t===i-1?s:zs(Hl(s,wt));for(var c=[],L=[],G=[],ce=t;ce0&&(s=r.parameters.length-1+G)}}if(s===void 0){if(!i&&r.flags&32)return 0;s=r.minArgumentCount}if(o)return s;for(var ce=s-1;ce>=0;ce--){var we=Uc(r,ce);if(rl(we,bC).flags&131072)break;s=ce}r.resolvedMinArgumentCount=s}return r.resolvedMinArgumentCount}function xu(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]);return!ki(t)||t.target.hasRestElement}return!1}function pv(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]);if(!ki(t))return t;if(t.target.hasRestElement)return Xg(t,t.target.fixedLength)}}function _v(r){var t=pv(r);return t&&!el(t)&&!Na(t)&&(Eo(t).flags&131072)===0?t:void 0}function X1(r){return Y1(r,en)}function Y1(r,t){return r.parameters.length>0?Uc(r,0):t}function l6(r,t,i){for(var o=r.parameters.length-(ue(r)?1:0),s=0;s0&&(c=ma(we,2)):ce=en;var Ue=f6(r,t),Je=Ue.yieldTypes,ar=Ue.nextTypes;L=e.some(Je)?ma(Je,2):void 0,G=e.some(ar)?To(ar):void 0}else{var _r=ex(r,t);if(!_r)return i&2?Rh(r,en):en;if(_r.length===0)return i&2?Rh(r,Wn):Wn;c=ma(_r,2)}if(c||L||G){if(L&&qy(r,L,3),c&&qy(r,c,1),G&&qy(r,G,2),c&&Su(c)||L&&Su(L)||G&&Su(G)){var Br=D1(r),Zr=Br?Br===bu(r)?s?void 0:c:ub(_o(Br),r):void 0;s?(L=H0(L,Zr,0,o),c=H0(c,Zr,1,o),G=H0(G,Zr,2,o)):c=KR(c,Zr,o)}L&&(L=wl(L)),c&&(c=wl(c)),G&&(G=wl(G))}return s?YC(L||en,c||ce,G||BA(2,r)||tr,o):o?Oh(c||ce):c||ce}function YC(r,t,i,o){var s=o?Mo:Fo,c=s.getGlobalGeneratorType(!1);if(r=s.resolveIterationType(r,void 0)||tr,t=s.resolveIterationType(t,void 0)||tr,i=s.resolveIterationType(i,void 0)||tr,c===va){var L=s.getGlobalIterableIteratorType(!1),G=L!==va?Bx(L,s):void 0,ce=G?G.returnType:Ze,we=G?G.nextType:kr;return Qi(t,ce)&&Qi(we,i)?L!==va?qg(L,[r]):(s.getGlobalIterableIteratorType(!0),Qn):(s.getGlobalGeneratorType(!0),Qn)}return qg(c,[r,t,i])}function f6(r,t){var i=[],o=[],s=(e.getFunctionFlags(r)&2)!==0;return e.forEachYieldExpression(r.body,function(c){var L=c.expression?ui(c.expression,t):zr;e.pushIfUnique(i,QC(c,L,Ze,s));var G;if(c.asteriskToken){var ce=Wh(L,s?19:17,c.expression);G=ce&&ce.nextType}else G=Ac(c);G&&e.pushIfUnique(o,G)}),{yieldTypes:i,nextTypes:o}}function QC(r,t,i,o){var s=r.expression||r,c=r.asteriskToken?Ld(o?19:17,t,i,s):t;return o?J_(c,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):c}function Q1(r,t,i,o){var s=0;if(o){for(var c=t;c1&&t.charCodeAt(i-1)>=48&&t.charCodeAt(i-1)<=57;)i--;for(var o=t.slice(0,i),s=1;;s++){var c=o+s;if(!aT(r,c))return c}}function dx(r){var t=j_(r);if(t&&!t.typeParameters)return _o(t)}function j6(r){var t=ui(r.expression),i=nv(t,r.expression),o=dx(t);return o&&Hy(o,r,i!==t)}function tl(r){var t=px(r);if(t)return t;if(r.flags&67108864&&Co){var i=Co[I(r)];if(i)return i}var o=Us,s=ui(r);if(Us!==o){var c=Co||(Co=[]);c[I(r)]=s,e.setNodeFlags(r,r.flags|67108864)}return s}function px(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)&&!FC(t)){var i=e.isCallChain(t)?j6(t):dx(_g(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 Mh(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=_e;_e=r,he=0;var s=K6(r,t,i),c=ux(r,s,t);return eT(c)&&H6(r,c),_e=o,e.tracing===null||e.tracing===void 0||e.tracing.pop(),c}function H6(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)&&Hb(r)||r.parent.kind===180&&r.parent.exprName===r||r.parent.kind===274;if(i||Mr(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&&Mr(r,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function J6(r,t){if(e.hasJSDocNodes(r)&&e.isJSDocTypeAssertion(r)){var i=e.getJSDocTypeAssertionType(r);return jC(i,i,r.expression,t)}return ui(r.expression,t)}function K6(r,t,i){var o=r.kind;if(O)switch(o){case 225:case 212:case 213:O.throwIfCancellationRequested()}switch(o){case 79:return eP(r,t);case 80:return cM(r);case 108:return lb(r);case 106:return g1(r);case 104:return ht;case 14:case 10:return fm(Lc(r.text));case 8:return MT(r),fm(Wf(+r.text));case 9:return PF(r),fm(E0({negative:!1,base10Value:e.parsePseudoBigInt(r.text)}));case 110:return sa;case 95:return mt;case 222:return P6(r);case 13:return Dt;case 203:return HA(r,t,i);case 204:return HP(r,t);case 205:return oC(r,t);case 160:return sC(r,t);case 206:return LM(r,t);case 207:if(r.expression.kind===100)return $M(r);case 208:return ZM(r,t);case 209:return e6(r);case 211:return J6(r,t);case 225:return b3(r);case 212:case 213:return rx(r,t);case 215:return y6(r);case 210:case 228:return r6(r);case 229:return n6(r);case 230:return a6(r);case 214:return v6(r);case 216:return b6(r);case 217:return E6(r);case 218:return T6(r);case 219:return S6(r);case 220:return Fe(r,t);case 221:return w6(r,t);case 224:return BP(r,t);case 226:return zr;case 223:return R6(r);case 231:return UP(r);case 287:return nM(r,t);case 277:return qP(r);case 278:return KP(r);case 281:return XP(r);case 285:return QP(r,t);case 279:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return dr}function _x(r){r.expression&&Gs(r.expression,e.Diagnostics.Type_expected),Wi(r.constraint),Wi(r.default);var t=vl(wn(r));l(t),ga(t)||Mr(r.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,gn(t));var i=Nl(t),o=Bn(t);i&&o&&Rl(o,Il(oi(i,B_(t,o)),o),r.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),Se&&Dg(r.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function mx(r){ff(r),Fb(r);var t=e.getContainingFunction(r);e.hasSyntacticModifier(r,16476)&&(t.kind===170&&e.nodeIsPresent(t.body)||Mr(r,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),t.kind===170&&e.isIdentifier(r.name)&&r.name.escapedText==="constructor"&&Mr(r.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),r.questionToken&&e.isBindingPattern(r.name)&&t.body&&Mr(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&&Mr(r,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(t.kind===170||t.kind===174||t.kind===179)&&Mr(r,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),t.kind===213&&Mr(r,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(t.kind===171||t.kind===172)&&Mr(r,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!e.isBindingPattern(r.name)&&!Qi(Eo(An(r.symbol)),xa)&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function z6(r){var t=q6(r);if(!t){Mr(r,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var i=bu(t),o=Dc(i);if(!!o){Wi(r.type);var s=r.parameterName;if(o.kind===0||o.kind===2)Oy(s);else if(o.parameterIndex>=0){if(ue(i)&&o.parameterIndex===i.parameters.length-1)Mr(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(o.type){var c=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};Rl(o.type,An(i.parameters[o.parameterIndex]),r.type,void 0,c)}}else if(s){for(var L=!1,G=0,ce=t.parameters;G0&&t.declarations[0]!==r)return}var i=gD(wn(r));if(i!=null&&i.declarations){for(var o=new e.Map,s=function(ce){ce.parameters.length===1&&ce.parameters[0].type&&h_(Da(ce.parameters[0].type),function(we){var Ue=o.get(Bc(we));Ue?Ue.declarations.push(ce):o.set(Bc(we),{type:we,declarations:[ce]})})},c=0,L=i.declarations;c1)for(var we=0,Ue=ce.declarations;we0}function cT(r){var t;if(r.flags&16777216){var i=n0(!1);return!!i&&r.aliasSymbol===i&&((t=r.aliasTypeArguments)===null||t===void 0?void 0:t.length)===1}return!1}function Ev(r){return r.flags&1048576?ds(r,Ev):cT(r)?r.aliasTypeArguments[0]:r}function h4(r){if(Na(r)||cT(r))return r;if(M_(r)){var t=l(r);if(!t||t.flags&3||cf(t)||Tx(t)){var i=n0(!0);if(i)return eg(i,[Ev(r)])}}return e.Debug.assert(yv(r)===void 0,"type provided should not be a non-generic 'promise'-like."),r}function J_(r,t,i,o){var s=Sd(r,t,i,o);return s&&h4(s)}function Sd(r,t,i,o){if(Na(r)||cT(r))return r;var s=r;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;if(r.flags&1048576){var c=t?function(ce){return Sd(ce,t,i,o)}:Sd;return s.awaitedTypeOfType=ds(r,c)}var L=yv(r);if(L){if(r.id===L.id||Fa.lastIndexOf(L.id)>=0){t&&Mr(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}Fa.push(r.id);var G=Sd(L,t,i,o);return Fa.pop(),G?s.awaitedTypeOfType=G:void 0}if(Tx(r)){t&&(e.Debug.assertIsDefined(i),Mr(t,i,o));return}return s.awaitedTypeOfType=r}function y4(r,t){var i=Da(t);if(De>=2){if(Ua(i))return;var o=oh(!0);if(o!==va&&!nf(i,o)){Mr(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(Sd(i)||Wn));return}}else{if(E4(t),Ua(i))return;var s=e.getEntityNameFromTypeNode(t);if(s===void 0){Mr(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 c=rs(s,111551,!0),L=c?An(c):dr;if(Ua(L)){s.kind===79&&s.escapedText==="Promise"&&O_(i)===oh(!1)?Mr(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):Mr(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 G=Kk(!0);if(G===Qn){Mr(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(!Rl(L,G,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 ce=s&&e.getFirstIdentifier(s),we=ks(r.locals,ce.escapedText,111551);if(we){Mr(we.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(ce),e.entityNameToString(s));return}}bv(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 b4(r){var t=gg(r);Ab(t,r);var i=_o(t);if(!(i.flags&1)){var o,s=MC(r),c;switch(r.parent.kind){case 256:var L=wn(r.parent),G=An(L);o=ma([G,Wn]);break;case 163:o=Wn,c=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 166:o=Wn,c=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 ce=jp(r.parent),we=VD(ce);o=ma([we,Wn]);break;default:return e.Debug.fail()}Rl(i,o,r,s,function(){return c})}}function E4(r){Sx(r&&e.getEntityNameFromTypeNode(r))}function Sx(r){if(!!r){var t=e.getFirstIdentifier(r),i=(r.kind===79?788968:1920)|2097152,o=Uo(t,t.escapedText,i,void 0,void 0,!0);o&&o.flags&2097152&&If(o)&&!Lv(ms(o))&&!Ln(o)&&ii(o)}}function Eg(r){var t=uT(r);t&&e.isEntityName(t)&&Sx(t)}function uT(r){if(r)switch(r.kind){case 187:case 186:return Dx(r.types);case 188:return Dx([r.trueType,r.falseType]);case 190:case 196:return uT(r.type);case 177:return r.typeName}}function Dx(r){for(var t,i=0,o=r;i-1&&i0),i.length>1&&Mr(i[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var o=Lx(r.class.expression),s=e.getClassExtendsHeritageElement(t);if(s){var c=Lx(s.expression);c&&o.escapedText!==c.escapedText&&Mr(o,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(r.tagName),e.idText(o),e.idText(c))}}function k4(r){var t=e.getJSDocHost(r);t&&e.isPrivateIdentifierClassElementDeclaration(t)&&Mr(r,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Lx(r){switch(r.kind){case 79:return r;case 205:return r.name;default:return}}function Ax(r){var t;Fh(r),gv(r);var i=e.getFunctionFlags(r);if(r.name&&r.name.kind===161&&qf(r.name),c_(r)){var o=wn(r),s=r.localSymbol||o,c=(t=s.declarations)===null||t===void 0?void 0:t.find(function(ce){return ce.kind===r.kind&&!(ce.flags&131072)});r===c&&wb(s),o.parent&&wb(o)}var L=r.kind===167?void 0:r.body;if(Wi(L),Z1(r,lm(r)),Se&&!e.getEffectiveReturnTypeNode(r)&&(e.nodeIsMissing(L)&&!Ob(r)&&Fp(r,Ze),i&1&&e.nodeIsPresent(L)&&_o(bu(r))),e.isInJSFile(r)){var G=e.getJSDocTypeTag(r);G&&G.typeExpression&&!S1(Da(G.typeExpression),r)&&Mr(G.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Dd(r){if(Se){var t=e.getSourceFileOfNode(r),i=gi.get(t.path);i||(i=[],gi.set(t.path,i)),i.push(r)}}function Cx(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===Jr.escapedName&&Zl("noEmit",t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function Tv(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 F4(r){e.findAncestor(r,function(t){if(Cm(t)&4){var i=r.kind!==79;return i?Mr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Mr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function G4(r){e.findAncestor(r,function(t){if(Cm(t)&8){var i=r.kind!==79;return i?Mr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Mr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function B4(r,t){if(!(Ae>=e.ModuleKind.ES2015&&!(Ae>=e.ModuleKind.Node12&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS))&&!(!t||!Tv(r,t,"require")&&!Tv(r,t,"exports"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&Zl("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 U4(r,t){if(!(!t||De>=4||!Tv(r,t,"Promise"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&i.flags&2048&&Zl("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 V4(r,t){De<=8&&(Tv(r,t,"WeakMap")||Tv(r,t,"WeakSet"))&&kn.push(r)}function W4(r){var t=e.getEnclosingBlockScopeContainer(r);Cm(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"),Zl("noEmit",r,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function j4(r,t){t&&De>=2&&De<=8&&Tv(r,t,"Reflect")&&Kn.push(r)}function H4(r){var t=!1;if(e.isClassExpression(r))for(var i=0,o=r.members;i1&&e.some(ar.declarations,function(Tt){return Tt!==r&&e.isVariableLike(Tt)&&!Rx(Tt,r)})&&Mr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}else{var Et=Sv(Cl(r));!Ua(_r)&&!Ua(Et)&&!jf(_r,Et)&&!(ar.flags&67108864)&&Ox(ar.valueDeclaration,_r,r,Et),r.initializer&&pp(Ss(r.initializer),Et,r,r.initializer,void 0),ar.valueDeclaration&&!Rx(r,ar.valueDeclaration)&&Mr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}r.kind!==166&&r.kind!==165&&(vv(r),(r.kind===253||r.kind===202)&&J4(r),Tg(r,r.name))}}function Ox(r,t,i,o){var s=e.getNameOfDeclaration(i),c=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),G=Mr(s,c,L,gn(t),gn(o));r&&e.addRelatedInfo(G,e.createDiagnosticForNode(r,e.Diagnostics._0_was_also_declared_here,L))}function Rx(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 pT(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkVariableDeclaration",{kind:r.kind,pos:r.pos,end:r.end}),DF(r),Fb(r),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function K4(r){return EF(r),Fb(r)}function z4(r){!ff(r)&&!PT(r.declarationList)&&LF(r),e.forEach(r.declarationList.declarations,Wi)}function q4(r){df(r),ui(r.expression)}function X4(r){df(r);var t=Sg(r.expression);_T(r.expression,t,r.thenStatement),Wi(r.thenStatement),r.thenStatement.kind===235&&Mr(r.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Wi(r.elseStatement)}function _T(r,t,i){if(!!Er&&!lc(t)){var o=e.isBinaryExpression(r)?r.right:r;if(!(e.isPropertyAccessExpression(o)&&sx(o.expression))){var s=e.isIdentifier(o)?o:e.isPropertyAccessExpression(o)?o.name:e.isBinaryExpression(o)&&e.isIdentifier(o.right)?o.right:void 0,c=Ni(t,0),L=!!hv(t);if(!(c.length===0&&!L)){var G=s&&Vc(s);if(!(!G&&!L)){var ce=G&&e.isBinaryExpression(r.parent)&&Q4(r.parent,G)||G&&i&&Y4(r,i,s,G);ce||(L?ku(o,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,Qd(t)):Mr(o,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}function Y4(r,t,i,o){return!!e.forEachChild(t,function s(c){if(e.isIdentifier(c)){var L=Vc(c);if(L&&L===o){if(e.isIdentifier(r))return!0;for(var G=i.parent,ce=c.parent;G&&ce;){if(e.isIdentifier(G)&&e.isIdentifier(ce)||G.kind===108&&ce.kind===108)return Vc(G)===Vc(ce);if(e.isPropertyAccessExpression(G)&&e.isPropertyAccessExpression(ce)){if(Vc(G.name)!==Vc(ce.name))return!1;ce=ce.expression,G=G.expression}else if(e.isCallExpression(G)&&e.isCallExpression(ce))ce=ce.expression,G=G.expression;else return!1}}}return e.forEachChild(c,s)})}function Q4(r,t){for(;e.isBinaryExpression(r)&&r.operatorToken.kind===55;){var i=e.forEachChild(r.right,function o(s){if(e.isIdentifier(s)){var c=Vc(s);if(c&&c===t)return!0}return e.forEachChild(s,o)});if(i)return!0;r=r.parent}return!1}function Z4(r){df(r),Wi(r.statement),Sg(r.expression)}function $4(r){df(r),Sg(r.expression),Wi(r.statement)}function wx(r,t){return r.flags&16384&&Mr(t,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function Sg(r,t){return wx(ui(r,t),r)}function e3(r){df(r)||r.initializer&&r.initializer.kind===254&&PT(r.initializer),r.initializer&&(r.initializer.kind===254?e.forEach(r.initializer.declarations,pT):ui(r.initializer)),r.condition&&Sg(r.condition),r.incrementor&&ui(r.incrementor),Wi(r.statement),r.locals&&Dd(r)}function r3(r){LI(r);var t=e.getContainingFunctionOrClassStaticBlock(r);if(r.awaitModifier)if(t&&e.isClassStaticBlockDeclaration(t))sn(r.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var i=e.getFunctionFlags(t);(i&6)===2&&De<99&&nl(r,16384)}else Xe.downlevelIteration&&De<2&&nl(r,256);if(r.initializer.kind===254)Px(r);else{var o=r.initializer,s=Vh(r);if(o.kind===203||o.kind===204)S_(o,s||dr);else{var c=ui(o);mv(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&&pp(s,c,o,r.expression)}}Wi(r.statement),r.locals&&Dd(r)}function t3(r){LI(r);var t=R1(ui(r.expression));if(r.initializer.kind===254){var i=r.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&Mr(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),Px(r)}else{var o=r.initializer,s=ui(o);o.kind===203||o.kind===204?Mr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Qi(NO(t),s)?mv(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):Mr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(t===en||!ys(t,126091264))&&Mr(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&&Dd(r)}function Px(r){var t=r.initializer;if(t.declarations.length>=1){var i=t.declarations[0];pT(i)}}function Vh(r){var t=r.awaitModifier?15:13;return Ld(t,_g(r.expression),kr,r.expression)}function Ld(r,t,i,o){return Na(t)?t:mT(r,t,i,o,!0)||Ze}function mT(r,t,i,o,s){var c=(r&2)!==0;if(t===en){yT(o,t,c);return}var L=De>=2,G=!L&&Xe.downlevelIteration,ce=Xe.noUncheckedIndexedAccess&&!!(r&128);if(L||G||c){var we=Wh(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&&Rl(i,we.nextType,o,Ue)}if(we||L)return ce?sv(we&&we.yieldType):we&&we.yieldType}var Je=t,ar=!1,_r=!1;if(r&4){if(Je.flags&1048576){var Br=t.types,Zr=e.filter(Br,function(ca){return!(ca.flags&402653316)});Zr!==Br&&(Je=ma(Zr,2))}else Je.flags&402653316&&(Je=en);if(_r=Je!==t,_r&&(De<1&&o&&(Mr(o,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),ar=!0),Je.flags&131072))return ce?sv(xt):xt}if(!_p(Je)){if(o&&!ar){var Et=!!(r&4)&&!_r,Tt=on(Et,G),At=Tt[0],Vt=Tt[1];ku(o,Vt&&!!hv(Je),At,gn(Je))}return _r?ce?sv(xt):xt:void 0}var Nn=tu(Je,wt);if(_r&&Nn)return Nn.flags&402653316&&!Xe.noUncheckedIndexedAccess?xt:ma(ce?[Nn,xt,kr]:[Nn,xt],2);return r&128?sv(Nn):Nn;function on(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=Mx(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]:n3((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 n3(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 Mx(r,t,i,o){if(!Na(i)){var s=Wh(i,r,o);return s&&s[te(t)]}}function Xf(r,t,i){if(r===void 0&&(r=en),t===void 0&&(t=en),i===void 0&&(i=tr),r.flags&67359327&&t.flags&180227&&i.flags&180227){var o=sc([r,t,i]),s=co.get(o);return s||(s={yieldType:r,returnType:t,nextType:i},co.set(o,s)),s}return{yieldType:r,returnType:t,nextType:i}}function Fx(r){for(var t,i,o,s=0,c=r;s1)for(var ar=0,_r=o;ar<_r.length;ar++){var Br=_r[ar];g3(r,Br)}}}function zx(r,t,i,o){var s=t.valueDeclaration,c=e.getNameOfDeclaration(s);if(!(c&&e.isPrivateIdentifier(c)))for(var L=rh(r,i),G=e.getObjectFlags(r)&2?e.getDeclarationOfKind(r.symbol,257):void 0,ce=s&&s.kind===220||c&&c.kind===161||Ts(t)===r.symbol?s:void 0,we=function(_r){var Br=_r.declaration&&Ts(wn(_r.declaration))===r.symbol?_r.declaration:void 0,Zr=ce||Br||(G&&!e.some(xl(r),function(Et){return!!hd(Et,t.escapedName)&&!!tu(Et,_r.keyType)})?G:void 0);Zr&&!Qi(o,_r.type)&&Mr(Zr,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Wa(t),gn(o),gn(_r.keyType),gn(_r.type))},Ue=0,Je=L;Ue=1&&r.escapedText==="Object"&&(Aei)return!1;for(var we=0;we=o&&G.pos<=s){var ce=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(ce.expression,ce),e.setParent(ce,G),ce.flowNode=G.returnFlowNode;var we=b_(ce,t,Jf(t));if(!(lc(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=b_(o,t,Jf(t));return!(lc(s)&32768)}function O3(r){if(ff(r)||dF(r),jh(r.typeParameters),Se){Dg(r.name,e.Diagnostics.Interface_name_cannot_be_0),vv(r);var t=wn(r);qx(t);var i=e.getDeclarationOfKind(t,257);if(r===i){var o=po(t),s=Il(o);if(I3(o,r.name)){for(var c=0,L=xl(o);c>Je;case 49:return Ue>>>Je;case 47:return Ue<1){var o=e.isEnumConst(r);e.forEach(t.declarations,function(c){e.isEnumDeclaration(c)&&e.isEnumConst(c)!==o&&Mr(e.getNameOfDeclaration(c),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)})}var s=!1;e.forEach(t.declarations,function(c){if(c.kind!==259)return!1;var L=c;if(!L.members.length)return!1;var G=L.members[0];G.initializer||(s?Mr(G.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}}function F3(r){e.isPrivateIdentifier(r.name)&&Mr(r,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function G3(r){var t=r.declarations;if(t)for(var i=0,o=t;i1&&D(r,e.shouldPreserveConstEnums(Xe))){var L=G3(c);L&&(e.getSourceFileOfNode(r)!==e.getSourceFileOfNode(L)?Mr(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)&&sn(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 H3(r){if(!Hh(r,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){if(!ff(r)&&e.hasEffectiveModifiers(r)&&Gs(r,e.Diagnostics.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&e.isNamedExports(r.exportClause)&&e.length(r.exportClause.elements)&&De===0&&nl(r,4194304),J3(r),!r.moduleSpecifier||ST(r))if(r.exportClause&&!e.isNamespaceExport(r.exportClause)){e.forEach(r.exportClause.elements,Q3);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&&Mr(r,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var o=ws(r,r.moduleSpecifier);o&&ld(o)?Mr(r.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Wa(o)):r.exportClause&&Vb(r.exportClause),Ae!==e.ModuleKind.System&&(Ae=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat!==e.ModuleKind.CommonJS?sn(r,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):Ae===e.ModuleKind.System&&sn(r,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function $3(r){return e.forEachEntry(r.exports,function(t,i){return i!=="export="})}function nI(r){var t=wn(r),i=Ja(t);if(!i.exportsChecked){var o=t.exports.get("export=");if(o&&$3(t)){var s=ec(o)||o.valueDeclaration;s&&!Ul(s)&&!e.isInJSFile(s)&&Mr(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var c=Gl(t);c&&c.forEach(function(L,G){var ce=L.declarations,we=L.flags;if(G!=="__export"&&!(we&1984)){var Ue=e.countWhere(ce,K);if(!(we&524288&&Ue<=2)&&Ue>1&&!jb(ce))for(var Je=0,ar=ce;Je1&&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=_e;_e=r,he=0,e8(r),_e=t}}function e8(r){e.isInJSFile(r)&&e.forEach(r.jsDoc,function(i){var o=i.tags;return e.forEach(o,Wi)});var t=r.kind;if(O)switch(t){case 260:case 256:case 257:case 255:O.throwIfCancellationRequested()}switch(t>=236&&t<=252&&r.flowNode&&!bh(r.flowNode)&&pc(Xe.allowUnreachableCode===!1,r,e.Diagnostics.Unreachable_code_detected),t){case 162:return _x(r);case 163:return mx(r);case 166:return hx(r);case 165:return Q6(r);case 179:case 178:case 173:case 174:case 175:return gv(r);case 168:case 167:return Z6(r);case 169:return $6(r);case 170:return e4(r);case 171:case 172:return yx(r);case 177:return lT(r);case 176:return z6(r);case 180:return n4(r);case 181:return a4(r);case 182:return i4(r);case 183:return o4(r);case 186:case 187:return s4(r);case 190:case 184:case 185:return Wi(r.type);case 191:return f4(r);case 192:return d4(r);case 188:return p4(r);case 189:return _4(r);case 197:return m4(r);case 199:return g4(r);case 196:return v4(r);case 326:return N4(r);case 327:return I4(r);case 343:case 336:case 337:return S4(r);case 342:return D4(r);case 341:return L4(r);case 338:return A4(r);case 345:return C4(r);case 315:x4(r);case 313:case 312:case 310:case 311:case 320:aI(r),e.forEachChild(r,Wi);return;case 316:r8(r);return;case 307:return Wi(r.type);case 331:case 333:case 332:return k4(r);case 193:return l4(r);case 194:return c4(r);case 255:return T4(r);case 234:case 261:return Mb(r);case 236:return z4(r);case 237:return q4(r);case 238:return X4(r);case 239:return Z4(r);case 240:return $4(r);case 241:return e3(r);case 242:return t3(r);case 243:return r3(r);case 244:case 245:return c3(r);case 246:return u3(r);case 247:return f3(r);case 248:return d3(r);case 249:return p3(r);case 250:return _3(r);case 251:return m3(r);case 253:return pT(r);case 202:return K4(r);case 256:return T3(r);case 257:return O3(r);case 258:return R3(r);case 259:return M3(r);case 260:return U3(r);case 265:return W3(r);case 264:return j3(r);case 271:return H3(r);case 270:return Z3(r);case 235:case 252:df(r);return;case 275:return r4(r)}}function aI(r){e.isInJSFile(r)||sn(r,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function r8(r){aI(r),Wi(r.type);var t=r.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent)){e.last(t.parent.parameters)!==t&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(t)||Mr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=r.parent.parent;if(!e.isJSDocParameterTag(i)){Mr(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)&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function t8(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),c=e.isJSDocCallbackTag(o.parent.parent);if(s||c){var L=c?e.lastOrUndefined(o.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),G=e.getParameterSymbolFromJSDoc(o);if(!L||G&&L.symbol===G&&e.isRestParameter(L))return zs(t)}}return e.isParameter(i)&&e.isJSDocFunctionType(i.parent)?zs(t):Wl(t)}function Dv(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 n8(r){var t=Zn(r);t.deferredNodes&&t.deferredNodes.forEach(a8)}function a8(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkDeferredNode",{kind:r.kind,pos:r.pos,end:r.end});var t=_e;switch(_e=r,he=0,r.kind){case 207:case 208:case 209:case 164:case 279:Tm(r);break;case 212:case 213:case 168:case 167:m6(r);break;case 171:case 172:yx(r);break;case 225:E3(r);break;case 278:JP(r);break;case 277:zP(r);break}_e=t,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function DT(r){e.tracing===null||e.tracing===void 0||e.tracing.push("check","checkSourceFile",{path:r.path},!0),e.performance.mark("beforeCheck"),i8(r),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function iI(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 oI(r){return gi.get(r.path)||e.emptyArray}function i8(r){var t=Zn(r);if(!(t.flags&1)){if(e.skipTypeChecking(r,Xe,j))return;RF(r),e.clear(pn),e.clear(fn),e.clear(kn),e.clear(Kn),e.forEach(r.statements,Wi),Wi(r.endOfFileToken),n8(r),e.isExternalOrCommonJsModule(r)&&Dd(r),!r.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)&&Cx(oI(r),function(i,o,s){!e.containsParseError(i)&&iI(o,!!(i.flags&8388608))&&ua.add(s)}),Xe.importsNotUsedAsValues===2&&!r.isDeclarationFile&&e.isExternalModule(r)&&Y3(r),e.isExternalOrCommonJsModule(r)&&nI(r),pn.length&&(e.forEach(pn,F4),e.clear(pn)),fn.length&&(e.forEach(fn,G4),e.clear(fn)),kn.length&&(e.forEach(kn,W4),e.clear(kn)),Kn.length&&(e.forEach(Kn,H4),e.clear(Kn)),t.flags|=1}}function sI(r,t){try{return O=t,o8(r)}finally{O=void 0}}function o8(r){if(lI(),r){var t=ua.getGlobalDiagnostics(),i=t.length;DT(r);var o=ua.getDiagnostics(r.fileName),s=ua.getGlobalDiagnostics();if(s!==t){var c=e.relativeComplement(t,s,e.compareDiagnostics);return e.concatenate(c,o)}else if(i===0&&s.length>0)return e.concatenate(s,o);return o}return e.forEach(j.getSourceFiles(),DT),ua.getDiagnostics()}function s8(){return lI(),ua.getGlobalDiagnostics()}function lI(){if(!Se)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function l8(r,t){if(r.flags&16777216)return[];var i=e.createSymbolTable(),o=!1;return s(),i.delete("this"),Ym(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:G(wn(r).exports,t&2623475);break;case 259:L(wn(r).exports,t&8);break;case 225:var ce=r.name;ce&&c(r.symbol,t);case 256:case 257:o||L(af(wn(r)),t&788968);break;case 212:var we=r.name;we&&c(r.symbol,t);break}e.introducesArgumentsExoticObject(r)&&c(Jr,t),o=e.isStatic(r),r=r.parent}L(Fr,t)}function c(ce,we){if(e.getCombinedLocalAndExportSymbolFlags(ce)&we){var Ue=ce.escapedName;i.has(Ue)||i.set(Ue,ce)}}function L(ce,we){we&&ce.forEach(function(Ue){c(Ue,we)})}function G(ce,we){we&&ce.forEach(function(Ue){!e.getDeclarationOfKind(Ue,274)&&!e.getDeclarationOfKind(Ue,273)&&c(Ue,we)})}}function c8(r){return r.kind===79&&Jh(r.parent)&&e.getNameOfDeclaration(r.parent)===r}function Jh(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 cI(r){for(;r.parent.kind===160;)r=r.parent;return r.parent.kind===177}function u8(r){for(;r.parent.kind===205;)r=r.parent;return r.parent.kind===227}function uI(r,t){for(var i;r=e.getContainingClass(r),!(!r||(i=t(r))););return i}function f8(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 LT(r,t){return!!uI(r,function(i){return i===t})}function d8(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 Hb(r){return d8(r)!==void 0}function p8(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 fI(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=p8(r);if(t)return t}if(r.parent.kind===270&&e.isEntityNameExpression(r)){var i=rs(r,2998271,!0);if(i&&i!==We)return i}else if(e.isEntityName(r)&&Hb(r)){var o=e.getAncestor(r,264);return e.Debug.assert(o!==void 0),sd(r,!0)}if(e.isEntityName(r)){var s=_8(r);if(s){Da(s);var c=Zn(r).resolvedSymbol;return c===We?void 0:c}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(r);)r=r.parent;if(u8(r)){var L=0;r.parent.kind===227?(L=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent)&&(L|=111551)):L=1920,L|=2097152;var G=e.isEntityNameExpression(r)?rs(r,L):void 0;if(G)return G}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 ce=e.getTypeParameterFromJsDoc(r.parent);return ce&&ce.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)&&pg(r)){var Ue=C1(r.parent);return Ue===We?void 0:Ue}var Je=rs(r,L,!1,!we,e.getHostSignatureFromJSDoc(r));if(!Je&&we){var ar=e.findAncestor(r,e.or(e.isClassLike,e.isInterfaceDeclaration));if(ar)return Jb(r,wn(ar))}return Je}else{if(e.isPrivateIdentifier(r))return vb(r);if(r.kind===205||r.kind===160){var _r=Zn(r);return _r.resolvedSymbol?_r.resolvedSymbol:(r.kind===205?oC(r,0):sC(r,0),!_r.resolvedSymbol&&we&&e.isQualifiedName(r)?Jb(r):_r.resolvedSymbol)}else if(e.isJSDocMemberName(r))return Jb(r)}}else if(cI(r)){var L=r.parent.kind===177?788968:1920,Ue=rs(r,L,!1,!0);return Ue&&Ue!==We?Ue:Ly(r)}if(r.parent.kind===176)return rs(r,1)}function Jb(r,t){if(e.isEntityName(r)){var i=901119,o=rs(r,i,!1,!0,e.getHostSignatureFromJSDoc(r));if(!o&&e.isIdentifier(r)&&t&&(o=Ga(ks(Js(t),r.escapedText,i))),o)return o}var s=e.isIdentifier(r)?t:Jb(r.left),c=e.isIdentifier(r)?r.escapedText:r.right.escapedText;if(s){var L=s.flags&111551&&Ii(An(s),"prototype"),G=L?An(L):po(s);return Ii(G,c)}}function Vc(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(g(r)){var s=wn(i);return e.isImportOrExportSpecifier(r.parent)&&r.parent.propertyName===r?zA(s):s}else if(e.isLiteralComputedPropertyDeclarationName(r))return wn(i.parent);if(r.kind===79){if(Hb(r))return fI(r);if(i.kind===202&&o.kind===200&&r===i.propertyName){var c=jp(o),L=Ii(c,r.escapedText);if(L)return L}else if(e.isMetaProperty(i)){var G=jp(i),L=Ii(G,r.escapedText);if(L)return L;if(i.keywordToken===103)return q1(i).symbol}}switch(r.kind){case 79:case 80:case 205:case 160:return fI(r);case 108:var ce=e.getThisContainer(r,!1);if(e.isFunctionLike(ce)){var we=bu(ce);if(we.thisParameter)return we.thisParameter}if(e.isInExpressionContext(r))return ui(r).symbol;case 191:return Oy(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 ws(r,r,t);if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i)&&i.arguments[1]===r)return wn(i);case 8:var Je=e.isElementAccessExpression(i)?i.argumentExpression===r?tl(i.expression):void 0:e.isLiteralTypeNode(i)&&e.isIndexedAccessTypeNode(o)?Da(o.objectType):void 0;return Je&&Ii(Je,e.escapeLeadingUnderscores(r.text));case 88:case 98:case 38:case 84:return wn(r.parent);case 199:return e.isLiteralImportTypeNode(r)?Vc(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)?HC(r.parent).symbol:void 0;case 230:return ui(r).symbol;default:return}}}function m8(r){if(e.isIdentifier(r)&&e.isPropertyAccessExpression(r.parent)&&r.parent.name===r){var t=lp(r),i=tl(r.parent.expression),o=i.flags&1048576?i.types:[i];return e.flatMap(o,function(s){return e.filter(Ms(s),function(c){return f_(t,c.keyType)})})}}function g8(r){if(r&&r.kind===295)return rs(r.name,2208703)}function v8(r){return e.isExportSpecifier(r)?r.parent.parent.moduleSpecifier?Mu(r.parent.parent,r):rs(r.propertyName||r.name,2998271):rs(r,2998271)}function jp(r){if(e.isSourceFile(r)&&!e.isExternalModule(r)||r.flags&16777216)return dr;var t=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(r),i=t&&Hn(wn(t.class));if(e.isPartOfTypeNode(r)){var o=Da(r);return i?Il(o,i.thisType):o}if(e.isExpressionNode(r))return dI(r);if(i&&!t.isImplements){var s=e.firstOrUndefined(xl(i));return s?Il(s,i.thisType):dr}if(Jh(r)){var c=wn(r);return po(c)}if(c8(r)){var c=Vc(r);return c?po(c):dr}if(e.isDeclaration(r)){var c=wn(r);return An(c)}if(g(r)){var c=Vc(r);return c?An(c):dr}if(e.isBindingPattern(r))return ep(r.parent,!0)||dr;if(Hb(r)){var c=Vc(r);if(c){var L=po(c);return Ua(L)?An(c):L}}return e.isMetaProperty(r.parent)&&r.parent.keywordToken===r.kind?HC(r.parent):dr}function Kb(r){if(e.Debug.assert(r.kind===204||r.kind===203),r.parent.kind===243){var t=Vh(r.parent);return S_(r,t||dr)}if(r.parent.kind===220){var t=tl(r.parent.right);return S_(r,t||dr)}if(r.parent.kind===294){var i=e.cast(r.parent.parent,e.isObjectLiteralExpression),o=Kb(i)||dr,s=e.indexOfNode(i.properties,r.parent);return nx(i,o,s)}var c=e.cast(r.parent,e.isArrayLiteralExpression),L=Kb(c)||dr,G=Ld(65,L,kr,r.parent)||dr;return ax(c,L,c.elements.indexOf(r),G)}function h8(r){var t=Kb(e.cast(r.parent.parent,e.isAssignmentPattern));return t&&Ii(t,r.escapedText)}function dI(r){return e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),kl(tl(r))}function y8(r){var t=wn(r.parent);return e.isStatic(r)?An(t):po(t)}function b8(r){var t=r.name;switch(t.kind){case 79:return Lc(e.idText(t));case 8:case 10:return Lc(t.text);case 161:var i=qf(t);return ys(i,12288)?i:xt;default:return e.Debug.fail("Unsupported property name.")}}function AT(r){r=wi(r);var t=e.createSymbolTable(Yi(r)),i=Ni(r,0).length?oe:Ni(r,1).length?mr:void 0;return i&&e.forEach(Yi(i),function(o){t.has(o.escapedName)||t.set(o.escapedName,o)}),Bu(t)}function CT(r){return e.typeHasCallOrConstructSignatures(r,Yr)}function pI(r){var t=E8(r);return t?e.flatMap(t,pI):[r]}function E8(r){if(e.getCheckFlags(r)&6)return e.mapDefined(Ja(r).containingType.types,function(c){return Ii(c,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(T8(r))}}function T8(r){for(var t,i=r;i=Ja(i).target;)t=i;return t}function S8(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&&Av(t)===Jr}function D8(r){var t=ws(r.parent,r);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var i=ld(t);t=ll(t);var o=Ja(t);return o.exportsSomeValue===void 0&&(o.exportsSomeValue=i?!!(t.flags&111551):e.forEachEntry(Gl(t),s)),o.exportsSomeValue;function s(c){return c=wo(c),c&&!!(c.flags&111551)}}function L8(r){return e.isModuleOrEnumDeclaration(r.parent)&&r===r.parent.name}function A8(r,t){var i,o=e.getParseTreeNode(r,e.isIdentifier);if(o){var s=Av(o,L8(o));if(s){if(s.flags&1048576){var c=Ga(s.exportSymbol);if(!t&&c.flags&944&&!(c.flags&3))return;s=c}var L=Ts(s);if(L){if(L.flags&512&&((i=L.valueDeclaration)===null||i===void 0?void 0:i.kind)===303){var G=L.valueDeclaration,ce=e.getSourceFileOfNode(o),we=G!==ce;return we?void 0:G}return e.findAncestor(o.parent,function(Ue){return e.isModuleOrEnumDeclaration(Ue)&&wn(Ue)===L})}}}}function C8(r){if(r.generatedImportReference)return r.generatedImportReference;var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Av(t);if(Dl(i,111551)&&!Ln(i))return ec(i)}}function x8(r){return r.valueDeclaration&&e.isBindingElement(r.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(r.valueDeclaration).parent.kind===291}function _I(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)||x8(r)){var o=Zn(r.valueDeclaration);if(Uo(i.parent,r.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(o.flags&262144){var s=o.flags&524288,c=e.isIterationStatement(i,!1),L=i.kind===234&&e.isIterationStatement(i.parent,!1);t.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(i)&&(!s||!c&&!L)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function I8(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Av(t);if(i&&_I(i))return i.valueDeclaration}}}function N8(r){var t=e.getParseTreeNode(r,e.isDeclaration);if(t){var i=wn(t);if(i)return _I(i)}return!1}function mI(r){switch(r.kind){case 264:return zb(wn(r));case 266:case 267:case 269:case 274:var t=wn(r);return!!t&&zb(t)&&!Ln(t);case 271:var i=r.exportClause;return!!i&&(e.isNamespaceExport(i)||e.some(i.elements,mI));case 270:return r.expression&&r.expression.kind===79?zb(wn(r)):!0}return!1}function k8(r){var t=e.getParseTreeNode(r,e.isImportEqualsDeclaration);if(t===void 0||t.parent.kind!==303||!e.isInternalModuleImportEqualsDeclaration(t))return!1;var i=zb(wn(t));return i&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function zb(r){if(!r)return!1;var t=ms(r);return t===We?!0:!!(t.flags&111551)&&(e.shouldPreserveConstEnums(Xe)||!Lv(t))}function Lv(r){return rT(r)||!!r.constEnumOnlyModule}function qb(r,t){if(Ud(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)||!Lv(s)))return!0}return t?!!e.forEachChild(r,function(c){return qb(c,t)}):!1}function gI(r){if(e.nodeIsPresent(r.body)){if(e.isGetAccessor(r)||e.isSetAccessor(r))return!1;var t=wn(r),i=Op(t);return i.length>1||i.length===1&&i[0].declaration!==r}return!1}function vI(r){return!!Er&&!w_(r)&&!e.isJSDocParameterTag(r)&&!!r.initializer&&!e.hasSyntacticModifier(r,16476)}function O8(r){return Er&&w_(r)&&!r.initializer&&e.hasSyntacticModifier(r,16476)}function R8(r){return!!Er&&w_(r)&&!r.initializer}function w8(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return!1;var i=wn(t);return!i||!(i.flags&16)?!1:!!e.forEachEntry(Js(i),function(o){return o.flags&111551&&o.valueDeclaration&&e.isPropertyAccessExpression(o.valueDeclaration)})}function P8(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return e.emptyArray;var i=wn(t);return i&&Yi(An(i))||e.emptyArray}function Cm(r){var t,i=r.id||0;return i<0||i>=Ic.length?0:((t=Ic[i])===null||t===void 0?void 0:t.flags)||0}function Xb(r){return rI(r.parent),Zn(r).enumMemberValue}function hI(r){switch(r.kind){case 297:case 205:case 206:return!0}return!1}function xT(r){if(r.kind===297)return Xb(r);var t=Zn(r).resolvedSymbol;if(t&&t.flags&8){var i=t.valueDeclaration;if(e.isEnumConst(i.parent))return Xb(i)}}function IT(r){return!!(r.flags&524288)&&Ni(r,0).length>0}function M8(r,t){var i,o,s=e.getParseTreeNode(r,e.isEntityName);if(!s||t&&(t=e.getParseTreeNode(t),!t))return e.TypeReferenceSerializationKind.Unknown;var c=!1;if(e.isQualifiedName(s)){var L=rs(e.getFirstIdentifier(s),111551,!0,!0,t);c=!!(!((i=L==null?void 0:L.declarations)===null||i===void 0)&&i.every(e.isTypeOnlyImportOrExportDeclaration))}var G=rs(s,111551,!0,!0,t),ce=G&&G.flags&2097152?ms(G):G;c||(c=!!(!((o=G==null?void 0:G.declarations)===null||o===void 0)&&o.every(e.isTypeOnlyImportOrExportDeclaration)));var we=rs(s,788968,!0,!1,t);if(ce&&ce===we){var Ue=t0(!1);if(Ue&&ce===Ue)return e.TypeReferenceSerializationKind.Promise;var Je=An(ce);if(Je&&tm(Je))return c?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!we)return c?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var ar=po(we);return Ua(ar)?c?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:ar.flags&3?e.TypeReferenceSerializationKind.ObjectType:ys(ar,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:ys(ar,528)?e.TypeReferenceSerializationKind.BooleanType:ys(ar,296)?e.TypeReferenceSerializationKind.NumberLikeType:ys(ar,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:ys(ar,402653316)?e.TypeReferenceSerializationKind.StringLikeType:ki(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:ys(ar,12288)?e.TypeReferenceSerializationKind.ESSymbolType:IT(ar)?e.TypeReferenceSerializationKind.TypeWithCallSignature:el(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function F8(r,t,i,o,s){var c=e.getParseTreeNode(r,e.isVariableLikeOrAccessor);if(!c)return e.factory.createToken(130);var L=wn(c),G=L&&!(L.flags&133120)?Mp(An(L)):dr;return G.flags&8192&&G.symbol===L&&(i|=1048576),s&&(G=Jf(G)),Dr.typeToTypeNode(G,t,i|1024,o)}function G8(r,t,i,o){var s=e.getParseTreeNode(r,e.isFunctionLike);if(!s)return e.factory.createToken(130);var c=bu(s);return Dr.typeToTypeNode(_o(c),t,i|1024,o)}function B8(r,t,i,o){var s=e.getParseTreeNode(r,e.isExpression);if(!s)return e.factory.createToken(130);var c=wl(dI(s));return Dr.typeToTypeNode(c,t,i|1024,o)}function U8(r){return Fr.has(e.escapeLeadingUnderscores(r))}function Av(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 Uo(o,r.escapedText,3257279,void 0,void 0,!0)}function V8(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Av(t);if(i)return tc(i).valueDeclaration}}}function W8(r){return e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r)?Pp(An(wn(r))):!1}function j8(r,t,i){var o=r.flags&1024?Dr.symbolToExpression(r.symbol,111551,t,void 0,i):r===sa?e.factory.createTrue():r===mt&&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 H8(r,t){var i=An(wn(r));return j8(i,r,t)}function yI(r){return r?(bo(r),e.getSourceFileOfNode(r).localJsxFactory||jt):jt}function NT(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,De),t.localJsxFragmentFactory}}if(Xe.jsxFragmentFactory)return e.parseIsolatedEntityName(Xe.jsxFragmentFactory,De)}function J8(){var r=j.getResolvedTypeReferenceDirectives(),t;return r&&(t=new e.Map,r.forEach(function(ce,we){if(!(!ce||!ce.resolvedFileName)){var Ue=j.getSourceFile(ce.resolvedFileName);Ue&&G(Ue,we)}})),{getReferencedExportContainer:A8,getReferencedImportDeclaration:C8,getReferencedDeclarationWithCollidingName:I8,isDeclarationWithCollidingName:N8,isValueAliasDeclaration:function(ce){var we=e.getParseTreeNode(ce);return we?mI(we):!0},hasGlobalName:U8,isReferencedAliasDeclaration:function(ce,we){var Ue=e.getParseTreeNode(ce);return Ue?qb(Ue,we):!0},getNodeCheckFlags:function(ce){var we=e.getParseTreeNode(ce);return we?Cm(we):0},isTopLevelValueImportEqualsWithEntityName:k8,isDeclarationVisible:Qc,isImplementationOfOverload:gI,isRequiredInitializedParameter:vI,isOptionalUninitializedParameterProperty:O8,isExpandoFunctionDeclaration:w8,getPropertiesOfContainerFunction:P8,createTypeOfDeclaration:F8,createReturnTypeOfSignatureDeclaration:G8,createTypeOfExpression:B8,createLiteralConstValue:H8,isSymbolAccessible:rf,isEntityNameVisible:t_,getConstantValue:function(ce){var we=e.getParseTreeNode(ce,hI);return we?xT(we):void 0},collectLinkedAliases:Pf,getReferencedValueDeclaration:V8,getTypeReferenceSerializationKind:M8,isOptionalParameter:w_,moduleExportsSomeValue:D8,isArgumentsLocalBinding:S8,getExternalModuleFileFromDeclaration:function(ce){var we=e.getParseTreeNode(ce,e.hasPossibleExternalModuleReference);return we&&kT(we)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:c,isLiteralConstDeclaration:W8,isLateBound:function(ce){var we=e.getParseTreeNode(ce,e.isDeclaration),Ue=we&&wn(we);return!!(Ue&&e.getCheckFlags(Ue)&4096)},getJsxFactoryEntity:yI,getJsxFragmentFactoryEntity:NT,getAllAccessorDeclarations:function(ce){ce=e.getParseTreeNode(ce,e.isGetOrSetAccessorDeclaration);var we=ce.kind===172?171:172,Ue=e.getDeclarationOfKind(wn(ce),we),Je=Ue&&Ue.pos3})||Mr(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):c&1048576?e.some(Op(G),function(ce){return Tl(ce)>4})||Mr(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):c&1024&&(e.some(Op(G),function(ce){return Tl(ce)>2})||Mr(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)):Mr(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)}}Q|=t}}}function z8(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 q8(r,t){return V||(V=Qu(r,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||We),V}function ff(r){return X8(r)||Y8(r)}function X8(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 Gs(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)?Gs(r,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Gs(r,e.Diagnostics.Decorators_are_not_valid_here);return!1}function Y8(r){var t=Q8(r);if(t!==void 0)return t;for(var i,o,s,c,L,G=0,ce=0,we=r.modifiers;ce1||r.modifiers[0].kind!==t}function $8(r,t){switch(r.kind){case 168:case 255:case 212:case 213:return!1}return sn(t,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function K_(r,t){return t===void 0&&(t=e.Diagnostics.Trailing_comma_not_allowed),r&&r.hasTrailingComma?gp(r[0],r.end-1,1,t):!1}function bI(r,t){if(r&&r.length===0){var i=r.pos-1,o=e.skipTrivia(t.text,r.end)+1;return gp(t,i,o-i,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function eF(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=rF(r.parameters);if(e.length(i)){e.forEach(i,function(s){e.addRelatedInfo(Mr(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,c){return c===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([Mr(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],o,!1)),!0}}}return!1}function Yb(r){var t=e.getSourceFileOfNode(r);return ff(r)||bI(r.typeParameters,t)||eF(r.parameters)||aF(r,t)||e.isFunctionLikeDeclaration(r)&&tF(r)}function nF(r){var t=e.getSourceFileOfNode(r);return fF(r)||bI(r.typeParameters,t)}function aF(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"])&&sn(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&&sn(i,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function iF(r){var t=r.parameters[0];if(r.parameters.length!==1)return sn(t?t.name:r,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(K_(r.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return sn(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(t))return sn(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return sn(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return sn(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return sn(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var i=Da(t.type);return hm(i,function(o){return!!(o.flags&8576)})||Qg(i)?sn(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):Kf(i,Dy)?r.type?!1:sn(r,e.Diagnostics.An_index_signature_must_have_a_type_annotation):sn(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function oF(r){return ff(r)||iF(r)}function sF(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 gp(i,o,s-o,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function Kh(r,t){return K_(t)||sF(r,t)}function lF(r){return r.questionDotToken||r.flags&32?sn(r.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function cF(r){if(r)for(var t=0,i=r;t1)return Gs(c.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(c.token===117),i)return Gs(c,e.Diagnostics.implements_clause_already_seen);i=!0}TI(c)}}function dF(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 Gs(c.declarations[1],i)}var G=L[0];if(G.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 sn(G.name,i)}if(G.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 sn(G,i)}}}return!1}function vF(r){if(!(r.flags&8388608)&&r.parent.kind!==181&&r.parent.kind!==257){if(De<1)return sn(r.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(De<2&&e.isPrivateIdentifier(r.name))return sn(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 gp(r,r.end-1,1,e.Diagnostics._0_expected,"{")}if(r.body){if(e.hasSyntacticModifier(r,128))return sn(r,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===181||r.parent.kind===257)return sn(r.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return sn(r.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!hF(r))return sn(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 sn(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 sn(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return sn(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return sn(r.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function hF(r){return wT(r)||r.parameters.length===(r.kind===171?0:1)}function wT(r){if(r.parameters.length===(r.kind===171?1:2))return e.getThisParameter(r)}function yF(r){if(r.operator===153){if(r.type.kind!==150)return sn(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 sn(r,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(i))return sn(r,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(i.parent.flags&2))return sn(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 sn(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 sn(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 sn(r,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===144&&r.type.kind!==182&&r.type.kind!==183)return Gs(r,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(150))}function Lg(r,t){if(kE(r))return sn(r,t)}function AI(r){if(Yb(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 Gs(r,e.Diagnostics.Modifiers_cannot_appear_here);if(SI(r.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(DI(r.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return gp(r,r.end-1,1,e.Diagnostics._0_expected,"{")}if(RT(r))return!0}if(e.isClassLike(r.parent)){if(De<2&&e.isPrivateIdentifier(r.name))return sn(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&8388608)return Lg(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 Lg(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 Lg(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 Lg(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 bF(r){for(var t=r;t;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(t))return sn(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?sn(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 sn(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 sn(r,o)}}function EF(r){if(r.dotDotDotToken){var t=r.parent.elements;if(r!==e.last(t))return sn(r,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(K_(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return sn(r.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return gp(r,r.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function CI(r){return e.isStringOrNumericLiteralLike(r)||r.kind===218&&r.operator===40&&r.operand.kind===8}function TF(r){return r.kind===9||r.kind===218&&r.operator===40&&r.operand.kind===9}function SF(r){if((e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)&&CI(r.argumentExpression))&&e.isEntityNameExpression(r.expression))return!!(Ss(r).flags&1024)}function xI(r){var t=r.initializer;if(t){var i=!(CI(t)||SF(t)||t.kind===110||t.kind===95||TF(t)),o=e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r);if(o&&!r.type){if(i)return sn(t,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return sn(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(!o||i)return sn(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function DF(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 sn(r,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(r))return sn(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 sn(r.exclamationToken,t)}(Ae0}function Gs(r,t,i,o,s){var c=e.getSourceFileOfNode(r);if(!D_(c)){var L=e.getSpanOfTokenAtPosition(c,r.pos);return ua.add(e.createFileDiagnostic(c,L.start,L.length,t,i,o,s)),!0}return!1}function gp(r,t,i,o,s,c,L){var G=e.getSourceFileOfNode(r);return D_(G)?!1:(ua.add(e.createFileDiagnostic(G,t,i,o,s,c,L)),!0)}function CF(r,t,i,o,s,c){var L=e.getSourceFileOfNode(t);return D_(L)?!1:(Zl(r,t,i,o,s,c),!0)}function sn(r,t,i,o,s){var c=e.getSourceFileOfNode(r);return D_(c)?!1:(ua.add(e.createDiagnosticForNode(r,t,i,o,s)),!0)}function xF(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 gp(r,o,i.end-o,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function IF(r){var t=e.getEffectiveReturnTypeNode(r);if(t)return sn(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function NF(r){if(e.isComputedPropertyName(r.name)&&e.isBinaryExpression(r.name.expression)&&r.name.expression.operatorToken.kind===101)return sn(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 sn(r.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(Lg(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(De<2&&e.isPrivateIdentifier(r.name))return sn(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(r.parent.kind===257){if(Lg(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 sn(r.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(r.parent)){if(Lg(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 sn(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 sn(r.exclamationToken,t)}}function kF(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:Gs(r,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function OF(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 sn(i?r.parent:r,t,o)}}return wF(r),!1}function wF(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||$l(!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 PF(r){var t=e.isLiteralTypeNode(r.parent)||e.isPrefixUnaryExpression(r.parent)&&e.isLiteralTypeNode(r.parent.parent);return!!(!t&&De<7&&sn(r,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function MF(r,t,i,o,s){var c=e.getSourceFileOfNode(r);if(!D_(c)){var L=e.getSpanOfTokenAtPosition(c,r.pos);return ua.add(e.createFileDiagnostic(c,e.textSpanEnd(L),0,t,i,o,s)),!0}return!1}function FF(){return yr||(yr=[],Fr.forEach(function(r,t){n.test(t)&&yr.push(r)})),yr}function GF(r){var t;return r.isTypeOnly&&r.name&&r.namedBindings?sn(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?OI(r.namedBindings):!1}function OI(r){return!!e.forEach(r.elements,function(t){if(t.isTypeOnly)return Gs(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 BF(r){if(Ae===e.ModuleKind.ES2015)return sn(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 sn(r,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=r.arguments;if(Ae!==e.ModuleKind.ESNext&&(K_(t),t.length>1)){var i=t[1];return sn(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 sn(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?sn(o,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element):!1}function UF(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 VF(r,t){if(e.getObjectFlags(r)&128&&hm(t,_p))return e.find(t.types,function(i){return!_p(i)})}function WF(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 jF(r,t){for(var i,o=0,s=0,c=t.types;s=o&&(i=L,o=ce)}else Su(G)&&1>=o&&(i=L,o=1)}return i}function HF(r){if(Jo(r,67108864)){var t=rl(r,function(i){return!(i.flags&131068)});if(!(t.flags&131072))return t}return r}function RI(r,t,i,o){if(t.flags&1048576&&r.flags&2621440){var s=fA(t,r);if(s)return s;var c=Yi(r);if(c){var L=uA(c,t);if(L)return M0(t,e.map(L,function(G){return[function(){return An(G)},G.escapedName]}),i,void 0,o)}}}}e.createTypeChecker=C;function m(j){return!e.isAccessor(j)}function u(j){return j.kind!==255&&j.kind!==168||!!j.body}function g(j){switch(j.parent.kind){case 269:case 274:return e.isIdentifier(j);default:return e.isDeclarationName(j)}}var F;(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"})(F||(F={}));function te(j){switch(j){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function ue(j){return!!(j.flags&1)}e.signatureHasRestParameter=ue;function X(j){return!!(j.flags&2)}e.signatureHasLiteralTypes=X})(gr||(gr={}));var gr;(function(e){function n(b,P,S,B){if(b===void 0||P===void 0)return b;var J=P(b);if(J===b)return b;var k;if(J!==void 0)return e.isArray(J)?k=(B||ie)(J):k=J,e.Debug.assertNode(k,S),k}e.visitNode=n;function f(b,P,S,B,J){if(b===void 0||P===void 0)return b;var k,M=b.length;(B===void 0||B<0)&&(B=0),(J===void 0||J>M-B)&&(J=M-B);var x,w=-1,K=-1;(B>0||J=2&&(J=p(J,S)),S.setLexicalEnvironmentFlags(1,!1)),S.suspendLexicalEnvironment(),J}e.visitParameterList=a;function p(b,P){for(var S,B=0;B0&&M<=159||M===191)return b;var x=S.factory;switch(M){case 79:return e.Debug.type(b),x.updateIdentifier(b,B(b.typeArguments,P,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(b),x.updateQualifiedName(b,k(b.left,P,e.isEntityName),k(b.right,P,e.isIdentifier));case 161:return e.Debug.type(b),x.updateComputedPropertyName(b,k(b.expression,P,e.isExpression));case 162:return e.Debug.type(b),x.updateTypeParameterDeclaration(b,k(b.name,P,e.isIdentifier),k(b.constraint,P,e.isTypeNode),k(b.default,P,e.isTypeNode));case 163:return e.Debug.type(b),x.updateParameterDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.dotDotDotToken,J,e.isDotDotDotToken),k(b.name,P,e.isBindingName),k(b.questionToken,J,e.isQuestionToken),k(b.type,P,e.isTypeNode),k(b.initializer,P,e.isExpression));case 164:return e.Debug.type(b),x.updateDecorator(b,k(b.expression,P,e.isExpression));case 165:return e.Debug.type(b),x.updatePropertySignature(b,B(b.modifiers,P,e.isModifier),k(b.name,P,e.isPropertyName),k(b.questionToken,J,e.isToken),k(b.type,P,e.isTypeNode));case 166:return e.Debug.type(b),x.updatePropertyDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isPropertyName),k(b.questionToken||b.exclamationToken,J,e.isQuestionOrExclamationToken),k(b.type,P,e.isTypeNode),k(b.initializer,P,e.isExpression));case 167:return e.Debug.type(b),x.updateMethodSignature(b,B(b.modifiers,P,e.isModifier),k(b.name,P,e.isPropertyName),k(b.questionToken,J,e.isQuestionToken),B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 168:return e.Debug.type(b),x.updateMethodDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.asteriskToken,J,e.isAsteriskToken),k(b.name,P,e.isPropertyName),k(b.questionToken,J,e.isQuestionToken),B(b.typeParameters,P,e.isTypeParameterDeclaration),a(b.parameters,P,S,B),k(b.type,P,e.isTypeNode),v(b.body,P,S,k));case 170:return e.Debug.type(b),x.updateConstructorDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),a(b.parameters,P,S,B),v(b.body,P,S,k));case 171:return e.Debug.type(b),x.updateGetAccessorDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isPropertyName),a(b.parameters,P,S,B),k(b.type,P,e.isTypeNode),v(b.body,P,S,k));case 172:return e.Debug.type(b),x.updateSetAccessorDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isPropertyName),a(b.parameters,P,S,B),v(b.body,P,S,k));case 169:return e.Debug.type(b),S.startLexicalEnvironment(),S.suspendLexicalEnvironment(),x.updateClassStaticBlockDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),v(b.body,P,S,k));case 173:return e.Debug.type(b),x.updateCallSignature(b,B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 174:return e.Debug.type(b),x.updateConstructSignature(b,B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 175:return e.Debug.type(b),x.updateIndexSignature(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 176:return e.Debug.type(b),x.updateTypePredicateNode(b,k(b.assertsModifier,P,e.isAssertsKeyword),k(b.parameterName,P,e.isIdentifierOrThisTypeNode),k(b.type,P,e.isTypeNode));case 177:return e.Debug.type(b),x.updateTypeReferenceNode(b,k(b.typeName,P,e.isEntityName),B(b.typeArguments,P,e.isTypeNode));case 178:return e.Debug.type(b),x.updateFunctionTypeNode(b,B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 179:return e.Debug.type(b),x.updateConstructorTypeNode(b,B(b.modifiers,P,e.isModifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.parameters,P,e.isParameterDeclaration),k(b.type,P,e.isTypeNode));case 180:return e.Debug.type(b),x.updateTypeQueryNode(b,k(b.exprName,P,e.isEntityName));case 181:return e.Debug.type(b),x.updateTypeLiteralNode(b,B(b.members,P,e.isTypeElement));case 182:return e.Debug.type(b),x.updateArrayTypeNode(b,k(b.elementType,P,e.isTypeNode));case 183:return e.Debug.type(b),x.updateTupleTypeNode(b,B(b.elements,P,e.isTypeNode));case 184:return e.Debug.type(b),x.updateOptionalTypeNode(b,k(b.type,P,e.isTypeNode));case 185:return e.Debug.type(b),x.updateRestTypeNode(b,k(b.type,P,e.isTypeNode));case 186:return e.Debug.type(b),x.updateUnionTypeNode(b,B(b.types,P,e.isTypeNode));case 187:return e.Debug.type(b),x.updateIntersectionTypeNode(b,B(b.types,P,e.isTypeNode));case 188:return e.Debug.type(b),x.updateConditionalTypeNode(b,k(b.checkType,P,e.isTypeNode),k(b.extendsType,P,e.isTypeNode),k(b.trueType,P,e.isTypeNode),k(b.falseType,P,e.isTypeNode));case 189:return e.Debug.type(b),x.updateInferTypeNode(b,k(b.typeParameter,P,e.isTypeParameterDeclaration));case 199:return e.Debug.type(b),x.updateImportTypeNode(b,k(b.argument,P,e.isTypeNode),k(b.qualifier,P,e.isEntityName),f(b.typeArguments,P,e.isTypeNode),b.isTypeOf);case 196:return e.Debug.type(b),x.updateNamedTupleMember(b,n(b.dotDotDotToken,P,e.isDotDotDotToken),n(b.name,P,e.isIdentifier),n(b.questionToken,P,e.isQuestionToken),n(b.type,P,e.isTypeNode));case 190:return e.Debug.type(b),x.updateParenthesizedType(b,k(b.type,P,e.isTypeNode));case 192:return e.Debug.type(b),x.updateTypeOperatorNode(b,k(b.type,P,e.isTypeNode));case 193:return e.Debug.type(b),x.updateIndexedAccessTypeNode(b,k(b.objectType,P,e.isTypeNode),k(b.indexType,P,e.isTypeNode));case 194:return e.Debug.type(b),x.updateMappedTypeNode(b,k(b.readonlyToken,J,e.isReadonlyKeywordOrPlusOrMinusToken),k(b.typeParameter,P,e.isTypeParameterDeclaration),k(b.nameType,P,e.isTypeNode),k(b.questionToken,J,e.isQuestionOrPlusOrMinusToken),k(b.type,P,e.isTypeNode),B(b.members,P,e.isTypeElement));case 195:return e.Debug.type(b),x.updateLiteralTypeNode(b,k(b.literal,P,e.isExpression));case 197:return e.Debug.type(b),x.updateTemplateLiteralType(b,k(b.head,P,e.isTemplateHead),B(b.templateSpans,P,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(b),x.updateTemplateLiteralTypeSpan(b,k(b.type,P,e.isTypeNode),k(b.literal,P,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(b),x.updateObjectBindingPattern(b,B(b.elements,P,e.isBindingElement));case 201:return e.Debug.type(b),x.updateArrayBindingPattern(b,B(b.elements,P,e.isArrayBindingElement));case 202:return e.Debug.type(b),x.updateBindingElement(b,k(b.dotDotDotToken,J,e.isDotDotDotToken),k(b.propertyName,P,e.isPropertyName),k(b.name,P,e.isBindingName),k(b.initializer,P,e.isExpression));case 203:return e.Debug.type(b),x.updateArrayLiteralExpression(b,B(b.elements,P,e.isExpression));case 204:return e.Debug.type(b),x.updateObjectLiteralExpression(b,B(b.properties,P,e.isObjectLiteralElementLike));case 205:return b.flags&32?(e.Debug.type(b),x.updatePropertyAccessChain(b,k(b.expression,P,e.isExpression),k(b.questionDotToken,J,e.isQuestionDotToken),k(b.name,P,e.isMemberName))):(e.Debug.type(b),x.updatePropertyAccessExpression(b,k(b.expression,P,e.isExpression),k(b.name,P,e.isMemberName)));case 206:return b.flags&32?(e.Debug.type(b),x.updateElementAccessChain(b,k(b.expression,P,e.isExpression),k(b.questionDotToken,J,e.isQuestionDotToken),k(b.argumentExpression,P,e.isExpression))):(e.Debug.type(b),x.updateElementAccessExpression(b,k(b.expression,P,e.isExpression),k(b.argumentExpression,P,e.isExpression)));case 207:return b.flags&32?(e.Debug.type(b),x.updateCallChain(b,k(b.expression,P,e.isExpression),k(b.questionDotToken,J,e.isQuestionDotToken),B(b.typeArguments,P,e.isTypeNode),B(b.arguments,P,e.isExpression))):(e.Debug.type(b),x.updateCallExpression(b,k(b.expression,P,e.isExpression),B(b.typeArguments,P,e.isTypeNode),B(b.arguments,P,e.isExpression)));case 208:return e.Debug.type(b),x.updateNewExpression(b,k(b.expression,P,e.isExpression),B(b.typeArguments,P,e.isTypeNode),B(b.arguments,P,e.isExpression));case 209:return e.Debug.type(b),x.updateTaggedTemplateExpression(b,k(b.tag,P,e.isExpression),f(b.typeArguments,P,e.isTypeNode),k(b.template,P,e.isTemplateLiteral));case 210:return e.Debug.type(b),x.updateTypeAssertion(b,k(b.type,P,e.isTypeNode),k(b.expression,P,e.isExpression));case 211:return e.Debug.type(b),x.updateParenthesizedExpression(b,k(b.expression,P,e.isExpression));case 212:return e.Debug.type(b),x.updateFunctionExpression(b,B(b.modifiers,P,e.isModifier),k(b.asteriskToken,J,e.isAsteriskToken),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),a(b.parameters,P,S,B),k(b.type,P,e.isTypeNode),v(b.body,P,S,k));case 213:return e.Debug.type(b),x.updateArrowFunction(b,B(b.modifiers,P,e.isModifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),a(b.parameters,P,S,B),k(b.type,P,e.isTypeNode),k(b.equalsGreaterThanToken,J,e.isEqualsGreaterThanToken),v(b.body,P,S,k));case 214:return e.Debug.type(b),x.updateDeleteExpression(b,k(b.expression,P,e.isExpression));case 215:return e.Debug.type(b),x.updateTypeOfExpression(b,k(b.expression,P,e.isExpression));case 216:return e.Debug.type(b),x.updateVoidExpression(b,k(b.expression,P,e.isExpression));case 217:return e.Debug.type(b),x.updateAwaitExpression(b,k(b.expression,P,e.isExpression));case 218:return e.Debug.type(b),x.updatePrefixUnaryExpression(b,k(b.operand,P,e.isExpression));case 219:return e.Debug.type(b),x.updatePostfixUnaryExpression(b,k(b.operand,P,e.isExpression));case 220:return e.Debug.type(b),x.updateBinaryExpression(b,k(b.left,P,e.isExpression),k(b.operatorToken,J,e.isBinaryOperatorToken),k(b.right,P,e.isExpression));case 221:return e.Debug.type(b),x.updateConditionalExpression(b,k(b.condition,P,e.isExpression),k(b.questionToken,J,e.isQuestionToken),k(b.whenTrue,P,e.isExpression),k(b.colonToken,J,e.isColonToken),k(b.whenFalse,P,e.isExpression));case 222:return e.Debug.type(b),x.updateTemplateExpression(b,k(b.head,P,e.isTemplateHead),B(b.templateSpans,P,e.isTemplateSpan));case 223:return e.Debug.type(b),x.updateYieldExpression(b,k(b.asteriskToken,J,e.isAsteriskToken),k(b.expression,P,e.isExpression));case 224:return e.Debug.type(b),x.updateSpreadElement(b,k(b.expression,P,e.isExpression));case 225:return e.Debug.type(b),x.updateClassExpression(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.heritageClauses,P,e.isHeritageClause),B(b.members,P,e.isClassElement));case 227:return e.Debug.type(b),x.updateExpressionWithTypeArguments(b,k(b.expression,P,e.isExpression),B(b.typeArguments,P,e.isTypeNode));case 228:return e.Debug.type(b),x.updateAsExpression(b,k(b.expression,P,e.isExpression),k(b.type,P,e.isTypeNode));case 229:return b.flags&32?(e.Debug.type(b),x.updateNonNullChain(b,k(b.expression,P,e.isExpression))):(e.Debug.type(b),x.updateNonNullExpression(b,k(b.expression,P,e.isExpression)));case 230:return e.Debug.type(b),x.updateMetaProperty(b,k(b.name,P,e.isIdentifier));case 232:return e.Debug.type(b),x.updateTemplateSpan(b,k(b.expression,P,e.isExpression),k(b.literal,P,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(b),x.updateBlock(b,B(b.statements,P,e.isStatement));case 236:return e.Debug.type(b),x.updateVariableStatement(b,B(b.modifiers,P,e.isModifier),k(b.declarationList,P,e.isVariableDeclarationList));case 237:return e.Debug.type(b),x.updateExpressionStatement(b,k(b.expression,P,e.isExpression));case 238:return e.Debug.type(b),x.updateIfStatement(b,k(b.expression,P,e.isExpression),k(b.thenStatement,P,e.isStatement,x.liftToBlock),k(b.elseStatement,P,e.isStatement,x.liftToBlock));case 239:return e.Debug.type(b),x.updateDoStatement(b,A(b.statement,P,S),k(b.expression,P,e.isExpression));case 240:return e.Debug.type(b),x.updateWhileStatement(b,k(b.expression,P,e.isExpression),A(b.statement,P,S));case 241:return e.Debug.type(b),x.updateForStatement(b,k(b.initializer,P,e.isForInitializer),k(b.condition,P,e.isExpression),k(b.incrementor,P,e.isExpression),A(b.statement,P,S));case 242:return e.Debug.type(b),x.updateForInStatement(b,k(b.initializer,P,e.isForInitializer),k(b.expression,P,e.isExpression),A(b.statement,P,S));case 243:return e.Debug.type(b),x.updateForOfStatement(b,k(b.awaitModifier,J,e.isAwaitKeyword),k(b.initializer,P,e.isForInitializer),k(b.expression,P,e.isExpression),A(b.statement,P,S));case 244:return e.Debug.type(b),x.updateContinueStatement(b,k(b.label,P,e.isIdentifier));case 245:return e.Debug.type(b),x.updateBreakStatement(b,k(b.label,P,e.isIdentifier));case 246:return e.Debug.type(b),x.updateReturnStatement(b,k(b.expression,P,e.isExpression));case 247:return e.Debug.type(b),x.updateWithStatement(b,k(b.expression,P,e.isExpression),k(b.statement,P,e.isStatement,x.liftToBlock));case 248:return e.Debug.type(b),x.updateSwitchStatement(b,k(b.expression,P,e.isExpression),k(b.caseBlock,P,e.isCaseBlock));case 249:return e.Debug.type(b),x.updateLabeledStatement(b,k(b.label,P,e.isIdentifier),k(b.statement,P,e.isStatement,x.liftToBlock));case 250:return e.Debug.type(b),x.updateThrowStatement(b,k(b.expression,P,e.isExpression));case 251:return e.Debug.type(b),x.updateTryStatement(b,k(b.tryBlock,P,e.isBlock),k(b.catchClause,P,e.isCatchClause),k(b.finallyBlock,P,e.isBlock));case 253:return e.Debug.type(b),x.updateVariableDeclaration(b,k(b.name,P,e.isBindingName),k(b.exclamationToken,J,e.isExclamationToken),k(b.type,P,e.isTypeNode),k(b.initializer,P,e.isExpression));case 254:return e.Debug.type(b),x.updateVariableDeclarationList(b,B(b.declarations,P,e.isVariableDeclaration));case 255:return e.Debug.type(b),x.updateFunctionDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.asteriskToken,J,e.isAsteriskToken),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),a(b.parameters,P,S,B),k(b.type,P,e.isTypeNode),v(b.body,P,S,k));case 256:return e.Debug.type(b),x.updateClassDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.heritageClauses,P,e.isHeritageClause),B(b.members,P,e.isClassElement));case 257:return e.Debug.type(b),x.updateInterfaceDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),B(b.heritageClauses,P,e.isHeritageClause),B(b.members,P,e.isTypeElement));case 258:return e.Debug.type(b),x.updateTypeAliasDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isIdentifier),B(b.typeParameters,P,e.isTypeParameterDeclaration),k(b.type,P,e.isTypeNode));case 259:return e.Debug.type(b),x.updateEnumDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isIdentifier),B(b.members,P,e.isEnumMember));case 260:return e.Debug.type(b),x.updateModuleDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.name,P,e.isModuleName),k(b.body,P,e.isModuleBody));case 261:return e.Debug.type(b),x.updateModuleBlock(b,B(b.statements,P,e.isStatement));case 262:return e.Debug.type(b),x.updateCaseBlock(b,B(b.clauses,P,e.isCaseOrDefaultClause));case 263:return e.Debug.type(b),x.updateNamespaceExportDeclaration(b,k(b.name,P,e.isIdentifier));case 264:return e.Debug.type(b),x.updateImportEqualsDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),b.isTypeOnly,k(b.name,P,e.isIdentifier),k(b.moduleReference,P,e.isModuleReference));case 265:return e.Debug.type(b),x.updateImportDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.importClause,P,e.isImportClause),k(b.moduleSpecifier,P,e.isExpression),k(b.assertClause,P,e.isAssertClause));case 292:return e.Debug.type(b),x.updateAssertClause(b,B(b.elements,P,e.isAssertEntry),b.multiLine);case 293:return e.Debug.type(b),x.updateAssertEntry(b,k(b.name,P,e.isAssertionKey),k(b.value,P,e.isStringLiteral));case 266:return e.Debug.type(b),x.updateImportClause(b,b.isTypeOnly,k(b.name,P,e.isIdentifier),k(b.namedBindings,P,e.isNamedImportBindings));case 267:return e.Debug.type(b),x.updateNamespaceImport(b,k(b.name,P,e.isIdentifier));case 273:return e.Debug.type(b),x.updateNamespaceExport(b,k(b.name,P,e.isIdentifier));case 268:return e.Debug.type(b),x.updateNamedImports(b,B(b.elements,P,e.isImportSpecifier));case 269:return e.Debug.type(b),x.updateImportSpecifier(b,b.isTypeOnly,k(b.propertyName,P,e.isIdentifier),k(b.name,P,e.isIdentifier));case 270:return e.Debug.type(b),x.updateExportAssignment(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),k(b.expression,P,e.isExpression));case 271:return e.Debug.type(b),x.updateExportDeclaration(b,B(b.decorators,P,e.isDecorator),B(b.modifiers,P,e.isModifier),b.isTypeOnly,k(b.exportClause,P,e.isNamedExportBindings),k(b.moduleSpecifier,P,e.isExpression),k(b.assertClause,P,e.isAssertClause));case 272:return e.Debug.type(b),x.updateNamedExports(b,B(b.elements,P,e.isExportSpecifier));case 274:return e.Debug.type(b),x.updateExportSpecifier(b,b.isTypeOnly,k(b.propertyName,P,e.isIdentifier),k(b.name,P,e.isIdentifier));case 276:return e.Debug.type(b),x.updateExternalModuleReference(b,k(b.expression,P,e.isExpression));case 277:return e.Debug.type(b),x.updateJsxElement(b,k(b.openingElement,P,e.isJsxOpeningElement),B(b.children,P,e.isJsxChild),k(b.closingElement,P,e.isJsxClosingElement));case 278:return e.Debug.type(b),x.updateJsxSelfClosingElement(b,k(b.tagName,P,e.isJsxTagNameExpression),B(b.typeArguments,P,e.isTypeNode),k(b.attributes,P,e.isJsxAttributes));case 279:return e.Debug.type(b),x.updateJsxOpeningElement(b,k(b.tagName,P,e.isJsxTagNameExpression),B(b.typeArguments,P,e.isTypeNode),k(b.attributes,P,e.isJsxAttributes));case 280:return e.Debug.type(b),x.updateJsxClosingElement(b,k(b.tagName,P,e.isJsxTagNameExpression));case 281:return e.Debug.type(b),x.updateJsxFragment(b,k(b.openingFragment,P,e.isJsxOpeningFragment),B(b.children,P,e.isJsxChild),k(b.closingFragment,P,e.isJsxClosingFragment));case 284:return e.Debug.type(b),x.updateJsxAttribute(b,k(b.name,P,e.isIdentifier),k(b.initializer,P,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(b),x.updateJsxAttributes(b,B(b.properties,P,e.isJsxAttributeLike));case 286:return e.Debug.type(b),x.updateJsxSpreadAttribute(b,k(b.expression,P,e.isExpression));case 287:return e.Debug.type(b),x.updateJsxExpression(b,k(b.expression,P,e.isExpression));case 288:return e.Debug.type(b),x.updateCaseClause(b,k(b.expression,P,e.isExpression),B(b.statements,P,e.isStatement));case 289:return e.Debug.type(b),x.updateDefaultClause(b,B(b.statements,P,e.isStatement));case 290:return e.Debug.type(b),x.updateHeritageClause(b,B(b.types,P,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(b),x.updateCatchClause(b,k(b.variableDeclaration,P,e.isVariableDeclaration),k(b.block,P,e.isBlock));case 294:return e.Debug.type(b),x.updatePropertyAssignment(b,k(b.name,P,e.isPropertyName),k(b.initializer,P,e.isExpression));case 295:return e.Debug.type(b),x.updateShorthandPropertyAssignment(b,k(b.name,P,e.isIdentifier),k(b.objectAssignmentInitializer,P,e.isExpression));case 296:return e.Debug.type(b),x.updateSpreadAssignment(b,k(b.expression,P,e.isExpression));case 297:return e.Debug.type(b),x.updateEnumMember(b,k(b.name,P,e.isPropertyName),k(b.initializer,P,e.isExpression));case 303:return e.Debug.type(b),x.updateSourceFile(b,d(b.statements,P,S));case 348:return e.Debug.type(b),x.updatePartiallyEmittedExpression(b,k(b.expression,P,e.isExpression));case 349:return e.Debug.type(b),x.updateCommaListExpression(b,B(b.elements,P,e.isExpression));default:return b}}}e.visitEachChild=q;function ie(b){return e.Debug.assert(b.length<=1,"Too many nodes written to output."),e.singleOrUndefined(b)}})(gr||(gr={}));var gr;(function(e){function n(w,K,Z,ne,R){var Y=R.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,U=Y.enter,$=Y.exit,T=[],I=[],y=new e.Map,D,C=[],m,u=[],g="",F=0,te=0,ue=0,X=0,j=0,Se=0,Ce=!1,O=0,Q=0,V=0,z=0,Te=0,ge=0,ke=!1,Me=!1,Ie=!1;return{getSources:function(){return T},addSource:Ge,setSourceContent:he,addName:ve,addMapping:Le,appendSourceMap:qe,toJSON:Lr,toString:function(){return JSON.stringify(Lr())}};function Ge(lr){U();var Cr=e.getRelativePathToDirectoryOrUrl(ne,lr,w.getCurrentDirectory(),w.getCanonicalFileName,!0),Or=y.get(Cr);return Or===void 0&&(Or=I.length,I.push(Cr),T.push(lr),y.set(Cr,Or)),$(),Or}function he(lr,Cr){if(U(),Cr!==null){for(D||(D=[]);D.lengthCr||z===Cr&&Te>Or)}function Le(lr,Cr,Or,Ke,Pe,Hr){e.Debug.assert(lr>=O,"generatedLine cannot backtrack"),e.Debug.assert(Cr>=0,"generatedCharacter cannot be negative"),e.Debug.assert(Or===void 0||Or>=0,"sourceIndex cannot be negative"),e.Debug.assert(Ke===void 0||Ke>=0,"sourceLine cannot be negative"),e.Debug.assert(Pe===void 0||Pe>=0,"sourceCharacter cannot be negative"),U(),(Ve(lr,Cr)||_e(Or,Ke,Pe))&&(Ae(),O=lr,Q=Cr,Me=!1,Ie=!1,ke=!0),Or!==void 0&&Ke!==void 0&&Pe!==void 0&&(V=Or,z=Ke,Te=Pe,Me=!0,Hr!==void 0&&(ge=Hr,Ie=!0)),$()}function qe(lr,Cr,Or,Ke,Pe,Hr){e.Debug.assert(lr>=O,"generatedLine cannot backtrack"),e.Debug.assert(Cr>=0,"generatedCharacter cannot be negative"),U();for(var ur=[],vr,de=v(Or.mappings),Fe=de.next();!Fe.done;Fe=de.next()){var $e=Fe.value;if(Hr&&($e.generatedLine>Hr.line||$e.generatedLine===Hr.line&&$e.generatedCharacter>Hr.character))break;if(!(Pe&&($e.generatedLine=1024&&Ye()}function Ae(){if(!(!ke||!Xe())){if(U(),F0&&(g+=String.fromCharCode.apply(void 0,u),u.length=0)}function Lr(){return Ae(),Ye(),{version:3,file:K,sourceRoot:Z,sources:I,names:C,mappings:g,sourcesContent:D}}function Er(lr){lr<0?lr=(-lr<<1)+1:lr=lr<<1;do{var Cr=lr&31;lr=lr>>5,lr>0&&(Cr=Cr|32),De(ie(Cr))}while(lr>0)}}e.createSourceMapGenerator=n;var f=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,d=/^\s*(\/\/[@#] .*)?$/;function a(w,K){return{getLineCount:function(){return K.length},getLineText:function(Z){return w.substring(K[Z],K[Z+1])}}}e.getLineInfo=a;function p(w){for(var K=w.getLineCount()-1;K>=0;K--){var Z=w.getLineText(K),ne=f.exec(Z);if(ne)return e.trimStringEnd(ne[1]);if(!Z.match(d))break}}e.tryGetSourceMappingURL=p;function N(w){return typeof w=="string"||w===null}function H(w){return w!==null&&typeof w=="object"&&w.version===3&&typeof w.file=="string"&&typeof w.mappings=="string"&&e.isArray(w.sources)&&e.every(w.sources,e.isString)&&(w.sourceRoot===void 0||w.sourceRoot===null||typeof w.sourceRoot=="string")&&(w.sourcesContent===void 0||w.sourcesContent===null||e.isArray(w.sourcesContent)&&e.every(w.sourcesContent,N))&&(w.names===void 0||w.names===null||e.isArray(w.names)&&e.every(w.names,e.isString))}e.isRawSourceMap=H;function h(w){try{var K=JSON.parse(w);if(H(K))return K}catch{}}e.tryParseRawSourceMap=h;function v(w){var K=!1,Z=0,ne=0,R=0,Y=0,U=0,$=0,T=0,I;return{get pos(){return Z},get error(){return I},get state(){return y(!0,!0)},next:function(){for(;!K&&Z=w.length)return C("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var j=b(w.charCodeAt(Z));if(j===-1)return C("Invalid character in VLQ"),-1;te=(j&32)!==0,X=X|(j&31)<>1:(X=X>>1,X=-X),X}}e.decodeMappings=v;function A(w,K){return w===K||w.generatedLine===K.generatedLine&&w.generatedCharacter===K.generatedCharacter&&w.sourceIndex===K.sourceIndex&&w.sourceLine===K.sourceLine&&w.sourceCharacter===K.sourceCharacter&&w.nameIndex===K.nameIndex}e.sameMapping=A;function q(w){return w.sourceIndex!==void 0&&w.sourceLine!==void 0&&w.sourceCharacter!==void 0}e.isSourceMapping=q;function ie(w){return w>=0&&w<26?65+w:w>=26&&w<52?97+w-26:w>=52&&w<62?48+w-52:w===62?43:w===63?47:e.Debug.fail("".concat(w,": not a base64 value"))}function b(w){return w>=65&&w<=90?w-65:w>=97&&w<=122?w-97+26:w>=48&&w<=57?w-48+52:w===43?62:w===47?63:-1}function P(w){return w.sourceIndex!==void 0&&w.sourcePosition!==void 0}function S(w,K){return w.generatedPosition===K.generatedPosition&&w.sourceIndex===K.sourceIndex&&w.sourcePosition===K.sourcePosition}function B(w,K){return e.Debug.assert(w.sourceIndex===K.sourceIndex),e.compareValues(w.sourcePosition,K.sourcePosition)}function J(w,K){return e.compareValues(w.generatedPosition,K.generatedPosition)}function k(w){return w.sourcePosition}function M(w){return w.generatedPosition}function x(w,K,Z){var ne=e.getDirectoryPath(Z),R=K.sourceRoot?e.getNormalizedAbsolutePath(K.sourceRoot,ne):ne,Y=e.getNormalizedAbsolutePath(K.file,ne),U=w.getSourceFileLike(Y),$=K.sources.map(function(ue){return e.getNormalizedAbsolutePath(ue,R)}),T=new e.Map($.map(function(ue,X){return[w.getCanonicalFileName(ue),X]})),I,y,D;return{getSourcePosition:te,getGeneratedPosition:F};function C(ue){var X=U!==void 0?e.getPositionOfLineAndCharacter(U,ue.generatedLine,ue.generatedCharacter,!0):-1,j,Se;if(q(ue)){var Ce=w.getSourceFileLike($[ue.sourceIndex]);j=K.sources[ue.sourceIndex],Se=Ce!==void 0?e.getPositionOfLineAndCharacter(Ce,ue.sourceLine,ue.sourceCharacter,!0):-1}return{generatedPosition:X,source:j,sourceIndex:ue.sourceIndex,sourcePosition:Se,nameIndex:ue.nameIndex}}function m(){if(I===void 0){var ue=v(K.mappings),X=e.arrayFrom(ue,C);ue.error!==void 0?(w.log&&w.log("Encountered error while decoding sourcemap: ".concat(ue.error)),I=e.emptyArray):I=X}return I}function u(ue){if(D===void 0){for(var X=[],j=0,Se=m();j0&&R!==ne.elements.length||!!(ne.elements.length-R)&&e.isDefaultImport(Z)}e.getImportNeedsImportStarHelper=N;function H(Z){return!N(Z)&&(e.isDefaultImport(Z)||!!Z.importClause&&e.isNamedImports(Z.importClause.namedBindings)&&f(Z.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=H;function h(Z,ne,R,Y){for(var U=[],$=e.createMultiMap(),T=[],I=new e.Map,y,D=!1,C,m=!1,u=!1,g=!1,F=0,te=ne.statements;F=64&&Z<=78}e.isCompoundAssignment=b;function P(Z){switch(Z){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=P;function S(Z,ne,R,Y){if(ne.body){var U=ne.body.statements,$=Z.copyPrologue(U,R,!1,Y);if($===U.length)return $;var T=e.findIndex(U,function(y){return e.isExpressionStatement(y)&&e.isSuperCall(y.expression)},$);if(T>-1){for(var I=$;I<=T;I++)R.push(e.visitNode(U[I],Y,e.isStatement));return T+1}return $}return 0}e.addPrologueDirectivesAndInitialSuperCall=S;function B(Z,ne,R){return e.filter(Z.members,function(Y){return M(Y,ne,R)})}e.getProperties=B;function J(Z){return x(Z)||e.isClassStaticBlockDeclaration(Z)}function k(Z){return e.filter(Z.members,J)}e.getStaticPropertiesAndClassStaticBlock=k;function M(Z,ne,R){return e.isPropertyDeclaration(Z)&&(!!Z.initializer||!ne)&&e.hasStaticModifier(Z)===R}function x(Z){return e.isPropertyDeclaration(Z)&&e.hasStaticModifier(Z)}function w(Z){return Z.kind===166&&Z.initializer!==void 0}e.isInitializedProperty=w;function K(Z){return!e.isStatic(Z)&&e.isMethodOrAccessor(Z)&&e.isPrivateIdentifier(Z.name)}e.isNonStaticMethodOrAccessorWithPrivateName=K})(gr||(gr={}));var gr;(function(e){(function(x){x[x.All=0]="All",x[x.ObjectRest=1]="ObjectRest"})(e.FlattenLevel||(e.FlattenLevel={}));function n(x,w,K,Z,ne,R){var Y=x,U;if(e.isDestructuringAssignment(x))for(U=x.right;e.isEmptyArrayLiteral(x.left)||e.isEmptyObjectLiteral(x.left);)if(e.isDestructuringAssignment(U))Y=x=U,U=x.right;else return e.visitNode(U,w,e.isExpression);var $,T={context:K,level:Z,downlevelIteration:!!K.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:I,emitBindingOrAssignment:y,createArrayBindingOrAssignmentPattern:function(D){return S(K.factory,D)},createObjectBindingOrAssignmentPattern:function(D){return J(K.factory,D)},createArrayBindingOrAssignmentElement:M,visitor:w};if(U&&(U=e.visitNode(U,w,e.isExpression),e.isIdentifier(U)&&f(x,U.escapedText)||a(x)?U=b(T,U,!1,Y):ne?U=b(T,U,!0,Y):e.nodeIsSynthesized(x)&&(Y=U)),H(T,x,U,Y,e.isDestructuringAssignment(x)),U&&ne){if(!e.some($))return U;$.push(U)}return K.factory.inlineExpressions($)||K.factory.createOmittedExpression();function I(D){$=e.append($,D)}function y(D,C,m,u){e.Debug.assertNode(D,R?e.isIdentifier:e.isExpression);var g=R?R(D,C,m):e.setTextRange(K.factory.createAssignment(e.visitNode(D,w,e.isExpression),C),m);g.original=u,I(g)}}e.flattenDestructuringAssignment=n;function f(x,w){var K=e.getTargetOfBindingOrAssignmentElement(x);return e.isBindingOrAssignmentPattern(K)?d(K,w):e.isIdentifier(K)?K.escapedText===w:!1}function d(x,w){for(var K=e.getElementsOfBindingOrAssignmentPattern(x),Z=0,ne=K;Z=1&&!(y.transformFlags&49152)&&!(e.getTargetOfBindingOrAssignmentElement(y).transformFlags&49152)&&!e.isComputedPropertyName(D))$=e.append($,e.visitNode(y,x.visitor));else{$&&(x.emitBindingOrAssignment(x.createObjectBindingOrAssignmentPattern($),Z,ne,K),$=void 0);var C=ie(x,Z,D);e.isComputedPropertyName(D)&&(T=e.append(T,C.argumentExpression)),H(x,y,C,y)}}}$&&x.emitBindingOrAssignment(x.createObjectBindingOrAssignmentPattern($),Z,ne,K)}function v(x,w,K,Z,ne){var R=e.getElementsOfBindingOrAssignmentPattern(K),Y=R.length;if(x.level<1&&x.downlevelIteration)Z=b(x,e.setTextRange(x.context.getEmitHelperFactory().createReadHelper(Z,Y>0&&e.getRestIndicatorOfBindingOrAssignmentElement(R[Y-1])?void 0:Y),ne),!1,ne);else if(Y!==1&&(x.level<1||Y===0)||e.every(R,e.isOmittedExpression)){var U=!e.isDeclarationBindingElement(w)||Y!==0;Z=b(x,Z,U,ne)}for(var $,T,I=0;I=1)if(y.transformFlags&32768||x.hasTransformedPriorElement&&!A(y)){x.hasTransformedPriorElement=!0;var D=x.context.factory.createTempVariable(void 0);x.hoistTempVariables&&x.context.hoistVariableDeclaration(D),T=e.append(T,[D,y]),$=e.append($,x.createArrayBindingOrAssignmentElement(D))}else $=e.append($,y);else{if(e.isOmittedExpression(y))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(y)){if(I===Y-1){var C=x.context.factory.createArraySliceCall(Z,I);H(x,y,C,y)}}else{var C=x.context.factory.createElementAccessExpression(Z,I);H(x,y,C,y)}}}if($&&x.emitBindingOrAssignment(x.createArrayBindingOrAssignmentPattern($),Z,ne,K),T)for(var m=0,u=T;m=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(oe);return p.updateSourceFile(oe,e.visitLexicalEnvironment(oe.statements,u,a,0,mr))}function Q(oe,mr){var se=0;e.some(mr)&&(se|=1);var Be=e.getEffectiveBaseTypeNode(oe);return Be&&e.skipOuterExpressions(Be.expression).kind!==104&&(se|=64),e.classOrConstructorParameterIsDecorated(oe)&&(se|=2),e.childIsDecorated(oe)&&(se|=4),Ci(oe)?se|=8:yi(oe)?se|=32:va(oe)&&(se|=16),P<=1&&se&7&&(se|=128),se}function V(oe){return!!(oe.transformFlags&4096)}function z(oe){return e.some(oe.decorators)||e.some(oe.typeParameters)||e.some(oe.heritageClauses,V)||e.some(oe.members,V)}function Te(oe){if(!z(oe)&&!(M&&e.hasSyntacticModifier(oe,1)))return e.visitEachChild(oe,C,a);var mr=e.getProperties(oe,!0,!0),se=Q(oe,mr);se&128&&a.startLexicalEnvironment();var Be=oe.name||(se&5?p.getGeneratedNameForNode(oe):void 0),er=se&2?ke(oe,Be):ge(oe,Be,se),hr=[er];if(Lr(hr,oe,!1),Lr(hr,oe,!0),Cr(hr,oe),se&128){var qr=e.createTokenRange(e.skipTrivia(k.text,oe.members.end),19),Dt=p.getInternalName(oe),Jt=p.createPartiallyEmittedExpression(Dt);e.setTextRangeEnd(Jt,qr.end),e.setEmitFlags(Jt,1536);var Sn=p.createReturnStatement(Jt);e.setTextRangePos(Sn,qr.pos),e.setEmitFlags(Sn,1920),hr.push(Sn),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(oe,!1,!1),void 0,void 0,ta)]));e.setOriginalNode(xa,oe),e.setCommentRange(xa,oe),e.setSourceMapRange(xa,e.moveRangePastDecorators(oe)),e.startOnNewLine(xa),hr=[xa]}return se&8?Ka(hr,oe):(se&128||se&2)&&(se&32?hr.push(p.createExportDefault(p.getLocalName(oe,!1,!0))):se&16&&hr.push(p.createExternalModuleExport(p.getLocalName(oe,!1,!0)))),hr.length>1&&(hr.push(p.createEndOfDeclarationMarker(oe)),e.setEmitFlags(er,e.getEmitFlags(er)|4194304)),e.singleOrMany(hr)}function ge(oe,mr,se){var Be=se&128?void 0:e.visitNodes(oe.modifiers,Se,e.isModifier),er=p.createClassDeclaration(void 0,Be,mr,void 0,e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),Ie(oe)),hr=e.getEmitFlags(oe);return se&1&&(hr|=32),e.setTextRange(er,oe),e.setOriginalNode(er,oe),e.setEmitFlags(er,hr),er}function ke(oe,mr){var se=e.moveRangePastDecorators(oe),Be=No(oe),er=P<=2?p.getInternalName(oe,!1,!0):p.getLocalName(oe,!1,!0),hr=e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),qr=Ie(oe),Dt=p.createClassExpression(void 0,void 0,mr,void 0,hr,qr);e.setOriginalNode(Dt,oe),e.setTextRange(Dt,se);var Jt=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(er,void 0,void 0,Be?p.createAssignment(Be,Dt):Dt)],1));return e.setOriginalNode(Jt,oe),e.setTextRange(Jt,se),e.setCommentRange(Jt,oe),Jt}function Me(oe){if(!z(oe))return e.visitEachChild(oe,C,a);var mr=p.createClassExpression(void 0,void 0,oe.name,void 0,e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),Ie(oe));return e.setOriginalNode(mr,oe),e.setTextRange(mr,oe),mr}function Ie(oe){var mr=[],se=e.getFirstConstructorWithBody(oe),Be=se&&e.filter(se.parameters,function(Dt){return e.isParameterPropertyDeclaration(Dt,se)});if(Be)for(var er=0,hr=Be;er0&&e.parameterIsThisKeyword(se[0]),er=Be?1:0,hr=Be?se.length-1:se.length,qr=0;qr0?mr.kind===166?p.createVoidZero():p.createNull():void 0,Dt=N().createDecorateHelper(Be,er,hr,qr);return e.setTextRange(Dt,e.moveRangePastDecorators(mr)),e.setEmitFlags(Dt,1536),Dt}}function Cr(oe,mr){var se=Or(mr);se&&oe.push(e.setOriginalNode(p.createExpressionStatement(se),mr))}function Or(oe){var mr=Le(oe),se=Ye(oe,oe,mr);if(!!se){var Be=Y&&Y[e.getOriginalNodeId(oe)],er=P<=2?p.getInternalName(oe,!1,!0):p.getLocalName(oe,!1,!0),hr=N().createDecorateHelper(se,er),qr=p.createAssignment(er,Be?p.createAssignment(Be,hr):hr);return e.setEmitFlags(qr,1536),e.setSourceMapRange(qr,e.moveRangePastDecorators(oe)),qr}}function Ke(oe){return e.visitNode(oe.expression,C,e.isExpression)}function Pe(oe,mr){var se;if(oe){se=[];for(var Be=0,er=oe;Be=2,w=J<=8||!k,K=h.onSubstituteNode;h.onSubstituteNode=ze;var Z=h.onEmitNode;h.onEmitNode=Jr;var ne,R,Y,U,$=[],T=new e.Map,I,y,D;return e.chainBundle(h,C);function C(ee){var Ne=h.getCompilerOptions();if(ee.isDeclarationFile||k&&e.getEmitScriptTarget(Ne)===99)return ee;var me=e.visitEachChild(ee,g,h);return e.addEmitHelpers(me,h.readEmitHelpers()),me}function m(ee,Ne){if(ee.transformFlags&8388608)switch(ee.kind){case 225:case 256:return Xe(ee);case 166:return V(ee);case 236:return Se(ee);case 80:return ue(ee);case 169:return Cr(ee)}if(ee.transformFlags&8388608||ee.transformFlags&33554432&&x&&D&&I)switch(ee.kind){case 218:case 219:return Me(ee,Ne);case 220:return Le(ee,Ne);case 207:return ve(ee);case 209:return Ve(ee);case 205:return ge(ee);case 206:return ke(ee);case 237:return Ge(ee);case 241:return Ie(ee);case 255:case 212:case 170:case 168:case 171:case 172:{var me=D;D=void 0;var Ze=e.visitEachChild(ee,g,h);return D=me,Ze}}return e.visitEachChild(ee,g,h)}function u(ee){return m(ee,!0)}function g(ee){return m(ee,!1)}function F(ee){switch(ee.kind){case 290:return e.visitEachChild(ee,F,h);case 227:return Lr(ee)}return g(ee)}function te(ee){switch(ee.kind){case 204:case 203:return We(ee);default:return g(ee)}}function ue(ee){return!M||e.isStatement(ee.parent)?ee:e.setOriginalNode(v.createIdentifier(""),ee)}function X(ee){if(!M)return ee;var Ne=ee.left;e.Debug.assertNode(Ne,e.isPrivateIdentifier),e.Debug.assert(ee.operatorToken.kind===101);var me=or(Ne);if(me){var Ze=e.visitNode(ee.right,g,e.isExpression);return e.setOriginalNode(h.getEmitHelperFactory().createClassPrivateFieldInHelper(me.brandCheckIdentifier,Ze),ee)}return e.visitEachChild(ee,g,h)}function j(ee){switch(ee.kind){case 170:return;case 171:case 172:case 168:return O(ee);case 166:return V(ee);case 161:return Ce(ee);case 233:return ee;default:return g(ee)}}function Se(ee){var Ne=U;U=[];var me=e.visitEachChild(ee,g,h),Ze=e.some(U)?Gt([me],U,!0):me;return U=Ne,Ze}function Ce(ee){var Ne=e.visitEachChild(ee,g,h);if(e.some(Y)){var me=Y;me.push(Ne.expression),Y=[],Ne=v.updateComputedPropertyName(Ne,v.inlineExpressions(me))}return Ne}function O(ee){if(e.Debug.assert(!e.some(ee.decorators)),!M||!e.isPrivateIdentifier(ee.name))return e.visitEachChild(ee,j,h);var Ne=or(ee.name);if(e.Debug.assert(Ne,"Undeclared private name for property declaration."),!Ne.isValid)return ee;var me=Q(ee);me&&ir().push(v.createAssignment(me,v.createFunctionExpression(e.filter(ee.modifiers,function(Ze){return!e.isStaticModifier(Ze)}),ee.asteriskToken,me,void 0,e.visitParameterList(ee.parameters,j,h),void 0,e.visitFunctionBody(ee.body,j,h))))}function Q(ee){e.Debug.assert(e.isPrivateIdentifier(ee.name));var Ne=or(ee.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(ee))return Ne.getterName;if(e.isSetAccessor(ee))return Ne.setterName}}function V(ee){if(e.Debug.assert(!e.some(ee.decorators)),e.isPrivateIdentifier(ee.name)){if(!M)return v.updatePropertyDeclaration(ee,void 0,e.visitNodes(ee.modifiers,g,e.isModifier),ee.name,void 0,void 0,void 0);var Ne=or(ee.name);if(e.Debug.assert(Ne,"Undeclared private name for property declaration."),!Ne.isValid)return ee}var me=Rt(ee.name,!!ee.initializer||k);me&&!e.isSimpleInlineableExpression(me)&&ir().push(me)}function z(ee,Ne){return Te(ee,e.visitNode(Ne,g,e.isExpression))}function Te(ee,Ne){switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),ee.kind){case"a":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,ee.brandCheckIdentifier,ee.kind,ee.getterName);case"m":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,ee.brandCheckIdentifier,ee.kind,ee.methodName);case"f":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,ee.brandCheckIdentifier,ee.kind,ee.variableName);default:e.Debug.assertNever(ee,"Unknown private element type")}}function ge(ee){if(M&&e.isPrivateIdentifier(ee.name)){var Ne=or(ee.name);if(Ne)return e.setTextRange(e.setOriginalNode(z(Ne,ee.expression),ee),ee)}if(x&&e.isSuperProperty(ee)&&e.isIdentifier(ee.name)&&D&&I){var me=I.classConstructor,Ze=I.superClassReference,xr=I.facts;if(xr&1)return pr(ee);if(me&&Ze){var fr=v.createReflectGetCall(Ze,v.createStringLiteralFromNode(ee.name),me);return e.setOriginalNode(fr,ee.expression),e.setTextRange(fr,ee.expression),fr}}return e.visitEachChild(ee,g,h)}function ke(ee){if(x&&e.isSuperProperty(ee)&&D&&I){var Ne=I.classConstructor,me=I.superClassReference,Ze=I.facts;if(Ze&1)return pr(ee);if(Ne&&me){var xr=v.createReflectGetCall(me,e.visitNode(ee.argumentExpression,g,e.isExpression),Ne);return e.setOriginalNode(xr,ee.expression),e.setTextRange(xr,ee.expression),xr}}return e.visitEachChild(ee,g,h)}function Me(ee,Ne){if(ee.operator===45||ee.operator===46){if(M&&e.isPrivateIdentifierPropertyAccessExpression(ee.operand)){var me=void 0;if(me=or(ee.operand.name)){var Ze=e.visitNode(ee.operand.expression,g,e.isExpression),xr=he(Ze),fr=xr.readExpression,dr=xr.initializeExpression,et=z(me,fr),yt=e.isPrefixUnaryExpression(ee)||Ne?void 0:v.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(v,ee,et,A,yt),et=qe(me,dr||fr,et,63),e.setOriginalNode(et,ee),e.setTextRange(et,ee),yt&&(et=v.createComma(et,yt),e.setTextRange(et,ee)),et}}else if(x&&e.isSuperProperty(ee.operand)&&D&&I){var Wr=I.classConstructor,tr=I.superClassReference,Ir=I.facts;if(Ir&1){var kr=pr(ee.operand);return e.isPrefixUnaryExpression(ee)?v.updatePrefixUnaryExpression(ee,kr):v.updatePostfixUnaryExpression(ee,kr)}if(Wr&&tr){var zr=void 0,gt=void 0;if(e.isPropertyAccessExpression(ee.operand)?e.isIdentifier(ee.operand.name)&&(gt=zr=v.createStringLiteralFromNode(ee.operand.name)):e.isSimpleInlineableExpression(ee.operand.argumentExpression)?gt=zr=ee.operand.argumentExpression:(gt=v.createTempVariable(A),zr=v.createAssignment(gt,e.visitNode(ee.operand.argumentExpression,g,e.isExpression))),zr&>){var et=v.createReflectGetCall(tr,gt,Wr);e.setTextRange(et,ee.operand);var yt=Ne?void 0:v.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(v,ee,et,A,yt),et=v.createReflectSetCall(tr,zr,et,Wr),e.setOriginalNode(et,ee),e.setTextRange(et,ee),yt&&(et=v.createComma(et,yt),e.setTextRange(et,ee)),et}}}}return e.visitEachChild(ee,g,h)}function Ie(ee){return v.updateForStatement(ee,e.visitNode(ee.initializer,u,e.isForInitializer),e.visitNode(ee.condition,g,e.isExpression),e.visitNode(ee.incrementor,u,e.isExpression),e.visitIterationBody(ee.statement,g,h))}function Ge(ee){return v.updateExpressionStatement(ee,e.visitNode(ee.expression,u,e.isExpression))}function he(ee){var Ne=e.nodeIsSynthesized(ee)?ee:v.cloneNode(ee);if(e.isSimpleInlineableExpression(ee))return{readExpression:Ne,initializeExpression:void 0};var me=v.createTempVariable(A),Ze=v.createAssignment(me,Ne);return{readExpression:me,initializeExpression:Ze}}function ve(ee){if(M&&e.isPrivateIdentifierPropertyAccessExpression(ee.expression)){var Ne=v.createCallBinding(ee.expression,A,J),me=Ne.thisArg,Ze=Ne.target;return e.isCallChain(ee)?v.updateCallChain(ee,v.createPropertyAccessChain(e.visitNode(Ze,g),ee.questionDotToken,"call"),void 0,void 0,Gt([e.visitNode(me,g,e.isExpression)],e.visitNodes(ee.arguments,g,e.isExpression),!0)):v.updateCallExpression(ee,v.createPropertyAccessExpression(e.visitNode(Ze,g),"call"),void 0,Gt([e.visitNode(me,g,e.isExpression)],e.visitNodes(ee.arguments,g,e.isExpression),!0))}if(x&&e.isSuperProperty(ee.expression)&&D&&(I==null?void 0:I.classConstructor)){var xr=v.createFunctionCallCall(e.visitNode(ee.expression,g,e.isExpression),I.classConstructor,e.visitNodes(ee.arguments,g,e.isExpression));return e.setOriginalNode(xr,ee),e.setTextRange(xr,ee),xr}return e.visitEachChild(ee,g,h)}function Ve(ee){if(M&&e.isPrivateIdentifierPropertyAccessExpression(ee.tag)){var Ne=v.createCallBinding(ee.tag,A,J),me=Ne.thisArg,Ze=Ne.target;return v.updateTaggedTemplateExpression(ee,v.createCallExpression(v.createPropertyAccessExpression(e.visitNode(Ze,g),"bind"),void 0,[e.visitNode(me,g,e.isExpression)]),void 0,e.visitNode(ee.template,g,e.isTemplateLiteral))}if(x&&e.isSuperProperty(ee.tag)&&D&&(I==null?void 0:I.classConstructor)){var xr=v.createFunctionBindCall(e.visitNode(ee.tag,g,e.isExpression),I.classConstructor,[]);return e.setOriginalNode(xr,ee),e.setTextRange(xr,ee),v.updateTaggedTemplateExpression(ee,xr,void 0,e.visitNode(ee.template,g,e.isTemplateLiteral))}return e.visitEachChild(ee,g,h)}function _e(ee){if(M){I&&T.set(e.getOriginalNodeId(ee),I),ie();var Ne=D;D=ee;var me=e.visitNodes(ee.body.statements,g,e.isStatement);me=v.mergeLexicalEnvironment(me,q()),D=Ne;var Ze=v.createImmediatelyInvokedArrowFunction(me);return e.setOriginalNode(Ze,ee),e.setTextRange(Ze,ee),e.addEmitFlags(Ze,2),Ze}}function Le(ee,Ne){if(e.isDestructuringAssignment(ee)){var me=Y;Y=void 0,ee=v.updateBinaryExpression(ee,e.visitNode(ee.left,te),ee.operatorToken,e.visitNode(ee.right,g));var Ze=e.some(Y)?v.inlineExpressions(e.compact(Gt(Gt([],Y,!0),[ee],!1))):ee;return Y=me,Ze}if(e.isAssignmentExpression(ee)){if(M&&e.isPrivateIdentifierPropertyAccessExpression(ee.left)){var xr=or(ee.left.name);if(xr)return e.setTextRange(e.setOriginalNode(qe(xr,ee.left.expression,ee.right,ee.operatorToken.kind),ee),ee)}else if(x&&e.isSuperProperty(ee.left)&&D&&I){var fr=I.classConstructor,dr=I.superClassReference,et=I.facts;if(et&1)return v.updateBinaryExpression(ee,pr(ee.left),ee.operatorToken,e.visitNode(ee.right,g,e.isExpression));if(fr&&dr){var yt=e.isElementAccessExpression(ee.left)?e.visitNode(ee.left.argumentExpression,g,e.isExpression):e.isIdentifier(ee.left.name)?v.createStringLiteralFromNode(ee.left.name):void 0;if(yt){var Wr=e.visitNode(ee.right,g,e.isExpression);if(e.isCompoundAssignment(ee.operatorToken.kind)){var tr=yt;e.isSimpleInlineableExpression(yt)||(tr=v.createTempVariable(A),yt=v.createAssignment(tr,yt));var Ir=v.createReflectGetCall(dr,tr,fr);e.setOriginalNode(Ir,ee.left),e.setTextRange(Ir,ee.left),Wr=v.createBinaryExpression(Ir,e.getNonAssignmentOperatorForCompoundAssignment(ee.operatorToken.kind),Wr),e.setTextRange(Wr,ee)}var kr=Ne?void 0:v.createTempVariable(A);return kr&&(Wr=v.createAssignment(kr,Wr),e.setTextRange(kr,ee)),Wr=v.createReflectSetCall(dr,yt,Wr,fr),e.setOriginalNode(Wr,ee),e.setTextRange(Wr,ee),kr&&(Wr=v.createComma(Wr,kr),e.setTextRange(Wr,ee)),Wr}}}}return ee.operatorToken.kind===101&&e.isPrivateIdentifier(ee.left)?X(ee):e.visitEachChild(ee,g,h)}function qe(ee,Ne,me,Ze){if(Ne=e.visitNode(Ne,g,e.isExpression),me=e.visitNode(me,g,e.isExpression),e.isCompoundAssignment(Ze)){var xr=he(Ne),fr=xr.readExpression,dr=xr.initializeExpression;Ne=dr||fr,me=v.createBinaryExpression(Te(ee,fr),e.getNonAssignmentOperatorForCompoundAssignment(Ze),me)}switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),ee.kind){case"a":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,ee.brandCheckIdentifier,me,ee.kind,ee.setterName);case"m":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,ee.brandCheckIdentifier,me,ee.kind,void 0);case"f":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,ee.brandCheckIdentifier,me,ee.kind,ee.variableName);default:e.Debug.assertNever(ee,"Unknown private element type")}}function Xe(ee){if(!e.forEach(ee.members,De))return e.visitEachChild(ee,g,h);var Ne=Y;if(Y=void 0,cn(),M){var me=e.getNameOfDeclaration(ee);me&&e.isIdentifier(me)&&(zn().className=e.idText(me));var Ze=Ae(ee);e.some(Ze)&&(zn().weakSetName=sr("instances",Ze[0].name))}var xr=e.isClassDeclaration(ee)?Er(ee):lr(ee);return bn(),Y=Ne,xr}function De(ee){return e.isPropertyDeclaration(ee)||e.isClassStaticBlockDeclaration(ee)||M&&ee.name&&e.isPrivateIdentifier(ee.name)}function Ae(ee){return e.filter(ee.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function Ye(ee){var Ne=0,me=e.getOriginalNode(ee);e.isClassDeclaration(me)&&e.classOrConstructorParameterIsDecorated(me)&&(Ne|=1);for(var Ze=0,xr=ee.members;Zedr&&(k||e.addRange(et,e.visitNodes(Ne.body.statements,g,e.isStatement,dr,yt-dr)),dr=yt)}var Wr=v.createThis();return He(et,xr,Wr),vr(et,Ze,Wr),Ne&&e.addRange(et,e.visitNodes(Ne.body.statements,g,e.isStatement,dr)),et=v.mergeLexicalEnvironment(et,q()),e.setTextRange(v.createBlock(e.setTextRange(v.createNodeArray(et),Ne?Ne.body.statements:ee.members),!0),Ne?Ne.body:void 0)}function vr(ee,Ne,me){for(var Ze=0,xr=Ne;Ze=0;--Ze){var xr=$[Ze];if(!!xr){var me=(Ne=xr.privateIdentifierEnvironment)===null||Ne===void 0?void 0:Ne.identifiers.get(ee.escapedText);if(me)return me}}}function fe(ee){var Ne=v.getGeneratedNameForNode(ee),me=or(ee.name);if(!me)return e.visitEachChild(ee,g,h);var Ze=ee.expression;return(e.isThisProperty(ee)||e.isSuperProperty(ee)||!e.isSimpleCopiableExpression(ee.expression))&&(Ze=v.createTempVariable(A,!0),ir().push(v.createBinaryExpression(Ze,63,e.visitNode(ee.expression,g,e.isExpression)))),v.createAssignmentTargetWrapper(Ne,qe(me,Ze,Ne,63))}function je(ee){var Ne=e.getTargetOfBindingOrAssignmentElement(ee);if(Ne){var me=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=fe(Ne);else if(x&&e.isSuperProperty(Ne)&&D&&I){var Ze=I.classConstructor,xr=I.superClassReference,fr=I.facts;if(fr&1)me=pr(Ne);else if(Ze&&xr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,g,e.isExpression):e.isIdentifier(Ne.name)?v.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=v.createTempVariable(void 0);me=v.createAssignmentTargetWrapper(et,v.createReflectSetCall(xr,dr,et,Ze))}}}if(me)return e.isAssignmentExpression(ee)?v.updateBinaryExpression(ee,me,ee.operatorToken,e.visitNode(ee.right,g,e.isExpression)):e.isSpreadElement(ee)?v.updateSpreadElement(ee,me):me}return e.visitNode(ee,te)}function Ee(ee){if(e.isObjectBindingOrAssignmentElement(ee)&&!e.isShorthandPropertyAssignment(ee)){var Ne=e.getTargetOfBindingOrAssignmentElement(ee),me=void 0;if(Ne){if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=fe(Ne);else if(x&&e.isSuperProperty(Ne)&&D&&I){var Ze=I.classConstructor,xr=I.superClassReference,fr=I.facts;if(fr&1)me=pr(Ne);else if(Ze&&xr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,g,e.isExpression):e.isIdentifier(Ne.name)?v.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=v.createTempVariable(void 0);me=v.createAssignmentTargetWrapper(et,v.createReflectSetCall(xr,dr,et,Ze))}}}}if(e.isPropertyAssignment(ee)){var yt=e.getInitializerOfBindingOrAssignmentElement(ee);return v.updatePropertyAssignment(ee,e.visitNode(ee.name,g,e.isPropertyName),me?yt?v.createAssignment(me,e.visitNode(yt,g)):me:e.visitNode(ee.initializer,te,e.isExpression))}if(e.isSpreadAssignment(ee))return v.updateSpreadAssignment(ee,me||e.visitNode(ee.expression,te,e.isExpression));e.Debug.assert(me===void 0,"Should not have generated a wrapped target")}return e.visitNode(ee,g)}function We(ee){return e.isArrayLiteralExpression(ee)?v.updateArrayLiteralExpression(ee,e.visitNodes(ee.elements,je,e.isExpression)):v.updateObjectLiteralExpression(ee,e.visitNodes(ee.properties,Ee,e.isObjectLiteralElementLike))}}e.transformClassFields=d;function a(h,v){return e.factory.createAssignment(h,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment("value",v||e.factory.createVoidZero())]))}function p(h,v,A){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(A,"set"),void 0,[h,v||e.factory.createVoidZero()])}function N(h,v){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(v,"add"),void 0,[h])}function H(h){return h.escapedText==="#constructor"}})(gr||(gr={}));var gr;(function(e){var n;(function(p){p[p.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"})(n||(n={}));var f;(function(p){p[p.NonTopLevel=1]="NonTopLevel",p[p.HasLexicalThis=2]="HasLexicalThis"})(f||(f={}));function d(p){var N=p.factory,H=p.getEmitHelperFactory,h=p.resumeLexicalEnvironment,v=p.endLexicalEnvironment,A=p.hoistVariableDeclaration,q=p.getEmitResolver(),ie=p.getCompilerOptions(),b=e.getEmitScriptTarget(ie),P,S=0,B,J,k,M=[],x=0,w=p.onEmitNode,K=p.onSubstituteNode;return p.onEmitNode=Ge,p.onSubstituteNode=he,e.chainBundle(p,Z);function Z(De){if(De.isDeclarationFile)return De;ne(1,!1),ne(2,!e.isEffectiveStrictModeSourceFile(De,ie));var Ae=e.visitEachChild(De,I,p);return e.addEmitHelpers(Ae,p.readEmitHelpers()),Ae}function ne(De,Ae){x=Ae?x|De:x&~De}function R(De){return(x&De)!==0}function Y(){return!R(1)}function U(){return R(2)}function $(De,Ae,Ye){var Lr=De&~x;if(Lr){ne(Lr,!0);var Er=Ae(Ye);return ne(Lr,!1),Er}return Ae(Ye)}function T(De){return e.visitEachChild(De,I,p)}function I(De){if((De.transformFlags&128)===0)return De;switch(De.kind){case 131:return;case 217:return F(De);case 168:return $(3,te,De);case 255:return $(3,ue,De);case 212:return $(3,X,De);case 213:return $(1,j,De);case 205:return J&&e.isPropertyAccessExpression(De)&&De.expression.kind===106&&J.add(De.name.escapedText),e.visitEachChild(De,I,p);case 206:return J&&De.expression.kind===106&&(k=!0),e.visitEachChild(De,I,p);case 171:case 172:case 170:case 256:case 225:return $(3,T,De);default:return e.visitEachChild(De,I,p)}}function y(De){if(e.isNodeWithPossibleHoistedDeclaration(De))switch(De.kind){case 236:return C(De);case 241:return g(De);case 242:return m(De);case 243:return u(De);case 291:return D(De);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(De,y,p);default:return e.Debug.assertNever(De,"Unhandled node.")}return I(De)}function D(De){var Ae=new e.Set;Se(De.variableDeclaration,Ae);var Ye;if(Ae.forEach(function(lr,Cr){B.has(Cr)&&(Ye||(Ye=new e.Set(B)),Ye.delete(Cr))}),Ye){var Lr=B;B=Ye;var Er=e.visitEachChild(De,y,p);return B=Lr,Er}else return e.visitEachChild(De,y,p)}function C(De){if(Ce(De.declarationList)){var Ae=O(De.declarationList,!1);return Ae?N.createExpressionStatement(Ae):void 0}return e.visitEachChild(De,I,p)}function m(De){return N.updateForInStatement(De,Ce(De.initializer)?O(De.initializer,!0):e.visitNode(De.initializer,I,e.isForInitializer),e.visitNode(De.expression,I,e.isExpression),e.visitIterationBody(De.statement,y,p))}function u(De){return N.updateForOfStatement(De,e.visitNode(De.awaitModifier,I,e.isToken),Ce(De.initializer)?O(De.initializer,!0):e.visitNode(De.initializer,I,e.isForInitializer),e.visitNode(De.expression,I,e.isExpression),e.visitIterationBody(De.statement,y,p))}function g(De){var Ae=De.initializer;return N.updateForStatement(De,Ce(Ae)?O(Ae,!1):e.visitNode(De.initializer,I,e.isForInitializer),e.visitNode(De.condition,I,e.isExpression),e.visitNode(De.incrementor,I,e.isExpression),e.visitIterationBody(De.statement,y,p))}function F(De){return Y()?e.visitEachChild(De,I,p):e.setOriginalNode(e.setTextRange(N.createYieldExpression(void 0,e.visitNode(De.expression,I,e.isExpression)),De),De)}function te(De){return N.updateMethodDeclaration(De,void 0,e.visitNodes(De.modifiers,I,e.isModifier),De.asteriskToken,De.name,void 0,void 0,e.visitParameterList(De.parameters,I,p),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,I,p))}function ue(De){return N.updateFunctionDeclaration(De,void 0,e.visitNodes(De.modifiers,I,e.isModifier),De.asteriskToken,De.name,void 0,e.visitParameterList(De.parameters,I,p),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,I,p))}function X(De){return N.updateFunctionExpression(De,e.visitNodes(De.modifiers,I,e.isModifier),De.asteriskToken,De.name,void 0,e.visitParameterList(De.parameters,I,p),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,I,p))}function j(De){return N.updateArrowFunction(De,e.visitNodes(De.modifiers,I,e.isModifier),void 0,e.visitParameterList(De.parameters,I,p),void 0,De.equalsGreaterThanToken,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,I,p))}function Se(De,Ae){var Ye=De.name;if(e.isIdentifier(Ye))Ae.add(Ye.escapedText);else for(var Lr=0,Er=Ye.elements;Lr=2&&q.getNodeCheckFlags(De)&6144;if($e&&(Ie(),J.size)){var Dr=a(N,q,De,J);M[e.getNodeId(Dr)]=!0,e.insertStatementsAfterStandardPrologue(de,[Dr])}var Fr=N.createBlock(de,!0);e.setTextRange(Fr,De.body),$e&&k&&(q.getNodeCheckFlags(De)&4096?e.addEmitHelper(Fr,e.advancedAsyncSuperHelper):q.getNodeCheckFlags(De)&2048&&e.addEmitHelper(Fr,e.asyncSuperHelper)),vr=Fr}return B=Cr,Er||(J=Hr,k=ur),vr}function ke(De,Ae){return e.isBlock(De)?N.updateBlock(De,e.visitNodes(De.statements,y,e.isStatement,Ae)):N.converters.convertToFunctionBlock(e.visitNode(De,y,e.isConciseBody))}function Me(De){var Ae=De&&e.getEntityNameFromTypeNode(De);if(Ae&&e.isEntityName(Ae)){var Ye=q.getTypeReferenceSerializationKind(Ae);if(Ye===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||Ye===e.TypeReferenceSerializationKind.Unknown)return Ae}}function Ie(){(P&1)===0&&(P|=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 Ge(De,Ae,Ye){if(P&1&&qe(Ae)){var Lr=q.getNodeCheckFlags(Ae)&6144;if(Lr!==S){var Er=S;S=Lr,w(De,Ae,Ye),S=Er;return}}else if(P&&M[e.getNodeId(Ae)]){var Er=S;S=0,w(De,Ae,Ye),S=Er;return}w(De,Ae,Ye)}function he(De,Ae){return Ae=K(De,Ae),De===1&&S?ve(Ae):Ae}function ve(De){switch(De.kind){case 205:return Ve(De);case 206:return _e(De);case 207:return Le(De)}return De}function Ve(De){return De.expression.kind===106?e.setTextRange(N.createPropertyAccessExpression(N.createUniqueName("_super",48),De.name),De):De}function _e(De){return De.expression.kind===106?Xe(De.argumentExpression,De):De}function Le(De){var Ae=De.expression;if(e.isSuperProperty(Ae)){var Ye=e.isPropertyAccessExpression(Ae)?Ve(Ae):_e(Ae);return N.createCallExpression(N.createPropertyAccessExpression(Ye,"call"),void 0,Gt([N.createThis()],De.arguments,!0))}return De}function qe(De){var Ae=De.kind;return Ae===256||Ae===170||Ae===168||Ae===171||Ae===172}function Xe(De,Ae){return S&4096?e.setTextRange(N.createPropertyAccessExpression(N.createCallExpression(N.createUniqueName("_superIndex",48),void 0,[De]),"value"),Ae):e.setTextRange(N.createCallExpression(N.createUniqueName("_superIndex",48),void 0,[De]),Ae)}}e.transformES2017=d;function a(p,N,H,h){var v=(N.getNodeCheckFlags(H)&4096)!==0,A=[];return h.forEach(function(q,ie){var b=e.unescapeLeadingUnderscores(ie),P=[];P.push(p.createPropertyAssignment("get",p.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(p.createPropertyAccessExpression(e.setEmitFlags(p.createSuper(),4),b),4)))),v&&P.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),b),4),p.createIdentifier("v"))))),A.push(p.createPropertyAssignment(b,p.createObjectLiteralExpression(P)))}),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 f;(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"})(f||(f={}));function d(a){var p=a.factory,N=a.getEmitHelperFactory,H=a.resumeLexicalEnvironment,h=a.endLexicalEnvironment,v=a.hoistVariableDeclaration,A=a.getEmitResolver(),q=a.getCompilerOptions(),ie=e.getEmitScriptTarget(q),b=a.onEmitNode;a.onEmitNode=Hr;var P=a.onSubstituteNode;a.onSubstituteNode=ur;var S=!1,B,J,k=0,M=0,x,w,K,Z,ne=[];return e.chainBundle(a,T);function R(He,pr){return M!==(M&~He|pr)}function Y(He,pr){var Jr=M;return M=(M&~He|pr)&3,Jr}function U(He){M=He}function $(He){w=e.append(w,p.createVariableDeclaration(He))}function T(He){if(He.isDeclarationFile)return He;x=He;var pr=O(He);return e.addEmitHelpers(pr,a.readEmitHelpers()),x=void 0,w=void 0,pr}function I(He){return u(He,!1)}function y(He){return u(He,!0)}function D(He){if(He.kind!==131)return He}function C(He,pr,Jr,ze){if(R(Jr,ze)){var Ar=Y(Jr,ze),Yr=He(pr);return U(Ar),Yr}return He(pr)}function m(He){return e.visitEachChild(He,I,a)}function u(He,pr){if((He.transformFlags&64)===0)return He;switch(He.kind){case 217:return g(He);case 223:return F(He);case 246:return te(He);case 249:return ue(He);case 204:return j(He);case 220:return V(He,pr);case 349:return z(He,pr);case 291:return Te(He);case 236:return ge(He);case 253:return ke(He);case 239:case 240:case 242:return C(m,He,0,2);case 243:return he(He,void 0);case 241:return C(Ie,He,0,2);case 216:return Ge(He);case 170:return C(Xe,He,2,1);case 168:return C(Ye,He,2,1);case 171:return C(De,He,2,1);case 172:return C(Ae,He,2,1);case 255:return C(Lr,He,2,1);case 212:return C(lr,He,2,1);case 213:return C(Er,He,2,0);case 163:return qe(He);case 237:return Se(He);case 211:return Ce(He,pr);case 209:return Q(He);case 205:return K&&e.isPropertyAccessExpression(He)&&He.expression.kind===106&&K.add(He.name.escapedText),e.visitEachChild(He,I,a);case 206:return K&&He.expression.kind===106&&(Z=!0),e.visitEachChild(He,I,a);case 256:case 225:return C(m,He,2,1);default:return e.visitEachChild(He,I,a)}}function g(He){return J&2&&J&1?e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,N().createAwaitHelper(e.visitNode(He.expression,I,e.isExpression))),He),He):e.visitEachChild(He,I,a)}function F(He){if(J&2&&J&1){if(He.asteriskToken){var pr=e.visitNode(e.Debug.assertDefined(He.expression),I,e.isExpression);return e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,N().createAwaitHelper(p.updateYieldExpression(He,He.asteriskToken,e.setTextRange(N().createAsyncDelegatorHelper(e.setTextRange(N().createAsyncValuesHelper(pr),pr)),pr)))),He),He)}return e.setOriginalNode(e.setTextRange(p.createYieldExpression(void 0,_e(He.expression?e.visitNode(He.expression,I,e.isExpression):p.createVoidZero())),He),He)}return e.visitEachChild(He,I,a)}function te(He){return J&2&&J&1?p.updateReturnStatement(He,_e(He.expression?e.visitNode(He.expression,I,e.isExpression):p.createVoidZero())):e.visitEachChild(He,I,a)}function ue(He){if(J&2){var pr=e.unwrapInnermostStatementOfLabel(He);return pr.kind===243&&pr.awaitModifier?he(pr,He):p.restoreEnclosingLabel(e.visitNode(pr,I,e.isStatement,p.liftToBlock),He)}return e.visitEachChild(He,I,a)}function X(He){for(var pr,Jr=[],ze=0,Ar=He;ze1){for(var ze=1;ze=2&&A.getNodeCheckFlags(He)&6144;if(lt){Pe();var tt=e.createSuperAccessVariableStatement(p,A,He,K);ne[e.getNodeId(tt)]=!0,e.insertStatementsAfterStandardPrologue(pr,[tt])}pr.push(Yr),e.insertStatementsAfterStandardPrologue(pr,h());var Rt=p.updateBlock(He.body,pr);return lt&&Z&&(A.getNodeCheckFlags(He)&4096?e.addEmitHelper(Rt,e.advancedAsyncSuperHelper):A.getNodeCheckFlags(He)&2048&&e.addEmitHelper(Rt,e.asyncSuperHelper)),K=ze,Z=Ar,Rt}function Or(He){var pr;H();var Jr=0,ze=[],Ar=(pr=e.visitNode(He.body,I,e.isConciseBody))!==null&&pr!==void 0?pr:p.createBlock([]);e.isBlock(Ar)&&(Jr=p.copyPrologue(Ar.statements,ze,!1,I)),e.addRange(ze,Ke(void 0,He));var Yr=h();if(Jr>0||e.some(ze)||e.some(Yr)){var lt=p.converters.convertToFunctionBlock(Ar,!0);return e.insertStatementsAfterStandardPrologue(ze,Yr),e.addRange(ze,lt.statements.slice(Jr)),p.updateBlock(lt,e.setTextRange(p.createNodeArray(ze),lt.statements))}return Ar}function Ke(He,pr){for(var Jr=0,ze=pr.parameters;Jr1||!!(!((Me=Ie[0])===null||Me===void 0)&&Me.dotDotDotToken),he=[Q,V,z?g(z.initializer):a.createVoidZero()];if(N.jsx===5){var ve=e.getOriginalNode(H);if(ve&&e.isSourceFile(ve)){he.push(Ge?a.createTrue():a.createFalse());var Ve=e.getLineAndCharacterOfPosition(ve,ke.pos);he.push(a.createObjectLiteralExpression([a.createPropertyAssignment("fileName",v()),a.createPropertyAssignment("lineNumber",a.createNumericLiteral(Ve.line+1)),a.createPropertyAssignment("columnNumber",a.createNumericLiteral(Ve.character+1))])),he.push(a.createThis())}}var _e=e.setTextRange(a.createCallExpression(q(Ge),void 0,he),ke);return ge&&e.startOnNewLine(_e),_e}function U(Q,V,z,Te){var ge=Se(Q),ke=Q.attributes.properties,Me=e.length(ke)?y(ke):a.createNull(),Ie=h.importSpecifier===void 0?e.createJsxFactoryExpression(a,d.getEmitResolver().getJsxFactoryEntity(H),N.reactNamespace,Q):b("createElement"),Ge=e.createExpressionForJsxElement(a,Ie,ge,Me,e.mapDefined(V,J),Te);return z&&e.startOnNewLine(Ge),Ge}function $(Q,V,z,Te){var ge;if(V&&V.length){var ke=Z(V);ke&&(ge=ke)}return Y(ie(),ge||a.createObjectLiteralExpression([]),void 0,V,z,Te)}function T(Q,V,z,Te){var ge=e.createExpressionForJsxFragment(a,d.getEmitResolver().getJsxFactoryEntity(H),d.getEmitResolver().getJsxFragmentFactoryEntity(H),N.reactNamespace,e.mapDefined(V,J),Q,Te);return z&&e.startOnNewLine(ge),ge}function I(Q){return a.createSpreadAssignment(e.visitNode(Q.expression,S,e.isExpression))}function y(Q,V){var z=e.getEmitScriptTarget(N);return z&&z>=5?a.createObjectLiteralExpression(D(Q,V)):C(Q,V)}function D(Q,V){var z=e.flatten(e.spanMap(Q,e.isJsxSpreadAttribute,function(Te,ge){return e.map(Te,function(ke){return ge?I(ke):u(ke)})}));return V&&z.push(V),z}function C(Q,V){var z=e.flatten(e.spanMap(Q,e.isJsxSpreadAttribute,function(Te,ge){return ge?e.map(Te,m):a.createObjectLiteralExpression(e.map(Te,u))}));return e.isJsxSpreadAttribute(Q[0])&&z.unshift(a.createObjectLiteralExpression()),V&&z.push(a.createObjectLiteralExpression([V])),e.singleOrUndefined(z)||p().createAssignHelper(z)}function m(Q){return e.visitNode(Q.expression,S,e.isExpression)}function u(Q){var V=Ce(Q),z=g(Q.initializer);return a.createPropertyAssignment(V,z)}function g(Q){if(Q===void 0)return a.createTrue();if(Q.kind===10){var V=Q.singleQuote!==void 0?Q.singleQuote:!e.isStringDoubleQuoted(Q,H),z=a.createStringLiteral(j(Q.text)||Q.text,V);return e.setTextRange(z,Q)}else return Q.kind===287?Q.expression===void 0?a.createTrue():e.visitNode(Q.expression,S,e.isExpression):e.Debug.failBadSyntaxKind(Q)}function F(Q){var V=te(Q.text);return V===void 0?void 0:a.createStringLiteral(V)}function te(Q){for(var V,z=0,Te=-1,ge=0;ge0?(e.insertStatementAfterCustomPrologue(Oe,e.setEmitFlags(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(oe,C,v,0,A.getGeneratedNameForNode(oe)))),1048576)),!0):se?(e.insertStatementAfterCustomPrologue(Oe,e.setEmitFlags(A.createExpressionStatement(A.createAssignment(A.getGeneratedNameForNode(oe),e.visitNode(se,C,e.isExpression))),1048576)),!0):!1}function Ye(Oe,oe,mr,se){se=e.visitNode(se,C,e.isExpression);var Be=A.createIfStatement(A.createTypeCheck(A.cloneNode(mr),"undefined"),e.setEmitFlags(e.setTextRange(A.createBlock([A.createExpressionStatement(e.setEmitFlags(e.setTextRange(A.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(A.cloneNode(mr),mr),mr.parent),48),e.setEmitFlags(se,48|e.getEmitFlags(se)|1536)),oe),1536))]),oe),1953));e.startOnNewLine(Be),e.setTextRange(Be,oe),e.setEmitFlags(Be,1050528),e.insertStatementAfterCustomPrologue(Oe,Be)}function Lr(Oe,oe){return!!(Oe&&Oe.dotDotDotToken&&!oe)}function Er(Oe,oe,mr){var se=[],Be=e.lastOrUndefined(oe.parameters);if(!Lr(Be,mr))return!1;var er=Be.name.kind===79?e.setParent(e.setTextRange(A.cloneNode(Be.name),Be.name),Be.name.parent):A.createTempVariable(void 0);e.setEmitFlags(er,48);var hr=Be.name.kind===79?A.cloneNode(Be.name):er,qr=oe.parameters.length-1,Dt=A.createLoopVariable();se.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(er,void 0,void 0,A.createArrayLiteralExpression([]))])),Be),1048576));var Jt=A.createForStatement(e.setTextRange(A.createVariableDeclarationList([A.createVariableDeclaration(Dt,void 0,void 0,A.createNumericLiteral(qr))]),Be),e.setTextRange(A.createLessThan(Dt,A.createPropertyAccessExpression(A.createIdentifier("arguments"),"length")),Be),e.setTextRange(A.createPostfixIncrement(Dt),Be),A.createBlock([e.startOnNewLine(e.setTextRange(A.createExpressionStatement(A.createAssignment(A.createElementAccessExpression(hr,qr===0?Dt:A.createSubtract(Dt,A.createNumericLiteral(qr))),A.createElementAccessExpression(A.createIdentifier("arguments"),Dt))),Be))]));return e.setEmitFlags(Jt,1048576),e.startOnNewLine(Jt),se.push(Jt),Be.name.kind!==79&&se.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(Be,C,v,0,hr))),Be),1048576)),e.insertStatementsAfterCustomPrologue(Oe,se),!0}function lr(Oe,oe){return K&65536&&oe.kind!==213?(Cr(Oe,oe,A.createThis()),!0):!1}function Cr(Oe,oe,mr){Po();var se=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName("_this",48),void 0,void 0,mr)]));e.setEmitFlags(se,1050112),e.setSourceMapRange(se,oe),e.insertStatementAfterCustomPrologue(Oe,se)}function Or(Oe,oe,mr){if(K&32768){var se=void 0;switch(oe.kind){case 213:return Oe;case 168:case 171:case 172:se=A.createVoidZero();break;case 170:se=A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),"constructor");break;case 255:case 212:se=A.createConditionalExpression(A.createLogicalAnd(e.setEmitFlags(A.createThis(),4),A.createBinaryExpression(e.setEmitFlags(A.createThis(),4),102,A.getLocalName(oe))),void 0,A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),"constructor"),void 0,A.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(oe)}var Be=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName("_newTarget",48),void 0,void 0,se)]));e.setEmitFlags(Be,1050112),mr&&(Oe=Oe.slice()),e.insertStatementAfterCustomPrologue(Oe,Be)}return Oe}function Ke(Oe,oe){for(var mr=0,se=oe.members;mr0&&er.push(A.createStringLiteral(Be.literal.text)),oe=A.createCallExpression(A.createPropertyAccessExpression(oe,"concat"),void 0,er)}return e.setTextRange(oe,Oe)}function co(Oe){return K&8&&!Oe?A.createPropertyAccessExpression(A.createUniqueName("_super",48),"prototype"):A.createUniqueName("_super",48)}function za(Oe){return Oe.keywordToken===103&&Oe.name.escapedText==="target"?(K|=32768,A.createUniqueName("_newTarget",48)):Oe}function hi(Oe,oe,mr){if(Y&1&&e.isFunctionLike(oe)){var se=$(32670,e.getEmitFlags(oe)&8?81:65);M(Oe,oe,mr),T(se,0,0);return}M(Oe,oe,mr)}function Zi(){(Y&2)===0&&(Y|=2,v.enableSubstitution(79))}function Po(){(Y&1)===0&&(Y|=1,v.enableSubstitution(108),v.enableEmitNotification(170),v.enableEmitNotification(168),v.enableEmitNotification(171),v.enableEmitNotification(172),v.enableEmitNotification(213),v.enableEmitNotification(212),v.enableEmitNotification(255))}function Mo(Oe,oe){return oe=k(Oe,oe),Oe===1?Es(oe):e.isIdentifier(oe)?Fo(oe):oe}function Fo(Oe){if(Y&2&&!e.isInternalName(Oe)){var oe=e.getParseTreeNode(Oe,e.isIdentifier);if(oe&&zo(oe))return e.setTextRange(A.getGeneratedNameForNode(oe),Oe)}return Oe}function zo(Oe){switch(Oe.parent.kind){case 202:case 256:case 259:case 253:return Oe.parent.name===Oe&&J.isDeclarationWithCollidingName(Oe.parent)}return!1}function Es(Oe){switch(Oe.kind){case 79:return Cs(Oe);case 108:return dt(Oe)}return Oe}function Cs(Oe){if(Y&2&&!e.isInternalName(Oe)){var oe=J.getReferencedDeclarationWithCollidingName(Oe);if(oe&&!(e.isClassLike(oe)&&yr(oe,Oe)))return e.setTextRange(A.getGeneratedNameForNode(e.getNameOfDeclaration(oe)),Oe)}return Oe}function yr(Oe,oe){var mr=e.getParseTreeNode(oe);if(!mr||mr===Oe||mr.end<=Oe.pos||mr.pos>=Oe.end)return!1;for(var se=e.getEnclosingBlockScopeContainer(Oe);mr;){if(mr===se||mr===Oe)return!1;if(e.isClassElement(mr)&&mr.parent===Oe)return!0;mr=mr.parent}return!1}function dt(Oe){return Y&1&&K&16?e.setTextRange(A.createUniqueName("_this",48),Oe):Oe}function tn(Oe,oe){return e.isStatic(oe)?A.getInternalName(Oe):A.createPropertyAccessExpression(A.getInternalName(Oe),"prototype")}function Un(Oe,oe){if(!Oe||!oe||e.some(Oe.parameters))return!1;var mr=e.firstOrUndefined(Oe.body.statements);if(!mr||!e.nodeIsSynthesized(mr)||mr.kind!==237)return!1;var se=mr.expression;if(!e.nodeIsSynthesized(se)||se.kind!==207)return!1;var Be=se.expression;if(!e.nodeIsSynthesized(Be)||Be.kind!==106)return!1;var er=e.singleOrUndefined(se.arguments);if(!er||!e.nodeIsSynthesized(er)||er.kind!==224)return!1;var hr=er.expression;return e.isIdentifier(hr)&&hr.escapedText==="arguments"}}e.transformES2015=h})(gr||(gr={}));var gr;(function(e){function n(f){var d=f.factory,a=f.getCompilerOptions(),p,N;(a.jsx===1||a.jsx===3)&&(p=f.onEmitNode,f.onEmitNode=v,f.enableEmitNotification(279),f.enableEmitNotification(280),f.enableEmitNotification(278),N=[]);var H=f.onSubstituteNode;return f.onSubstituteNode=A,f.enableSubstitution(205),f.enableSubstitution(294),e.chainBundle(f,h);function h(P){return P}function v(P,S,B){switch(S.kind){case 279:case 280:case 278:var J=S.tagName;N[e.getOriginalNodeId(J)]=!0;break}p(P,S,B)}function A(P,S){return S.id&&N&&N[S.id]?H(P,S):(S=H(P,S),e.isPropertyAccessExpression(S)?q(S):e.isPropertyAssignment(S)?ie(S):S)}function q(P){if(e.isPrivateIdentifier(P.name))return P;var S=b(P.name);return S?e.setTextRange(d.createElementAccessExpression(P.expression,S),P):P}function ie(P){var S=e.isIdentifier(P.name)&&b(P.name);return S?d.updatePropertyAssignment(P,S,P.initializer):P}function b(P){var S=P.originalKeywordKind||(e.nodeIsSynthesized(P)?e.stringToToken(e.idText(P)):void 0);if(S!==void 0&&S>=81&&S<=116)return e.setTextRange(d.createStringLiteralFromNode(P),P)}}e.transformES5=n})(gr||(gr={}));var gr;(function(e){var n;(function(h){h[h.Nop=0]="Nop",h[h.Statement=1]="Statement",h[h.Assign=2]="Assign",h[h.Break=3]="Break",h[h.BreakWhenTrue=4]="BreakWhenTrue",h[h.BreakWhenFalse=5]="BreakWhenFalse",h[h.Yield=6]="Yield",h[h.YieldStar=7]="YieldStar",h[h.Return=8]="Return",h[h.Throw=9]="Throw",h[h.Endfinally=10]="Endfinally"})(n||(n={}));var f;(function(h){h[h.Open=0]="Open",h[h.Close=1]="Close"})(f||(f={}));var d;(function(h){h[h.Exception=0]="Exception",h[h.With=1]="With",h[h.Switch=2]="Switch",h[h.Loop=3]="Loop",h[h.Labeled=4]="Labeled"})(d||(d={}));var a;(function(h){h[h.Try=0]="Try",h[h.Catch=1]="Catch",h[h.Finally=2]="Finally",h[h.Done=3]="Done"})(a||(a={}));var p;(function(h){h[h.Next=0]="Next",h[h.Throw=1]="Throw",h[h.Return=2]="Return",h[h.Break=3]="Break",h[h.Yield=4]="Yield",h[h.YieldStar=5]="YieldStar",h[h.Catch=6]="Catch",h[h.Endfinally=7]="Endfinally"})(p||(p={}));function N(h){switch(h){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function H(h){var v=h.factory,A=h.getEmitHelperFactory,q=h.resumeLexicalEnvironment,ie=h.endLexicalEnvironment,b=h.hoistFunctionDeclaration,P=h.hoistVariableDeclaration,S=h.getCompilerOptions(),B=e.getEmitScriptTarget(S),J=h.getEmitResolver(),k=h.onSubstituteNode;h.onSubstituteNode=ee;var M,x,w,K,Z,ne,R,Y,U,$,T=1,I,y,D,C,m=0,u=0,g,F,te,ue,X,j,Se,Ce;return e.chainBundle(h,O);function O(yr){if(yr.isDeclarationFile||(yr.transformFlags&1024)===0)return yr;var dt=e.visitEachChild(yr,Q,h);return e.addEmitHelpers(dt,h.readEmitHelpers()),dt}function Q(yr){var dt=yr.transformFlags;return K?V(yr):w?z(yr):e.isFunctionLikeDeclaration(yr)&&yr.asteriskToken?ge(yr):dt&1024?e.visitEachChild(yr,Q,h):yr}function V(yr){switch(yr.kind){case 239:return He(yr);case 240:return Jr(yr);case 248:return sr(yr);case 249:return or(yr);default:return z(yr)}}function z(yr){switch(yr.kind){case 255:return ke(yr);case 212:return Me(yr);case 171:case 172:return Ie(yr);case 236:return he(yr);case 241:return Ar(yr);case 242:return lt(yr);case 245:return bn(yr);case 244:return Rt(yr);case 246:return zn(yr);default:return yr.transformFlags&524288?Te(yr):yr.transformFlags&2098176?e.visitEachChild(yr,Q,h):yr}}function Te(yr){switch(yr.kind){case 220:return ve(yr);case 349:return qe(yr);case 221:return De(yr);case 223:return Ae(yr);case 203:return Ye(yr);case 204:return Er(yr);case 206:return lr(yr);case 207:return Cr(yr);case 208:return Or(yr);default:return e.visitEachChild(yr,Q,h)}}function ge(yr){switch(yr.kind){case 255:return ke(yr);case 212:return Me(yr);default:return e.Debug.failBadSyntaxKind(yr)}}function ke(yr){if(yr.asteriskToken)yr=e.setOriginalNode(e.setTextRange(v.createFunctionDeclaration(void 0,yr.modifiers,void 0,yr.name,void 0,e.visitParameterList(yr.parameters,Q,h),void 0,Ge(yr.body)),yr),yr);else{var dt=w,tn=K;w=!1,K=!1,yr=e.visitEachChild(yr,Q,h),w=dt,K=tn}if(w){b(yr);return}else return yr}function Me(yr){if(yr.asteriskToken)yr=e.setOriginalNode(e.setTextRange(v.createFunctionExpression(void 0,void 0,yr.name,void 0,e.visitParameterList(yr.parameters,Q,h),void 0,Ge(yr.body)),yr),yr);else{var dt=w,tn=K;w=!1,K=!1,yr=e.visitEachChild(yr,Q,h),w=dt,K=tn}return yr}function Ie(yr){var dt=w,tn=K;return w=!1,K=!1,yr=e.visitEachChild(yr,Q,h),w=dt,K=tn,yr}function Ge(yr){var dt=[],tn=w,Un=K,Oe=Z,oe=ne,mr=R,se=Y,Be=U,er=$,hr=T,qr=I,Dt=y,Jt=D,Sn=C;w=!0,K=!1,Z=void 0,ne=void 0,R=void 0,Y=void 0,U=void 0,$=void 0,T=1,I=void 0,y=void 0,D=void 0,C=v.createTempVariable(void 0),q();var ta=v.copyPrologue(yr.statements,dt,!1,Q);Ke(yr.statements,ta);var xa=Pi();return e.insertStatementsAfterStandardPrologue(dt,ie()),dt.push(v.createReturnStatement(xa)),w=tn,K=Un,Z=Oe,ne=oe,R=mr,Y=se,U=Be,$=er,T=hr,I=qr,y=Dt,D=Jt,C=Sn,e.setTextRange(v.createBlock(dt,yr.multiLine),yr)}function he(yr){if(yr.transformFlags&524288){Fe(yr.declarationList);return}else{if(e.getEmitFlags(yr)&1048576)return yr;for(var dt=0,tn=yr.declarationList.declarations;dt0&&(Ka(1,[v.createExpressionStatement(v.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Un,Q,e.isExpression)))}}function qe(yr){for(var dt=[],tn=0,Un=yr.elements;tn0&&(Ka(1,[v.createExpressionStatement(v.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Oe,Q,e.isExpression)))}return v.inlineExpressions(dt)}function Xe(yr){var dt=fr(),tn=xr();return rt(tn,e.visitNode(yr.left,Q,e.isExpression),yr.left),yr.operatorToken.kind===55?Ra(dt,tn,yr.left):Qn(dt,tn,yr.left),rt(tn,e.visitNode(yr.right,Q,e.isExpression),yr.right),dr(dt),tn}function De(yr){if(Ee(yr.whenTrue)||Ee(yr.whenFalse)){var dt=fr(),tn=fr(),Un=xr();return Ra(dt,e.visitNode(yr.condition,Q,e.isExpression),yr.condition),rt(Un,e.visitNode(yr.whenTrue,Q,e.isExpression),yr.whenTrue),Cn(tn),dr(dt),rt(Un,e.visitNode(yr.whenFalse,Q,e.isExpression),yr.whenFalse),dr(tn),Un}return e.visitEachChild(yr,Q,h)}function Ae(yr){var dt=fr(),tn=e.visitNode(yr.expression,Q,e.isExpression);if(yr.asteriskToken){var Un=(e.getEmitFlags(yr.expression)&8388608)===0?e.setTextRange(A().createValuesHelper(tn),yr):tn;Ci(Un,yr)}else _i(tn,yr);return dr(dt),_t(yr)}function Ye(yr){return Lr(yr.elements,void 0,void 0,yr.multiLine)}function Lr(yr,dt,tn,Un){var Oe=We(yr),oe;if(Oe>0){oe=xr();var mr=e.visitNodes(yr,Q,e.isExpression,0,Oe);rt(oe,v.createArrayLiteralExpression(dt?Gt([dt],mr,!0):mr)),dt=void 0}var se=e.reduceLeft(yr,Be,[],Oe);return oe?v.createArrayConcatCall(oe,[v.createArrayLiteralExpression(se,Un)]):e.setTextRange(v.createArrayLiteralExpression(dt?Gt([dt],se,!0):se,Un),tn);function Be(er,hr){if(Ee(hr)&&er.length>0){var qr=oe!==void 0;oe||(oe=xr()),rt(oe,qr?v.createArrayConcatCall(oe,[v.createArrayLiteralExpression(er,Un)]):v.createArrayLiteralExpression(dt?Gt([dt],er,!0):er,Un)),dt=void 0,er=[]}return er.push(e.visitNode(hr,Q,e.isExpression)),er}}function Er(yr){var dt=yr.properties,tn=yr.multiLine,Un=We(dt),Oe=xr();rt(Oe,v.createObjectLiteralExpression(e.visitNodes(dt,Q,e.isObjectLiteralElementLike,0,Un),tn));var oe=e.reduceLeft(dt,mr,[],Un);return oe.push(tn?e.startOnNewLine(e.setParent(e.setTextRange(v.cloneNode(Oe),Oe),Oe.parent)):Oe),v.inlineExpressions(oe);function mr(se,Be){Ee(Be)&&se.length>0&&(It(v.createExpressionStatement(v.inlineExpressions(se))),se=[]);var er=e.createExpressionForObjectLiteralElementLike(v,yr,Be,Oe),hr=e.visitNode(er,Q,e.isExpression);return hr&&(tn&&e.startOnNewLine(hr),se.push(hr)),se}}function lr(yr){return Ee(yr.argumentExpression)?v.updateElementAccessExpression(yr,Ze(e.visitNode(yr.expression,Q,e.isLeftHandSideExpression)),e.visitNode(yr.argumentExpression,Q,e.isExpression)):e.visitEachChild(yr,Q,h)}function Cr(yr){if(!e.isImportCall(yr)&&e.forEach(yr.arguments,Ee)){var dt=v.createCallBinding(yr.expression,P,B,!0),tn=dt.target,Un=dt.thisArg;return e.setOriginalNode(e.setTextRange(v.createFunctionApplyCall(Ze(e.visitNode(tn,Q,e.isLeftHandSideExpression)),Un,Lr(yr.arguments)),yr),yr)}return e.visitEachChild(yr,Q,h)}function Or(yr){if(e.forEach(yr.arguments,Ee)){var dt=v.createCallBinding(v.createPropertyAccessExpression(yr.expression,"bind"),P),tn=dt.target,Un=dt.thisArg;return e.setOriginalNode(e.setTextRange(v.createNewExpression(v.createFunctionApplyCall(Ze(e.visitNode(tn,Q,e.isExpression)),Un,Lr(yr.arguments,v.createVoidZero())),void 0,[]),yr),yr)}return e.visitEachChild(yr,Q,h)}function Ke(yr,dt){dt===void 0&&(dt=0);for(var tn=yr.length,Un=dt;Un0)break;Be.push($e(Un))}Be.length&&(It(v.createExpressionStatement(v.inlineExpressions(Be))),se+=Be.length,Be=[])}}function $e(yr){return e.setSourceMapRange(v.createAssignment(e.setSourceMapRange(v.cloneNode(yr.name),yr.name),e.visitNode(yr.initializer,Q,e.isExpression)),yr)}function Dr(yr){if(Ee(yr))if(Ee(yr.thenStatement)||Ee(yr.elseStatement)){var dt=fr(),tn=yr.elseStatement?fr():void 0;Ra(yr.elseStatement?tn:dt,e.visitNode(yr.expression,Q,e.isExpression),yr.expression),Pe(yr.thenStatement),yr.elseStatement&&(Cn(dt),dr(tn),Pe(yr.elseStatement)),dr(dt)}else It(e.visitNode(yr,Q,e.isStatement));else It(e.visitNode(yr,Q,e.isStatement))}function Fr(yr){if(Ee(yr)){var dt=fr(),tn=fr();xt(dt),dr(tn),Pe(yr.statement),dr(dt),Qn(tn,e.visitNode(yr.expression,Q,e.isExpression)),wt()}else It(e.visitNode(yr,Q,e.isStatement))}function He(yr){return K?(ht(),yr=e.visitEachChild(yr,Q,h),wt(),yr):e.visitEachChild(yr,Q,h)}function pr(yr){if(Ee(yr)){var dt=fr(),tn=xt(dt);dr(dt),Ra(tn,e.visitNode(yr.expression,Q,e.isExpression)),Pe(yr.statement),Cn(dt),wt()}else It(e.visitNode(yr,Q,e.isStatement))}function Jr(yr){return K?(ht(),yr=e.visitEachChild(yr,Q,h),wt(),yr):e.visitEachChild(yr,Q,h)}function ze(yr){if(Ee(yr)){var dt=fr(),tn=fr(),Un=xt(tn);if(yr.initializer){var Oe=yr.initializer;e.isVariableDeclarationList(Oe)?Fe(Oe):It(e.setTextRange(v.createExpressionStatement(e.visitNode(Oe,Q,e.isExpression)),Oe))}dr(dt),yr.condition&&Ra(Un,e.visitNode(yr.condition,Q,e.isExpression)),Pe(yr.statement),dr(tn),yr.incrementor&&It(e.setTextRange(v.createExpressionStatement(e.visitNode(yr.incrementor,Q,e.isExpression)),yr.incrementor)),Cn(dt),wt()}else It(e.visitNode(yr,Q,e.isStatement))}function Ar(yr){K&&ht();var dt=yr.initializer;if(dt&&e.isVariableDeclarationList(dt)){for(var tn=0,Un=dt.declarations;tn0?v.inlineExpressions(e.map(oe,$e)):void 0,e.visitNode(yr.condition,Q,e.isExpression),e.visitNode(yr.incrementor,Q,e.isExpression),e.visitIterationBody(yr.statement,Q,h))}else yr=e.visitEachChild(yr,Q,h);return K&&wt(),yr}function Yr(yr){if(Ee(yr)){var dt=xr(),tn=xr(),Un=v.createLoopVariable(),Oe=yr.initializer;P(Un),rt(dt,v.createArrayLiteralExpression()),It(v.createForInStatement(tn,e.visitNode(yr.expression,Q,e.isExpression),v.createExpressionStatement(v.createCallExpression(v.createPropertyAccessExpression(dt,"push"),void 0,[tn])))),rt(Un,v.createNumericLiteral(0));var oe=fr(),mr=fr(),se=xt(mr);dr(oe),Ra(se,v.createLessThan(Un,v.createPropertyAccessExpression(dt,"length")));var Be=void 0;if(e.isVariableDeclarationList(Oe)){for(var er=0,hr=Oe.declarations;er0?Cn(dt,yr):It(yr)}function Rt(yr){if(K){var dt=qt(yr.label&&e.idText(yr.label));if(dt>0)return oa(dt,yr)}return e.visitEachChild(yr,Q,h)}function cn(yr){var dt=Ut(yr.label?e.idText(yr.label):void 0);dt>0?Cn(dt,yr):It(yr)}function bn(yr){if(K){var dt=Ut(yr.label&&e.idText(yr.label));if(dt>0)return oa(dt,yr)}return e.visitEachChild(yr,Q,h)}function In(yr){va(e.visitNode(yr.expression,Q,e.isExpression),yr)}function zn(yr){return pt(e.visitNode(yr.expression,Q,e.isExpression),yr)}function ir(yr){Ee(yr)?(Ir(Ze(e.visitNode(yr.expression,Q,e.isExpression))),Pe(yr.statement),kr()):It(e.visitNode(yr,Q,e.isStatement))}function Rr(yr){if(Ee(yr.caseBlock)){for(var dt=yr.caseBlock,tn=dt.clauses.length,Un=mt(),Oe=Ze(e.visitNode(yr.expression,Q,e.isExpression)),oe=[],mr=-1,se=0;se0)break;hr.push(v.createCaseClause(e.visitNode(Be.expression,Q,e.isExpression),[oa(oe[se],Be.expression)]))}else qr++}hr.length&&(It(v.createSwitchStatement(Oe,v.createCaseBlock(hr))),er+=hr.length,hr=[]),qr>0&&(er+=qr,qr=0)}mr>=0?Cn(oe[mr]):Cn(Un);for(var se=0;se=0;tn--){var Un=Y[tn];if(Wn(Un)){if(Un.labelText===yr)return!0}else break}return!1}function Ut(yr){if(Y)if(yr)for(var dt=Y.length-1;dt>=0;dt--){var tn=Y[dt];if(Wn(tn)&&tn.labelText===yr)return tn.breakLabel;if(na(tn)&&St(yr,dt-1))return tn.breakLabel}else for(var dt=Y.length-1;dt>=0;dt--){var tn=Y[dt];if(na(tn))return tn.breakLabel}return 0}function qt(yr){if(Y)if(yr)for(var dt=Y.length-1;dt>=0;dt--){var tn=Y[dt];if(en(tn)&&St(yr,dt-1))return tn.continueLabel}else for(var dt=Y.length-1;dt>=0;dt--){var tn=Y[dt];if(en(tn))return tn.continueLabel}return 0}function Pn(yr){if(yr!==void 0&&yr>0){$===void 0&&($=[]);var dt=v.createNumericLiteral(-1);return $[yr]===void 0?$[yr]=[dt]:$[yr].push(dt),dt}return v.createOmittedExpression()}function dn(yr){var dt=v.createNumericLiteral(yr);return e.addSyntheticTrailingComment(dt,3,N(yr)),dt}function oa(yr,dt){return e.Debug.assertLessThan(0,yr,"Invalid label"),e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(3),Pn(yr)])),dt)}function pt(yr,dt){return e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression(yr?[dn(2),yr]:[dn(2)])),dt)}function _t(yr){return e.setTextRange(v.createCallExpression(v.createPropertyAccessExpression(C,"sent"),void 0,[]),yr)}function Pt(){Ka(0)}function It(yr){yr?Ka(1,[yr]):Pt()}function rt(yr,dt,tn){Ka(2,[yr,dt],tn)}function Cn(yr,dt){Ka(3,[yr],dt)}function Qn(yr,dt,tn){Ka(4,[yr,dt],tn)}function Ra(yr,dt,tn){Ka(5,[yr,dt],tn)}function Ci(yr,dt){Ka(7,[yr],dt)}function _i(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=[],y=[],D=[]),U===void 0&&dr(fr());var Un=I.length;I[Un]=yr,y[Un]=dt,D[Un]=tn}function Pi(){m=0,u=0,g=void 0,F=!1,te=!1,ue=void 0,X=void 0,j=void 0,Se=void 0,Ce=void 0;var yr=io();return A().createGeneratorHelper(e.setEmitFlags(v.createFunctionExpression(void 0,void 0,void 0,void 0,[v.createParameterDeclaration(void 0,void 0,void 0,C)],void 0,v.createBlock(yr,yr.length>0)),524288))}function io(){if(I){for(var yr=0;yr=0;dt--){var tn=Ce[dt];X=[v.createWithStatement(tn.expression,v.createBlock(X))]}if(Se){var Un=Se.startLabel,Oe=Se.catchLabel,oe=Se.finallyLabel,mr=Se.endLabel;X.unshift(v.createExpressionStatement(v.createCallExpression(v.createPropertyAccessExpression(v.createPropertyAccessExpression(C,"trys"),"push"),void 0,[v.createArrayLiteralExpression([Pn(Un),Pn(Oe),Pn(oe),Pn(mr)])]))),Se=void 0}yr&&X.push(v.createExpressionStatement(v.createAssignment(v.createPropertyAccessExpression(C,"label"),v.createNumericLiteral(u+1))))}ue.push(v.createCaseClause(v.createNumericLiteral(u),X||[])),X=void 0}function lo(yr){if(!!U)for(var dt=0;dt(e.isExportName(ze)?1:0);return!1}function F(ze,Ar){return g(ze.left)?e.flattenDestructuringAssignment(ze,m,d,0,!Ar,_e):e.visitEachChild(ze,m,d)}function te(ze){return p.updateForStatement(ze,e.visitNode(ze.initializer,u,e.isForInitializer),e.visitNode(ze.condition,m,e.isExpression),e.visitNode(ze.incrementor,u,e.isExpression),e.visitIterationBody(ze.statement,m,d))}function ue(ze){return p.updateExpressionStatement(ze,e.visitNode(ze.expression,u,e.isExpression))}function X(ze,Ar){return p.updateParenthesizedExpression(ze,e.visitNode(ze.expression,Ar?u:m,e.isExpression))}function j(ze,Ar){return p.updatePartiallyEmittedExpression(ze,e.visitNode(ze.expression,Ar?u:m,e.isExpression))}function Se(ze,Ar){if((ze.operator===45||ze.operator===46)&&e.isIdentifier(ze.operand)&&!e.isGeneratedIdentifier(ze.operand)&&!e.isLocalName(ze.operand)&&!e.isDeclarationNameOfEnumOrNamespace(ze.operand)){var Yr=Jr(ze.operand);if(Yr){var lt=void 0,tt=e.visitNode(ze.operand,m,e.isExpression);e.isPrefixUnaryExpression(ze)?tt=p.updatePrefixUnaryExpression(ze,tt):(tt=p.updatePostfixUnaryExpression(ze,tt),Ar||(lt=p.createTempVariable(v),tt=p.createAssignment(lt,tt),e.setTextRange(tt,ze)),tt=p.createComma(tt,p.cloneNode(ze.operand)),e.setTextRange(tt,ze));for(var Rt=0,cn=Yr;Rt=2?cn=p.createArrowFunction(void 0,void 0,tt,void 0,void 0,Rt):(cn=p.createFunctionExpression(void 0,void 0,void 0,void 0,tt,void 0,Rt),Ar&&e.setEmitFlags(cn,8));var bn=p.createNewExpression(p.createIdentifier("Promise"),void 0,[cn]);return e.getESModuleInterop(A)?p.createCallExpression(p.createPropertyAccessExpression(bn,p.createIdentifier("then")),void 0,[N().createImportStarCallbackHelper()]):bn}function V(ze,Ar){var Yr=p.createCallExpression(p.createPropertyAccessExpression(p.createIdentifier("Promise"),"resolve"),void 0,[]),lt=p.createCallExpression(p.createIdentifier("require"),void 0,ze?[ze]:[]);e.getESModuleInterop(A)&&(lt=N().createImportStarHelper(lt));var tt;return b>=2?tt=p.createArrowFunction(void 0,void 0,[],void 0,void 0,lt):(tt=p.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,p.createBlock([p.createReturnStatement(lt)])),Ar&&e.setEmitFlags(tt,8)),p.createCallExpression(p.createPropertyAccessExpression(Yr,"then"),void 0,[tt])}function z(ze,Ar){return!e.getESModuleInterop(A)||e.getEmitFlags(ze)&67108864?Ar:e.getExportNeedsImportStarHelper(ze)?N().createImportStarHelper(Ar):Ar}function Te(ze,Ar){return!e.getESModuleInterop(A)||e.getEmitFlags(ze)&67108864?Ar:e.getImportNeedsImportStarHelper(ze)?N().createImportStarHelper(Ar):e.getImportNeedsImportDefaultHelper(ze)?N().createImportDefaultHelper(Ar):Ar}function ge(ze){var Ar,Yr=e.getNamespaceDeclarationNode(ze);if(P!==e.ModuleKind.AMD)if(ze.importClause){var lt=[];Yr&&!e.isDefaultImport(ze)?lt.push(p.createVariableDeclaration(p.cloneNode(Yr.name),void 0,void 0,Te(ze,ke(ze)))):(lt.push(p.createVariableDeclaration(p.getGeneratedNameForNode(ze),void 0,void 0,Te(ze,ke(ze)))),Yr&&e.isDefaultImport(ze)&<.push(p.createVariableDeclaration(p.cloneNode(Yr.name),void 0,void 0,p.getGeneratedNameForNode(ze)))),Ar=e.append(Ar,e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList(lt,b>=2?2:0)),ze),ze))}else return e.setOriginalNode(e.setTextRange(p.createExpressionStatement(ke(ze)),ze),ze);else Yr&&e.isDefaultImport(ze)&&(Ar=e.append(Ar,p.createVariableStatement(void 0,p.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(p.createVariableDeclaration(p.cloneNode(Yr.name),void 0,void 0,p.getGeneratedNameForNode(ze)),ze),ze)],b>=2?2:0))));if(Xe(ze)){var tt=e.getOriginalNodeId(ze);k[tt]=Ae(k[tt],ze)}else Ar=Ae(Ar,ze);return e.singleOrMany(Ar)}function ke(ze){var Ar=e.getExternalModuleNameLiteral(p,ze,M,ie,q,A),Yr=[];return Ar&&Yr.push(Ar),p.createCallExpression(p.createIdentifier("require"),void 0,Yr)}function Me(ze){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(ze),"import= for internal module references should be handled in an earlier transformer.");var Ar;if(P!==e.ModuleKind.AMD?e.hasSyntacticModifier(ze,1)?Ar=e.append(Ar,e.setOriginalNode(e.setTextRange(p.createExpressionStatement(Hr(ze.name,ke(ze))),ze),ze)):Ar=e.append(Ar,e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.cloneNode(ze.name),void 0,void 0,ke(ze))],b>=2?2:0)),ze),ze)):e.hasSyntacticModifier(ze,1)&&(Ar=e.append(Ar,e.setOriginalNode(e.setTextRange(p.createExpressionStatement(Hr(p.getExportName(ze),p.getLocalName(ze))),ze),ze))),Xe(ze)){var Yr=e.getOriginalNodeId(ze);k[Yr]=Ye(k[Yr],ze)}else Ar=Ye(Ar,ze);return e.singleOrMany(Ar)}function Ie(ze){if(!!ze.moduleSpecifier){var Ar=p.getGeneratedNameForNode(ze);if(ze.exportClause&&e.isNamedExports(ze.exportClause)){var Yr=[];P!==e.ModuleKind.AMD&&Yr.push(e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(Ar,void 0,void 0,ke(ze))])),ze),ze));for(var lt=0,tt=ze.exportClause.elements;lt=e.ModuleKind.ES2020?k(R):void 0;case 270:return x(R);case 271:var Y=R;return w(Y)}return R}function J(R){var Y=e.getExternalModuleNameLiteral(d,R,e.Debug.checkDefined(ie),p,N,H),U=[];if(Y&&U.push(Y),!b){var $=d.createUniqueName("_createRequire",48),T=d.createImportDeclaration(void 0,void 0,d.createImportClause(!1,void 0,d.createNamedImports([d.createImportSpecifier(!1,d.createIdentifier("createRequire"),$)])),d.createStringLiteral("module")),I=d.createUniqueName("__require",48),y=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(I,void 0,void 0,d.createCallExpression(d.cloneNode($),void 0,[d.createPropertyAccessExpression(d.createMetaProperty(100,d.createIdentifier("meta")),d.createIdentifier("url"))]))],h>=2?2:0));b=[T,y]}var D=b[1].declarationList.declarations[0].name;return e.Debug.assertNode(D,e.isIdentifier),d.createCallExpression(d.cloneNode(D),void 0,U)}function k(R){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(R),"import= for internal module references should be handled in an earlier transformer.");var Y;return Y=e.append(Y,e.setOriginalNode(e.setTextRange(d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.cloneNode(R.name),void 0,void 0,J(R))],h>=2?2:0)),R),R)),Y=M(Y,R),e.singleOrMany(Y)}function M(R,Y){return e.hasSyntacticModifier(Y,1)&&(R=e.append(R,d.createExportDeclaration(void 0,void 0,Y.isTypeOnly,d.createNamedExports([d.createExportSpecifier(!1,void 0,e.idText(Y.name))])))),R}function x(R){return R.isExportEquals?void 0:R}function w(R){if(H.module!==void 0&&H.module>e.ModuleKind.ES2015||!R.exportClause||!e.isNamespaceExport(R.exportClause)||!R.moduleSpecifier)return R;var Y=R.exportClause.name,U=d.getGeneratedNameForNode(Y),$=d.createImportDeclaration(void 0,void 0,d.createImportClause(!1,void 0,d.createNamespaceImport(U)),R.moduleSpecifier,R.assertClause);e.setOriginalNode($,R.exportClause);var T=e.isExportNamespaceAsDefaultDeclaration(R)?d.createExportDefault(U):d.createExportDeclaration(void 0,void 0,!1,d.createNamedExports([d.createExportSpecifier(!1,U,Y)]));return e.setOriginalNode(T,R),[$,T]}function K(R,Y,U){e.isSourceFile(Y)?((e.isExternalModule(Y)||H.isolatedModules)&&H.importHelpers&&(q=new e.Map),v(R,Y,U),q=void 0):v(R,Y,U)}function Z(R,Y){return Y=A(R,Y),q&&e.isIdentifier(Y)&&e.getEmitFlags(Y)&4096?ne(Y):Y}function ne(R){var Y=e.idText(R),U=q.get(Y);return U||q.set(Y,U=d.createUniqueName(Y,48)),U}}e.transformECMAScriptModule=n})(gr||(gr={}));var gr;(function(e){function n(f){var d=f.onSubstituteNode,a=f.onEmitNode,p=e.transformECMAScriptModule(f),N=f.onSubstituteNode,H=f.onEmitNode;f.onSubstituteNode=d,f.onEmitNode=a;var h=e.transformModule(f),v=f.onSubstituteNode,A=f.onEmitNode;f.onSubstituteNode=ie,f.onEmitNode=b,f.enableSubstitution(303),f.enableEmitNotification(303);var q;return B;function ie(k,M){return e.isSourceFile(M)?(q=M,d(k,M)):q?q.impliedNodeFormat===e.ModuleKind.ESNext?N(k,M):v(k,M):d(k,M)}function b(k,M,x){return e.isSourceFile(M)&&(q=M),q?q.impliedNodeFormat===e.ModuleKind.ESNext?H(k,M,x):A(k,M,x):a(k,M,x)}function P(k){return k.impliedNodeFormat===e.ModuleKind.ESNext?p:h}function S(k){if(k.isDeclarationFile)return k;q=k;var M=P(k)(k);return q=void 0,e.Debug.assert(e.isSourceFile(M)),M}function B(k){return k.kind===303?S(k):J(k)}function J(k){return f.factory.createBundle(e.map(k.sourceFiles,S),k.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 f(a){if(e.isSetAccessor(a)||e.isGetAccessor(a))return p;return e.isMethodSignature(a)||e.isMethodDeclaration(a)?H:d(a);function p(v){var A=N(v);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function N(v){return e.isStatic(a)?v.errorModuleName?v.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?v.errorModuleName?v.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:v.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 H(v){var A=h(v);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function h(v){return e.isStatic(a)?v.errorModuleName?v.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?v.errorModuleName?v.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:v.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=f;function d(a){if(e.isVariableDeclaration(a)||e.isPropertyDeclaration(a)||e.isPropertySignature(a)||e.isPropertyAccessExpression(a)||e.isBindingElement(a)||e.isConstructorDeclaration(a))return N;return e.isSetAccessor(a)||e.isGetAccessor(a)?H:e.isConstructSignatureDeclaration(a)||e.isCallSignatureDeclaration(a)||e.isMethodDeclaration(a)||e.isMethodSignature(a)||e.isFunctionDeclaration(a)||e.isIndexSignatureDeclaration(a)?h:e.isParameter(a)?e.isParameterPropertyDeclaration(a,a.parent)&&e.hasSyntacticModifier(a.parent,8)?N:v:e.isTypeParameterDeclaration(a)?q:e.isExpressionWithTypeArguments(a)?ie:e.isImportEqualsDeclaration(a)?b:e.isTypeAliasDeclaration(a)||e.isJSDocTypeAlias(a)?P: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 N(S){var B=p(S);return B!==void 0?{diagnosticMessage:B,errorNode:a,typeName:a.name}:void 0}function H(S){var B;return a.kind===172?e.isStatic(a)?B=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:B=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)?B=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:B=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:B,errorNode:a.name,typeName:a.name}}function h(S){var B;switch(a.kind){case 174:B=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:B=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:B=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)?B=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?B=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:B=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:B=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:B,errorNode:a.name||a}}function v(S){var B=A(S);return B!==void 0?{diagnosticMessage:B,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 q(){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 ie(){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 b(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:a,typeName:a.name}}function P(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=d})(gr||(gr={}));var gr;(function(e){function n(b,P,S){var B=b.getCompilerOptions(),J=e.transformNodes(P,b,e.factory,B,S?[S]:e.filter(b.getSourceFiles(),e.isSourceFileNotJson),[p],!1);return J.diagnostics}e.getDeclarationDiagnostics=n;function f(b,P){var S=P.text.substring(b.pos,b.end);return e.stringContains(S,"@internal")}function d(b,P){var S=e.getParseTreeNode(b);if(S&&S.kind===163){var B=S.parent.parameters.indexOf(S),J=B>0?S.parent.parameters[B-1]:void 0,k=P.text,M=J?e.concatenate(e.getTrailingCommentRanges(k,e.skipTrivia(k,J.end+1,!1,!0)),e.getLeadingCommentRanges(k,b.pos)):e.getTrailingCommentRanges(k,e.skipTrivia(k,b.pos,!1,!0));return M&&M.length&&f(e.last(M),P)}var x=S&&e.getLeadingCommentRangesOfNode(S,P);return!!e.forEach(x,function(w){return f(w,P)})}e.isInternalDeclaration=d;var a=531469;function p(b){var P=function(){return e.Debug.fail("Diagnostic emitted without context")},S=P,B=!0,J=!1,k=!1,M=!1,x=!1,w,K,Z,ne,R,Y,U=b.factory,$=b.getEmitHost(),T={trackSymbol:O,reportInaccessibleThisError:ge,reportInaccessibleUniqueSymbolError:z,reportCyclicStructureError:Te,reportPrivateInBaseOfClassExpression:Q,reportLikelyUnsafeImportRequiredError:ke,reportTruncationError:Me,moduleResolverHost:$,trackReferencedAmbientModule:j,trackExternalModuleSymbolOfImportTypeNode:Ce,reportNonlocalAugmentation:Ie,reportNonSerializableProperty:Ge},I,y,D,C,m,u,g=b.getEmitResolver(),F=b.getCompilerOptions(),te=F.noResolve,ue=F.stripInternal;return ve;function X(ir){if(!!ir){K=K||new e.Set;for(var Rr=0,sr=ir;Rr0?b.parameters[0].type:void 0}function A(b){switch(b.kind){case 166:case 165:return!e.hasEffectiveModifier(b,8);case 163:case 253:return!0}return!1}function q(b){switch(b.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 ie(b){switch(b.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(P){switch(P){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 f;(function(P){P[P.Uninitialized=0]="Uninitialized",P[P.Initialized=1]="Initialized",P[P.Completed=2]="Completed",P[P.Disposed=3]="Disposed"})(f||(f={}));var d;(function(P){P[P.Substitution=1]="Substitution",P[P.EmitNotifications=2]="EmitNotifications"})(d||(d={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function a(P,S,B){return{scriptTransformers:p(P,S,B),declarationTransformers:N(S)}}e.getTransformers=a;function p(P,S,B){if(B)return e.emptyArray;var J=e.getEmitScriptTarget(P),k=e.getEmitModuleKind(P),M=[];return e.addRange(M,S&&e.map(S.before,v)),M.push(e.transformTypeScript),M.push(e.transformClassFields),e.getJSXTransformEnabled(P)&&M.push(e.transformJsx),J<99&&M.push(e.transformESNext),J<8&&M.push(e.transformES2021),J<7&&M.push(e.transformES2020),J<6&&M.push(e.transformES2019),J<5&&M.push(e.transformES2018),J<4&&M.push(e.transformES2017),J<3&&M.push(e.transformES2016),J<2&&(M.push(e.transformES2015),M.push(e.transformGenerators)),M.push(n(k)),J<1&&M.push(e.transformES5),e.addRange(M,S&&e.map(S.after,v)),M}function N(P){var S=[];return S.push(e.transformDeclarations),e.addRange(S,P&&e.map(P.afterDeclarations,A)),S}function H(P){return function(S){return e.isBundle(S)?P.transformBundle(S):P.transformSourceFile(S)}}function h(P,S){return function(B){var J=P(B);return typeof J=="function"?S(B,J):H(J)}}function v(P){return h(P,e.chainBundle)}function A(P){return h(P,function(S,B){return B})}function q(P,S){return S}e.noEmitSubstitution=q;function ie(P,S,B){B(P,S)}e.noEmitNotification=ie;function b(P,S,B,J,k,M,x){for(var w=new Array(353),K,Z,ne,R=0,Y=[],U=[],$=[],T=[],I=0,y=!1,D=[],C=0,m,u,g=q,F=ie,te=0,ue=[],X={factory:B,getCompilerOptions:function(){return J},getEmitResolver:function(){return P},getEmitHost:function(){return S},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(X)}),startLexicalEnvironment:qe,suspendLexicalEnvironment:Xe,resumeLexicalEnvironment:De,endLexicalEnvironment:Ae,setLexicalEnvironmentFlags:Ye,getLexicalEnvironmentFlags:Lr,hoistVariableDeclaration:Ve,hoistFunctionDeclaration:_e,addInitializationStatement:Le,startBlockScope:Er,endBlockScope:lr,addBlockScopedVariable:Cr,requestEmitHelper:Or,readEmitHelpers:Ke,enableSubstitution:ke,enableEmitNotification:Ge,isSubstitutionEnabled:Me,isEmitNotificationEnabled:he,get onSubstituteNode(){return g},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'"),g=Hr},get onEmitNode(){return F},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'"),F=Hr},addDiagnostic:function(Hr){ue.push(Hr)}},j=0,Se=k;j0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(te<2,"Cannot modify the lexical environment after transformation has completed.");var ur=e.setEmitFlags(B.createVariableDeclaration(Hr),64);K?K.push(ur):K=[ur],R&1&&(R|=2)}function _e(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),Z?Z.push(Hr):Z=[Hr]}function Le(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(!y,"Lexical environment is suspended."),Y[I]=K,U[I]=Z,$[I]=ne,T[I]=R,I++,K=void 0,Z=void 0,ne=void 0,R=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(!y,"Lexical environment is already suspended."),y=!0}function De(){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(y,"Lexical environment is not suspended."),y=!1}function Ae(){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(!y,"Lexical environment is suspended.");var Hr;if(K||Z||ne){if(Z&&(Hr=Gt([],Z,!0)),K){var ur=B.createVariableStatement(void 0,B.createVariableDeclarationList(K));e.setEmitFlags(ur,1048576),Hr?Hr.push(ur):Hr=[ur]}ne&&(Hr?Hr=Gt(Gt([],Hr,!0),ne,!0):Hr=Gt([],ne,!0))}return I--,K=Y[I],Z=U[I],ne=$[I],R=T[I],I===0&&(Y=[],U=[],$=[],T=[]),Hr}function Ye(Hr,ur){R=ur?R|Hr:R&~Hr}function Lr(){return R}function Er(){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]=m,C++,m=void 0}function lr(){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(m)?[B.createVariableStatement(void 0,B.createVariableDeclarationList(m.map(function(ur){return B.createVariableDeclaration(ur)}),1))]:void 0;return C--,m=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."),(m||(m=[])).push(Hr)}function Or(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 ur=0,vr=Hr.dependencies;ur0,"Cannot modify the transformation context during initialization."),e.Debug.assert(te<2,"Cannot modify the transformation context after transformation has completed.");var Hr=u;return u=void 0,Hr}function Pe(){if(te<3){for(var Hr=0,ur=k;Hr"),Dn(),Wr(E.type),Kc(E)}function za(E){ii("function"),pl(E,E.parameters),Ln(":"),Wr(E.type)}function hi(E){Ln("?"),Wr(E.type)}function Zi(E){Ln("!"),Wr(E.type)}function Po(E){Wr(E.type),Ln("=")}function Mo(E){Gl(E),js(E,E.modifiers),ii("new"),Dn(),Fl(E,E.typeParameters),pl(E,E.parameters),Dn(),Ln("=>"),Dn(),Wr(E.type),Kc(E)}function Fo(E){ii("typeof"),Dn(),Wr(E.exprName)}function zo(E){Ln("{");var Qe=e.getEmitFlags(E)&1?768:32897;mo(E,E.members,Qe|524288),Ln("}")}function Es(E){Wr(E.elementType,tt.parenthesizeElementTypeOfArrayType),Ln("["),Ln("]")}function Cs(E){Ln("..."),Wr(E.type)}function yr(E){La(22,E.pos,Ln,E);var Qe=e.getEmitFlags(E)&1?528:657;mo(E,E.elements,Qe|524288),La(23,E.elements.end,Ln,E)}function dt(E){Wr(E.dotDotDotToken),Wr(E.name),Wr(E.questionToken),La(58,E.name.end,Ln,E),Dn(),Wr(E.type)}function tn(E){Wr(E.type,tt.parenthesizeElementTypeOfArrayType),Ln("?")}function Un(E){mo(E,E.types,516,tt.parenthesizeMemberOfElementType)}function Oe(E){mo(E,E.types,520,tt.parenthesizeMemberOfElementType)}function oe(E){Wr(E.checkType,tt.parenthesizeMemberOfConditionalType),Dn(),ii("extends"),Dn(),Wr(E.extendsType,tt.parenthesizeMemberOfConditionalType),Dn(),Ln("?"),Dn(),Wr(E.trueType),Dn(),Ln(":"),Dn(),Wr(E.falseType)}function mr(E){ii("infer"),Dn(),Wr(E.typeParameter)}function se(E){Ln("("),Wr(E.type),Ln(")")}function Be(){ii("this")}function er(E){Pc(E.operator,ii),Dn(),Wr(E.type,tt.parenthesizeMemberOfElementType)}function hr(E){Wr(E.objectType,tt.parenthesizeMemberOfElementType),Ln("["),Wr(E.indexType),Ln("]")}function qr(E){var Qe=e.getEmitFlags(E);Ln("{"),Qe&1?Dn():(fs(),wc()),E.readonlyToken&&(Wr(E.readonlyToken),E.readonlyToken.kind!==144&&ii("readonly"),Dn()),Ln("["),vt(3,E.typeParameter),E.nameType&&(Dn(),ii("as"),Dn(),Wr(E.nameType)),Ln("]"),E.questionToken&&(Wr(E.questionToken),E.questionToken.kind!==57&&Ln("?")),Ln(":"),Dn(),Wr(E.type),us(),Qe&1?Dn():(fs(),Hs()),Ln("}")}function Dt(E){Ir(E.literal)}function Jt(E){Wr(E.head),mo(E,E.templateSpans,262144)}function Sn(E){E.isTypeOf&&(ii("typeof"),Dn()),ii("import"),Ln("("),Wr(E.argument),Ln(")"),E.qualifier&&(Ln("."),Wr(E.qualifier)),Sl(E,E.typeArguments)}function ta(E){Ln("{"),mo(E,E.elements,525136),Ln("}")}function xa(E){Ln("["),mo(E,E.elements,524880),Ln("]")}function Di(E){Wr(E.dotDotDotToken),E.propertyName&&(Wr(E.propertyName),Ln(":"),Dn()),Wr(E.name),nd(E.initializer,E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function $a(E){var Qe=E.elements,nt=E.multiLine?65536:0;Dl(E,Qe,8914|nt,tt.parenthesizeExpressionForDisallowedComma)}function Ji(E){e.forEach(E.properties,wn);var Qe=e.getEmitFlags(E)&65536;Qe&&wc();var nt=E.multiLine?65536:0,Ot=ge.languageVersion>=1&&!e.isJsonSourceFile(ge)?64:0;mo(E,E.properties,526226|Ot|nt),Qe&&Hs()}function So(E){Ir(E.expression,tt.parenthesizeLeftSideOfAccess);var Qe=E.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),E.expression.end,E.name.pos),nt=yc(E,E.expression,Qe),Ot=yc(E,Qe,E.name);hc(nt,!1);var fa=Qe.kind!==28&&cs(E.expression)&&!qe.hasTrailingComment()&&!qe.hasTrailingWhitespace();fa&&Ln("."),E.questionDotToken?Wr(Qe):La(Qe.kind,E.expression.end,Ln,E),hc(Ot,!1),Wr(E.name),Lf(nt,Ot)}function cs(E){if(E=e.skipPartiallyEmittedExpressions(E),e.isNumericLiteral(E)){var Qe=Js(E,!0,!1);return!E.numericLiteralFlags&&!e.stringContains(Qe,e.tokenToString(24))}else if(e.isAccessExpression(E)){var nt=e.getConstantValue(E);return typeof nt=="number"&&isFinite(nt)&&Math.floor(nt)===nt}}function bt(E){Ir(E.expression,tt.parenthesizeLeftSideOfAccess),Wr(E.questionDotToken),La(22,E.expression.end,Ln,E),Ir(E.argumentExpression),La(23,E.argumentExpression.end,Ln,E)}function Mn(E){var Qe=e.getEmitFlags(E)&536870912;Qe&&(Ln("("),ms("0"),Ln(","),Dn()),Ir(E.expression,tt.parenthesizeLeftSideOfAccess),Qe&&Ln(")"),Wr(E.questionDotToken),Sl(E,E.typeArguments),Dl(E,E.arguments,2576,tt.parenthesizeExpressionForDisallowedComma)}function da(E){La(103,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeExpressionOfNew),Sl(E,E.typeArguments),Dl(E,E.arguments,18960,tt.parenthesizeExpressionForDisallowedComma)}function ei(E){var Qe=e.getEmitFlags(E)&536870912;Qe&&(Ln("("),ms("0"),Ln(","),Dn()),Ir(E.tag,tt.parenthesizeLeftSideOfAccess),Qe&&Ln(")"),Sl(E,E.typeArguments),Dn(),Ir(E.template)}function bi(E){Ln("<"),Wr(E.type),Ln(">"),Ir(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function xi(E){var Qe=La(20,E.pos,Ln,E),nt=ld(E.expression,E);Ir(E.expression,void 0),cd(E.expression,E),Lf(nt),La(21,E.expression?E.expression.end:Qe,Ln,E)}function ka(E){Ts(E.name),Kn(E)}function mi(E){Ml(E,E.decorators),js(E,E.modifiers),Fa(E,Xi)}function Xi(E){Fl(E,E.typeParameters),Tf(E,E.parameters),gc(E.type),Dn(),Wr(E.equalsGreaterThanToken)}function Gi(E){La(89,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function Ro(E){La(112,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function ko(E){La(114,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function es(E){La(132,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function as(E){Pc(E.operator,Rc),pe(E)&&Dn(),Ir(E.operand,tt.parenthesizeOperandOfPrefixUnary)}function pe(E){var Qe=E.operand;return Qe.kind===218&&(E.operator===39&&(Qe.operator===39||Qe.operator===45)||E.operator===40&&(Qe.operator===40||Qe.operator===46))}function wr(E){Ir(E.operand,tt.parenthesizeOperandOfPostfixUnary),Pc(E.operator,Rc)}function ft(){return e.createBinaryExpressionTrampoline(E,Qe,nt,Ot,fa,void 0);function E(ia,ti){if(ti){ti.stackIndex++,ti.preserveSourceNewlinesStack[ti.stackIndex]=_e,ti.containerPosStack[ti.stackIndex]=de,ti.containerEndStack[ti.stackIndex]=Fe,ti.declarationListContainerEndStack[ti.stackIndex]=$e;var Na=ti.shouldEmitCommentsStack[ti.stackIndex]=ut(ia),Ua=ti.shouldEmitSourceMapsStack[ti.stackIndex]=ht(ia);ue==null||ue(ia),Na&&dd(ia),Ua&&Lp(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 Oa(ia,Na,"left")}function nt(ia,ti,Na){var Ua=ia.kind!==27,Go=yc(Na,Na.left,ia),cl=yc(Na,ia,Na.right);hc(Go,Ua),Xc(ia.pos),ws(ia,ia.kind===101?ii:Rc),Wu(ia.end,!0),hc(cl,!0)}function Ot(ia,ti,Na){return Oa(ia,Na,"right")}function fa(ia,ti){var Na=yc(ia,ia.left,ia.operatorToken),Ua=yc(ia,ia.operatorToken,ia.right);if(Lf(Na,Ua),ti.stackIndex>0){var Go=ti.preserveSourceNewlinesStack[ti.stackIndex],cl=ti.containerPosStack[ti.stackIndex],os=ti.containerEndStack[ti.stackIndex],is=ti.declarationListContainerEndStack[ti.stackIndex],Vl=ti.shouldEmitCommentsStack[ti.stackIndex],Zc=ti.shouldEmitSourceMapsStack[ti.stackIndex];gt(Go),Zc&&pd(ia),Vl&&zd(ia,cl,os,is),X==null||X(ia),ti.stackIndex--}}function Oa(ia,ti,Na){var Ua=Na==="left"?tt.getParenthesizeLeftSideOfBinaryForOperator(ti.operatorToken.kind):tt.getParenthesizeRightSideOfBinaryForOperator(ti.operatorToken.kind),Go=xt(0,1,ia);if(Go===ba&&(e.Debug.assertIsDefined(Jr),ia=Ua(e.cast(Jr,e.isExpression)),Go=wt(1,1,ia),Jr=void 0),(Go===Bu||Go===Yc||Go===mt)&&e.isBinaryExpression(ia))return ia;ze=Ua,Go(1,ia)}}function Zt(E){var Qe=yc(E,E.condition,E.questionToken),nt=yc(E,E.questionToken,E.whenTrue),Ot=yc(E,E.whenTrue,E.colonToken),fa=yc(E,E.colonToken,E.whenFalse);Ir(E.condition,tt.parenthesizeConditionOfConditionalExpression),hc(Qe,!0),Wr(E.questionToken),hc(nt,!0),Ir(E.whenTrue,tt.parenthesizeBranchOfConditionalExpression),Lf(Qe,nt),hc(Ot,!0),Wr(E.colonToken),hc(fa,!0),Ir(E.whenFalse,tt.parenthesizeBranchOfConditionalExpression),Lf(Ot,fa)}function Re(E){Wr(E.head),mo(E,E.templateSpans,262144)}function Qr(E){La(125,E.pos,ii,E),Wr(E.asteriskToken),Mu(E.expression,tt.parenthesizeExpressionForDisallowedComma)}function vn(E){La(25,E.pos,Ln,E),Ir(E.expression,tt.parenthesizeExpressionForDisallowedComma)}function Xn(E){Ts(E.name),yn(E)}function gi(E){Ir(E.expression,tt.parenthesizeLeftSideOfAccess),Sl(E,E.typeArguments)}function Ia(E){Ir(E.expression,void 0),E.type&&(Dn(),ii("as"),Dn(),Wr(E.type))}function oo(E){Ir(E.expression,tt.parenthesizeLeftSideOfAccess),Rc("!")}function Wo(E){Sf(E.keywordToken,E.pos,Ln),Ln("."),Wr(E.name)}function Nr(E){Ir(E.expression),Wr(E.literal)}function Us(E){il(E,!E.multiLine&&ud(E))}function il(E,Qe){La(18,E.pos,Ln,E);var nt=Qe||e.getEmitFlags(E)&1?768:129;mo(E,E.statements,nt),La(19,E.statements.end,Ln,E,!!(nt&1))}function Pl(E){js(E,E.modifiers),Wr(E.declarationList),us()}function Co(E){E?Ln(";"):us()}function Vs(E){Ir(E.expression,tt.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(ge)||e.nodeIsSynthesized(E.expression))&&us()}function Ql(E){var Qe=La(99,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),Ir(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.thenStatement),E.elseStatement&&(Qu(E,E.thenStatement,E.elseStatement),La(91,E.thenStatement.end,ii,E),E.elseStatement.kind===238?(Dn(),Wr(E.elseStatement)):vc(E,E.elseStatement))}function zl(E,Qe){var nt=La(115,Qe,ii,E);Dn(),La(20,nt,Ln,E),Ir(E.expression),La(21,E.expression.end,Ln,E)}function uc(E){La(90,E.pos,ii,E),vc(E,E.statement),e.isBlock(E.statement)&&!_e?Dn():Qu(E,E.statement,E.expression),zl(E,E.statement.end),us()}function cu(E){zl(E,E.pos),vc(E,E.statement)}function no(E){var Qe=La(97,E.pos,ii,E);Dn();var nt=La(20,Qe,Ln,E);Ws(E.initializer),nt=La(26,E.initializer?E.initializer.end:nt,Ln,E),Mu(E.condition),nt=La(26,E.condition?E.condition.end:nt,Ln,E),Mu(E.incrementor),La(21,E.incrementor?E.incrementor.end:nt,Ln,E),vc(E,E.statement)}function ql(E){var Qe=La(97,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),Ws(E.initializer),Dn(),La(101,E.initializer.end,ii,E),Dn(),Ir(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function fc(E){var Qe=La(97,E.pos,ii,E);Dn(),I_(E.awaitModifier),La(20,Qe,Ln,E),Ws(E.initializer),Dn(),La(159,E.initializer.end,ii,E),Dn(),Ir(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function Ws(E){E!==void 0&&(E.kind===254?Wr(E):Ir(E))}function xc(E){La(86,E.pos,ii,E),ad(E.label),us()}function Ic(E){La(81,E.pos,ii,E),ad(E.label),us()}function La(E,Qe,nt,Ot,fa){var Oa=e.getParseTreeNode(Ot),ia=Oa&&Oa.kind===Ot.kind,ti=Qe;if(ia&&ge&&(Qe=e.skipTrivia(ge.text,Qe)),ia&&Ot.pos!==ti){var Na=fa&&ge&&!e.positionsAreOnSameLine(ti,Qe,ge);Na&&wc(),Xc(ti),Na&&Hs()}if(Qe=Pc(E,nt,Qe),ia&&Ot.end!==Qe){var Ua=Ot.kind===287;Wu(Qe,!Ua,Ua)}return Qe}function uu(E){La(105,E.pos,ii,E),Mu(E.expression),us()}function dc(E){var Qe=La(116,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),Ir(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function Nc(E){var Qe=La(107,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),Ir(E.expression),La(21,E.expression.end,Ln,E),Dn(),Wr(E.caseBlock)}function Pr(E){Wr(E.label),La(58,E.label.end,Ln,E),Dn(),Wr(E.statement)}function $r(E){La(109,E.pos,ii,E),Mu(E.expression),us()}function Lt(E){La(111,E.pos,ii,E),Dn(),Wr(E.tryBlock),E.catchClause&&(Qu(E,E.tryBlock,E.catchClause),Wr(E.catchClause)),E.finallyBlock&&(Qu(E,E.catchClause||E.tryBlock,E.finallyBlock),La(96,(E.catchClause||E.tryBlock).end,ii,E),Dn(),Wr(E.finallyBlock))}function Kt(E){Sf(87,E.pos,ii),us()}function pn(E){Wr(E.name),Wr(E.exclamationToken),gc(E.type),nd(E.initializer,E.type?E.type.end:E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function fn(E){ii(e.isLet(E)?"let":e.isVarConst(E)?"const":"var"),Dn(),mo(E,E.declarations,528)}function kn(E){Kn(E)}function Kn(E){Ml(E,E.decorators),js(E,E.modifiers),ii("function"),Wr(E.asteriskToken),Dn(),tr(E.name),Fa(E,ua)}function Fa(E,Qe){var nt=E.body;if(nt)if(e.isBlock(nt)){var Ot=e.getEmitFlags(E)&65536;Ot&&wc(),Gl(E),e.forEach(E.parameters,Ga),Ga(E.body),Qe(E),rr(nt),Kc(E),Ot&&Hs()}else Qe(E),Dn(),Ir(nt,tt.parenthesizeConciseBodyOfArrowFunction);else Qe(E),us()}function ua(E){Fl(E,E.typeParameters),pl(E,E.parameters),gc(E.type)}function le(E){if(e.getEmitFlags(E)&1)return!0;if(E.multiLine||!e.nodeIsSynthesized(E)&&!e.rangeIsOnSingleLine(E,ge)||ll(E,E.statements,2)||Fu(E,E.statements,2))return!1;for(var Qe,nt=0,Ot=E.statements;nt0)return!1;Qe=fa}return!0}function rr(E){ue==null||ue(E),Dn(),Ln("{"),wc();var Qe=le(E)?br:ct;Uu?Uu(E,E.statements,Qe):Qe(E),Hs(),Sf(19,E.statements.end,Ln,E),X==null||X(E)}function br(E){ct(E,!0)}function ct(E,Qe){var nt=Vd(E.statements),Ot=qe.getTextPos();na(E),nt===0&&Ot===qe.getTextPos()&&Qe?(Hs(),mo(E,E.statements,768),wc()):mo(E,E.statements,1,void 0,nt)}function jt(E){yn(E)}function yn(E){e.forEach(E.members,wn),Ml(E,E.decorators),js(E,E.modifiers),ii("class"),E.name&&(Dn(),tr(E.name));var Qe=e.getEmitFlags(E)&65536;Qe&&wc(),Fl(E,E.typeParameters),mo(E,E.heritageClauses,0),Dn(),Ln("{"),mo(E,E.members,129),Ln("}"),Qe&&Hs()}function ha(E){Ml(E,E.decorators),js(E,E.modifiers),ii("interface"),Dn(),Wr(E.name),Fl(E,E.typeParameters),mo(E,E.heritageClauses,512),Dn(),Ln("{"),mo(E,E.members,129),Ln("}")}function ri(E){Ml(E,E.decorators),js(E,E.modifiers),ii("type"),Dn(),Wr(E.name),Fl(E,E.typeParameters),Dn(),Ln("="),Dn(),Wr(E.type),us()}function Ta(E){js(E,E.modifiers),ii("enum"),Dn(),Wr(E.name),Dn(),Ln("{"),mo(E,E.members,145),Ln("}")}function Ya(E){js(E,E.modifiers),~E.flags&1024&&(ii(E.flags&16?"namespace":"module"),Dn()),Wr(E.name);var Qe=E.body;if(!Qe)return us();for(;Qe&&e.isModuleDeclaration(Qe);)Ln("."),Wr(Qe.name),Qe=Qe.body;Dn(),Wr(Qe)}function fi(E){Gl(E),e.forEach(E.statements,Ga),il(E,ud(E)),Kc(E)}function ci(E){La(18,E.pos,Ln,E),mo(E,E.clauses,129),La(19,E.clauses.end,Ln,E,!0)}function Si(E){js(E,E.modifiers),La(100,E.modifiers?E.modifiers.end:E.pos,ii,E),Dn(),E.isTypeOnly&&(La(151,E.pos,ii,E),Dn()),Wr(E.name),Dn(),La(63,E.name.end,Ln,E),Dn(),Do(E.moduleReference),us()}function Do(E){E.kind===79?Ir(E):Wr(E)}function bo(E){js(E,E.modifiers),La(100,E.modifiers?E.modifiers.end:E.pos,ii,E),Dn(),E.importClause&&(Wr(E.importClause),Dn(),La(155,E.importClause.end,ii,E),Dn()),Ir(E.moduleSpecifier),E.assertClause&&ad(E.assertClause),us()}function Ns(E){E.isTypeOnly&&(La(151,E.pos,ii,E),Dn()),Wr(E.name),E.name&&E.namedBindings&&(La(27,E.name.end,Ln,E),Dn()),Wr(E.namedBindings)}function Ys(E){var Qe=La(41,E.pos,Ln,E);Dn(),La(127,Qe,ii,E),Dn(),Wr(E.name)}function Nu(E){vf(E)}function gf(E){fo(E)}function Zl(E){var Qe=La(93,E.pos,ii,E);Dn(),E.isExportEquals?La(63,Qe,Rc,E):La(88,Qe,ii,E),Dn(),Ir(E.expression,E.isExportEquals?tt.getParenthesizeRightSideOfBinaryForOperator(63):tt.parenthesizeExpressionOfExportDefault),us()}function jc(E){var Qe=La(93,E.pos,ii,E);if(Dn(),E.isTypeOnly&&(Qe=La(151,Qe,ii,E),Dn()),E.exportClause?Wr(E.exportClause):Qe=La(41,Qe,Ln,E),E.moduleSpecifier){Dn();var nt=E.exportClause?E.exportClause.end:Qe;La(155,nt,ii,E),Dn(),Ir(E.moduleSpecifier)}E.assertClause&&ad(E.assertClause),us()}function Mr(E){La(129,E.pos,ii,E),Dn();var Qe=E.elements;mo(E,Qe,526226)}function $l(E){Wr(E.name),Ln(":"),Dn();var Qe=E.value;if((e.getEmitFlags(Qe)&512)===0){var nt=e.getCommentRange(Qe);Wu(nt.pos)}Wr(Qe)}function pc(E){var Qe=La(93,E.pos,ii,E);Dn(),Qe=La(127,Qe,ii,E),Dn(),Qe=La(142,Qe,ii,E),Dn(),Wr(E.name),us()}function ku(E){var Qe=La(41,E.pos,Ln,E);Dn(),La(127,Qe,ii,E),Dn(),Wr(E.name)}function ol(E){vf(E)}function kc(E){fo(E)}function vf(E){Ln("{"),mo(E,E.elements,525136),Ln("}")}function fo(E){E.isTypeOnly&&(ii("type"),Dn()),E.propertyName&&(Wr(E.propertyName),Dn(),La(127,E.propertyName.end,ii,E),Dn()),Wr(E.name)}function Zf(E){ii("require"),Ln("("),Ir(E.expression),Ln(")")}function hf(E){Wr(E.openingElement),mo(E,E.children,262144),Wr(E.closingElement)}function Nd(E){Ln("<"),yf(E.tagName),Sl(E,E.typeArguments),Dn(),Wr(E.attributes),Ln("/>")}function _s(E){Wr(E.openingFragment),mo(E,E.children,262144),Wr(E.closingFragment)}function Hc(E){if(Ln("<"),e.isJsxOpeningElement(E)){var Qe=ld(E.tagName,E);yf(E.tagName),Sl(E,E.typeArguments),E.attributes.properties&&E.attributes.properties.length>0&&Dn(),Wr(E.attributes),cd(E.attributes,E),Lf(Qe)}Ln(">")}function Jc(E){qe.writeLiteral(E.text)}function qp(E){Ln("")}function dl(E){mo(E,E.properties,262656)}function Xp(E){Wr(E.name),x_("=",Ln,E.initializer,kr)}function Rs(E){Ln("{..."),Ir(E.expression),Ln("}")}function Ja(E){var Qe=!1;return e.forEachTrailingCommentRange((ge==null?void 0:ge.text)||"",E+1,function(){return Qe=!0}),Qe}function Zn(E){var Qe=!1;return e.forEachLeadingCommentRange((ge==null?void 0:ge.text)||"",E+1,function(){return Qe=!0}),Qe}function Oc(E){return Ja(E)||Zn(E)}function ks(E){var Qe;if(E.expression||!pr&&!e.nodeIsSynthesized(E)&&Oc(E.pos)){var nt=ge&&!e.nodeIsSynthesized(E)&&e.getLineAndCharacterOfPosition(ge,E.pos).line!==e.getLineAndCharacterOfPosition(ge,E.end).line;nt&&qe.increaseIndent();var Ot=La(18,E.pos,Ln,E);Wr(E.dotDotDotToken),Ir(E.expression),La(19,((Qe=E.expression)===null||Qe===void 0?void 0:Qe.end)||Ot,Ln,E),nt&&qe.decreaseIndent()}}function yf(E){E.kind===79?Ir(E):Wr(E)}function Ou(E){La(82,E.pos,ii,E),Dn(),Ir(E.expression,tt.parenthesizeExpressionForDisallowedComma),Uo(E,E.statements,E.expression.end)}function kd(E){var Qe=La(88,E.pos,ii,E);Uo(E,E.statements,Qe)}function Uo(E,Qe,nt){var Ot=Qe.length===1&&(e.nodeIsSynthesized(E)||e.nodeIsSynthesized(Qe[0])||e.rangeStartPositionsAreOnSameLine(E,Qe[0],ge)),fa=163969;Ot?(Sf(58,nt,Ln,E),Dn(),fa&=-130):La(58,nt,Ln,E),mo(E,Qe,fa)}function $f(E){Dn(),Pc(E.token,ii),Dn(),mo(E,E.types,528)}function Od(E){var Qe=La(83,E.pos,ii,E);Dn(),E.variableDeclaration&&(La(20,Qe,Ln,E),Wr(E.variableDeclaration),La(21,E.variableDeclaration.end,Ln,E),Dn()),Wr(E.block)}function Rd(E){Wr(E.name),Ln(":"),Dn();var Qe=E.initializer;if((e.getEmitFlags(Qe)&512)===0){var nt=e.getCommentRange(Qe);Wu(nt.pos)}Ir(Qe,tt.parenthesizeExpressionForDisallowedComma)}function Yp(E){Wr(E.name),E.objectAssignmentInitializer&&(Dn(),Ln("="),Dn(),Ir(E.objectAssignmentInitializer,tt.parenthesizeExpressionForDisallowedComma))}function yp(E){E.expression&&(La(25,E.pos,Ln,E),Ir(E.expression,tt.parenthesizeExpressionForDisallowedComma))}function Xl(E){Wr(E.name),nd(E.initializer,E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function C_(E){if(De("/**"),E.comment){var Qe=e.getTextOfJSDocComment(E.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"}),fs()}if(ge&&ge.moduleName&&(sl('/// ')),fs()),ge&&ge.amdDependencies)for(var Oa=0,ia=ge.amdDependencies;Oa')):sl('/// ')),fs()}for(var Na=0,Ua=Qe;Na')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"reference",data:Go.fileName}),fs()}for(var cl=0,os=nt;cl')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"type",data:Go.fileName}),fs()}for(var is=0,Vl=Ot;is')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:"lib",data:Go.fileName}),fs()}}function Sp(E){var Qe=E.statements;Gl(E),e.forEach(E.statements,Ga),na(E);var nt=e.findIndex(Qe,function(Ot){return!e.isPrologueDirective(Ot)});bf(E),mo(E,Qe,1,void 0,nt===-1?Qe.length:nt),Kc(E)}function Ef(E){Ir(E.expression)}function $p(E){Dl(E,E.elements,528,void 0)}function Vd(E,Qe,nt,Ot){for(var fa=!!Qe,Oa=0;Oa=nt.length||ia===0;if(Na&&Ot&32768){j&&j(nt),Se&&Se(nt);return}if(Ot&15360&&(Ln($(Ot)),Na&&nt&&Wu(nt.pos,!0)),j&&j(nt),Na)Ot&1&&!(_e&&(!Qe||e.rangeIsOnSingleLine(Qe,ge)))?fs():Ot&256&&!(Ot&524288)&&Dn();else{e.Debug.type(nt);var Ua=(Ot&262144)===0,Go=Ua,cl=ll(Qe,nt,Ot);cl?(fs(cl),Go=!1):Ot&256&&Dn(),Ot&128&&wc();for(var os=void 0,is=void 0,Vl=!1,Zc=0;Zc0?((Ot&131)===0&&(wc(),Vl=!0),fs(md),Go=!1):os&&Ot&512&&Dn()}if(is=fe($c),Go){if(Wu){var n_=e.getCommentRange($c);Wu(n_.pos)}}else Go=Ua;Le=$c.pos,E.length===1?E($c):E($c,fa),Vl&&(Hs(),Vl=!1),os=$c}var tf=os?e.getEmitFlags(os):0,Mf=pr||!!(tf&1024),a_=(nt==null?void 0:nt.hasTrailingComma)&&Ot&64&&Ot&16;a_&&(os&&!Mf?La(27,os.end,Ln,os):Ln(",")),os&&(Qe?Qe.end:-1)!==os.end&&Ot&60&&!Mf&&Xc(a_&&(nt==null?void 0:nt.end)?nt.end:os.end),Ot&128&&Hs(),je(is);var gd=Fu(Qe,nt,Ot);gd?fs(gd):Ot&2097408&&Dn()}Se&&Se(nt),Ot&15360&&(Na&&nt&&Xc(nt.end),Ln(T(Ot)))}}function ms(E){qe.writeLiteral(E)}function e_(E){qe.writeStringLiteral(E)}function Yl(E){qe.write(E)}function od(E,Qe){qe.writeSymbol(E,Qe)}function Ln(E){qe.writePunctuation(E)}function us(){qe.writeTrailingSemicolon(";")}function ii(E){qe.writeKeyword(E)}function Rc(E){qe.writeOperator(E)}function sd(E){qe.writeParameter(E)}function sl(E){qe.writeComment(E)}function Dn(){qe.writeSpace(" ")}function N_(E){qe.writeProperty(E)}function rs(E){qe.nonEscapingWrite?qe.nonEscapingWrite(E):qe.write(E)}function fs(E){E===void 0&&(E=1);for(var Qe=0;Qe0)}function wc(){qe.increaseIndent()}function Hs(){qe.decreaseIndent()}function Sf(E,Qe,nt,Ot){return Or?Pc(E,nt,Qe):_d(Ot,E,nt,Qe,Pc)}function ws(E,Qe){Ce&&Ce(E),Qe(e.tokenToString(E.kind)),O&&O(E)}function Pc(E,Qe,nt){var Ot=e.tokenToString(E);return Qe(Ot),nt<0?nt:nt+Ot.length}function Qu(E,Qe,nt){if(e.getEmitFlags(E)&1)Dn();else if(_e){var Ot=yc(E,Qe,nt);Ot?fs(Ot):Dn()}else fs()}function Df(E){for(var Qe=E.split(/\r\n?|\n/g),nt=e.guessIndentation(Qe),Ot=0,fa=Qe;Ot0||Ot>0)&&nt!==Ot&&(fa||Of(nt,E.kind!==347),(!fa||nt>=0&&(Qe&512)!==0)&&(de=nt),(!Oa||Ot>=0&&(Qe&1024)!==0)&&(Fe=Ot,E.kind===254&&($e=Ot))),e.forEach(e.getSyntheticLeadingComments(E),du),lt()}function ts(E,Qe,nt,Ot,fa,Oa,ia){Yr();var ti=Ot<0||(Qe&1024)!==0||E.kind===11;e.forEach(e.getSyntheticTrailingComments(E),qd),(nt>0||Ot>0)&&nt!==Ot&&(de=fa,Fe=Oa,$e=ia,!ti&&E.kind!==347&&Yd(Ot)),lt()}function du(E){(E.hasLeadingNewline||E.kind===2)&&qe.writeLine(),ac(E),E.hasTrailingNewLine||E.kind===2?qe.writeLine():qe.writeSpace(" ")}function qd(E){qe.isAtStartOfLine()||qe.writeSpace(" "),ac(E),E.hasTrailingNewLine&&qe.writeLine()}function ac(E){var Qe=kf(E),nt=E.kind===3?e.computeLineStarts(Qe):void 0;e.writeCommentRange(Qe,nt,qe,0,Qe.length,V)}function kf(E){return E.kind===3?"/*".concat(E.text,"*/"):"//".concat(E.text)}function Uu(E,Qe,nt){Yr();var Ot=Qe.pos,fa=Qe.end,Oa=e.getEmitFlags(E),ia=Ot<0||(Oa&512)!==0,ti=pr||fa<0||(Oa&1024)!==0;ia||Zd(Qe),lt(),Oa&2048&&!pr?(pr=!0,nt(E),pr=!1):nt(E),Yr(),ti||(Of(Qe.end,!0),He&&!qe.isAtStartOfLine()&&qe.writeLine()),lt()}function Xd(E,Qe){return E=e.getOriginalNode(E),E.parent&&E.parent===e.getOriginalNode(Qe).parent}function ef(E,Qe){if(Qe.pos-1&&Ot.indexOf(Qe)===fa+1}function Of(E,Qe){He=!1,Qe?E===0&&(ge==null?void 0:ge.isDeclarationFile)?pu(E,qc):pu(E,Vu):E===0&&pu(E,bc)}function bc(E,Qe,nt,Ot,fa){$d(E,Qe)&&Vu(E,Qe,nt,Ot,fa)}function qc(E,Qe,nt,Ot,fa){$d(E,Qe)||Vu(E,Qe,nt,Ot,fa)}function rf(E,Qe){return y.onlyPrintJsDocStyle?e.isJSDocLikeText(E,Qe)||e.isPinnedComment(E,Qe):!0}function Vu(E,Qe,nt,Ot,fa){!rf(ge.text,E)||(He||(e.emitNewLineBeforeLeadingCommentOfPosition(yt(),qe,fa,E),He=!0),Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,V),Ul(Qe),Ot?qe.writeLine():nt===3&&qe.writeSpace(" "))}function Xc(E){pr||E===-1||Of(E,!0)}function Yd(E){gn(E,Ec)}function Ec(E,Qe,nt,Ot){!rf(ge.text,E)||(qe.isAtStartOfLine()||qe.writeSpace(" "),Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,V),Ul(Qe),Ot&&qe.writeLine())}function Wu(E,Qe,nt){pr||(Yr(),gn(E,Qe?Ec:nt?t_:Wa),lt())}function t_(E,Qe,nt){Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,V),Ul(Qe),nt===2&&qe.writeLine()}function Wa(E,Qe,nt,Ot){Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,V),Ul(Qe),Ot?qe.writeLine():qe.writeSpace(" ")}function pu(E,Qe){ge&&(de===-1||E!==de)&&(Rf(E)?Qd(Qe):e.forEachLeadingCommentRange(ge.text,E,Qe,E))}function gn(E,Qe){ge&&(Fe===-1||E!==Fe&&E!==$e)&&e.forEachTrailingCommentRange(ge.text,E,Qe)}function Rf(E){return Fr!==void 0&&e.last(Fr).nodePos===E}function Qd(E){var Qe=e.last(Fr).detachedCommentEndPos;Fr.length-1?Fr.pop():Fr=void 0,e.forEachLeadingCommentRange(ge.text,Qe,E,Qe)}function Zd(E){var Qe=e.emitDetachedComments(ge.text,yt(),qe,Mc,E,V,pr);Qe&&(Fr?Fr.push(Qe):Fr=[Qe])}function Mc(E,Qe,nt,Ot,fa,Oa){!rf(ge.text,Ot)||(Ul(Ot),e.writeCommentRange(E,Qe,nt,Ot,fa,Oa),Ul(fa))}function $d(E,Qe){return e.isRecognizedTripleSlashComment(ge.text,E,Qe)}function k_(E){return E.parsedSourceMap===void 0&&E.sourceMapText!==void 0&&(E.parsedSourceMap=e.tryParseRawSourceMap(E.sourceMapText)||!1),E.parsedSourceMap||void 0}function Yc(E,Qe){var nt=wt(3,E,Qe);Lp(Qe),nt(E,Qe),pd(Qe)}function Lp(E){var Qe=e.getEmitFlags(E),nt=e.getSourceMapRange(E);if(e.isUnparsedNode(E)){e.Debug.assertIsDefined(E.parent,"UnparsedNodes must have parent pointers");var Ot=k_(E.parent);Ot&&Ke&&Ke.appendSourceMap(qe.getLine(),qe.getColumn(),Ot,E.parent.sourceMapPath,E.parent.getLineAndCharacterOfPosition(E.pos),E.parent.getLineAndCharacterOfPosition(E.end))}else{var fa=nt.source||Pe;E.kind!==347&&(Qe&16)===0&&nt.pos>=0&&wf(nt.source||Pe,Ap(fa,nt.pos)),Qe&64&&(Or=!0)}}function pd(E){var Qe=e.getEmitFlags(E),nt=e.getSourceMapRange(E);e.isUnparsedNode(E)||(Qe&64&&(Or=!1),E.kind!==347&&(Qe&32)===0&&nt.end>=0&&wf(nt.source||Pe,nt.end))}function Ap(E,Qe){return E.skipTrivia?E.skipTrivia(Qe):e.skipTrivia(E.text,Qe)}function Ul(E){if(!(Or||e.positionIsSynthesized(E)||Pf(Pe))){var Qe=e.getLineAndCharacterOfPosition(Pe,E),nt=Qe.line,Ot=Qe.character;Ke.addMapping(qe.getLine(),qe.getColumn(),Hr,nt,Ot,void 0)}}function wf(E,Qe){if(E!==Pe){var nt=Pe,Ot=Hr;Fc(E),Ul(Qe),Qc(nt,Ot)}else Ul(Qe)}function _d(E,Qe,nt,Ot,fa){if(Or||E&&e.isInJsonFile(E))return fa(Qe,nt,Ot);var Oa=E&&E.emitNode,ia=Oa&&Oa.flags||0,ti=Oa&&Oa.tokenSourceMapRanges&&Oa.tokenSourceMapRanges[Qe],Na=ti&&ti.source||Pe;return Ot=Ap(Na,ti?ti.pos:Ot),(ia&128)===0&&Ot>=0&&wf(Na,Ot),Ot=fa(Qe,nt,Ot),ti&&(Ot=ti.end),(ia&256)===0&&Ot>=0&&wf(Na,Ot),Ot}function Fc(E){if(!Or){if(Pe=E,E===ur){Hr=vr;return}Pf(E)||(Hr=Ke.addSource(E.fileName),y.inlineSources&&Ke.setSourceContent(Hr,E.text),ur=E,vr=Hr)}}function Qc(E,Qe){Pe=E,Hr=Qe}function Pf(E){return e.fileExtensionIs(E.fileName,".json")}}e.createPrinter=Y;function U(){var y=[];return y[1024]=["{","}"],y[2048]=["(",")"],y[4096]=["<",">"],y[8192]=["[","]"],y}function $(y){return n[y&15360][0]}function T(y){return n[y&15360][1]}var I;(function(y){y[y.Auto=0]="Auto",y[y.CountMask=268435455]="CountMask",y[y._i=268435456]="_i"})(I||(I={}))})(gr||(gr={}));var gr;(function(e){function n(S,B,J){if(!S.getDirectories||!S.readDirectory)return;var k=new e.Map,M=e.createGetCanonicalFileName(J);return{useCaseSensitiveFileNames:J,fileExists:I,readFile:function(X,j){return S.readFile(X,j)},directoryExists:S.directoryExists&&y,getDirectories:C,readDirectory:m,createDirectory:S.createDirectory&&D,writeFile:S.writeFile&&T,addOrDeleteFileOrDirectory:g,addOrDeleteFile:F,clearCache:ue,realpath:S.realpath&&u};function x(X){return e.toPath(X,B,M)}function w(X){return k.get(e.ensureTrailingDirectorySeparator(X))}function K(X){return w(e.getDirectoryPath(X))}function Z(X){return e.getBaseFileName(e.normalizePath(X))}function ne(X,j){var Se;if(!S.realpath||e.ensureTrailingDirectorySeparator(x(S.realpath(X)))===j){var Ce={files:e.map(S.readDirectory(X,void 0,void 0,["*.*"]),Z)||[],directories:S.getDirectories(X)||[]};return k.set(e.ensureTrailingDirectorySeparator(j),Ce),Ce}if(!((Se=S.directoryExists)===null||Se===void 0)&&Se.call(S,X))return k.set(j,!1),!1}function R(X,j){j=e.ensureTrailingDirectorySeparator(j);var Se=w(j);if(Se)return Se;try{return ne(X,j)}catch{e.Debug.assert(!k.has(e.ensureTrailingDirectorySeparator(j)));return}}function Y(X,j){return M(X)===M(j)}function U(X,j){return e.some(X,function(Se){return Y(Se,j)})}function $(X,j,Se){if(U(X,j)){if(!Se)return e.filterMutate(X,function(Ce){return!Y(Ce,j)})}else if(Se)return X.push(j)}function T(X,j,Se){var Ce=x(X),O=K(Ce);return O&&te(O,Z(X),!0),S.writeFile(X,j,Se)}function I(X){var j=x(X),Se=K(j);return Se&&U(Se.files,Z(X))||S.fileExists(X)}function y(X){var j=x(X);return k.has(e.ensureTrailingDirectorySeparator(j))||S.directoryExists(X)}function D(X){var j=x(X),Se=K(j),Ce=Z(X);Se&&$(Se.directories,Ce,!0),S.createDirectory(X)}function C(X){var j=x(X),Se=R(X,j);return Se?Se.directories.slice():S.getDirectories(X)}function m(X,j,Se,Ce,O){var Q=x(X),V=R(X,Q),z;if(V!==void 0)return e.matchFiles(X,j,Se,Ce,J,B,O,Te,u);return S.readDirectory(X,j,Se,Ce,O);function Te(ke){var Me=x(ke);if(Me===Q)return V||ge(ke,Me);var Ie=R(ke,Me);return Ie!==void 0?Ie||ge(ke,Me):e.emptyFileSystemEntries}function ge(ke,Me){if(z&&Me===Q)return z;var Ie={files:e.map(S.readDirectory(ke,void 0,void 0,["*.*"]),Z)||e.emptyArray,directories:S.getDirectories(ke)||e.emptyArray};return Me===Q&&(z=Ie),Ie}}function u(X){return S.realpath?S.realpath(X):X}function g(X,j){var Se=w(j);if(Se!==void 0){ue();return}var Ce=K(j);if(!!Ce){if(!S.directoryExists){ue();return}var O=Z(X),Q={fileExists:S.fileExists(j),directoryExists:S.directoryExists(j)};return Q.directoryExists||U(Ce.directories,O)?ue():te(Ce,O,Q.fileExists),Q}}function F(X,j,Se){if(Se!==e.FileWatcherEventKind.Changed){var Ce=K(j);Ce&&te(Ce,Z(X),Se===e.FileWatcherEventKind.Created)}}function te(X,j,Se){$(X.files,j,Se)}function ue(){k.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 f(S,B,J,k,M){var x,w=e.arrayToMap(((x=B==null?void 0:B.configFile)===null||x===void 0?void 0:x.extendedSourceFiles)||e.emptyArray,M);J.forEach(function(K,Z){w.has(Z)||(K.projects.delete(S),K.close())}),w.forEach(function(K,Z){var ne=J.get(Z);ne?ne.projects.add(S):J.set(Z,{projects:new e.Set([S]),watcher:k(K,Z),close:function(){var R=J.get(Z);!R||R.projects.size!==0||(R.watcher.close(),J.delete(Z))}})})}e.updateSharedExtendedConfigFileWatcher=f;function d(S,B){B.forEach(function(J){J.projects.delete(S)&&J.close()})}e.clearSharedExtendedConfigFileWatcher=d;function a(S,B,J){!S.delete(B)||S.forEach(function(k,M){var x,w=k.extendedResult;!((x=w.extendedSourceFiles)===null||x===void 0)&&x.some(function(K){return J(K)===B})&&a(S,M,J)})}e.cleanExtendedConfigCache=a;function p(S,B,J){var k=new e.Map(S);e.mutateMap(B,k,{createNewValue:J,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=p;function N(S,B,J){var k=S.getMissingFilePaths(),M=e.arrayToMap(k,e.identity,e.returnTrue);e.mutateMap(B,M,{createNewValue:J,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=N;function H(S,B,J){e.mutateMap(S,B,{createNewValue:k,onDeleteValue:P,onExistingValue:M});function k(x,w){return{watcher:J(x,w),flags:w}}function M(x,w,K){x.flags!==w&&(x.watcher.close(),S.set(K,k(K,w)))}}e.updateWatchingWildcardDirectories=H;function h(S){var B=S.watchedDirPath,J=S.fileOrDirectory,k=S.fileOrDirectoryPath,M=S.configFileName,x=S.options,w=S.program,K=S.extraFileExtensions,Z=S.currentDirectory,ne=S.useCaseSensitiveFileNames,R=S.writeLog,Y=S.toPath,U=e.removeIgnoredPath(k);if(!U)return R("Project: ".concat(M," Detected ignored path: ").concat(J)),!0;if(k=U,k===B)return!1;if(e.hasExtension(k)&&!e.isSupportedSourceFileName(J,x,K))return R("Project: ".concat(M," Detected file add/remove of non supported extension: ").concat(J)),!0;if(e.isExcludedFile(J,x.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(M),Z),ne,Z))return R("Project: ".concat(M," Detected excluded file: ").concat(J)),!0;if(!w||e.outFile(x)||x.outDir)return!1;if(e.fileExtensionIs(k,".d.ts")){if(x.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(k,e.supportedJSExtensionsFlat))return!1;var $=e.removeFileExtension(k),T=e.isArray(w)?void 0:v(w)?w.getProgramOrUndefined():w,I=!T&&!e.isArray(w)?w:void 0;if(y($+".ts")||y($+".tsx"))return R("Project: ".concat(M," Detected output file: ").concat(J)),!0;return!1;function y(D){return T?!!T.getSourceFileByPath(D):I?I.getState().fileInfos.has(D):!!e.find(w,function(C){return Y(C)===D})}}e.isIgnoredFileFromWildCardWatching=h;function v(S){return!!S.getState}function A(S,B){return S?S.isEmittedFile(B):!1}e.isEmittedFileOfProgram=A;var q;(function(S){S[S.None=0]="None",S[S.TriggerOnly=1]="TriggerOnly",S[S.Verbose=2]="Verbose"})(q=e.WatchLogLevel||(e.WatchLogLevel={}));function ie(S,B,J,k){e.setSysLog(B===q.Verbose?J:e.noop);var M={watchFile:function(I,y,D,C){return S.watchFile(I,y,D,C)},watchDirectory:function(I,y,D,C){return S.watchDirectory(I,y,(D&1)!==0,C)}},x=B!==q.None?{watchFile:$("watchFile"),watchDirectory:$("watchDirectory")}:void 0,w=B===q.Verbose?{watchFile:Y,watchDirectory:U}:x||M,K=B===q.Verbose?R:e.returnNoopFileWatcher;return{watchFile:Z("watchFile"),watchDirectory:Z("watchDirectory")};function Z(I){return function(y,D,C,m,u,g){var F;return e.matchesExclude(y,I==="watchFile"?m==null?void 0:m.excludeFiles:m==null?void 0:m.excludeDirectories,ne(),((F=S.getCurrentDirectory)===null||F===void 0?void 0:F.call(S))||"")?K(y,C,m,u,g):w[I].call(void 0,y,D,C,m,u,g)}}function ne(){return typeof S.useCaseSensitiveFileNames=="boolean"?S.useCaseSensitiveFileNames:S.useCaseSensitiveFileNames()}function R(I,y,D,C,m){return J("ExcludeWatcher:: Added:: ".concat(T(I,y,D,C,m,k))),{close:function(){return J("ExcludeWatcher:: Close:: ".concat(T(I,y,D,C,m,k)))}}}function Y(I,y,D,C,m,u){J("FileWatcher:: Added:: ".concat(T(I,D,C,m,u,k)));var g=x.watchFile(I,y,D,C,m,u);return{close:function(){J("FileWatcher:: Close:: ".concat(T(I,D,C,m,u,k))),g.close()}}}function U(I,y,D,C,m,u){var g="DirectoryWatcher:: Added:: ".concat(T(I,D,C,m,u,k));J(g);var F=e.timestamp(),te=x.watchDirectory(I,y,D,C,m,u),ue=e.timestamp()-F;return J("Elapsed:: ".concat(ue,"ms ").concat(g)),{close:function(){var X="DirectoryWatcher:: Close:: ".concat(T(I,D,C,m,u,k));J(X);var j=e.timestamp();te.close();var Se=e.timestamp()-j;J("Elapsed:: ".concat(Se,"ms ").concat(X))}}}function $(I){return function(y,D,C,m,u,g){return M[I].call(void 0,y,function(){for(var F=[],te=0;te=4,De=(_e+1+"").length;Xe&&(De=Math.max(P.length,De));for(var Ae="",Ye=he;Ye<=_e;Ye++){Ae+=Ie.getNewLine(),Xe&&he+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&&De.getSourceFile(fi.resolvedFileName);if(fi&&ci)return!1;var Si=Pe.get(Ta);return Si?(e.isTraceEnabled(Le,pr)&&e.trace(pr,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,Ta,Si),!0):!1}}function rt(){return!$(De.getProjectReferences(),De.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?as($r.sourceFile.path).commandLine.projectReferences:Xe;return!e.arrayIsEqualTo(Pr,Lt,e.projectReferenceIsEqualTo)})}function Cn(){var Pr;if(!De)return 0;var $r=De.getCompilerOptions();if(e.changesAffectModuleResolution($r,Le))return 0;var Lt=De.getRootFileNames();if(!e.arrayIsEqualTo(Lt,_e)||!rt())return 0;Xe&&(xr=Xe.map(Ia));var Kt=[],pn=[];if(vt=2,De.getMissingFilePaths().some(function(ol){return pr.fileExists(ol)}))return 0;var fn=De.getSourceFiles(),kn;(function(ol){ol[ol.Exists=0]="Exists",ol[ol.Modified=1]="Modified"})(kn||(kn={}));for(var Kn=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 Un(Pr){return Mo(function(){var $r=[];return Lt(Pr,Pr),e.forEachChildRecursively(Pr,Lt,Kt),$r;function Lt(Kn,Fa){switch(Fa.kind){case 163:case 166:case 168:if(Fa.questionToken===Kn)return $r.push(kn(Kn,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===Kn)return $r.push(kn(Kn,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(Kn.kind){case 266:if(Kn.isTypeOnly)return $r.push(kn(Fa,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 271:if(Kn.isTypeOnly)return $r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 264:return $r.push(kn(Kn,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 270:if(Kn.isExportEquals)return $r.push(kn(Kn,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 290:var ua=Kn;if(ua.token===117)return $r.push(kn(Kn,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 257:var le=e.tokenToString(118);return e.Debug.assertIsDefined(le),$r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,le)),"skip";case 260:var rr=Kn.flags&16?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(rr),$r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,rr)),"skip";case 258:return $r.push(kn(Kn,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 259:var br=e.Debug.checkDefined(e.tokenToString(92));return $r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,br)),"skip";case 229:return $r.push(kn(Kn,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 228:return $r.push(kn(Kn.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 210:e.Debug.fail()}}function Kt(Kn,Fa){switch(Fa.decorators===Kn&&!Le.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(Kn===Fa.typeParameters)return $r.push(fn(Kn,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 236:if(Kn===Fa.modifiers)return pn(Fa.modifiers,Fa.kind===236),"skip";break;case 166:if(Kn===Fa.modifiers){for(var ua=0,le=Kn;ua=1&&e.isStringLiteralLike(yn.arguments[0])?(e.setParentRecursive(yn,!1),Kt=e.append(Kt,yn.arguments[0])):e.isLiteralImportTypeNode(yn)&&(e.setParentRecursive(yn,!1),Kt=e.append(Kt,yn.argument.literal))}}function br(ct,jt){for(var yn=ct,ha=function(Ta){if(Ta.pos<=jt&&(jt0),Object.defineProperties(kn,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(Kn){this.redirectInfo.redirectTarget.id=Kn}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(Kn){this.redirectInfo.redirectTarget.symbol=Kn}}}),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=ko(fn);if(!kn&&pr.realpath&&Le.preserveSymlinks&&e.isDeclarationFileName(Pr)&&e.stringContains(Pr,e.nodeModulesPathPart)){var Kn=pt(pr.realpath(Pr));Kn!==fn&&(kn=ko(Kn))}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 le=Ne.get(fn);if(bi(le||void 0,Kt),le&&Le.forceConsistentCasingInFileNames){var rr=le.fileName,br=pt(rr)!==pt(Pr);br&&(Pr=ka(Pr)||Pr);var ct=e.getNormalizedAbsolutePathWithoutRoot(rr,tt),jt=e.getNormalizedAbsolutePathWithoutRoot(Pr,tt);ct!==jt&&bt(Pr,le,Kt)}return le&&He.get(le.path)&&Dr===0?(He.set(le.path,!1),Le.noResolve||(pe(le,$r),wr(le)),Le.noLib||Qr(le),Fr.set(le.path,!1),Xn(le)):le&&Fr.get(le.path)&&Dr<$e&&(Fr.set(le.path,!1),Xn(le)),le||void 0}var yn;if(T(Kt)&&!yt){var ha=mi(Pr);if(ha){if(e.outFile(ha.commandLine.options))return;var ri=Xi(ha,Pr);Pr=ri,yn=pt(ri)}}var Ta=pr.getSourceFile(Pr,e.getEmitScriptTarget(Le),function(bo){return Nr(void 0,Kt,e.Diagnostics.Cannot_read_file_0_Colon_1,[Pr,bo])},gt);if(pn){var Ya=e.packageIdToString(pn),fi=je.get(Ya);if(fi){var ci=Mn(fi,Ta,Pr,fn,pt(Pr),ua);return We.add(fi.path,Pr),xi(ci,fn,yn),bi(ci,Kt),Ee.set(fn,pn.name),Ye.push(ci),ci}else Ta&&(je.set(Ya,Ta),Ee.set(fn,pn.name))}if(xi(Ta,fn,yn),Ta){if(He.set(fn,Dr>0),Ta.fileName=Pr,Ta.path=fn,Ta.resolvedPath=pt(Pr),Ta.originalFileName=ua,Ta.impliedNodeFormat=m(Ta.resolvedPath,zn==null?void 0:zn.getPackageJsonInfoCache(),pr,Le),bi(Ta,Kt),pr.useCaseSensitiveFileNames()){var Si=e.toFileNameLowerCase(fn),Do=Ze.get(Si);Do?bt(Pr,Do,Kt):Ze.set(Si,Ta)}ze=ze||Ta.hasNoDefaultLib&&!Lt,Le.noResolve||(pe(Ta,$r),wr(Ta)),Le.noLib||Qr(Ta),Xn(Ta),$r?Ae.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=mi(Pr);return $r&&Xi($r,Pr)}function mi(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,!pr.useCaseSensitiveFileNames())}function Gi(Pr){dr===void 0&&(dr=new e.Map,Ro(function(Lt){pt(Le.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&&as($r)}function Ro(Pr){return e.forEachResolvedProjectReference(xr,Pr)}function ko(Pr){if(!!e.isDeclarationFileName(Pr))return et===void 0&&(et=new e.Map,Ro(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,!pr.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,!pr.useCaseSensitiveFileNames(),pn);et.set(pt(kn),fn)}})}})),et.get(Pr)}function es(Pr){return yt&&!!Gi(Pr)}function as(Pr){if(!!fr)return fr.get(Pr)||void 0}function pe(Pr,$r){e.forEach(Pr.referencedFiles,function(Lt,Kt){So(f(Lt.fileName,Pr.fileName),$r,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:Pr.path,index:Kt})})}function wr(Pr){var $r=e.map(Pr.typeReferenceDirectives,function(Kn){return e.toFileNameLowerCase(Kn.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:T(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=de.get(Pr);if(!(Kt&&Kt.primary)){var pn=!0;if($r){if($r.isExternalLibraryImport&&Dr++,$r.primary)So($r.resolvedFileName,!1,!1,$r.packageId,Lt);else if(Kt){if($r.resolvedFileName!==Kt.resolvedFileName){var fn=pr.readFile($r.resolvedFileName),kn=No(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 So($r.resolvedFileName,!1,!1,$r.packageId,Lt);$r.isExternalLibraryImport&&Dr--}else Nr(void 0,Lt,e.Diagnostics.Cannot_find_type_definition_file_for_0,[Pr]);pn&&de.set(Pr,$r)}}function Re(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(tt,"__lib_node_modules_lookup_".concat(Pr,"__.ts")),fn=e.resolveModuleName("@typescript/lib-"+Lt,pn,{moduleResolution:e.ModuleResolutionKind.NodeJs},pr,zn);return fn!=null&&fn.resolvedModule?fn.resolvedModule.resolvedFileName:e.combinePaths(Yr,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(Re(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),Kn=kn?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;(Fe||(Fe=[])).push({kind:0,reason:{kind:e.FileIncludeKind.LibReferenceDirective,file:Pr.path,index:Lt},diagnostic:Kn,args:[Kt,kn]})}})}function vn(Pr){return pr.getCanonicalFileName(Pr)}function Xn(Pr){var $r;if(xa(Pr),Pr.imports.length||Pr.moduleAugmentations.length){var Lt=Q(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)||Le,fn=0;fn$e,br=le&&!O(pn,kn)&&!pn.noResolve&&fn1})&&no(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(Le.useDefineForClassFields&&rr===0&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),Le.checkJs&&!e.getAllowJSCompilerOption(Le)&<.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),Le.emitDeclarationOnly&&(e.getEmitDeclarations(Le)||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),Le.noEmit&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),Le.emitDecoratorMetadata&&!Le.experimentalDecorators&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),Le.jsxFactory?(Le.reactNamespace&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+Le.jsx)),e.parseIsolatedEntityName(Le.jsxFactory,rr)||ql("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Le.jsxFactory)):Le.reactNamespace&&!e.isIdentifierText(Le.reactNamespace,rr)&&ql("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Le.reactNamespace),Le.jsxFragmentFactory&&(Le.jsxFactory||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+Le.jsx)),e.parseIsolatedEntityName(Le.jsxFragmentFactory,rr)||ql("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Le.jsxFragmentFactory)),Le.reactNamespace&&(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+Le.jsx)),Le.jsxImportSource&&Le.jsx===2&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+Le.jsx)),Le.preserveValueImports&&e.getEmitModuleKind(Le)rr?e.createDiagnosticForNodeInSourceFile(le,br.elements[rr],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(!Le.types)return;Kt=cu("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=cu("lib",Le.lib[Pr.index]),pn=e.Diagnostics.File_is_library_specified_here;break}var ct=e.forEachEntry(e.targetOptionDeclaration.type,function(jt,yn){return jt===e.getEmitScriptTarget(Le)?yn:void 0});Kt=ct?uc("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(Le.configFile,Kt,pn)}}function Pl(){var Pr=Le.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(Le);$(Xe,xr,function($r,Lt,Kt){var pn=(Lt?Lt.commandLine.projectReferences:Xe)[Kt],fn=Lt&&Lt.sourceFile;if(!$r){fc(fn,Kt,e.Diagnostics.File_0_not_found,pn.path);return}var kn=$r.commandLine.options;if(!kn.composite||kn.noEmit){var Kn=Lt?Lt.commandLine.fileNames:_e;Kn.length&&(kn.composite||fc(fn,Kt,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,pn.path),kn.noEmit&&fc(fn,Kt,e.Diagnostics.Referenced_project_0_may_not_disable_emit,pn.path))}if(pn.prepend){var Fa=e.outFile(kn);Fa?pr.fileExists(Fa)||fc(fn,Kt,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,Fa,pn.path):fc(fn,Kt,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,pn.path)}!Lt&&Pr&&Pr===e.getTsBuildInfoEmitOutputFilePath(kn)&&(fc(fn,Kt,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Pr,pn.path),bn.set(pt(Pr),!0))})}function Co(Pr,$r,Lt,Kt,pn,fn){for(var kn=!0,Kn=zl(),Fa=0,ua=Kn;Fa$r&&(lt.add(e.createDiagnosticForNodeInSourceFile(Le.configFile,jt.elements[$r],Lt,Kt,pn,fn)),kn=!1)}}kn&<.add(e.createCompilerDiagnostic(Lt,Kt,pn,fn))}function Vs(Pr,$r,Lt,Kt){for(var pn=!0,fn=zl(),kn=0,Kn=fn;kn$r?lt.add(e.createDiagnosticForNodeInSourceFile(Pr||Le.configFile,fn.elements[$r],Lt,Kt,pn)):lt.add(e.createCompilerDiagnostic(Lt,Kt,pn))}function Ws(Pr,$r,Lt,Kt,pn,fn,kn){var Kn=xc(),Fa=!Kn||!Ic(Kn,Pr,$r,Lt,Kt,pn,fn,kn);Fa&<.add(e.createCompilerDiagnostic(Kt,pn,fn,kn))}function xc(){if(In===void 0){In=!1;var Pr=e.getTsConfigObjectLiteralExpression(Le.configFile);if(Pr)for(var $r=0,Lt=e.getPropertyAssignment(Pr,"compilerOptions");$r0)for(var m=I.getTypeChecker(),u=0,g=y.imports;u0)for(var X=0,j=y.referencedFiles;X1&&Me(ke)}return C;function Me(Ge){if(!!Ge.declarations)for(var he=0,ve=Ge.declarations;he0;){var X=ue.pop();if(!te.has(X)){var j=y.getSourceFileByPath(X);te.set(X,j),j&&k(I,y,j,C,m,u,g)&&ue.push.apply(ue,Z(I,j.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(te.values(),function(Se){return Se}))}}(e.BuilderState||(e.BuilderState={}))})(gr||(gr={}));var gr;(function(e){(function(m){m[m.DtsOnly=0]="DtsOnly",m[m.Full=1]="Full"})(e.BuilderFileEmit||(e.BuilderFileEmit={}));function n(m,u){return m===u||m!==void 0&&u!==void 0&&m.size===u.size&&!e.forEachKey(m,function(g){return!u.has(g)})}function f(m,u,g,F){var te=e.BuilderState.create(m,u,g,F);te.program=m;var ue=m.getCompilerOptions();te.compilerOptions=ue,e.outFile(ue)||(te.semanticDiagnosticsPerFile=new e.Map),te.changedFilesSet=new e.Set;var X=e.BuilderState.canReuseOldState(te.referencedMap,g),j=X?g.compilerOptions:void 0,Se=X&&g.semanticDiagnosticsPerFile&&!!te.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(ue,j);if(X){if(!g.currentChangedFilePath){var Ce=g.currentAffectedFilesSignatures;e.Debug.assert(!g.affectedFiles&&(!Ce||!Ce.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var O=g.changedFilesSet;Se&&e.Debug.assert(!O||!e.forEachKey(O,function(ge){return g.semanticDiagnosticsPerFile.has(ge)}),"Semantic diagnostics shouldnt be available for changed files"),O==null||O.forEach(function(ge){return te.changedFilesSet.add(ge)}),!e.outFile(ue)&&g.affectedFilesPendingEmit&&(te.affectedFilesPendingEmit=g.affectedFilesPendingEmit.slice(),te.affectedFilesPendingEmitKind=g.affectedFilesPendingEmitKind&&new e.Map(g.affectedFilesPendingEmitKind),te.affectedFilesPendingEmitIndex=g.affectedFilesPendingEmitIndex,te.seenAffectedFiles=new e.Set)}var Q=te.referencedMap,V=X?g.referencedMap:void 0,z=Se&&!ue.skipLibCheck==!j.skipLibCheck,Te=z&&!ue.skipDefaultLibCheck==!j.skipDefaultLibCheck;return te.fileInfos.forEach(function(ge,ke){var Me,Ie;if(!X||!(Me=g.fileInfos.get(ke))||Me.version!==ge.version||!n(Ie=Q&&Q.getValues(ke),V&&V.getValues(ke))||Ie&&e.forEachKey(Ie,function(ve){return!te.fileInfos.has(ve)&&g.fileInfos.has(ve)}))te.changedFilesSet.add(ke);else if(Se){var Ge=m.getSourceFileByPath(ke);if(Ge.isDeclarationFile&&!z||Ge.hasNoDefaultLib&&!Te)return;var he=g.semanticDiagnosticsPerFile.get(ke);he&&(te.semanticDiagnosticsPerFile.set(ke,g.hasReusableDiagnostic?d(he,m,u):he),te.semanticDiagnosticsFromOldState||(te.semanticDiagnosticsFromOldState=new e.Set),te.semanticDiagnosticsFromOldState.add(ke))}}),X&&e.forEachEntry(g.fileInfos,function(ge,ke){return ge.affectsGlobalScope&&!te.fileInfos.has(ke)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(te,m,void 0).forEach(function(ge){return te.changedFilesSet.add(ge.resolvedPath)}):j&&!e.outFile(ue)&&e.compilerOptionsAffectEmit(ue,j)&&(m.getSourceFiles().forEach(function(ge){return I(te,ge.resolvedPath,1)}),e.Debug.assert(!te.seenAffectedFiles||!te.seenAffectedFiles.size),te.seenAffectedFiles=te.seenAffectedFiles||new e.Set),X&&e.forEachEntry(g.fileInfos,function(ge,ke){te.fileInfos.has(ke)&&te.fileInfos.get(ke).impliedFormat!==ge.impliedFormat&&te.changedFilesSet.add(ke)}),te.buildInfoEmitPending=!!te.changedFilesSet.size,te}function d(m,u,g){if(!m.length)return e.emptyArray;var F=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(u.getCompilerOptions()),u.getCurrentDirectory()));return m.map(function(ue){var X=a(ue,u,te);X.reportsUnnecessary=ue.reportsUnnecessary,X.reportsDeprecated=ue.reportDeprecated,X.source=ue.source,X.skippedOn=ue.skippedOn;var j=ue.relatedInformation;return X.relatedInformation=j?j.length?j.map(function(Se){return a(Se,u,te)}):[]:void 0,X});function te(ue){return e.toPath(ue,F,g)}}function a(m,u,g){var F=m.file;return Rn(Rn({},m),{file:F?u.getSourceFileByPath(g(F)):void 0})}function p(m){e.BuilderState.releaseCache(m),m.program=void 0}function N(m){var u,g=e.BuilderState.clone(m);return g.semanticDiagnosticsPerFile=m.semanticDiagnosticsPerFile&&new e.Map(m.semanticDiagnosticsPerFile),g.changedFilesSet=new e.Set(m.changedFilesSet),g.affectedFiles=m.affectedFiles,g.affectedFilesIndex=m.affectedFilesIndex,g.currentChangedFilePath=m.currentChangedFilePath,g.currentAffectedFilesSignatures=m.currentAffectedFilesSignatures&&new e.Map(m.currentAffectedFilesSignatures),g.currentAffectedFilesExportedModulesMap=(u=m.currentAffectedFilesExportedModulesMap)===null||u===void 0?void 0:u.clone(),g.seenAffectedFiles=m.seenAffectedFiles&&new e.Set(m.seenAffectedFiles),g.cleanedDiagnosticsOfLibFiles=m.cleanedDiagnosticsOfLibFiles,g.semanticDiagnosticsFromOldState=m.semanticDiagnosticsFromOldState&&new e.Set(m.semanticDiagnosticsFromOldState),g.program=m.program,g.compilerOptions=m.compilerOptions,g.affectedFilesPendingEmit=m.affectedFilesPendingEmit&&m.affectedFilesPendingEmit.slice(),g.affectedFilesPendingEmitKind=m.affectedFilesPendingEmitKind&&new e.Map(m.affectedFilesPendingEmitKind),g.affectedFilesPendingEmitIndex=m.affectedFilesPendingEmitIndex,g.seenEmittedFiles=m.seenEmittedFiles&&new e.Map(m.seenEmittedFiles),g.programEmitComplete=m.programEmitComplete,g}function H(m,u){e.Debug.assert(!u||!m.affectedFiles||m.affectedFiles[m.affectedFilesIndex-1]!==u||!m.semanticDiagnosticsPerFile.has(u.resolvedPath))}function h(m,u,g){for(;;){var F=m.affectedFiles;if(F){for(var te=m.seenAffectedFiles,ue=m.affectedFilesIndex;ue0;){var j=X.pop();if(!ue.has(j)&&(ue.set(j,!0),g(m,j),b(m,j))){var Se=e.Debug.checkDefined(m.program).getSourceFileByPath(j);X.push.apply(X,e.BuilderState.getReferencedByPaths(m,Se.resolvedPath))}}}e.Debug.assert(!!m.currentAffectedFilesExportedModulesMap);var Ce=new e.Set;(F=m.currentAffectedFilesExportedModulesMap.getKeys(u.resolvedPath))===null||F===void 0||F.forEach(function(O){return S(m,O,Ce,g)}),(te=m.exportedModulesMap.getKeys(u.resolvedPath))===null||te===void 0||te.forEach(function(O){var Q;return!m.currentAffectedFilesExportedModulesMap.hasKey(O)&&!(!((Q=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Q===void 0)&&Q.has(O))&&S(m,O,Ce,g)})}}function S(m,u,g,F){var te;(te=m.referencedMap.getKeys(u))===null||te===void 0||te.forEach(function(ue){return B(m,ue,g,F)})}function B(m,u,g,F){var te,ue,X;!e.tryAddToSet(g,u)||(F(m,u),e.Debug.assert(!!m.currentAffectedFilesExportedModulesMap),(te=m.currentAffectedFilesExportedModulesMap.getKeys(u))===null||te===void 0||te.forEach(function(j){return B(m,j,g,F)}),(ue=m.exportedModulesMap.getKeys(u))===null||ue===void 0||ue.forEach(function(j){var Se;return!m.currentAffectedFilesExportedModulesMap.hasKey(j)&&!(!((Se=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Se===void 0)&&Se.has(j))&&B(m,j,g,F)}),(X=m.referencedMap.getKeys(u))===null||X===void 0||X.forEach(function(j){return!g.has(j)&&F(m,j)}))}function J(m,u,g,F,te){te?m.buildInfoEmitPending=!1:u===m.program?(m.changedFilesSet.clear(),m.programEmitComplete=!0):(m.seenAffectedFiles.add(u.resolvedPath),g!==void 0&&(m.seenEmittedFiles||(m.seenEmittedFiles=new e.Map)).set(u.resolvedPath,g),F?(m.affectedFilesPendingEmitIndex++,m.buildInfoEmitPending=!0):m.affectedFilesIndex++)}function k(m,u,g){return J(m,g),{result:u,affected:g}}function M(m,u,g,F,te,ue){return J(m,g,F,te,ue),{result:u,affected:g}}function x(m,u,g){return e.concatenate(w(m,u,g),e.Debug.checkDefined(m.program).getProgramDiagnostics(u))}function w(m,u,g){var F=u.resolvedPath;if(m.semanticDiagnosticsPerFile){var te=m.semanticDiagnosticsPerFile.get(F);if(te)return e.filterSemanticDiagnostics(te,m.compilerOptions)}var ue=e.Debug.checkDefined(m.program).getBindAndCheckDiagnostics(u,g);return m.semanticDiagnosticsPerFile&&m.semanticDiagnosticsPerFile.set(F,ue),e.filterSemanticDiagnostics(ue,m.compilerOptions)}function K(m,u){if(e.outFile(m.compilerOptions))return;var g=e.Debug.checkDefined(m.program).getCurrentDirectory(),F=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(m.compilerOptions),g)),te=[],ue=new e.Map,X,j,Se=e.arrayFrom(m.fileInfos.entries(),function(qe){var Xe=qe[0],De=qe[1],Ae=_e(Xe);e.Debug.assert(te[Ae-1]===Ve(Xe));var Ye=m.currentAffectedFilesSignatures&&m.currentAffectedFilesSignatures.get(Xe),Lr=Ye!=null?Ye:De.signature;return De.version===Lr?De.affectsGlobalScope?{version:De.version,signature:void 0,affectsGlobalScope:!0,impliedFormat:De.impliedFormat}:De.version:Lr!==void 0?Ye===void 0?De:{version:De.version,signature:Ye,affectsGlobalScope:De.affectsGlobalScope,impliedFormat:De.impliedFormat}:{version:De.version,signature:!1,affectsGlobalScope:De.affectsGlobalScope,impliedFormat:De.impliedFormat}}),Ce;m.referencedMap&&(Ce=e.arrayFrom(m.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(qe){return[_e(qe),Le(m.referencedMap.getValues(qe))]}));var O;m.exportedModulesMap&&(O=e.mapDefined(e.arrayFrom(m.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(qe){var Xe;if(m.currentAffectedFilesExportedModulesMap){if(!((Xe=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Xe===void 0)&&Xe.has(qe))return;var De=m.currentAffectedFilesExportedModulesMap.getValues(qe);if(De)return[_e(qe),Le(De)]}return[_e(qe),Le(m.exportedModulesMap.getValues(qe))]}));var Q;if(m.semanticDiagnosticsPerFile)for(var V=0,z=e.arrayFrom(m.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);V1||p.charCodeAt(0)!==47;if(v&&p.search(/[a-zA-Z]:/)!==0&&h.search(/[a-zA-z]\$\//)===0){if(H=p.indexOf(e.directorySeparator,H+1),H===-1)return!1;h=p.substring(N+h.length,H+1)}if(v&&h.search(/users\//i)!==0)return!0;for(var A=H+1,q=2;q>0;q--)if(A=p.indexOf(e.directorySeparator,A)+1,A===0)return!1;return!0}e.canWatchDirectory=f;function d(p,N,H){var h,v,A,q=e.createMultiMap(),ie=[],b=e.createMultiMap(),P=!1,S,B,J,k=e.memoize(function(){return p.getCurrentDirectory()}),M=p.getCachedDirectoryStructureHost(),x=new e.Map,w=e.createCacheWithRedirects(),K=e.createCacheWithRedirects(),Z=e.createModuleResolutionCache(k(),p.getCanonicalFileName,void 0,w,K),ne=new e.Map,R=e.createCacheWithRedirects(),Y=e.createTypeReferenceDirectiveResolutionCache(k(),p.getCanonicalFileName,void 0,Z.getPackageJsonInfoCache(),R),U=[".ts",".tsx",".js",".jsx",".json"],$=new e.Map,T=new e.Map,I=N&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(N,k())),y=I&&p.toPath(I),D=y!==void 0?y.split(e.directorySeparator).length:0,C=new e.Map;return{getModuleResolutionCache:function(){return Z},startRecordingFilesWithChangedResolutions:te,finishRecordingFilesWithChangedResolutions:ue,startCachingPerDirectoryResolution:Se,finishCachingPerDirectoryResolution:Ce,resolveModuleNames:Te,getResolvedModuleWithFailedLookupLocationsFromCache:ge,resolveTypeReferenceDirectives:z,removeResolutionsFromProjectReferenceRedirects:Ae,removeResolutionsOfFile:Ye,hasChangedAutomaticTypeDirectiveNames:function(){return P},invalidateResolutionOfFile:Er,invalidateResolutionsOfFailedLookupLocations:Or,setFilesWithInvalidatedNonRelativeUnresolvedImports:lr,createHasInvalidatedResolution:j,isFileWithInvalidatedNonRelativeUnresolvedImports:X,updateTypeRootsWatch:vr,closeTypeRootsWatch:Pe,clear:F};function m(Fe){return Fe.resolvedModule}function u(Fe){return Fe.resolvedTypeReferenceDirective}function g(Fe,$e){return Fe===void 0||$e.length<=Fe.length?!1:e.startsWith($e,Fe)&&$e[Fe.length]===e.directorySeparator}function F(){e.clearMap(T,e.closeFileWatcherOf),$.clear(),q.clear(),Pe(),x.clear(),ne.clear(),b.clear(),ie.length=0,S=void 0,B=void 0,J=void 0,Se(),P=!1}function te(){h=[]}function ue(){var Fe=h;return h=void 0,Fe}function X(Fe){if(!A)return!1;var $e=A.get(Fe);return!!$e&&!!$e.length}function j(Fe){if(Or(),Fe)return v=void 0,e.returnTrue;var $e=v;return v=void 0,function(Dr){return!!$e&&$e.has(Dr)||X(Dr)}}function Se(){Z.clear(),Y.clear(),q.forEach(Ve),q.clear()}function Ce(){A=void 0,Se(),T.forEach(function(Fe,$e){Fe.refCount===0&&(T.delete($e),Fe.watcher.close())}),P=!1}function O(Fe,$e,Dr,Fr,He){var pr,Jr=e.resolveModuleName(Fe,$e,Dr,Fr,Z,He);if(!p.getGlobalCache)return Jr;var ze=p.getGlobalCache();if(ze!==void 0&&!e.isExternalModuleNameRelative(Fe)&&!(Jr.resolvedModule&&e.extensionIsTS(Jr.resolvedModule.extension))){var Ar=e.loadModuleFromGlobalCache(e.Debug.checkDefined(p.globalCacheResolutionModuleName)(Fe),p.projectName,Dr,Fr,ze,Z),Yr=Ar.resolvedModule,lt=Ar.failedLookupLocations;if(Yr)return Jr.resolvedModule=Yr,(pr=Jr.failedLookupLocations).push.apply(pr,lt),Jr}return Jr}function Q(Fe,$e,Dr,Fr,He){return e.resolveTypeReferenceDirective(Fe,$e,Dr,Fr,He,Y)}function V(Fe){var $e,Dr,Fr,He=Fe.names,pr=Fe.containingFile,Jr=Fe.redirectedReference,ze=Fe.cache,Ar=Fe.perDirectoryCacheWithRedirects,Yr=Fe.loader,lt=Fe.getResolutionWithResolvedFileName,tt=Fe.shouldRetryResolution,Rt=Fe.reusedNames,cn=Fe.logChanges,bn=Fe.containingSourceFile,In=p.toPath(pr),zn=ze.get(In)||ze.set(In,e.createModeAwareCache()).get(In),ir=e.getDirectoryPath(In),Rr=Ar.getOrCreateMapOfCacheRedirects(Jr),sr=Rr.get(ir);sr||(sr=e.createModeAwareCache(),Rr.set(ir,sr));for(var ye=[],or=p.getCompilationSettings(),fe=cn&&X(In),je=p.getCurrentProgram(),Ee=je&&je.getResolvedProjectReferenceToRedirect(pr),We=Ee?!Jr||Jr.sourceFile.path!==Ee.sourceFile.path:!!Jr,ee=e.createModeAwareCache(),Ne=0,me=0,Ze=He;meD+1?{dir:Fr.slice(0,D+1).join(e.directorySeparator),dirPath:Dr.slice(0,D+1).join(e.directorySeparator)}:{dir:I,dirPath:y,nonRecursive:!1}}return Ie(e.getDirectoryPath(e.getNormalizedAbsolutePath(Fe,k())),e.getDirectoryPath($e))}function Ie(Fe,$e){for(;e.pathContainsNodeModules($e);)Fe=e.getDirectoryPath(Fe),$e=e.getDirectoryPath($e);if(e.isNodeModulesDirectory($e))return f(e.getDirectoryPath($e))?{dir:Fe,dirPath:$e}:void 0;var Dr=!0,Fr,He;if(y!==void 0)for(;!g($e,y);){var pr=e.getDirectoryPath($e);if(pr===$e)break;Dr=!1,Fr=$e,He=Fe,$e=pr,Fe=e.getDirectoryPath(Fe)}return f($e)?{dir:He||Fe,dirPath:Fr||$e,nonRecursive:Dr}:void 0}function Ge(Fe){return e.fileExtensionIsOneOf(Fe,U)}function he(Fe,$e,Dr,Fr){if($e.refCount)$e.refCount++,e.Debug.assertDefined($e.files);else{$e.refCount=1,e.Debug.assert(e.length($e.files)===0),e.isExternalModuleNameRelative(Fe)?ve($e):q.add(Fe,$e);var He=Fr($e);He&&He.resolvedFileName&&b.add(p.toPath(He.resolvedFileName),$e)}($e.files||($e.files=[])).push(Dr)}function ve(Fe){e.Debug.assert(!!Fe.refCount);var $e=Fe.failedLookupLocations;if(!!$e.length){ie.push(Fe);for(var Dr=!1,Fr=0,He=$e;Fr1),$.set(Yr,Rt-1))),tt===y?pr=!0:qe(tt)}}pr&&qe(y)}}}function qe(Fe){var $e=T.get(Fe);$e.refCount--}function Xe(Fe,$e,Dr){return p.watchDirectoryOfFailedLookupLocation(Fe,function(Fr){var He=p.toPath(Fr);M&&M.addOrDeleteFileOrDirectory(Fr,He),Cr(He,$e===He)},Dr?0:1)}function De(Fe,$e,Dr){var Fr=Fe.get($e);Fr&&(Fr.forEach(function(He){return Le(He,$e,Dr)}),Fe.delete($e))}function Ae(Fe){if(!!e.fileExtensionIs(Fe,".json")){var $e=p.getCurrentProgram();if(!!$e){var Dr=$e.getResolvedProjectReferenceByPath(Fe);!Dr||Dr.commandLine.fileNames.forEach(function(Fr){return Ye(p.toPath(Fr))})}}}function Ye(Fe){De(x,Fe,m),De(ne,Fe,u)}function Lr(Fe,$e){if(!Fe)return!1;for(var Dr=!1,Fr=0,He=Fe;Fr1&&Ge.sort(w),Q.push.apply(Q,Ge));var he=e.getDirectoryPath(Me);if(he===Me)return z=Me,"break";Me=he,z=Me},z,Te=e.getDirectoryPath(X);O.size!==0;){var ge=V(Te);if(Te=z,ge==="break")break}if(O.size){var ke=e.arrayFrom(O.values());ke.length>1&&ke.sort(w),Q.push.apply(Q,ke)}return Q}function Y(X,j){var Se,Ce=(Se=X.declarations)===null||Se===void 0?void 0:Se.find(function(V){return e.isNonGlobalAmbientModule(V)&&(!e.isExternalModuleAugmentation(V)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(V.name)))});if(Ce)return Ce.name.text;var O=e.mapDefined(X.declarations,function(V){var z,Te,ge,ke;if(!e.isModuleDeclaration(V))return;var Me=ve(V);if(!(((z=Me==null?void 0:Me.parent)===null||z===void 0?void 0:z.parent)&&e.isModuleBlock(Me.parent)&&e.isAmbientModule(Me.parent.parent)&&e.isSourceFile(Me.parent.parent.parent)))return;var Ie=(ke=(ge=(Te=Me.parent.parent.symbol.exports)===null||Te===void 0?void 0:Te.get("export="))===null||ge===void 0?void 0:ge.valueDeclaration)===null||ke===void 0?void 0:ke.expression;if(!Ie)return;var Ge=j.getSymbolAtLocation(Ie);if(!Ge)return;var he=(Ge==null?void 0:Ge.flags)&2097152?j.getAliasedSymbol(Ge):Ge;if(he===V.symbol)return Me.parent.parent;function ve(Ve){for(;Ve.flags&4;)Ve=Ve.parent;return Ve}}),Q=O[0];if(Q)return Q.name.text}function U(X,j,Se){for(var Ce in Se)for(var O=0,Q=Se[Ce];O=ge.length+ke.length&&e.startsWith(j,ge)&&e.endsWith(j,ke)||!ke&&j===e.removeTrailingDirectorySeparator(ge)){var Me=j.substr(ge.length,j.length-ke.length-ge.length);return Ce.replace("*",Me)}}else if(z===j||z===X)return Ce}}var $;(function(X){X[X.Exact=0]="Exact",X[X.Directory=1]="Directory",X[X.Pattern=2]="Pattern"})($||($={}));function T(X,j,Se,Ce,O,Q,V){if(V===void 0&&(V=0),typeof O=="string"){var z=e.getNormalizedAbsolutePath(e.combinePaths(Se,O),void 0),Te=e.hasTSFileExtension(j)?e.removeFileExtension(j)+F(j,X):void 0;switch(V){case 0:if(e.comparePaths(j,z)===0||Te&&e.comparePaths(Te,z)===0)return{moduleFileToTry:Ce};break;case 1:if(e.containsPath(z,j)){var ge=e.getRelativePathFromDirectory(z,j,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(Ce,O),ge),void 0)}}break;case 2:var ke=z.indexOf("*"),Me=z.slice(0,ke),Ie=z.slice(ke+1);if(e.startsWith(j,Me)&&e.endsWith(j,Ie)){var Ge=j.slice(Me.length,j.length-Ie.length);return{moduleFileToTry:Ce.replace("*",Ge)}}if(Te&&e.startsWith(Te,Me)&&e.endsWith(Te,Ie)){var Ge=Te.slice(Me.length,Te.length-Ie.length);return{moduleFileToTry:Ce.replace("*",Ge)}}break}}else{if(Array.isArray(O))return e.forEach(O,function(qe){return T(X,j,Se,Ce,qe,Q)});if(typeof O=="object"&&O!==null){if(e.allKeysStartWithDot(O))return e.forEach(e.getOwnKeys(O),function(qe){var Xe=e.getNormalizedAbsolutePath(e.combinePaths(Ce,qe),void 0),De=e.endsWith(qe,"/")?1:e.stringContains(qe,"*")?2:0;return T(X,j,Se,Xe,O[qe],Q,De)});for(var he=0,ve=e.getOwnKeys(O);he=0||e.isApplicableVersionedTypesKey(Q,Ve)){var _e=O[Ve],Le=T(X,j,Se,Ce,_e,Q);if(Le)return Le}}}}}function I(X,j,Se,Ce,O,Q){var V=m(j,X,Ce);if(V!==void 0){var z=m(Se,X,Ce),Te=z!==void 0?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(z,V,Ce)):V;return e.getEmitModuleResolutionKind(Q)===e.ModuleResolutionKind.NodeJs?u(Te,O,Q):e.removeFileExtension(Te)}}function y(X,j,Se,Ce,O){var Q=X.path,V=X.isRedirect,z=j.getCanonicalFileName,Te=j.sourceDirectory;if(!Se.fileExists||!Se.readFile)return;var ge=C(Q);if(!ge)return;var ke=Q,Me=!1;if(!O)for(var Ie=ge.packageRootIndex,Ge=void 0;;){var he=Ye(Ie),ve=he.moduleFileToTry,Ve=he.packageRootPath,_e=he.blockedByExports,Le=he.verbatimFromExports;if(e.getEmitModuleResolutionKind(Ce)!==e.ModuleResolutionKind.Classic){if(_e)return;if(Le)return ve}if(Ve){ke=Ve,Me=!0;break}if(Ge||(Ge=ve),Ie=Q.indexOf(e.directorySeparator,Ie+1),Ie===-1){ke=Lr(Ge);break}}if(V&&!Me)return;var qe=Se.getGlobalTypingsCacheLocation&&Se.getGlobalTypingsCacheLocation(),Xe=z(ke.substring(0,ge.topLevelNodeModulesIndex));if(!(e.startsWith(Te,Xe)||qe&&e.startsWith(z(qe),Xe)))return;var De=ke.substring(ge.topLevelPackageNameIndex+1),Ae=e.getPackageNameFromTypesPackageName(De);return e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.Classic&&Ae===De?void 0:Ae;function Ye(Er){var lr=Q.substring(0,Er),Cr=e.combinePaths(lr,"package.json"),Or=Q;if(Se.fileExists(Cr)){var Ke=JSON.parse(Se.readFile(Cr));if(e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.NodeNext){var Pe=Ke.exports&&typeof Ke.name=="string"?T(Ce,Q,lr,Ke.name,Ke.exports,["node","types"]):void 0;if(Pe){var Hr=e.hasTSFileExtension(Pe.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(Pe.moduleFileToTry)+F(Pe.moduleFileToTry,Ce)}:Pe;return Rn(Rn({},Hr),{verbatimFromExports:!0})}if(Ke.exports)return{moduleFileToTry:Q,blockedByExports:!0}}var ur=Ke.typesVersions?e.getPackageJsonTypesVersionsPaths(Ke.typesVersions):void 0;if(ur){var vr=Q.slice(lr.length+1),de=U(e.removeFileExtension(vr),u(vr,0,Ce),ur.paths);de!==void 0&&(Or=e.combinePaths(lr,de))}var Fe=Ke.typings||Ke.types||Ke.main;if(e.isString(Fe)){var $e=e.toPath(Fe,lr,z);if(e.removeFileExtension($e)===e.removeFileExtension(z(Or)))return{packageRootPath:lr,moduleFileToTry:Or}}}return{moduleFileToTry:Or}}function Lr(Er){var lr=e.removeFileExtension(Er);return z(lr.substring(ge.fileNameIndex))==="/index"&&!D(Se,lr.substring(0,ge.fileNameIndex))?lr.substring(0,ge.fileNameIndex):lr}}function D(X,j){if(!!X.fileExists)for(var Se=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}])),Ce=0,O=Se;Ce=0;)switch(V=z,z=X.indexOf("/",V+1),Te){case 0:X.indexOf(e.nodeModulesPathPart,V)===V&&(j=V,Se=z,Te=1);break;case 1:case 2:Te===1&&X.charAt(V+1)==="@"?Te=2:(Ce=z,Te=3);break;case 3:X.indexOf(e.nodeModulesPathPart,V)===V?Te=1:Te=3;break}return O=V,Te>1?{topLevelNodeModulesIndex:j,topLevelPackageNameIndex:Se,packageRootIndex:Ce,fileNameIndex:O}:void 0}function m(X,j,Se){return e.firstDefined(j,function(Ce){var O=te(X,Ce,Se);return ue(O)?void 0:O})}function u(X,j,Se){if(e.fileExtensionIsOneOf(X,[".json",".mjs",".cjs"]))return X;var Ce=e.removeFileExtension(X);if(e.fileExtensionIsOneOf(X,[".d.mts",".mts",".d.cts",".cts"]))return Ce+g(X,Se);switch(j){case 0:return e.removeSuffix(Ce,"/index");case 1:return Ce;case 2:return Ce+g(X,Se);default:return e.Debug.assertNever(j)}}function g(X,j){var Se;return(Se=F(X,j))!==null&&Se!==void 0?Se:e.Debug.fail("Extension ".concat(e.extensionFromPath(X)," is unsupported:: FileName:: ").concat(X))}function F(X,j){var Se=e.tryGetExtensionFromPath(X);switch(Se){case".ts":case".d.ts":return".js";case".tsx":return j.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return Se;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}n.tryGetJSExtensionForFile=F;function te(X,j,Se){var Ce=e.getRelativePathToDirectoryOrUrl(j,X,j,Se,!1);return e.isRootedDiskPath(Ce)?void 0:Ce}function ue(X){return e.startsWith(X,"..")}})(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 f(y,D){var C=y===e.sys&&n?n:{getCurrentDirectory:function(){return y.getCurrentDirectory()},getNewLine:function(){return y.newLine},getCanonicalFileName:e.createGetCanonicalFileName(y.useCaseSensitiveFileNames)};if(!D)return function(u){return y.write(e.formatDiagnostic(u,C))};var m=new Array(1);return function(u){m[0]=u,y.write(e.formatDiagnosticsWithColorAndContext(m,C)+C.getNewLine()),m[0]=void 0}}e.createDiagnosticReporter=f;function d(y,D,C){return y.clearScreen&&!C.preserveWatchOutput&&!C.extendedDiagnostics&&!C.diagnostics&&e.contains(e.screenStartingMessageCodes,D.code)?(y.clearScreen(),!0):!1}e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function a(y,D){return e.contains(e.screenStartingMessageCodes,y.code)?D+D:D}function p(y){return y.now?y.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):new Date().toLocaleTimeString()}e.getLocaleTimeString=p;function N(y,D){return D?function(C,m,u){d(y,C,u);var g="[".concat(e.formatColorAndReset(p(y),e.ForegroundColorEscapeSequences.Grey),"] ");g+="".concat(e.flattenDiagnosticMessageText(C.messageText,y.newLine)).concat(m+m),y.write(g)}:function(C,m,u){var g="";d(y,C,u)||(g+=m),g+="".concat(p(y)," - "),g+="".concat(e.flattenDiagnosticMessageText(C.messageText,y.newLine)).concat(a(C,m)),y.write(g)}}e.createWatchStatusReporter=N;function H(y,D,C,m,u,g){var F=u;F.onUnRecoverableConfigFileDiagnostic=function(ue){return U(u,g,ue)};var te=e.getParsedCommandLineOfConfigFile(y,D,F,C,m);return F.onUnRecoverableConfigFileDiagnostic=void 0,te}e.parseConfigFileWithSystem=H;function h(y){return e.countWhere(y,function(D){return D.category===e.DiagnosticCategory.Error})}e.getErrorCountForSummary=h;function v(y){return y===1?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}e.getWatchErrorSummaryDiagnosticMessage=v;function A(y,D){if(y===0)return"";var C=e.createCompilerDiagnostic(y===1?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,y);return"".concat(D).concat(e.flattenDiagnosticMessageText(C.messageText,D)).concat(D).concat(D)}e.getErrorSummaryText=A;function q(y){return!!y.getState}e.isBuilderProgram=q;function ie(y,D){var C=y.getCompilerOptions();C.explainFiles?b(q(y)?y.getProgram():y,D):(C.listFiles||C.listFilesOnly)&&e.forEach(y.getSourceFiles(),function(m){D(m.fileName)})}e.listFiles=ie;function b(y,D){for(var C,m,u=y.getFileIncludeReasons(),g=e.createGetCanonicalFileName(y.useCaseSensitiveFileNames()),F=function(j){return e.convertToRelativePath(j,y.getCurrentDirectory(),g)},te=0,ue=y.getSourceFiles();te0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:j.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=x,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function w(y,D){y===void 0&&(y=e.sys);var C=D||N(y);return{onWatchStatusChange:C,watchFile:e.maybeBind(y,y.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(y,y.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(y,y.setTimeout)||e.noop,clearTimeout:e.maybeBind(y,y.clearTimeout)||e.noop}}e.createWatchHost=w,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 K(y,D){var C=y.trace?D.extendedDiagnostics?e.WatchLogLevel.Verbose:D.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,m=C!==e.WatchLogLevel.None?function(g){return y.trace(g)}:e.noop,u=e.getWatchFactory(y,C,m);return u.writeLog=m,u}e.createWatchFactory=K;function Z(y,D,C){C===void 0&&(C=y);var m=y.useCaseSensitiveFileNames(),u=e.memoize(function(){return y.getNewLine()});return{getSourceFile:function(F,te,ue){var X;try{e.performance.mark("beforeIORead"),X=y.readFile(F,D().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(j){ue&&ue(j.message),X=""}return X!==void 0?e.createSourceFile(F,X,te):void 0},getDefaultLibLocation:e.maybeBind(y,y.getDefaultLibLocation),getDefaultLibFileName:function(F){return y.getDefaultLibFileName(F)},writeFile:g,getCurrentDirectory:e.memoize(function(){return y.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return m},getCanonicalFileName:e.createGetCanonicalFileName(m),getNewLine:function(){return e.getNewLineCharacter(D(),u)},fileExists:function(F){return y.fileExists(F)},readFile:function(F){return y.readFile(F)},trace:e.maybeBind(y,y.trace),directoryExists:e.maybeBind(C,C.directoryExists),getDirectories:e.maybeBind(C,C.getDirectories),realpath:e.maybeBind(y,y.realpath),getEnvironmentVariable:e.maybeBind(y,y.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(y,y.createHash),readDirectory:e.maybeBind(y,y.readDirectory),disableUseFileVersionAsSignature:y.disableUseFileVersionAsSignature};function g(F,te,ue,X){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(F,te,ue,function(j,Se,Ce){return y.writeFile(j,Se,Ce)},function(j){return y.createDirectory(j)},function(j){return y.directoryExists(j)}),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(j){X&&X(j.message)}}}e.createCompilerHostFromProgramHost=Z;function ne(y,D){var C=y.getSourceFile,m=e.maybeBind(D,D.createHash)||e.generateDjb2Hash;y.getSourceFile=function(){for(var u=[],g=0;gde?Fe:de}function H(de){return e.fileExtensionIs(de,".d.ts")}function h(de){return!!de&&!!de.buildOrder}e.isCircularBuildOrder=h;function v(de){return h(de)?de.buildOrder:de}e.getBuildOrderFromAnyBuildOrder=v;function A(de,Fe){return function($e){var Dr=Fe?"[".concat(e.formatColorAndReset(e.getLocaleTimeString(de),e.ForegroundColorEscapeSequences.Grey),"] "):"".concat(e.getLocaleTimeString(de)," - ");Dr+="".concat(e.flattenDiagnosticMessageText($e.messageText,de.newLine)).concat(de.newLine+de.newLine),de.write(Dr)}}e.createBuilderStatusReporter=A;function q(de,Fe,$e,Dr){var Fr=e.createProgramHost(de,Fe);return Fr.getModifiedTime=de.getModifiedTime?function(He){return de.getModifiedTime(He)}:e.returnUndefined,Fr.setModifiedTime=de.setModifiedTime?function(He,pr){return de.setModifiedTime(He,pr)}:e.noop,Fr.deleteFile=de.deleteFile?function(He){return de.deleteFile(He)}:e.noop,Fr.reportDiagnostic=$e||e.createDiagnosticReporter(de),Fr.reportSolutionBuilderStatus=Dr||A(de),Fr.now=e.maybeBind(de,de.now),Fr}function ie(de,Fe,$e,Dr,Fr){de===void 0&&(de=e.sys);var He=q(de,Fe,$e,Dr);return He.reportErrorSummary=Fr,He}e.createSolutionBuilderHost=ie;function b(de,Fe,$e,Dr,Fr){de===void 0&&(de=e.sys);var He=q(de,Fe,$e,Dr),pr=e.createWatchHost(de,Fr);return e.copyProperties(He,pr),He}e.createSolutionBuilderWithWatchHost=b;function P(de){var Fe={};return e.commonOptionsWithBuild.forEach(function($e){e.hasProperty(de,$e.name)&&(Fe[$e.name]=de[$e.name])}),Fe}function S(de,Fe,$e){return Ye(!1,de,Fe,$e)}e.createSolutionBuilder=S;function B(de,Fe,$e,Dr){return Ye(!0,de,Fe,$e,Dr)}e.createSolutionBuilderWithWatch=B;function J(de,Fe,$e,Dr,Fr){var He=Fe,pr=Fe,Jr=He.getCurrentDirectory(),ze=e.createGetCanonicalFileName(He.useCaseSensitiveFileNames()),Ar=P(Dr),Yr=e.createCompilerHostFromProgramHost(He,function(){return Rr.projectCompilerOptions});e.setGetSourceFileAsHashVersioned(Yr,He),Yr.getParsedCommandLine=function(sr){return K(Rr,sr,M(Rr,sr))},Yr.resolveModuleNames=e.maybeBind(He,He.resolveModuleNames),Yr.resolveTypeReferenceDirectives=e.maybeBind(He,He.resolveTypeReferenceDirectives);var lt=Yr.resolveModuleNames?void 0:e.createModuleResolutionCache(Jr,ze),tt=Yr.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(Jr,ze,void 0,lt==null?void 0:lt.getPackageJsonInfoCache());if(!Yr.resolveModuleNames){var Rt=function(sr,ye,or,fe){return e.resolveModuleName(sr,or,Rr.projectCompilerOptions,Yr,lt,fe,ye).resolvedModule};Yr.resolveModuleNames=function(sr,ye,or,fe,je,Ee){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(sr),e.Debug.checkDefined(Ee),ye,fe,Rt)},Yr.getModuleResolutionCache=function(){return lt}}if(!Yr.resolveTypeReferenceDirectives){var cn=function(sr,ye,or){return e.resolveTypeReferenceDirective(sr,ye,Rr.projectCompilerOptions,Yr,or,Rr.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};Yr.resolveTypeReferenceDirectives=function(sr,ye,or){return e.loadWithLocalCache(e.Debug.checkEachDefined(sr),ye,or,cn)}}var bn=e.createWatchFactory(pr,Dr),In=bn.watchFile,zn=bn.watchDirectory,ir=bn.writeLog,Rr={host:He,hostWithWatch:pr,currentDirectory:Jr,getCanonicalFileName:ze,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(He),write:e.maybeBind(He,He.trace),options:Dr,baseCompilerOptions:Ar,rootNames:$e,baseWatchOptions:Fr,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:Yr,moduleResolutionCache:lt,typeReferenceDirectiveResolutionCache:tt,buildOrder:void 0,readFileWithCache:function(sr){return He.readFile(sr)},projectCompilerOptions:Ar,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:de,currentInvalidatedProject:void 0,watch:de,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:In,watchDirectory:zn,writeLog:ir};return Rr}function k(de,Fe){return e.toPath(Fe,de.currentDirectory,de.getCanonicalFileName)}function M(de,Fe){var $e=de.resolvedConfigFilePaths,Dr=$e.get(Fe);if(Dr!==void 0)return Dr;var Fr=k(de,Fe);return $e.set(Fe,Fr),Fr}function x(de){return!!de.options}function w(de,Fe){var $e=de.configFileCache.get(Fe);return $e&&x($e)?$e:void 0}function K(de,Fe,$e){var Dr=de.configFileCache,Fr=Dr.get($e);if(Fr)return x(Fr)?Fr:void 0;var He,pr=de.parseConfigFileHost,Jr=de.baseCompilerOptions,ze=de.baseWatchOptions,Ar=de.extendedConfigCache,Yr=de.host,lt;return Yr.getParsedCommandLine?(lt=Yr.getParsedCommandLine(Fe),lt||(He=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,Fe))):(pr.onUnRecoverableConfigFileDiagnostic=function(tt){return He=tt},lt=e.getParsedCommandLineOfConfigFile(Fe,Jr,pr,Ar,ze),pr.onUnRecoverableConfigFileDiagnostic=e.noop),Dr.set($e,lt||He),lt}function Z(de,Fe){return e.resolveConfigFileProjectName(e.resolvePath(de.currentDirectory,Fe))}function ne(de,Fe){for(var $e=new e.Map,Dr=new e.Map,Fr=[],He,pr,Jr=0,ze=Fe;Jree)}}}function te(de,Fe,$e){var Dr=de.options;return Fe.type!==e.UpToDateStatusType.OutOfDateWithPrepend||Dr.force?!0:$e.fileNames.length===0||!!e.getConfigFileParsingDiagnostics($e).length||!e.isIncrementalCompilation($e.options)}function ue(de,Fe,$e){if(!!de.projectPendingBuild.size&&!h(Fe)){if(de.currentInvalidatedProject)return e.arrayIsEqualTo(de.currentInvalidatedProject.buildOrder,Fe)?de.currentInvalidatedProject:void 0;for(var Dr=de.options,Fr=de.projectPendingBuild,He=0;HeHe&&(Fr=Ar,He=Yr)}}if(!Fe.fileNames.length&&!e.canJsonReportNoInputFiles(Fe.raw))return{type:e.UpToDateStatusType.ContainerOnly};var lt=e.getAllProjectOutputs(Fe,!pr.useCaseSensitiveFileNames()),tt="(none)",Rt=f,cn="(none)",bn=n,In,zn=n,ir=!1;if(!Dr)for(var Rr=0,sr=lt;Rrbn&&(bn=or,cn=ye),H(ye)){var fe=e.getModifiedTime(pr,ye);zn=N(zn,fe)}}var je=!1,Ee=!1,We;if(Fe.projectReferences){de.projectStatus.set($e,{type:e.UpToDateStatusType.ComputingUpstream});for(var ee=0,Ne=Fe.projectReferences;ee=0}n.hasArgument=f;function d(p){var N=e.sys.args.indexOf(p);return N>=0&&Nh)return 2;if(b.charCodeAt(0)===46)return 3;if(b.charCodeAt(0)===95)return 4;if(P){var S=/^@([^/]+)\/([^/]+)$/.exec(b);if(S){var B=A(S[1],!1);if(B!==0)return{name:S[1],isScopeName:!0,result:B};var J=A(S[2],!1);return J!==0?{name:S[2],isScopeName:!1,result:J}:0}}return encodeURIComponent(b)!==b?5:0}function q(b,P){return typeof b=="object"?ie(P,b.result,b.name,b.isScopeName):ie(P,b,P,!1)}n.renderPackageNameValidationFailure=q;function ie(b,P,S,B){var J=B?"Scope":"Package";switch(P){case 1:return"'".concat(b,"':: ").concat(J," name '").concat(S,"' cannot be empty");case 2:return"'".concat(b,"':: ").concat(J," name '").concat(S,"' should be less than ").concat(h," characters");case 3:return"'".concat(b,"':: ").concat(J," name '").concat(S,"' cannot start with '.'");case 4:return"'".concat(b,"':: ").concat(J," name '").concat(S,"' cannot start with '_'");case 5:return"'".concat(b,"':: ").concat(J," name '").concat(S,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(P)}}})(e.JsTyping||(e.JsTyping={}))})(gr||(gr={}));var gr;(function(e){(function(a){var p=function(){function H(h){this.text=h}return H.prototype.getText=function(h,v){return h===0&&v===this.text.length?this.text:this.text.substring(h,v)},H.prototype.getLength=function(){return this.text.length},H.prototype.getChangeRange=function(){},H}();function N(H){return new p(H)}a.fromString=N})(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 f;(function(a){a.Ignore="ignore",a.Insert="insert",a.Remove="remove"})(f=e.SemicolonPreference||(e.SemicolonPreference={}));function d(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:f.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=d,e.testFormatSettings=d(` `),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(le){le[le.None=0]="None",le[le.Value=1]="Value",le[le.Type=2]="Type",le[le.Namespace=4]="Namespace",le[le.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={}));function n(le){switch(le.kind){case 253:return e.isInJSFile(le)&&e.getJSDocEnumTag(le)?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 le.name===void 0?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(le)||e.getModuleInstanceState(le)===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 f(le){le=Cr(le);var rr=le.parent;if(le.kind===303)return 1;if(e.isExportAssignment(rr)||e.isExportSpecifier(rr)||e.isExternalModuleReference(rr)||e.isImportSpecifier(rr)||e.isImportClause(rr)||e.isImportEqualsDeclaration(rr)&&le===rr.name){for(var br=rr;br;){if(e.isImportEqualsDeclaration(br)||e.isImportClause(br)||e.isExportDeclaration(br))return br.isTypeOnly?2:7;br=br.parent}return 7}else return a(le)?d(le):e.isDeclarationName(le)?n(rr):e.isEntityName(le)&&e.findAncestor(le,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:h(le)?2:p(le)?4:e.isTypeParameterDeclaration(rr)?(e.Debug.assert(e.isJSDocTemplateTag(rr.parent)),2):e.isLiteralTypeNode(rr)?3:1}e.getMeaningFromLocation=f;function d(le){var rr=le.kind===160?le:e.isQualifiedName(le.parent)&&le.parent.right===le?le.parent:void 0;return rr&&rr.parent.kind===264?7:4}function a(le){for(;le.parent.kind===160;)le=le.parent;return e.isInternalModuleImportEqualsDeclaration(le.parent)&&le.parent.moduleReference===le}e.isInRightSideOfInternalImportEqualsDeclaration=a;function p(le){return N(le)||H(le)}function N(le){var rr=le,br=!0;if(rr.parent.kind===160){for(;rr.parent&&rr.parent.kind===160;)rr=rr.parent;br=rr.right===le}return rr.parent.kind===177&&!br}function H(le){var rr=le,br=!0;if(rr.parent.kind===205){for(;rr.parent&&rr.parent.kind===205;)rr=rr.parent;br=rr.name===le}if(!br&&rr.parent.kind===227&&rr.parent.parent.kind===290){var ct=rr.parent.parent.parent;return ct.kind===256&&rr.parent.parent.token===117||ct.kind===257&&rr.parent.parent.token===94}return!1}function h(le){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(le)&&(le=le.parent),le.kind){case 108:return!e.isExpressionNode(le);case 191:return!0}switch(le.parent.kind){case 177:return!0;case 199:return!le.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(le.parent)}return!1}function v(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isCallExpression,S,rr,br)}e.isCallExpressionTarget=v;function A(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isNewExpression,S,rr,br)}e.isNewExpressionTarget=A;function q(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isCallOrNewExpression,S,rr,br)}e.isCallOrNewExpressionTarget=q;function ie(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isTaggedTemplateExpression,B,rr,br)}e.isTaggedTemplateTag=ie;function b(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isDecorator,S,rr,br)}e.isDecoratorTarget=b;function P(le,rr,br){return rr===void 0&&(rr=!1),br===void 0&&(br=!1),k(le,e.isJsxOpeningLikeElement,J,rr,br)}e.isJsxOpeningLikeElementTagName=P;function S(le){return le.expression}function B(le){return le.tag}function J(le){return le.tagName}function k(le,rr,br,ct,jt){var yn=ct?x(le):M(le);return jt&&(yn=e.skipOuterExpressions(yn)),!!yn&&!!yn.parent&&rr(yn.parent)&&br(yn.parent)===yn}function M(le){return $(le)?le.parent:le}e.climbPastPropertyAccess=M;function x(le){return $(le)||T(le)?le.parent:le}e.climbPastPropertyOrElementAccess=x;function w(le,rr){for(;le;){if(le.kind===249&&le.label.escapedText===rr)return le.label;le=le.parent}}e.getTargetLabel=w;function K(le,rr){return e.isPropertyAccessExpression(le.expression)?le.expression.name.text===rr:!1}e.hasPropertyAccessExpressionWithName=K;function Z(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isBreakOrContinueStatement))===null||rr===void 0?void 0:rr.label)===le}e.isJumpStatementTarget=Z;function ne(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isLabeledStatement))===null||rr===void 0?void 0:rr.label)===le}e.isLabelOfLabeledStatement=ne;function R(le){return ne(le)||Z(le)}e.isLabelName=R;function Y(le){var rr;return((rr=e.tryCast(le.parent,e.isJSDocTag))===null||rr===void 0?void 0:rr.tagName)===le}e.isTagName=Y;function U(le){var rr;return((rr=e.tryCast(le.parent,e.isQualifiedName))===null||rr===void 0?void 0:rr.right)===le}e.isRightSideOfQualifiedName=U;function $(le){var rr;return((rr=e.tryCast(le.parent,e.isPropertyAccessExpression))===null||rr===void 0?void 0:rr.name)===le}e.isRightSideOfPropertyAccess=$;function T(le){var rr;return((rr=e.tryCast(le.parent,e.isElementAccessExpression))===null||rr===void 0?void 0:rr.argumentExpression)===le}e.isArgumentExpressionOfElementAccess=T;function I(le){var rr;return((rr=e.tryCast(le.parent,e.isModuleDeclaration))===null||rr===void 0?void 0:rr.name)===le}e.isNameOfModuleDeclaration=I;function y(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isFunctionLike))===null||rr===void 0?void 0:rr.name)===le}e.isNameOfFunctionDeclaration=y;function D(le){switch(le.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(le.parent)===le;case 206:return le.parent.argumentExpression===le;case 161:return!0;case 195:return le.parent.parent.kind===193;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=D;function C(le){return e.isExternalModuleImportEqualsDeclaration(le.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(le.parent.parent)===le}e.isExpressionOfExternalModuleImportEqualsDeclaration=C;function m(le){for(e.isJSDocTypeAlias(le)&&(le=le.parent.parent);;){if(le=le.parent,!le)return;switch(le.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return le}}}e.getContainerNode=m;function u(le){switch(le.kind){case 303:return e.isExternalModule(le)?"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(le);case 202:return ha(e.getRootDeclaration(le));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 rr=le.initializer;return e.isFunctionLike(rr)?"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(le,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var br=e.getAssignmentDeclarationKind(le),ct=le.right;switch(br){case 7:case 8:case 9:case 0:return"";case 1:case 2:var jt=u(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(br),""}case 79:return e.isImportClause(le.parent)?"alias":"";case 270:var yn=u(le.expression);return yn===""?"const":yn;default:return""}function ha(ri){return e.isVarConst(ri)?"const":e.isLet(ri)?"let":"var"}}e.getNodeKind=u;function g(le){switch(le.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(le)&&le.parent.kind===163;default:return!1}}e.isThis=g;var F=/^\/\/\/\s*=br.end}e.startEndContainsRange=Ce;function O(le,rr,br){return le.pos<=rr&&le.end>=br}e.rangeContainsStartEnd=O;function Q(le,rr,br){return z(le.pos,le.end,rr,br)}e.rangeOverlapsWithStartEnd=Q;function V(le,rr,br,ct){return z(le.getStart(rr),le.end,br,ct)}e.nodeOverlapsWithStartEnd=V;function z(le,rr,br,ct){var jt=Math.max(le,br),yn=Math.min(rr,ct);return jtrr?1:Ya(fi[Si])?fi[Si-1]&&Ya(fi[Si-1])?1:0:ct&&bo===rr&&fi[Si-1]&&fi[Si-1].getEnd()===rr&&Ya(fi[Si-1])?1:-1});return ha?{value:ha}:ci>=0&&fi[ci]?(yn=fi[ci],"continue-outer"):{value:yn}};e:for(;;){var Ta=ri();if(typeof Ta=="object")return Ta.value;switch(Ta){case"continue-outer":continue e}}function Ya(fi){var ci=br?fi.getFullStart():fi.getStart(le,!0);if(ci>rr)return!1;var Si=fi.getEnd();if(rrbr.getStart(le)&&rrle.end||yn.pos===le.end;return ha&&Rr(yn,br)?ct(yn):void 0})}}e.findNextToken=Fe;function $e(le,rr,br,ct){var jt=yn(br||rr);return e.Debug.assert(!(jt&&ze(jt))),jt;function yn(ha){if(Dr(ha)&&ha.kind!==1)return ha;var ri=ha.getChildren(rr),Ta=e.binarySearchKey(ri,le,function(bo,Ns){return Ns},function(bo,Ns){return le=ri[bo-1].end?0:1:-1});if(Ta>=0&&ri[Ta]){var Ya=ri[Ta];if(le=le||!Rr(Ya,rr)||ze(Ya);if(ci){var Si=He(ri,Ta,rr,ha.kind);return Si&&Fr(Si,rr)}else return yn(Ya)}}e.Debug.assert(br!==void 0||ha.kind===303||ha.kind===1||e.isJSDocCommentContainingNode(ha));var Do=He(ri,ri.length,rr,ha.kind);return Do&&Fr(Do,rr)}}e.findPrecedingToken=$e;function Dr(le){return e.isToken(le)&&!ze(le)}function Fr(le,rr){if(Dr(le))return le;var br=le.getChildren(rr);if(br.length===0)return le;var ct=He(br,br.length,rr,le.kind);return ct&&Fr(ct,rr)}function He(le,rr,br,ct){for(var jt=rr-1;jt>=0;jt--){var yn=le[jt];if(ze(yn))jt===0&&(ct===11||ct===278)&&e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(Rr(le[jt],br))return le[jt]}}function pr(le,rr,br){if(br===void 0&&(br=$e(rr,le)),br&&e.isStringTextContainingNode(br)){var ct=br.getStart(le),jt=br.getEnd();if(ctbr.getStart(le)}e.isInTemplateString=Ar;function Yr(le,rr){var br=Hr(le,rr);return!!(e.isJsxText(br)||br.kind===18&&e.isJsxExpression(br.parent)&&e.isJsxElement(br.parent.parent)||br.kind===29&&e.isJsxOpeningLikeElement(br.parent)&&e.isJsxElement(br.parent.parent))}e.isInJSXText=Yr;function lt(le,rr){function br(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(rr>ct.getStart(le))return!0;ct=ct.parent}else return!1;return!1}return br(Hr(le,rr))}e.isInsideJsxElement=lt;function tt(le,rr,br){var ct=e.tokenToString(le.kind),jt=e.tokenToString(rr),yn=le.getFullStart(),ha=br.text.lastIndexOf(jt,yn);if(ha!==-1){if(br.text.lastIndexOf(ct,yn-1)=rr})}e.getPossibleGenericSignatures=bn;function In(le,rr){if(rr.text.lastIndexOf("<",le?le.pos:rr.text.length)!==-1)for(var br=le,ct=0,jt=0;br;){switch(br.kind){case 29:if(br=$e(br.getFullStart(),rr),br&&br.kind===28&&(br=$e(br.getFullStart(),rr)),!br||!e.isIdentifier(br))return;if(!ct)return e.isDeclarationName(br)?void 0:{called:br,nTypeArguments:jt};ct--;break;case 49:ct=3;break;case 48:ct=2;break;case 31:ct++;break;case 19:if(br=tt(br,18,rr),!br)return;break;case 21:if(br=tt(br,20,rr),!br)return;break;case 23:if(br=tt(br,22,rr),!br)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(br))break;return}br=$e(br.getFullStart(),rr)}}e.getPossibleTypeArgumentsInfo=In;function zn(le,rr,br){return e.formatting.getRangeOfEnclosingComment(le,rr,void 0,br)}e.isInComment=zn;function ir(le,rr){var br=Hr(le,rr);return!!e.findAncestor(br,e.isJSDoc)}e.hasDocComment=ir;function Rr(le,rr){return le.kind===1?!!le.jsDoc:le.getWidth(rr)!==0}function sr(le,rr){rr===void 0&&(rr=0);var br=[],ct=e.isDeclaration(le)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(le)&~rr:0;return ct&8&&br.push("private"),ct&16&&br.push("protected"),ct&4&&br.push("public"),(ct&32||e.isClassStaticBlockDeclaration(le))&&br.push("static"),ct&128&&br.push("abstract"),ct&1&&br.push("export"),ct&8192&&br.push("deprecated"),le.flags&8388608&&br.push("declare"),le.kind===270&&br.push("export"),br.length>0?br.join(","):""}e.getNodeModifiers=sr;function ye(le){if(le.kind===177||le.kind===207)return le.typeArguments;if(e.isFunctionLike(le)||le.kind===256||le.kind===257)return le.typeParameters}e.getTypeArgumentOrTypeParameterList=ye;function or(le){return le===2||le===3}e.isComment=or;function fe(le){return!!(le===10||le===13||e.isTemplateLiteralKind(le))}e.isStringOrRegularExpressionOrTemplateLiteral=fe;function je(le){return 18<=le&&le<=78}e.isPunctuation=je;function Ee(le,rr,br){return e.isTemplateLiteralKind(le.kind)&&le.getStart(br)=2||!!le.noEmit}e.compilerOptionsIndicateEsModules=ba;function Jn(le,rr){return{fileExists:function(br){return le.fileExists(br)},getCurrentDirectory:function(){return rr.getCurrentDirectory()},readFile:e.maybeBind(rr,rr.readFile),useCaseSensitiveFileNames:e.maybeBind(rr,rr.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(rr,rr.getSymlinkCache)||le.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(rr,rr.getModuleSpecifierCache),getGlobalTypingsCacheLocation:e.maybeBind(rr,rr.getGlobalTypingsCacheLocation),redirectTargetsMap:le.redirectTargetsMap,getProjectReferenceRedirect:function(br){return le.getProjectReferenceRedirect(br)},isSourceOfProjectReferenceRedirect:function(br){return le.isSourceOfProjectReferenceRedirect(br)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(rr,rr.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return le.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=Jn;function na(le,rr){return Rn(Rn({},Jn(le,rr)),{getCommonSourceDirectory:function(){return le.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=na;function Wn(le,rr,br,ct){return le||rr&&rr.length?en(le,rr,br,ct):void 0}e.makeImportIfNecessary=Wn;function en(le,rr,br,ct,jt){return e.factory.createImportDeclaration(void 0,void 0,le||rr?e.factory.createImportClause(!!jt,le,rr&&rr.length?e.factory.createNamedImports(rr):void 0):void 0,typeof br=="string"?St(br,ct):br,void 0)}e.makeImport=en;function St(le,rr){return e.factory.createStringLiteral(le,rr===0)}e.makeStringLiteral=St,function(le){le[le.Single=0]="Single",le[le.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={}));function Ut(le,rr){return e.isStringDoubleQuoted(le,rr)?1:0}e.quotePreferenceFromString=Ut;function qt(le,rr){if(rr.quotePreference&&rr.quotePreference!=="auto")return rr.quotePreference==="single"?0:1;var br=le.imports&&e.find(le.imports,function(ct){return e.isStringLiteral(ct)&&!e.nodeIsSynthesized(ct.parent)});return br?Ut(br,le):1}e.getQuotePreference=qt;function Pn(le){switch(le){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(le)}}e.getQuoteFromPreference=Pn;function dn(le){var rr=oa(le);return rr===void 0?void 0:e.unescapeLeadingUnderscores(rr)}e.symbolNameNoDefault=dn;function oa(le){return le.escapedName!=="default"?le.escapedName:e.firstDefined(le.declarations,function(rr){var br=e.getNameOfDeclaration(rr);return br&&br.kind===79?br.escapedText:void 0})}e.symbolEscapedNameNoDefault=oa;function pt(le){return e.isStringLiteralLike(le)&&(e.isExternalModuleReference(le.parent)||e.isImportDeclaration(le.parent)||e.isRequireCall(le.parent,!1)&&le.parent.arguments[0]===le||e.isImportCall(le.parent)&&le.parent.arguments[0]===le)}e.isModuleSpecifierLike=pt;function _t(le){return e.isBindingElement(le)&&e.isObjectBindingPattern(le.parent)&&e.isIdentifier(le.name)&&!le.propertyName}e.isObjectBindingElementWithoutPropertyName=_t;function Pt(le,rr){var br=le.getTypeAtLocation(rr.parent);return br&&le.getPropertyOfType(br,rr.name.text)}e.getPropertySymbolFromBindingElement=Pt;function It(le,rr,br){if(!!le)for(;le.parent;){if(e.isSourceFile(le.parent)||!rt(br,le.parent,rr))return le;le=le.parent}}e.getParentNodeInSpan=It;function rt(le,rr,br){return e.textSpanContainsPosition(le,rr.getStart(br))&&rr.getEnd()<=e.textSpanEnd(le)}function Cn(le,rr){return le.modifiers&&e.find(le.modifiers,function(br){return br.kind===rr})}e.findModifier=Cn;function Qn(le,rr,br,ct){var jt=e.isArray(br)?br[0]:br,yn=jt.kind===236?e.isRequireVariableStatement:e.isAnyImportSyntax,ha=e.filter(rr.statements,yn),ri=e.isArray(br)?e.stableSort(br,e.OrganizeImports.compareImportsOrRequireStatements):[br];if(!ha.length)le.insertNodesAtTopOfFile(rr,ri,ct);else if(ha&&e.OrganizeImports.importsAreSorted(ha))for(var Ta=0,Ya=ri;Tale&&ci&&ci!=="..."&&(e.isWhiteSpaceLike(ci.charCodeAt(ci.length-1))||rr.push(ji(" ",e.SymbolDisplayPartKind.space)),rr.push(ji("...",e.SymbolDisplayPartKind.punctuation))),rr},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:yn,writeComment:yn,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>le)&&br){var ci=e.getIndentString(ct);ci&&(jt+=ci.length,rr.push(ji(ci,e.SymbolDisplayPartKind.space))),br=!1}}function ri(ci,Si){jt>le||(ha(),jt+=ci.length,rr.push(ji(ci,Si)))}function Ta(ci,Si){jt>le||(ha(),jt+=ci.length,rr.push(io(ci,Si)))}function Ya(){jt>le||(jt+=1,rr.push(yr()),br=!0)}function fi(){rr=[],br=!0,ct=0,jt=0}}function io(le,rr){return ji(le,br(rr));function br(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(le,rr){return{text:le,kind:e.SymbolDisplayPartKind[rr]}}e.displayPart=ji;function Hi(){return ji(" ",e.SymbolDisplayPartKind.space)}e.spacePart=Hi;function to(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.keyword)}e.keywordPart=to;function No(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=No;function lo(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.operator)}e.operatorPart=lo;function Lo(le){return ji(le,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=Lo;function Ha(le){return ji(le,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=Ha;function Yo(le){var rr=e.stringToToken(le);return rr===void 0?co(le):to(rr)}e.textOrKeywordPart=Yo;function co(le){return ji(le,e.SymbolDisplayPartKind.text)}e.textPart=co;function za(le){return ji(le,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=za;function hi(le){return ji(le,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=hi;function Zi(le){return ji(le,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=Zi;function Po(le,rr){return{text:le,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(rr).fileName,textSpan:dr(rr)}}}e.linkNamePart=Po;function Mo(le){return ji(le,e.SymbolDisplayPartKind.link)}e.linkPart=Mo;function Fo(le,rr){var br,ct=e.isJSDocLink(le)?"link":e.isJSDocLinkCode(le)?"linkcode":"linkplain",jt=[Mo("{@".concat(ct," "))];if(!le.name)le.text&&jt.push(Zi(le.text));else{var yn=rr==null?void 0:rr.getSymbolAtLocation(le.name),ha=zo(le.text),ri=e.getTextOfNode(le.name)+le.text.slice(0,ha),Ta=le.text.slice(ha),Ya=(yn==null?void 0:yn.valueDeclaration)||((br=yn==null?void 0:yn.declarations)===null||br===void 0?void 0:br[0]);Ya?(jt.push(Po(ri,Ya)),Ta&&jt.push(Zi(Ta))):jt.push(Zi(ri+(ha?"":" ")+Ta))}return jt.push(Mo("}")),jt}e.buildLinkParts=Fo;function zo(le){if(le.indexOf("()")===0)return 2;if(le[0]!=="<")return 0;for(var rr=0,br=0;br"&&rr--,br++,!rr)return br;return 0}var Es=`\r `;function Cs(le,rr){var br;return(rr==null?void 0:rr.newLineCharacter)||((br=le.getNewLine)===null||br===void 0?void 0:br.call(le))||Es}e.getNewLineOrDefaultFromHost=Cs;function yr(){return ji(` `,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=yr;function dt(le){try{return le(Ka),Ka.displayParts()}finally{Ka.clear()}}e.mapToDisplayParts=dt;function tn(le,rr,br,ct){return ct===void 0&&(ct=0),dt(function(jt){le.writeType(rr,br,ct|1024|16384,jt)})}e.typeToDisplayParts=tn;function Un(le,rr,br,ct,jt){return jt===void 0&&(jt=0),dt(function(yn){le.writeSymbol(rr,br,ct,jt|8,yn)})}e.symbolToDisplayParts=Un;function Oe(le,rr,br,ct){return ct===void 0&&(ct=0),ct|=25632,dt(function(jt){le.writeSignature(rr,br,ct,void 0,jt)})}e.signatureToDisplayParts=Oe;function oe(le){return!!le.parent&&e.isImportOrExportSpecifier(le.parent)&&le.parent.propertyName===le}e.isImportOrExportSpecifierName=oe;function mr(le,rr){return e.ensureScriptKind(le,rr.getScriptKind&&rr.getScriptKind(le))}e.getScriptKind=mr;function se(le,rr){for(var br=le;er(br)||Be(br)&&br.target;)Be(br)&&br.target?br=br.target:br=e.skipAlias(br,rr);return br}e.getSymbolTarget=se;function Be(le){return(le.flags&33554432)!==0}function er(le){return(le.flags&2097152)!==0}function hr(le,rr){return e.getSymbolId(e.skipAlias(le,rr))}e.getUniqueSymbolId=hr;function qr(le,rr){for(;e.isWhiteSpaceLike(le.charCodeAt(rr));)rr+=1;return rr}e.getFirstNonSpaceCharacterPosition=qr;function Dt(le,rr){for(;rr>-1&&e.isWhiteSpaceSingleLine(le.charCodeAt(rr));)rr-=1;return rr+1}e.getPrecedingNonSpaceCharacterPosition=Dt;function Jt(le,rr){rr===void 0&&(rr=!0);var br=le&&ta(le);return br&&!rr&&$a(br),br}e.getSynthesizedDeepClone=Jt;function Sn(le,rr,br){var ct=br(le);return ct?e.setOriginalNode(ct,le):ct=ta(le,br),ct&&!rr&&$a(ct),ct}e.getSynthesizedDeepCloneWithReplacements=Sn;function ta(le,rr){var br=rr?function(ha){return Sn(ha,!0,rr)}:Jt,ct=rr?function(ha){return ha&&Di(ha,!0,rr)}:function(ha){return ha&&xa(ha)},jt=e.visitEachChild(le,br,e.nullTransformationContext,ct,br);if(jt===le){var yn=e.isStringLiteral(le)?e.setOriginalNode(e.factory.createStringLiteralFromNode(le),le):e.isNumericLiteral(le)?e.setOriginalNode(e.factory.createNumericLiteral(le.text,le.numericLiteralFlags),le):e.factory.cloneNode(le);return e.setTextRange(yn,le)}return jt.parent=void 0,jt}function xa(le,rr){return rr===void 0&&(rr=!0),le&&e.factory.createNodeArray(le.map(function(br){return Jt(br,rr)}),le.hasTrailingComma)}e.getSynthesizedDeepClones=xa;function Di(le,rr,br){return e.factory.createNodeArray(le.map(function(ct){return Sn(ct,rr,br)}),le.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=Di;function $a(le){Ji(le),So(le)}e.suppressLeadingAndTrailingTrivia=$a;function Ji(le){Mn(le,512,da)}e.suppressLeadingTrivia=Ji;function So(le){Mn(le,1024,e.getLastChild)}e.suppressTrailingTrivia=So;function cs(le,rr){var br=le.getSourceFile(),ct=br.text;bt(le,ct)?xi(le,rr,br):mi(le,rr,br),ka(le,rr,br)}e.copyComments=cs;function bt(le,rr){for(var br=le.getFullStart(),ct=le.getStart(),jt=br;jt=0),yn}e.getRenameLocation=bi;function xi(le,rr,br,ct,jt){e.forEachLeadingCommentRange(br.text,le.pos,Xi(rr,br,ct,jt,e.addSyntheticLeadingComment))}e.copyLeadingComments=xi;function ka(le,rr,br,ct,jt){e.forEachTrailingCommentRange(br.text,le.end,Xi(rr,br,ct,jt,e.addSyntheticTrailingComment))}e.copyTrailingComments=ka;function mi(le,rr,br,ct,jt){e.forEachTrailingCommentRange(br.text,le.pos,Xi(rr,br,ct,jt,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=mi;function Xi(le,rr,br,ct,jt){return function(yn,ha,ri,Ta){ri===3?(yn+=2,ha-=2):yn+=2,jt(le,br||ri,rr.text.slice(yn,ha),ct!==void 0?ct:Ta)}}function Gi(le,rr){if(e.startsWith(le,rr))return 0;var br=le.indexOf(" "+rr);return br===-1&&(br=le.indexOf("."+rr)),br===-1&&(br=le.indexOf('"'+rr)),br===-1?-1:br+1}function Ro(le){return e.isBinaryExpression(le)&&le.operatorToken.kind===27||e.isObjectLiteralExpression(le)||e.isAsExpression(le)&&e.isObjectLiteralExpression(le.expression)}e.needsParentheses=Ro;function ko(le,rr){var br=le.parent;switch(br.kind){case 208:return rr.getContextualType(br);case 220:{var ct=br,jt=ct.left,yn=ct.operatorToken,ha=ct.right;return as(yn.kind)?rr.getTypeAtLocation(le===ha?jt:ha):rr.getContextualType(le)}case 288:return br.expression===le?ft(br,rr):void 0;default:return rr.getContextualType(le)}}e.getContextualTypeFromParent=ko;function es(le,rr,br){var ct=qt(le,rr),jt=JSON.stringify(br);return ct===0?"'".concat(e.stripQuotes(jt).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):jt}e.quote=es;function as(le){switch(le){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=as;function pe(le){switch(le.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}}e.isStringLiteralOrTemplate=pe;function wr(le){return!!le.getStringIndexType()||!!le.getNumberIndexType()}e.hasIndexSignature=wr;function ft(le,rr){return rr.getTypeAtLocation(le.parent.parent.expression)}e.getSwitchedType=ft,e.ANONYMOUS="anonymous function";function Zt(le,rr,br,ct){var jt=br.getTypeChecker(),yn=!0,ha=function(){return yn=!1},ri=jt.typeToTypeNode(le,rr,1,{trackSymbol:function(Ta,Ya,fi){return yn=yn&&jt.isSymbolAccessible(Ta,Ya,fi,!1).accessibility===0,!yn},reportInaccessibleThisError:ha,reportPrivateInBaseOfClassExpression:ha,reportInaccessibleUniqueSymbolError:ha,moduleResolverHost:na(br,ct)});return yn?ri:void 0}e.getTypeNodeIfAccessible=Zt;function Re(le){return le===173||le===174||le===175||le===165||le===167}e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Re;function Qr(le){return le===255||le===170||le===168||le===171||le===172}e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Qr;function vn(le){return le===260}e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=vn;function Xn(le){return le===236||le===237||le===239||le===244||le===245||le===246||le===250||le===252||le===166||le===258||le===265||le===264||le===271||le===263||le===270}e.syntaxRequiresTrailingSemicolonOrASI=Xn,e.syntaxMayBeASICandidate=e.or(Re,Qr,vn,Xn);function gi(le,rr){var br=le.getLastToken(rr);if(br&&br.kind===26)return!1;if(Re(le.kind)){if(br&&br.kind===27)return!1}else if(vn(le.kind)){var ct=e.last(le.getChildren(rr));if(ct&&e.isModuleBlock(ct))return!1}else if(Qr(le.kind)){var ct=e.last(le.getChildren(rr));if(ct&&e.isFunctionBlock(ct))return!1}else if(!Xn(le.kind))return!1;if(le.kind===239)return!0;var jt=e.findAncestor(le,function(Ta){return!Ta.parent}),yn=Fe(le,jt,rr);if(!yn||yn.kind===19)return!0;var ha=rr.getLineAndCharacterOfPosition(le.getEnd()).line,ri=rr.getLineAndCharacterOfPosition(yn.getStart(rr)).line;return ha!==ri}function Ia(le,rr,br){var ct=e.findAncestor(rr,function(jt){return jt.end!==le?"quit":e.syntaxMayBeASICandidate(jt.kind)});return!!ct&&gi(ct,br)}e.positionIsASICandidate=Ia;function oo(le){var rr=0,br=0,ct=5;return e.forEachChild(le,function jt(yn){if(Xn(yn.kind)){var ha=yn.getLastToken(le);ha&&ha.kind===26?rr++:br++}return rr+br>=ct?!0:e.forEachChild(yn,jt)}),rr===0&&br<=1?!0:rr/br>1/ct}e.probablyUsesSemicolons=oo;function Wo(le,rr){return Co(le,le.getDirectories,rr)||[]}e.tryGetDirectories=Wo;function Nr(le,rr,br,ct,jt){return Co(le,le.readDirectory,rr,br,ct,jt)||e.emptyArray}e.tryReadDirectory=Nr;function Us(le,rr){return Co(le,le.fileExists,rr)}e.tryFileExists=Us;function il(le,rr){return Pl(function(){return e.directoryProbablyExists(rr,le)})||!1}e.tryDirectoryExists=il;function Pl(le){try{return le()}catch{return}}e.tryAndIgnoreErrors=Pl;function Co(le,rr){for(var br=[],ct=2;ct"u")return!0;var Ys=e.stripQuotes(Si.getName());return Ya(Ys)?!0:yn(Ns)||yn(Ys)}function ri(Si,Do){if(!ct.length)return!0;var bo=fi(Si.fileName,Do);return bo?yn(bo):!0}function Ta(Si){return!ct.length||Ya(Si)||e.pathIsRelative(Si)||e.isRootedDiskPath(Si)?!0:yn(Si)}function Ya(Si){return!!(e.isSourceFileJS(le)&&e.JsTyping.nodeCoreModules.has(Si)&&(jt===void 0&&(jt=ql(le)),jt))}function fi(Si,Do){if(!!e.stringContains(Si,"node_modules")){var bo=e.moduleSpecifiers.getNodeModulesPackageName(br.getCompilationSettings(),le.path,Si,Do,rr);if(!!bo&&!e.pathIsRelative(bo)&&!e.isRootedDiskPath(bo))return ci(bo)}}function ci(Si){var Do=e.getPathComponents(e.getPackageNameFromTypesPackageName(Si)).slice(1);return e.startsWith(Do[0],"@")?"".concat(Do[0],"/").concat(Do[1]):Do[0]}}e.createPackageJsonImportFilter=cu;function no(le){try{return JSON.parse(le)}catch{return}}function ql(le){return e.some(le.imports,function(rr){var br=rr.text;return e.JsTyping.nodeCoreModules.has(br)})}e.consumesNodeCoreModules=ql;function fc(le){return e.contains(e.getPathComponents(le),"node_modules")}e.isInsideNodeModules=fc;function Ws(le){return le.file!==void 0&&le.start!==void 0&&le.length!==void 0}e.isDiagnosticWithLocation=Ws;function xc(le,rr){var br=dr(le),ct=e.binarySearchKey(rr,br,e.identity,e.compareTextSpans);if(ct>=0){var jt=rr[ct];return e.Debug.assertEqual(jt.file,le.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(jt,Ws)}}e.findDiagnosticForNode=xc;function Ic(le,rr){var br,ct=e.binarySearchKey(rr,le.start,function(ri){return ri.start},e.compareValues);for(ct<0&&(ct=~ct);((br=rr[ct-1])===null||br===void 0?void 0:br.start)===le.start;)ct--;for(var jt=[],yn=e.textSpanEnd(le);;){var ha=e.tryCast(rr[ct],Ws);if(!ha||ha.start>yn)break;e.textSpanContainsTextSpan(le,ha)&&jt.push(ha),ct++}return jt}e.getDiagnosticsWithinSpan=Ic;function La(le){var rr=le.startPosition,br=le.endPosition;return e.createTextSpanFromBounds(rr,br===void 0?rr:br)}e.getRefactorContextSpan=La;function uu(le,rr){var br=Hr(le,rr.start),ct=e.findAncestor(br,function(jt){return jt.getStart(le)e.textSpanEnd(rr)?"quit":e.isExpression(jt)&&Ci(rr,dr(jt,le))});return ct}e.getFixableErrorSpanExpression=uu;function dc(le,rr,br){return br===void 0&&(br=e.identity),le?e.isArray(le)?br(e.map(le,rr)):rr(le,0):void 0}e.mapOneOrMany=dc;function Nc(le){return e.isArray(le)?e.first(le):le}e.firstOrOnly=Nc;function Pr(le,rr){return!(le.flags&33554432)&&(le.escapedName==="export="||le.escapedName==="default")?e.firstDefined(le.declarations,function(br){var ct;return e.isExportAssignment(br)?(ct=e.tryCast(e.skipOuterExpressions(br.expression),e.isIdentifier))===null||ct===void 0?void 0:ct.text:void 0})||e.codefix.moduleSymbolToValidIdentifier($r(le),rr):le.name}e.getNameForExportedSymbol=Pr;function $r(le){var rr;return e.Debug.checkDefined(le.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(le.flags),". ")+"Declarations: ".concat((rr=le.declarations)===null||rr===void 0?void 0:rr.map(function(br){var ct=e.Debug.formatSyntaxKind(br.kind),jt=e.isInJSFile(br),yn=br.expression;return(jt?"[JS]":"")+ct+(yn?" (expression: ".concat(e.Debug.formatSyntaxKind(yn.kind),")"):"")}).join(", "),"."))}function Lt(le,rr,br){var ct=rr.length;if(ct+br>le.length)return!1;for(var jt=0;jt=ne.length){var te=d(w,U,e.lastOrUndefined(T));te!==void 0&&(m=te)}}while(U!==1);function ue(){switch(U){case 43:case 68:!f[$]&&w.reScanSlashToken()===13&&(U=13);break;case 29:$===79&&g++;break;case 31:g>0&&g--;break;case 130:case 149:case 146:case 133:case 150:g>0&&!Y&&(U=79);break;case 15:T.push(U);break;case 18:T.length>0&&T.push(U);break;case 19:if(T.length>0){var X=e.lastOrUndefined(T);X===15?(U=w.reScanTemplateToken(!1),U===17?T.pop():e.Debug.assertEqual(U,16,"Should have been a template middle.")):(e.Debug.assertEqual(X,18,"Should have been an open brace"),T.pop())}break;default:if(!e.isKeyword(U))break;($===24||e.isKeyword($)&&e.isKeyword(U)&&!H($,U))&&(U=79)}}return{endOfLineState:m,spans:u}}return{getClassificationsForLine:K,getEncodedLexicalClassifications:Z}}e.createClassifier=n;var f=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(w){return w},function(){return!0});function d(w,K,Z){switch(K){case 10:{if(!w.isUnterminated())return;for(var ne=w.getTokenText(),R=ne.length-1,Y=0;ne.charCodeAt(R-Y)===92;)Y++;return(Y&1)===0?void 0:ne.charCodeAt(0)===34?3:2}case 3:return w.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(K)){if(!w.isUnterminated())return;switch(K){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+K)}}return Z===15?6:void 0}}function a(w,K,Z,ne,R){if(ne!==8){w===0&&Z>0&&(w+=Z);var Y=K-w;Y>0&&R.push(w-Z,Y,ne)}}function p(w,K){for(var Z=[],ne=w.spans,R=0,Y=0;Y=0){var I=U-R;I>0&&Z.push({length:I,classification:e.TokenClass.Whitespace})}Z.push({length:$,classification:N(T)}),R=U+$}var y=K.length-R;return y>0&&Z.push({length:y,classification:e.TokenClass.Whitespace}),{entries:Z,finalLexState:w.endOfLineState}}function N(w){switch(w){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 H(w,K){if(!e.isAccessibilityModifier(w))return!0;switch(K){case 136:case 148:case 134:case 124:return!0;default:return!1}}function h(w){switch(w){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(w)}}function v(w){switch(w){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(w){switch(w){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function q(w){if(e.isKeyword(w))return 3;if(v(w)||A(w))return 5;if(w>=18&&w<=78)return 10;switch(w){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(w)?6:2}}function ie(w,K,Z,ne,R){return k(P(w,K,Z,ne,R))}e.getSemanticClassifications=ie;function b(w,K){switch(K){case 260:case 256:case 257:case 255:case 225:case 212:case 213:w.throwIfCancellationRequested()}}function P(w,K,Z,ne,R){var Y=[];return Z.forEachChild(function $(T){if(!(!T||!e.textSpanIntersectsWith(R,T.pos,T.getFullWidth()))){if(b(K,T.kind),e.isIdentifier(T)&&!e.nodeIsMissing(T)&&ne.has(T.escapedText)){var I=w.getSymbolAtLocation(T),y=I&&S(I,e.getMeaningFromLocation(T),w);y&&U(T.getStart(Z),T.getEnd(),y)}T.forEachChild($)}}),{spans:Y,endOfLineState:0};function U($,T,I){var y=T-$;e.Debug.assert(y>0,"Classification had non-positive length of ".concat(y)),Y.push($),Y.push(y),Y.push(I)}}e.getEncodedSemanticClassifications=P;function S(w,K,Z){var ne=w.getFlags();if((ne&2885600)!==0)return ne&32?11:ne&384?12:ne&524288?16:ne&1536?K&4||K&1&&B(w)?14:void 0:ne&2097152?S(Z.getAliasedSymbol(w),K,Z):K&2?ne&64?13:ne&262144?15:void 0:void 0}function B(w){return e.some(w.declarations,function(K){return e.isModuleDeclaration(K)&&e.getModuleInstanceState(K)===1})}function J(w){switch(w){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 k(w){e.Debug.assert(w.spans.length%3===0);for(var K=w.spans,Z=[],ne=0;ne])*)(\/>)?)?/im,Q=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,V=K.text.substr(Se,Ce),z=O.exec(V);if(!z||!z[3]||!(z[3]in e.commentPragmas))return!1;var Te=Se;D(Te,z[1].length),Te+=z[1].length,T(Te,z[2].length,10),Te+=z[2].length,T(Te,z[3].length,21),Te+=z[3].length;for(var ge=z[4],ke=Te;;){var Me=Q.exec(ge);if(!Me)break;var Ie=Te+Me.index+Me[1].length;Ie>ke&&(D(ke,Ie-ke),ke=Ie),T(ke,Me[2].length,22),ke+=Me[2].length,Me[3].length&&(D(ke,Me[3].length),ke+=Me[3].length),T(ke,Me[4].length,5),ke+=Me[4].length,Me[5].length&&(D(ke,Me[5].length),ke+=Me[5].length),T(ke,Me[6].length,24),ke+=Me[6].length}Te+=z[4].length,Te>ke&&D(ke,Te-ke),z[5]&&(T(Te,z[5].length,10),Te+=z[5].length);var Ge=Se+Ce;return Te=0),Q>0){var V=Ce||X(Se.kind,Se);V&&T(O,Q,V)}return!0}function ue(Se){switch(Se.parent&&Se.parent.kind){case 279:if(Se.parent.tagName===Se)return 19;break;case 280:if(Se.parent.tagName===Se)return 20;break;case 278:if(Se.parent.tagName===Se)return 21;break;case 284:if(Se.parent.name===Se)return 22;break}}function X(Se,Ce){if(e.isKeyword(Se))return 3;if((Se===29||Se===31)&&Ce&&e.getTypeArgumentOrTypeParameterList(Ce.parent))return 10;if(e.isPunctuation(Se)){if(Ce){var O=Ce.parent;if(Se===63&&(O.kind===253||O.kind===166||O.kind===163||O.kind===284)||O.kind===220||O.kind===218||O.kind===219||O.kind===221)return 5}return 10}else{if(Se===8)return 4;if(Se===9)return 25;if(Se===10)return Ce&&Ce.parent.kind===284?24:6;if(Se===13)return 6;if(e.isTemplateLiteralKind(Se))return 6;if(Se===11)return 23;if(Se===79){if(Ce)switch(Ce.parent.kind){case 256:return Ce.parent.name===Ce?11:void 0;case 162:return Ce.parent.name===Ce?15:void 0;case 257:return Ce.parent.name===Ce?13:void 0;case 259:return Ce.parent.name===Ce?12:void 0;case 260:return Ce.parent.name===Ce?14:void 0;case 163:return Ce.parent.name===Ce?e.isThisIdentifier(Ce)?3:17:void 0}return 2}}}function j(Se){if(!!Se&&e.decodedTextSpanIntersectsWith(ne,R,Se.pos,Se.getFullWidth())){b(w,Se.kind);for(var Ce=0,O=Se.getChildren(K);Ce0}))return 0;if(M(function(x){return x.getCallSignatures().length>0})&&!M(function(x){return x.getProperties().length>0})||ie(B))return J===9?11:10}}return J}function v(S,B){return e.isBindingElement(S)&&(S=A(S)),e.isVariableDeclaration(S)?(!e.isSourceFile(S.parent.parent.parent)||e.isCatchClause(S.parent))&&S.getSourceFile()===B:e.isFunctionDeclaration(S)?!e.isSourceFile(S.parent)&&S.getSourceFile()===B:!1}function A(S){for(;;)if(e.isBindingElement(S.parent.parent))S=S.parent.parent;else return S.parent.parent}function q(S){var B=S.parent;return B&&(e.isImportClause(B)||e.isImportSpecifier(B)||e.isNamespaceImport(B))}function ie(S){for(;b(S);)S=S.parent;return e.isCallExpression(S.parent)&&S.parent.expression===S}function b(S){return e.isQualifiedName(S.parent)&&S.parent.right===S||e.isPropertyAccessExpression(S.parent)&&S.parent.name===S}var P=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(f){function d(V,z,Te,ge,ke,Me,Ie,Ge){if(e.isInReferenceComment(V,z)){var he=F(V,z,ge,ke);return he&&H(he)}if(e.isInString(V,z,Te)){if(!Te||!e.isStringLiteralLike(Te))return;var he=A(V,Te,z,Me.getTypeChecker(),ge,ke,Ge);return a(he,Te,V,ke,Me,Ie,ge,Ge)}}f.getStringLiteralCompletions=d;function a(V,z,Te,ge,ke,Me,Ie,Ge){if(V!==void 0){var he=e.createTextSpanFromStringLiteralLikeContent(z);switch(V.kind){case 0:return H(V.paths);case 1:{var ve=[];return n.getCompletionEntriesFromSymbols(V.symbols,ve,z,z,Te,Te,ge,ke,99,Me,4,Ge,Ie),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:V.hasIndexSignature,optionalReplacementSpan:he,entries:ve}}case 2:{var ve=V.types.map(function(_e){return{name:_e.value,kindModifiers:"",kind:"string",sortText:n.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(z)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:V.isNewIdentifier,optionalReplacementSpan:he,entries:ve}}default:return e.Debug.assertNever(V)}}}function p(V,z,Te,ge,ke,Me,Ie,Ge,he){if(!(!ge||!e.isStringLiteralLike(ge))){var ve=A(z,ge,Te,ke,Me,Ie,he);return ve&&N(V,ge,ve,z,ke,Ge)}}f.getStringLiteralCompletionDetails=p;function N(V,z,Te,ge,ke,Me){switch(Te.kind){case 0:{var Ie=e.find(Te.paths,function(Ge){return Ge.name===V});return Ie&&n.createCompletionDetails(V,h(Ie.extension),Ie.kind,[e.textPart(V)])}case 1:{var Ie=e.find(Te.symbols,function(he){return he.name===V});return Ie&&n.createCompletionDetailsForSymbol(Ie,ke,ge,z,Me)}case 2:return e.find(Te.types,function(Ge){return Ge.value===V})?n.createCompletionDetails(V,"","type",[e.textPart(V)]):void 0;default:return e.Debug.assertNever(Te)}}function H(V){var z=!1,Te=!0,ge=V.map(function(ke){var Me=ke.name,Ie=ke.kind,Ge=ke.span,he=ke.extension;return{name:Me,kind:Ie,kindModifiers:h(he),sortText:n.SortText.LocationPriority,replacementSpan:Ge}});return{isGlobalCompletion:z,isMemberCompletion:!1,isNewIdentifierLocation:Te,entries:ge}}function h(V){switch(V){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(V)}}var v;(function(V){V[V.Paths=0]="Paths",V[V.Properties=1]="Properties",V[V.Types=2]="Types"})(v||(v={}));function A(V,z,Te,ge,ke,Me,Ie){var Ge=q(z.parent);switch(Ge.kind){case 195:{var he=q(Ge.parent);switch(he.kind){case 177:{var ve=he,Ve=e.findAncestor(Ge,function(Cr){return Cr.parent===ve});return Ve?{kind:2,types:B(ge.getTypeArgumentConstraint(Ve)),isNewIdentifier:!1}:void 0}case 193:var _e=he,Le=_e.indexType,qe=_e.objectType;return e.rangeContainsPosition(Le,Te)?P(ge.getTypeFromTypeNode(qe)):void 0;case 199:return{kind:0,paths:x(V,z,ke,Me,ge,Ie)};case 186:{if(!e.isTypeReferenceNode(he.parent))return;var Xe=ie(he,Ge),De=B(ge.getTypeArgumentConstraint(he)).filter(function(Cr){return!e.contains(Xe,Cr.value)});return{kind:2,types:De,isNewIdentifier:!1}}default:return}}case 294:return e.isObjectLiteralExpression(Ge.parent)&&Ge.name===z?S(ge,Ge.parent):lr();case 206:{var Ae=Ge,Ye=Ae.expression,Lr=Ae.argumentExpression;return z===e.skipParentheses(Lr)?P(ge.getTypeAtLocation(Ye)):void 0}case 207:case 208:if(!Q(z)&&!e.isImportCall(Ge)){var Er=e.SignatureHelp.getArgumentInfoForCompletions(z,Te,V);return Er?b(Er,ge):lr()}case 265:case 271:case 276:return{kind:0,paths:x(V,z,ke,Me,ge,Ie)};default:return lr()}function lr(){return{kind:2,types:B(e.getContextualTypeFromParent(z,ge)),isNewIdentifier:!1}}}function q(V){switch(V.kind){case 190:return e.walkUpParenthesizedTypes(V);case 211:return e.walkUpParenthesizedExpressions(V);default:return V}}function ie(V,z){return e.mapDefined(V.types,function(Te){return Te!==z&&e.isLiteralTypeNode(Te)&&e.isStringLiteral(Te.literal)?Te.literal.text:void 0})}function b(V,z){var Te=!1,ge=new e.Map,ke=[];z.getResolvedSignature(V.invocation,ke,V.argumentCount);var Me=e.flatMap(ke,function(Ie){if(!(!e.signatureHasRestParameter(Ie)&&V.argumentCount>Ie.parameters.length)){var Ge=z.getParameterType(Ie,V.argumentIndex);return Te=Te||!!(Ge.flags&4),B(Ge,ge)}});return{kind:2,types:Me,isNewIdentifier:Te}}function P(V){return V&&{kind:1,symbols:e.filter(V.getApparentProperties(),function(z){return!(z.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(z.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(V)}}function S(V,z){var Te=V.getContextualType(z);if(!!Te){var ge=V.getContextualType(z,4),ke=n.getPropertiesForObjectExpression(Te,ge,z,V);return{kind:1,symbols:ke,hasIndexSignature:e.hasIndexSignature(Te)}}}function B(V,z){return z===void 0&&(z=new e.Map),V?(V=e.skipConstraint(V),V.isUnion()?e.flatMap(V.types,function(Te){return B(Te,z)}):V.isStringLiteral()&&!(V.flags&1024)&&e.addToSeen(z,V.value)?[V]:e.emptyArray):e.emptyArray}function J(V,z,Te){return{name:V,kind:z,extension:Te}}function k(V){return J(V,"directory",void 0)}function M(V,z,Te){var ge=X(V,z),ke=V.length===0?void 0:e.createTextSpan(z,V.length);return Te.map(function(Me){var Ie=Me.name,Ge=Me.kind,he=Me.extension;return Math.max(Ie.indexOf(e.directorySeparator),Ie.indexOf(e.altDirectorySeparator))!==-1?{name:Ie,kind:Ge,extension:he,span:ke}:{name:Ie,kind:Ge,extension:he,span:ge}})}function x(V,z,Te,ge,ke,Me){return M(z.text,z.getStart(V)+1,w(V,z,Te,ge,ke,Me))}function w(V,z,Te,ge,ke,Me){var Ie=e.normalizeSlashes(z.text),Ge=V.path,he=e.getDirectoryPath(Ge);return j(Ie)||!Te.baseUrl&&(e.isRootedDiskPath(Ie)||e.isUrl(Ie))?Z(Ie,he,Te,ge,Ge,ve()):I(Ie,he,Te,ge,ke);function ve(){var Ve=e.isStringLiteralLike(z)?e.getModeForUsageLocation(V,z):void 0;return Me.importModuleSpecifierEnding==="js"||Ve===e.ModuleKind.ESNext?2:0}}function K(V,z){return z===void 0&&(z=0),{extensions:e.flatten(ne(V)),includeExtensionsOption:z}}function Z(V,z,Te,ge,ke,Me){var Ie=K(Te,Me);return Te.rootDirs?Y(Te.rootDirs,V,z,Ie,Te,ge,ke):$(V,z,Ie,ge,ke)}function ne(V){var z=e.getSupportedExtensions(V);return e.getEmitModuleResolutionKind(V)===e.ModuleResolutionKind.NodeJs?e.getSupportedExtensionsWithJsonIfResolveJsonModule(V,z):z}function R(V,z,Te,ge){V=V.map(function(Me){return e.normalizePath(e.isRootedDiskPath(Me)?Me:e.combinePaths(z,Me))});var ke=e.firstDefined(V,function(Me){return e.containsPath(Me,Te,z,ge)?Te.substr(Me.length):void 0});return e.deduplicate(Gt(Gt([],V.map(function(Me){return e.combinePaths(Me,ke)}),!0),[Te],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function Y(V,z,Te,ge,ke,Me,Ie){var Ge=ke.project||Me.getCurrentDirectory(),he=!(Me.useCaseSensitiveFileNames&&Me.useCaseSensitiveFileNames()),ve=R(V,Ge,Te,he);return e.flatMap(ve,function(Ve){return $(z,Ve,ge,Me,Ie)})}var U;(function(V){V[V.Exclude=0]="Exclude",V[V.Include=1]="Include",V[V.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion"})(U||(U={}));function $(V,z,Te,ge,ke,Me){var Ie=Te.extensions,Ge=Te.includeExtensionsOption;Me===void 0&&(Me=[]),V===void 0&&(V=""),V=e.normalizeSlashes(V),e.hasTrailingDirectorySeparator(V)||(V=e.getDirectoryPath(V)),V===""&&(V="."+e.directorySeparator),V=e.ensureTrailingDirectorySeparator(V);var he=e.resolvePath(z,V),ve=e.hasTrailingDirectorySeparator(he)?he:e.getDirectoryPath(he),Ve=!(ge.useCaseSensitiveFileNames&&ge.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(ge,ve))return Me;var _e=e.tryReadDirectory(ge,ve,Ie,void 0,["./*"]);if(_e){for(var Le=new e.Map,qe=0,Xe=_e;qe=Xe.pos&&z<=Xe.end});if(!!Ie){var Ge=V.text.slice(Ie.pos,z),he=Se.exec(Ge);if(!!he){var ve=he[1],Ve=he[2],_e=he[3],Le=e.getDirectoryPath(V.path),qe=Ve==="path"?$(_e,Le,K(Te,1),ge,V.path):Ve==="types"?te(ge,Te,Le,y(_e),K(Te)):e.Debug.fail();return M(_e,Ie.pos+ve.length,qe)}}}function te(V,z,Te,ge,ke,Me){Me===void 0&&(Me=[]);for(var Ie=new e.Map,Ge=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(z,V)})||e.emptyArray,he=0,ve=Ge;he=2&&V.charCodeAt(0)===46){var z=V.length>=3&&V.charCodeAt(1)===46?2:1,Te=V.charCodeAt(z);return Te===47||Te===92}return!1}var Se=/^(\/\/\/\s*"),Ze=e.createTextSpanFromNode(Ee.tagName),xr={name:me,kind:"class",kindModifiers:void 0,sortText:f.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:Ze,entries:[xr]}}}function I(fe,je,Ee,We,ee){e.getNameTable(fe).forEach(function(Ne,me){if(Ne!==je){var Ze=e.unescapeLeadingUnderscores(me);!Ee.has(Ze)&&e.isIdentifierText(Ze,We)&&(Ee.add(Ze),ee.push({name:Ze,kind:"warning",kindModifiers:"",sortText:f.JavascriptIdentifiers,isFromUncheckedFile:!0}))}})}function y(fe,je,Ee){return typeof Ee=="object"?e.pseudoBigIntToString(Ee)+"n":e.isString(Ee)?e.quote(fe,je,Ee):JSON.stringify(Ee)}function D(fe,je,Ee){return{name:y(fe,je,Ee),kind:"string",kindModifiers:"",sortText:f.LocationPriority}}function C(fe,je,Ee,We,ee,Ne,me,Ze,xr,fr,dr,et,yt,Wr,tr,Ir,kr,zr,gt,vt,ut){var ht,xt,wt,Qt=e.getReplacementSpanForContextToken(Ee),mt,rn,sa=O(dr),ba,Jn,na=Ze.getTypeChecker(),Wn=dr&&b(dr),en=dr&&H(dr)||fr;if(dr&&N(dr))wt=fr?"this".concat(Wn?"?.":"","[").concat(Se(Ne,zr,xr),"]"):"this".concat(Wn?"?.":".").concat(xr);else if((en||Wn)&&yt){wt=en?fr?"[".concat(Se(Ne,zr,xr),"]"):"[".concat(xr,"]"):xr,(Wn||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(Wr&&(wt===void 0&&(wt=xr),wt="{".concat(wt,"}"),typeof Wr!="boolean"&&(Qt=e.createTextSpanFromNode(Wr,Ne))),dr&&ie(dr)&&yt){wt===void 0&&(wt=xr);var qt=e.findPrecedingToken(yt.pos,Ne),Pn="";qt&&e.positionIsASICandidate(qt.end,qt.parent,Ne)&&(Pn=";"),Pn+="(await ".concat(yt.expression.getText(),")"),wt=fr?"".concat(Pn).concat(wt):"".concat(Pn).concat(Wn?"?.":".").concat(wt),Qt=e.createTextSpanFromBounds(yt.getStart(Ne),yt.end)}if(v(dr)&&(ba=[e.textPart(dr.moduleSpecifier)],tr&&(ht=j(xr,tr,We,dr,Ir,kr,zr),wt=ht.insertText,Qt=ht.replacementSpan,rn=zr.includeCompletionsWithSnippetText?!0:void 0)),zr.includeCompletionsWithClassMemberSnippets&&zr.includeCompletionsWithInsertText&>===3&&m(fe,ee)){var dn=void 0;xt=u(me,Ze,kr,zr,xr,fe,ee,We),wt=xt.insertText,rn=xt.isSnippet,dn=xt.importAdder,dn!=null&&dn.hasFixes()&&(Jn=!0,sa=a.ClassMemberSnippet)}if(vt&&!ut&&zr.includeCompletionsWithSnippetText&&zr.jsxAttributeCompletionStyle&&zr.jsxAttributeCompletionStyle!=="none"){var oa=zr.jsxAttributeCompletionStyle==="braces",pt=na.getTypeOfSymbolAtLocation(fe,ee);zr.jsxAttributeCompletionStyle==="auto"&&!(pt.flags&528)&&!(pt.flags&1048576&&e.find(pt.types,function(_t){return!!(_t.flags&528)}))&&(pt.flags&402653316||pt.flags&1048576&&e.every(pt.types,function(_t){return!!(_t.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(h(dr)||v(dr))&&(mt=ue(dr),Jn=!tr),{name:xr,kind:e.SymbolDisplay.getSymbolKind(na,fe,ee),kindModifiers:e.SymbolDisplay.getSymbolModifiers(na,fe),sortText:je,source:sa,hasAction:Jn?!0:void 0,isRecommended:Ce(fe,et,na)||void 0,insertText:wt,replacementSpan:Qt,sourceDisplay:ba,isSnippet:rn,isPackageJsonImport:q(dr)||void 0,isImportStatementCompletion:!!tr||void 0,data:mt}}function m(fe,je){if(e.isInJSFile(je))return!1;var Ee=106500;return!!(fe.flags&Ee)&&(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 u(fe,je,Ee,We,ee,Ne,me,Ze){var xr=e.findAncestor(me,e.isClassLike);if(!xr)return{insertText:ee};var fr,dr=ee,et=je.getTypeChecker(),yt=me.getSourceFile(),Wr=te({removeComments:!0,module:Ee.module,target:Ee.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(Ee,e.maybeBind(fe,fe.getNewLine)))}),tr=e.codefix.createImportAdder(yt,je,We,fe),Ir;if(We.includeCompletionsWithSnippetText){fr=!0;var kr=e.factory.createExpressionStatement(e.factory.createIdentifier(""));e.setSnippetElement(kr,{kind:0,order:0}),Ir=e.factory.createBlock([kr],!0)}else Ir=e.factory.createBlock([],!0);var zr=0,gt=Ze&&F(Ze)===126,vt=[];return e.codefix.addNewNodeForMemberSymbol(Ne,xr,yt,{program:je,host:fe},We,tr,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=g(Ze)),zr=ut.modifierFlagsCache|ht|xt),ut=e.factory.updateModifiers(ut,zr&~xt),vt.push(ut)},Ir,2,gt),vt.length&&(dr=Wr.printSnippetList(131073,e.factory.createNodeArray(vt),yt)),{insertText:dr,isSnippet:fr,importAdder:tr}}function g(fe){var je=0,Ee;return(Ee=F(fe))&&(je|=e.modifierToFlag(Ee)),e.isPropertyDeclaration(fe.parent)&&(je|=e.modifiersToFlags(fe.parent.modifiers)),je}function F(fe){if(e.isModifier(fe))return fe.kind;if(e.isIdentifier(fe)&&fe.originalKeywordKind&&e.isModifierKind(fe.originalKeywordKind))return fe.originalKeywordKind}function te(fe){var je=e.createPrinter(fe),Ee=e.createTextWriter(e.getNewLineCharacter(fe)),We=Rn(Rn({},Ee),{write:function(Ne){return Ee.write(e.escapeSnippetText(Ne))},nonEscapingWrite:Ee.write,writeLiteral:function(Ne){return Ee.writeLiteral(e.escapeSnippetText(Ne))},writeStringLiteral:function(Ne){return Ee.writeStringLiteral(e.escapeSnippetText(Ne))},writeSymbol:function(Ne,me){return Ee.writeSymbol(e.escapeSnippetText(Ne),me)},writeParameter:function(Ne){return Ee.writeParameter(e.escapeSnippetText(Ne))},writeComment:function(Ne){return Ee.writeComment(e.escapeSnippetText(Ne))},writeProperty:function(Ne){return Ee.writeProperty(e.escapeSnippetText(Ne))}});return{printSnippetList:ee};function ee(Ne,me,Ze){return We.clear(),je.writeList(Ne,me,Ze,We),We.getText()}}function ue(fe){var je=fe.fileName?void 0:e.stripQuotes(fe.moduleSymbol.name),Ee=fe.isFromPackageJson?!0:void 0;if(v(fe)){var We={exportName:fe.exportName,moduleSpecifier:fe.moduleSpecifier,ambientModuleName:je,fileName:fe.fileName,isPackageJsonImport:Ee};return We}var ee={exportName:fe.exportName,exportMapKey:fe.exportMapKey,fileName:fe.fileName,ambientModuleName:fe.fileName?void 0:e.stripQuotes(fe.moduleSymbol.name),isPackageJsonImport:fe.isFromPackageJson?!0:void 0};return ee}function X(fe,je,Ee){var We=fe.exportName==="default",ee=!!fe.isPackageJsonImport;if(k(fe)){var Ne={kind:32,exportName:fe.exportName,moduleSpecifier:fe.moduleSpecifier,symbolName:je,fileName:fe.fileName,moduleSymbol:Ee,isDefaultExport:We,isFromPackageJson:ee};return Ne}var me={kind:4,exportName:fe.exportName,exportMapKey:fe.exportMapKey,symbolName:je,fileName:fe.fileName,moduleSymbol:Ee,isDefaultExport:We,isFromPackageJson:ee};return me}function j(fe,je,Ee,We,ee,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),Wr=We.isDefaultExport?1:We.exportName==="export="?2:0,tr=me.includeCompletionsWithSnippetText?"$1":"",Ir=e.codefix.getImportKind(dr,Wr,Ne,!0),kr=((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=cn(je,Ee),gt=kr?" ".concat(e.tokenToString(151)," "):" ",vt=zr?"".concat(e.tokenToString(151)," "):"",ut=ee?";":"";switch(Ir){case 3:return{replacementSpan:et,insertText:"import".concat(gt).concat(e.escapeSnippetText(fe)).concat(tr," = require(").concat(yt,")").concat(ut)};case 1:return{replacementSpan:et,insertText:"import".concat(gt).concat(e.escapeSnippetText(fe)).concat(tr," from ").concat(yt).concat(ut)};case 2:return{replacementSpan:et,insertText:"import".concat(gt,"* as ").concat(e.escapeSnippetText(fe)," from ").concat(yt).concat(ut)};case 0:return{replacementSpan:et,insertText:"import".concat(gt,"{ ").concat(vt).concat(e.escapeSnippetText(fe)).concat(tr," } from ").concat(yt).concat(ut)}}}function Se(fe,je,Ee){return/^\d+$/.test(Ee)?Ee:e.quote(fe,je,Ee)}function Ce(fe,je,Ee){return fe===je||!!(fe.flags&1048576)&&Ee.getExportSymbolOfSymbol(fe)===je}function O(fe){if(h(fe))return e.stripQuotes(fe.moduleSymbol.name);if(v(fe))return fe.moduleSpecifier;if((fe==null?void 0:fe.kind)===1)return a.ThisProperty}function Q(fe,je,Ee,We,ee,Ne,me,Ze,xr,fr,dr,et,yt,Wr,tr,Ir,kr,zr,gt,vt,ut,ht,xt){for(var wt,Qt=e.timestamp(),mt=zn(ee),rn=e.probablyUsesSemicolons(Ne),sa=Ze.getTypeChecker(),ba=new e.Map,Jn=0;Jn0&&(_t=e.concatenate(_t,ta(Mn,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)||(Wn=8);var Mn=(bt.kind===268?bt.parent.parent:bt.parent).moduleSpecifier;if(!Mn)return en=!0,bt.kind===268?2:0;var da=fr.getSymbolAtLocation(Mn);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!cs(ka)}).map(function(ka){return(ka.propertyName||ka.name).escapedText})),xi=ei.filter(function(ka){return ka.escapedName!=="default"&&!bi.has(ka.escapedName)});return _t=e.concatenate(_t,xi),xi.length||(Wn=0),1}function Un(){var bt,Mn=ut&&(ut.kind===18||ut.kind===27)?e.tryCast(ut.parent,e.isNamedExports):void 0;if(!Mn)return 0;var da=e.findAncestor(Mn,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;_t.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 Oe(){var bt=Fr(Ee,ut,na,ee);if(!bt)return 0;if(dn=3,en=!0,Wn=ut.kind===41?0:e.isClassLike(bt)?2:3,!e.isClassLike(bt))return 1;var Mn=ut.kind===26?ut.parent.parent:ut.parent,da=e.isClassElement(Mn)?e.getEffectiveModifierFlags(Mn):0;if(ut.kind===79&&!cs(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(Mn)&&(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)});_t=e.concatenate(_t,Ji(bi,bt.members,da))}return 1}function oe(bt){if(bt){var Mn=bt.parent;switch(bt.kind){case 18:case 27:if(e.isObjectLiteralExpression(Mn)||e.isObjectBindingPattern(Mn))return Mn;break;case 41:return e.isMethodDeclaration(Mn)?e.tryCast(Mn.parent,e.isObjectLiteralExpression):void 0;case 79:return bt.text==="async"&&e.isShorthandPropertyAssignment(bt.parent)?bt.parent.parent:void 0}}}function mr(bt){return!!bt.parent&&e.isParameter(bt.parent)&&e.isConstructorDeclaration(bt.parent.parent)&&(e.isParameterPropertyModifier(bt.kind)||e.isDeclarationName(bt))}function se(bt){if(bt){var Mn=bt.parent;switch(bt.kind){case 20:case 27:return e.isConstructorDeclaration(bt.parent)?bt.parent:void 0;default:if(mr(bt))return Mn.parent}}}function Be(bt){if(bt){var Mn,da=e.findAncestor(bt.parent,function(ei){return e.isClassLike(ei)?"quit":e.isFunctionLikeDeclaration(ei)&&Mn===ei.body?!0:(Mn=ei,!1)});return da&&da}}function er(bt){if(bt){var Mn=bt.parent;switch(bt.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(Mn&&(Mn.kind===278||Mn.kind===279)){if(bt.kind===31){var da=e.findPrecedingToken(bt.pos,Ee,void 0);if(!Mn.typeArguments||da&&da.kind===43)break}return Mn}else if(Mn.kind===284)return Mn.parent.parent;break;case 10:if(Mn&&(Mn.kind===284||Mn.kind===286))return Mn.parent.parent;break;case 19:if(Mn&&Mn.kind===287&&Mn.parent&&Mn.parent.kind===284)return Mn.parent.parent.parent;if(Mn&&Mn.kind===286)return Mn.parent.parent;break}}}function hr(bt){var Mn=bt.parent,da=Mn.kind;switch(bt.kind){case 27:return da===253||Sn(bt)||da===236||da===259||Dt(da)||da===257||da===201||da===258||e.isClassLike(Mn)&&!!Mn.typeParameters&&Mn.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(Mn.parent);case 25:return da===163||!!Mn.parent&&Mn.parent.kind===201;case 123:case 121:case 122:return da===163&&!e.isConstructorDeclaration(Mn.parent);case 127:return da===269||da===274||da===267;case 136:case 148:return!Jr(bt);case 79:if(da===269&&bt===Mn.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(Pe(ur(bt))&&Jr(bt)||mr(bt)&&(!e.isIdentifier(bt)||e.isParameterPropertyModifier(ur(bt))||cs(bt)))return!1;switch(ur(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&&qr(bt,ee))return!1;var bi=e.getAncestor(bt.parent,166);if(bi&&bt!==vt&&e.isClassLike(vt.parent.parent)&&ee<=vt.end){if(qr(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||ee>vt.end))}function qr(bt,Mn){return bt.kind!==63&&(bt.kind===26||!e.positionsAreOnSameLine(bt.end,Mn,Ee))}function Dt(bt){return e.isFunctionLikeKind(bt)&&bt!==170}function Jt(bt){if(bt.kind===8){var Mn=bt.getFullText();return Mn.charAt(Mn.length-1)==="."}return!1}function Sn(bt){return bt.parent.kind===254&&!e.isPossiblyTypeArgumentPosition(bt,Ee,fr)}function ta(bt,Mn){if(Mn.length===0)return bt;for(var da=new e.Set,ei=new e.Set,bi=0,xi=Mn;bi=0&&!S(T,I[y],115);y--);return e.forEach(v($.statement),function(D){q($,D)&&S(T,D.getFirstToken(),81,86)}),T}function J($){var T=ie($);if(T)switch(T.kind){case 241:case 242:case 243:case 239:case 240:return B(T);case 248:return k(T)}}function k($){var T=[];return S(T,$.getFirstToken(),107),e.forEach($.caseBlock.clauses,function(I){S(T,I.getFirstToken(),82,88),e.forEach(v(I),function(y){q($,y)&&S(T,y.getFirstToken(),81)})}),T}function M($,T){var I=[];if(S(I,$.getFirstToken(),111),$.catchClause&&S(I,$.catchClause.getFirstToken(),83),$.finallyBlock){var y=e.findChildOfKind($,96,T);S(I,y,96)}return I}function x($,T){var I=h($);if(!!I){var y=[];return e.forEach(H(I),function(D){y.push(e.findChildOfKind(D,109,T))}),e.isFunctionBlock(I)&&e.forEachReturnStatement(I,function(D){y.push(e.findChildOfKind(D,105,T))}),y}}function w($,T){var I=e.getContainingFunction($);if(!!I){var y=[];return e.forEachReturnStatement(e.cast(I.body,e.isBlock),function(D){y.push(e.findChildOfKind(D,105,T))}),e.forEach(H(I.body),function(D){y.push(e.findChildOfKind(D,109,T))}),y}}function K($){var T=e.getContainingFunction($);if(!!T){var I=[];return T.modifiers&&T.modifiers.forEach(function(y){S(I,y,131)}),e.forEachChild(T,function(y){ne(y,function(D){e.isAwaitExpression(D)&&S(I,D.getFirstToken(),132)})}),I}}function Z($){var T=e.getContainingFunction($);if(!!T){var I=[];return e.forEachChild(T,function(y){ne(y,function(D){e.isYieldExpression(D)&&S(I,D.getFirstToken(),125)})}),I}}function ne($,T){T($),!e.isFunctionLike($)&&!e.isClassLike($)&&!e.isInterfaceDeclaration($)&&!e.isModuleDeclaration($)&&!e.isTypeAliasDeclaration($)&&!e.isTypeNode($)&&e.forEachChild($,function(I){return ne(I,T)})}function R($,T){for(var I=Y($,T),y=[],D=0;D=C.end;g--)if(!e.isWhiteSpaceSingleLine(T.text.charCodeAt(g))){u=!1;break}if(u){y.push({fileName:T.fileName,textSpan:e.createTextSpanFromBounds(C.getStart(),m.end),kind:"reference"}),D++;continue}}y.push(d(I[D],T))}return y}function Y($,T){for(var I=[];e.isIfStatement($.parent)&&$.parent.elseStatement===$;)$=$.parent;for(;;){var y=$.getChildren(T);S(I,y[0],99);for(var D=y.length-1;D>=0&&!S(I,y[D],91);D--);if(!$.elseStatement||!e.isIfStatement($.elseStatement))break;$=$.elseStatement}return I}function U($,T){return!!e.findAncestor($.parent,function(I){return e.isLabeledStatement(I)?I.label.escapedText===T:"quit"})}})(e.DocumentHighlights||(e.DocumentHighlights={}))})(gr||(gr={}));var gr;(function(e){function n(p){return!!p.sourceFile}function f(p,N){return d(p,N)}e.createDocumentRegistry=f;function d(p,N,H){N===void 0&&(N="");var h=new e.Map,v=e.createGetCanonicalFileName(!!p);function A(){var x=e.arrayFrom(h.keys()).filter(function(w){return w&&w.charAt(0)==="_"}).map(function(w){var K=h.get(w),Z=[];return K.forEach(function(ne,R){n(ne)?Z.push({name:R,scriptKind:ne.sourceFile.scriptKind,refCount:ne.languageServiceRefCount}):ne.forEach(function(Y,U){return Z.push({name:R,scriptKind:U,refCount:Y.languageServiceRefCount})})}),Z.sort(function(ne,R){return R.refCount-ne.refCount}),{bucket:w,sourceFiles:Z}});return JSON.stringify(x,void 0,2)}function q(x,w,K,Z,ne){var R=e.toPath(x,N,v),Y=a(w);return ie(x,R,w,Y,K,Z,ne)}function ie(x,w,K,Z,ne,R,Y){return B(x,w,K,Z,ne,R,!0,Y)}function b(x,w,K,Z,ne){var R=e.toPath(x,N,v),Y=a(w);return P(x,R,w,Y,K,Z,ne)}function P(x,w,K,Z,ne,R,Y){return B(x,w,K,Z,ne,R,!1,Y)}function S(x,w){var K=n(x)?x:x.get(e.Debug.checkDefined(w,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(w===void 0||!K||K.sourceFile.scriptKind===w,"Script kind should match provided ScriptKind:".concat(w," and sourceFile.scriptKind: ").concat(K==null?void 0:K.sourceFile.scriptKind,", !entry: ").concat(!K)),K}function B(x,w,K,Z,ne,R,Y,U){U=e.ensureScriptKind(x,U);var $=U===6?100:e.getEmitScriptTarget(K),T=e.getOrUpdate(h,Z,function(){return new e.Map}),I=T.get(w),y=I&&S(I,U);if(!y&&H){var D=H.getDocument(Z,w);D&&(e.Debug.assert(Y),y={sourceFile:D,languageServiceRefCount:0},C())}if(y)y.sourceFile.version!==R&&(y.sourceFile=e.updateLanguageServiceSourceFile(y.sourceFile,ne,R,ne.getChangeRange(y.sourceFile.scriptSnapshot)),H&&H.setDocument(Z,w,y.sourceFile)),Y&&y.languageServiceRefCount++;else{var D=e.createLanguageServiceSourceFile(x,ne,$,R,!1,U);H&&H.setDocument(Z,w,D),y={sourceFile:D,languageServiceRefCount:1},C()}return e.Debug.assert(y.languageServiceRefCount!==0),y.sourceFile;function C(){if(!I)T.set(w,y);else if(n(I)){var m=new e.Map;m.set(I.sourceFile.scriptKind,I),m.set(U,y),T.set(w,m)}else I.set(U,y)}}function J(x,w,K){var Z=e.toPath(x,N,v),ne=a(w);return k(Z,ne,K)}function k(x,w,K){var Z=e.Debug.checkDefined(h.get(w)),ne=Z.get(x),R=S(ne,K);R.languageServiceRefCount--,e.Debug.assert(R.languageServiceRefCount>=0),R.languageServiceRefCount===0&&(n(ne)?Z.delete(x):(ne.delete(K),ne.size===1&&Z.set(x,e.firstDefinedIterator(ne.values(),e.identity))))}function M(x,w){return e.arrayFrom(h.entries(),function(K){var Z=K[0],ne=K[1],R=ne.get(x),Y=R&&S(R,w);return[Z,Y&&Y.languageServiceRefCount]})}return{acquireDocument:q,acquireDocumentWithKey:ie,updateDocument:b,updateDocumentWithKey:P,releaseDocument:J,releaseDocumentWithKey:k,getLanguageServiceRefCounts:M,reportStats:A,getKeyForCompilationSettings:a}}e.createDocumentRegistryInternal=d;function a(p){return e.sourceFileAffectingCompilerOptions.map(function(N){return e.getCompilerOptionValue(p,N)}).join("|")}})(gr||(gr={}));var gr;(function(e){(function(n){function f(x,w,K,Z){var ne=H(x,K,Z);return function(R,Y,U){var $=d(x,w,ne,Y,K,Z),T=$.directImports,I=$.indirectUsers;return Rn({indirectUsers:I},a(T,R,Y.exportKind,K,U))}}n.createImportTracker=f,function(x){x[x.Named=0]="Named",x[x.Default=1]="Default",x[x.ExportEquals=2]="ExportEquals"}(n.ExportKind||(n.ExportKind={})),function(x){x[x.Import=0]="Import",x[x.Export=1]="Export"}(n.ImportExport||(n.ImportExport={}));function d(x,w,K,Z,ne,R){var Y=Z.exportingModuleSymbol,U=Z.exportKind,$=e.nodeSeenTracker(),T=e.nodeSeenTracker(),I=[],y=!!Y.globalExports,D=y?void 0:[];return m(Y),{directImports:I,indirectUsers:C()};function C(){if(y)return x;if(Y.declarations)for(var X=0,j=Y.declarations;X=0&&!(fr>ee.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(Ee,We){var ee=Ee.getSourceFile(),Ne=We.text,me=e.mapDefined(_e(ee,Ne,Ee),function(Ze){return Ze===We||e.isJumpStatementTarget(Ze)&&e.getTargetLabel(Ze,Ne)===We?f(Ze):void 0});return[{definition:{type:1,node:We},references:me}]}function Xe(Ee,We){switch(Ee.kind){case 80:if(e.isJSDocMemberName(Ee.parent))return!0;case 79:return Ee.text.length===We.length;case 14:case 10:{var ee=Ee;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(ee)||e.isNameOfModuleDeclaration(Ee)||e.isExpressionOfExternalModuleImportEqualsDeclaration(Ee)||e.isCallExpression(Ee.parent)&&e.isBindableObjectDefinePropertyCall(Ee.parent)&&Ee.parent.arguments[1]===Ee)&&ee.text.length===We.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Ee)&&Ee.text.length===We.length;case 88:return We.length===7;default:return!1}}function De(Ee,We,ee,Ne){var me=e.flatMap(Ee,function(Ze){return ee.throwIfCancellationRequested(),e.mapDefined(_e(Ze,e.tokenToString(We),Ze),function(xr){if(xr.kind===We&&(!Ne||Ne(xr)))return f(xr)})});return me.length?[{definition:{type:2,node:me[0].node},references:me}]:void 0}function Ae(Ee,We,ee,Ne){return Ne===void 0&&(Ne=!0),ee.cancellationToken.throwIfCancellationRequested(),Ye(Ee,Ee,We,ee,Ne)}function Ye(Ee,We,ee,Ne,me){if(!!Ne.markSearchedSymbols(We,ee.allSearchSymbols))for(var Ze=0,xr=Le(We,ee.text,Ee);Ze0;Ae--){var Xe=qe[Ae];ne(_e,Xe)}return[qe.length-1,qe[0]]}function ne(_e,Le){var qe=x(_e,Le);J(h,qe),H.push(h),v.push(A),A=void 0,h=qe}function R(){h.children&&(I(h.children,h),ue(h.children)),h=H.pop(),A=v.pop()}function Y(_e,Le,qe){ne(_e,qe),T(Le),R()}function U(_e){_e.initializer&&ve(_e.initializer)?(ne(_e),e.forEachChild(_e.initializer,T),R()):Y(_e,_e.initializer)}function $(_e){return!e.hasDynamicName(_e)||_e.kind!==220&&e.isPropertyAccessExpression(_e.name.expression)&&e.isIdentifier(_e.name.expression.expression)&&e.idText(_e.name.expression.expression)==="Symbol"}function T(_e){var Le;if(p.throwIfCancellationRequested(),!(!_e||e.isToken(_e)))switch(_e.kind){case 170:var qe=_e;Y(qe,qe.body);for(var Xe=0,De=qe.parameters;Xe0&&(ne(Fr,ze),e.forEachChild(Fr.right,T),R()):e.isFunctionExpression(Fr.right)||e.isArrowFunction(Fr.right)?Y(_e,Fr.right,ze):(ne(Fr,ze),Y(_e,Fr.right,He.name),R()),K(Jr);return}case 7:case 9:{var Ar=_e,ze=Dr===7?Ar.arguments[0]:Ar.arguments[0].expression,Yr=Ar.arguments[1],lt=Z(_e,ze),Jr=lt[0],tt=lt[1];ne(_e,tt),ne(_e,e.setTextRange(e.factory.createIdentifier(Yr.text),Yr)),T(_e.arguments[2]),R(),R(),K(Jr);return}case 5:{var Fr=_e,He=Fr.left,Rt=He.expression;if(e.isIdentifier(Rt)&&e.getElementOrPropertyAccessName(He)!=="prototype"&&A&&A.has(Rt.text)){e.isFunctionExpression(Fr.right)||e.isArrowFunction(Fr.right)?Y(_e,Fr.right,Rt):e.isBindableStaticAccessExpression(He)&&(ne(Fr,Rt),Y(Fr.left,Fr.right,e.getNameOrArgument(He)),R());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(Dr)}}default:e.hasJSDocNodes(_e)&&e.forEach(_e.jsDoc,function(cn){e.forEach(cn.tags,function(bn){e.isJSDocTypeAlias(bn)&&M(bn)})}),e.forEachChild(_e,T)}}function I(_e,Le){var qe=new e.Map;e.filterMutate(_e,function(Xe,De){var Ae=Xe.name||e.getNameOfDeclaration(Xe.node),Ye=Ae&&S(Ae);if(!Ye)return!0;var Lr=qe.get(Ye);if(!Lr)return qe.set(Ye,Xe),!0;if(Lr instanceof Array){for(var Er=0,lr=Lr;Er0)return Ve(qe)}switch(_e.kind){case 303:var Xe=_e;return e.isExternalModule(Xe)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Xe.fileName)))),'"'):"";case 270:return e.isExportAssignment(_e)&&_e.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:return e.getSyntacticModifierFlags(_e)&512?"default":Ge(_e);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return""}}function Ce(_e){var Le=[];function qe(De){if(Xe(De)&&(Le.push(De),De.children))for(var Ae=0,Ye=De.children;Ae0)return Ve(e.declarationNameToString(_e.name));if(e.isVariableDeclaration(Le))return Ve(e.declarationNameToString(Le.name));if(e.isBinaryExpression(Le)&&Le.operatorToken.kind===63)return S(Le.left).replace(d,"");if(e.isPropertyAssignment(Le))return S(Le.name);if(e.getSyntacticModifierFlags(_e)&512)return"default";if(e.isClassLike(_e))return"";if(e.isCallExpression(Le)){var qe=he(Le.expression);if(qe!==void 0){if(qe=Ve(qe),qe.length>a)return"".concat(qe," callback");var Xe=Ve(e.mapDefined(Le.arguments,function(De){return e.isStringLiteralLike(De)?De.getText(N):void 0}).join(", "));return"".concat(qe,"(").concat(Xe,") callback")}}return""}function he(_e){if(e.isIdentifier(_e))return _e.text;if(e.isPropertyAccessExpression(_e)){var Le=he(_e.expression),qe=_e.name.text;return Le===void 0?qe:"".concat(Le,".").concat(qe)}else return}function ve(_e){switch(_e.kind){case 213:case 212:case 225:return!0;default:return!1}}function Ve(_e){return _e=_e.length>a?_e.substring(0,a)+"...":_e,_e.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(e.NavigationBar||(e.NavigationBar={}))})(gr||(gr={}));var gr;(function(e){(function(n){function f(K,Z,ne,R,Y,U){var $=e.textChanges.ChangeTracker.fromContext({host:ne,formatContext:Z,preferences:Y}),T=function(te){return e.stableSort(N(d(te,K,R,U)),function(ue,X){return M(ue,X)})},I=K.statements.filter(e.isImportDeclaration);F(I,T);var y=K.statements.filter(e.isExportDeclaration);F(y,h);for(var D=0,C=K.statements.filter(e.isAmbientModule);D0?C[0]:u[0],z=Q.length===0?j?void 0:e.factory.createNamedImports(e.emptyArray):u.length===0?e.factory.createNamedImports(Q):e.factory.updateNamedImports(u[0].importClause.namedBindings,Q);D&&j&&z?($.push(v(V,j,void 0)),$.push(v((Z=u[0])!==null&&Z!==void 0?Z:V,void 0,z))):$.push(v(V,j,z))}}return $}n.coalesceImports=N;function H(K){for(var Z,ne={defaultImports:[],namespaceImports:[],namedImports:[]},R={defaultImports:[],namespaceImports:[],namedImports:[]},Y=0,U=K;Y1&&k.push(v(x,w,"comment"))}}function h(S,B,J,k){e.isJsxText(S)||H(S.pos,B,J,k)}function v(S,B,J){return b(e.createTextSpanFromBounds(S,B),J)}function A(S,B){switch(S.kind){case 234:if(e.isFunctionLike(S.parent))return q(S.parent,S,B);switch(S.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return Y(S.parent);case 251:var J=S.parent;if(J.tryBlock===S)return Y(S.parent);if(J.finallyBlock===S){var k=e.findChildOfKind(J,96,B);if(k)return Y(k)}default:return b(e.createTextSpanFromNode(S,B),"code")}case 261:return Y(S.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return Y(S);case 183:return Y(S,!1,!e.isTupleTypeNode(S.parent),22);case 288:case 289:return U(S.statements);case 204:return R(S);case 203:return R(S,22);case 277:return w(S);case 281:return K(S);case 278:case 279:return Z(S.attributes);case 222:case 14:return ne(S);case 201:return Y(S,!1,!e.isBindingElement(S.parent),22);case 213:return x(S);case 207:return M(S)}function M($){if(!!$.arguments.length){var T=e.findChildOfKind($,20,B),I=e.findChildOfKind($,21,B);if(!(!T||!I||e.positionsAreOnSameLine(T.pos,I.pos,B)))return ie(T,I,$,B,!1,!0)}}function x($){if(!(e.isBlock($.body)||e.positionsAreOnSameLine($.body.getFullStart(),$.body.getEnd(),B))){var T=e.createTextSpanFromBounds($.body.getFullStart(),$.body.getEnd());return b(T,"code",e.createTextSpanFromNode($))}}function w($){var T=e.createTextSpanFromBounds($.openingElement.getStart(B),$.closingElement.getEnd()),I=$.openingElement.tagName.getText(B),y="<"+I+">...";return b(T,"code",T,!1,y)}function K($){var T=e.createTextSpanFromBounds($.openingFragment.getStart(B),$.closingFragment.getEnd()),I="<>...";return b(T,"code",T,!1,I)}function Z($){if($.properties.length!==0)return v($.getStart(B),$.getEnd(),"code")}function ne($){if(!($.kind===14&&$.text.length===0))return v($.getStart(B),$.getEnd(),"code")}function R($,T){return T===void 0&&(T=18),Y($,!1,!e.isArrayLiteralExpression($.parent)&&!e.isCallExpression($.parent),T)}function Y($,T,I,y,D){T===void 0&&(T=!1),I===void 0&&(I=!0),y===void 0&&(y=18),D===void 0&&(D=y===18?19:23);var C=e.findChildOfKind(S,y,B),m=e.findChildOfKind(S,D,B);return C&&m&&ie(C,m,$,B,T,I)}function U($){return $.length?b(e.createTextSpanFromRange($),"code"):void 0}}function q(S,B,J){var k=P(S,B,J),M=e.findChildOfKind(B,19,J);return k&&M&&ie(k,M,S,J,S.kind!==213)}function ie(S,B,J,k,M,x){M===void 0&&(M=!1),x===void 0&&(x=!0);var w=e.createTextSpanFromBounds(x?S.getFullStart():S.getStart(k),B.getEnd());return b(w,"code",e.createTextSpanFromNode(J,k),M)}function b(S,B,J,k,M){return J===void 0&&(J=S),k===void 0&&(k=!1),M===void 0&&(M="..."),{textSpan:S,kind:B,hintSpan:J,bannerText:M,autoCollapse:k}}function P(S,B,J){if(e.isNodeArrayMultiLine(S.parameters,J)){var k=e.findChildOfKind(S,20,J);if(k)return k}return e.findChildOfKind(B,18,J)}})(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))})(gr||(gr={}));var gr;(function(e){var n;(function(y){y[y.exact=0]="exact",y[y.prefix=1]="prefix",y[y.substring=2]="substring",y[y.camelCase=3]="camelCase"})(n=e.PatternMatchKind||(e.PatternMatchKind={}));function f(y,D){return{kind:y,isCaseSensitive:D}}function d(y){var D=new e.Map,C=y.trim().split(".").map(function(m){return b(m.trim())});if(!C.some(function(m){return!m.subWordTextChunks.length}))return{getFullMatch:function(m,u){return a(m,u,C,D)},getMatchForLastSegmentOfPattern:function(m){return H(m,e.last(C),D)},patternContainsDots:C.length>1}}e.createPatternMatcher=d;function a(y,D,C,m){var u=H(D,e.last(C),m);if(!!u&&!(C.length-1>y.length)){for(var g,F=C.length-2,te=y.length-1;F>=0;F-=1,te-=1)g=h(g,H(y[te],C[F],m));return g}}function p(y,D){var C=D.get(y);return C||D.set(y,C=Z(y)),C}function N(y,D,C){var m=B(y,D.textLowerCase);if(m===0)return f(D.text.length===y.length?n.exact:n.prefix,e.startsWith(y,D.text));if(D.isLowerCase){if(m===-1)return;for(var u=p(y,C),g=0,F=u;g0)return f(n.substring,!0);if(D.characterSpans.length>0){var ue=p(y,C),X=ie(y,ue,D,!1)?!0:ie(y,ue,D,!0)?!1:void 0;if(X!==void 0)return f(n.camelCase,X)}}}function H(y,D,C){if(I(D.totalTextChunk.text,function(X){return X!==32&&X!==42})){var m=N(y,D.totalTextChunk,C);if(m)return m}for(var u=D.subWordTextChunks,g,F=0,te=u;F=65&&y<=90)return!0;if(y<127||!e.isUnicodeIdentifierStart(y,99))return!1;var D=String.fromCharCode(y);return D===D.toUpperCase()}function S(y){if(y>=97&&y<=122)return!0;if(y<127||!e.isUnicodeIdentifierStart(y,99))return!1;var D=String.fromCharCode(y);return D===D.toLowerCase()}function B(y,D){for(var C=y.length-D.length,m=function(F){if(I(D,function(te,ue){return J(y.charCodeAt(ue+F))===te}))return{value:F}},u=0;u<=C;u++){var g=m(u);if(typeof g=="object")return g.value}return-1}function J(y){return y>=65&&y<=90?97+(y-65):y<127?y:String.fromCharCode(y).toLowerCase().charCodeAt(0)}function k(y){return y>=48&&y<=57}function M(y){return P(y)||S(y)||k(y)||y===95||y===36}function x(y){for(var D=[],C=0,m=0,u=0;u0&&(D.push(w(y.substr(C,m))),m=0)}return m>0&&D.push(w(y.substr(C,m))),D}function w(y){var D=y.toLowerCase();return{text:y,textLowerCase:D,isLowerCase:y===D,characterSpans:K(y)}}function K(y){return ne(y,!1)}e.breakIntoCharacterSpans=K;function Z(y){return ne(y,!0)}e.breakIntoWordSpans=Z;function ne(y,D){for(var C=[],m=0,u=1;uie)break e;var K=e.singleOrUndefined(e.getTrailingCommentRanges(b.text,x.end));if(K&&K.kind===2&&T(K.pos,K.end),d(b,ie,x)){if(e.isBlock(x)||e.isTemplateSpan(x)||e.isTemplateHead(x)||e.isTemplateTail(x)||M&&e.isTemplateHead(M)||e.isVariableDeclarationList(x)&&e.isVariableStatement(B)||e.isSyntaxList(x)&&e.isVariableDeclarationList(B)||e.isVariableDeclaration(x)&&e.isSyntaxList(B)&&J.length===1||e.isJSDocTypeExpression(x)||e.isJSDocSignature(x)||e.isJSDocTypeLiteral(x)){B=x;break}if(e.isTemplateSpan(B)&&w&&e.isTemplateMiddleOrTemplateTail(w)){var Z=x.getFullStart()-2,ne=w.getStart()+1;$(Z,ne)}var R=e.isSyntaxList(x)&&v(M)&&A(w)&&!e.positionsAreOnSameLine(M.getStart(),w.getStart(),b),Y=R?M.getEnd():x.getStart(),U=R?w.getStart():q(b,x);e.hasJSDocNodes(x)&&((P=x.jsDoc)===null||P===void 0?void 0:P.length)&&$(e.first(x.jsDoc).getStart(),U),$(Y,U),(e.isStringLiteral(x)||e.isTemplateLiteral(x))&&$(Y+1,U-1),B=x;break}if(k===J.length-1)break e}}return S;function $(I,y){if(I!==y){var D=e.createTextSpanFromBounds(I,y);(!S||!e.textSpansEqual(D,S.textSpan)&&e.textSpanIntersectsWithPosition(D,ie))&&(S=Rn({textSpan:D},S&&{parent:S}))}}function T(I,y){$(I,y);for(var D=I;b.text.charCodeAt(D)===47;)D++;$(D,y)}}n.getSmartSelectionRange=f;function d(ie,b,P){if(e.Debug.assert(P.pos<=b),b0&&e.last(j).kind===27&&Se++,Se}function w(X,j,Se,Ce){return e.Debug.assert(Se>=j.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(j)?e.isInsideTemplateLiteral(j,Se,Ce)?0:X+2:X+1}function K(X,j,Se){var Ce=e.isNoSubstitutionTemplateLiteral(X.template)?1:X.template.templateSpans.length+1;return j!==0&&e.Debug.assertLessThan(j,Ce),{isTypeParameterList:!1,invocation:{kind:0,node:X},argumentsSpan:ne(X,Se),argumentIndex:j,argumentCount:Ce}}function Z(X,j){var Se=X.getFullStart(),Ce=e.skipTrivia(j.text,X.getEnd(),!1);return e.createTextSpan(Se,Ce-Se)}function ne(X,j){var Se=X.template,Ce=Se.getStart(),O=Se.getEnd();if(Se.kind===222){var Q=e.last(Se.templateSpans);Q.literal.getFullWidth()===0&&(O=e.skipTrivia(j.text,O,!1))}return e.createTextSpan(Ce,O-Ce)}function R(X,j,Se,Ce,O){for(var Q=function(Te){e.Debug.assert(e.rangeContainsRange(Te.parent,Te),"Not a subspan",function(){return"Child: ".concat(e.Debug.formatSyntaxKind(Te.kind),", parent: ").concat(e.Debug.formatSyntaxKind(Te.parent.kind))});var ge=b(Te,j,Se,Ce);if(ge)return{value:ge}},V=X;!e.isSourceFile(V)&&(O||!e.isBlock(V));V=V.parent){var z=Q(V);if(typeof z=="object")return z.value}}function Y(X,j,Se){var Ce=X.getChildren(Se),O=Ce.indexOf(j);return e.Debug.assert(O>=0&&Ce.length>O+1),Ce[O+1]}function U(X){return X.kind===0?e.getInvokedExpression(X.node):X.called}function $(X){return X.kind===0?X.node:X.kind===1?X.called:X.node}var T=70246400;function I(X,j,Se,Ce,O,Q){var V,z=Se.isTypeParameterList,Te=Se.argumentCount,ge=Se.argumentsSpan,ke=Se.invocation,Me=Se.argumentIndex,Ie=$(ke),Ge=ke.kind===2?ke.symbol:O.getSymbolAtLocation(U(ke))||Q&&((V=j.declaration)===null||V===void 0?void 0:V.symbol),he=Ge?e.symbolToDisplayParts(O,Ge,Q?Ce:void 0,void 0):e.emptyArray,ve=e.map(X,function(Cr){return m(Cr,he,z,O,Ie,Ce)});Me!==0&&e.Debug.assertLessThan(Me,Te);for(var Ve=0,_e=0,Le=0;Le1))for(var Xe=0,De=0,Ae=qe;De=Te){Ve=_e+Xe;break}Xe++}_e+=qe.length}e.Debug.assert(Ve!==-1);var Lr={items:e.flatMapToMutable(ve,e.identity),applicableSpan:ge,selectedItemIndex:Ve,argumentIndex:Me,argumentCount:Te},Er=Lr.items[Ve];if(Er.isVariadic){var lr=e.findIndex(Er.parameters,function(Cr){return!!Cr.isRest});-1F?g.substr(0,F-3)+"...":g}function m(g){var F=71286784,te={removeComments:!0},ue=e.createPrinter(te);return e.usingSingleLineStringWriter(function(X){var j=S.typeToTypeNode(g,void 0,F,X);e.Debug.assertIsDefined(j,"should always get typenode"),ue.writeNode(4,j,h,X)})}function u(g){return g==="undefined"}}n.provideInlayHints=N})(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 f(N){var H=e.createGetCanonicalFileName(N.useCaseSensitiveFileNames()),h=N.getCurrentDirectory(),v=new e.Map,A=new e.Map;return{tryGetSourcePosition:b,tryGetGeneratedPosition:P,toLineColumnOffset:k,clearCache:M};function q(x){return e.toPath(x,h,H)}function ie(x,w){var K=q(x),Z=A.get(K);if(Z)return Z;var ne;if(N.getDocumentPositionMapper)ne=N.getDocumentPositionMapper(x,w);else if(N.readFile){var R=J(x);ne=R&&e.getDocumentPositionMapper({getSourceFileLike:J,getCanonicalFileName:H,log:function(Y){return N.log(Y)}},x,e.getLineInfo(R.text,e.getLineStarts(R)),function(Y){return!N.fileExists||N.fileExists(Y)?N.readFile(Y):void 0})}return A.set(K,ne||e.identitySourceMapConsumer),ne||e.identitySourceMapConsumer}function b(x){if(!!e.isDeclarationFileName(x.fileName)){var w=S(x.fileName);if(!!w){var K=ie(x.fileName).getSourcePosition(x);return!K||K===x?void 0:b(K)||K}}}function P(x){if(!e.isDeclarationFileName(x.fileName)){var w=S(x.fileName);if(!!w){var K=N.getProgram();if(!K.isSourceOfProjectReferenceRedirect(w.fileName)){var Z=K.getCompilerOptions(),ne=e.outFile(Z),R=ne?e.removeFileExtension(ne)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(x.fileName,K.getCompilerOptions(),h,K.getCommonSourceDirectory(),H);if(R!==void 0){var Y=ie(R,x.fileName).getGeneratedPosition(x);return Y===x?void 0:Y}}}}}function S(x){var w=N.getProgram();if(!!w){var K=q(x),Z=w.getSourceFileByPath(K);return Z&&Z.resolvedPath===K?Z:void 0}}function B(x){var w=q(x),K=v.get(w);if(K!==void 0)return K||void 0;if(!N.readFile||N.fileExists&&!N.fileExists(w)){v.set(w,!1);return}var Z=N.readFile(w),ne=Z?p(Z):!1;return v.set(w,ne),ne||void 0}function J(x){return N.getSourceFileLike?N.getSourceFileLike(x):S(x)||B(x)}function k(x,w){var K=J(x);return K.getLineAndCharacterOfPosition(w)}function M(){v.clear(),A.clear()}}e.getSourceMapper=f;function d(N,H,h,v){var A=e.tryGetSourceMappingURL(h);if(A){var q=n.exec(A);if(q){if(q[1]){var ie=q[1];return a(N,e.base64decode(e.sys,ie),H)}A=void 0}}var b=[];A&&b.push(A),b.push(H+".map");for(var P=A&&e.getNormalizedAbsolutePath(A,e.getDirectoryPath(H)),S=0,B=b;Sw?!1:M.arguments.length0?e.arrayFrom(q.values()).join(","):""}n.getSymbolModifiers=N;function H(v,A,q,ie,b,P,S){var B;P===void 0&&(P=e.getMeaningFromLocation(b));var J=[],k=[],M=[],x=e.getCombinedLocalAndExportSymbolFlags(A),w=P&1?a(v,A,b):"",K=!1,Z=b.kind===108&&e.isInExpressionContext(b),ne,R,Y,U,$=!1;if(b.kind===108&&!Z)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(w!==""||x&32||x&2097152){(w==="getter"||w==="setter")&&(w="property");var T=void 0;if(ne=Z?v.getTypeAtLocation(b):v.getTypeOfSymbolAtLocation(A,b),b.parent&&b.parent.kind===205){var I=b.parent.name;(I===b||I&&I.getFullWidth()===0)&&(b=b.parent)}var y=void 0;if(e.isCallOrNewExpression(b)?y=b:(e.isCallExpressionTarget(b)||e.isNewExpressionTarget(b)||b.parent&&(e.isJsxOpeningLikeElement(b.parent)||e.isTaggedTemplateExpression(b.parent))&&e.isFunctionLike(A.valueDeclaration))&&(y=b.parent),y){T=v.getResolvedSignature(y);var D=y.kind===208||e.isCallExpression(y)&&y.expression.kind===106,C=D?ne.getConstructSignatures():ne.getCallSignatures();if(T&&!e.contains(C,T.target)&&!e.contains(C,T)&&(T=C.length?C[0]:void 0),T){switch(D&&x&32?(w="constructor",Ve(ne.symbol,w)):x&2097152?(w="alias",_e(w),J.push(e.spacePart()),D&&(T.flags&4&&(J.push(e.keywordPart(126)),J.push(e.spacePart())),J.push(e.keywordPart(103)),J.push(e.spacePart())),ve(A)):Ve(A,w),w){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":J.push(e.punctuationPart(58)),J.push(e.spacePart()),!(e.getObjectFlags(ne)&16)&&ne.symbol&&(e.addRange(J,e.symbolToDisplayParts(v,ne.symbol,ie,void 0,5)),J.push(e.lineBreakPart())),D&&(T.flags&4&&(J.push(e.keywordPart(126)),J.push(e.spacePart())),J.push(e.keywordPart(103)),J.push(e.spacePart())),Le(T,C,262144);break;default:Le(T,C)}K=!0,$=C.length>1}}else if(e.isNameOfFunctionDeclaration(b)&&!(x&98304)||b.kind===134&&b.parent.kind===170){var m=b.parent,u=A.declarations&&e.find(A.declarations,function(Xe){return Xe===(b.kind===134?m.parent:m)});if(u){var C=m.kind===170?ne.getNonNullableType().getConstructSignatures():ne.getNonNullableType().getCallSignatures();v.isImplementationOfOverload(m)?T=C[0]:T=v.getSignatureFromDeclaration(m),m.kind===170?(w="constructor",Ve(ne.symbol,w)):Ve(m.kind===173&&!(ne.symbol.flags&2048||ne.symbol.flags&4096)?ne.symbol:A,w),T&&Le(T,C),K=!0,$=C.length>1}}}if(x&32&&!K&&!Z&&(Ge(),e.getDeclarationOfKind(A,225)?_e("local class"):J.push(e.keywordPart(84)),J.push(e.spacePart()),ve(A),qe(A,q)),x&64&&P&2&&(Ie(),J.push(e.keywordPart(118)),J.push(e.spacePart()),ve(A),qe(A,q)),x&524288&&P&2&&(Ie(),J.push(e.keywordPart(151)),J.push(e.spacePart()),ve(A),qe(A,q),J.push(e.spacePart()),J.push(e.operatorPart(63)),J.push(e.spacePart()),e.addRange(J,e.typeToDisplayParts(v,v.getDeclaredTypeOfSymbol(A),ie,8388608))),x&384&&(Ie(),e.some(A.declarations,function(Xe){return e.isEnumDeclaration(Xe)&&e.isEnumConst(Xe)})&&(J.push(e.keywordPart(85)),J.push(e.spacePart())),J.push(e.keywordPart(92)),J.push(e.spacePart()),ve(A)),x&1536&&!Z){Ie();var g=e.getDeclarationOfKind(A,260),F=g&&g.name&&g.name.kind===79;J.push(e.keywordPart(F?142:141)),J.push(e.spacePart()),ve(A)}if(x&262144&&P&2)if(Ie(),J.push(e.punctuationPart(20)),J.push(e.textPart("type parameter")),J.push(e.punctuationPart(21)),J.push(e.spacePart()),ve(A),A.parent)he(),ve(A.parent,ie),qe(A.parent,ie);else{var te=e.getDeclarationOfKind(A,162);if(te===void 0)return e.Debug.fail();var g=te.parent;if(g)if(e.isFunctionLikeKind(g.kind)){he();var T=v.getSignatureFromDeclaration(g);g.kind===174?(J.push(e.keywordPart(103)),J.push(e.spacePart())):g.kind!==173&&g.name&&ve(g.symbol),e.addRange(J,e.signatureToDisplayParts(v,T,q,32))}else g.kind===258&&(he(),J.push(e.keywordPart(151)),J.push(e.spacePart()),ve(g.symbol),qe(g.symbol,q))}if(x&8){w="enum member",Ve(A,"enum member");var g=(B=A.declarations)===null||B===void 0?void 0:B[0];if((g==null?void 0:g.kind)===297){var ue=v.getConstantValue(g);ue!==void 0&&(J.push(e.spacePart()),J.push(e.operatorPart(63)),J.push(e.spacePart()),J.push(e.displayPart(e.getTextOfConstantValue(ue),typeof ue=="number"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(A.flags&2097152){if(Ie(),!K){var X=v.getAliasedSymbol(A);if(X!==A&&X.declarations&&X.declarations.length>0){var j=X.declarations[0],Se=e.getNameOfDeclaration(j);if(Se){var Ce=e.isModuleWithStringLiteralName(j)&&e.hasSyntacticModifier(j,2),O=A.name!=="default"&&!Ce,Q=H(v,X,e.getSourceFileOfNode(j),j,Se,P,O?A:X);J.push.apply(J,Q.displayParts),J.push(e.lineBreakPart()),Y=Q.documentation,U=Q.tags}else Y=X.getContextualDocumentationComment(j,v),U=X.getJsDocTags(v)}}if(A.declarations)switch(A.declarations[0].kind){case 263:J.push(e.keywordPart(93)),J.push(e.spacePart()),J.push(e.keywordPart(142));break;case 270:J.push(e.keywordPart(93)),J.push(e.spacePart()),J.push(e.keywordPart(A.declarations[0].isExportEquals?63:88));break;case 274:J.push(e.keywordPart(93));break;default:J.push(e.keywordPart(100))}J.push(e.spacePart()),ve(A),e.forEach(A.declarations,function(Xe){if(Xe.kind===264){var De=Xe;if(e.isExternalModuleImportEqualsDeclaration(De))J.push(e.spacePart()),J.push(e.operatorPart(63)),J.push(e.spacePart()),J.push(e.keywordPart(145)),J.push(e.punctuationPart(20)),J.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(De)),e.SymbolDisplayPartKind.stringLiteral)),J.push(e.punctuationPart(21));else{var Ae=v.getSymbolAtLocation(De.moduleReference);Ae&&(J.push(e.spacePart()),J.push(e.operatorPart(63)),J.push(e.spacePart()),ve(Ae,ie))}return!0}})}if(!K)if(w!==""){if(ne){if(Z?(Ie(),J.push(e.keywordPart(108))):Ve(A,w),w==="property"||w==="JSX attribute"||x&3||w==="local var"||Z){if(J.push(e.punctuationPart(58)),J.push(e.spacePart()),ne.symbol&&ne.symbol.flags&262144){var V=e.mapToDisplayParts(function(Xe){var De=v.typeParameterToDeclaration(ne,ie,f);Me().writeNode(4,De,e.getSourceFileOfNode(e.getParseTreeNode(ie)),Xe)});e.addRange(J,V)}else e.addRange(J,e.typeToDisplayParts(v,ne,ie));if(A.target&&A.target.tupleLabelDeclaration){var z=A.target.tupleLabelDeclaration;e.Debug.assertNode(z.name,e.isIdentifier),J.push(e.spacePart()),J.push(e.punctuationPart(20)),J.push(e.textPart(e.idText(z.name))),J.push(e.punctuationPart(21))}}else if(x&16||x&8192||x&16384||x&131072||x&98304||w==="method"){var C=ne.getNonNullableType().getCallSignatures();C.length&&(Le(C[0],C),$=C.length>1)}}}else w=d(v,A,b);if(k.length===0&&!$&&(k=A.getContextualDocumentationComment(ie,v)),k.length===0&&x&4&&A.parent&&A.declarations&&e.forEach(A.parent.declarations,function(Xe){return Xe.kind===303}))for(var Te=0,ge=A.declarations;Te0))break}}return M.length===0&&!$&&(M=A.getJsDocTags(v)),k.length===0&&Y&&(k=Y),M.length===0&&U&&(M=U),{displayParts:J,documentation:k,symbolKind:w,tags:M.length===0?void 0:M};function Me(){return R||(R=e.createPrinter({removeComments:!0})),R}function Ie(){J.length&&J.push(e.lineBreakPart()),Ge()}function Ge(){S&&(_e("alias"),J.push(e.spacePart()))}function he(){J.push(e.spacePart()),J.push(e.keywordPart(101)),J.push(e.spacePart())}function ve(Xe,De){S&&Xe===A&&(Xe=S);var Ae=e.symbolToDisplayParts(v,Xe,De||q,void 0,7);e.addRange(J,Ae),A.flags&16777216&&J.push(e.punctuationPart(57))}function Ve(Xe,De){Ie(),De&&(_e(De),Xe&&!e.some(Xe.declarations,function(Ae){return e.isArrowFunction(Ae)||(e.isFunctionExpression(Ae)||e.isClassExpression(Ae))&&!Ae.name})&&(J.push(e.spacePart()),ve(Xe)))}function _e(Xe){switch(Xe){case"var":case"function":case"let":case"const":case"constructor":J.push(e.textOrKeywordPart(Xe));return;default:J.push(e.punctuationPart(20)),J.push(e.textOrKeywordPart(Xe)),J.push(e.punctuationPart(21));return}}function Le(Xe,De,Ae){Ae===void 0&&(Ae=0),e.addRange(J,e.signatureToDisplayParts(v,Xe,ie,Ae|32)),De.length>1&&(J.push(e.spacePart()),J.push(e.punctuationPart(20)),J.push(e.operatorPart(39)),J.push(e.displayPart((De.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),J.push(e.spacePart()),J.push(e.textPart(De.length===2?"overload":"overloads")),J.push(e.punctuationPart(21))),k=Xe.getDocumentationComment(v),M=Xe.getJsDocTags(),De.length>1&&k.length===0&&M.length===0&&(k=De[0].getDocumentationComment(v),M=De[0].getJsDocTags())}function qe(Xe,De){var Ae=e.mapToDisplayParts(function(Ye){var Lr=v.symbolToTypeParameterDeclarations(Xe,De,f);Me().writeList(53776,Lr,e.getSourceFileOfNode(e.getParseTreeNode(De)),Ye)});e.addRange(J,Ae)}}n.getSymbolDisplayPartsDocumentationAndSymbolKind=H;function h(v){return v.parent?!1:e.forEach(v.declarations,function(A){if(A.kind===212)return!0;if(A.kind!==253&&A.kind!==255)return!1;for(var q=A.parent;!e.isFunctionBlock(q);q=q.parent)if(q.kind===303||q.kind===261)return!1;return!0})}})(e.SymbolDisplay||(e.SymbolDisplay={}))})(gr||(gr={}));var gr;(function(e){function n(p,N){var H=[],h=N.compilerOptions?a(N.compilerOptions,H):{},v=e.getDefaultCompilerOptions();for(var A in v)e.hasProperty(v,A)&&h[A]===void 0&&(h[A]=v[A]);for(var q=0,ie=e.transpileOptionValueCompilerOptions;q>=v;return k}function S(B,J){var k=(B>>J&A)+1;return e.Debug.assert((k&A)===k,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),B&~(A<=y.length)return!1;var u=y[D];if(m.end<=u.start)return!1;if(e.startEndOverlapsWithStartEnd(m.pos,m.end,u.start,u.start+u.length))return!0;D++}};function C(){return!1}}function S(T,I,y){var D=T.getStart(y);if(D===I.pos&&T.end===I.end)return D;var C=e.findPrecedingToken(I.pos,y);return!C||C.end>=I.pos?T.pos:C.end}function B(T,I,y){for(var D=-1,C;T;){var m=y.getLineAndCharacterOfPosition(T.getStart(y)).line;if(D!==-1&&m!==D)break;if(n.SmartIndenter.shouldIndentChildNode(I,T,C,y))return I.indentSize;D=m,C=T,T=T.parent}return 0}function J(T,I,y,D,C,m){var u={pos:0,end:I.text.length};return n.getFormattingScanner(I.text,y,u.pos,u.end,function(g){return x(u,T,D,C,g,m,1,function(F){return!1},I)})}n.formatNodeGivenIndentation=J;function k(T,I,y,D){if(!T)return[];var C={pos:e.getLineStartPositionForPosition(T.getStart(I),I),end:T.end};return M(C,I,y,D)}function M(T,I,y,D){var C=b(T,I);return n.getFormattingScanner(I.text,I.languageVariant,S(C,T,I),T.end,function(m){return x(T,C,n.SmartIndenter.getIndentationForNode(C,T,I,y.options),B(C,y.options,I),m,y,D,P(I.parseDiagnostics,T),I)})}function x(T,I,y,D,C,m,u,g,F){var te=m.options,ue=m.getRules,X=m.host,j=new n.FormattingContext(F,u,te),Se,Ce,O,Q,V=-1,z=[];if(C.advance(),C.isOnToken()){var Te=F.getLineAndCharacterOfPosition(I.getStart(F)).line,ge=Te;I.decorators&&(ge=F.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(I,F)).line),Ve(I,I,Te,ge,y,D)}if(!C.isOnToken()){var ke=n.SmartIndenter.nodeWillIndentChild(te,I,void 0,F,!1)?y+te.indentSize:y,Me=C.getCurrentLeadingTrivia();Me&&(_e(Me,ke,!1,function(vr){return qe(vr,F.getLineAndCharacterOfPosition(vr.pos),I,I,void 0)}),te.trimTrailingWhitespace!==!1&&Cr(Me))}return z;function Ie(vr,de,Fe,$e,Dr){if(e.rangeOverlapsWithStartEnd($e,vr,de)||e.rangeContainsStartEnd($e,vr,de)){if(Dr!==-1)return Dr}else{var Fr=F.getLineAndCharacterOfPosition(vr).line,He=e.getLineStartPositionForPosition(vr,F),pr=n.SmartIndenter.findFirstNonWhitespaceColumn(He,vr,F,te);if(Fr!==Fe||vr===pr){var Jr=n.SmartIndenter.getBaseIndentation(te);return Jr>pr?Jr:pr}}return-1}function Ge(vr,de,Fe,$e,Dr,Fr){var He=n.SmartIndenter.shouldIndentChildNode(te,vr)?te.indentSize:0;return Fr===de?{indentation:de===Q?V:Dr.getIndentation(),delta:Math.min(te.indentSize,Dr.getDelta(vr)+He)}:Fe===-1?vr.kind===20&&de===Q?{indentation:V,delta:Dr.getDelta(vr)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($e,vr,de,F)||n.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($e,vr,de,F)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($e,vr,de,F)?{indentation:Dr.getIndentation(),delta:He}:{indentation:Dr.getIndentation()+Dr.getDelta(vr),delta:He}:{indentation:Fe,delta:He}}function he(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 de=e.getNameOfDeclaration(vr);if(de)return de.kind}}function ve(vr,de,Fe,$e){return{getIndentationForComment:function(He,pr,Jr){switch(He){case 19:case 23:case 21:return Fe+Fr(Jr)}return pr!==-1?pr:Fe},getIndentationForToken:function(He,pr,Jr,ze){return!ze&&Dr(He,pr,Jr)?Fe+Fr(Jr):Fe},getIndentation:function(){return Fe},getDelta:Fr,recomputeIndentation:function(He,pr){n.SmartIndenter.shouldIndentChildNode(te,pr,vr,F)&&(Fe+=He?te.indentSize:-te.indentSize,$e=n.SmartIndenter.shouldIndentChildNode(te,vr)?te.indentSize:0)}};function Dr(He,pr,Jr){switch(pr){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(Jr.kind){case 279:case 280:case 278:case 227:return!1}break;case 22:case 23:if(Jr.kind!==194)return!1;break}return de!==He&&!(vr.decorators&&pr===he(vr))}function Fr(He){return n.SmartIndenter.nodeWillIndentChild(te,vr,He,F,!0)?$e:0}}function Ve(vr,de,Fe,$e,Dr,Fr){if(!e.rangeOverlapsWithStartEnd(T,vr.getStart(F),vr.getEnd()))return;var He=ve(vr,Fe,Dr,Fr),pr=de;for(e.forEachChild(vr,function(tt){Ar(tt,-1,vr,He,Fe,$e,!1)},function(tt){Yr(tt,vr,Fe,He)});C.isOnToken();){var Jr=C.readTokenInfo(vr);if(Jr.token.end>vr.end)break;lt(Jr,vr,He,vr)}if(!vr.parent&&C.isOnEOF()){var ze=C.readEOFTokenRange();ze.end<=vr.end&&Se&&Xe(ze,F.getLineAndCharacterOfPosition(ze.pos).line,vr,Se,O,Ce,de,He)}function Ar(tt,Rt,cn,bn,In,zn,ir,Rr){var sr=tt.getStart(F),ye=F.getLineAndCharacterOfPosition(sr).line,or=ye;tt.decorators&&(or=F.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(tt,F)).line);var fe=-1;if(ir&&e.rangeContainsRange(T,cn)&&(fe=Ie(sr,tt.end,In,T,Rt),fe!==-1&&(Rt=fe)),!e.rangeOverlapsWithStartEnd(T,tt.pos,tt.end))return tt.endsr){je.token.pos>sr&&C.skipToStartOf(tt);break}lt(je,vr,bn,vr)}if(!C.isOnToken())return Rt;if(e.isToken(tt)){var je=C.readTokenInfo(tt);if(tt.kind!==11)return e.Debug.assert(je.token.end===tt.end,"Token end is child end"),lt(je,vr,bn,tt),Rt}var Ee=tt.kind===164?ye:zn,We=Ge(tt,ye,fe,vr,bn,Ee);return Ve(tt,pr,ye,or,We.indentation,We.delta),pr=vr,Rr&&cn.kind===203&&Rt===-1&&(Rt=We.indentation),Rt}function Yr(tt,Rt,cn,bn){e.Debug.assert(e.isNodeArray(tt));var In=Z(Rt,tt),zn=bn,ir=cn;if(In!==0)for(;C.isOnToken();){var Rr=C.readTokenInfo(Rt);if(Rr.token.end>tt.pos)break;if(Rr.token.kind===In){ir=F.getLineAndCharacterOfPosition(Rr.token.pos).line,lt(Rr,Rt,bn,Rt);var sr=void 0;if(V!==-1)sr=V;else{var ye=e.getLineStartPositionForPosition(Rr.token.pos,F);sr=n.SmartIndenter.findFirstNonWhitespaceColumn(ye,Rr.token.pos,F,te)}zn=ve(Rt,cn,sr,te.indentSize)}else lt(Rr,Rt,bn,Rt)}for(var or=-1,fe=0;fe0){var zn=$(In,te);Pe(cn,bn.character,zn)}else Ke(cn,bn.character)}}}function Er(vr,de,Fe){for(var $e=vr;$eFr)){var He=lr(Dr,Fr);He!==-1&&(e.Debug.assert(He===Dr||!e.isWhiteSpaceSingleLine(F.text.charCodeAt(He-1))),Ke(He,Fr+1-He))}}}function lr(vr,de){for(var Fe=de;Fe>=vr&&e.isWhiteSpaceSingleLine(F.text.charCodeAt(Fe));)Fe--;return Fe!==de?Fe+1:-1}function Cr(vr){for(var de=Se?Se.end:T.pos,Fe=0,$e=vr;Fe<$e.length;Fe++){var Dr=$e[Fe];e.isComment(Dr.kind)&&(deg.text.length)return v(F);if(F.indentStyle===e.IndentStyle.None)return 0;var ue=e.findPrecedingToken(u,g,void 0,!0),X=n.getRangeOfEnclosingComment(g,u,ue||null);if(X&&X.kind===3)return p(g,u,F,X);if(!ue)return v(F);var j=e.isStringOrRegularExpressionOrTemplateLiteral(ue.kind);if(j&&ue.getStart(g)<=u&&u=0),ue<=X)return I(e.getStartPositionOfLine(X,u),g,u,F);var j=e.getStartPositionOfLine(ue,u),Se=T(j,g,u,F),Ce=Se.column,O=Se.character;if(Ce===0)return Ce;var Q=u.text.charCodeAt(j+O);return Q===42?Ce-1:Ce}function N(u,g,F){for(var te=g;te>0;){var ue=u.text.charCodeAt(te);if(!e.isWhiteSpaceLike(ue))break;te--}var X=e.getLineStartPositionForPosition(te,u);return I(X,te,u,F)}function H(u,g,F,te,ue,X){for(var j,Se=F;Se;){if(e.positionBelongsToNode(Se,g,u)&&C(X,Se,j,u,!0)){var Ce=B(Se,u),O=S(F,Se,te,u),Q=O!==0?ue&&O===2?X.indentSize:0:te!==Ce.line?X.indentSize:0;return A(Se,Ce,void 0,Q,u,!0,X)}var V=Y(Se,u,X,!0);if(V!==-1)return V;j=Se,Se=Se.parent}return v(X)}function h(u,g,F,te){var ue=F.getLineAndCharacterOfPosition(u.getStart(F));return A(u,ue,g,0,F,!1,te)}f.getIndentationForNode=h;function v(u){return u.baseIndentSize||0}f.getBaseIndentation=v;function A(u,g,F,te,ue,X,j){for(var Se,Ce=u.parent;Ce;){var O=!0;if(F){var Q=u.getStart(ue);O=QF.end}var V=q(Ce,u,ue),z=V.line===g.line||k(Ce,u,g.line,ue);if(O){var Te=(Se=w(u,ue))===null||Se===void 0?void 0:Se[0],ge=!!Te&&B(Te,ue).line>V.line,ke=Y(u,ue,j,ge);if(ke!==-1||(ke=b(u,Ce,g,z,ue,j),ke!==-1))return ke+te}C(j,Ce,u,ue,X)&&!z&&(te+=j.indentSize);var Me=J(Ce,u,g.line,ue);u=Ce,Ce=u.parent,g=Me?ue.getLineAndCharacterOfPosition(u.getStart(ue)):V}return te+v(j)}function q(u,g,F){var te=w(g,F),ue=te?te.pos:u.getStart(F);return F.getLineAndCharacterOfPosition(ue)}function ie(u,g,F){var te=e.findListItemInfo(u);return te&&te.listItemIndex>0?U(te.list.getChildren(),te.listItemIndex-1,g,F):-1}function b(u,g,F,te,ue,X){var j=(e.isDeclaration(u)||e.isStatementButNotDeclaration(u))&&(g.kind===303||!te);return j?$(F,ue,X):-1}var P;(function(u){u[u.Unknown=0]="Unknown",u[u.OpenBrace=1]="OpenBrace",u[u.CloseBrace=2]="CloseBrace"})(P||(P={}));function S(u,g,F,te){var ue=e.findNextToken(u,g,te);if(!ue)return 0;if(ue.kind===18)return 1;if(ue.kind===19){var X=B(ue,te).line;return F===X?2:0}return 0}function B(u,g){return g.getLineAndCharacterOfPosition(u.getStart(g))}function J(u,g,F,te){if(!(e.isCallExpression(u)&&e.contains(u.arguments,g)))return!1;var ue=u.expression.getEnd(),X=e.getLineAndCharacterOfPosition(te,ue).line;return X===F}f.isArgumentAndStartLineOverlapsExpressionBeingCalled=J;function k(u,g,F,te){if(u.kind===238&&u.elseStatement===g){var ue=e.findChildOfKind(u,91,te);e.Debug.assert(ue!==void 0);var X=B(ue,te).line;return X===F}return!1}f.childStartsOnTheSameLineWithElseInIfStatement=k;function M(u,g,F,te){if(e.isConditionalExpression(u)&&(g===u.whenTrue||g===u.whenFalse)){var ue=e.getLineAndCharacterOfPosition(te,u.condition.end).line;if(g===u.whenTrue)return F===ue;var X=B(u.whenTrue,te).line,j=e.getLineAndCharacterOfPosition(te,u.whenTrue.end).line;return ue===X&&j===F}return!1}f.childIsUnindentedBranchOfConditionalExpression=M;function x(u,g,F,te){if(e.isCallOrNewExpression(u)){if(!u.arguments)return!1;var ue=e.find(u.arguments,function(Ce){return Ce.pos===g.pos});if(!ue)return!1;var X=u.arguments.indexOf(ue);if(X===0)return!1;var j=u.arguments[X-1],Se=e.getLineAndCharacterOfPosition(te,j.getEnd()).line;if(F===Se)return!0}return!1}f.argumentStartsOnSameLineAsPreviousArgument=x;function w(u,g){return u.parent&&Z(u.getStart(g),u.getEnd(),u.parent,g)}f.getContainingList=w;function K(u,g,F){return g&&Z(u,u,g,F)}function Z(u,g,F,te){switch(F.kind){case 177:return ue(F.typeArguments);case 204:return ue(F.properties);case 203:return ue(F.elements);case 181:return ue(F.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return ue(F.typeParameters)||ue(F.parameters);case 256:case 225:case 257:case 258:case 342:return ue(F.typeParameters);case 208:case 207:return ue(F.typeArguments)||ue(F.arguments);case 254:return ue(F.declarations);case 268:case 272:return ue(F.elements);case 200:case 201:return ue(F.elements)}function ue(X){return X&&e.rangeContainsStartEnd(ne(F,X,te),u,g)?X:void 0}}function ne(u,g,F){for(var te=u.getChildren(F),ue=1;ue=0&&g=0;j--)if(u[j].kind!==27){var Se=F.getLineAndCharacterOfPosition(u[j].end).line;if(Se!==X.line)return $(X,F,te);X=B(u[j],F)}return-1}function $(u,g,F){var te=g.getPositionOfLineAndCharacter(u.line,0);return I(te,te+u.character,g,F)}function T(u,g,F,te){for(var ue=0,X=0,j=u;j0?1:0,Me=e.getStartPositionOfLine(e.getLineOfLocalPosition(u,z)+ke,u);return Me=h(u.text,Me),e.getStartPositionOfLine(e.getLineOfLocalPosition(u,Me),u)}function P(u,g,F){var te=g.end,ue=F.trailingTriviaOption;if(ue===H.Include){var X=e.getTrailingCommentRanges(u.text,te);if(X)for(var j=e.getLineOfLocalPosition(u,g.end),Se=0,Ce=X;Sej)break;var Q=e.getLineOfLocalPosition(u,O.end);if(Q>j)return e.skipTrivia(u.text,O.end,!0,!0)}}}function S(u,g,F){var te,ue=g.end,X=F.trailingTriviaOption;if(X===H.Exclude)return ue;if(X===H.ExcludeWhitespace){var j=e.concatenate(e.getTrailingCommentRanges(u.text,ue),e.getLeadingCommentRanges(u.text,ue)),Se=(te=j==null?void 0:j[j.length-1])===null||te===void 0?void 0:te.end;return Se||ue}var Ce=P(u,g,F);if(Ce)return Ce;var O=e.skipTrivia(u.text,ue,!0);return O!==ue&&(X===H.Include||e.isLineBreak(u.text.charCodeAt(O-1)))?O:ue}function B(u,g){return!!g&&!!u.parent&&(g.kind===27||g.kind===26&&u.parent.kind===204)}function J(u){return e.isFunctionExpression(u)||e.isFunctionDeclaration(u)}n.isThisTypeAnnotatable=J;var k=function(){function u(g,F){this.newLineCharacter=g,this.formatContext=F,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return u.fromContext=function(g){return new u(e.getNewLineOrDefaultFromHost(g.host,g.formatContext.options),g.formatContext)},u.with=function(g,F){var te=u.fromContext(g);return F(te),te.getChanges()},u.prototype.pushRaw=function(g,F){e.Debug.assertEqual(g.fileName,F.fileName);for(var te=0,ue=F.textChanges;te",joiner:", "})},u.prototype.getOptionsForInsertNodeBefore=function(g,F,te){return e.isStatement(g)||e.isClassElement(g)?{suffix:te?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(g)?{suffix:", "}:e.isParameter(g)?e.isParameter(F)?{suffix:", "}:{}:e.isStringLiteral(g)&&e.isImportDeclaration(g.parent)||e.isNamedImports(g)?{suffix:", "}:e.isImportSpecifier(g)?{suffix:","+(te?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(g)},u.prototype.insertNodeAtConstructorStart=function(g,F,te){var ue=e.firstOrUndefined(F.body.statements);!ue||!F.body.multiLine?this.replaceConstructorBody(g,F,Gt([te],F.body.statements,!0)):this.insertNodeBefore(g,ue,te)},u.prototype.insertNodeAtConstructorStartAfterSuperCall=function(g,F,te){var ue=e.find(F.body.statements,function(X){return e.isExpressionStatement(X)&&e.isSuperCall(X.expression)});!ue||!F.body.multiLine?this.replaceConstructorBody(g,F,Gt(Gt([],F.body.statements,!0),[te],!1)):this.insertNodeAfter(g,ue,te)},u.prototype.insertNodeAtConstructorEnd=function(g,F,te){var ue=e.lastOrUndefined(F.body.statements);!ue||!F.body.multiLine?this.replaceConstructorBody(g,F,Gt(Gt([],F.body.statements,!0),[te],!1)):this.insertNodeAfter(g,ue,te)},u.prototype.replaceConstructorBody=function(g,F,te){this.replaceNode(g,F.body,e.factory.createBlock(te,!0))},u.prototype.insertNodeAtEndOfScope=function(g,F,te){var ue=b(g,F.getLastToken(),{});this.insertNodeAt(g,ue,te,{prefix:e.isLineBreak(g.text.charCodeAt(F.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},u.prototype.insertNodeAtClassStart=function(g,F,te){this.insertNodeAtStartWorker(g,F,te)},u.prototype.insertNodeAtObjectStart=function(g,F,te){this.insertNodeAtStartWorker(g,F,te)},u.prototype.insertNodeAtStartWorker=function(g,F,te){var ue,X=(ue=this.guessIndentationFromExistingMembers(g,F))!==null&&ue!==void 0?ue:this.computeIndentationForNewMember(g,F);this.insertNodeAt(g,w(F).pos,te,this.getInsertNodeAtStartInsertOptions(g,F,X))},u.prototype.guessIndentationFromExistingMembers=function(g,F){for(var te,ue=F,X=0,j=w(F);X0?{fileName:Te.fileName,textChanges:Ie}:void 0})}u.getTextChangesFromChanges=g;function F(Ce,O,Q,V,z){var Te=te(Ce,e.getScriptKindFromFileName(O),Q,V,z);return{fileName:O,textChanges:[e.createTextChange(e.createTextSpan(0,0),Te)],isNewFile:!0}}u.newFileChanges=F;function te(Ce,O,Q,V,z){var Te=Q.map(function(Me){return Me===4?"":Se(Me,Ce,V).text}).join(V),ge=e.createSourceFile("any file name",Te,99,!0,O),ke=e.formatting.formatDocument(ge,z);return ne(Te,ke)+V}u.newFileChangesWorker=te;function ue(Ce,O,Q,V,z){var Te;if(Ce.kind===q.Remove)return"";if(Ce.kind===q.Text)return Ce.text;var ge=Ce.options,ke=ge===void 0?{}:ge,Me=Ce.range.pos,Ie=function(ve){return j(ve,O,Me,ke,Q,V,z)},Ge=Ce.kind===q.ReplaceWithMultipleNodes?Ce.nodes.map(function(ve){return e.removeSuffix(Ie(ve),Q)}).join(((Te=Ce.options)===null||Te===void 0?void 0:Te.joiner)||Q):Ie(Ce.node),he=ke.preserveLeadingWhitespace||ke.indentation!==void 0||e.getLineStartPositionForPosition(Me,O)===Me?Ge:Ge.replace(/^\s+/,"");return(ke.prefix||"")+he+(!ke.suffix||e.endsWith(he,ke.suffix)?"":ke.suffix)}function X(Ce,O){var Q=Ce.options,V=!Q.semicolons||Q.semicolons===e.SemicolonPreference.Ignore,z=Q.semicolons===e.SemicolonPreference.Remove||V&&!e.probablyUsesSemicolons(O);return Rn(Rn({},Q),{semicolons:z?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}function j(Ce,O,Q,V,z,Te,ge){var ke=V.indentation,Me=V.prefix,Ie=V.delta,Ge=Se(Ce,O,z),he=Ge.node,ve=Ge.text;ge&&ge(he,ve);var Ve=X(Te,O),_e=ke!==void 0?ke:e.formatting.SmartIndenter.getIndentation(Q,O,Ve,Me===z||e.getLineStartPositionForPosition(Q,O)===Q);Ie===void 0&&(Ie=e.formatting.SmartIndenter.shouldIndentChildNode(Ve,Ce)&&Ve.indentSize||0);var Le={text:ve,getLineAndCharacterOfPosition:function(Xe){return e.getLineAndCharacterOfPosition(this,Xe)}},qe=e.formatting.formatNodeGivenIndentation(he,Le,O.languageVariant,_e,Ie,Rn(Rn({},Te),{options:Ve}));return ne(ve,qe)}function Se(Ce,O,Q){var V=$(Q),z=e.getNewLineKind(Q);return e.createPrinter({newLine:z,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},V).writeNode(4,Ce,O,V),{text:V.getText(),node:Y(Ce)}}u.getNonformattedText=Se})(Z||(Z={}));function ne(u,g){for(var F=g.length-1;F>=0;F--){var te=g[F],ue=te.span,X=te.newText;u="".concat(u.substring(0,ue.start)).concat(X).concat(u.substring(e.textSpanEnd(ue)))}return u}n.applyChanges=ne;function R(u){return e.skipTrivia(u,0)===u.length}function Y(u){var g=e.visitEachChild(u,Y,e.nullTransformationContext,U,Y),F=e.nodeIsSynthesized(g)?g:Object.create(g);return e.setTextRangePosEnd(F,f(u),a(u)),F}function U(u,g,F,te,ue){var X=e.visitNodes(u,g,F,te,ue);if(!X)return X;var j=X===u?e.factory.createNodeArray(X.slice(0)):X;return e.setTextRangePosEnd(j,f(u),a(u)),j}function $(u){var g=0,F=e.createTextWriter(u),te=function(Or){Or&&d(Or,g)},ue=function(Or){Or&&p(Or,g)},X=function(Or){Or&&d(Or,g)},j=function(Or){Or&&p(Or,g)},Se=function(Or){Or&&d(Or,g)},Ce=function(Or){Or&&p(Or,g)};function O(Or,Ke){if(Ke||!R(Or)){g=F.getTextPos();for(var Pe=0;e.isWhiteSpaceLike(Or.charCodeAt(Or.length-Pe-1));)Pe++;g-=Pe}}function Q(Or){F.write(Or),O(Or,!1)}function V(Or){F.writeComment(Or)}function z(Or){F.writeKeyword(Or),O(Or,!1)}function Te(Or){F.writeOperator(Or),O(Or,!1)}function ge(Or){F.writePunctuation(Or),O(Or,!1)}function ke(Or){F.writeTrailingSemicolon(Or),O(Or,!1)}function Me(Or){F.writeParameter(Or),O(Or,!1)}function Ie(Or){F.writeProperty(Or),O(Or,!1)}function Ge(Or){F.writeSpace(Or),O(Or,!1)}function he(Or){F.writeStringLiteral(Or),O(Or,!1)}function ve(Or,Ke){F.writeSymbol(Or,Ke),O(Or,!1)}function Ve(Or){F.writeLine(Or)}function _e(){F.increaseIndent()}function Le(){F.decreaseIndent()}function qe(){return F.getText()}function Xe(Or){F.rawWrite(Or),O(Or,!1)}function De(Or){F.writeLiteral(Or),O(Or,!0)}function Ae(){return F.getTextPos()}function Ye(){return F.getLine()}function Lr(){return F.getColumn()}function Er(){return F.getIndent()}function lr(){return F.isAtStartOfLine()}function Cr(){F.clear(),g=0}return{onBeforeEmitNode:te,onAfterEmitNode:ue,onBeforeEmitNodeArray:X,onAfterEmitNodeArray:j,onBeforeEmitToken:Se,onAfterEmitToken:Ce,write:Q,writeComment:V,writeKeyword:z,writeOperator:Te,writePunctuation:ge,writeTrailingSemicolon:ke,writeParameter:Me,writeProperty:Ie,writeSpace:Ge,writeStringLiteral:he,writeSymbol:ve,writeLine:Ve,increaseIndent:_e,decreaseIndent:Le,getText:qe,rawWrite:Xe,writeLiteral:De,getTextPos:Ae,getLine:Ye,getColumn:Lr,getIndent:Er,isAtStartOfLine:lr,hasTrailingComment:function(){return F.hasTrailingComment()},hasTrailingWhitespace:function(){return F.hasTrailingWhitespace()},clear:Cr}}function T(u){for(var g,F=0,te=u.statements;F=ke+2)break}if(u.statements.length){Q===void 0&&(Q=u.getLineAndCharacterOfPosition(u.statements[0].getStart()).line);var Me=u.getLineAndCharacterOfPosition(Te.end).line;if(Q1)break}var R=w<2;return function(Y){var U=Y.fixId,$=Y.fixAllDescription,T=uD(Y,["fixId","fixAllDescription"]);return R?T:Rn(Rn({},T),{fixId:U,fixAllDescription:$})}}function q(k){var M=J(k),x=f.get(String(k.errorCode));return e.flatMap(x,function(w){return e.map(w.getCodeActions(k),A(w,M))})}n.getFixes=q;function ie(k){return d.get(e.cast(k.fixId,e.isString)).getAllCodeActions(k)}n.getAllFixes=ie;function b(k,M){return{changes:k,commands:M}}n.createCombinedCodeActions=b;function P(k,M){return{fileName:k,textChanges:M}}n.createFileTextChanges=P;function S(k,M,x){var w=[],K=e.textChanges.ChangeTracker.with(k,function(Z){return B(k,M,function(ne){return x(Z,ne,w)})});return b(K,w.length===0?void 0:w)}n.codeFixAll=S;function B(k,M,x){for(var w=0,K=J(k);we.textSpanEnd(v)?"quit":(e.isArrowFunction(ie)||e.isMethodDeclaration(ie)||e.isFunctionExpression(ie)||e.isFunctionDeclaration(ie))&&e.textSpansEqual(v,e.createTextSpanFromNode(ie,h))});return q}}function H(h,v){return function(A){var q=A.start,ie=A.length,b=A.relatedInformation,P=A.code;return e.isNumber(q)&&e.isNumber(ie)&&e.textSpansEqual({start:q,length:ie},h)&&P===v&&!!b&&e.some(b,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 f="addMissingAwait",d=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,d],a,!0);n.registerCodeFix({fixIds:[f],errorCodes:p,getCodeActions:function(B){var J=B.sourceFile,k=B.errorCode,M=B.span,x=B.cancellationToken,w=B.program,K=N(J,k,M,x,w);if(!!K){var Z=B.program.getTypeChecker(),ne=function(R){return e.textChanges.ChangeTracker.with(B,R)};return e.compact([H(B,K,k,Z,ne),h(B,K,k,Z,ne)])}},getAllCodeActions:function(B){var J=B.sourceFile,k=B.program,M=B.cancellationToken,x=B.program.getTypeChecker(),w=new e.Set;return n.codeFixAll(B,p,function(K,Z){var ne=N(J,Z.code,Z,M,k);if(!!ne){var R=function(Y){return Y(K),[]};return H(B,ne,Z.code,x,R,w)||h(B,ne,Z.code,x,R,w)}})}});function N(B,J,k,M,x){var w=e.getFixableErrorSpanExpression(B,k);return w&&v(B,J,k,M,x)&&b(w)?w:void 0}function H(B,J,k,M,x,w){var K=B.sourceFile,Z=B.program,ne=B.cancellationToken,R=A(J,K,ne,Z,M);if(R){var Y=x(function(U){e.forEach(R.initializers,function($){var T=$.expression;return P(U,k,K,M,T,w)}),w&&R.needsSecondPassForFixAll&&P(U,k,K,M,J,w)});return n.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Y,R.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,R.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function h(B,J,k,M,x,w){var K=x(function(Z){return P(Z,k,B.sourceFile,M,J,w)});return n.createCodeFixAction(f,K,e.Diagnostics.Add_await,f,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function v(B,J,k,M,x){var w=x.getDiagnosticsProducingTypeChecker(),K=w.getDiagnostics(B,M);return e.some(K,function(Z){var ne=Z.start,R=Z.length,Y=Z.relatedInformation,U=Z.code;return e.isNumber(ne)&&e.isNumber(R)&&e.textSpansEqual({start:ne,length:R},k)&&U===J&&!!Y&&e.some(Y,function($){return $.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function A(B,J,k,M,x){var w=q(B,x);if(!!w){for(var K=w.isCompleteFix,Z,ne=function($){var T=x.getSymbolAtLocation($);if(!T)return"continue";var I=e.tryCast(T.valueDeclaration,e.isVariableDeclaration),y=I&&e.tryCast(I.name,e.isIdentifier),D=e.getAncestor(I,236);if(!I||!D||I.type||!I.initializer||D.getSourceFile()!==J||e.hasSyntacticModifier(D,1)||!y||!b(I.initializer))return K=!1,"continue";var C=M.getSemanticDiagnostics(J,k),m=e.FindAllReferences.Core.eachSymbolReferenceInFile(y,x,J,function(u){return $!==u&&!ie(u,C,J,x)});if(m)return K=!1,"continue";(Z||(Z=[])).push({expression:I.initializer,declarationSymbol:T})},R=0,Y=w.identifiers;R0)return[n.createCodeFixAction(f,q,e.Diagnostics.Add_const_to_unresolved_variable,f,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[f],getAllCodeActions:function(A){var q=new e.Set;return n.codeFixAll(A,d,function(ie,b){return a(ie,b.file,b.start,A.program,q)})}});function a(A,q,ie,b,P){var S=e.getTokenAtPosition(q,ie),B=e.findAncestor(S,function(w){return e.isForInOrOfStatement(w.parent)?w.parent.initializer===w:N(w)?!1:"quit"});if(B)return p(A,B,q,P);var J=S.parent;if(e.isBinaryExpression(J)&&J.operatorToken.kind===63&&e.isExpressionStatement(J.parent))return p(A,S,q,P);if(e.isArrayLiteralExpression(J)){var k=b.getTypeChecker();return e.every(J.elements,function(w){return H(w,k)})?p(A,J,q,P):void 0}var M=e.findAncestor(S,function(w){return e.isExpressionStatement(w.parent)?!0:h(w)?!1:"quit"});if(M){var x=b.getTypeChecker();return v(M,x)?p(A,M,q,P):void 0}}function p(A,q,ie,b){(!b||e.tryAddToSet(b,q))&&A.insertModifierBefore(ie,85,q)}function N(A){switch(A.kind){case 79:case 203:case 204:case 294:case 295:return!0;default:return!1}}function H(A,q){var ie=e.isIdentifier(A)?A:e.isAssignmentExpression(A,!0)&&e.isIdentifier(A.left)?A.left:void 0;return!!ie&&!q.getSymbolAtLocation(ie)}function h(A){switch(A.kind){case 79:case 220:case 27:return!0;default:return!1}}function v(A,q){return e.isBinaryExpression(A)?A.operatorToken.kind===27?e.every([A.left,A.right],function(ie){return v(ie,q)}):A.operatorToken.kind===63&&e.isIdentifier(A.left)&&!q.getSymbolAtLocation(A.left):!1}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="addMissingDeclareProperty",d=[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:d,getCodeActions:function(p){var N=e.textChanges.ChangeTracker.with(p,function(H){return a(H,p.sourceFile,p.span.start)});if(N.length>0)return[n.createCodeFixAction(f,N,e.Diagnostics.Prefix_with_declare,f,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[f],getAllCodeActions:function(p){var N=new e.Set;return n.codeFixAll(p,d,function(H,h){return a(H,h.file,h.start,N)})}});function a(p,N,H,h){var v=e.getTokenAtPosition(N,H);if(!!e.isIdentifier(v)){var A=v.parent;A.kind===166&&(!h||e.tryAddToSet(h,A))&&p.insertModifierBefore(N,135,A)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="addMissingInvocationForDecorator",d=[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:d,getCodeActions:function(p){var N=e.textChanges.ChangeTracker.with(p,function(H){return a(H,p.sourceFile,p.span.start)});return[n.createCodeFixAction(f,N,e.Diagnostics.Call_decorator_expression,f,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[f],getAllCodeActions:function(p){return n.codeFixAll(p,d,function(N,H){return a(N,H.file,H.start)})}});function a(p,N,H){var h=e.getTokenAtPosition(N,H),v=e.findAncestor(h,e.isDecorator);e.Debug.assert(!!v,"Expected position to be owned by a decorator.");var A=e.factory.createCallExpression(v.expression,void 0,void 0);p.replaceNode(N,v.expression,A)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="addNameToNamelessParameter",d=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(p){var N=e.textChanges.ChangeTracker.with(p,function(H){return a(H,p.sourceFile,p.span.start)});return[n.createCodeFixAction(f,N,e.Diagnostics.Add_parameter_name,f,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[f],getAllCodeActions:function(p){return n.codeFixAll(p,d,function(N,H){return a(N,H.file,H.start)})}});function a(p,N,H){var h=e.getTokenAtPosition(N,H),v=h.parent;if(!e.isParameter(v))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(h.kind));var A=v.parent.parameters.indexOf(v);e.Debug.assert(!v.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 q=e.factory.createTypeReferenceNode(v.name,void 0),ie=e.factory.createParameterDeclaration(void 0,v.modifiers,v.dotDotDotToken,"arg"+A,v.questionToken,v.dotDotDotToken?e.factory.createArrayTypeNode(q):q,v.initializer);p.replaceNode(N,v,ie)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="addOptionalPropertyUndefined",d=[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:d,getCodeActions:function(h){var v=h.program.getTypeChecker(),A=a(h.sourceFile,h.span,v);if(!!A.length){var q=e.textChanges.ChangeTracker.with(h,function(ie){return H(ie,A)});return[n.createCodeFixActionWithoutFixAll(f,q,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[f]});function a(h,v,A){var q,ie,b=N(e.getFixableErrorSpanExpression(h,v),A);if(!b)return e.emptyArray;var P=b.source,S=b.target,B=p(P,S,A)?A.getTypeAtLocation(S.expression):A.getTypeAtLocation(S);return!((ie=(q=B.symbol)===null||q===void 0?void 0:q.declarations)===null||ie===void 0)&&ie.some(function(J){return e.getSourceFileOfNode(J).fileName.match(/\.d\.ts$/)})?e.emptyArray:A.getExactOptionalProperties(B)}function p(h,v,A){return e.isPropertyAccessExpression(v)&&!!A.getExactOptionalProperties(A.getTypeAtLocation(v.expression)).length&&A.getTypeAtLocation(h)===A.getUndefinedType()}function N(h,v){var A;if(h){if(e.isBinaryExpression(h.parent)&&h.parent.operatorToken.kind===63)return{source:h.parent.right,target:h.parent.left};if(e.isVariableDeclaration(h.parent)&&h.parent.initializer)return{source:h.parent.initializer,target:h.parent.name};if(e.isCallExpression(h.parent)){var q=v.getSymbolAtLocation(h.parent.expression);if(!(q!=null&&q.valueDeclaration)||!e.isFunctionLikeKind(q.valueDeclaration.kind)||!e.isExpression(h))return;var ie=h.parent.arguments.indexOf(h);if(ie===-1)return;var b=q.valueDeclaration.parameters[ie].name;if(e.isIdentifier(b))return{source:h,target:b}}else if(e.isPropertyAssignment(h.parent)&&e.isIdentifier(h.parent.name)||e.isShorthandPropertyAssignment(h.parent)){var P=N(h.parent.parent,v);if(!P)return;var S=v.getPropertyOfType(v.getTypeAtLocation(P.target),h.parent.name.text),B=(A=S==null?void 0:S.declarations)===null||A===void 0?void 0:A[0];return B?{source:e.isPropertyAssignment(h.parent)?h.parent.initializer:h.parent.name,target:B}:void 0}}else return}function H(h,v){for(var A=0,q=v;A1?(h.delete(v,S),h.insertNodeAfter(v,J,B)):h.replaceNode(v,J,B)}function k(w){var K=[];return w.members&&w.members.forEach(function(R,Y){if(Y==="constructor"&&R.valueDeclaration){h.delete(v,R.valueDeclaration.parent);return}var U=ne(R,void 0);U&&K.push.apply(K,U)}),w.exports&&w.exports.forEach(function(R){if(R.name==="prototype"&&R.declarations){var Y=R.declarations[0];if(R.declarations.length===1&&e.isPropertyAccessExpression(Y)&&e.isBinaryExpression(Y.parent)&&Y.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(Y.parent.right)){var U=Y.parent.right,$=ne(U.symbol,void 0);$&&K.push.apply(K,$)}}else{var $=ne(R,[e.factory.createToken(124)]);$&&K.push.apply(K,$)}}),K;function Z(R,Y){return e.isAccessExpression(R)?e.isPropertyAccessExpression(R)&&N(R)?!0:e.isFunctionLike(Y):e.every(R.properties,function(U){return!!(e.isMethodDeclaration(U)||e.isGetOrSetAccessorDeclaration(U)||e.isPropertyAssignment(U)&&e.isFunctionExpression(U.initializer)&&!!U.name||N(U))})}function ne(R,Y){var U=[];if(!(R.flags&8192)&&!(R.flags&4096))return U;var $=R.valueDeclaration,T=$.parent,I=T.right;if(!Z($,I))return U;var y=T.parent&&T.parent.kind===237?T.parent:T;if(h.delete(v,y),!I)return U.push(e.factory.createPropertyDeclaration([],Y,R.name,void 0,void 0,void 0)),U;if(e.isAccessExpression($)&&(e.isFunctionExpression(I)||e.isArrowFunction(I))){var D=e.getQuotePreference(v,ie),C=H($,b,D);return C?u(U,I,C):U}else{if(e.isObjectLiteralExpression(I))return e.flatMap(I.properties,function(te){return e.isMethodDeclaration(te)||e.isGetOrSetAccessorDeclaration(te)?U.concat(te):e.isPropertyAssignment(te)&&e.isFunctionExpression(te.initializer)?u(U,te.initializer,te.name):N(te)?U:[]});if(e.isSourceFileJS(v)||!e.isPropertyAccessExpression($))return U;var m=e.factory.createPropertyDeclaration(void 0,Y,$.name,void 0,void 0,I);return e.copyLeadingComments(T.parent,m,v),U.push(m),U}function u(te,ue,X){return e.isFunctionExpression(ue)?g(te,ue,X):F(te,ue,X)}function g(te,ue,X){var j=e.concatenate(Y,p(ue,131)),Se=e.factory.createMethodDeclaration(void 0,j,void 0,X,void 0,void 0,ue.parameters,void 0,ue.body);return e.copyLeadingComments(T,Se,v),te.concat(Se)}function F(te,ue,X){var j=ue.body,Se;j.kind===234?Se=j:Se=e.factory.createBlock([e.factory.createReturnStatement(j)]);var Ce=e.concatenate(Y,p(ue,131)),O=e.factory.createMethodDeclaration(void 0,Ce,void 0,X,void 0,void 0,ue.parameters,void 0,Se);return e.copyLeadingComments(T,O,v),te.concat(O)}}}function M(w){var K=w.initializer;if(!(!K||!e.isFunctionExpression(K)||!e.isIdentifier(w.name))){var Z=k(w.symbol);K.body&&Z.unshift(e.factory.createConstructorDeclaration(void 0,void 0,K.parameters,K.body));var ne=p(w.parent.parent,93),R=e.factory.createClassDeclaration(void 0,ne,w.name,void 0,void 0,Z);return R}}function x(w){var K=k(P);w.body&&K.unshift(e.factory.createConstructorDeclaration(void 0,void 0,w.parameters,w.body));var Z=p(w,93),ne=e.factory.createClassDeclaration(void 0,Z,w.name,void 0,void 0,K);return ne}}function p(h,v){return e.filter(h.modifiers,function(A){return A.kind===v})}function N(h){return h.name?!!(e.isIdentifier(h.name)&&h.name.text==="constructor"):!1}function H(h,v,A){if(e.isPropertyAccessExpression(h))return h.name;var q=h.argumentExpression;if(e.isNumericLiteral(q))return q;if(e.isStringLiteralLike(q))return e.isIdentifierText(q.text,e.getEmitScriptTarget(v))?e.factory.createIdentifier(q.text):e.isNoSubstitutionTemplateLiteral(q)?e.factory.createStringLiteral(q.text,A===0):q}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="convertToAsyncFunction",d=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],a=!0;n.registerCodeFix({errorCodes:d,getCodeActions:function(O){a=!0;var Q=e.textChanges.ChangeTracker.with(O,function(V){return N(V,O.sourceFile,O.span.start,O.program.getTypeChecker())});return a?[n.createCodeFixAction(f,Q,e.Diagnostics.Convert_to_async_function,f,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[f],getAllCodeActions:function(O){return n.codeFixAll(O,d,function(Q,V){return N(Q,V.file,V.start,O.program.getTypeChecker())})}});var p;(function(O){O[O.Identifier=0]="Identifier",O[O.BindingPattern=1]="BindingPattern"})(p||(p={}));function N(O,Q,V,z){var Te=e.getTokenAtPosition(Q,V),ge;if(e.isIdentifier(Te)&&e.isVariableDeclaration(Te.parent)&&Te.parent.initializer&&e.isFunctionLikeDeclaration(Te.parent.initializer)?ge=Te.parent.initializer:ge=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(Q,V)),e.canBeConvertedToAsync),!!ge){var ke=new e.Map,Me=e.isInJSFile(ge),Ie=h(ge,z),Ge=b(ge,z,ke);if(!!e.returnsPromise(Ge,z)){var he=Ge.body&&e.isBlock(Ge.body)?H(Ge.body,z):e.emptyArray,ve={checker:z,synthNamesMap:ke,setOfExpressionsToReturn:Ie,isInJSFile:Me};if(!!he.length){var Ve=ge.modifiers?ge.modifiers.end:ge.decorators?e.skipTrivia(Q.text,ge.decorators.end):ge.getStart(Q),_e=ge.modifiers?{prefix:" "}:{suffix:" "};O.insertModifierAt(Q,Ve,131,_e);for(var Le=function(Ye){if(e.forEachChild(Ye,function Lr(Er){if(e.isCallExpression(Er)){var lr=J(Er,Er,ve,!1);if(S())return!0;O.replaceNodeWithNodes(Q,Ye,lr)}else if(!e.isFunctionLike(Er)&&(e.forEachChild(Er,Lr),S()))return!0}),S())return{value:void 0}},qe=0,Xe=he;qe0)return Lr;if(_e){var Ye=T(ge.checker,_e,Ve);if(Ce(Te,ge))return U(Ye,q(Te,O,ge.checker));var Er=Y(V,Ye,void 0);return V&&V.types.push(ge.checker.getAwaitedType(_e)||_e),Er}else return B()}}default:return B()}return e.emptyArray}function T(O,Q,V){var z=e.getSynthesizedDeepClone(V);return O.getPromisedTypeOfPromise(Q)?e.factory.createAwaitExpression(z):z}function I(O,Q){var V=Q.getSignaturesOfType(O,0);return e.lastOrUndefined(V)}function y(O,Q,V,z){for(var Te=[],ge=0,ke=O;ge0)return}else e.isFunctionLike(ke)||e.forEachChild(ke,ge)}),Te}function C(O,Q){var V=[],z;if(e.isFunctionLikeDeclaration(O)){if(O.parameters.length>0){var Te=O.parameters[0].name;z=ge(Te)}}else e.isIdentifier(O)?z=ke(O):e.isPropertyAccessExpression(O)&&e.isIdentifier(O.name)&&(z=ke(O.name));if(!z||"identifier"in z&&z.identifier.text==="undefined")return;return z;function ge(Ge){if(e.isIdentifier(Ge))return ke(Ge);var he=e.flatMap(Ge.elements,function(ve){return e.isOmittedExpression(ve)?[]:[ge(ve.name)]});return g(Ge,he)}function ke(Ge){var he=Ie(Ge),ve=Me(he);if(!ve)return u(Ge,V);var Ve=Q.synthNamesMap.get(e.getSymbolId(ve).toString());return Ve||u(Ge,V)}function Me(Ge){return Ge.symbol?Ge.symbol:Q.checker.getSymbolAtLocation(Ge)}function Ie(Ge){return Ge.original?Ge.original:Ge}}function m(O){return O?j(O)?!O.identifier.text:e.every(O.elements,m):!0}function u(O,Q){return Q===void 0&&(Q=[]),{kind:0,identifier:O,types:Q,hasBeenDeclared:!1,hasBeenReferenced:!1}}function g(O,Q,V){return Q===void 0&&(Q=e.emptyArray),V===void 0&&(V=[]),{kind:1,bindingPattern:O,elements:Q,types:V}}function F(O){return O.hasBeenReferenced=!0,O.identifier}function te(O){return j(O)?X(O):ue(O)}function ue(O){for(var Q=0,V=O.elements;Q1?[[P(m),S(m)],!0]:[[S(m)],!0]:[[P(m)],!1]}function P(D){return I(void 0,D)}function S(D){return I([e.factory.createExportSpecifier(!1,void 0,"default")],D)}function B(D,C,m){var u=D.left,g=D.right,F=D.parent,te=u.name.text;if((e.isFunctionExpression(g)||e.isArrowFunction(g)||e.isClassExpression(g))&&(!g.name||g.name.text===te)){m.replaceRange(C,{pos:u.getStart(C),end:g.getStart(C)},e.factory.createToken(93),{suffix:" "}),g.name||m.insertName(C,g,te);var ue=e.findChildOfKind(F,26,C);ue&&m.delete(C,ue)}else m.replaceNodeRangeWithNodes(C,u.expression,e.findChildOfKind(u,24,C),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "})}function J(D,C,m){var u=[e.factory.createToken(93)];switch(C.kind){case 212:{var g=C.name;if(g&&g.text!==D)return F()}case 213:return R(D,u,C,m);case 225:return Y(D,u,C,m);default:return F()}function F(){return T(u,e.factory.createIdentifier(D),k(C,m))}}function k(D,C){if(!C||!e.some(e.arrayFrom(C.keys()),function(u){return e.rangeContainsRange(D,u)}))return D;return e.isArray(D)?e.getSynthesizedDeepClonesWithReplacements(D,!0,m):e.getSynthesizedDeepCloneWithReplacements(D,!0,m);function m(u){if(u.kind===205){var g=C.get(u);return C.delete(u),g}}}function M(D,C,m,u,g,F){switch(D.kind){case 200:{var te=e.mapAllOrFail(D.elements,function(X){return X.dotDotDotToken||X.initializer||X.propertyName&&!e.isIdentifier(X.propertyName)||!e.isIdentifier(X.name)?void 0:$(X.propertyName&&X.propertyName.text,X.name.text)});if(te)return y([e.makeImport(void 0,te,C,F)])}case 201:{var ue=w(n.moduleSpecifierToValidIdentifier(C.text,g),u);return y([e.makeImport(e.factory.createIdentifier(ue),void 0,C,F),T(void 0,e.getSynthesizedDeepClone(D),e.factory.createIdentifier(ue))])}case 79:return x(D,C,m,u,F);default:return e.Debug.assertNever(D,"Convert to ES module got invalid name kind ".concat(D.kind))}}function x(D,C,m,u,g){for(var F=m.getSymbolAtLocation(D),te=new e.Map,ue=!1,X,j=0,Se=u.original.get(D.text);j0||qe.length>0||Xe.size>0||De.size>0}}var N;(function(Ie){Ie[Ie.UseNamespace=0]="UseNamespace",Ie[Ie.JsdocTypeImport=1]="JsdocTypeImport",Ie[Ie.AddToExisting=2]="AddToExisting",Ie[Ie.AddNew=3]="AddNew"})(N||(N={}));var H;(function(Ie){Ie[Ie.Allowed=1]="Allowed",Ie[Ie.Required=2]="Required",Ie[Ie.NotAllowed=4]="NotAllowed"})(H||(H={}));function h(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe){var De=_e.getCompilerOptions(),Ae=e.pathIsBareSpecifier(e.stripQuotes(Ge.name))?[q(Ie,Ge,_e,Ve)]:ie(he,Ie,Ge,ve,Ve,_e,Xe,!0),Ye=w(he,_e),Lr=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(he,qe)),Er=e.Debug.checkDefined(v(he,Ae,Ge,ve,_e,qe,Lr,Ye,Ve,Xe));return{moduleSpecifier:Er.moduleSpecifier,codeAction:A(ue({host:Ve,formatContext:Le,preferences:Xe},he,ve,Er,e.getQuotePreference(he,Xe),De))}}n.getImportCompletionAction=h;function v(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe,De){return e.Debug.assert(Ge.some(function(Ae){return Ae.moduleSymbol===he||Ae.symbol.parent===he}),"Some exportInfo should match the specified moduleSymbol"),U(P(Ge,ve,_e,Le,qe,Ve,Ie,Xe,De),Ie,Ve,Xe,De)}function A(Ie){var Ge=Ie.description,he=Ie.changes,ve=Ie.commands;return{description:Ge,changes:he,commands:ve}}function q(Ie,Ge,he,ve){var Ve,_e,Le=he.getCompilerOptions(),qe=De(he.getTypeChecker(),!1);if(qe)return qe;var Xe=(_e=(Ve=ve.getPackageJsonAutoImportProvider)===null||Ve===void 0?void 0:Ve.call(ve))===null||_e===void 0?void 0:_e.getTypeChecker();return e.Debug.checkDefined(Xe&&De(Xe,!0),"Could not find symbol in specified module for code actions");function De(Ae,Ye){var Lr=e.getDefaultLikeExportInfo(Ge,Ae,Le);if(Lr&&e.skipAlias(Lr.symbol,Ae)===Ie)return{symbol:Lr.symbol,moduleSymbol:Ge,moduleFileName:void 0,exportKind:Lr.exportKind,targetFlags:e.skipAlias(Ie,Ae).flags,isFromPackageJson:Ye};var Er=Ae.tryGetMemberInModuleExportsAndProperties(Ie.name,Ge);if(Er&&e.skipAlias(Er,Ae)===Ie)return{symbol:Er,moduleSymbol:Ge,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(Ie,Ae).flags,isFromPackageJson:Ye}}}function ie(Ie,Ge,he,ve,Ve,_e,Le,qe){var Xe=[],De=_e.getCompilerOptions(),Ae=e.memoizeOne(function(Lr){return e.createModuleSpecifierResolutionHost(Lr?Ve.getPackageJsonAutoImportProvider():_e,Ve)});return e.forEachExternalModuleToImportFrom(_e,Ve,qe,function(Lr,Er,lr,Cr){var Or=lr.getTypeChecker();if(!(Er&&Lr!==he&&e.startsWith(Ie.fileName,e.getDirectoryPath(Er.fileName)))){var Ke=e.getDefaultLikeExportInfo(Lr,Or,De);Ke&&(Ke.name===ve||ke(Lr,e.getEmitScriptTarget(De))===ve)&&e.skipAlias(Ke.symbol,Or)===Ge&&Ye(lr,Er,Cr)&&Xe.push({symbol:Ke.symbol,moduleSymbol:Lr,moduleFileName:Er==null?void 0:Er.fileName,exportKind:Ke.exportKind,targetFlags:e.skipAlias(Ke.symbol,Or).flags,isFromPackageJson:Cr});for(var Pe=0,Hr=Or.getExportsAndPropertiesOfModule(Lr);Pe=e.ModuleKind.ES2015)return ve?1:2;if(Ve)return e.isExternalModule(Ie)||he?ve?1:2:3;for(var _e=0,Le=Ie.statements;_e"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,ie?ie.text:e.ANONYMOUS]):(p.replaceNode(N,q,e.factory.createToken(85)),p.insertText(N,ie.end," = "),p.insertText(N,b.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,ie.text])}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixIncorrectNamedTupleSyntax",d=[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:d,getCodeActions:function(N){var H=N.sourceFile,h=N.span,v=a(H,h.start),A=e.textChanges.ChangeTracker.with(N,function(q){return p(q,H,v)});return[n.createCodeFixAction(f,A,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,f,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[f]});function a(N,H){var h=e.getTokenAtPosition(N,H);return e.findAncestor(h,function(v){return v.kind===196})}function p(N,H,h){if(!!h){for(var v=h.type,A=!1,q=!1;v.kind===184||v.kind===185||v.kind===190;)v.kind===184?A=!0:v.kind===185&&(q=!0),v=v.type;var ie=e.factory.updateNamedTupleMember(h,h.dotDotDotToken||(q?e.factory.createToken(25):void 0),h.name,h.questionToken||(A?e.factory.createToken(57):void 0),v);ie!==h&&N.replaceNode(H,h,ie)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixSpelling",d=[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:d,getCodeActions:function(h){var v=h.sourceFile,A=h.errorCode,q=a(v,h.span.start,h,A);if(!!q){var ie=q.node,b=q.suggestedSymbol,P=e.getEmitScriptTarget(h.host.getCompilationSettings()),S=e.textChanges.ChangeTracker.with(h,function(B){return p(B,v,ie,b,P)});return[n.createCodeFixAction("spelling",S,[e.Diagnostics.Change_spelling_to_0,e.symbolName(b)],f,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[f],getAllCodeActions:function(h){return n.codeFixAll(h,d,function(v,A){var q=a(A.file,A.start,h,A.code),ie=e.getEmitScriptTarget(h.host.getCompilationSettings());q&&p(v,h.sourceFile,q.node,q.suggestedSymbol,ie)})}});function a(h,v,A,q){var ie=e.getTokenAtPosition(h,v),b=ie.parent;if(!((q===e.Diagnostics.No_overload_matches_this_call.code||q===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(b))){var P=A.program.getTypeChecker(),S;if(e.isPropertyAccessExpression(b)&&b.name===ie){e.Debug.assert(e.isMemberName(ie),"Expected an identifier for spelling (property access)");var B=P.getTypeAtLocation(b.expression);b.flags&32&&(B=P.getNonNullableType(B)),S=P.getSuggestedSymbolForNonexistentProperty(ie,B)}else if(e.isBinaryExpression(b)&&b.operatorToken.kind===101&&b.left===ie&&e.isPrivateIdentifier(ie)){var J=P.getTypeAtLocation(b.right);S=P.getSuggestedSymbolForNonexistentProperty(ie,J)}else if(e.isQualifiedName(b)&&b.right===ie){var k=P.getSymbolAtLocation(b.left);k&&k.flags&1536&&(S=P.getSuggestedSymbolForNonexistentModule(b.right,k))}else if(e.isImportSpecifier(b)&&b.name===ie){e.Debug.assertNode(ie,e.isIdentifier,"Expected an identifier for spelling (import)");var M=e.findAncestor(ie,e.isImportDeclaration),x=H(h,A,M);x&&x.symbol&&(S=P.getSuggestedSymbolForNonexistentModule(ie,x.symbol))}else if(e.isJsxAttribute(b)&&b.name===ie){e.Debug.assertNode(ie,e.isIdentifier,"Expected an identifier for JSX attribute");var w=e.findAncestor(ie,e.isJsxOpeningLikeElement),K=P.getContextualTypeForArgumentAtIndex(w,0);S=P.getSuggestedSymbolForNonexistentJSXAttribute(ie,K)}else if(e.hasSyntacticModifier(b,16384)&&e.isClassElement(b)&&b.name===ie){var Z=e.findAncestor(ie,e.isClassLike),ne=Z?e.getEffectiveBaseTypeNode(Z):void 0,R=ne?P.getTypeAtLocation(ne):void 0;R&&(S=P.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(ie),R))}else{var Y=e.getMeaningFromLocation(ie),U=e.getTextOfNode(ie);e.Debug.assert(U!==void 0,"name should be defined"),S=P.getSuggestedSymbolForNonexistentSymbol(ie,U,N(Y))}return S===void 0?void 0:{node:ie,suggestedSymbol:S}}}function p(h,v,A,q,ie){var b=e.symbolName(q);if(!e.isIdentifierText(b,ie)&&e.isPropertyAccessExpression(A.parent)){var P=q.valueDeclaration;P&&e.isNamedDeclaration(P)&&e.isPrivateIdentifier(P.name)?h.replaceNode(v,A,e.factory.createIdentifier(b)):h.replaceNode(v,A.parent,e.factory.createElementAccessExpression(A.parent.expression,e.factory.createStringLiteral(b)))}else h.replaceNode(v,A,e.factory.createIdentifier(b))}function N(h){var v=0;return h&4&&(v|=1920),h&2&&(v|=788968),h&1&&(v|=111551),v}function H(h,v,A){if(!(!A||!e.isStringLiteralLike(A.moduleSpecifier))){var q=e.getResolvedModule(h,A.moduleSpecifier.text,e.getModeForUsageLocation(h,A.moduleSpecifier));if(!!q)return v.program.getSourceFile(q.resolvedFileName)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="returnValueCorrect",d="fixAddReturnStatement",a="fixRemoveBracesFromArrowFunctionBody",p="fixWrapTheBlockWithParen",N=[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],H;(function(M){M[M.MissingReturnStatement=0]="MissingReturnStatement",M[M.MissingParentheses=1]="MissingParentheses"})(H||(H={})),n.registerCodeFix({errorCodes:N,fixIds:[d,a,p],getCodeActions:function(M){var x=M.program,w=M.sourceFile,K=M.span.start,Z=M.errorCode,ne=q(x.getTypeChecker(),w,K,Z);if(!!ne)return ne.kind===H.MissingReturnStatement?e.append([B(M,ne.expression,ne.statement)],e.isArrowFunction(ne.declaration)?J(M,ne.declaration,ne.expression,ne.commentSource):void 0):[k(M,ne.declaration,ne.expression)]},getAllCodeActions:function(M){return n.codeFixAll(M,N,function(x,w){var K=q(M.program.getTypeChecker(),w.file,w.start,w.code);if(!!K)switch(M.fixId){case d:b(x,w.file,K.expression,K.statement);break;case a:if(!e.isArrowFunction(K.declaration))return;P(x,w.file,K.declaration,K.expression,K.commentSource,!1);break;case p:if(!e.isArrowFunction(K.declaration))return;S(x,w.file,K.declaration,K.expression);break;default:e.Debug.fail(JSON.stringify(M.fixId))}})}});function h(M,x,w){var K=M.createSymbol(4,x.escapedText);K.type=M.getTypeAtLocation(w);var Z=e.createSymbolTable([K]);return M.createAnonymousType(void 0,Z,[],[],[])}function v(M,x,w,K){if(!(!x.body||!e.isBlock(x.body)||e.length(x.body.statements)!==1)){var Z=e.first(x.body.statements);if(e.isExpressionStatement(Z)&&A(M,x,M.getTypeAtLocation(Z.expression),w,K))return{declaration:x,kind:H.MissingReturnStatement,expression:Z.expression,statement:Z,commentSource:Z.expression};if(e.isLabeledStatement(Z)&&e.isExpressionStatement(Z.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(Z.label,Z.statement.expression)]),R=h(M,Z.label,Z.statement.expression);if(A(M,x,R,w,K))return e.isArrowFunction(x)?{declaration:x,kind:H.MissingParentheses,expression:ne,statement:Z,commentSource:Z.statement.expression}:{declaration:x,kind:H.MissingReturnStatement,expression:ne,statement:Z,commentSource:Z.statement.expression}}else if(e.isBlock(Z)&&e.length(Z.statements)===1){var Y=e.first(Z.statements);if(e.isLabeledStatement(Y)&&e.isExpressionStatement(Y.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(Y.label,Y.statement.expression)]),R=h(M,Y.label,Y.statement.expression);if(A(M,x,R,w,K))return{declaration:x,kind:H.MissingReturnStatement,expression:ne,statement:Z,commentSource:Y}}}}}function A(M,x,w,K,Z){if(Z){var ne=M.getSignatureFromDeclaration(x);if(ne){e.hasSyntacticModifier(x,256)&&(w=M.createPromiseType(w));var R=M.createSignature(x,ne.typeParameters,ne.thisParameter,ne.parameters,w,void 0,ne.minArgumentCount,ne.flags);w=M.createAnonymousType(void 0,e.createSymbolTable(),[R],[],[])}else w=M.getAnyType()}return M.isTypeAssignableTo(w,K)}function q(M,x,w,K){var Z=e.getTokenAtPosition(x,w);if(!!Z.parent){var ne=e.findAncestor(Z.parent,e.isFunctionLikeDeclaration);switch(K){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,Z)?void 0:v(M,ne,M.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 R=ne.parent.arguments.indexOf(ne),Y=M.getContextualTypeForArgumentAtIndex(ne.parent,R);return Y?v(M,ne,Y,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(Z)||!e.isVariableLike(Z.parent)&&!e.isJsxAttribute(Z.parent))return;var U=ie(Z.parent);return!U||!e.isFunctionLikeDeclaration(U)||!U.body?void 0:v(M,U,M.getTypeAtLocation(Z.parent),!0)}}}function ie(M){switch(M.kind){case 253:case 163:case 202:case 166:case 294:return M.initializer;case 284:return M.initializer&&(e.isJsxExpression(M.initializer)?M.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}function b(M,x,w,K){e.suppressLeadingAndTrailingTrivia(w);var Z=e.probablyUsesSemicolons(x);M.replaceNode(x,K,e.factory.createReturnStatement(w),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:Z?";":void 0})}function P(M,x,w,K,Z,ne){var R=ne||e.needsParentheses(K)?e.factory.createParenthesizedExpression(K):K;e.suppressLeadingAndTrailingTrivia(Z),e.copyComments(Z,R),M.replaceNode(x,w.body,R)}function S(M,x,w,K){M.replaceNode(x,w.body,e.factory.createParenthesizedExpression(K))}function B(M,x,w){var K=e.textChanges.ChangeTracker.with(M,function(Z){return b(Z,M.sourceFile,x,w)});return n.createCodeFixAction(f,K,e.Diagnostics.Add_a_return_statement,d,e.Diagnostics.Add_all_missing_return_statement)}function J(M,x,w,K){var Z=e.textChanges.ChangeTracker.with(M,function(ne){return P(ne,M.sourceFile,x,w,K,!1)});return n.createCodeFixAction(f,Z,e.Diagnostics.Remove_braces_from_arrow_function_body,a,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function k(M,x,w){var K=e.textChanges.ChangeTracker.with(M,function(Z){return S(Z,M.sourceFile,x,w)});return n.createCodeFixAction(f,K,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 f="fixMissingMember",d="fixMissingProperties",a="fixMissingAttributes",p="fixMissingFunctionDeclaration",N=[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:N,getCodeActions:function(T){var I=T.program.getTypeChecker(),y=h(T.sourceFile,T.span.start,T.errorCode,I,T.program);if(!!y){if(y.kind===3){var D=e.textChanges.ChangeTracker.with(T,function(C){return ne(C,T,y)});return[n.createCodeFixAction(d,D,e.Diagnostics.Add_missing_properties,d,e.Diagnostics.Add_all_missing_properties)]}if(y.kind===4){var D=e.textChanges.ChangeTracker.with(T,function(m){return Z(m,T,y)});return[n.createCodeFixAction(a,D,e.Diagnostics.Add_missing_attributes,a,e.Diagnostics.Add_all_missing_attributes)]}if(y.kind===2){var D=e.textChanges.ChangeTracker.with(T,function(m){return K(m,T,y)});return[n.createCodeFixAction(p,D,[e.Diagnostics.Add_missing_function_declaration_0,y.token.text],p,e.Diagnostics.Add_all_missing_function_declarations)]}if(y.kind===0){var D=e.textChanges.ChangeTracker.with(T,function(m){return w(m,T.program.getTypeChecker(),y)});return[n.createCodeFixAction(f,D,[e.Diagnostics.Add_missing_enum_member_0,y.token.text],f,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(M(T,y),A(T,y))}},fixIds:[f,p,d,a],getAllCodeActions:function(T){var I=T.program,y=T.fixId,D=I.getTypeChecker(),C=new e.Map,m=new e.Map;return n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(T,function(u){n.eachDiagnostic(T,N,function(g){var F=h(g.file,g.start,g.code,D,T.program);if(!(!F||!e.addToSeen(C,e.getNodeId(F.parentDeclaration)+"#"+F.token.text))){if(y===p&&F.kind===2)K(u,T,F);else if(y===d&&F.kind===3)ne(u,T,F);else if(y===a&&F.kind===4)Z(u,T,F);else if(F.kind===0&&w(u,D,F),F.kind===1){var te=F.parentDeclaration,ue=F.token,X=e.getOrUpdate(m,te,function(){return[]});X.some(function(j){return j.token.text===ue.text})||X.push(F)}}}),m.forEach(function(g,F){for(var te=n.getAllSupers(F,D),ue=function(Ce){if(te.some(function(Me){var Ie=m.get(Me);return!!Ie&&Ie.some(function(Ge){var he=Ge.token;return he.text===Ce.token.text})}))return"continue";var O=Ce.parentDeclaration,Q=Ce.declSourceFile,V=Ce.modifierFlags,z=Ce.token,Te=Ce.call,ge=Ce.isJSFile;if(Te&&!e.isPrivateIdentifier(z))x(T,u,Te,z,V&32,O,Q);else if(ge&&!e.isInterfaceDeclaration(O))ie(u,Q,O,z,!!(V&32));else{var ke=S(I.getTypeChecker(),O,z);B(u,Q,O,z.text,ke,V&32)}},X=0,j=g;X=e.ModuleKind.ES2015&&N99;if(A){var h=e.textChanges.ChangeTracker.with(f,function(ie){var b=e.getTsConfigObjectLiteralExpression(a);if(!!b){var P=[["target",e.factory.createStringLiteral("es2017")]];N===e.ModuleKind.CommonJS&&P.push(["module",e.factory.createStringLiteral("commonjs")]),n.setJsonCompilerOptionValues(ie,a,P)}});p.push(n.createCodeFixActionWithoutFixAll("fixTargetOption",h,[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 f="fixPropertyAssignment",d=[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:d,fixIds:[f],getCodeActions:function(N){var H=N.sourceFile,h=N.span,v=p(H,h.start),A=e.textChanges.ChangeTracker.with(N,function(q){return a(q,N.sourceFile,v)});return[n.createCodeFixAction(f,A,[e.Diagnostics.Change_0_to_1,"=",":"],f,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(N){return n.codeFixAll(N,d,function(H,h){return a(H,h.file,p(h.file,h.start))})}});function a(N,H,h){N.replaceNode(H,h,e.factory.createPropertyAssignment(h.name,h.objectAssignmentInitializer))}function p(N,H){return e.cast(e.getTokenAtPosition(N,H).parent,e.isShorthandPropertyAssignment)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="extendsInterfaceBecomesImplements",d=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(N){var H=N.sourceFile,h=a(H,N.span.start);if(!!h){var v=h.extendsToken,A=h.heritageClauses,q=e.textChanges.ChangeTracker.with(N,function(ie){return p(ie,H,v,A)});return[n.createCodeFixAction(f,q,e.Diagnostics.Change_extends_to_implements,f,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[f],getAllCodeActions:function(N){return n.codeFixAll(N,d,function(H,h){var v=a(h.file,h.start);v&&p(H,h.file,v.extendsToken,v.heritageClauses)})}});function a(N,H){var h=e.getTokenAtPosition(N,H),v=e.getContainingClass(h).heritageClauses,A=v[0].getFirstToken();return A.kind===94?{extendsToken:A,heritageClauses:v}:void 0}function p(N,H,h,v){if(N.replaceNode(H,h,e.factory.createToken(117)),v.length===2&&v[0].token===94&&v[1].token===117){var A=v[1].getFirstToken(),q=A.getFullStart();N.replaceRange(H,{pos:q,end:q},e.factory.createToken(27));for(var ie=H.text,b=A.end;b":">","}":"}"};function N(h){return e.hasProperty(p,h)}function H(h,v,A,q,ie){var b=A.getText()[q];if(!!N(b)){var P=ie?p[b]:"{".concat(e.quote(A,v,b),"}");h.replaceRangeWithText(A,{pos:q,end:q+1},P)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="unusedIdentifier",d="unusedIdentifier_prefix",a="unusedIdentifier_delete",p="unusedIdentifier_deleteImports",N="unusedIdentifier_infer",H=[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:H,getCodeActions:function(Y){var U=Y.errorCode,$=Y.sourceFile,T=Y.program,I=Y.cancellationToken,y=T.getTypeChecker(),D=T.getSourceFiles(),C=e.getTokenAtPosition($,Y.span.start);if(e.isJSDocTemplateTag(C))return[v(e.textChanges.ChangeTracker.with(Y,function(Se){return Se.delete($,C)}),e.Diagnostics.Remove_template_tag)];if(C.kind===29){var m=e.textChanges.ChangeTracker.with(Y,function(Se){return A(Se,$,C)});return[v(m,e.Diagnostics.Remove_type_parameters)]}var u=ie(C);if(u){var m=e.textChanges.ChangeTracker.with(Y,function(Ce){return Ce.delete($,u)});return[n.createCodeFixAction(f,m,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(u)],p,e.Diagnostics.Delete_all_unused_imports)]}else if(q(C)){var g=e.textChanges.ChangeTracker.with(Y,function(Se){return k($,C,Se,y,D,T,I,!1)});if(g.length)return[n.createCodeFixAction(f,g,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,C.getText($)],p,e.Diagnostics.Delete_all_unused_imports)]}if(e.isObjectBindingPattern(C.parent)||e.isArrayBindingPattern(C.parent)){if(e.isParameter(C.parent.parent)){var F=C.parent.elements,te=[F.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(F,function(Se){return Se.getText($)}).join(", ")];return[v(e.textChanges.ChangeTracker.with(Y,function(Se){return S(Se,$,C.parent)}),te)]}return[v(e.textChanges.ChangeTracker.with(Y,function(Se){return Se.delete($,C.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(b($,C))return[v(e.textChanges.ChangeTracker.with(Y,function(Se){return P(Se,$,C.parent)}),e.Diagnostics.Remove_variable_statement)];var ue=[];if(C.kind===137){var m=e.textChanges.ChangeTracker.with(Y,function(Ce){return h(Ce,$,C)}),X=e.cast(C.parent,e.isInferTypeNode).typeParameter.name.text;ue.push(n.createCodeFixAction(f,m,[e.Diagnostics.Replace_infer_0_with_unknown,X],N,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var g=e.textChanges.ChangeTracker.with(Y,function(Ce){return k($,C,Ce,y,D,T,I,!1)});if(g.length){var X=e.isComputedPropertyName(C.parent)?C.parent:C;ue.push(v(g,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,X.getText($)]))}}var j=e.textChanges.ChangeTracker.with(Y,function(Se){return B(Se,U,$,C)});return j.length&&ue.push(n.createCodeFixAction(f,j,[e.Diagnostics.Prefix_0_with_an_underscore,C.getText($)],d,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),ue},fixIds:[d,a,p,N],getAllCodeActions:function(Y){var U=Y.sourceFile,$=Y.program,T=Y.cancellationToken,I=$.getTypeChecker(),y=$.getSourceFiles();return n.codeFixAll(Y,H,function(D,C){var m=e.getTokenAtPosition(U,C.start);switch(Y.fixId){case d:B(D,C.code,U,m);break;case p:{var u=ie(m);u?D.delete(U,u):q(m)&&k(U,m,D,I,y,$,T,!0);break}case a:{if(m.kind===137||q(m))break;if(e.isJSDocTemplateTag(m))D.delete(U,m);else if(m.kind===29)A(D,U,m);else if(e.isObjectBindingPattern(m.parent)){if(m.parent.parent.initializer)break;(!e.isParameter(m.parent.parent)||w(m.parent.parent,I,y))&&D.delete(U,m.parent.parent)}else{if(e.isArrayBindingPattern(m.parent.parent)&&m.parent.parent.parent.initializer)break;b(U,m)?P(D,U,m.parent):k(U,m,D,I,y,$,T,!0)}break}case N:m.kind===137&&h(D,U,m);break;default:e.Debug.fail(JSON.stringify(Y.fixId))}})}});function h(Y,U,$){Y.replaceNode(U,$.parent,e.factory.createKeywordTypeNode(154))}function v(Y,U){return n.createCodeFixAction(f,Y,U,a,e.Diagnostics.Delete_all_unused_declarations)}function A(Y,U,$){Y.delete(U,e.Debug.checkDefined(e.cast($.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function q(Y){return Y.kind===100||Y.kind===79&&(Y.parent.kind===269||Y.parent.kind===266)}function ie(Y){return Y.kind===100?e.tryCast(Y.parent,e.isImportDeclaration):void 0}function b(Y,U){return e.isVariableDeclarationList(U.parent)&&e.first(U.parent.getChildren(Y))===U}function P(Y,U,$){Y.delete(U,$.parent.kind===236?$.parent:$)}function S(Y,U,$){e.forEach($.elements,function(T){return Y.delete(U,T)})}function B(Y,U,$,T){U!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(T.kind===137&&(T=e.cast(T.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(T)&&J(T)&&(Y.replaceNode($,T,e.factory.createIdentifier("_".concat(T.text))),e.isParameter(T.parent)&&e.getJSDocParameterTags(T.parent).forEach(function(I){e.isIdentifier(I.name)&&Y.replaceNode($,I.name,e.factory.createIdentifier("_".concat(I.name.text)))})))}function J(Y){switch(Y.parent.kind){case 163:case 162:return!0;case 253:{var U=Y.parent;switch(U.parent.parent.kind){case 243:case 242:return!0}}}return!1}function k(Y,U,$,T,I,y,D,C){M(U,$,Y,T,I,y,D,C),e.isIdentifier(U)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(U,T,Y,function(m){e.isPropertyAccessExpression(m.parent)&&m.parent.name===m&&(m=m.parent),!C&&R(m)&&$.delete(Y,m.parent.parent)})}function M(Y,U,$,T,I,y,D,C){var m=Y.parent;if(e.isParameter(m))x(U,$,m,T,I,y,D,C);else if(!(C&&e.isIdentifier(Y)&&e.FindAllReferences.Core.isSymbolReferencedInFile(Y,T,$))){var u=e.isImportClause(m)?Y:e.isComputedPropertyName(m)?m.parent:m;e.Debug.assert(u!==$,"should not delete whole source file"),U.delete($,u)}}function x(Y,U,$,T,I,y,D,C){C===void 0&&(C=!1),K(T,U,$,I,y,D,C)&&($.modifiers&&$.modifiers.length>0&&(!e.isIdentifier($.name)||e.FindAllReferences.Core.isSymbolReferencedInFile($.name,T,U))?$.modifiers.forEach(function(m){return Y.deleteModifier(U,m)}):!$.initializer&&w($,T,I)&&Y.delete(U,$))}function w(Y,U,$){var T=Y.parent.parameters.indexOf(Y);return!e.FindAllReferences.Core.someSignatureUsage(Y.parent,$,U,function(I,y){return!y||y.arguments.length>T})}function K(Y,U,$,T,I,y,D){var C=$.parent;switch(C.kind){case 168:case 170:var m=C.parameters.indexOf($),u=e.isMethodDeclaration(C)?C.name:C,g=e.FindAllReferences.Core.getReferencedSymbolsForNode(C.pos,u,I,T,y);if(g)for(var F=0,te=g;Fm,O=e.isPropertyAccessExpression(Se.node.parent)&&e.isSuperKeyword(Se.node.parent.expression)&&e.isCallExpression(Se.node.parent.parent)&&Se.node.parent.parent.arguments.length>m,Q=(e.isMethodDeclaration(Se.node.parent)||e.isMethodSignature(Se.node.parent))&&Se.node.parent!==$.parent&&Se.node.parent.parameters.length>m;if(Ce||O||Q)return!1}}return!0;case 255:return C.name&&Z(Y,U,C.name)?ne(C,$,D):!0;case 212:case 213:return ne(C,$,D);case 172:return!1;default:return e.Debug.failBadSyntaxKind(C)}}function Z(Y,U,$){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile($,Y,U,function(T){return e.isIdentifier(T)&&e.isCallExpression(T.parent)&&T.parent.arguments.indexOf(T)>=0})}function ne(Y,U,$){var T=Y.parameters,I=T.indexOf(U);return e.Debug.assert(I!==-1,"The parameter should already be in the list"),$?T.slice(I+1).every(function(y){return e.isIdentifier(y.name)&&!y.symbol.isReferenced}):I===T.length-1}function R(Y){return(e.isBinaryExpression(Y.parent)&&Y.parent.left===Y||(e.isPostfixUnaryExpression(Y.parent)||e.isPrefixUnaryExpression(Y.parent))&&Y.parent.operand===Y)&&e.isExpressionStatement(Y.parent.parent)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixUnreachableCode",d=[e.Diagnostics.Unreachable_code_detected.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(N){var H=e.textChanges.ChangeTracker.with(N,function(h){return a(h,N.sourceFile,N.span.start,N.span.length,N.errorCode)});return[n.createCodeFixAction(f,H,e.Diagnostics.Remove_unreachable_code,f,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[f],getAllCodeActions:function(N){return n.codeFixAll(N,d,function(H,h){return a(H,h.file,h.start,h.length,h.code)})}});function a(N,H,h,v,A){var q=e.getTokenAtPosition(H,h),ie=e.findAncestor(q,e.isStatement);if(ie.getStart(H)!==q.getStart(H)){var b=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(ie.kind),tokenKind:e.Debug.formatSyntaxKind(q.kind),errorCode:A,start:h,length:v});e.Debug.fail("Token and statement should start at the same point. "+b)}var P=(e.isBlock(ie.parent)?ie.parent:ie).parent;if(!e.isBlock(ie.parent)||ie===e.first(ie.parent.statements))switch(P.kind){case 238:if(P.elseStatement){if(e.isBlock(ie.parent))break;N.replaceNode(H,ie,e.factory.createBlock(e.emptyArray));return}case 240:case 241:N.delete(H,P);return}if(e.isBlock(ie.parent)){var S=h+v,B=e.Debug.checkDefined(p(e.sliceAfter(ie.parent.statements,ie),function(J){return J.poshe.length){var ve=C.getSignatureFromDeclaration(D[D.length-1]);Le(Se,ve,te,g,T||ie(Se))}else e.Debug.assert(D.length===he.length,"Declarations and signatures should match count"),$(v(C,R,Z,he,g,X&&!!(I&1),te,Se,T));break}function Le(qe,Xe,De,Ae,Ye){var Lr=p(168,R,qe,Xe,Ye,Ae,De,X&&!!(I&1),Z,U);Lr&&$(Lr)}}n.addNewNodeForMemberSymbol=a;function p(K,Z,ne,R,Y,U,$,T,I,y){var D=Z.program,C=D.getTypeChecker(),m=e.getEmitScriptTarget(D.getCompilerOptions()),u=1073742081|(ne===0?268435456:0),g=C.signatureToSignatureDeclaration(R,K,I,u,d(Z));if(!!g){var F=g.typeParameters,te=g.parameters,ue=g.type;if(y){if(F){var X=e.sameMap(F,function(Q){var V=Q.constraint,z=Q.default;if(V){var Te=M(V,m);Te&&(V=Te.typeNode,w(y,Te.symbols))}if(z){var Te=M(z,m);Te&&(z=Te.typeNode,w(y,Te.symbols))}return e.factory.updateTypeParameterDeclaration(Q,Q.name,V,z)});F!==X&&(F=e.setTextRange(e.factory.createNodeArray(X,F.hasTrailingComma),F))}var j=e.sameMap(te,function(Q){var V=M(Q.type,m),z=Q.type;return V&&(z=V.typeNode,w(y,V.symbols)),e.factory.updateParameterDeclaration(Q,Q.decorators,Q.modifiers,Q.dotDotDotToken,Q.name,Q.questionToken,z,Q.initializer)});if(te!==j&&(te=e.setTextRange(e.factory.createNodeArray(j,te.hasTrailingComma),te)),ue){var Se=M(ue,m);Se&&(ue=Se.typeNode,w(y,Se.symbols))}}var Ce=T?e.factory.createToken(57):void 0,O=g.asteriskToken;if(e.isFunctionExpression(g))return e.factory.updateFunctionExpression(g,$,g.asteriskToken,e.tryCast(U,e.isIdentifier),F,te,ue,Y!=null?Y:g.body);if(e.isArrowFunction(g))return e.factory.updateArrowFunction(g,$,F,te,ue,g.equalsGreaterThanToken,Y!=null?Y:g.body);if(e.isMethodDeclaration(g))return e.factory.updateMethodDeclaration(g,void 0,$,O,U!=null?U:e.factory.createIdentifier(""),Ce,F,te,ue,Y)}}n.createSignatureDeclarationFromSignature=p;function N(K,Z,ne,R,Y,U,$){var T=e.getQuotePreference(Z.sourceFile,Z.preferences),I=e.getEmitScriptTarget(Z.program.getCompilerOptions()),y=d(Z),D=Z.program.getTypeChecker(),C=e.isInJSFile($),m=R.typeArguments,u=R.arguments,g=R.parent,F=C?void 0:D.getContextualType(R),te=e.map(u,function(Q){return e.isIdentifier(Q)?Q.text:e.isPropertyAccessExpression(Q)&&e.isIdentifier(Q.name)?Q.name.text:void 0}),ue=C?[]:e.map(u,function(Q){return H(D,ne,D.getBaseTypeOfLiteralType(D.getTypeAtLocation(Q)),$,I,void 0,y)}),X=U?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(U)):void 0,j=e.isYieldExpression(g)?e.factory.createToken(41):void 0,Se=C||m===void 0?void 0:e.map(m,function(Q,V){return e.factory.createTypeParameterDeclaration(84+m.length-1<=90?String.fromCharCode(84+V):"T".concat(V))}),Ce=h(u.length,te,ue,void 0,C),O=C||F===void 0?void 0:D.typeToTypeNode(F,$,void 0,y);return K===168?e.factory.createMethodDeclaration(void 0,X,j,Y,void 0,Se,Ce,O,e.isInterfaceDeclaration($)?void 0:ie(T)):e.factory.createFunctionDeclaration(void 0,X,j,Y,Se,Ce,O,b(e.Diagnostics.Function_not_implemented.message,T))}n.createSignatureDeclarationFromCallExpression=N;function H(K,Z,ne,R,Y,U,$){var T=K.typeToTypeNode(ne,R,U,$);if(T&&e.isImportTypeNode(T)){var I=M(T,Y);I&&(w(Z,I.symbols),T=I.typeNode)}return e.getSynthesizedDeepClone(T)}n.typeToAutoImportableTypeNode=H;function h(K,Z,ne,R,Y){for(var U=[],$=0;$=R?e.factory.createToken(57):void 0,Y?void 0:ne&&ne[$]||e.factory.createKeywordTypeNode(130),void 0);U.push(T)}return U}function v(K,Z,ne,R,Y,U,$,T,I){for(var y=R[0],D=R[0].minArgumentCount,C=!1,m=0,u=R;m=y.parameters.length&&(!e.signatureHasRestParameter(g)||e.signatureHasRestParameter(y))&&(y=g)}var F=y.parameters.length-(e.signatureHasRestParameter(y)?1:0),te=y.parameters.map(function(Se){return Se.name}),ue=h(F,te,void 0,D,!1);if(C){var X=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),j=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),te[F]||"rest",F>=D?e.factory.createToken(57):void 0,X,void 0);ue.push(j)}return q($,Y,U,void 0,ue,A(R,K,Z,ne),T,I)}function A(K,Z,ne,R){if(e.length(K)){var Y=Z.getUnionType(e.map(K,Z.getReturnTypeOfSignature));return Z.typeToTypeNode(Y,R,void 0,d(ne))}}function q(K,Z,ne,R,Y,U,$,T){return e.factory.createMethodDeclaration(void 0,K,void 0,Z,ne?e.factory.createToken(57):void 0,R,Y,U,T||ie($))}function ie(K){return b(e.Diagnostics.Method_not_implemented.message,K)}function b(K,Z){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(K,Z===0)]))],!0)}n.createStubbedBody=b;function P(K){if(K&4)return e.factory.createToken(123);if(K&16)return e.factory.createToken(122)}function S(K,Z,ne){var R=e.getTsConfigObjectLiteralExpression(Z);if(!!R){var Y=k(R,"compilerOptions");if(Y===void 0){K.insertNodeAtObjectStart(Z,R,J("compilerOptions",e.factory.createObjectLiteralExpression(ne.map(function(m){var u=m[0],g=m[1];return J(u,g)}),!0)));return}var U=Y.initializer;if(!!e.isObjectLiteralExpression(U))for(var $=0,T=ne;$0)return[n.createCodeFixAction(f,N,e.Diagnostics.Convert_to_a_bigint_numeric_literal,f,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[f],getAllCodeActions:function(p){return n.codeFixAll(p,d,function(N,H){return a(N,H.file,H)})}});function a(p,N,H){var h=e.tryCast(e.getTokenAtPosition(N,H.start),e.isNumericLiteral);if(!!h){var v=h.getText(N)+"n";p.replaceNode(N,h,e.factory.createBigIntLiteral(v))}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixAddModuleReferTypeMissingTypeof",d=f,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(H){var h=H.sourceFile,v=H.span,A=p(h,v.start),q=e.textChanges.ChangeTracker.with(H,function(ie){return N(ie,h,A)});return[n.createCodeFixAction(d,q,e.Diagnostics.Add_missing_typeof,d,e.Diagnostics.Add_missing_typeof)]},fixIds:[d],getAllCodeActions:function(H){return n.codeFixAll(H,a,function(h,v){return N(h,H.sourceFile,p(v.file,v.start))})}});function p(H,h){var v=e.getTokenAtPosition(H,h);return e.Debug.assert(v.kind===100,"This token should be an ImportKeyword"),e.Debug.assert(v.parent.kind===199,"Token parent should be an ImportType"),v.parent}function N(H,h,v){var A=e.factory.updateImportTypeNode(v,v.argument,v.qualifier,v.typeArguments,!0);H.replaceNode(h,v,A)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="wrapJsxInFragment",d=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(H){var h=H.sourceFile,v=H.span,A=a(h,v.start);if(!!A){var q=e.textChanges.ChangeTracker.with(H,function(ie){return p(ie,h,A)});return[n.createCodeFixAction(f,q,e.Diagnostics.Wrap_in_JSX_fragment,f,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[f],getAllCodeActions:function(H){return n.codeFixAll(H,d,function(h,v){var A=a(H.sourceFile,v.start);!A||p(h,H.sourceFile,A)})}});function a(H,h){var v=e.getTokenAtPosition(H,h),A=v.parent,q=A.parent;if(!(!e.isBinaryExpression(q)&&(q=q.parent,!e.isBinaryExpression(q)))&&!!e.nodeIsMissing(q.operatorToken))return q}function p(H,h,v){var A=N(v);A&&H.replaceNode(h,v,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),A,e.factory.createJsxJsxClosingFragment()))}function N(H){for(var h=[],v=H;;)if(e.isBinaryExpression(v)&&e.nodeIsMissing(v.operatorToken)&&v.operatorToken.kind===27){if(h.push(v.left),e.isJsxChild(v.right))return h.push(v.right),h;if(e.isBinaryExpression(v.right)){v=v.right;continue}else return}else return}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixConvertToMappedObjectType",d=f,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(h){var v=h.sourceFile,A=h.span,q=p(v,A.start);if(!!q){var ie=e.textChanges.ChangeTracker.with(h,function(P){return H(P,v,q)}),b=e.idText(q.container.name);return[n.createCodeFixAction(d,ie,[e.Diagnostics.Convert_0_to_mapped_object_type,b],d,[e.Diagnostics.Convert_0_to_mapped_object_type,b])]}},fixIds:[d],getAllCodeActions:function(h){return n.codeFixAll(h,a,function(v,A){var q=p(A.file,A.start);q&&H(v,A.file,q)})}});function p(h,v){var A=e.getTokenAtPosition(h,v),q=e.cast(A.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(q.parent)){var ie=e.isInterfaceDeclaration(q.parent)?q.parent:e.cast(q.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:q,container:ie}}}function N(h,v){return e.factory.createTypeAliasDeclaration(h.decorators,h.modifiers,h.name,h.typeParameters,v)}function H(h,v,A){var q=A.indexSignature,ie=A.container,b=e.isInterfaceDeclaration(ie)?ie.members:ie.type.members,P=b.filter(function(M){return!e.isIndexSignatureDeclaration(M)}),S=e.first(q.parameters),B=e.factory.createTypeParameterDeclaration(e.cast(S.name,e.isIdentifier),S.type),J=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(q)?e.factory.createModifier(144):void 0,B,void 0,q.questionToken,q.type,void 0),k=e.factory.createIntersectionTypeNode(Gt(Gt(Gt([],e.getAllSuperTypeNodes(ie),!0),[J],!1),P.length?[e.factory.createTypeLiteralNode(P)]:e.emptyArray,!0));h.replaceNode(v,ie,N(ie,k))}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="removeAccidentalCallParentheses",d=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(a){var p=e.findAncestor(e.getTokenAtPosition(a.sourceFile,a.span.start),e.isCallExpression);if(!!p){var N=e.textChanges.ChangeTracker.with(a,function(H){H.deleteRange(a.sourceFile,{pos:p.expression.end,end:p.end})});return[n.createCodeFixActionWithoutFixAll(f,N,e.Diagnostics.Remove_parentheses)]}},fixIds:[f]})})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="removeUnnecessaryAwait",d=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(p){var N=e.textChanges.ChangeTracker.with(p,function(H){return a(H,p.sourceFile,p.span)});if(N.length>0)return[n.createCodeFixAction(f,N,e.Diagnostics.Remove_unnecessary_await,f,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[f],getAllCodeActions:function(p){return n.codeFixAll(p,d,function(N,H){return a(N,H.file,H)})}});function a(p,N,H){var h=e.tryCast(e.getTokenAtPosition(N,H.start),function(P){return P.kind===132}),v=h&&e.tryCast(h.parent,e.isAwaitExpression);if(!!v){var A=v,q=e.isParenthesizedExpression(v.parent);if(q){var ie=e.getLeftmostExpression(v.expression,!1);if(e.isIdentifier(ie)){var b=e.findPrecedingToken(v.parent.pos,N);b&&b.kind!==103&&(A=v.parent)}}p.replaceNode(N,A,v.expression)}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],d="splitTypeOnlyImport";n.registerCodeFix({errorCodes:f,fixIds:[d],getCodeActions:function(N){var H=e.textChanges.ChangeTracker.with(N,function(h){return p(h,a(N.sourceFile,N.span),N)});if(H.length)return[n.createCodeFixAction(d,H,e.Diagnostics.Split_into_two_separate_import_declarations,d,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(N){return n.codeFixAll(N,f,function(H,h){p(H,a(N.sourceFile,h),N)})}});function a(N,H){return e.findAncestor(e.getTokenAtPosition(N,H.start),e.isImportDeclaration)}function p(N,H,h){if(!!H){var v=e.Debug.checkDefined(H.importClause);N.replaceNode(h.sourceFile,H,e.factory.updateImportDeclaration(H,H.decorators,H.modifiers,e.factory.updateImportClause(v,v.isTypeOnly,v.name,void 0),H.moduleSpecifier,H.assertClause)),N.insertNodeAfter(h.sourceFile,H,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(v,v.isTypeOnly,void 0,v.namedBindings),H.moduleSpecifier,H.assertClause))}}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixConvertConstToLet",d=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(N){var H=N.sourceFile,h=N.span,v=N.program,A=a(H,h.start,v);if(A!==void 0){var q=e.textChanges.ChangeTracker.with(N,function(ie){return p(ie,H,A)});return[n.createCodeFixAction(f,q,e.Diagnostics.Convert_const_to_let,f,e.Diagnostics.Convert_const_to_let)]}},fixIds:[f]});function a(N,H,h){var v,A=h.getTypeChecker(),q=A.getSymbolAtLocation(e.getTokenAtPosition(N,H)),ie=e.tryCast((v=q==null?void 0:q.valueDeclaration)===null||v===void 0?void 0:v.parent,e.isVariableDeclarationList);if(ie!==void 0){var b=e.findChildOfKind(ie,85,N);if(b!==void 0)return e.createRange(b.pos,b.end)}}function p(N,H,h){N.replaceRangeWithText(H,h,"let")}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="fixExpectedComma",d=e.Diagnostics._0_expected.code,a=[d];n.registerCodeFix({errorCodes:a,getCodeActions:function(H){var h=H.sourceFile,v=p(h,H.span.start,H.errorCode);if(!!v){var A=e.textChanges.ChangeTracker.with(H,function(q){return N(q,h,v)});return[n.createCodeFixAction(f,A,[e.Diagnostics.Change_0_to_1,";",","],f,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[f],getAllCodeActions:function(H){return n.codeFixAll(H,a,function(h,v){var A=p(v.file,v.start,v.code);A&&N(h,H.sourceFile,A)})}});function p(H,h,v){var A=e.getTokenAtPosition(H,h);return A.kind===26&&A.parent&&(e.isObjectLiteralExpression(A.parent)||e.isArrayLiteralExpression(A.parent))?{node:A}:void 0}function N(H,h,v){var A=v.node,q=e.factory.createToken(27);H.replaceNode(h,A,q)}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="addVoidToPromise",d="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:[d],getCodeActions:function(H){var h=e.textChanges.ChangeTracker.with(H,function(v){return p(v,H.sourceFile,H.span,H.program)});if(h.length>0)return[n.createCodeFixAction(f,h,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,d,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(H){return n.codeFixAll(H,a,function(h,v){return p(h,v.file,v,H.program,new e.Set)})}});function p(H,h,v,A,q){var ie=e.getTokenAtPosition(h,v.start);if(!(!e.isIdentifier(ie)||!e.isCallExpression(ie.parent)||ie.parent.expression!==ie||ie.parent.arguments.length!==0)){var b=A.getTypeChecker(),P=b.getSymbolAtLocation(ie),S=P==null?void 0:P.valueDeclaration;if(!(!S||!e.isParameter(S)||!e.isNewExpression(S.parent.parent))&&!(q!=null&&q.has(S))){q==null||q.add(S);var B=N(S.parent.parent);if(e.some(B)){var J=B[0],k=!e.isUnionTypeNode(J)&&!e.isParenthesizedTypeNode(J)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([J,e.factory.createKeywordTypeNode(114)]).types[0]);k&&H.insertText(h,J.pos,"("),H.insertText(h,J.end,k?") | void":" | void")}else{var M=b.getResolvedSignature(ie.parent),x=M==null?void 0:M.parameters[0],w=x&&b.getTypeOfSymbolAtLocation(x,S.parent.parent);e.isInJSFile(S)?(!w||w.flags&3)&&(H.insertText(h,S.parent.parent.end,")"),H.insertText(h,e.skipTrivia(h.text,S.parent.parent.pos),"/** @type {Promise} */(")):(!w||w.flags&2)&&H.insertText(h,S.parent.parent.expression.end,"")}}}}function N(H){var h;if(e.isInJSFile(H)){if(e.isParenthesizedExpression(H.parent)){var v=(h=e.getJSDocTypeTag(H.parent))===null||h===void 0?void 0:h.typeExpression.type;if(v&&e.isTypeReferenceNode(v)&&e.isIdentifier(v.typeName)&&e.idText(v.typeName)==="Promise")return v.typeArguments}}else return H.typeArguments}})(e.codefix||(e.codefix={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="Convert export",d={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(f,{kinds:[d.kind,a.kind],getAvailableActions:function(b){var P=p(b,b.triggerReason==="invoked");if(!P)return e.emptyArray;if(!n.isRefactorErrorInfo(P)){var S=P.wasDefault?d:a;return[{name:f,description:S.description,actions:[S]}]}return b.preferences.provideRefactorNotApplicableReason?[{name:f,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[Rn(Rn({},d),{notApplicableReason:P.error}),Rn(Rn({},a),{notApplicableReason:P.error})]}]:e.emptyArray},getEditsForAction:function(b,P){e.Debug.assert(P===d.name||P===a.name,"Unexpected action name");var S=p(b);e.Debug.assert(S&&!n.isRefactorErrorInfo(S),"Expected applicable refactor info");var B=e.textChanges.ChangeTracker.with(b,function(J){return N(b.file,b.program,S,J,b.cancellationToken)});return{edits:B,renameFilename:void 0,renameLocation:void 0}}});function p(b,P){P===void 0&&(P=!0);var S=b.file,B=b.program,J=e.getRefactorContextSpan(b),k=e.getTokenAtPosition(S,J.start),M=!!(k.parent&&e.getSyntacticModifierFlags(k.parent)&1)&&P?k.parent:e.getParentNodeInSpan(k,S,J);if(!M||!e.isSourceFile(M.parent)&&!(e.isModuleBlock(M.parent)&&e.isAmbientModule(M.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var x=e.isSourceFile(M.parent)?M.parent.symbol:M.parent.parent.symbol,w=e.getSyntacticModifierFlags(M)||(e.isExportAssignment(M)&&!M.isExportEquals?513:0),K=!!(w&512);if(!(w&1)||!K&&x.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var Z=B.getTypeChecker(),ne=function($){return e.isIdentifier($)&&Z.getSymbolAtLocation($)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(M.kind){case 255:case 256:case 257:case 259:case 258:case 260:{var R=M;return R.name?ne(R.name)||{exportNode:R,exportName:R.name,wasDefault:K,exportingModuleSymbol:x}:void 0}case 236:{var Y=M;if(!(Y.declarationList.flags&2)||Y.declarationList.declarations.length!==1)return;var U=e.first(Y.declarationList.declarations);return U.initializer?(e.Debug.assert(!K,"Can't have a default flag here"),ne(U.name)||{exportNode:Y,exportName:U.name,wasDefault:K,exportingModuleSymbol:x}):void 0}case 270:{var R=M;return R.isExportEquals?void 0:ne(R.expression)||{exportNode:R,exportName:R.expression,wasDefault:K,exportingModuleSymbol:x}}default:return}}function N(b,P,S,B,J){H(b,S,B,P.getTypeChecker()),h(P,S,B,J)}function H(b,P,S,B){var J=P.wasDefault,k=P.exportNode,M=P.exportName;if(J)if(e.isExportAssignment(k)&&!k.isExportEquals){var x=k.expression,w=ie(x.text,x.text);S.replaceNode(b,k,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([w])))}else S.delete(b,e.Debug.checkDefined(e.findModifier(k,88),"Should find a default keyword in modifier list"));else{var K=e.Debug.checkDefined(e.findModifier(k,93),"Should find an export keyword in modifier list");switch(k.kind){case 255:case 256:case 257:S.insertNodeAfter(b,K,e.factory.createToken(88));break;case 236:var Z=e.first(k.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(M,B,b)&&!Z.type){S.replaceNode(b,k,e.factory.createExportDefault(e.Debug.checkDefined(Z.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:S.deleteModifier(b,K),S.insertNodeAfter(b,k,e.factory.createExportDefault(e.factory.createIdentifier(M.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(k.kind))}}}function h(b,P,S,B){var J=P.wasDefault,k=P.exportName,M=P.exportingModuleSymbol,x=b.getTypeChecker(),w=e.Debug.checkDefined(x.getSymbolAtLocation(k),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(b.getSourceFiles(),x,B,w,M,k.text,J,function(K){var Z=K.getSourceFile();J?v(Z,K,S,k.text):A(Z,K,S)})}function v(b,P,S,B){var J=P.parent;switch(J.kind){case 205:S.replaceNode(b,P,e.factory.createIdentifier(B));break;case 269:case 274:{var k=J;S.replaceNode(b,k,q(B,k.name.text));break}case 266:{var M=J;e.Debug.assert(M.name===P,"Import clause name should match provided ref");var k=q(B,P.text),x=M.namedBindings;if(!x)S.replaceNode(b,P,e.factory.createNamedImports([k]));else if(x.kind===267){S.deleteRange(b,{pos:P.getStart(b),end:x.getStart(b)});var w=e.isStringLiteral(M.parent.moduleSpecifier)?e.quotePreferenceFromString(M.parent.moduleSpecifier,b):1,K=e.makeImport(void 0,[q(B,P.text)],M.parent.moduleSpecifier,w);S.insertNodeAfter(b,M.parent,K)}else S.delete(b,P),S.insertNodeAtEndOfList(b,x.elements,k);break}default:e.Debug.failBadSyntaxKind(J)}}function A(b,P,S){var B=P.parent;switch(B.kind){case 205:S.replaceNode(b,P,e.factory.createIdentifier("default"));break;case 269:{var J=e.factory.createIdentifier(B.name.text);B.parent.elements.length===1?S.replaceNode(b,B.parent,J):(S.delete(b,B),S.insertNodeBefore(b,B.parent,J));break}case 274:{S.replaceNode(b,B,ie("default",B.name.text));break}default:e.Debug.assertNever(B,"Unexpected parent kind ".concat(B.kind))}}function q(b,P){return e.factory.createImportSpecifier(!1,b===P?void 0:e.factory.createIdentifier(b),e.factory.createIdentifier(P))}function ie(b,P){return e.factory.createExportSpecifier(!1,b===P?void 0:e.factory.createIdentifier(b),e.factory.createIdentifier(P))}})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="Convert import",d={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(f,{kinds:[d.kind,a.kind],getAvailableActions:function(ie){var b=p(ie,ie.triggerReason==="invoked");if(!b)return e.emptyArray;if(!n.isRefactorErrorInfo(b)){var P=b.kind===267,S=P?d:a;return[{name:f,description:S.description,actions:[S]}]}return ie.preferences.provideRefactorNotApplicableReason?[{name:f,description:d.description,actions:[Rn(Rn({},d),{notApplicableReason:b.error})]},{name:f,description:a.description,actions:[Rn(Rn({},a),{notApplicableReason:b.error})]}]:e.emptyArray},getEditsForAction:function(ie,b){e.Debug.assert(b===d.name||b===a.name,"Unexpected action name");var P=p(ie);e.Debug.assert(P&&!n.isRefactorErrorInfo(P),"Expected applicable refactor info");var S=e.textChanges.ChangeTracker.with(ie,function(B){return N(ie.file,ie.program,B,P)});return{edits:S,renameFilename:void 0,renameLocation:void 0}}});function p(ie,b){b===void 0&&(b=!0);var P=ie.file,S=e.getRefactorContextSpan(ie),B=e.getTokenAtPosition(P,S.start),J=b?e.findAncestor(B,e.isImportDeclaration):e.getParentNodeInSpan(B,P,S);if(!J||!e.isImportDeclaration(J))return{error:"Selection is not an import declaration."};var k=S.start+S.length,M=e.findNextToken(J,J.parent,P);if(!(M&&k>M.getStart())){var x=J.importClause;return x?x.namedBindings?x.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 N(ie,b,P,S){var B=b.getTypeChecker();S.kind===267?H(ie,B,P,S,e.getAllowSyntheticDefaultImports(b.getCompilerOptions())):A(ie,B,P,S)}function H(ie,b,P,S,B){var J=!1,k=[],M=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(S.name,b,ie,function($){if(!e.isPropertyAccessOrQualifiedName($.parent))J=!0;else{var T=h($.parent).text;b.resolveName(T,$,67108863,!0)&&M.set(T,!0),e.Debug.assert(v($.parent)===$,"Parent expression should match id"),k.push($.parent)}});for(var x=new e.Map,w=0,K=k;w=I.pos?y.getEnd():I.getEnd()),C=T?M(I):k(I,D),m=C&&A(C)?x(C):void 0;if(!m)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var u=U.getTypeChecker();return e.isConditionalExpression(m)?ie(m,u):b(m)}}function ie(ne,R){var Y=ne.condition,U=w(ne.whenTrue);if(!U||R.isNullableType(R.getTypeAtLocation(U)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(Y)||e.isIdentifier(Y))&&S(Y,U.expression))return{finalExpression:U,occurrences:[Y],expression:ne};if(e.isBinaryExpression(Y)){var $=P(U.expression,Y);return $?{finalExpression:U,occurrences:$,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function b(ne){if(ne.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var R=w(ne.right);if(!R)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var Y=P(R.expression,ne.left);return Y?{finalExpression:R,occurrences:Y,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function P(ne,R){for(var Y=[];e.isBinaryExpression(R)&&R.operatorToken.kind===55;){var U=S(e.skipParentheses(ne),e.skipParentheses(R.right));if(!U)break;Y.push(U),ne=U,R=R.left}var $=S(ne,R);return $&&Y.push($),Y.length>0?Y:void 0}function S(ne,R){if(!(!e.isIdentifier(R)&&!e.isPropertyAccessExpression(R)&&!e.isElementAccessExpression(R)))return B(ne,R)?R:void 0}function B(ne,R){for(;(e.isCallExpression(ne)||e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne))&&J(ne)!==J(R);)ne=ne.expression;for(;e.isPropertyAccessExpression(ne)&&e.isPropertyAccessExpression(R)||e.isElementAccessExpression(ne)&&e.isElementAccessExpression(R);){if(J(ne)!==J(R))return!1;ne=ne.expression,R=R.expression}return e.isIdentifier(ne)&&e.isIdentifier(R)&&ne.getText()===R.getText()}function J(ne){if(e.isIdentifier(ne)||e.isStringOrNumericLiteralLike(ne))return ne.getText();if(e.isPropertyAccessExpression(ne))return J(ne.name);if(e.isElementAccessExpression(ne))return J(ne.argumentExpression)}function k(ne,R){for(;ne.parent;){if(A(ne)&&R.length!==0&&ne.end>=R.start+R.length)return ne;ne=ne.parent}}function M(ne){for(;ne.parent;){if(A(ne)&&!A(ne.parent))return ne;ne=ne.parent}}function x(ne){if(h(ne))return ne;if(e.isVariableStatement(ne)){var R=e.getSingleVariableOfVariableStatement(ne),Y=R==null?void 0:R.initializer;return Y&&h(Y)?Y:void 0}return ne.expression&&h(ne.expression)?ne.expression:void 0}function w(ne){if(ne=e.skipParentheses(ne),e.isBinaryExpression(ne))return w(ne.left);if((e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne)||e.isCallExpression(ne))&&!e.isOptionalChain(ne))return ne}function K(ne,R,Y){if(e.isPropertyAccessExpression(R)||e.isElementAccessExpression(R)||e.isCallExpression(R)){var U=K(ne,R.expression,Y),$=Y.length>0?Y[Y.length-1]:void 0,T=($==null?void 0:$.getText())===R.expression.getText();if(T&&Y.pop(),e.isCallExpression(R))return T?e.factory.createCallChain(U,e.factory.createToken(28),R.typeArguments,R.arguments):e.factory.createCallChain(U,R.questionDotToken,R.typeArguments,R.arguments);if(e.isPropertyAccessExpression(R))return T?e.factory.createPropertyAccessChain(U,e.factory.createToken(28),R.name):e.factory.createPropertyAccessChain(U,R.questionDotToken,R.name);if(e.isElementAccessExpression(R))return T?e.factory.createElementAccessChain(U,e.factory.createToken(28),R.argumentExpression):e.factory.createElementAccessChain(U,R.questionDotToken,R.argumentExpression)}return R}function Z(ne,R,Y,U,$){var T=U.finalExpression,I=U.occurrences,y=U.expression,D=I[I.length-1],C=K(R,T,I);C&&(e.isPropertyAccessExpression(C)||e.isElementAccessExpression(C)||e.isCallExpression(C))&&(e.isBinaryExpression(y)?Y.replaceNodeRange(ne,D,T,C):e.isConditionalExpression(y)&&Y.replaceNode(ne,y,e.factory.createBinaryExpression(C,e.factory.createToken(60),y.whenFalse)))}})(n.convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(f){var d="Convert overload list to single signature",a=e.Diagnostics.Convert_overload_list_to_single_signature.message,p={name:d,description:a,kind:"refactor.rewrite.function.overloadList"};n.registerRefactor(d,{kinds:[p.kind],getEditsForAction:H,getAvailableActions:N});function N(A){var q=A.file,ie=A.startPosition,b=A.program,P=v(q,ie,b);return P?[{name:d,description:a,actions:[p]}]:e.emptyArray}function H(A){var q=A.file,ie=A.startPosition,b=A.program,P=v(q,ie,b);if(!P)return;var S=b.getTypeChecker(),B=P[P.length-1],J=B;switch(B.kind){case 167:{J=e.factory.updateMethodSignature(B,B.modifiers,B.name,B.questionToken,B.typeParameters,M(P),B.type);break}case 168:{J=e.factory.updateMethodDeclaration(B,B.decorators,B.modifiers,B.asteriskToken,B.name,B.questionToken,B.typeParameters,M(P),B.type,B.body);break}case 173:{J=e.factory.updateCallSignature(B,B.typeParameters,M(P),B.type);break}case 170:{J=e.factory.updateConstructorDeclaration(B,B.decorators,B.modifiers,M(P),B.body);break}case 174:{J=e.factory.updateConstructSignature(B,B.typeParameters,M(P),B.type);break}case 255:{J=e.factory.updateFunctionDeclaration(B,B.decorators,B.modifiers,B.asteriskToken,B.name,B.typeParameters,M(P),B.type,B.body);break}default:return e.Debug.failBadSyntaxKind(B,"Unhandled signature kind in overload list conversion refactoring")}if(J===B)return;var k=e.textChanges.ChangeTracker.with(A,function(K){K.replaceNodeRange(q,P[0],P[P.length-1],J)});return{renameFilename:void 0,renameLocation:void 0,edits:k};function M(K){var Z=K[K.length-1];return e.isFunctionLikeDeclaration(Z)&&Z.body&&(K=K.slice(0,K.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(K,x)))])}function x(K){var Z=e.map(K.parameters,w);return e.setEmitFlags(e.factory.createTupleTypeNode(Z),e.some(Z,function(ne){return!!e.length(e.getSyntheticLeadingComments(ne))})?0:1)}function w(K){e.Debug.assert(e.isIdentifier(K.name));var Z=e.setTextRange(e.factory.createNamedTupleMember(K.dotDotDotToken,K.name,K.questionToken,K.type||e.factory.createKeywordTypeNode(130)),K),ne=K.symbol&&K.symbol.getDocumentationComment(S);if(ne){var R=e.displayPartsToString(ne);R.length&&e.setSyntheticLeadingComments(Z,[{text:`* `.concat(R.split(` `).map(function(Y){return" * ".concat(Y)}).join(` `),` `),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return Z}}function h(A){switch(A.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function v(A,q,ie){var b=e.getTokenAtPosition(A,q),P=e.findAncestor(b,h);if(!!P){var S=ie.getTypeChecker(),B=P.symbol;if(!!B){var J=B.declarations;if(!(e.length(J)<=1)&&!!e.every(J,function(K){return e.getSourceFileOfNode(K)===A})&&!!h(J[0])){var k=J[0].kind;if(!!e.every(J,function(K){return K.kind===k})){var M=J;if(!e.some(M,function(K){return!!K.typeParameters||e.some(K.parameters,function(Z){return!!Z.decorators||!!Z.modifiers||!e.isIdentifier(Z.name)})})){var x=e.mapDefined(M,function(K){return S.getSignatureFromDeclaration(K)});if(e.length(x)===e.length(J)){var w=S.getReturnTypeOfSignature(x[0]);if(!!e.every(x,function(K){return S.getReturnTypeOfSignature(K)===w}))return M}}}}}}}})(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(f){var d="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(d,{kinds:[a.kind,p.kind],getAvailableActions:N,getEditsForAction:H});function N(V){var z=V.kind,Te=A(V.file,e.getRefactorContextSpan(V),V.triggerReason==="invoked"),ge=Te.targetRange;if(ge===void 0){if(!Te.errors||Te.errors.length===0||!V.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var ke=[];return n.refactorKindBeginsWith(p.kind,z)&&ke.push({name:d,description:p.description,actions:[Rn(Rn({},p),{notApplicableReason:Cr(Te.errors)})]}),n.refactorKindBeginsWith(a.kind,z)&&ke.push({name:d,description:a.description,actions:[Rn(Rn({},a),{notApplicableReason:Cr(Te.errors)})]}),ke}var Me=J(ge,V);if(Me===void 0)return e.emptyArray;for(var Ie=[],Ge=new e.Map,he,ve=[],Ve=new e.Map,_e,Le=0,qe=0,Xe=Me;qe=z.start+z.length)return(vr||(vr=[])).push(e.createDiagnosticForNode(Dr,h.cannotExtractSuper)),!0}else _e|=v.UsesThis;break;case 213:e.forEachChild(Dr,function ze(Ar){if(e.isThis(Ar))_e|=v.UsesThis;else{if(e.isClassLike(Ar)||e.isFunctionLike(Ar)&&!e.isArrowFunction(Ar))return!1;e.forEachChild(Ar,ze)}});case 256:case 255:e.isSourceFile(Dr.parent)&&Dr.parent.externalModuleIndicator===void 0&&(vr||(vr=[])).push(e.createDiagnosticForNode(Dr,h.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var pr=de;switch(Dr.kind){case 238:de=0;break;case 251:de=0;break;case 234:Dr.parent&&Dr.parent.kind===251&&Dr.parent.finallyBlock===Dr&&(de=4);break;case 289:case 288:de|=1;break;default:e.isIterationStatement(Dr,!1)&&(de|=3);break}switch(Dr.kind){case 191:case 108:_e|=v.UsesThis;break;case 249:{var Jr=Dr.label;(Fe||(Fe=[])).push(Jr.escapedText),e.forEachChild(Dr,$e),Fe.pop();break}case 245:case 244:{var Jr=Dr.label;Jr?e.contains(Fe,Jr.escapedText)||(vr||(vr=[])).push(e.createDiagnosticForNode(Dr,h.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):de&(Dr.kind===245?1:2)||(vr||(vr=[])).push(e.createDiagnosticForNode(Dr,h.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 217:_e|=v.IsAsyncFunction;break;case 223:_e|=v.IsGenerator;break;case 246:de&4?_e|=v.HasReturn:(vr||(vr=[])).push(e.createDiagnosticForNode(Dr,h.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(Dr,$e);break}de=pr}}}f.getRangeToExtract=A;function q(V,z,Te){var ge=V.getStart(Te),ke=z.getEnd();return Te.text.charCodeAt(ke)===59&&ke++,{start:ge,length:ke-ge}}function ie(V){if(e.isStatement(V))return[V];if(e.isExpressionNode(V))return e.isExpressionStatement(V.parent)?[V.parent]:V}function b(V){return e.isFunctionLikeDeclaration(V)||e.isSourceFile(V)||e.isModuleBlock(V)||e.isClassLike(V)}function P(V){var z=te(V.range)?e.first(V.range):V.range;if(V.facts&v.UsesThis){var Te=e.getContainingClass(z);if(Te){var ge=e.findAncestor(z,e.isFunctionLikeDeclaration);return ge?[ge,Te]:[Te]}}for(var ke=[];;)if(z=z.parent,z.kind===163&&(z=e.findAncestor(z,function(Me){return e.isFunctionLikeDeclaration(Me)}).parent),b(z)&&(ke.push(z),z.kind===303))return ke}function S(V,z,Te){var ge=k(V,z),ke=ge.scopes,Me=ge.readsAndWrites,Ie=Me.target,Ge=Me.usagesPerScope,he=Me.functionErrorsPerScope,ve=Me.exposedVariableDeclarations;return e.Debug.assert(!he[Te].length,"The extraction went missing? How?"),z.cancellationToken.throwIfCancellationRequested(),R(Ie,ke[Te],Ge[Te],ve,V,z)}function B(V,z,Te){var ge=k(V,z),ke=ge.scopes,Me=ge.readsAndWrites,Ie=Me.target,Ge=Me.usagesPerScope,he=Me.constantErrorsPerScope,ve=Me.exposedVariableDeclarations;e.Debug.assert(!he[Te].length,"The extraction went missing? How?"),e.Debug.assert(ve.length===0,"Extract constant accepted a range containing a variable declaration?"),z.cancellationToken.throwIfCancellationRequested();var Ve=e.isExpression(Ie)?Ie:Ie.statements[0].expression;return Y(Ve,ke[Te],Ge[Te],V.facts,z)}function J(V,z){var Te=k(V,z),ge=Te.scopes,ke=Te.readsAndWrites,Me=ke.functionErrorsPerScope,Ie=ke.constantErrorsPerScope,Ge=ge.map(function(he,ve){var Ve=M(he),_e=x(he),Le=e.isFunctionLikeDeclaration(he)?w(he):e.isClassLike(he)?K(he):Z(he),qe,Xe;return Le===1?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Ve,"global"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[_e,"global"])):Le===0?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Ve,"module"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[_e,"module"])):(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[Ve,Le]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[_e,Le])),ve===0&&!e.isClassLike(he)&&(Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[_e])),{functionExtraction:{description:qe,errors:Me[ve]},constantExtraction:{description:Xe,errors:Ie[ve]}}});return Ge}function k(V,z){var Te=z.file,ge=P(V),ke=ue(V,Te),Me=j(V,ge,ke,Te,z.program.getTypeChecker(),z.cancellationToken);return{scopes:ge,readsAndWrites:Me}}function M(V){return e.isFunctionLikeDeclaration(V)?"inner function":e.isClassLike(V)?"method":"function"}function x(V){return e.isClassLike(V)?"readonly field":"constant"}function w(V){switch(V.kind){case 170:return"constructor";case 212:case 255:return V.name?"function '".concat(V.name.text,"'"):e.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(V.name.getText(),"'");case 171:return"'get ".concat(V.name.getText(),"'");case 172:return"'set ".concat(V.name.getText(),"'");default:throw e.Debug.assertNever(V,"Unexpected scope kind ".concat(V.kind))}}function K(V){return V.kind===256?V.name?"class '".concat(V.name.text,"'"):"anonymous class declaration":V.name?"class expression '".concat(V.name.text,"'"):"anonymous class expression"}function Z(V){return V.kind===261?"namespace '".concat(V.parent.name.getText(),"'"):V.externalModuleIndicator?0:1}var ne;(function(V){V[V.Module=0]="Module",V[V.Global=1]="Global"})(ne||(ne={}));function R(V,z,Te,ge,ke,Me){var Ie=Te.usages,Ge=Te.typeParameterUsages,he=Te.substitutions,ve=Me.program.getTypeChecker(),Ve=e.getEmitScriptTarget(Me.program.getCompilerOptions()),_e=e.codefix.createImportAdder(Me.file,Me.program,Me.preferences,Me.host),Le=z.getSourceFile(),qe=e.getUniqueName(e.isClassLike(z)?"newMethod":"newFunction",Le),Xe=e.isInJSFile(z),De=e.factory.createIdentifier(qe),Ae,Ye=[],Lr=[],Er;Ie.forEach(function(We,ee){var Ne;if(!Xe){var me=ve.getTypeOfSymbolAtLocation(We.symbol,We.node);me=ve.getBaseTypeOfLiteralType(me),Ne=e.codefix.typeToAutoImportableTypeNode(ve,_e,me,z,Ve,1)}var Ze=e.factory.createParameterDeclaration(void 0,void 0,void 0,ee,void 0,Ne);Ye.push(Ze),We.usage===2&&(Er||(Er=[])).push(We),Lr.push(e.factory.createIdentifier(ee))});var lr=e.arrayFrom(Ge.values()).map(function(We){return{type:We,declaration:$(We)}}),Cr=lr.sort(T),Or=Cr.length===0?void 0:Cr.map(function(We){return We.declaration}),Ke=Or!==void 0?Or.map(function(We){return e.factory.createTypeReferenceNode(We.name,void 0)}):void 0;if(e.isExpression(V)&&!Xe){var Pe=ve.getContextualType(V);Ae=ve.typeToTypeNode(Pe,z,1)}var Hr=y(V,ge,Er,he,!!(ke.facts&v.HasReturn)),ur=Hr.body,vr=Hr.returnValueProperty;e.suppressLeadingAndTrailingTrivia(ur);var de;if(e.isClassLike(z)){var Fe=Xe?[]:[e.factory.createModifier(121)];ke.facts&v.InStaticRegion&&Fe.push(e.factory.createModifier(124)),ke.facts&v.IsAsyncFunction&&Fe.push(e.factory.createModifier(131)),de=e.factory.createMethodDeclaration(void 0,Fe.length?Fe:void 0,ke.facts&v.IsGenerator?e.factory.createToken(41):void 0,De,void 0,Or,Ye,Ae,ur)}else de=e.factory.createFunctionDeclaration(void 0,ke.facts&v.IsAsyncFunction?[e.factory.createToken(131)]:void 0,ke.facts&v.IsGenerator?e.factory.createToken(41):void 0,De,Or,Ye,Ae,ur);var $e=e.textChanges.ChangeTracker.fromContext(Me),Dr=(te(ke.range)?e.last(ke.range):ke.range).end,Fr=m(Dr,z);Fr?$e.insertNodeBefore(Me.file,Fr,de,!0):$e.insertNodeAtEndOfScope(Me.file,z,de),_e.writeFixes($e);var He=[],pr=I(z,ke,qe),Jr=e.factory.createCallExpression(pr,Ke,Lr);if(ke.facts&v.IsGenerator&&(Jr=e.factory.createYieldExpression(e.factory.createToken(41),Jr)),ke.facts&v.IsAsyncFunction&&(Jr=e.factory.createAwaitExpression(Jr)),Q(V)&&(Jr=e.factory.createJsxExpression(void 0,Jr)),ge.length&&!Er)if(e.Debug.assert(!vr,"Expected no returnValueProperty"),e.Debug.assert(!(ke.facts&v.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),ge.length===1){var ze=ge[0];He.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(ze.name),void 0,e.getSynthesizedDeepClone(ze.type),Jr)],ze.parent.flags)))}else{for(var Ar=[],Yr=[],lt=ge[0].parent.flags,tt=!1,Rt=0,cn=ge;Rt1)return V;Te=V,V=V.parent}}function $(V){var z,Te=V.symbol;if(Te&&Te.declarations)for(var ge=0,ke=Te.declarations;ge0;if(e.isBlock(V)&&!Me&&ge.size===0)return{body:e.factory.createBlock(V.statements,!0),returnValueProperty:void 0};var Ie,Ge=!1,he=e.factory.createNodeArray(e.isBlock(V)?V.statements.slice(0):[e.isStatement(V)?V:e.factory.createReturnStatement(e.skipParentheses(V))]);if(Me||ge.size){var ve=e.visitNodes(he,_e).slice();if(Me&&!ke&&e.isStatement(V)){var Ve=F(z,Te);Ve.length===1?ve.push(e.factory.createReturnStatement(Ve[0].name)):ve.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(Ve)))}return{body:e.factory.createBlock(ve,!0),returnValueProperty:Ie}}else return{body:e.factory.createBlock(he,!0),returnValueProperty:void 0};function _e(Le){if(!Ge&&e.isReturnStatement(Le)&&Me){var qe=F(z,Te);return Le.expression&&(Ie||(Ie="__return"),qe.unshift(e.factory.createPropertyAssignment(Ie,e.visitNode(Le.expression,_e)))),qe.length===1?e.factory.createReturnStatement(qe[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(qe))}else{var Xe=Ge;Ge=Ge||e.isFunctionLikeDeclaration(Le)||e.isClassLike(Le);var De=ge.get(e.getNodeId(Le).toString()),Ae=De?e.getSynthesizedDeepClone(De):e.visitEachChild(Le,_e,e.nullTransformationContext);return Ge=Xe,Ae}}}function D(V,z){return z.size?Te(V):V;function Te(ge){var ke=z.get(e.getNodeId(ge).toString());return ke?e.getSynthesizedDeepClone(ke):e.visitEachChild(ge,Te,e.nullTransformationContext)}}function C(V){if(e.isFunctionLikeDeclaration(V)){var z=V.body;if(e.isBlock(z))return z.statements}else{if(e.isModuleBlock(V)||e.isSourceFile(V))return V.statements;if(e.isClassLike(V))return V.members;e.assertType(V)}return e.emptyArray}function m(V,z){return e.find(C(z),function(Te){return Te.pos>=V&&e.isFunctionLikeDeclaration(Te)&&!e.isConstructorDeclaration(Te)})}function u(V,z){var Te=z.members;e.Debug.assert(Te.length>0,"Found no members");for(var ge,ke=!0,Me=0,Ie=Te;MeV)return ge||Te[0];if(ke&&!e.isPropertyDeclaration(Ge)){if(ge!==void 0)return Ge;ke=!1}ge=Ge}return ge===void 0?e.Debug.fail():ge}function g(V,z){e.Debug.assert(!e.isClassLike(z));for(var Te,ge=V;ge!==z;ge=ge.parent)b(ge)&&(Te=ge);for(var ge=(Te||V).parent;;ge=ge.parent){if(O(ge)){for(var ke=void 0,Me=0,Ie=ge.statements;MeV.pos)break;ke=Ge}return!ke&&e.isCaseClause(ge)?(e.Debug.assert(e.isSwitchStatement(ge.parent.parent),"Grandparent isn't a switch statement"),ge.parent.parent):e.Debug.checkDefined(ke,"prevStatement failed to get set")}e.Debug.assert(ge!==z,"Didn't encounter a block-like before encountering scope")}}function F(V,z){var Te=e.map(V,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)}),ge=e.map(z,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)});return Te===void 0?ge:ge===void 0?Te:Te.concat(ge)}function te(V){return e.isArray(V)}function ue(V,z){return te(V.range)?{pos:e.first(V.range).getStart(z),end:e.last(V.range).getEnd()}:V.range}var X;(function(V){V[V.Read=1]="Read",V[V.Write=2]="Write"})(X||(X={}));function j(V,z,Te,ge,ke,Me){var Ie=new e.Map,Ge=[],he=[],ve=[],Ve=[],_e=[],Le=new e.Map,qe=[],Xe,De=te(V.range)?V.range.length===1&&e.isExpressionStatement(V.range[0])?V.range[0].expression:void 0:V.range,Ae;if(De===void 0){var Ye=V.range,Lr=e.first(Ye).getStart(),Er=e.last(Ye).end;Ae=e.createFileDiagnostic(ge,Lr,Er-Lr,h.expressionExpected)}else ke.getTypeAtLocation(De).flags&147456&&(Ae=e.createDiagnosticForNode(De,h.uselessConstantType));for(var lr=0,Cr=z;lr0){for(var Fe=new e.Map,$e=0,Dr=ur;Dr!==void 0&&$e0&&(sr.usages.size>0||sr.typeParameterUsages.size>0)){var ye=te(V.range)?V.range[0]:V.range;Ve[Rr].push(e.createDiagnosticForNode(ye,h.cannotAccessVariablesFromNestedScopes))}var or=!1,fe;if(Ge[Rr].usages.forEach(function(Ee){Ee.usage===2&&(or=!0,Ee.symbol.flags&106500&&Ee.symbol.valueDeclaration&&e.hasEffectiveModifier(Ee.symbol.valueDeclaration,64)&&(fe=Ee.symbol.valueDeclaration))}),e.Debug.assert(te(V.range)||qe.length===0,"No variable declarations expected if something was extracted"),or&&!te(V.range)){var je=e.createDiagnosticForNode(V.range,h.cannotWriteInExpression);ve[Rr].push(je),Ve[Rr].push(je)}else if(fe&&Rr>0){var je=e.createDiagnosticForNode(fe,h.cannotExtractReadonlyPropertyInitializerOutsideConstructor);ve[Rr].push(je),Ve[Rr].push(je)}else if(Xe){var je=e.createDiagnosticForNode(Xe,h.cannotExtractExportedEntity);ve[Rr].push(je),Ve[Rr].push(je)}},Yr=0;Yr=sr)return fe;if(Pe.set(fe,sr),je){for(var Ee=0,We=Ge;Ee=0)){var sr=e.isIdentifier(Rr)?zn(Rr):ke.getSymbolAtLocation(Rr);if(sr){var ye=e.find(_e,function(fe){return fe.symbol===sr});if(ye)if(e.isVariableDeclaration(ye)){var or=ye.symbol.id.toString();Le.has(or)||(qe.push(ye),Le.set(or,!0))}else Xe=Xe||ye}e.forEachChild(Rr,In)}}function zn(Rr){return Rr.parent&&e.isShorthandPropertyAssignment(Rr.parent)&&Rr.parent.name===Rr?ke.getShorthandAssignmentValueSymbol(Rr.parent):ke.getSymbolAtLocation(Rr)}function ir(Rr,sr,ye){if(!!Rr){var or=Rr.getDeclarations();if(or&&or.some(function(je){return je.parent===sr}))return e.factory.createIdentifier(Rr.name);var fe=ir(Rr.parent,sr,ye);if(fe!==void 0)return ye?e.factory.createQualifiedName(fe,e.factory.createIdentifier(Rr.name)):e.factory.createPropertyAccessExpression(fe,Rr.name)}}}function Se(V){return e.findAncestor(V,function(z){return z.parent&&Ce(z)&&!e.isBinaryExpression(z.parent)})}function Ce(V){var z=V.parent;switch(z.kind){case 297:return!1}switch(V.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 O(V){switch(V.kind){case 234:case 303:case 261:case 288:return!0;default:return!1}}function Q(V){return(e.isJsxElement(V)||e.isJsxSelfClosingElement(V)||e.isJsxFragment(V))&&(e.isJsxElement(V.parent)||e.isJsxFragment(V.parent))}})(n.extractSymbol||(n.extractSymbol={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){var f="Extract type",d={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(f,{kinds:[d.kind,a.kind,p.kind],getAvailableActions:function(b){var P=N(b,b.triggerReason==="invoked");return P?n.isRefactorErrorInfo(P)?b.preferences.provideRefactorNotApplicableReason?[{name:f,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[Rn(Rn({},p),{notApplicableReason:P.error}),Rn(Rn({},d),{notApplicableReason:P.error}),Rn(Rn({},a),{notApplicableReason:P.error})]}]:e.emptyArray:[{name:f,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:P.isJS?[p]:e.append([d],P.typeElements&&a)}]:e.emptyArray},getEditsForAction:function(b,P){var S=b.file,B=N(b);e.Debug.assert(B&&!n.isRefactorErrorInfo(B),"Expected to find a range to extract");var J=e.getUniqueName("NewType",S),k=e.textChanges.ChangeTracker.with(b,function(w){switch(P){case d.name:return e.Debug.assert(!B.isJS,"Invalid actionName/JS combo"),A(w,S,J,B);case p.name:return e.Debug.assert(B.isJS,"Invalid actionName/JS combo"),ie(w,S,J,B);case a.name:return e.Debug.assert(!B.isJS&&!!B.typeElements,"Invalid actionName/JS combo"),q(w,S,J,B);default:e.Debug.fail("Unexpected action name")}}),M=S.fileName,x=e.getRenameLocation(k,M,J,!1);return{edits:k,renameFilename:M,renameLocation:x}}});function N(b,P){P===void 0&&(P=!0);var S=b.file,B=b.startPosition,J=e.isSourceFileJS(S),k=e.getTokenAtPosition(S,B),M=e.createTextRangeFromSpan(e.getRefactorContextSpan(b)),x=M.pos===M.end&&P,w=e.findAncestor(k,function(Y){return Y.parent&&e.isTypeNode(Y)&&!h(M,Y.parent,S)&&(x||e.nodeOverlapsWithStartEnd(k,S,M.pos,M.end))});if(!w||!e.isTypeNode(w))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var K=b.program.getTypeChecker(),Z=e.Debug.checkDefined(e.findAncestor(w,e.isStatement),"Should find a statement"),ne=v(K,w,Z,S);if(!ne)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var R=H(K,w);return{isJS:J,selection:w,firstStatement:Z,typeParameters:ne,typeElements:R}}function H(b,P){if(!!P)if(e.isIntersectionTypeNode(P)){for(var S=[],B=new e.Map,J=0,k=P.types;JVe.pos});if(Le!==-1){var qe=_e[Le];if(e.isNamedDeclaration(qe)&&qe.name&&e.rangeContainsRange(qe.name,Ve))return{toMove:[_e[Le]],afterLast:_e[Le+1]};if(!(Ve.pos>qe.getStart(ve))){var Xe=e.findIndex(_e,function(De){return De.end>Ve.end},Le);if(!(Xe!==-1&&(Xe===0||_e[Xe].getStart(ve)=a&&e.every(u,function(F){return ne(F,g)})}function ne(u,g){if(e.isRestParameter(u)){var F=g.getTypeAtLocation(u);if(!g.isArrayType(F)&&!g.isTupleType(F))return!1}return!u.modifiers&&!u.decorators&&e.isIdentifier(u.name)}function R(u){return e.isVariableDeclaration(u)&&e.isVarConst(u)&&e.isIdentifier(u.name)&&!u.type}function Y(u){return u.length>0&&e.isThis(u[0].name)}function U(u){return Y(u)?u.length-1:u.length}function $(u){return Y(u)&&(u=e.factory.createNodeArray(u.slice(1),u.hasTrailingComma)),u}function T(u,g){return e.isIdentifier(g)&&e.getTextOfIdentifierOrLiteral(g)===u?e.factory.createShorthandPropertyAssignment(u):e.factory.createPropertyAssignment(u,g)}function I(u,g){var F=$(u.parameters),te=e.isRestParameter(e.last(F)),ue=te?g.slice(0,F.length-1):g,X=e.map(ue,function(O,Q){var V=D(F[Q]),z=T(V,O);return e.suppressLeadingAndTrailingTrivia(z.name),e.isPropertyAssignment(z)&&e.suppressLeadingAndTrailingTrivia(z.initializer),e.copyComments(O,z),z});if(te&&g.length>=F.length){var j=g.slice(F.length-1),Se=e.factory.createPropertyAssignment(D(e.last(F)),e.factory.createArrayLiteralExpression(j));X.push(Se)}var Ce=e.factory.createObjectLiteralExpression(X,!1);return Ce}function y(u,g,F){var te=g.getTypeChecker(),ue=$(u.parameters),X=e.map(ue,z),j=e.factory.createObjectBindingPattern(X),Se=Te(ue),Ce;e.every(ue,Me)&&(Ce=e.factory.createObjectLiteralExpression());var O=e.factory.createParameterDeclaration(void 0,void 0,void 0,j,void 0,Se,Ce);if(Y(u.parameters)){var Q=u.parameters[0],V=e.factory.createParameterDeclaration(void 0,void 0,void 0,Q.name,void 0,Q.type);return e.suppressLeadingAndTrailingTrivia(V.name),e.copyComments(Q.name,V.name),Q.type&&(e.suppressLeadingAndTrailingTrivia(V.type),e.copyComments(Q.type,V.type)),e.factory.createNodeArray([V,O])}return e.factory.createNodeArray([O]);function z(Ie){var Ge=e.factory.createBindingElement(void 0,void 0,D(Ie),e.isRestParameter(Ie)&&Me(Ie)?e.factory.createArrayLiteralExpression():Ie.initializer);return e.suppressLeadingAndTrailingTrivia(Ge),Ie.initializer&&Ge.initializer&&e.copyComments(Ie.initializer,Ge.initializer),Ge}function Te(Ie){var Ge=e.map(Ie,ge),he=e.addEmitFlags(e.factory.createTypeLiteralNode(Ge),1);return he}function ge(Ie){var Ge=Ie.type;!Ge&&(Ie.initializer||e.isRestParameter(Ie))&&(Ge=ke(Ie));var he=e.factory.createPropertySignature(void 0,D(Ie),Me(Ie)?e.factory.createToken(57):Ie.questionToken,Ge);return e.suppressLeadingAndTrailingTrivia(he),e.copyComments(Ie.name,he.name),Ie.type&&he.type&&e.copyComments(Ie.type,he.type),he}function ke(Ie){var Ge=te.getTypeAtLocation(Ie);return e.getTypeNodeIfAccessible(Ge,Ie,g,F)}function Me(Ie){if(e.isRestParameter(Ie)){var Ge=te.getTypeAtLocation(Ie);return!te.isTupleType(Ge)}return te.isOptionalParameter(Ie)}}function D(u){return e.getTextOfIdentifierOrLiteral(u.name)}function C(u){switch(u.parent.kind){case 256:var g=u.parent;if(g.name)return[g.name];var F=e.Debug.checkDefined(e.findModifier(g,88),"Nameless class declaration should be a default export");return[F];case 225:var te=u.parent,ue=u.parent.parent,X=te.name;return X?[X,ue.name]:[ue.name]}}function m(u){switch(u.kind){case 255:if(u.name)return[u.name];var g=e.Debug.checkDefined(e.findModifier(u,88),"Nameless function declaration should be a default export");return[g];case 168:return[u.name];case 170:var F=e.Debug.checkDefined(e.findChildOfKind(u,134,u.getSourceFile()),"Constructor declaration should have constructor keyword");if(u.parent.kind===225){var te=u.parent.parent;return[te.name,F]}return[F];case 213:return[u.parent.name];case 212:return u.name?[u.name,u.parent.name]:[u.parent.name];default:return e.Debug.assertNever(u,"Unexpected function declaration kind ".concat(u.kind))}}})(n.convertParamsToDestructuredObject||(n.convertParamsToDestructuredObject={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){(function(n){(function(f){var d="Convert to template string",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),p={name:d,description:a,kind:"refactor.rewrite.string"};n.registerRefactor(d,{kinds:[p.kind],getEditsForAction:h,getAvailableActions:N});function N(w){var K=w.file,Z=w.startPosition,ne=H(K,Z),R=q(ne),Y={name:d,description:a,actions:[]};return e.isBinaryExpression(R)&&ie(R).isValidConcatenation?(Y.actions.push(p),[Y]):w.preferences.provideRefactorNotApplicableReason?(Y.actions.push(Rn(Rn({},p),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[Y]):e.emptyArray}function H(w,K){var Z=e.getTokenAtPosition(w,K),ne=q(Z),R=!ie(ne).isValidConcatenation;return R&&e.isParenthesizedExpression(ne.parent)&&e.isBinaryExpression(ne.parent.parent)?ne.parent.parent:Z}function h(w,K){var Z=w.file,ne=w.startPosition,R=H(Z,ne);switch(K){case a:return{edits:v(w,R)};default:return e.Debug.fail("invalid action")}}function v(w,K){var Z=q(K),ne=w.file,R=k(ie(Z),ne),Y=e.getTrailingCommentRanges(ne.text,Z.end);if(Y){var U=Y[Y.length-1],$={pos:Y[0].pos,end:U.end};return e.textChanges.ChangeTracker.with(w,function(T){T.deleteRange(ne,$),T.replaceNode(ne,Z,R)})}else return e.textChanges.ChangeTracker.with(w,function(T){return T.replaceNode(ne,Z,R)})}function A(w){return w.operatorToken.kind!==63}function q(w){var K=e.findAncestor(w.parent,function(Z){switch(Z.kind){case 205:case 206:return!1;case 222:case 220:return!(e.isBinaryExpression(Z.parent)&&A(Z.parent));default:return"quit"}});return K||w}function ie(w){var K=function($){if(!e.isBinaryExpression($))return{nodes:[$],operators:[],validOperators:!0,hasString:e.isStringLiteral($)||e.isNoSubstitutionTemplateLiteral($)};var T=K($.left),I=T.nodes,y=T.operators,D=T.hasString,C=T.validOperators;if(!(D||e.isStringLiteral($.right)||e.isTemplateExpression($.right)))return{nodes:[$],operators:[],hasString:!1,validOperators:!0};var m=$.operatorToken.kind===39,u=C&&m;return I.push($.right),y.push($.operatorToken),{nodes:I,operators:y,hasString:!0,validOperators:u}},Z=K(w),ne=Z.nodes,R=Z.operators,Y=Z.validOperators,U=Z.hasString;return{nodes:ne,operators:R,isValidConcatenation:Y&&U}}var b=function(w,K){return function(Z,ne){Z0;){var Y=ne.shift();e.copyTrailingComments(w[Y],R,K,3,!1),Z(Y,R)}}};function S(w){return w.replace(/\\.|[$`]/g,function(K){return K[0]==="\\"?K:"\\"+K})}function B(w){var K=e.isTemplateHead(w)||e.isTemplateMiddle(w)?-2:-1;return e.getTextOfNode(w).slice(1,K)}function J(w,K){for(var Z=[],ne="",R="";w1)return ie.getUnionType(e.mapDefined(P,function(B){return B.getReturnType()}))}var S=ie.getSignatureFromDeclaration(b);if(S)return ie.getReturnTypeOfSignature(S)}})(n.inferFunctionReturnType||(n.inferFunctionReturnType={}))})(e.refactor||(e.refactor={}))})(gr||(gr={}));var gr;(function(e){e.servicesVersion="0.8";function n(Q,V,z,Te){var ge=e.isNodeKind(Q)?new f(Q,V,z):Q===79?new v(79,V,z):Q===80?new A(80,V,z):new h(Q,V,z);return ge.parent=Te,ge.flags=Te.flags&25358336,ge}var f=function(){function Q(V,z,Te){this.pos=z,this.end=Te,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=V}return Q.prototype.assertHasRealPosition=function(V){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),V||"Node must have a real position for this operation")},Q.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},Q.prototype.getStart=function(V,z){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,V,z)},Q.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},Q.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},Q.prototype.getWidth=function(V){return this.assertHasRealPosition(),this.getEnd()-this.getStart(V)},Q.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},Q.prototype.getLeadingTriviaWidth=function(V){return this.assertHasRealPosition(),this.getStart(V)-this.pos},Q.prototype.getFullText=function(V){return this.assertHasRealPosition(),(V||this.getSourceFile()).text.substring(this.pos,this.end)},Q.prototype.getText=function(V){return this.assertHasRealPosition(),V||(V=this.getSourceFile()),V.text.substring(this.getStart(V),this.getEnd())},Q.prototype.getChildCount=function(V){return this.getChildren(V).length},Q.prototype.getChildAt=function(V,z){return this.getChildren(z)[V]},Q.prototype.getChildren=function(V){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=d(this,V))},Q.prototype.getFirstToken=function(V){this.assertHasRealPosition();var z=this.getChildren(V);if(!!z.length){var Te=e.find(z,function(ge){return ge.kind<307||ge.kind>345});return Te.kind<160?Te:Te.getFirstToken(V)}},Q.prototype.getLastToken=function(V){this.assertHasRealPosition();var z=this.getChildren(V),Te=e.lastOrUndefined(z);if(!!Te)return Te.kind<160?Te:Te.getLastToken(V)},Q.prototype.forEachChild=function(V,z){return e.forEachChild(this,V,z)},Q}();function d(Q,V){if(!e.isNodeKind(Q.kind))return e.emptyArray;var z=[];if(e.isJSDocCommentContainingNode(Q))return Q.forEachChild(function(Me){z.push(Me)}),z;e.scanner.setText((V||Q.getSourceFile()).text);var Te=Q.pos,ge=function(Me){a(z,Te,Me.pos,Q),z.push(Me),Te=Me.end},ke=function(Me){a(z,Te,Me.pos,Q),z.push(p(Me,Q)),Te=Me.end};return e.forEach(Q.jsDoc,ge),Te=Q.pos,Q.forEachChild(ge,ke),a(z,Te,Q.end,Q),e.scanner.setText(void 0),z}function a(Q,V,z,Te){for(e.scanner.setTextPos(V);V=ge.length&&(ke=this.getEnd()),ke||(ke=ge[Te+1]-1);var Me=this.getFullText();return Me[ke]===` `&&Me[ke-1]==="\r"?ke-1:ke},V.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},V.prototype.computeNamedDeclarations=function(){var z=e.createMultiMap();return this.forEachChild(Me),z;function Te(Ie){var Ge=ke(Ie);Ge&&z.add(Ge,Ie)}function ge(Ie){var Ge=z.get(Ie);return Ge||z.set(Ie,Ge=[]),Ge}function ke(Ie){var Ge=e.getNonAssignedNameOfDeclaration(Ie);return Ge&&(e.isComputedPropertyName(Ge)&&e.isPropertyAccessExpression(Ge.expression)?Ge.expression.name.text:e.isPropertyName(Ge)?e.getNameFromPropertyName(Ge):void 0)}function Me(Ie){switch(Ie.kind){case 255:case 212:case 168:case 167:var Ge=Ie,he=ke(Ge);if(he){var ve=ge(he),Ve=e.lastOrUndefined(ve);Ve&&Ge.parent===Ve.parent&&Ge.symbol===Ve.symbol?Ge.body&&!Ve.body&&(ve[ve.length-1]=Ge):ve.push(Ge)}e.forEachChild(Ie,Me);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:Te(Ie),e.forEachChild(Ie,Me);break;case 163:if(!e.hasSyntacticModifier(Ie,16476))break;case 253:case 202:{var _e=Ie;if(e.isBindingPattern(_e.name)){e.forEachChild(_e.name,Me);break}_e.initializer&&Me(_e.initializer)}case 297:case 166:case 165:Te(Ie);break;case 271:var Le=Ie;Le.exportClause&&(e.isNamedExports(Le.exportClause)?e.forEach(Le.exportClause.elements,Me):Me(Le.exportClause.name));break;case 265:var qe=Ie.importClause;qe&&(qe.name&&Te(qe.name),qe.namedBindings&&(qe.namedBindings.kind===267?Te(qe.namedBindings):e.forEach(qe.namedBindings.elements,Me)));break;case 220:e.getAssignmentDeclarationKind(Ie)!==0&&Te(Ie);default:e.forEachChild(Ie,Me)}}},V}(f),k=function(){function Q(V,z,Te){this.fileName=V,this.text=z,this.skipTrivia=Te}return Q.prototype.getLineAndCharacterOfPosition=function(V){return e.getLineAndCharacterOfPosition(this,V)},Q}();function M(){return{getNodeConstructor:function(){return f},getTokenConstructor:function(){return h},getIdentifierConstructor:function(){return v},getPrivateIdentifierConstructor:function(){return A},getSourceFileConstructor:function(){return J},getSymbolConstructor:function(){return H},getTypeConstructor:function(){return q},getSignatureConstructor:function(){return ie},getSourceMapSourceConstructor:function(){return k}}}function x(Q){var V=!0;for(var z in Q)if(e.hasProperty(Q,z)&&!w(z)){V=!1;break}if(V)return Q;var Te={};for(var z in Q)if(e.hasProperty(Q,z)){var ge=w(z)?z:z.charAt(0).toLowerCase()+z.substr(1);Te[ge]=Q[z]}return Te}e.toEditorSettings=x;function w(Q){return!Q.length||Q.charAt(0)===Q.charAt(0).toLowerCase()}function K(Q){return Q?e.map(Q,function(V){return V.text}).join(""):""}e.displayPartsToString=K;function Z(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=Z;function ne(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=ne;var R=function(){function Q(V,z){this.host=V,this.currentDirectory=V.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var Te=V.getScriptFileNames(),ge=0,ke=Te;ge=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=V,this.hostCancellationToken.isCancellationRequested()):!1},Q.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},Q}();e.ThrottledCancellationToken=D;var C=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],m=Gt(Gt([],C,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function u(Q,V,z){var Te;V===void 0&&(V=e.createDocumentRegistry(Q.useCaseSensitiveFileNames&&Q.useCaseSensitiveFileNames(),Q.getCurrentDirectory()));var ge;z===void 0?ge=e.LanguageServiceMode.Semantic:typeof z=="boolean"?ge=z?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:ge=z;var ke=new Y(Q),Me,Ie,Ge=0,he=Q.getCancellationToken?new y(Q.getCancellationToken()):I,ve=Q.getCurrentDirectory();!e.localizedDiagnosticMessages&&Q.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(Q.getLocalizedDiagnosticMessages());function Ve(pt){Q.log&&Q.log(pt)}var _e=e.hostUsesCaseSensitiveFileNames(Q),Le=e.createGetCanonicalFileName(_e),qe=e.getSourceMapper({useCaseSensitiveFileNames:function(){return _e},getCurrentDirectory:function(){return ve},getProgram:Ae,fileExists:e.maybeBind(Q,Q.fileExists),readFile:e.maybeBind(Q,Q.readFile),getDocumentPositionMapper:e.maybeBind(Q,Q.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(Q,Q.getSourceFileLike),log:Ve});function Xe(pt){var _t=Me.getSourceFile(pt);if(!_t){var Pt=new Error("Could not find source file: '".concat(pt,"'."));throw Pt.ProgramFiles=Me.getSourceFiles().map(function(It){return It.fileName}),Pt}return _t}function De(){var pt,_t,Pt;if(e.Debug.assert(ge!==e.LanguageServiceMode.Syntactic),Q.getProjectVersion){var It=Q.getProjectVersion();if(It){if(Ie===It&&!(!((pt=Q.hasChangedAutomaticTypeDirectiveNames)===null||pt===void 0)&&pt.call(Q)))return;Ie=It}}var rt=Q.getTypeRootsVersion?Q.getTypeRootsVersion():0;Ge!==rt&&(Ve("TypeRoots version has changed; provide new program"),Me=void 0,Ge=rt);var Cn=new R(Q,Le),Qn=Cn.getRootFileNames(),Ra=Q.getCompilationSettings()||Z(),Ci=Q.hasInvalidatedResolution||e.returnFalse,_i=e.maybeBind(Q,Q.hasChangedAutomaticTypeDirectiveNames),va=(_t=Q.getProjectReferences)===null||_t===void 0?void 0:_t.call(Q),yi,ro={useCaseSensitiveFileNames:_e,fileExists:No,readFile:lo,readDirectory:Lo,trace:e.maybeBind(Q,Q.trace),getCurrentDirectory:function(){return ve},onUnRecoverableConfigFileDiagnostic:e.noop};if(e.isProgramUptoDate(Me,Qn,Ra,function(za,hi){return Q.getScriptVersion(hi)},No,Ci,_i,ji,va))return;var Ka={getSourceFile:Yo,getSourceFileByPath:co,getCancellationToken:function(){return he},getCanonicalFileName:Le,useCaseSensitiveFileNames:function(){return _e},getNewLine:function(){return e.getNewLineCharacter(Ra,function(){return e.getNewLineOrDefaultFromHost(Q)})},getDefaultLibFileName:function(za){return Q.getDefaultLibFileName(za)},writeFile:e.noop,getCurrentDirectory:function(){return ve},fileExists:No,readFile:lo,getSymlinkCache:e.maybeBind(Q,Q.getSymlinkCache),realpath:e.maybeBind(Q,Q.realpath),directoryExists:function(za){return e.directoryProbablyExists(za,Q)},getDirectories:function(za){return Q.getDirectories?Q.getDirectories(za):[]},readDirectory:Lo,onReleaseOldSourceFile:Ha,onReleaseParsedCommandLine:to,hasInvalidatedResolution:Ci,hasChangedAutomaticTypeDirectiveNames:_i,trace:ro.trace,resolveModuleNames:e.maybeBind(Q,Q.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(Q,Q.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(Q,Q.useSourceOfProjectReferenceRedirect),getParsedCommandLine:ji};(Pt=Q.setCompilerHost)===null||Pt===void 0||Pt.call(Q,Ka);var Pi=V.getKeyForCompilationSettings(Ra),io={rootNames:Qn,options:Ra,host:Ka,oldProgram:Me,projectReferences:va};Me=e.createProgram(io),Cn=void 0,yi=void 0,qe.clearCache(),Me.getTypeChecker();return;function ji(za){var hi=e.toPath(za,ve,Le),Zi=yi==null?void 0:yi.get(hi);if(Zi!==void 0)return Zi||void 0;var Po=Q.getParsedCommandLine?Q.getParsedCommandLine(za):Hi(za);return(yi||(yi=new e.Map)).set(hi,Po||!1),Po}function Hi(za){var hi=Yo(za,100);if(!!hi)return hi.path=e.toPath(za,ve,Le),hi.resolvedPath=hi.path,hi.originalFileName=hi.fileName,e.parseJsonSourceFileConfigFileContent(hi,ro,e.getNormalizedAbsolutePath(e.getDirectoryPath(za),ve),void 0,e.getNormalizedAbsolutePath(za,ve))}function to(za,hi,Zi){var Po;Q.getParsedCommandLine?(Po=Q.onReleaseParsedCommandLine)===null||Po===void 0||Po.call(Q,za,hi,Zi):hi&&Ha(hi.sourceFile,Zi)}function No(za){var hi=e.toPath(za,ve,Le),Zi=Cn&&Cn.getEntryByPath(hi);return Zi?!e.isString(Zi):!!Q.fileExists&&Q.fileExists(za)}function lo(za){var hi=e.toPath(za,ve,Le),Zi=Cn&&Cn.getEntryByPath(hi);return Zi?e.isString(Zi)?void 0:e.getSnapshotText(Zi.scriptSnapshot):Q.readFile&&Q.readFile(za)}function Lo(za,hi,Zi,Po,Mo){return e.Debug.checkDefined(Q.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),Q.readDirectory(za,hi,Zi,Po,Mo)}function Ha(za,hi){var Zi=V.getKeyForCompilationSettings(hi);V.releaseDocumentWithKey(za.resolvedPath,Zi,za.scriptKind)}function Yo(za,hi,Zi,Po){return co(za,e.toPath(za,ve,Le),hi,Zi,Po)}function co(za,hi,Zi,Po,Mo){e.Debug.assert(Cn!==void 0,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var Fo=Cn&&Cn.getOrCreateEntryByPath(za,hi);if(!!Fo){if(!Mo){var zo=Me&&Me.getSourceFileByPath(hi);if(zo){if(Fo.scriptKind===zo.scriptKind)return V.updateDocumentWithKey(za,hi,Ra,Pi,Fo.scriptSnapshot,Fo.version,Fo.scriptKind);V.releaseDocumentWithKey(zo.resolvedPath,V.getKeyForCompilationSettings(Me.getCompilerOptions()),zo.scriptKind)}}return V.acquireDocumentWithKey(za,hi,Ra,Pi,Fo.scriptSnapshot,Fo.version,Fo.scriptKind)}}}function Ae(){if(ge===e.LanguageServiceMode.Syntactic){e.Debug.assert(Me===void 0);return}return De(),Me}function Ye(){var pt;return(pt=Q.getPackageJsonAutoImportProvider)===null||pt===void 0?void 0:pt.call(Q)}function Lr(){Me=void 0}function Er(){if(Me){var pt=V.getKeyForCompilationSettings(Me.getCompilerOptions());e.forEach(Me.getSourceFiles(),function(_t){return V.releaseDocumentWithKey(_t.resolvedPath,pt,_t.scriptKind)}),Me=void 0}Q=void 0}function lr(pt){return De(),Me.getSyntacticDiagnostics(Xe(pt),he).slice()}function Cr(pt){De();var _t=Xe(pt),Pt=Me.getSemanticDiagnostics(_t,he);if(!e.getEmitDeclarations(Me.getCompilerOptions()))return Pt.slice();var It=Me.getDeclarationDiagnostics(_t,he);return Gt(Gt([],Pt,!0),It,!0)}function Or(pt){return De(),e.computeSuggestionDiagnostics(Xe(pt),Me,he)}function Ke(){return De(),Gt(Gt([],Me.getOptionsDiagnostics(he),!0),Me.getGlobalDiagnostics(he),!0)}function Pe(pt,_t,Pt){Pt===void 0&&(Pt=e.emptyOptions);var It=Rn(Rn({},e.identity(Pt)),{includeCompletionsForModuleExports:Pt.includeCompletionsForModuleExports||Pt.includeExternalModuleExports,includeCompletionsWithInsertText:Pt.includeCompletionsWithInsertText||Pt.includeInsertTextCompletions});return De(),e.Completions.getCompletionsAtPosition(Q,Me,Ve,Xe(pt),_t,It,Pt.triggerCharacter,Pt.triggerKind,he)}function Hr(pt,_t,Pt,It,rt,Cn,Qn){return Cn===void 0&&(Cn=e.emptyOptions),De(),e.Completions.getCompletionEntryDetails(Me,Ve,Xe(pt),_t,{name:Pt,source:rt,data:Qn},Q,It&&e.formatting.getFormatContext(It,Q),Cn,he)}function ur(pt,_t,Pt,It,rt){return rt===void 0&&(rt=e.emptyOptions),De(),e.Completions.getCompletionEntrySymbol(Me,Ve,Xe(pt),_t,{name:Pt,source:It},Q,rt)}function vr(pt,_t){De();var Pt=Xe(pt),It=e.getTouchingPropertyName(Pt,_t);if(It!==Pt){var rt=Me.getTypeChecker(),Cn=de(It),Qn=j(Cn,rt);if(!Qn||rt.isUnknownSymbol(Qn)){var Ra=Fe(Pt,Cn,_t)?rt.getTypeAtLocation(Cn):void 0;return Ra&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(Cn,Pt),displayParts:rt.runWithCancellationToken(he,function(Ka){return e.typeToDisplayParts(Ka,Ra,e.getContainerNode(Cn))}),documentation:Ra.symbol?Ra.symbol.getDocumentationComment(rt):void 0,tags:Ra.symbol?Ra.symbol.getJsDocTags(rt):void 0}}var Ci=rt.runWithCancellationToken(he,function(Ka){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(Ka,Qn,Pt,e.getContainerNode(Cn),Cn)}),_i=Ci.symbolKind,va=Ci.displayParts,yi=Ci.documentation,ro=Ci.tags;return{kind:_i,kindModifiers:e.SymbolDisplay.getSymbolModifiers(rt,Qn),textSpan:e.createTextSpanFromNode(Cn,Pt),displayParts:va,documentation:yi,tags:ro}}}function de(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 Fe(pt,_t,Pt){switch(_t.kind){case 79:return!e.isLabelName(_t)&&!e.isTagName(_t)&&!e.isConstTypeReference(_t.parent);case 205:case 160:return!e.isInComment(pt,Pt);case 108:case 191:case 106:case 196:return!0;default:return!1}}function $e(pt,_t){return De(),e.GoToDefinition.getDefinitionAtPosition(Me,Xe(pt),_t)}function Dr(pt,_t){return De(),e.GoToDefinition.getDefinitionAndBoundSpan(Me,Xe(pt),_t)}function Fr(pt,_t){return De(),e.GoToDefinition.getTypeDefinitionAtPosition(Me.getTypeChecker(),Xe(pt),_t)}function He(pt,_t){return De(),e.FindAllReferences.getImplementationsAtPosition(Me,he,Me.getSourceFiles(),Xe(pt),_t)}function pr(pt,_t){return e.flatMap(Jr(pt,_t,[pt]),function(Pt){return Pt.highlightSpans.map(function(It){return Rn(Rn({fileName:Pt.fileName,textSpan:It.textSpan,isWriteAccess:It.kind==="writtenReference",isDefinition:!1},It.isInString&&{isInString:!0}),It.contextSpan&&{contextSpan:It.contextSpan})})})}function Jr(pt,_t,Pt){var It=e.normalizePath(pt);e.Debug.assert(Pt.some(function(Qn){return e.normalizePath(Qn)===It})),De();var rt=e.mapDefined(Pt,function(Qn){return Me.getSourceFile(Qn)}),Cn=Xe(pt);return e.DocumentHighlights.getDocumentHighlights(Me,he,Cn,_t,rt)}function ze(pt,_t,Pt,It,rt){De();var Cn=Xe(pt),Qn=e.getAdjustedRenameLocation(e.getTouchingPropertyName(Cn,_t));if(!!e.Rename.nodeIsEligibleForRename(Qn))if(e.isIdentifier(Qn)&&(e.isJsxOpeningElement(Qn.parent)||e.isJsxClosingElement(Qn.parent))&&e.isIntrinsicJsxName(Qn.escapedText)){var Ra=Qn.parent.parent,Ci=Ra.openingElement,_i=Ra.closingElement;return[Ci,_i].map(function(va){var yi=e.createTextSpanFromNode(va.tagName,Cn);return Rn({fileName:Cn.fileName,textSpan:yi},e.FindAllReferences.toContextSpan(yi,Cn,va.parent))})}else return Yr(Qn,_t,{findInStrings:Pt,findInComments:It,providePrefixAndSuffixTextForRename:rt,use:2},function(va,yi,ro){return e.FindAllReferences.toRenameLocation(va,yi,ro,rt||!1)})}function Ar(pt,_t){return De(),Yr(e.getTouchingPropertyName(Xe(pt),_t),_t,{use:1},function(Pt,It,rt){return e.FindAllReferences.toReferenceEntry(Pt,rt.getSymbolAtLocation(It))})}function Yr(pt,_t,Pt,It){De();var rt=Pt&&Pt.use===2?Me.getSourceFiles().filter(function(Cn){return!Me.isSourceFileDefaultLibrary(Cn)}):Me.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(Me,he,rt,pt,_t,Pt,It)}function lt(pt,_t){return De(),e.FindAllReferences.findReferencedSymbols(Me,he,Me.getSourceFiles(),Xe(pt),_t)}function tt(pt){var _t;De();var Pt=(_t=Me.getSourceFile(pt))===null||_t===void 0?void 0:_t.symbol;return e.FindAllReferences.Core.getReferencesForFileName(pt,Me,Me.getSourceFiles()).map(function(It){return e.FindAllReferences.toReferenceEntry(It,Pt)})}function Rt(pt,_t,Pt,It){It===void 0&&(It=!1),De();var rt=Pt?[Xe(Pt)]:Me.getSourceFiles();return e.NavigateTo.getNavigateToItems(rt,Me.getTypeChecker(),he,pt,_t,It)}function cn(pt,_t,Pt){De();var It=Xe(pt),rt=Q.getCustomTransformers&&Q.getCustomTransformers();return e.getFileEmitOutput(Me,It,!!_t,he,rt,Pt)}function bn(pt,_t,Pt){var It=Pt===void 0?e.emptyOptions:Pt,rt=It.triggerReason;De();var Cn=Xe(pt);return e.SignatureHelp.getSignatureHelpItems(Me,Cn,_t,rt,he)}function In(pt){return ke.getCurrentSourceFile(pt)}function zn(pt,_t,Pt){var It=ke.getCurrentSourceFile(pt),rt=e.getTouchingPropertyName(It,_t);if(rt!==It){switch(rt.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 Cn=rt;;)if(e.isRightSideOfPropertyAccess(Cn)||e.isRightSideOfQualifiedName(Cn))Cn=Cn.parent;else if(e.isNameOfModuleDeclaration(Cn))if(Cn.parent.parent.kind===260&&Cn.parent.parent.body===Cn.parent)Cn=Cn.parent.parent.name;else break;else break;return e.createTextSpanFromBounds(Cn.getStart(),rt.getEnd())}}function ir(pt,_t){var Pt=ke.getCurrentSourceFile(pt);return e.BreakpointResolver.spanInSourceFileAtLocation(Pt,_t)}function Rr(pt){return e.NavigationBar.getNavigationBarItems(ke.getCurrentSourceFile(pt),he)}function sr(pt){return e.NavigationBar.getNavigationTree(ke.getCurrentSourceFile(pt),he)}function ye(pt,_t,Pt){De();var It=Pt||"original";return It==="2020"?e.classifier.v2020.getSemanticClassifications(Me,he,Xe(pt),_t):e.getSemanticClassifications(Me.getTypeChecker(),he,Xe(pt),Me.getClassifiableNames(),_t)}function or(pt,_t,Pt){De();var It=Pt||"original";return It==="original"?e.getEncodedSemanticClassifications(Me.getTypeChecker(),he,Xe(pt),Me.getClassifiableNames(),_t):e.classifier.v2020.getEncodedSemanticClassifications(Me,he,Xe(pt),_t)}function fe(pt,_t){return e.getSyntacticClassifications(he,ke.getCurrentSourceFile(pt),_t)}function je(pt,_t){return e.getEncodedSyntacticClassifications(he,ke.getCurrentSourceFile(pt),_t)}function Ee(pt){var _t=ke.getCurrentSourceFile(pt);return e.OutliningElementsCollector.collectElements(_t,he)}var We=new e.Map(e.getEntries((Te={},Te[18]=19,Te[20]=21,Te[22]=23,Te[31]=29,Te)));We.forEach(function(pt,_t){return We.set(pt.toString(),Number(_t))});function ee(pt,_t){var Pt=ke.getCurrentSourceFile(pt),It=e.getTouchingToken(Pt,_t),rt=It.getStart(Pt)===_t?We.get(It.kind.toString()):void 0,Cn=rt&&e.findChildOfKind(It.parent,rt,Pt);return Cn?[e.createTextSpanFromNode(It,Pt),e.createTextSpanFromNode(Cn,Pt)].sort(function(Qn,Ra){return Qn.start-Ra.start}):e.emptyArray}function Ne(pt,_t,Pt){var It=e.timestamp(),rt=x(Pt),Cn=ke.getCurrentSourceFile(pt);Ve("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-It)),It=e.timestamp();var Qn=e.formatting.SmartIndenter.getIndentation(_t,Cn,rt);return Ve("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-It)),Qn}function me(pt,_t,Pt,It){var rt=ke.getCurrentSourceFile(pt);return e.formatting.formatSelection(_t,Pt,rt,e.formatting.getFormatContext(x(It),Q))}function Ze(pt,_t){return e.formatting.formatDocument(ke.getCurrentSourceFile(pt),e.formatting.getFormatContext(x(_t),Q))}function xr(pt,_t,Pt,It){var rt=ke.getCurrentSourceFile(pt),Cn=e.formatting.getFormatContext(x(It),Q);if(!e.isInComment(rt,_t))switch(Pt){case"{":return e.formatting.formatOnOpeningCurly(_t,rt,Cn);case"}":return e.formatting.formatOnClosingCurly(_t,rt,Cn);case";":return e.formatting.formatOnSemicolon(_t,rt,Cn);case` `:return e.formatting.formatOnEnter(_t,rt,Cn)}return[]}function fr(pt,_t,Pt,It,rt,Cn){Cn===void 0&&(Cn=e.emptyOptions),De();var Qn=Xe(pt),Ra=e.createTextSpanFromBounds(_t,Pt),Ci=e.formatting.getFormatContext(rt,Q);return e.flatMap(e.deduplicate(It,e.equateValues,e.compareValues),function(_i){return he.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:_i,sourceFile:Qn,span:Ra,program:Me,host:Q,cancellationToken:he,formatContext:Ci,preferences:Cn})})}function dr(pt,_t,Pt,It){It===void 0&&(It=e.emptyOptions),De(),e.Debug.assert(pt.type==="file");var rt=Xe(pt.fileName),Cn=e.formatting.getFormatContext(Pt,Q);return e.codefix.getAllFixes({fixId:_t,sourceFile:rt,program:Me,host:Q,cancellationToken:he,formatContext:Cn,preferences:It})}function et(pt,_t,Pt){Pt===void 0&&(Pt=e.emptyOptions),De(),e.Debug.assert(pt.type==="file");var It=Xe(pt.fileName),rt=e.formatting.getFormatContext(_t,Q);return e.OrganizeImports.organizeImports(It,rt,Q,Me,Pt,pt.skipDestructiveCodeActions)}function yt(pt,_t,Pt,It){return It===void 0&&(It=e.emptyOptions),e.getEditsForFileRename(Ae(),pt,_t,Q,e.formatting.getFormatContext(Pt,Q),It,qe)}function Wr(pt,_t){var Pt=typeof pt=="string"?_t:pt;return e.isArray(Pt)?Promise.all(Pt.map(function(It){return tr(It)})):tr(Pt)}function tr(pt){var _t=function(Pt){return e.toPath(Pt,ve,Le)};return e.Debug.assertEqual(pt.type,"install package"),Q.installPackage?Q.installPackage({fileName:_t(pt.file),packageName:pt.packageName}):Promise.reject("Host does not implement `installPackage`")}function Ir(pt,_t,Pt){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(Q),ke.getCurrentSourceFile(pt),_t,Pt)}function kr(pt,_t,Pt){if(Pt===60)return!1;var It=ke.getCurrentSourceFile(pt);if(e.isInString(It,_t))return!1;if(e.isInsideJsxElementOrAttribute(It,_t))return Pt===123;if(e.isInTemplateString(It,_t))return!1;switch(Pt){case 39:case 34:case 96:return!e.isInComment(It,_t)}return!0}function zr(pt,_t){var Pt=ke.getCurrentSourceFile(pt),It=e.findPrecedingToken(_t,Pt);if(!!It){var rt=It.kind===31&&e.isJsxOpeningElement(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxElement(It.parent)?It.parent:void 0;if(rt&&wt(rt))return{newText:"")};var Cn=It.kind===31&&e.isJsxOpeningFragment(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxFragment(It.parent)?It.parent:void 0;if(Cn&&Qt(Cn))return{newText:""}}}function gt(pt,_t){return{lineStarts:pt.getLineStarts(),firstLine:pt.getLineAndCharacterOfPosition(_t.pos).line,lastLine:pt.getLineAndCharacterOfPosition(_t.end).line}}function vt(pt,_t,Pt){for(var It=ke.getCurrentSourceFile(pt),rt=[],Cn=gt(It,_t),Qn=Cn.lineStarts,Ra=Cn.firstLine,Ci=Cn.lastLine,_i=Pt||!1,va=Number.MAX_VALUE,yi=new e.Map,ro=new RegExp(/\S/),Ka=e.isInsideJsxElement(It,Qn[Ra]),Pi=Ka?"{/*":"//",io=Ra;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,Pi.length)!==Pi&&(_i=Pt===void 0||Pt))}for(var io=Ra;io<=Ci;io++)if(!(Ra!==Ci&&Qn[io]===_t.end)){var to=yi.get(io.toString());to!==void 0&&(Ka?rt.push.apply(rt,ut(pt,{pos:Qn[io]+va,end:It.getLineEndOfPosition(Qn[io])},_i,Ka)):_i?rt.push({newText:Pi,span:{length:0,start:Qn[io]+va}}):It.text.substr(Qn[io]+to,Pi.length)===Pi&&rt.push({newText:"",span:{length:Pi.length,start:Qn[io]+to}}))}return rt}function ut(pt,_t,Pt,It){for(var rt,Cn=ke.getCurrentSourceFile(pt),Qn=[],Ra=Cn.text,Ci=!1,_i=Pt||!1,va=[],yi=_t.pos,ro=It!==void 0?It:e.isInsideJsxElement(Cn,yi),Ka=ro?"{/*":"/*",Pi=ro?"*/}":"*/",io=ro?"\\{\\/\\*":"\\/\\*",ji=ro?"\\*\\/\\}":"\\*\\/";yi<=_t.end;){var Hi=Ra.substr(yi,Ka.length)===Ka?Ka.length:0,to=e.isInComment(Cn,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 No=Ra.substring(yi,_t.end).search("(".concat(io,")|(").concat(ji,")"));_i=Pt!==void 0?Pt:_i||!e.isTextWhiteSpaceLike(Ra,yi,No===-1?_t.end:yi+No),yi=No===-1?_t.end+1:yi+No+Pi.length}}if(_i||!Ci){((rt=e.isInComment(Cn,_t.pos))===null||rt===void 0?void 0:rt.kind)!==2&&e.insertSorted(va,_t.pos,e.compareValues),e.insertSorted(va,_t.end,e.compareValues);var lo=va[0];Ra.substr(lo,Ka.length)!==Ka&&Qn.push({newText:Ka,span:{length:0,start:lo}});for(var Lo=1;Lo0?co-Pi.length:0,Hi=Ra.substr(za,Pi.length)===Pi?Pi.length:0;Qn.push({newText:"",span:{length:Ka.length,start:co-Hi}})}return Qn}function ht(pt,_t){var Pt=ke.getCurrentSourceFile(pt),It=gt(Pt,_t),rt=It.firstLine,Cn=It.lastLine;return rt===Cn&&_t.pos!==_t.end?ut(pt,_t,!0):vt(pt,_t,!0)}function xt(pt,_t){var Pt=ke.getCurrentSourceFile(pt),It=[],rt=_t.pos,Cn=_t.end;rt===Cn&&(Cn+=e.isInsideJsxElement(Pt,rt)?2:1);for(var Qn=rt;Qn<=Cn;Qn++){var Ra=e.isInComment(Pt,Qn);if(Ra){switch(Ra.kind){case 2:It.push.apply(It,vt(pt,{end:Ra.end,pos:Ra.pos+1},!1));break;case 3:It.push.apply(It,ut(pt,{end:Ra.end,pos:Ra.pos+1},!1))}Qn=Ra.end+1}}return It}function wt(pt){var _t=pt.openingElement,Pt=pt.closingElement,It=pt.parent;return!e.tagNamesAreEquivalent(_t.tagName,Pt.tagName)||e.isJsxElement(It)&&e.tagNamesAreEquivalent(_t.tagName,It.openingElement.tagName)&&wt(It)}function Qt(pt){var _t=pt.closingFragment,Pt=pt.parent;return!!(_t.flags&65536)||e.isJsxFragment(Pt)&&Qt(Pt)}function mt(pt,_t,Pt){var It=ke.getCurrentSourceFile(pt),rt=e.formatting.getRangeOfEnclosingComment(It,_t);return rt&&(!Pt||rt.kind===3)?e.createTextSpanFromRange(rt):void 0}function rn(pt,_t){De();var Pt=Xe(pt);he.throwIfCancellationRequested();var It=Pt.text,rt=[];if(_t.length>0&&!ji(Pt.fileName))for(var Cn=Pi(),Qn=void 0;Qn=Cn.exec(It);){he.throwIfCancellationRequested();var Ra=3;e.Debug.assert(Qn.length===_t.length+Ra);var Ci=Qn[1],_i=Qn.index+Ci.length;if(!!e.isInComment(Pt,_i)){for(var va=void 0,yi=0;yi<_t.length;yi++)Qn[yi+Ra]&&(va=_t[yi]);if(va===void 0)return e.Debug.fail();if(!io(It.charCodeAt(_i+va.text.length))){var ro=Qn[2];rt.push({descriptor:va,message:ro,position:_i})}}}return rt;function Ka(Hi){return Hi.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Pi(){var Hi=/(?:\/\/+\s*)/.source,to=/(?:\/\*+\s*)/.source,No=/(?:^(?:\s|\*)*)/.source,lo="("+No+"|"+Hi+"|"+to+")",Lo="(?:"+e.map(_t,function(hi){return"("+Ka(hi.text)+")"}).join("|")+")",Ha=/(?:$|\*\/)/.source,Yo=/(?:.*?)/.source,co="("+Lo+Yo+")",za=lo+co+Ha;return new RegExp(za,"gim")}function io(Hi){return Hi>=97&&Hi<=122||Hi>=65&&Hi<=90||Hi>=48&&Hi<=57}function ji(Hi){return e.stringContains(Hi,"/node_modules/")}}function sa(pt,_t,Pt){return De(),e.Rename.getRenameInfo(Me,Xe(pt),_t,Pt)}function ba(pt,_t,Pt,It,rt,Cn){var Qn=typeof _t=="number"?[_t,void 0]:[_t.pos,_t.end],Ra=Qn[0],Ci=Qn[1];return{file:pt,startPosition:Ra,endPosition:Ci,program:Ae(),host:Q,formatContext:e.formatting.getFormatContext(It,Q),cancellationToken:he,preferences:Pt,triggerReason:rt,kind:Cn}}function Jn(pt,_t,Pt){return{file:pt,program:Ae(),host:Q,span:_t,preferences:Pt,cancellationToken:he}}function na(pt,_t){return e.SmartSelectionRange.getSmartSelectionRange(_t,ke.getCurrentSourceFile(pt))}function Wn(pt,_t,Pt,It,rt){Pt===void 0&&(Pt=e.emptyOptions),De();var Cn=Xe(pt);return e.refactor.getApplicableRefactors(ba(Cn,_t,Pt,e.emptyOptions,It,rt))}function en(pt,_t,Pt,It,rt,Cn){Cn===void 0&&(Cn=e.emptyOptions),De();var Qn=Xe(pt);return e.refactor.getEditsForRefactor(ba(Qn,Pt,Cn,_t),It,rt)}function St(pt,_t){return _t===0?{line:0,character:0}:qe.toLineColumnOffset(pt,_t)}function Ut(pt,_t){De();var Pt=e.CallHierarchy.resolveCallHierarchyDeclaration(Me,e.getTouchingPropertyName(Xe(pt),_t));return Pt&&e.mapOneOrMany(Pt,function(It){return e.CallHierarchy.createCallHierarchyItem(Me,It)})}function qt(pt,_t){De();var Pt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Me,_t===0?Pt:e.getTouchingPropertyName(Pt,_t)));return It?e.CallHierarchy.getIncomingCalls(Me,It,he):[]}function Pn(pt,_t){De();var Pt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Me,_t===0?Pt:e.getTouchingPropertyName(Pt,_t)));return It?e.CallHierarchy.getOutgoingCalls(Me,It):[]}function dn(pt,_t,Pt){Pt===void 0&&(Pt=e.emptyOptions),De();var It=Xe(pt);return e.InlayHints.provideInlayHints(Jn(It,_t,Pt))}var oa={dispose:Er,cleanupSemanticCache:Lr,getSyntacticDiagnostics:lr,getSemanticDiagnostics:Cr,getSuggestionDiagnostics:Or,getCompilerOptionsDiagnostics:Ke,getSyntacticClassifications:fe,getSemanticClassifications:ye,getEncodedSyntacticClassifications:je,getEncodedSemanticClassifications:or,getCompletionsAtPosition:Pe,getCompletionEntryDetails:Hr,getCompletionEntrySymbol:ur,getSignatureHelpItems:bn,getQuickInfoAtPosition:vr,getDefinitionAtPosition:$e,getDefinitionAndBoundSpan:Dr,getImplementationAtPosition:He,getTypeDefinitionAtPosition:Fr,getReferencesAtPosition:Ar,findReferences:lt,getFileReferences:tt,getOccurrencesAtPosition:pr,getDocumentHighlights:Jr,getNameOrDottedNameSpan:zn,getBreakpointStatementAtPosition:ir,getNavigateToItems:Rt,getRenameInfo:sa,getSmartSelectionRange:na,findRenameLocations:ze,getNavigationBarItems:Rr,getNavigationTree:sr,getOutliningSpans:Ee,getTodoComments:rn,getBraceMatchingAtPosition:ee,getIndentationAtPosition:Ne,getFormattingEditsForRange:me,getFormattingEditsForDocument:Ze,getFormattingEditsAfterKeystroke:xr,getDocCommentTemplateAtPosition:Ir,isValidBraceCompletionAtPosition:kr,getJsxClosingTagAtPosition:zr,getSpanOfEnclosingComment:mt,getCodeFixesAtPosition:fr,getCombinedCodeFix:dr,applyCodeActionCommand:Wr,organizeImports:et,getEditsForFileRename:yt,getEmitOutput:cn,getNonBoundSourceFile:In,getProgram:Ae,getAutoImportProvider:Ye,getApplicableRefactors:Wn,getEditsForRefactor:en,toLineColumnOffset:St,getSourceMapper:function(){return qe},clearSourceMapperCache:function(){return qe.clearCache()},prepareCallHierarchy:Ut,provideCallHierarchyIncomingCalls:qt,provideCallHierarchyOutgoingCalls:Pn,toggleLineComment:vt,toggleMultilineComment:ut,commentSelection:ht,uncommentSelection:xt,provideInlayHints:dn};switch(ge){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:m.forEach(function(pt){return oa[pt]=function(){throw new Error("LanguageService Operation: ".concat(pt," not allowed in LanguageServiceMode.Syntactic"))}});break;default:e.Debug.assertNever(ge)}return oa}e.createLanguageService=u;function g(Q){return Q.nameTable||F(Q),Q.nameTable}e.getNameTable=g;function F(Q){var V=Q.nameTable=new e.Map;Q.forEachChild(function z(Te){if(e.isIdentifier(Te)&&!e.isTagName(Te)&&Te.escapedText||e.isStringOrNumericLiteralLike(Te)&&te(Te)){var ge=e.getEscapedTextOfIdentifierOrLiteral(Te);V.set(ge,V.get(ge)===void 0?Te.pos:-1)}else if(e.isPrivateIdentifier(Te)){var ge=Te.escapedText;V.set(ge,V.get(ge)===void 0?Te.pos:-1)}if(e.forEachChild(Te,z),e.hasJSDocNodes(Te))for(var ke=0,Me=Te.jsDoc;keN){var H=e.findPrecedingToken(p.pos,d);if(!H||d.getLineAndCharacterOfPosition(H.getEnd()).line!==N)return;p=H}if(p.flags&8388608)return;return P(p);function h(S,B){var J=S.decorators?e.skipTrivia(d.text,S.decorators.end):S.getStart(d);return e.createTextSpanFromBounds(J,(B||S).getEnd())}function v(S,B){return h(S,e.findNextToken(B,B.parent,d))}function A(S,B){return S&&N===d.getLineAndCharacterOfPosition(S.getStart(d)).line?P(S):P(B)}function q(S){return e.createTextSpanFromBounds(e.skipTrivia(d.text,S.pos),S.end)}function ie(S){return P(e.findPrecedingToken(S.pos,d))}function b(S){return P(e.findNextToken(S,S.parent,d))}function P(S){if(S){var B=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 Y(S);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return $(S);case 234:if(e.isFunctionBlock(S))return T(S);case 261:return I(S);case 291:return I(S.block);case 237:return h(S.expression);case 246:return h(S.getChildAt(0),S.expression);case 240:return v(S,S.expression);case 239:return P(S.statement);case 252:return h(S.getChildAt(0));case 238:return v(S,S.expression);case 249:return P(S.statement);case 245:case 244:return h(S.getChildAt(0),S.label);case 241:return D(S);case 242:return v(S,S.expression);case 243:return y(S);case 248:return v(S,S.expression);case 288:case 289:return P(S.statements[0]);case 251:return I(S.tryBlock);case 250:return h(S,S.expression);case 270:return h(S,S.expression);case 264:return h(S,S.moduleReference);case 265:return h(S,S.moduleSpecifier);case 271:return h(S,S.moduleSpecifier);case 260:if(e.getModuleInstanceState(S)!==1)return;case 256:case 259:case 297:case 202:return h(S);case 247:return P(S.statement);case 164:return q(B.decorators);case 200:case 201:return C(S);case 257:case 258:return;case 26:case 1:return A(e.findPrecedingToken(S.pos,d));case 27:return ie(S);case 18:return u(S);case 19:return g(S);case 23:return F(S);case 20:return te(S);case 21:return ue(S);case 58:return X(S);case 31:case 29:return j(S);case 115:return Se(S);case 91:case 83:case 96:return b(S);case 159:return Ce(S);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(S))return m(S);if((S.kind===79||S.kind===224||S.kind===294||S.kind===295)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(B))return h(S);if(S.kind===220){var J=S,k=J.left,M=J.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(k))return m(k);if(M.kind===63&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent))return h(S);if(M.kind===27)return P(k)}if(e.isExpressionNode(S))switch(B.kind){case 239:return ie(S);case 164:return P(S.parent);case 241:case 243:return h(S);case 220:if(S.parent.operatorToken.kind===27)return h(S);break;case 213:if(S.parent.body===S)return h(S);break}switch(S.parent.kind){case 294:if(S.parent.name===S&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent.parent))return P(S.parent.initializer);break;case 210:if(S.parent.type===S)return b(S.parent.type);break;case 253:case 163:{var x=S.parent,w=x.initializer,K=x.type;if(w===S||K===S||e.isAssignmentOperator(S.kind))return ie(S);break}case 220:{var k=S.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(k)&&S!==k)return ie(S);break}default:if(e.isFunctionLike(S.parent)&&S.parent.type===S)return ie(S)}return P(S.parent)}}function Z(O){return e.isVariableDeclarationList(O.parent)&&O.parent.declarations[0]===O?h(e.findPrecedingToken(O.pos,d,O.parent),O):h(O)}function ne(O){if(O.parent.parent.kind===242)return P(O.parent.parent);var Q=O.parent;if(e.isBindingPattern(O.name))return C(O.name);if(O.initializer||e.hasSyntacticModifier(O,1)||Q.parent.kind===243)return Z(O);if(e.isVariableDeclarationList(O.parent)&&O.parent.declarations[0]!==O)return P(e.findPrecedingToken(O.pos,d,O.parent))}function R(O){return!!O.initializer||O.dotDotDotToken!==void 0||e.hasSyntacticModifier(O,12)}function Y(O){if(e.isBindingPattern(O.name))return C(O.name);if(R(O))return h(O);var Q=O.parent,V=Q.parameters.indexOf(O);return e.Debug.assert(V!==-1),V!==0?Y(Q.parameters[V-1]):P(Q.body)}function U(O){return e.hasSyntacticModifier(O,1)||O.parent.kind===256&&O.kind!==170}function $(O){if(!!O.body)return U(O)?h(O):P(O.body)}function T(O){var Q=O.statements.length?O.statements[0]:O.getLastToken();return U(O.parent)?A(O.parent,Q):P(Q)}function I(O){switch(O.parent.kind){case 260:if(e.getModuleInstanceState(O.parent)!==1)return;case 240:case 238:case 242:return A(O.parent,O.statements[0]);case 241:case 243:return A(e.findPrecedingToken(O.pos,d,O.parent),O.statements[0])}return P(O.statements[0])}function y(O){if(O.initializer.kind===254){var Q=O.initializer;if(Q.declarations.length>0)return P(Q.declarations[0])}else return P(O.initializer)}function D(O){if(O.initializer)return y(O);if(O.condition)return h(O.condition);if(O.incrementor)return h(O.incrementor)}function C(O){var Q=e.forEach(O.elements,function(V){return V.kind!==226?V:void 0});return Q?P(Q):O.parent.kind===202?h(O.parent):Z(O.parent)}function m(O){e.Debug.assert(O.kind!==201&&O.kind!==200);var Q=O.kind===203?O.elements:O.properties,V=e.forEach(Q,function(z){return z.kind!==226?z:void 0});return V?P(V):h(O.parent.kind===220?O.parent:O)}function u(O){switch(O.parent.kind){case 259:var Q=O.parent;return A(e.findPrecedingToken(O.pos,d,O.parent),Q.members.length?Q.members[0]:Q.getLastToken(d));case 256:var V=O.parent;return A(e.findPrecedingToken(O.pos,d,O.parent),V.members.length?V.members[0]:V.getLastToken(d));case 262:return A(O.parent.parent,O.parent.clauses[0])}return P(O.parent)}function g(O){switch(O.parent.kind){case 261:if(e.getModuleInstanceState(O.parent.parent)!==1)return;case 259:case 256:return h(O);case 234:if(e.isFunctionBlock(O.parent))return h(O);case 291:return P(e.lastOrUndefined(O.parent.statements));case 262:var Q=O.parent,V=e.lastOrUndefined(Q.clauses);return V?P(e.lastOrUndefined(V.statements)):void 0;case 200:var z=O.parent;return P(e.lastOrUndefined(z.elements)||z);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(O.parent)){var Te=O.parent;return h(e.lastOrUndefined(Te.properties)||Te)}return P(O.parent)}}function F(O){switch(O.parent.kind){case 201:var Q=O.parent;return h(e.lastOrUndefined(Q.elements)||Q);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(O.parent)){var V=O.parent;return h(e.lastOrUndefined(V.elements)||V)}return P(O.parent)}}function te(O){return O.parent.kind===239||O.parent.kind===207||O.parent.kind===208?ie(O):O.parent.kind===211?b(O):P(O.parent)}function ue(O){switch(O.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 ie(O);default:return P(O.parent)}}function X(O){return e.isFunctionLike(O.parent)||O.parent.kind===294||O.parent.kind===163?ie(O):P(O.parent)}function j(O){return O.parent.kind===210?b(O):P(O.parent)}function Se(O){return O.parent.kind===239?v(O,O.parent.expression):P(O.parent)}function Ce(O){return O.parent.kind===243?b(O):P(O.parent)}}}n.spanInSourceFileAtLocation=f})(e.BreakpointResolver||(e.BreakpointResolver={}))})(gr||(gr={}));var gr;(function(e){function n(f,d,a){var p=[];a=e.fixupCompilerOptions(a,p);var N=e.isArray(f)?f:[f],H=e.transformNodes(void 0,void 0,e.factory,a,N,d,!0);return H.diagnostics=e.concatenate(H.diagnostics,p),H}e.transform=n})(gr||(gr={}));var xE=function(){return this}(),gr;(function(e){function n(B,J){B&&B.log("*INTERNAL ERROR* - Exception in typescript services: "+J.message)}var f=function(){function B(J){this.scriptSnapshotShim=J}return B.prototype.getText=function(J,k){return this.scriptSnapshotShim.getText(J,k)},B.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},B.prototype.getChangeRange=function(J){var k=J,M=this.scriptSnapshotShim.getChangeRange(k.scriptSnapshotShim);if(M===null)return null;var x=JSON.parse(M);return e.createTextChangeRange(e.createTextSpan(x.span.start,x.span.length),x.newLength)},B.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},B}(),d=function(){function B(J){var k=this;this.shimHost=J,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(M,x){var w=JSON.parse(k.shimHost.getModuleResolutionsForFile(x));return e.map(M,function(K){var Z=e.getProperty(w,K);return Z?{resolvedFileName:Z,extension:e.extensionFromPath(Z),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(M){return k.shimHost.directoryExists(M)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(M,x){var w=JSON.parse(k.shimHost.getTypeReferenceDirectiveResolutionsForFile(x));return e.map(M,function(K){return e.getProperty(w,K)})})}return B.prototype.log=function(J){this.loggingEnabled&&this.shimHost.log(J)},B.prototype.trace=function(J){this.tracingEnabled&&this.shimHost.trace(J)},B.prototype.error=function(J){this.shimHost.error(J)},B.prototype.getProjectVersion=function(){if(!!this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},B.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},B.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1},B.prototype.getCompilationSettings=function(){var J=this.shimHost.getCompilationSettings();if(J===null||J==="")throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var k=JSON.parse(J);return k.allowNonTsExtensions=!0,k},B.prototype.getScriptFileNames=function(){var J=this.shimHost.getScriptFileNames();return JSON.parse(J)},B.prototype.getScriptSnapshot=function(J){var k=this.shimHost.getScriptSnapshot(J);return k&&new f(k)},B.prototype.getScriptKind=function(J){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(J):0},B.prototype.getScriptVersion=function(J){return this.shimHost.getScriptVersion(J)},B.prototype.getLocalizedDiagnosticMessages=function(){var J=this.shimHost.getLocalizedDiagnosticMessages();if(J===null||J==="")return null;try{return JSON.parse(J)}catch(k){return this.log(k.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},B.prototype.getCancellationToken=function(){var J=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(J)},B.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},B.prototype.getDirectories=function(J){return JSON.parse(this.shimHost.getDirectories(J))},B.prototype.getDefaultLibFileName=function(J){return this.shimHost.getDefaultLibFileName(JSON.stringify(J))},B.prototype.readDirectory=function(J,k,M,x,w){var K=e.getFileMatcherPatterns(J,M,x,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(J,JSON.stringify(k),JSON.stringify(K.basePaths),K.excludePattern,K.includeFilePattern,K.includeDirectoryPattern,w))},B.prototype.readFile=function(J,k){return this.shimHost.readFile(J,k)},B.prototype.fileExists=function(J){return this.shimHost.fileExists(J)},B}();e.LanguageServiceShimHostAdapter=d;var a=function(){function B(J){var k=this;this.shimHost=J,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,"directoryExists"in this.shimHost?this.directoryExists=function(M){return k.shimHost.directoryExists(M)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(M){return k.shimHost.realpath(M)}:this.realpath=void 0}return B.prototype.readDirectory=function(J,k,M,x,w){var K=e.getFileMatcherPatterns(J,M,x,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(J,JSON.stringify(k),JSON.stringify(K.basePaths),K.excludePattern,K.includeFilePattern,K.includeDirectoryPattern,w))},B.prototype.fileExists=function(J){return this.shimHost.fileExists(J)},B.prototype.readFile=function(J){return this.shimHost.readFile(J)},B.prototype.getDirectories=function(J){return JSON.parse(this.shimHost.getDirectories(J))},B}();e.CoreServicesShimHostAdapter=a;function p(B,J,k,M){var x;M&&(B.log(J),x=e.timestamp());var w=k();if(M){var K=e.timestamp();if(B.log("".concat(J," completed in ").concat(K-x," msec")),e.isString(w)){var Z=w;Z.length>128&&(Z=Z.substring(0,128)+"..."),B.log(" result.length=".concat(Z.length,", result='").concat(JSON.stringify(Z),"'"))}}return w}function N(B,J,k,M){return H(B,J,!0,k,M)}function H(B,J,k,M,x){try{var w=p(B,J,M,x);return k?JSON.stringify({result:w}):w}catch(K){return K instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(B,K),K.description=J,JSON.stringify({error:K}))}}var h=function(){function B(J){this.factory=J,J.registerShim(this)}return B.prototype.dispose=function(J){this.factory.unregisterShim(this)},B}();function v(B,J){return B.map(function(k){return A(k,J)})}e.realizeDiagnostics=v;function A(B,J){return{message:e.flattenDiagnosticMessageText(B.messageText,J),start:B.start,length:B.length,category:e.diagnosticCategoryName(B),code:B.code,reportsUnnecessary:B.reportsUnnecessary,reportsDeprecated:B.reportsDeprecated}}var q=function(B){Mm(J,B);function J(k,M,x){var w=B.call(this,k)||this;return w.host=M,w.languageService=x,w.logPerformance=!1,w.logger=w.host,w}return J.prototype.forwardJSONCall=function(k,M){return N(this.logger,k,M,this.logPerformance)},J.prototype.dispose=function(k){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,xE&&xE.CollectGarbage&&(xE.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,B.prototype.dispose.call(this,k)},J.prototype.refresh=function(k){this.forwardJSONCall("refresh(".concat(k,")"),function(){return null})},J.prototype.cleanupSemanticCache=function(){var k=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return k.languageService.cleanupSemanticCache(),null})},J.prototype.realizeDiagnostics=function(k){var M=e.getNewLineOrDefaultFromHost(this.host);return v(k,M)},J.prototype.getSyntacticClassifications=function(k,M,x){var w=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.getSyntacticClassifications(k,e.createTextSpan(M,x))})},J.prototype.getSemanticClassifications=function(k,M,x){var w=this;return this.forwardJSONCall("getSemanticClassifications('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.getSemanticClassifications(k,e.createTextSpan(M,x))})},J.prototype.getEncodedSyntacticClassifications=function(k,M,x){var w=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return ie(w.languageService.getEncodedSyntacticClassifications(k,e.createTextSpan(M,x)))})},J.prototype.getEncodedSemanticClassifications=function(k,M,x){var w=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return ie(w.languageService.getEncodedSemanticClassifications(k,e.createTextSpan(M,x)))})},J.prototype.getSyntacticDiagnostics=function(k){var M=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(k,"')"),function(){var x=M.languageService.getSyntacticDiagnostics(k);return M.realizeDiagnostics(x)})},J.prototype.getSemanticDiagnostics=function(k){var M=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(k,"')"),function(){var x=M.languageService.getSemanticDiagnostics(k);return M.realizeDiagnostics(x)})},J.prototype.getSuggestionDiagnostics=function(k){var M=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(k,"')"),function(){return M.realizeDiagnostics(M.languageService.getSuggestionDiagnostics(k))})},J.prototype.getCompilerOptionsDiagnostics=function(){var k=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var M=k.languageService.getCompilerOptionsDiagnostics();return k.realizeDiagnostics(M)})},J.prototype.getQuickInfoAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getQuickInfoAtPosition(k,M)})},J.prototype.getNameOrDottedNameSpan=function(k,M,x){var w=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.getNameOrDottedNameSpan(k,M,x)})},J.prototype.getBreakpointStatementAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getBreakpointStatementAtPosition(k,M)})},J.prototype.getSignatureHelpItems=function(k,M,x){var w=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(k,"', ").concat(M,")"),function(){return w.languageService.getSignatureHelpItems(k,M,x)})},J.prototype.getDefinitionAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getDefinitionAtPosition(k,M)})},J.prototype.getDefinitionAndBoundSpan=function(k,M){var x=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getDefinitionAndBoundSpan(k,M)})},J.prototype.getTypeDefinitionAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getTypeDefinitionAtPosition(k,M)})},J.prototype.getImplementationAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getImplementationAtPosition(k,M)})},J.prototype.getRenameInfo=function(k,M,x){var w=this;return this.forwardJSONCall("getRenameInfo('".concat(k,"', ").concat(M,")"),function(){return w.languageService.getRenameInfo(k,M,x)})},J.prototype.getSmartSelectionRange=function(k,M){var x=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getSmartSelectionRange(k,M)})},J.prototype.findRenameLocations=function(k,M,x,w,K){var Z=this;return this.forwardJSONCall("findRenameLocations('".concat(k,"', ").concat(M,", ").concat(x,", ").concat(w,", ").concat(K,")"),function(){return Z.languageService.findRenameLocations(k,M,x,w,K)})},J.prototype.getBraceMatchingAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getBraceMatchingAtPosition(k,M)})},J.prototype.isValidBraceCompletionAtPosition=function(k,M,x){var w=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.isValidBraceCompletionAtPosition(k,M,x)})},J.prototype.getSpanOfEnclosingComment=function(k,M,x){var w=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(k,"', ").concat(M,")"),function(){return w.languageService.getSpanOfEnclosingComment(k,M,x)})},J.prototype.getIndentationAtPosition=function(k,M,x){var w=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(k,"', ").concat(M,")"),function(){var K=JSON.parse(x);return w.languageService.getIndentationAtPosition(k,M,K)})},J.prototype.getReferencesAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getReferencesAtPosition(k,M)})},J.prototype.findReferences=function(k,M){var x=this;return this.forwardJSONCall("findReferences('".concat(k,"', ").concat(M,")"),function(){return x.languageService.findReferences(k,M)})},J.prototype.getFileReferences=function(k){var M=this;return this.forwardJSONCall("getFileReferences('".concat(k,")"),function(){return M.languageService.getFileReferences(k)})},J.prototype.getOccurrencesAtPosition=function(k,M){var x=this;return this.forwardJSONCall("getOccurrencesAtPosition('".concat(k,"', ").concat(M,")"),function(){return x.languageService.getOccurrencesAtPosition(k,M)})},J.prototype.getDocumentHighlights=function(k,M,x){var w=this;return this.forwardJSONCall("getDocumentHighlights('".concat(k,"', ").concat(M,")"),function(){var K=w.languageService.getDocumentHighlights(k,M,JSON.parse(x)),Z=e.toFileNameLowerCase(e.normalizeSlashes(k));return e.filter(K,function(ne){return e.toFileNameLowerCase(e.normalizeSlashes(ne.fileName))===Z})})},J.prototype.getCompletionsAtPosition=function(k,M,x){var w=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.getCompletionsAtPosition(k,M,x)})},J.prototype.getCompletionEntryDetails=function(k,M,x,w,K,Z,ne){var R=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(k,"', ").concat(M,", '").concat(x,"')"),function(){var Y=w===void 0?void 0:JSON.parse(w);return R.languageService.getCompletionEntryDetails(k,M,x,Y,K,Z,ne)})},J.prototype.getFormattingEditsForRange=function(k,M,x,w){var K=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){var Z=JSON.parse(w);return K.languageService.getFormattingEditsForRange(k,M,x,Z)})},J.prototype.getFormattingEditsForDocument=function(k,M){var x=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(k,"')"),function(){var w=JSON.parse(M);return x.languageService.getFormattingEditsForDocument(k,w)})},J.prototype.getFormattingEditsAfterKeystroke=function(k,M,x,w){var K=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(k,"', ").concat(M,", '").concat(x,"')"),function(){var Z=JSON.parse(w);return K.languageService.getFormattingEditsAfterKeystroke(k,M,x,Z)})},J.prototype.getDocCommentTemplateAtPosition=function(k,M,x){var w=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(k,"', ").concat(M,")"),function(){return w.languageService.getDocCommentTemplateAtPosition(k,M,x)})},J.prototype.getNavigateToItems=function(k,M,x){var w=this;return this.forwardJSONCall("getNavigateToItems('".concat(k,"', ").concat(M,", ").concat(x,")"),function(){return w.languageService.getNavigateToItems(k,M,x)})},J.prototype.getNavigationBarItems=function(k){var M=this;return this.forwardJSONCall("getNavigationBarItems('".concat(k,"')"),function(){return M.languageService.getNavigationBarItems(k)})},J.prototype.getNavigationTree=function(k){var M=this;return this.forwardJSONCall("getNavigationTree('".concat(k,"')"),function(){return M.languageService.getNavigationTree(k)})},J.prototype.getOutliningSpans=function(k){var M=this;return this.forwardJSONCall("getOutliningSpans('".concat(k,"')"),function(){return M.languageService.getOutliningSpans(k)})},J.prototype.getTodoComments=function(k,M){var x=this;return this.forwardJSONCall("getTodoComments('".concat(k,"')"),function(){return x.languageService.getTodoComments(k,JSON.parse(M))})},J.prototype.prepareCallHierarchy=function(k,M){var x=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(k,"', ").concat(M,")"),function(){return x.languageService.prepareCallHierarchy(k,M)})},J.prototype.provideCallHierarchyIncomingCalls=function(k,M){var x=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(k,"', ").concat(M,")"),function(){return x.languageService.provideCallHierarchyIncomingCalls(k,M)})},J.prototype.provideCallHierarchyOutgoingCalls=function(k,M){var x=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(k,"', ").concat(M,")"),function(){return x.languageService.provideCallHierarchyOutgoingCalls(k,M)})},J.prototype.provideInlayHints=function(k,M,x){var w=this;return this.forwardJSONCall("provideInlayHints('".concat(k,"', '").concat(JSON.stringify(M),"', ").concat(JSON.stringify(x),")"),function(){return w.languageService.provideInlayHints(k,M,x)})},J.prototype.getEmitOutput=function(k){var M=this;return this.forwardJSONCall("getEmitOutput('".concat(k,"')"),function(){var x=M.languageService.getEmitOutput(k),w=x.diagnostics,K=uD(x,["diagnostics"]);return Rn(Rn({},K),{diagnostics:M.realizeDiagnostics(w)})})},J.prototype.getEmitOutputObject=function(k){var M=this;return H(this.logger,"getEmitOutput('".concat(k,"')"),!1,function(){return M.languageService.getEmitOutput(k)},this.logPerformance)},J.prototype.toggleLineComment=function(k,M){var x=this;return this.forwardJSONCall("toggleLineComment('".concat(k,"', '").concat(JSON.stringify(M),"')"),function(){return x.languageService.toggleLineComment(k,M)})},J.prototype.toggleMultilineComment=function(k,M){var x=this;return this.forwardJSONCall("toggleMultilineComment('".concat(k,"', '").concat(JSON.stringify(M),"')"),function(){return x.languageService.toggleMultilineComment(k,M)})},J.prototype.commentSelection=function(k,M){var x=this;return this.forwardJSONCall("commentSelection('".concat(k,"', '").concat(JSON.stringify(M),"')"),function(){return x.languageService.commentSelection(k,M)})},J.prototype.uncommentSelection=function(k,M){var x=this;return this.forwardJSONCall("uncommentSelection('".concat(k,"', '").concat(JSON.stringify(M),"')"),function(){return x.languageService.uncommentSelection(k,M)})},J}(h);function ie(B){return{spans:B.spans.join(","),endOfLineState:B.endOfLineState}}var b=function(B){Mm(J,B);function J(k,M){var x=B.call(this,k)||this;return x.logger=M,x.logPerformance=!1,x.classifier=e.createClassifier(),x}return J.prototype.getEncodedLexicalClassifications=function(k,M,x){var w=this;return x===void 0&&(x=!1),N(this.logger,"getEncodedLexicalClassifications",function(){return ie(w.classifier.getEncodedLexicalClassifications(k,M,x))},this.logPerformance)},J.prototype.getClassificationsForLine=function(k,M,x){x===void 0&&(x=!1);for(var w=this.classifier.getClassificationsForLine(k,M,x),K="",Z=0,ne=w.entries;Z"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 module<"u"&&module.exports;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(f,d,a){return e.factory.createConstructorTypeNode(void 0,f,d,a)},n),e.updateConstructorTypeNode=e.Debug.deprecate(function(f,d,a,p){return e.factory.updateConstructorTypeNode(f,f.modifiers,d,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(d){return e.factory.createToken(d)},n),e.createIdentifier=e.Debug.deprecate(function(d){return e.factory.createIdentifier(d,void 0,void 0)},n),e.createTempVariable=e.Debug.deprecate(function(d){return e.factory.createTempVariable(d,void 0)},n),e.getGeneratedNameForNode=e.Debug.deprecate(function(d){return e.factory.getGeneratedNameForNode(d,void 0)},n),e.createOptimisticUniqueName=e.Debug.deprecate(function(d){return e.factory.createUniqueName(d,16)},n),e.createFileLevelUniqueName=e.Debug.deprecate(function(d){return e.factory.createUniqueName(d,48)},n),e.createIndexSignature=e.Debug.deprecate(function(d,a,p,N){return e.factory.createIndexSignature(d,a,p,N)},n),e.createTypePredicateNode=e.Debug.deprecate(function(d,a){return e.factory.createTypePredicateNode(void 0,d,a)},n),e.updateTypePredicateNode=e.Debug.deprecate(function(d,a,p){return e.factory.updateTypePredicateNode(d,void 0,a,p)},n),e.createLiteral=e.Debug.deprecate(function(d){return typeof d=="number"?e.factory.createNumericLiteral(d):typeof d=="object"&&"base10Value"in d?e.factory.createBigIntLiteral(d):typeof d=="boolean"?d?e.factory.createTrue():e.factory.createFalse():typeof d=="string"?e.factory.createStringLiteral(d,void 0):e.factory.createStringLiteralFromNode(d)},{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(d,a,p,N,H){return e.factory.createMethodSignature(void 0,N,H,d,a,p)},n),e.updateMethodSignature=e.Debug.deprecate(function(d,a,p,N,H,h){return e.factory.updateMethodSignature(d,d.modifiers,H,h,a,p,N)},n),e.createTypeOperatorNode=e.Debug.deprecate(function(d,a){var p;return a?p=d:(a=d,p=140),e.factory.createTypeOperatorNode(p,a)},n),e.createTaggedTemplate=e.Debug.deprecate(function(d,a,p){var N;return p?N=a:p=a,e.factory.createTaggedTemplateExpression(d,N,p)},n),e.updateTaggedTemplate=e.Debug.deprecate(function(d,a,p,N){var H;return N?H=p:N=p,e.factory.updateTaggedTemplateExpression(d,a,H,N)},n),e.updateBinary=e.Debug.deprecate(function(d,a,p,N){return N===void 0&&(N=d.operatorToken),typeof N=="number"&&(N=N===d.operatorToken.kind?d.operatorToken:e.factory.createToken(N)),e.factory.updateBinaryExpression(d,a,N,p)},n),e.createConditional=e.Debug.deprecate(function(d,a,p,N,H){return arguments.length===5?e.factory.createConditionalExpression(d,a,p,N,H):arguments.length===3?e.factory.createConditionalExpression(d,e.factory.createToken(57),a,e.factory.createToken(58),p):e.Debug.fail("Argument count mismatch")},n),e.createYield=e.Debug.deprecate(function(d,a){var p;return a?p=d:a=d,e.factory.createYieldExpression(p,a)},n),e.createClassExpression=e.Debug.deprecate(function(d,a,p,N,H){return e.factory.createClassExpression(void 0,d,a,p,N,H)},n),e.updateClassExpression=e.Debug.deprecate(function(d,a,p,N,H,h){return e.factory.updateClassExpression(d,void 0,a,p,N,H,h)},n),e.createPropertySignature=e.Debug.deprecate(function(d,a,p,N,H){var h=e.factory.createPropertySignature(d,a,p,N);return h.initializer=H,h},n),e.updatePropertySignature=e.Debug.deprecate(function(d,a,p,N,H,h){var v=e.factory.updatePropertySignature(d,a,p,N,H);return d.initializer!==h&&(v===d&&(v=e.factory.cloneNode(d)),v.initializer=h),v},n),e.createExpressionWithTypeArguments=e.Debug.deprecate(function(d,a){return e.factory.createExpressionWithTypeArguments(a,d)},n),e.updateExpressionWithTypeArguments=e.Debug.deprecate(function(d,a,p){return e.factory.updateExpressionWithTypeArguments(d,p,a)},n),e.createArrowFunction=e.Debug.deprecate(function(d,a,p,N,H,h){return arguments.length===6?e.factory.createArrowFunction(d,a,p,N,H,h):arguments.length===5?e.factory.createArrowFunction(d,a,p,N,void 0,H):e.Debug.fail("Argument count mismatch")},n),e.updateArrowFunction=e.Debug.deprecate(function(d,a,p,N,H,h,v){return arguments.length===7?e.factory.updateArrowFunction(d,a,p,N,H,h,v):arguments.length===6?e.factory.updateArrowFunction(d,a,p,N,H,d.equalsGreaterThanToken,h):e.Debug.fail("Argument count mismatch")},n),e.createVariableDeclaration=e.Debug.deprecate(function(d,a,p,N){return arguments.length===4?e.factory.createVariableDeclaration(d,a,p,N):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(d,void 0,a,p):e.Debug.fail("Argument count mismatch")},n),e.updateVariableDeclaration=e.Debug.deprecate(function(d,a,p,N,H){return arguments.length===5?e.factory.updateVariableDeclaration(d,a,p,N,H):arguments.length===4?e.factory.updateVariableDeclaration(d,a,d.exclamationToken,p,N):e.Debug.fail("Argument count mismatch")},n),e.createImportClause=e.Debug.deprecate(function(d,a,p){return p===void 0&&(p=!1),e.factory.createImportClause(p,d,a)},n),e.updateImportClause=e.Debug.deprecate(function(d,a,p,N){return e.factory.updateImportClause(d,N,a,p)},n),e.createExportDeclaration=e.Debug.deprecate(function(d,a,p,N,H){return H===void 0&&(H=!1),e.factory.createExportDeclaration(d,a,H,p,N)},n),e.updateExportDeclaration=e.Debug.deprecate(function(d,a,p,N,H,h){return e.factory.updateExportDeclaration(d,a,p,h,N,H,d.assertClause)},n),e.createJSDocParamTag=e.Debug.deprecate(function(d,a,p,N){return e.factory.createJSDocParameterTag(void 0,d,a,p,!1,N?e.factory.createNodeArray([e.factory.createJSDocText(N)]):void 0)},n),e.createComma=e.Debug.deprecate(function(d,a){return e.factory.createComma(d,a)},n),e.createLessThan=e.Debug.deprecate(function(d,a){return e.factory.createLessThan(d,a)},n),e.createAssignment=e.Debug.deprecate(function(d,a){return e.factory.createAssignment(d,a)},n),e.createStrictEquality=e.Debug.deprecate(function(d,a){return e.factory.createStrictEquality(d,a)},n),e.createStrictInequality=e.Debug.deprecate(function(d,a){return e.factory.createStrictInequality(d,a)},n),e.createAdd=e.Debug.deprecate(function(d,a){return e.factory.createAdd(d,a)},n),e.createSubtract=e.Debug.deprecate(function(d,a){return e.factory.createSubtract(d,a)},n),e.createLogicalAnd=e.Debug.deprecate(function(d,a){return e.factory.createLogicalAnd(d,a)},n),e.createLogicalOr=e.Debug.deprecate(function(d,a){return e.factory.createLogicalOr(d,a)},n),e.createPostfixIncrement=e.Debug.deprecate(function(d){return e.factory.createPostfixIncrement(d)},n),e.createLogicalNot=e.Debug.deprecate(function(d){return e.factory.createLogicalNot(d)},n),e.createNode=e.Debug.deprecate(function(d,a,p){return a===void 0&&(a=0),p===void 0&&(p=0),e.setTextRangePosEnd(d===303?e.parseBaseNodeFactory.createBaseSourceFileNode(d):d===79?e.parseBaseNodeFactory.createBaseIdentifierNode(d):d===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(d):e.isNodeKind(d)?e.parseBaseNodeFactory.createBaseNode(d):e.parseBaseNodeFactory.createBaseTokenNode(d),a,p)},{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate(function(d){var a=e.factory.cloneNode(d);return e.setTextRange(a,d),e.setParent(a,d.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(d){return d.kind===210},{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function(d){return e.isMemberName(d)},{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(gr||(gr={}));var yk=gr.createClassifier,fD=gr.createLanguageService,bk=gr.displayPartsToString,Ek=gr.EndOfLineState,Tk=gr.flattenDiagnosticMessageText,Sk=gr.IndentStyle,Fm=gr.ScriptKind,Dk=gr.ScriptTarget,Lk=gr.TokenClass,dD=gr,Oi={};Oi["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. ***************************************************************************** */ /// /// /// /// /// `,Oi["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\xA0a 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\u2019t 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\xA0a 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\xA0HTML\xA0attribute 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 \xA7 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