!function(e){"use strict";const n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}emit(e){this.listeners.forEach((n=>{n(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function t(e){(function(e){if(e instanceof i)return!0;return e instanceof Error&&e.name===a&&e.message===a})(e)||n.onUnexpectedError(e)}function r(e){if(e instanceof Error){let{name:n,message:t}=e;return{$isError:!0,name:n,message:t,stack:e.stacktrace||e.stack}}return e}const a="Canceled";class i extends Error{constructor(){super(a),this.name=this.message}}function o(e){const n=this;let t,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}var s,c;!function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const n=Object.freeze([]);e.empty=function(){return n},e.single=function*(e){yield e},e.from=function(e){return e||n},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,n){for(const t of e)if(n(t))return!0;return!1},e.find=function(e,n){for(const t of e)if(n(t))return t},e.filter=function*(e,n){for(const t of e)n(t)&&(yield t)},e.map=function*(e,n){let t=0;for(const r of e)yield n(r,t++)},e.concat=function*(...e){for(const n of e)for(const e of n)yield e},e.concatNested=function*(e){for(const n of e)for(const e of n)yield e},e.reduce=function(e,n,t){let r=t;for(const t of e)r=n(r,t);return r},e.slice=function*(e,n,t=e.length){for(n<0&&(n+=e.length),t<0?t+=e.length:t>e.length&&(t=e.length);na}]},e.equals=function(e,n,t=(e,n)=>e===n){const r=e[Symbol.iterator](),a=n[Symbol.iterator]();for(;;){const e=r.next(),n=a.next();if(e.done!==n.done)return!1;if(e.done)return!0;if(!t(e.value,n.value))return!1}}}(s||(s={}));class l extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function u(e){if(s.is(e)){let n=[];for(const t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(n.length>1)throw new l(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function d(e){return{dispose:o((()=>{e()}))}}class p{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?p.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(e),e}}p.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new p,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class m{constructor(e){this.element=e,this.next=m.Undefined,this.prev=m.Undefined}}m.Undefined=new m(void 0);class _{constructor(){this._first=m.Undefined,this._last=m.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===m.Undefined}clear(){let e=this._first;for(;e!==m.Undefined;){const n=e.next;e.prev=m.Undefined,e.next=m.Undefined,e=n}this._first=m.Undefined,this._last=m.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const t=new m(e);if(this._first===m.Undefined)this._first=t,this._last=t;else if(n){const e=this._last;this._last=t,t.prev=e,e.next=t}else{const e=this._first;this._first=t,t.next=e,e.prev=t}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(t))}}shift(){if(this._first!==m.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==m.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==m.Undefined&&e.next!==m.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===m.Undefined&&e.next===m.Undefined?(this._first=m.Undefined,this._last=m.Undefined):e.next===m.Undefined?(this._last=this._last.prev,this._last.next=m.Undefined):e.prev===m.Undefined&&(this._first=this._first.next,this._first.prev=m.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==m.Undefined;)yield e.element,e=e.next}}const g="en";let y,h,v,b=!1,E=!1,T=!1,S=g;const x="object"==typeof self?self:"object"==typeof global?global:{};let L;void 0!==x.vscode&&void 0!==x.vscode.process?L=x.vscode.process:"undefined"!=typeof process&&(L=process);const D="string"==typeof(null===(c=null==L?void 0:L.versions)||void 0===c?void 0:c.electron)&&"renderer"===(null==L?void 0:L.type);if("object"!=typeof navigator||D)if("object"==typeof L){b="win32"===L.platform,E="darwin"===L.platform,T="linux"===L.platform,T&&L.env.SNAP&&L.env.SNAP_REVISION,y=g,S=g;const e=L.env.VSCODE_NLS_CONFIG;if(e)try{const n=JSON.parse(e),t=n.availableLanguages["*"];y=n.locale,S=t||g,h=n._translationsConfigFile}catch(e){}}else console.error("Unable to resolve platform.");else v=navigator.userAgent,b=v.indexOf("Windows")>=0,E=v.indexOf("Macintosh")>=0,(v.indexOf("Macintosh")>=0||v.indexOf("iPad")>=0||v.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,T=v.indexOf("Linux")>=0,y=navigator.language,S=y;const C=b,A=E,I=T,N=v;(()=>{if("function"==typeof x.postMessage&&!x.importScripts){let e=[];x.addEventListener("message",(n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let t=0,r=e.length;t{const r=++n;e.push({id:r,callback:t}),x.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const k=!!(N&&N.indexOf("Chrome")>=0);N&&N.indexOf("Firefox"),!k&&N&&N.indexOf("Safari"),N&&N.indexOf("Edg/"),N&&N.indexOf("Android");const R=x.performance&&"function"==typeof x.performance.now;class O{constructor(e){this._highResolution=R&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new O(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?x.performance.now():Date.now()}}var w,M;!function(e){function n(e){return(n,t=null,r)=>{let a,i=!1;return a=e((e=>{if(!i)return a?a.dispose():i=!0,n.call(t,e)}),null,r),i&&a.dispose(),a}}function t(e,n){return o(((t,r=null,a)=>e((e=>t.call(r,n(e))),null,a)))}function r(e,n){return o(((t,r=null,a)=>e((e=>{n(e),t.call(r,e)}),null,a)))}function a(e,n){return o(((t,r=null,a)=>e((e=>n(e)&&t.call(r,e)),null,a)))}function i(e,n,r){let a=r;return t(e,(e=>(a=n(a,e),a)))}function o(e){let n;const t=new F({onFirstListenerAdd(){n=e(t.fire,t)},onLastListenerRemove(){n.dispose()}});return t.event}function s(e,n,t=100,r=!1,a){let i,o,s,c=0;const l=new F({leakWarningThreshold:a,onFirstListenerAdd(){i=e((e=>{c++,o=n(o,e),r&&!s&&(l.fire(o),o=void 0),clearTimeout(s),s=setTimeout((()=>{const e=o;o=void 0,s=void 0,(!r||c>1)&&l.fire(e),c=0}),t)}))},onLastListenerRemove(){i.dispose()}});return l.event}function c(e,n=(e,n)=>e===n){let t,r=!0;return a(e,(e=>{const a=r||!n(e,t);return r=!1,t=e,a}))}e.None=()=>f.None,e.once=n,e.map=t,e.forEach=r,e.filter=a,e.signal=function(e){return e},e.any=function(...e){return(n,t=null,r)=>function(...e){return d((()=>u(e)))}(...e.map((e=>e((e=>n.call(t,e)),null,r))))},e.reduce=i,e.debouncedListener=function(e,n,t,r=100,a=!1){let i,o,s=0;return e((e=>{s++,i=t(i,e),a&&!o&&(n(i),i=void 0),clearTimeout(o),o=setTimeout((()=>{const e=i;i=void 0,o=void 0,(!a||s>1)&&n(e),s=0}),r)}))},e.debounce=s,e.latch=c,e.split=function(n,t){return[e.filter(n,t),e.filter(n,(e=>!t(e)))]},e.buffer=function(e,n=!1,t=[]){let r=t.slice(),a=e((e=>{r?r.push(e):o.fire(e)}));const i=()=>{r&&r.forEach((e=>o.fire(e))),r=null},o=new F({onFirstListenerAdd(){a||(a=e((e=>o.fire(e))))},onFirstListenerDidAdd(){r&&(n?setTimeout(i):i())},onLastListenerRemove(){a&&a.dispose(),a=null}});return o.event};class l{constructor(e){this.event=e}map(e){return new l(t(this.event,e))}forEach(e){return new l(r(this.event,e))}filter(e){return new l(a(this.event,e))}reduce(e,n){return new l(i(this.event,e,n))}latch(){return new l(c(this.event))}debounce(e,n=100,t=!1,r){return new l(s(this.event,e,n,t,r))}on(e,n,t){return this.event(e,n,t)}once(e,t,r){return n(this.event)(e,t,r)}}e.chain=function(e){return new l(e)},e.fromNodeEventEmitter=function(e,n,t=e=>e){const r=(...e)=>a.fire(t(...e)),a=new F({onFirstListenerAdd:()=>e.on(n,r),onLastListenerRemove:()=>e.removeListener(n,r)});return a.event},e.fromDOMEventEmitter=function(e,n,t=e=>e){const r=(...e)=>a.fire(t(...e)),a=new F({onFirstListenerAdd:()=>e.addEventListener(n,r),onLastListenerRemove:()=>e.removeEventListener(n,r)});return a.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.runAndSubscribe=function(e,n){return n(void 0),e((e=>n(e)))},e.runAndSubscribeWithStore=function(e,n){let t=null;function r(e){null==t||t.dispose(),t=new p,n(e,t)}r(void 0);const a=e((e=>r(e)));return d((()=>{a.dispose(),null==t||t.dispose()}))}}(w||(w={}));class P{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${P._idPool++}`}start(e){this._stopWatch=new O(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}P._idPool=0;class F{constructor(e){var n;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(n=this._options)||void 0===n?void 0:n._profName)?new P(this._options._profName):void 0}get event(){return this._event||(this._event=(e,n,t)=>{var r;this._listeners||(this._listeners=new _);const a=this._listeners.isEmpty();a&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const i=this._listeners.push(n?[e,n]:e);a&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,n);const o=null===(r=this._leakageMon)||void 0===r?void 0:r.check(this._listeners.size),s=d((()=>{if(o&&o(),!this._disposed&&(i(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}));return t instanceof p?t.add(s):Array.isArray(t)&&t.push(s),s}),this._event}fire(e){var n,r;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new _);for(let n of this._listeners)this._deliveryQueue.push([n,e]);for(null===(n=this._perfMon)||void 0===n||n.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[e,n]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,n):e[0].call(e[1],n)}catch(e){t(e)}}null===(r=this._perfMon)||void 0===r||r.stop()}}dispose(){var e,n,t,r,a;this._disposed||(this._disposed=!0,null===(e=this._listeners)||void 0===e||e.clear(),null===(n=this._deliveryQueue)||void 0===n||n.clear(),null===(r=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===r||r.call(t),null===(a=this._leakageMon)||void 0===a||a.dispose())}}function G(e){const n=[];for(const t of function(e){let n=[],t=Object.getPrototypeOf(e);for(;Object.prototype!==t;)n=n.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return n}(e))"function"==typeof e[t]&&n.push(t);return n}function B(e,n="Unreachable"){throw new Error(n)}class U{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function V(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function K(e,n,t=0,r=e.length,a=0,i=n.length){for(;ti)return 1}const o=r-t,s=i-a;return os?1:0}function j(e){return e>=97&&e<=122}function H(e){return e>=65&&e<=90}function W(e,n){const t=n.length;return!(n.length>e.length)&&0===function(e,n,t=0,r=e.length,a=0,i=n.length){for(;t=128||s>=128)return K(e.toLowerCase(),n.toLowerCase(),t,r,a,i);j(o)&&(o-=32),j(s)&&(s-=32);const c=o-s;if(0!==c)return c}const o=r-t,s=i-a;return os?1:0}(e,n,0,t)}function z(e){return 55296<=e&&e<=56319}function J(e,n,t){const r=e.charCodeAt(t);if(z(r)&&t+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]}'))),q.cache=new class{constructor(e){this.computeFn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const n=JSON.stringify(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.computeFn(e)),this.lastCache}}((e=>{function n(e){const n=new Map;for(let t=0;t!e.startsWith("_")&&e in r));0===i.length&&(i=["_default"]);for(const e of i){a=t(a,n(r[e]))}const o=function(e,n){const t=new Map(e);for(const[e,r]of n)t.set(e,r);return t}(n(r._common),a);return new q(o)})),q._locales=new U((()=>Object.keys(q.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(e){return X.getData().has(e)}static get codePoints(){return X.getData()}}X._data=void 0;class Y{constructor(e,n,t,r){this.vsWorker=e,this.req=n,this.method=t,this.args=r,this.type=0}}class Q{constructor(e,n,t,r){this.vsWorker=e,this.seq=n,this.res=t,this.err=r,this.type=1}}class Z{constructor(e,n,t,r){this.vsWorker=e,this.req=n,this.eventName=t,this.arg=r,this.type=2}}class ${constructor(e,n,t){this.vsWorker=e,this.req=n,this.event=t,this.type=3}}class ee{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}}class ne{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,n){const t=String(++this._lastSentReq);return new Promise(((r,a)=>{this._pendingReplies[t]={resolve:r,reject:a},this._send(new Y(this._workerId,t,e,n))}))}listen(e,n){let t=null;const r=new F({onFirstListenerAdd:()=>{t=String(++this._lastSentReq),this._pendingEmitters.set(t,r),this._send(new Z(this._workerId,t,e,n))},onLastListenerRemove:()=>{this._pendingEmitters.delete(t),this._send(new ee(this._workerId,t)),t=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let t=e.err;return e.err.$isError&&(t=new Error,t.name=e.err.name,t.message=e.err.message,t.stack=e.err.stack),void n.reject(t)}n.resolve(e.res)}_handleRequestMessage(e){let n=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new Q(this._workerId,n,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=r(e.detail)),this._send(new Q(this._workerId,n,void 0,r(e)))}))}_handleSubscribeEventMessage(e){const n=e.req,t=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new $(this._workerId,n,e))}));this._pendingEvents.set(n,t)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){let n=[];if(0===e.type)for(let t=0;t{e(n,t)},handleMessage:(e,n)=>this._handleMessage(e,n),handleEvent:(e,n)=>this._handleEvent(e,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n){if("$initialize"===e)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,n))}catch(e){return Promise.reject(e)}}_handleEvent(e,n){if(!this._requestHandler)throw new Error("Missing requestHandler");if(re(e)){const t=this._requestHandler[e].call(this._requestHandler,n);if("function"!=typeof t)throw new Error(`Missing dynamic event ${e} on request handler.`);return t}if(te(e)){const n=this._requestHandler[e];if("function"!=typeof n)throw new Error(`Missing event ${e} on request handler.`);return n}throw new Error(`Malformed event name ${e}`)}initialize(e,n,t,r){this._protocol.setWorkerId(e);const a=function(e,n,t){const r=e=>function(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)},a=e=>function(n){return t(e,n)};let i={};for(const n of e)re(n)?i[n]=a(n):te(n)?i[n]=t(n,void 0):i[n]=r(n);return i}(r,((e,n)=>this._protocol.sendMessage(e,n)),((e,n)=>this._protocol.listen(e,n)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(G(this._requestHandler))):(n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,void 0!==typeof n.trustedTypesPolicy&&delete n.trustedTypesPolicy,n.catchError=!0,x.require.config(n)),new Promise(((e,n)=>{(0,x.require)([t],(t=>{this._requestHandler=t.create(a),this._requestHandler?e(G(this._requestHandler)):n(new Error("No RequestHandler!"))}),n)})))}}class ie{constructor(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function oe(e,n){return(n<<5)-n+e|0}function se(e,n){n=oe(149417,n);for(let t=0,r=e.length;t0||this.m_modifiedCount>0)&&this.m_changes.push(new ie(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(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),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 fe{constructor(e,n,t=null){this.ContinueProcessingPredicate=t,this._originalSequence=e,this._modifiedSequence=n;const[r,a,i]=fe._getElements(e),[o,s,c]=fe._getElements(n);this._hasStrings=i&&c,this._originalStringElements=r,this._originalElementsOrHash=a,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const n=e.getElements();if(fe._isStringArray(n)){const e=new Int32Array(n.length);for(let t=0,r=n.length;t=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){let a;return t<=r?(ue.Assert(e===n+1,"originalStart should only be one more than originalEnd"),a=[new ie(e,0,t,r-t+1)]):e<=n?(ue.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),a=[new ie(e,n-e+1,t,0)]):(ue.Assert(e===n+1,"originalStart should only be one more than originalEnd"),ue.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),a=[]),a}const i=[0],o=[0],s=this.ComputeRecursionPoint(e,n,t,r,i,o,a),c=i[0],l=o[0];if(null!==s)return s;if(!a[0]){const i=this.ComputeDiffRecursive(e,c,t,l,a);let o=[];return o=a[0]?[new ie(c+1,n-(c+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(c+1,n,l+1,r,a),this.ConcatenateChanges(i,o)}return[new ie(e,n-e+1,t,r-t+1)]}WALKTRACE(e,n,t,r,a,i,o,s,c,l,u,d,p,f,m,_,g,y){let h=null,v=null,b=new pe,E=n,T=t,S=p[0]-_[0]-r,x=-1073741824,L=this.m_forwardHistory.length-1;do{const n=S+e;n===E||n=0&&(e=(c=this.m_forwardHistory[L])[0],E=1,T=c.length-1)}while(--L>=-1);if(h=b.getReverseChanges(),y[0]){let e=p[0]+1,n=_[0]+1;if(null!==h&&h.length>0){const t=h[h.length-1];e=Math.max(e,t.getOriginalEnd()),n=Math.max(n,t.getModifiedEnd())}v=[new ie(e,d-e+1,n,m-n+1)]}else{b=new pe,E=i,T=o,S=p[0]-_[0]-s,x=1073741824,L=g?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=S+a;e===E||e=l[e+1]?(f=(u=l[e+1]-1)-S-s,u>x&&b.MarkNextChange(),x=u+1,b.AddOriginalElement(u+1,f+1),S=e+1-a):(f=(u=l[e-1])-S-s,u>x&&b.MarkNextChange(),x=u,b.AddModifiedElement(u+1,f+1),S=e-1-a),L>=0&&(a=(l=this.m_reverseHistory[L])[0],E=1,T=l.length-1)}while(--L>=-1);v=b.getChanges()}return this.ConcatenateChanges(h,v)}ComputeRecursionPoint(e,n,t,r,a,i,o){let s=0,c=0,l=0,u=0,d=0,p=0;e--,t--,a[0]=0,i[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=n-e+(r-t),m=f+1,_=new Int32Array(m),g=new Int32Array(m),y=r-t,h=n-e,v=e-t,b=n-r,E=(h-y)%2==0;_[y]=e,g[h]=n,o[0]=!1;for(let T=1;T<=f/2+1;T++){let f=0,S=0;l=this.ClipDiagonalBound(y-T,T,y,m),u=this.ClipDiagonalBound(y+T,T,y,m);for(let e=l;e<=u;e+=2){s=e===l||ef+S&&(f=s,S=c),!E&&Math.abs(e-h)<=T-1&&s>=g[e])return a[0]=s,i[0]=c,t<=g[e]&&T<=1448?this.WALKTRACE(y,l,u,v,h,d,p,b,_,g,s,n,a,c,r,i,E,o):null}const x=(f-e+(S-t)-T)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,x))return o[0]=!0,a[0]=f,i[0]=S,x>0&&T<=1448?this.WALKTRACE(y,l,u,v,h,d,p,b,_,g,s,n,a,c,r,i,E,o):(e++,t++,[new ie(e,n-e+1,t,r-t+1)]);d=this.ClipDiagonalBound(h-T,T,h,m),p=this.ClipDiagonalBound(h+T,T,h,m);for(let f=d;f<=p;f+=2){s=f===d||f=g[f+1]?g[f+1]-1:g[f-1],c=s-(f-h)-b;const m=s;for(;s>e&&c>t&&this.ElementsAreEqual(s,c);)s--,c--;if(g[f]=s,E&&Math.abs(f-y)<=T&&s<=_[f])return a[0]=s,i[0]=c,m>=_[f]&&T<=1448?this.WALKTRACE(y,l,u,v,h,d,p,b,_,g,s,n,a,c,r,i,E,o):null}if(T<=1447){let e=new Int32Array(u-l+2);e[0]=y-l+1,de.Copy2(_,l,e,1,u-l+1),this.m_forwardHistory.push(e),e=new Int32Array(p-d+2),e[0]=h-d+1,de.Copy2(g,d,e,1,p-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(y,l,u,v,h,d,p,b,_,g,s,n,a,c,r,i,E,o)}PrettifyChanges(e){for(let n=0;n0,o=t.modifiedLength>0;for(;t.originalStart+t.originalLength=0;n--){const t=e[n];let r=0,a=0;if(n>0){const t=e[n-1];r=t.originalStart+t.originalLength,a=t.modifiedStart+t.modifiedLength}const i=t.originalLength>0,o=t.modifiedLength>0;let s=0,c=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength);for(let e=1;;e++){const n=t.originalStart-e,l=t.modifiedStart-e;if(nc&&(c=u,s=e)}t.originalStart-=s,t.modifiedStart-=s;const l=[null];n>0&&this.ChangesOverlap(e[n-1],e[n],l)&&(e[n-1]=l[0],e.splice(n,1),n++)}if(this._hasStrings)for(let n=1,t=e.length;n0&&t>s&&(s=t,c=n,l=e)}return s>0?[c,l]:null}_contiguousSequenceScore(e,n,t){let r=0;for(let a=0;a=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1}_boundaryScore(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)}ConcatenateChanges(e,n){let t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){const r=new Array(e.length+n.length-1);return de.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],de.Copy(n,1,r,e.length,n.length-1),r}{const t=new Array(e.length+n.length);return de.Copy(e,0,t,0,e.length),de.Copy(n,0,t,e.length,n.length),t}}ChangesOverlap(e,n,t){if(ue.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ue.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let a=e.originalLength;const i=e.modifiedStart;let o=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(a=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new ie(r,a,i,o),!0}return t[0]=null,!1}ClipDiagonalBound(e,n,t,r){if(e>=0&&ee.cwd()}}else me="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return C?"win32":A?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const _e=me.cwd,ge=me.env,ye=me.platform,he=46,ve=47,be=92,Ee=58;class Te extends Error{constructor(e,n,t){let r;"string"==typeof n&&0===n.indexOf("not ")?(r="must not be",n=n.replace(/^not /,"")):r="must be";const a=-1!==e.indexOf(".")?"property":"argument";let i=`The "${e}" ${a} ${r} of type ${n}`;i+=". Received type "+typeof t,super(i),this.code="ERR_INVALID_ARG_TYPE"}}function Se(e,n){if("string"!=typeof e)throw new Te(n,"string",e)}function xe(e){return e===ve||e===be}function Le(e){return e===ve}function De(e){return e>=65&&e<=90||e>=97&&e<=122}function Ce(e,n,t,r){let a="",i=0,o=-1,s=0,c=0;for(let l=0;l<=e.length;++l){if(l2){const e=a.lastIndexOf(t);-1===e?(a="",i=0):(a=a.slice(0,e),i=a.length-1-a.lastIndexOf(t)),o=l,s=0;continue}if(0!==a.length){a="",i=0,o=l,s=0;continue}}n&&(a+=a.length>0?`${t}..`:"..",i=2)}else a.length>0?a+=`${t}${e.slice(o+1,l)}`:a=e.slice(o+1,l),i=l-o-1;o=l,s=0}else c===he&&-1!==s?++s:s=-1}return a}function Ae(e,n){if(null===n||"object"!=typeof n)throw new Te("pathObject","Object",n);const t=n.dir||n.root,r=n.base||`${n.name||""}${n.ext||""}`;return t?t===n.root?`${t}${r}`:`${t}${e}${r}`:r}const Ie={resolve(...e){let n="",t="",r=!1;for(let a=e.length-1;a>=-1;a--){let i;if(a>=0){if(i=e[a],Se(i,"path"),0===i.length)continue}else 0===n.length?i=_e():(i=ge[`=${n}`]||_e(),(void 0===i||i.slice(0,2).toLowerCase()!==n.toLowerCase()&&i.charCodeAt(2)===be)&&(i=`${n}\\`));const o=i.length;let s=0,c="",l=!1;const u=i.charCodeAt(0);if(1===o)xe(u)&&(s=1,l=!0);else if(xe(u))if(l=!0,xe(i.charCodeAt(1))){let e=2,n=e;for(;e2&&xe(i.charCodeAt(2))&&(l=!0,s=3));if(c.length>0)if(n.length>0){if(c.toLowerCase()!==n.toLowerCase())continue}else n=c;if(r){if(n.length>0)break}else if(t=`${i.slice(s)}\\${t}`,r=l,l&&n.length>0)break}return t=Ce(t,!r,"\\",xe),r?`${n}\\${t}`:`${n}${t}`||"."},normalize(e){Se(e,"path");const n=e.length;if(0===n)return".";let t,r=0,a=!1;const i=e.charCodeAt(0);if(1===n)return Le(i)?"\\":e;if(xe(i))if(a=!0,xe(e.charCodeAt(1))){let a=2,i=a;for(;a2&&xe(e.charCodeAt(2))&&(a=!0,r=3));let o=r0&&xe(e.charCodeAt(n-1))&&(o+="\\"),void 0===t?a?`\\${o}`:o:a?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){Se(e,"path");const n=e.length;if(0===n)return!1;const t=e.charCodeAt(0);return xe(t)||n>2&&De(t)&&e.charCodeAt(1)===Ee&&xe(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let n,t;for(let r=0;r0&&(void 0===n?n=t=a:n+=`\\${a}`)}if(void 0===n)return".";let r=!0,a=0;if("string"==typeof t&&xe(t.charCodeAt(0))){++a;const e=t.length;e>1&&xe(t.charCodeAt(1))&&(++a,e>2&&(xe(t.charCodeAt(2))?++a:r=!1))}if(r){for(;a=2&&(n=`\\${n.slice(a)}`)}return Ie.normalize(n)},relative(e,n){if(Se(e,"from"),Se(n,"to"),e===n)return"";const t=Ie.resolve(e),r=Ie.resolve(n);if(t===r)return"";if((e=t.toLowerCase())===(n=r.toLowerCase()))return"";let a=0;for(;aa&&e.charCodeAt(i-1)===be;)i--;const o=i-a;let s=0;for(;ss&&n.charCodeAt(c-1)===be;)c--;const l=c-s,u=ou){if(n.charCodeAt(s+p)===be)return r.slice(s+p+1);if(2===p)return r.slice(s+p)}o>u&&(e.charCodeAt(a+p)===be?d=p:2===p&&(d=3)),-1===d&&(d=0)}let f="";for(p=a+d+1;p<=i;++p)p!==i&&e.charCodeAt(p)!==be||(f+=0===f.length?"..":"\\..");return s+=d,f.length>0?`${f}${r.slice(s,c)}`:(r.charCodeAt(s)===be&&++s,r.slice(s,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const n=Ie.resolve(e);if(n.length<=2)return e;if(n.charCodeAt(0)===be){if(n.charCodeAt(1)===be){const e=n.charCodeAt(2);if(63!==e&&e!==he)return`\\\\?\\UNC\\${n.slice(2)}`}}else if(De(n.charCodeAt(0))&&n.charCodeAt(1)===Ee&&n.charCodeAt(2)===be)return`\\\\?\\${n}`;return e},dirname(e){Se(e,"path");const n=e.length;if(0===n)return".";let t=-1,r=0;const a=e.charCodeAt(0);if(1===n)return xe(a)?e:".";if(xe(a)){if(t=r=1,xe(e.charCodeAt(1))){let a=2,i=a;for(;a2&&xe(e.charCodeAt(2))?3:2,r=t);let i=-1,o=!0;for(let t=n-1;t>=r;--t)if(xe(e.charCodeAt(t))){if(!o){i=t;break}}else o=!1;if(-1===i){if(-1===t)return".";i=t}return e.slice(0,i)},basename(e,n){void 0!==n&&Se(n,"ext"),Se(e,"path");let t,r=0,a=-1,i=!0;if(e.length>=2&&De(e.charCodeAt(0))&&e.charCodeAt(1)===Ee&&(r=2),void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let o=n.length-1,s=-1;for(t=e.length-1;t>=r;--t){const c=e.charCodeAt(t);if(xe(c)){if(!i){r=t+1;break}}else-1===s&&(i=!1,s=t+1),o>=0&&(c===n.charCodeAt(o)?-1==--o&&(a=t):(o=-1,a=s))}return r===a?a=s:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=r;--t)if(xe(e.charCodeAt(t))){if(!i){r=t+1;break}}else-1===a&&(i=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){Se(e,"path");let n=0,t=-1,r=0,a=-1,i=!0,o=0;e.length>=2&&e.charCodeAt(1)===Ee&&De(e.charCodeAt(0))&&(n=r=2);for(let s=e.length-1;s>=n;--s){const n=e.charCodeAt(s);if(xe(n)){if(!i){r=s+1;break}}else-1===a&&(i=!1,a=s+1),n===he?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1)}return-1===t||-1===a||0===o||1===o&&t===a-1&&t===r+1?"":e.slice(t,a)},format:Ae.bind(null,"\\"),parse(e){Se(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.length;let r=0,a=e.charCodeAt(0);if(1===t)return xe(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(xe(a)){if(r=1,xe(e.charCodeAt(1))){let n=2,a=n;for(;n0&&(n.root=e.slice(0,r));let i=-1,o=r,s=-1,c=!0,l=e.length-1,u=0;for(;l>=r;--l)if(a=e.charCodeAt(l),xe(a)){if(!c){o=l+1;break}}else-1===s&&(c=!1,s=l+1),a===he?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1);return-1!==s&&(-1===i||0===u||1===u&&i===s-1&&i===o+1?n.base=n.name=e.slice(o,s):(n.name=e.slice(o,i),n.base=e.slice(o,s),n.ext=e.slice(i,s))),n.dir=o>0&&o!==r?e.slice(0,o-1):n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},Ne={resolve(...e){let n="",t=!1;for(let r=e.length-1;r>=-1&&!t;r--){const a=r>=0?e[r]:_e();Se(a,"path"),0!==a.length&&(n=`${a}/${n}`,t=a.charCodeAt(0)===ve)}return n=Ce(n,!t,"/",Le),t?`/${n}`:n.length>0?n:"."},normalize(e){if(Se(e,"path"),0===e.length)return".";const n=e.charCodeAt(0)===ve,t=e.charCodeAt(e.length-1)===ve;return 0===(e=Ce(e,!n,"/",Le)).length?n?"/":t?"./":".":(t&&(e+="/"),n?`/${e}`:e)},isAbsolute:e=>(Se(e,"path"),e.length>0&&e.charCodeAt(0)===ve),join(...e){if(0===e.length)return".";let n;for(let t=0;t0&&(void 0===n?n=r:n+=`/${r}`)}return void 0===n?".":Ne.normalize(n)},relative(e,n){if(Se(e,"from"),Se(n,"to"),e===n)return"";if((e=Ne.resolve(e))===(n=Ne.resolve(n)))return"";const t=e.length,r=t-1,a=n.length-1,i=ri){if(n.charCodeAt(1+s)===ve)return n.slice(1+s+1);if(0===s)return n.slice(1+s)}else r>i&&(e.charCodeAt(1+s)===ve?o=s:0===s&&(o=0));let c="";for(s=1+o+1;s<=t;++s)s!==t&&e.charCodeAt(s)!==ve||(c+=0===c.length?"..":"/..");return`${c}${n.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(Se(e,"path"),0===e.length)return".";const n=e.charCodeAt(0)===ve;let t=-1,r=!0;for(let n=e.length-1;n>=1;--n)if(e.charCodeAt(n)===ve){if(!r){t=n;break}}else r=!1;return-1===t?n?"/":".":n&&1===t?"//":e.slice(0,t)},basename(e,n){void 0!==n&&Se(n,"ext"),Se(e,"path");let t,r=0,a=-1,i=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let o=n.length-1,s=-1;for(t=e.length-1;t>=0;--t){const c=e.charCodeAt(t);if(c===ve){if(!i){r=t+1;break}}else-1===s&&(i=!1,s=t+1),o>=0&&(c===n.charCodeAt(o)?-1==--o&&(a=t):(o=-1,a=s))}return r===a?a=s:-1===a&&(a=e.length),e.slice(r,a)}for(t=e.length-1;t>=0;--t)if(e.charCodeAt(t)===ve){if(!i){r=t+1;break}}else-1===a&&(i=!1,a=t+1);return-1===a?"":e.slice(r,a)},extname(e){Se(e,"path");let n=-1,t=0,r=-1,a=!0,i=0;for(let o=e.length-1;o>=0;--o){const s=e.charCodeAt(o);if(s!==ve)-1===r&&(a=!1,r=o+1),s===he?-1===n?n=o:1!==i&&(i=1):-1!==n&&(i=-1);else if(!a){t=o+1;break}}return-1===n||-1===r||0===i||1===i&&n===r-1&&n===t+1?"":e.slice(n,r)},format:Ae.bind(null,"/"),parse(e){Se(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.charCodeAt(0)===ve;let r;t?(n.root="/",r=1):r=0;let a=-1,i=0,o=-1,s=!0,c=e.length-1,l=0;for(;c>=r;--c){const n=e.charCodeAt(c);if(n!==ve)-1===o&&(s=!1,o=c+1),n===he?-1===a?a=c:1!==l&&(l=1):-1!==a&&(l=-1);else if(!s){i=c+1;break}}if(-1!==o){const r=0===i&&t?1:i;-1===a||0===l||1===l&&a===o-1&&a===i+1?n.base=n.name=e.slice(r,o):(n.name=e.slice(r,a),n.base=e.slice(r,o),n.ext=e.slice(a,o))}return i>0?n.dir=e.slice(0,i-1):t&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ne.win32=Ie.win32=Ie,Ne.posix=Ie.posix=Ne;const ke="win32"===ye?Ie.normalize:Ne.normalize;"win32"===ye?Ie.resolve:Ne.resolve,"win32"===ye?Ie.relative:Ne.relative,"win32"===ye?Ie.dirname:Ne.dirname;const Re="win32"===ye?Ie.basename:Ne.basename,Oe="win32"===ye?Ie.extname:Ne.extname,we="win32"===ye?Ie.sep:Ne.sep,Me=/^\w[\w\d+.-]*$/,Pe=/^\//,Fe=/^\/\//;function Ge(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&&!Me.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!Pe.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(Fe.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 ("//")')}const Be="",Ue="/",Ve=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Ke{constructor(e,n,t,r,a,i=!1){"object"==typeof e?(this.scheme=e.scheme||Be,this.authority=e.authority||Be,this.path=e.path||Be,this.query=e.query||Be,this.fragment=e.fragment||Be):(this.scheme=function(e,n){return e||n?e:"file"}(e,i),this.authority=n||Be,this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==Ue&&(n=Ue+n):n=Ue}return n}(this.scheme,t||Be),this.query=r||Be,this.fragment=a||Be,Ge(this,i))}static isUri(e){return e instanceof Ke||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return qe(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:t,path:r,query:a,fragment:i}=e;return void 0===n?n=this.scheme:null===n&&(n=Be),void 0===t?t=this.authority:null===t&&(t=Be),void 0===r?r=this.path:null===r&&(r=Be),void 0===a?a=this.query:null===a&&(a=Be),void 0===i?i=this.fragment:null===i&&(i=Be),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new He(n,t,r,a,i)}static parse(e,n=!1){const t=Ve.exec(e);return t?new He(t[2]||Be,Ze(t[4]||Be),Ze(t[5]||Be),Ze(t[7]||Be),Ze(t[9]||Be),n):new He(Be,Be,Be,Be,Be)}static file(e){let n=Be;if(C&&(e=e.replace(/\\/g,Ue)),e[0]===Ue&&e[1]===Ue){const t=e.indexOf(Ue,2);-1===t?(n=e.substring(2),e=Ue):(n=e.substring(2,t),e=e.substring(t)||Ue)}return new He("file",n,e,Be,Be)}static from(e){const n=new He(e.scheme,e.authority,e.path,e.query,e.fragment);return Ge(n,!0),n}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let t;return t=C&&"file"===e.scheme?Ke.file(Ie.join(qe(e,!0),...n)).path:Ne.join(e.path,...n),e.with({path:t})}toString(e=!1){return Xe(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof Ke)return e;{const n=new He(e);return n._formatted=e.external,n._fsPath=e._sep===je?e.fsPath:null,n}}return e}}const je=C?1:void 0;class He extends Ke{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=qe(this,!1)),this._fsPath}toString(e=!1){return e?Xe(this,!0):(this._formatted||(this._formatted=Xe(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=je),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const We={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 ze(e,n){let t,r=-1;for(let a=0;a=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));const n=We[i];void 0!==n?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=n):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function Je(e){let n;for(let t=0;t1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?n?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,C&&(t=t.replace(/\//g,"\\")),t}function Xe(e,n){const t=n?Je:ze;let r="",{scheme:a,authority:i,path:o,query:s,fragment:c}=e;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=Ue,r+=Ue),i){let e=i.indexOf("@");if(-1!==e){const n=i.substr(0,e);i=i.substr(e+1),e=n.indexOf(":"),-1===e?r+=t(n,!1):(r+=t(n.substr(0,e),!1),r+=":",r+=t(n.substr(e+1),!1)),r+="@"}i=i.toLowerCase(),e=i.indexOf(":"),-1===e?r+=t(i,!1):(r+=t(i.substr(0,e),!1),r+=i.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),c&&(r+="#",r+=n?c:ze(c,!1)),r}function Ye(e){try{return decodeURIComponent(e)}catch(n){return e.length>3?e.substr(0,3)+Ye(e.substr(3)):e}}const Qe=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ze(e){return e.match(Qe)?e.replace(Qe,(e=>Ye(e))):e}class $e{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new $e(e,n)}delta(e=0,n=0){return this.with(this.lineNumber+e,this.column+n)}equals(e){return $e.equals(this,e)}static equals(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return $e.isBefore(this,e)}static isBefore(e,n){return e.lineNumbert||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}isEmpty(){return en.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return en.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumbere.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.columne.endColumn))}static strictContainsPosition(e,n){return!(n.lineNumbere.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.column<=e.startColumn)&&!(n.lineNumber===e.endLineNumber&&n.column>=e.endColumn))}containsRange(e){return en.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumne.endColumn)))}strictContainsRange(e){return en.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)))}plusRange(e){return en.plusRange(this,e)}static plusRange(e,n){let t,r,a,i;return n.startLineNumbere.endLineNumber?(a=n.endLineNumber,i=n.endColumn):n.endLineNumber===e.endLineNumber?(a=n.endLineNumber,i=Math.max(n.endColumn,e.endColumn)):(a=e.endLineNumber,i=e.endColumn),new en(t,r,a,i)}intersectRanges(e){return en.intersectRanges(this,e)}static intersectRanges(e,n){let t=e.startLineNumber,r=e.startColumn,a=e.endLineNumber,i=e.endColumn,o=n.startLineNumber,s=n.startColumn,c=n.endLineNumber,l=n.endColumn;return tc?(a=c,i=l):a===c&&(i=Math.min(i,l)),t>a||t===a&&r>i?null:new en(t,r,a,i)}equalsRange(e){return en.equalsRange(this,e)}static equalsRange(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return en.getEndPosition(this)}static getEndPosition(e){return new $e(e.endLineNumber,e.endColumn)}getStartPosition(){return en.getStartPosition(this)}static getStartPosition(e){return new $e(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new en(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new en(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return en.collapseToStart(this)}static collapseToStart(e){return new en(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,n=e){return new en(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new en(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,n){return!(e.endLineNumbere.startLineNumber}}function nn(e,n,t,r){return new fe(e,n,t).ComputeDiff(r)}class tn{constructor(e){const n=[],t=[];for(let r=0,a=e.length;r0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&a()){const i=t.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),s=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let c=nn(i,s,a,!0).changes;o&&(c=function(e){if(e.length<=1)return e;const n=[e[0]];let t=n[0];for(let r=1,a=e.length;r1&&o>1;){if(e.charCodeAt(t-2)!==n.charCodeAt(o-2))break;t--,o--}(t>1||o>1)&&this._pushTrimWhitespaceCharChange(r,a+1,1,t,i+1,1,o)}{let t=ln(e,1),o=ln(n,1);const s=e.length+1,c=n.length+1;for(;t=0;t--){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===t?n:t+2}function un(e){if(0===e)return()=>!0;const n=Date.now();return()=>Date.now()-n255?255:0|e}function pn(e){return e<0?0:e>4294967295?4294967295:0|e}class fn{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=pn(e);const t=this.values,r=this.prefixSum,a=n.length;return 0!==a&&(this.values=new Uint32Array(t.length+a),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+a),this.values.set(n,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,n){return e=pn(e),n=pn(n),this.values[e]!==n&&(this.values[e]=n,e-1=t.length)return!1;const a=t.length-e;return n>=a&&(n=a),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=pn(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,t=this.values.length-1,r=0,a=0,i=0;for(;n<=t;)if(r=n+(t-n)/2|0,a=this.prefixSum[r],i=a-this.values[r],e=a))break;n=r+1}return new mn(r,e-i)}}class mn{constructor(e,n){this.index=e,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}}class _n{constructor(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const n=e.changes;for(const e of n)this._acceptDeleteRange(e.range),this._acceptInsertText(new $e(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,n=this._lines.length,t=new Uint32Array(n);for(let r=0;r/?")e.indexOf(t)>=0||(n+="\\"+t);return n+="\\s]+)",new RegExp(n,"g")}();const yn={maxLen:1e3,windowSize:15,timeBudget:150};function hn(e,n,t,r,a=yn){if(t.length>a.maxLen){let i=e-a.maxLen/2;return i<0?i=0:r+=i,hn(e,n,t=t.substring(i,e+a.maxLen/2),r,a)}const i=Date.now(),o=e-1-r;let s=-1,c=null;for(let e=1;!(Date.now()-i>=a.timeBudget);e++){const r=o-a.windowSize*e;n.lastIndex=Math.max(0,r);const i=vn(n,t,o,s);if(!i&&c)break;if(c=i,r<=0)break;s=r}if(c){const e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return n.lastIndex=0,e}return null}function vn(e,n,t,r){let a;for(;a=e.exec(n);){const n=a.index||0;if(n<=t&&e.lastIndex>=t)return a;if(r>0&&n>r)return null}return null}class bn{constructor(e){const n=dn(e);this._defaultValue=n,this._asciiMap=bn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){const n=new Uint8Array(256);for(let t=0;t<256;t++)n[t]=e;return n}set(e,n){const t=dn(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class En{constructor(e,n,t){const r=new Uint8Array(e*n);for(let a=0,i=e*n;an&&(n=i),a>t&&(t=a),o>t&&(t=o)}n++,t++;const r=new En(t,n,0);for(let n=0,t=e.length;n=this._maxCharCode?0:this._states.get(e,n)}}let Sn=null;let xn=null;class Ln{static _createLink(e,n,t,r,a){let i=a-1;do{const t=n.charCodeAt(i);if(2!==e.get(t))break;i--}while(i>r);if(r>0){const e=n.charCodeAt(r-1),t=n.charCodeAt(i);(40===e&&41===t||91===e&&93===t||123===e&&125===t)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}}static computeLinks(e,n=function(){return null===Sn&&(Sn=new Tn([[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]])),Sn}()){const t=function(){if(null===xn){xn=new bn(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;n=0?(r+=t?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}Dn.INSTANCE=new Dn;const Cn=Object.freeze((function(e,n){const t=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(t)}}}));var An;!function(e){e.isCancellationToken=function(n){return n===e.None||n===e.Cancelled||(n instanceof In||!(!n||"object"!=typeof n)&&("boolean"==typeof n.isCancellationRequested&&"function"==typeof n.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:w.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Cn})}(An||(An={}));class In{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?Cn:(this._emitter||(this._emitter=new F),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Nn{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new In),this._token}cancel(){this._token?this._token instanceof In&&this._token.cancel():this._token=An.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof In&&this._token.dispose():this._token=An.None}}class kn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Rn=new kn,On=new kn,wn=new kn,Mn=new Array(230),Pn=Object.create(null),Fn=Object.create(null);var Gn,Bn,Un,Vn;!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",0,e,0,e,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_CLEAR",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]];let t=[],r=[];for(const e of n){const[n,a,i,o,s,c,l,u,d,p]=e;if(r[i]||(r[i]=!0,Pn[o]=i,Fn[o.toLowerCase()]=i),!t[s]){if(t[s]=!0,!c)throw new Error(`String representation missing for key code ${s} around scan code ${o}`);Rn.define(s,c),On.define(s,d||c),wn.define(s,p||d||c)}l&&(Mn[l]=s)}}(),function(e){e.toString=function(e){return Rn.keyCodeToStr(e)},e.fromString=function(e){return Rn.strToKeyCode(e)},e.toUserSettingsUS=function(e){return On.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return wn.keyCodeToStr(e)},e.fromUserSettings=function(e){return On.strToKeyCode(e)||wn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Rn.keyCodeToStr(e)}}(Gn||(Gn={}));class Kn extends en{constructor(e,n,t,r){super(e,n,t,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=t,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return Kn.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return 0===this.getDirection()?new Kn(this.startLineNumber,this.startColumn,e,n):new Kn(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new $e(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new $e(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return 0===this.getDirection()?new Kn(e,n,this.endLineNumber,this.endColumn):new Kn(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new Kn(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return 0===n?new Kn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new Kn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new Kn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let t=0,r=e.length;te.then((e=>e),(e=>{n||(n=e)})))));if(void 0!==n)throw n;return t}))},e.withAsyncBody=function(e){return new Promise(((n,t)=>zn(this,void 0,void 0,(function*(){try{yield e(n,t)}catch(e){t(e)}}))))}}(Hn||(Hn={}));class qn{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new F,queueMicrotask((()=>zn(this,void 0,void 0,(function*(){const n={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{yield Promise.resolve(e(n)),this.resolve()}catch(e){this.reject(e)}finally{n.emitOne=void 0,n.emitMany=void 0,n.reject=void 0}}))))}static fromArray(e){return new qn((n=>{n.emitMany(e)}))}static fromPromise(e){return new qn((n=>zn(this,void 0,void 0,(function*(){n.emitMany(yield e)}))))}static fromPromises(e){return new qn((n=>zn(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>zn(this,void 0,void 0,(function*(){return n.emitOne(yield e)})))))}))))}static merge(e){return new qn((n=>zn(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>{var t,r;return zn(this,void 0,void 0,(function*(){var a,i;try{for(t=Jn(e);!(r=yield t.next()).done;){const e=r.value;n.emitOne(e)}}catch(e){a={error:e}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(a)throw a.error}}}))})))}))))}[Symbol.asyncIterator](){let e=0;return{next:()=>zn(this,void 0,void 0,(function*(){for(;;){if(2===this._state)throw this._error;if(ezn(this,void 0,void 0,(function*(){var r,a;try{for(var i,o=Jn(e);!(i=yield o.next()).done;){const e=i.value;t.emitOne(n(e))}}catch(e){r={error:e}}finally{try{i&&!i.done&&(a=o.return)&&(yield a.call(o))}finally{if(r)throw r.error}}}))))}map(e){return qn.map(this,e)}static filter(e,n){return new qn((t=>zn(this,void 0,void 0,(function*(){var r,a;try{for(var i,o=Jn(e);!(i=yield o.next()).done;){const e=i.value;n(e)&&t.emitOne(e)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(a=o.return)&&(yield a.call(o))}finally{if(r)throw r.error}}}))))}filter(e){return qn.filter(this,e)}static coalesce(e){return qn.filter(e,(e=>!!e))}coalesce(){return qn.coalesce(this)}static toPromise(e){var n,t,r,a;return zn(this,void 0,void 0,(function*(){const i=[];try{for(n=Jn(e);!(t=yield n.next()).done;){const e=t.value;i.push(e)}}catch(e){r={error:e}}finally{try{t&&!t.done&&(a=n.return)&&(yield a.call(n))}finally{if(r)throw r.error}}return i}))}toPromise(){return qn.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}qn.EMPTY=qn.fromArray([]);class Xn{constructor(){this[Wn]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,n=0){const t=this._map.get(e);if(t)return 0!==n&&this.touch(t,n),t.value}set(e,n,t=0){let r=this._map.get(e);if(r)r.value=n,0!==t&&this.touch(r,t);else{switch(r={key:e,value:n,next:void 0,previous:void 0},t){case 0:case 2:default:this.addItemLast(r);break;case 1:this.addItemFirst(r)}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){const t=this._state;let r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==t)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,n=this._state;let t=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const e={value:t.key,done:!1};return t=t.next,e}return{value:void 0,done:!0}}};return r}values(){const e=this,n=this._state;let t=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const e={value:t.value,done:!1};return t=t.next,e}return{value:void 0,done:!0}}};return r}entries(){const e=this,n=this._state;let t=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(t){const e={value:[t.key,t.value],done:!1};return t=t.next,e}return{value:void 0,done:!0}}};return r}[(Wn=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let n=this._head,t=this.size;for(;n&&t>e;)this._map.delete(n.key),n=n.next,t--;this._head=n,this._size=t,n&&(n.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const n=e.next,t=e.previous;if(!n||!t)throw new Error("Invalid list");n.previous=t,t.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===n||2===n)if(1===n){if(e===this._head)return;const n=e.next,t=e.previous;e===this._tail?(t.next=void 0,this._tail=t):(n.previous=t,t.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===n){if(e===this._tail)return;const n=e.next,t=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=t,t.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach(((n,t)=>{e.push([t,n])})),e}fromJSON(e){this.clear();for(const[n,t]of e)this.set(n,t)}}const Yn="**",Qn="/",Zn="[/\\\\]",$n="[^/\\\\]",et=/\//g;function nt(e){switch(e){case 0:return"";case 1:return`${$n}*?`;default:return`(?:${Zn}|${$n}+${Zn}|${Zn}${$n}+)*?`}}function tt(e,n){if(!e)return[];const t=[];let r=!1,a=!1,i="";for(const o of e){switch(o){case n:if(!r&&!a){t.push(i),i="";continue}break;case"{":r=!0;break;case"}":r=!1;break;case"[":a=!0;break;case"]":a=!1}i+=o}return i&&t.push(i),t}function rt(e){if(!e)return"";let n="";const t=tt(e,Qn);if(t.every((e=>e===Yn)))n=".*";else{let e=!1;t.forEach(((r,a)=>{if(r===Yn)return void(e||(n+=nt(2),e=!0));let i=!1,o="",s=!1,c="";for(const e of r)if("}"!==e&&i)o+=e;else if(!s||"]"===e&&c)switch(e){case"{":i=!0;continue;case"[":s=!0;continue;case"}":{const e=`(?:${tt(o,",").map((e=>rt(e))).join("|")})`;n+=e,i=!1,o="";break}case"]":n+="["+c+"]",s=!1,c="";break;case"?":n+=$n;continue;case"*":n+=nt(1);continue;default:n+=V(e)}else{let n;n="-"===e?e:"^"!==e&&"!"!==e||c?e===Qn?"":V(e):"^",c+=n}athis._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}(1e4),dt=function(){return!1},pt=function(){return null};function ft(e,n){if(!e)return pt;let t;t="string"!=typeof e?e.pattern:e,t=t.trim();const r=`${t}_${!!n.trimForExclusions}`;let a,i=ut.get(r);if(i)return mt(i,e);if(at.test(t)){const e=t.substr(4);i=function(n,r){return"string"==typeof n&&n.endsWith(e)?t:null}}else i=(a=it.exec(_t(t,n)))?function(e,n){const t=`/${e}`,r=`\\${e}`,a=function(a,i){return"string"!=typeof a?null:i?i===e?n:null:a===e||a.endsWith(t)||a.endsWith(r)?n:null},i=[e];return a.basenames=i,a.patterns=[n],a.allBasenames=i,a}(a[1],t):(n.trimForExclusions?st:ot).test(t)?function(e,n){const t=ht(e.slice(1,-1).split(",").map((e=>ft(e,n))).filter((e=>e!==pt)),e),r=t.length;if(!r)return pt;if(1===r)return t[0];const a=function(n,r){for(let a=0,i=t.length;a!!e.allBasenames));i&&(a.allBasenames=i.allBasenames);const o=t.reduce(((e,n)=>n.allPaths?e.concat(n.allPaths):e),[]);o.length&&(a.allPaths=o);return a}(t,n):(a=ct.exec(_t(t,n)))?gt(a[1].substr(1),t,!0):(a=lt.exec(_t(t,n)))?gt(a[1],t,!1):function(e){try{const n=new RegExp(`^${rt(e)}$`);return function(t){return n.lastIndex=0,"string"==typeof t&&n.test(t)?e:null}}catch(e){return pt}}(t);return ut.set(r,i),mt(i,e)}function mt(e,n){return"string"==typeof n?e:function(t,r){return function(e,n,t,r=we){if(e===n)return!0;if(!e||!n)return!1;if(n.length>e.length)return!1;if(t){if(!W(e,n))return!1;if(n.length===e.length)return!0;let t=n.length;return n.charAt(n.length-1)===r&&t--,e.charAt(t)===r}return n.charAt(n.length-1)!==r&&(n+=r),0===e.indexOf(n)}(t,n.base,!I)?e(t.substr(n.base.length+1),r):null}}function _t(e,n){return n.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function gt(e,n,t){const r=we===Ne.sep,a=r?e:e.replace(et,we),i=we+a,o=Ne.sep+e,s=t?function(t,s){return"string"!=typeof t||t!==a&&!t.endsWith(i)&&(r||t!==e&&!t.endsWith(o))?null:n}:function(t,i){return"string"!=typeof t||t!==a&&(r||t!==e)?null:n};return s.allPaths=[(t?"*/":"./")+e],s}function yt(e,n,t){return!(!e||"string"!=typeof n)&&function(e,n={}){if(!e)return dt;if("string"==typeof e||function(e){const n=e;if(!n)return!1;return"string"==typeof n.base&&"string"==typeof n.pattern}(e)){const t=ft(e,n);if(t===pt)return dt;const r=function(e,n){return!!t(e,n)};return t.allBasenames&&(r.allBasenames=t.allBasenames),t.allPaths&&(r.allPaths=t.allPaths),r}return function(e,n){const t=ht(Object.getOwnPropertyNames(e).map((t=>function(e,n,t){if(!1===n)return pt;const r=ft(e,t);if(r===pt)return pt;if("boolean"==typeof n)return r;if(n){const t=n.when;if("string"==typeof t){const n=(n,a,i,o)=>{if(!o||!r(n,a))return null;const s=o(t.replace("$(basename)",i));return(c=s)&&"function"==typeof c.then?s.then((n=>n?e:null)):s?e:null;var c};return n.requiresSiblings=!0,n}}return r}(t,e[t],n))).filter((e=>e!==pt))),r=t.length;if(!r)return pt;if(!t.some((e=>!!e.requiresSiblings))){if(1===r)return t[0];const e=function(e,n){for(let r=0,a=t.length;r!!e.allBasenames));n&&(e.allBasenames=n.allBasenames);const a=t.reduce(((e,n)=>n.allPaths?e.concat(n.allPaths):e),[]);return a.length&&(e.allPaths=a),e}const a=function(e,n,r){let a;for(let i=0,o=t.length;i!!e.allBasenames));i&&(a.allBasenames=i.allBasenames);const o=t.reduce(((e,n)=>n.allPaths?e.concat(n.allPaths):e),[]);o.length&&(a.allPaths=o);return a}(e,n)}(e)(n,void 0,t)}function ht(e,n){const t=e.filter((e=>!!e.basenames));if(t.length<2)return e;const r=t.reduce(((e,n)=>{const t=n.basenames;return t?e.concat(t):e}),[]);let a;if(n){a=[];for(let e=0,t=r.length;e{const t=n.patterns;return t?e.concat(t):e}),[]);const i=function(e,n){if("string"!=typeof e)return null;if(!n){let t;for(t=e.length;t>0;t--){const n=e.charCodeAt(t-1);if(47===n||92===n)break}n=e.substr(t)}const t=r.indexOf(n);return-1!==t?a[t]:null};i.basenames=r,i.patterns=a,i.allBasenames=r;const o=e.filter((e=>!e.basenames));return o.push(i),o}function vt(e,n,t,r){if(Array.isArray(e)){let a=0;for(const i of e){const e=vt(i,n,t,r);if(10===e)return e;e>a&&(a=e)}return a}if("string"==typeof e)return r?"*"===e?5:e===t?10:0:0;if(e){const{language:a,pattern:i,scheme:o,hasAccessToAllModels:s}=e;if(!r&&!s)return 0;let c=0;if(o)if(o===n.scheme)c=10;else{if("*"!==o)return 0;c=5}if(a)if(a===t)c=10;else{if("*"!==a)return 0;c=Math.max(c,5)}if(i){let e;if(e="string"==typeof i?i:Object.assign(Object.assign({},i),{base:ke(i.base)}),e!==n.fsPath&&!yt(e,n.fsPath))return 0;c=10}return c}return 0}function bt(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(bt):!!e.exclusive)}class Et{constructor(){this._clock=0,this._entries=[],this._onDidChange=new F}get onDidChange(){return this._onDidChange.event}register(e,n){let t={selector:e,provider:n,_score:-1,_time:this._clock++};return this._entries.push(t),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),d((()=>{if(t){const e=this._entries.indexOf(t);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),t=void 0)}}))}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const n=[];for(let e of this._entries)e._score>0&&n.push(e.provider);return n}ordered(e){const n=[];return this._orderedForEach(e,(e=>n.push(e.provider))),n}orderedGroups(e){const n=[];let t,r;return this._orderedForEach(e,(e=>{t&&r===e._score?t.push(e.provider):(r=e._score,t=[e.provider],n.push(t))})),n}_orderedForEach(e,n){if(e){this._updateScores(e);for(const e of this._entries)e._score>0&&n(e)}}_updateScores(e){const n={uri:e.uri.toString(),language:e.getLanguageId()};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(let n of this._entries)if(n._score=vt(n.selector,e.uri,e.getLanguageId(),jn(e)),bt(n.selector)&&n._score>0){for(let e of this._entries)e._score=0;n._score=1e3;break}this._entries.sort(Et._compareByScoreAndTime)}}static _compareByScoreAndTime(e,n){return e._scoren._score?-1:e._timen._time?-1:0}}var Tt,St,xt,Lt,Dt,Ct,At,It,Nt,kt,Rt,Ot,wt,Mt,Pt,Ft,Gt,Bt,Ut,Vt,Kt,jt,Ht,Wt,zt,Jt,qt,Xt,Yt,Qt,Zt,$t,er,nr,tr,rr,ar,ir,or,sr,cr,lr,ur,dr,pr,fr=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class mr extends f{constructor(e,n,t){super(),this._registry=e,this._languageId=n,this._factory=t,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return fr(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return fr(this,void 0,void 0,(function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}class _r{constructor(e,n,t){this.id=e,this.definition=n,this.description=t,_r._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return _r._allCodicons}}_r._allCodicons=[],_r.add=new _r("add",{fontCharacter:"\\ea60"}),_r.plus=new _r("plus",_r.add.definition),_r.gistNew=new _r("gist-new",_r.add.definition),_r.repoCreate=new _r("repo-create",_r.add.definition),_r.lightbulb=new _r("lightbulb",{fontCharacter:"\\ea61"}),_r.lightBulb=new _r("light-bulb",{fontCharacter:"\\ea61"}),_r.repo=new _r("repo",{fontCharacter:"\\ea62"}),_r.repoDelete=new _r("repo-delete",{fontCharacter:"\\ea62"}),_r.gistFork=new _r("gist-fork",{fontCharacter:"\\ea63"}),_r.repoForked=new _r("repo-forked",{fontCharacter:"\\ea63"}),_r.gitPullRequest=new _r("git-pull-request",{fontCharacter:"\\ea64"}),_r.gitPullRequestAbandoned=new _r("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),_r.recordKeys=new _r("record-keys",{fontCharacter:"\\ea65"}),_r.keyboard=new _r("keyboard",{fontCharacter:"\\ea65"}),_r.tag=new _r("tag",{fontCharacter:"\\ea66"}),_r.tagAdd=new _r("tag-add",{fontCharacter:"\\ea66"}),_r.tagRemove=new _r("tag-remove",{fontCharacter:"\\ea66"}),_r.person=new _r("person",{fontCharacter:"\\ea67"}),_r.personFollow=new _r("person-follow",{fontCharacter:"\\ea67"}),_r.personOutline=new _r("person-outline",{fontCharacter:"\\ea67"}),_r.personFilled=new _r("person-filled",{fontCharacter:"\\ea67"}),_r.gitBranch=new _r("git-branch",{fontCharacter:"\\ea68"}),_r.gitBranchCreate=new _r("git-branch-create",{fontCharacter:"\\ea68"}),_r.gitBranchDelete=new _r("git-branch-delete",{fontCharacter:"\\ea68"}),_r.sourceControl=new _r("source-control",{fontCharacter:"\\ea68"}),_r.mirror=new _r("mirror",{fontCharacter:"\\ea69"}),_r.mirrorPublic=new _r("mirror-public",{fontCharacter:"\\ea69"}),_r.star=new _r("star",{fontCharacter:"\\ea6a"}),_r.starAdd=new _r("star-add",{fontCharacter:"\\ea6a"}),_r.starDelete=new _r("star-delete",{fontCharacter:"\\ea6a"}),_r.starEmpty=new _r("star-empty",{fontCharacter:"\\ea6a"}),_r.comment=new _r("comment",{fontCharacter:"\\ea6b"}),_r.commentAdd=new _r("comment-add",{fontCharacter:"\\ea6b"}),_r.alert=new _r("alert",{fontCharacter:"\\ea6c"}),_r.warning=new _r("warning",{fontCharacter:"\\ea6c"}),_r.search=new _r("search",{fontCharacter:"\\ea6d"}),_r.searchSave=new _r("search-save",{fontCharacter:"\\ea6d"}),_r.logOut=new _r("log-out",{fontCharacter:"\\ea6e"}),_r.signOut=new _r("sign-out",{fontCharacter:"\\ea6e"}),_r.logIn=new _r("log-in",{fontCharacter:"\\ea6f"}),_r.signIn=new _r("sign-in",{fontCharacter:"\\ea6f"}),_r.eye=new _r("eye",{fontCharacter:"\\ea70"}),_r.eyeUnwatch=new _r("eye-unwatch",{fontCharacter:"\\ea70"}),_r.eyeWatch=new _r("eye-watch",{fontCharacter:"\\ea70"}),_r.circleFilled=new _r("circle-filled",{fontCharacter:"\\ea71"}),_r.primitiveDot=new _r("primitive-dot",{fontCharacter:"\\ea71"}),_r.closeDirty=new _r("close-dirty",{fontCharacter:"\\ea71"}),_r.debugBreakpoint=new _r("debug-breakpoint",{fontCharacter:"\\ea71"}),_r.debugBreakpointDisabled=new _r("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),_r.debugHint=new _r("debug-hint",{fontCharacter:"\\ea71"}),_r.primitiveSquare=new _r("primitive-square",{fontCharacter:"\\ea72"}),_r.edit=new _r("edit",{fontCharacter:"\\ea73"}),_r.pencil=new _r("pencil",{fontCharacter:"\\ea73"}),_r.info=new _r("info",{fontCharacter:"\\ea74"}),_r.issueOpened=new _r("issue-opened",{fontCharacter:"\\ea74"}),_r.gistPrivate=new _r("gist-private",{fontCharacter:"\\ea75"}),_r.gitForkPrivate=new _r("git-fork-private",{fontCharacter:"\\ea75"}),_r.lock=new _r("lock",{fontCharacter:"\\ea75"}),_r.mirrorPrivate=new _r("mirror-private",{fontCharacter:"\\ea75"}),_r.close=new _r("close",{fontCharacter:"\\ea76"}),_r.removeClose=new _r("remove-close",{fontCharacter:"\\ea76"}),_r.x=new _r("x",{fontCharacter:"\\ea76"}),_r.repoSync=new _r("repo-sync",{fontCharacter:"\\ea77"}),_r.sync=new _r("sync",{fontCharacter:"\\ea77"}),_r.clone=new _r("clone",{fontCharacter:"\\ea78"}),_r.desktopDownload=new _r("desktop-download",{fontCharacter:"\\ea78"}),_r.beaker=new _r("beaker",{fontCharacter:"\\ea79"}),_r.microscope=new _r("microscope",{fontCharacter:"\\ea79"}),_r.vm=new _r("vm",{fontCharacter:"\\ea7a"}),_r.deviceDesktop=new _r("device-desktop",{fontCharacter:"\\ea7a"}),_r.file=new _r("file",{fontCharacter:"\\ea7b"}),_r.fileText=new _r("file-text",{fontCharacter:"\\ea7b"}),_r.more=new _r("more",{fontCharacter:"\\ea7c"}),_r.ellipsis=new _r("ellipsis",{fontCharacter:"\\ea7c"}),_r.kebabHorizontal=new _r("kebab-horizontal",{fontCharacter:"\\ea7c"}),_r.mailReply=new _r("mail-reply",{fontCharacter:"\\ea7d"}),_r.reply=new _r("reply",{fontCharacter:"\\ea7d"}),_r.organization=new _r("organization",{fontCharacter:"\\ea7e"}),_r.organizationFilled=new _r("organization-filled",{fontCharacter:"\\ea7e"}),_r.organizationOutline=new _r("organization-outline",{fontCharacter:"\\ea7e"}),_r.newFile=new _r("new-file",{fontCharacter:"\\ea7f"}),_r.fileAdd=new _r("file-add",{fontCharacter:"\\ea7f"}),_r.newFolder=new _r("new-folder",{fontCharacter:"\\ea80"}),_r.fileDirectoryCreate=new _r("file-directory-create",{fontCharacter:"\\ea80"}),_r.trash=new _r("trash",{fontCharacter:"\\ea81"}),_r.trashcan=new _r("trashcan",{fontCharacter:"\\ea81"}),_r.history=new _r("history",{fontCharacter:"\\ea82"}),_r.clock=new _r("clock",{fontCharacter:"\\ea82"}),_r.folder=new _r("folder",{fontCharacter:"\\ea83"}),_r.fileDirectory=new _r("file-directory",{fontCharacter:"\\ea83"}),_r.symbolFolder=new _r("symbol-folder",{fontCharacter:"\\ea83"}),_r.logoGithub=new _r("logo-github",{fontCharacter:"\\ea84"}),_r.markGithub=new _r("mark-github",{fontCharacter:"\\ea84"}),_r.github=new _r("github",{fontCharacter:"\\ea84"}),_r.terminal=new _r("terminal",{fontCharacter:"\\ea85"}),_r.console=new _r("console",{fontCharacter:"\\ea85"}),_r.repl=new _r("repl",{fontCharacter:"\\ea85"}),_r.zap=new _r("zap",{fontCharacter:"\\ea86"}),_r.symbolEvent=new _r("symbol-event",{fontCharacter:"\\ea86"}),_r.error=new _r("error",{fontCharacter:"\\ea87"}),_r.stop=new _r("stop",{fontCharacter:"\\ea87"}),_r.variable=new _r("variable",{fontCharacter:"\\ea88"}),_r.symbolVariable=new _r("symbol-variable",{fontCharacter:"\\ea88"}),_r.array=new _r("array",{fontCharacter:"\\ea8a"}),_r.symbolArray=new _r("symbol-array",{fontCharacter:"\\ea8a"}),_r.symbolModule=new _r("symbol-module",{fontCharacter:"\\ea8b"}),_r.symbolPackage=new _r("symbol-package",{fontCharacter:"\\ea8b"}),_r.symbolNamespace=new _r("symbol-namespace",{fontCharacter:"\\ea8b"}),_r.symbolObject=new _r("symbol-object",{fontCharacter:"\\ea8b"}),_r.symbolMethod=new _r("symbol-method",{fontCharacter:"\\ea8c"}),_r.symbolFunction=new _r("symbol-function",{fontCharacter:"\\ea8c"}),_r.symbolConstructor=new _r("symbol-constructor",{fontCharacter:"\\ea8c"}),_r.symbolBoolean=new _r("symbol-boolean",{fontCharacter:"\\ea8f"}),_r.symbolNull=new _r("symbol-null",{fontCharacter:"\\ea8f"}),_r.symbolNumeric=new _r("symbol-numeric",{fontCharacter:"\\ea90"}),_r.symbolNumber=new _r("symbol-number",{fontCharacter:"\\ea90"}),_r.symbolStructure=new _r("symbol-structure",{fontCharacter:"\\ea91"}),_r.symbolStruct=new _r("symbol-struct",{fontCharacter:"\\ea91"}),_r.symbolParameter=new _r("symbol-parameter",{fontCharacter:"\\ea92"}),_r.symbolTypeParameter=new _r("symbol-type-parameter",{fontCharacter:"\\ea92"}),_r.symbolKey=new _r("symbol-key",{fontCharacter:"\\ea93"}),_r.symbolText=new _r("symbol-text",{fontCharacter:"\\ea93"}),_r.symbolReference=new _r("symbol-reference",{fontCharacter:"\\ea94"}),_r.goToFile=new _r("go-to-file",{fontCharacter:"\\ea94"}),_r.symbolEnum=new _r("symbol-enum",{fontCharacter:"\\ea95"}),_r.symbolValue=new _r("symbol-value",{fontCharacter:"\\ea95"}),_r.symbolRuler=new _r("symbol-ruler",{fontCharacter:"\\ea96"}),_r.symbolUnit=new _r("symbol-unit",{fontCharacter:"\\ea96"}),_r.activateBreakpoints=new _r("activate-breakpoints",{fontCharacter:"\\ea97"}),_r.archive=new _r("archive",{fontCharacter:"\\ea98"}),_r.arrowBoth=new _r("arrow-both",{fontCharacter:"\\ea99"}),_r.arrowDown=new _r("arrow-down",{fontCharacter:"\\ea9a"}),_r.arrowLeft=new _r("arrow-left",{fontCharacter:"\\ea9b"}),_r.arrowRight=new _r("arrow-right",{fontCharacter:"\\ea9c"}),_r.arrowSmallDown=new _r("arrow-small-down",{fontCharacter:"\\ea9d"}),_r.arrowSmallLeft=new _r("arrow-small-left",{fontCharacter:"\\ea9e"}),_r.arrowSmallRight=new _r("arrow-small-right",{fontCharacter:"\\ea9f"}),_r.arrowSmallUp=new _r("arrow-small-up",{fontCharacter:"\\eaa0"}),_r.arrowUp=new _r("arrow-up",{fontCharacter:"\\eaa1"}),_r.bell=new _r("bell",{fontCharacter:"\\eaa2"}),_r.bold=new _r("bold",{fontCharacter:"\\eaa3"}),_r.book=new _r("book",{fontCharacter:"\\eaa4"}),_r.bookmark=new _r("bookmark",{fontCharacter:"\\eaa5"}),_r.debugBreakpointConditionalUnverified=new _r("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),_r.debugBreakpointConditional=new _r("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),_r.debugBreakpointConditionalDisabled=new _r("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),_r.debugBreakpointDataUnverified=new _r("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),_r.debugBreakpointData=new _r("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),_r.debugBreakpointDataDisabled=new _r("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),_r.debugBreakpointLogUnverified=new _r("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),_r.debugBreakpointLog=new _r("debug-breakpoint-log",{fontCharacter:"\\eaab"}),_r.debugBreakpointLogDisabled=new _r("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),_r.briefcase=new _r("briefcase",{fontCharacter:"\\eaac"}),_r.broadcast=new _r("broadcast",{fontCharacter:"\\eaad"}),_r.browser=new _r("browser",{fontCharacter:"\\eaae"}),_r.bug=new _r("bug",{fontCharacter:"\\eaaf"}),_r.calendar=new _r("calendar",{fontCharacter:"\\eab0"}),_r.caseSensitive=new _r("case-sensitive",{fontCharacter:"\\eab1"}),_r.check=new _r("check",{fontCharacter:"\\eab2"}),_r.checklist=new _r("checklist",{fontCharacter:"\\eab3"}),_r.chevronDown=new _r("chevron-down",{fontCharacter:"\\eab4"}),_r.dropDownButton=new _r("drop-down-button",_r.chevronDown.definition),_r.chevronLeft=new _r("chevron-left",{fontCharacter:"\\eab5"}),_r.chevronRight=new _r("chevron-right",{fontCharacter:"\\eab6"}),_r.chevronUp=new _r("chevron-up",{fontCharacter:"\\eab7"}),_r.chromeClose=new _r("chrome-close",{fontCharacter:"\\eab8"}),_r.chromeMaximize=new _r("chrome-maximize",{fontCharacter:"\\eab9"}),_r.chromeMinimize=new _r("chrome-minimize",{fontCharacter:"\\eaba"}),_r.chromeRestore=new _r("chrome-restore",{fontCharacter:"\\eabb"}),_r.circleOutline=new _r("circle-outline",{fontCharacter:"\\eabc"}),_r.debugBreakpointUnverified=new _r("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),_r.circleSlash=new _r("circle-slash",{fontCharacter:"\\eabd"}),_r.circuitBoard=new _r("circuit-board",{fontCharacter:"\\eabe"}),_r.clearAll=new _r("clear-all",{fontCharacter:"\\eabf"}),_r.clippy=new _r("clippy",{fontCharacter:"\\eac0"}),_r.closeAll=new _r("close-all",{fontCharacter:"\\eac1"}),_r.cloudDownload=new _r("cloud-download",{fontCharacter:"\\eac2"}),_r.cloudUpload=new _r("cloud-upload",{fontCharacter:"\\eac3"}),_r.code=new _r("code",{fontCharacter:"\\eac4"}),_r.collapseAll=new _r("collapse-all",{fontCharacter:"\\eac5"}),_r.colorMode=new _r("color-mode",{fontCharacter:"\\eac6"}),_r.commentDiscussion=new _r("comment-discussion",{fontCharacter:"\\eac7"}),_r.compareChanges=new _r("compare-changes",{fontCharacter:"\\eafd"}),_r.creditCard=new _r("credit-card",{fontCharacter:"\\eac9"}),_r.dash=new _r("dash",{fontCharacter:"\\eacc"}),_r.dashboard=new _r("dashboard",{fontCharacter:"\\eacd"}),_r.database=new _r("database",{fontCharacter:"\\eace"}),_r.debugContinue=new _r("debug-continue",{fontCharacter:"\\eacf"}),_r.debugDisconnect=new _r("debug-disconnect",{fontCharacter:"\\ead0"}),_r.debugPause=new _r("debug-pause",{fontCharacter:"\\ead1"}),_r.debugRestart=new _r("debug-restart",{fontCharacter:"\\ead2"}),_r.debugStart=new _r("debug-start",{fontCharacter:"\\ead3"}),_r.debugStepInto=new _r("debug-step-into",{fontCharacter:"\\ead4"}),_r.debugStepOut=new _r("debug-step-out",{fontCharacter:"\\ead5"}),_r.debugStepOver=new _r("debug-step-over",{fontCharacter:"\\ead6"}),_r.debugStop=new _r("debug-stop",{fontCharacter:"\\ead7"}),_r.debug=new _r("debug",{fontCharacter:"\\ead8"}),_r.deviceCameraVideo=new _r("device-camera-video",{fontCharacter:"\\ead9"}),_r.deviceCamera=new _r("device-camera",{fontCharacter:"\\eada"}),_r.deviceMobile=new _r("device-mobile",{fontCharacter:"\\eadb"}),_r.diffAdded=new _r("diff-added",{fontCharacter:"\\eadc"}),_r.diffIgnored=new _r("diff-ignored",{fontCharacter:"\\eadd"}),_r.diffModified=new _r("diff-modified",{fontCharacter:"\\eade"}),_r.diffRemoved=new _r("diff-removed",{fontCharacter:"\\eadf"}),_r.diffRenamed=new _r("diff-renamed",{fontCharacter:"\\eae0"}),_r.diff=new _r("diff",{fontCharacter:"\\eae1"}),_r.discard=new _r("discard",{fontCharacter:"\\eae2"}),_r.editorLayout=new _r("editor-layout",{fontCharacter:"\\eae3"}),_r.emptyWindow=new _r("empty-window",{fontCharacter:"\\eae4"}),_r.exclude=new _r("exclude",{fontCharacter:"\\eae5"}),_r.extensions=new _r("extensions",{fontCharacter:"\\eae6"}),_r.eyeClosed=new _r("eye-closed",{fontCharacter:"\\eae7"}),_r.fileBinary=new _r("file-binary",{fontCharacter:"\\eae8"}),_r.fileCode=new _r("file-code",{fontCharacter:"\\eae9"}),_r.fileMedia=new _r("file-media",{fontCharacter:"\\eaea"}),_r.filePdf=new _r("file-pdf",{fontCharacter:"\\eaeb"}),_r.fileSubmodule=new _r("file-submodule",{fontCharacter:"\\eaec"}),_r.fileSymlinkDirectory=new _r("file-symlink-directory",{fontCharacter:"\\eaed"}),_r.fileSymlinkFile=new _r("file-symlink-file",{fontCharacter:"\\eaee"}),_r.fileZip=new _r("file-zip",{fontCharacter:"\\eaef"}),_r.files=new _r("files",{fontCharacter:"\\eaf0"}),_r.filter=new _r("filter",{fontCharacter:"\\eaf1"}),_r.flame=new _r("flame",{fontCharacter:"\\eaf2"}),_r.foldDown=new _r("fold-down",{fontCharacter:"\\eaf3"}),_r.foldUp=new _r("fold-up",{fontCharacter:"\\eaf4"}),_r.fold=new _r("fold",{fontCharacter:"\\eaf5"}),_r.folderActive=new _r("folder-active",{fontCharacter:"\\eaf6"}),_r.folderOpened=new _r("folder-opened",{fontCharacter:"\\eaf7"}),_r.gear=new _r("gear",{fontCharacter:"\\eaf8"}),_r.gift=new _r("gift",{fontCharacter:"\\eaf9"}),_r.gistSecret=new _r("gist-secret",{fontCharacter:"\\eafa"}),_r.gist=new _r("gist",{fontCharacter:"\\eafb"}),_r.gitCommit=new _r("git-commit",{fontCharacter:"\\eafc"}),_r.gitCompare=new _r("git-compare",{fontCharacter:"\\eafd"}),_r.gitMerge=new _r("git-merge",{fontCharacter:"\\eafe"}),_r.githubAction=new _r("github-action",{fontCharacter:"\\eaff"}),_r.githubAlt=new _r("github-alt",{fontCharacter:"\\eb00"}),_r.globe=new _r("globe",{fontCharacter:"\\eb01"}),_r.grabber=new _r("grabber",{fontCharacter:"\\eb02"}),_r.graph=new _r("graph",{fontCharacter:"\\eb03"}),_r.gripper=new _r("gripper",{fontCharacter:"\\eb04"}),_r.heart=new _r("heart",{fontCharacter:"\\eb05"}),_r.home=new _r("home",{fontCharacter:"\\eb06"}),_r.horizontalRule=new _r("horizontal-rule",{fontCharacter:"\\eb07"}),_r.hubot=new _r("hubot",{fontCharacter:"\\eb08"}),_r.inbox=new _r("inbox",{fontCharacter:"\\eb09"}),_r.issueClosed=new _r("issue-closed",{fontCharacter:"\\eba4"}),_r.issueReopened=new _r("issue-reopened",{fontCharacter:"\\eb0b"}),_r.issues=new _r("issues",{fontCharacter:"\\eb0c"}),_r.italic=new _r("italic",{fontCharacter:"\\eb0d"}),_r.jersey=new _r("jersey",{fontCharacter:"\\eb0e"}),_r.json=new _r("json",{fontCharacter:"\\eb0f"}),_r.kebabVertical=new _r("kebab-vertical",{fontCharacter:"\\eb10"}),_r.key=new _r("key",{fontCharacter:"\\eb11"}),_r.law=new _r("law",{fontCharacter:"\\eb12"}),_r.lightbulbAutofix=new _r("lightbulb-autofix",{fontCharacter:"\\eb13"}),_r.linkExternal=new _r("link-external",{fontCharacter:"\\eb14"}),_r.link=new _r("link",{fontCharacter:"\\eb15"}),_r.listOrdered=new _r("list-ordered",{fontCharacter:"\\eb16"}),_r.listUnordered=new _r("list-unordered",{fontCharacter:"\\eb17"}),_r.liveShare=new _r("live-share",{fontCharacter:"\\eb18"}),_r.loading=new _r("loading",{fontCharacter:"\\eb19"}),_r.location=new _r("location",{fontCharacter:"\\eb1a"}),_r.mailRead=new _r("mail-read",{fontCharacter:"\\eb1b"}),_r.mail=new _r("mail",{fontCharacter:"\\eb1c"}),_r.markdown=new _r("markdown",{fontCharacter:"\\eb1d"}),_r.megaphone=new _r("megaphone",{fontCharacter:"\\eb1e"}),_r.mention=new _r("mention",{fontCharacter:"\\eb1f"}),_r.milestone=new _r("milestone",{fontCharacter:"\\eb20"}),_r.mortarBoard=new _r("mortar-board",{fontCharacter:"\\eb21"}),_r.move=new _r("move",{fontCharacter:"\\eb22"}),_r.multipleWindows=new _r("multiple-windows",{fontCharacter:"\\eb23"}),_r.mute=new _r("mute",{fontCharacter:"\\eb24"}),_r.noNewline=new _r("no-newline",{fontCharacter:"\\eb25"}),_r.note=new _r("note",{fontCharacter:"\\eb26"}),_r.octoface=new _r("octoface",{fontCharacter:"\\eb27"}),_r.openPreview=new _r("open-preview",{fontCharacter:"\\eb28"}),_r.package_=new _r("package",{fontCharacter:"\\eb29"}),_r.paintcan=new _r("paintcan",{fontCharacter:"\\eb2a"}),_r.pin=new _r("pin",{fontCharacter:"\\eb2b"}),_r.play=new _r("play",{fontCharacter:"\\eb2c"}),_r.run=new _r("run",{fontCharacter:"\\eb2c"}),_r.plug=new _r("plug",{fontCharacter:"\\eb2d"}),_r.preserveCase=new _r("preserve-case",{fontCharacter:"\\eb2e"}),_r.preview=new _r("preview",{fontCharacter:"\\eb2f"}),_r.project=new _r("project",{fontCharacter:"\\eb30"}),_r.pulse=new _r("pulse",{fontCharacter:"\\eb31"}),_r.question=new _r("question",{fontCharacter:"\\eb32"}),_r.quote=new _r("quote",{fontCharacter:"\\eb33"}),_r.radioTower=new _r("radio-tower",{fontCharacter:"\\eb34"}),_r.reactions=new _r("reactions",{fontCharacter:"\\eb35"}),_r.references=new _r("references",{fontCharacter:"\\eb36"}),_r.refresh=new _r("refresh",{fontCharacter:"\\eb37"}),_r.regex=new _r("regex",{fontCharacter:"\\eb38"}),_r.remoteExplorer=new _r("remote-explorer",{fontCharacter:"\\eb39"}),_r.remote=new _r("remote",{fontCharacter:"\\eb3a"}),_r.remove=new _r("remove",{fontCharacter:"\\eb3b"}),_r.replaceAll=new _r("replace-all",{fontCharacter:"\\eb3c"}),_r.replace=new _r("replace",{fontCharacter:"\\eb3d"}),_r.repoClone=new _r("repo-clone",{fontCharacter:"\\eb3e"}),_r.repoForcePush=new _r("repo-force-push",{fontCharacter:"\\eb3f"}),_r.repoPull=new _r("repo-pull",{fontCharacter:"\\eb40"}),_r.repoPush=new _r("repo-push",{fontCharacter:"\\eb41"}),_r.report=new _r("report",{fontCharacter:"\\eb42"}),_r.requestChanges=new _r("request-changes",{fontCharacter:"\\eb43"}),_r.rocket=new _r("rocket",{fontCharacter:"\\eb44"}),_r.rootFolderOpened=new _r("root-folder-opened",{fontCharacter:"\\eb45"}),_r.rootFolder=new _r("root-folder",{fontCharacter:"\\eb46"}),_r.rss=new _r("rss",{fontCharacter:"\\eb47"}),_r.ruby=new _r("ruby",{fontCharacter:"\\eb48"}),_r.saveAll=new _r("save-all",{fontCharacter:"\\eb49"}),_r.saveAs=new _r("save-as",{fontCharacter:"\\eb4a"}),_r.save=new _r("save",{fontCharacter:"\\eb4b"}),_r.screenFull=new _r("screen-full",{fontCharacter:"\\eb4c"}),_r.screenNormal=new _r("screen-normal",{fontCharacter:"\\eb4d"}),_r.searchStop=new _r("search-stop",{fontCharacter:"\\eb4e"}),_r.server=new _r("server",{fontCharacter:"\\eb50"}),_r.settingsGear=new _r("settings-gear",{fontCharacter:"\\eb51"}),_r.settings=new _r("settings",{fontCharacter:"\\eb52"}),_r.shield=new _r("shield",{fontCharacter:"\\eb53"}),_r.smiley=new _r("smiley",{fontCharacter:"\\eb54"}),_r.sortPrecedence=new _r("sort-precedence",{fontCharacter:"\\eb55"}),_r.splitHorizontal=new _r("split-horizontal",{fontCharacter:"\\eb56"}),_r.splitVertical=new _r("split-vertical",{fontCharacter:"\\eb57"}),_r.squirrel=new _r("squirrel",{fontCharacter:"\\eb58"}),_r.starFull=new _r("star-full",{fontCharacter:"\\eb59"}),_r.starHalf=new _r("star-half",{fontCharacter:"\\eb5a"}),_r.symbolClass=new _r("symbol-class",{fontCharacter:"\\eb5b"}),_r.symbolColor=new _r("symbol-color",{fontCharacter:"\\eb5c"}),_r.symbolCustomColor=new _r("symbol-customcolor",{fontCharacter:"\\eb5c"}),_r.symbolConstant=new _r("symbol-constant",{fontCharacter:"\\eb5d"}),_r.symbolEnumMember=new _r("symbol-enum-member",{fontCharacter:"\\eb5e"}),_r.symbolField=new _r("symbol-field",{fontCharacter:"\\eb5f"}),_r.symbolFile=new _r("symbol-file",{fontCharacter:"\\eb60"}),_r.symbolInterface=new _r("symbol-interface",{fontCharacter:"\\eb61"}),_r.symbolKeyword=new _r("symbol-keyword",{fontCharacter:"\\eb62"}),_r.symbolMisc=new _r("symbol-misc",{fontCharacter:"\\eb63"}),_r.symbolOperator=new _r("symbol-operator",{fontCharacter:"\\eb64"}),_r.symbolProperty=new _r("symbol-property",{fontCharacter:"\\eb65"}),_r.wrench=new _r("wrench",{fontCharacter:"\\eb65"}),_r.wrenchSubaction=new _r("wrench-subaction",{fontCharacter:"\\eb65"}),_r.symbolSnippet=new _r("symbol-snippet",{fontCharacter:"\\eb66"}),_r.tasklist=new _r("tasklist",{fontCharacter:"\\eb67"}),_r.telescope=new _r("telescope",{fontCharacter:"\\eb68"}),_r.textSize=new _r("text-size",{fontCharacter:"\\eb69"}),_r.threeBars=new _r("three-bars",{fontCharacter:"\\eb6a"}),_r.thumbsdown=new _r("thumbsdown",{fontCharacter:"\\eb6b"}),_r.thumbsup=new _r("thumbsup",{fontCharacter:"\\eb6c"}),_r.tools=new _r("tools",{fontCharacter:"\\eb6d"}),_r.triangleDown=new _r("triangle-down",{fontCharacter:"\\eb6e"}),_r.triangleLeft=new _r("triangle-left",{fontCharacter:"\\eb6f"}),_r.triangleRight=new _r("triangle-right",{fontCharacter:"\\eb70"}),_r.triangleUp=new _r("triangle-up",{fontCharacter:"\\eb71"}),_r.twitter=new _r("twitter",{fontCharacter:"\\eb72"}),_r.unfold=new _r("unfold",{fontCharacter:"\\eb73"}),_r.unlock=new _r("unlock",{fontCharacter:"\\eb74"}),_r.unmute=new _r("unmute",{fontCharacter:"\\eb75"}),_r.unverified=new _r("unverified",{fontCharacter:"\\eb76"}),_r.verified=new _r("verified",{fontCharacter:"\\eb77"}),_r.versions=new _r("versions",{fontCharacter:"\\eb78"}),_r.vmActive=new _r("vm-active",{fontCharacter:"\\eb79"}),_r.vmOutline=new _r("vm-outline",{fontCharacter:"\\eb7a"}),_r.vmRunning=new _r("vm-running",{fontCharacter:"\\eb7b"}),_r.watch=new _r("watch",{fontCharacter:"\\eb7c"}),_r.whitespace=new _r("whitespace",{fontCharacter:"\\eb7d"}),_r.wholeWord=new _r("whole-word",{fontCharacter:"\\eb7e"}),_r.window=new _r("window",{fontCharacter:"\\eb7f"}),_r.wordWrap=new _r("word-wrap",{fontCharacter:"\\eb80"}),_r.zoomIn=new _r("zoom-in",{fontCharacter:"\\eb81"}),_r.zoomOut=new _r("zoom-out",{fontCharacter:"\\eb82"}),_r.listFilter=new _r("list-filter",{fontCharacter:"\\eb83"}),_r.listFlat=new _r("list-flat",{fontCharacter:"\\eb84"}),_r.listSelection=new _r("list-selection",{fontCharacter:"\\eb85"}),_r.selection=new _r("selection",{fontCharacter:"\\eb85"}),_r.listTree=new _r("list-tree",{fontCharacter:"\\eb86"}),_r.debugBreakpointFunctionUnverified=new _r("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),_r.debugBreakpointFunction=new _r("debug-breakpoint-function",{fontCharacter:"\\eb88"}),_r.debugBreakpointFunctionDisabled=new _r("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),_r.debugStackframeActive=new _r("debug-stackframe-active",{fontCharacter:"\\eb89"}),_r.debugStackframeDot=new _r("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),_r.debugStackframe=new _r("debug-stackframe",{fontCharacter:"\\eb8b"}),_r.debugStackframeFocused=new _r("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),_r.debugBreakpointUnsupported=new _r("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),_r.symbolString=new _r("symbol-string",{fontCharacter:"\\eb8d"}),_r.debugReverseContinue=new _r("debug-reverse-continue",{fontCharacter:"\\eb8e"}),_r.debugStepBack=new _r("debug-step-back",{fontCharacter:"\\eb8f"}),_r.debugRestartFrame=new _r("debug-restart-frame",{fontCharacter:"\\eb90"}),_r.callIncoming=new _r("call-incoming",{fontCharacter:"\\eb92"}),_r.callOutgoing=new _r("call-outgoing",{fontCharacter:"\\eb93"}),_r.menu=new _r("menu",{fontCharacter:"\\eb94"}),_r.expandAll=new _r("expand-all",{fontCharacter:"\\eb95"}),_r.feedback=new _r("feedback",{fontCharacter:"\\eb96"}),_r.groupByRefType=new _r("group-by-ref-type",{fontCharacter:"\\eb97"}),_r.ungroupByRefType=new _r("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),_r.account=new _r("account",{fontCharacter:"\\eb99"}),_r.bellDot=new _r("bell-dot",{fontCharacter:"\\eb9a"}),_r.debugConsole=new _r("debug-console",{fontCharacter:"\\eb9b"}),_r.library=new _r("library",{fontCharacter:"\\eb9c"}),_r.output=new _r("output",{fontCharacter:"\\eb9d"}),_r.runAll=new _r("run-all",{fontCharacter:"\\eb9e"}),_r.syncIgnored=new _r("sync-ignored",{fontCharacter:"\\eb9f"}),_r.pinned=new _r("pinned",{fontCharacter:"\\eba0"}),_r.githubInverted=new _r("github-inverted",{fontCharacter:"\\eba1"}),_r.debugAlt=new _r("debug-alt",{fontCharacter:"\\eb91"}),_r.serverProcess=new _r("server-process",{fontCharacter:"\\eba2"}),_r.serverEnvironment=new _r("server-environment",{fontCharacter:"\\eba3"}),_r.pass=new _r("pass",{fontCharacter:"\\eba4"}),_r.stopCircle=new _r("stop-circle",{fontCharacter:"\\eba5"}),_r.playCircle=new _r("play-circle",{fontCharacter:"\\eba6"}),_r.record=new _r("record",{fontCharacter:"\\eba7"}),_r.debugAltSmall=new _r("debug-alt-small",{fontCharacter:"\\eba8"}),_r.vmConnect=new _r("vm-connect",{fontCharacter:"\\eba9"}),_r.cloud=new _r("cloud",{fontCharacter:"\\ebaa"}),_r.merge=new _r("merge",{fontCharacter:"\\ebab"}),_r.exportIcon=new _r("export",{fontCharacter:"\\ebac"}),_r.graphLeft=new _r("graph-left",{fontCharacter:"\\ebad"}),_r.magnet=new _r("magnet",{fontCharacter:"\\ebae"}),_r.notebook=new _r("notebook",{fontCharacter:"\\ebaf"}),_r.redo=new _r("redo",{fontCharacter:"\\ebb0"}),_r.checkAll=new _r("check-all",{fontCharacter:"\\ebb1"}),_r.pinnedDirty=new _r("pinned-dirty",{fontCharacter:"\\ebb2"}),_r.passFilled=new _r("pass-filled",{fontCharacter:"\\ebb3"}),_r.circleLargeFilled=new _r("circle-large-filled",{fontCharacter:"\\ebb4"}),_r.circleLargeOutline=new _r("circle-large-outline",{fontCharacter:"\\ebb5"}),_r.combine=new _r("combine",{fontCharacter:"\\ebb6"}),_r.gather=new _r("gather",{fontCharacter:"\\ebb6"}),_r.table=new _r("table",{fontCharacter:"\\ebb7"}),_r.variableGroup=new _r("variable-group",{fontCharacter:"\\ebb8"}),_r.typeHierarchy=new _r("type-hierarchy",{fontCharacter:"\\ebb9"}),_r.typeHierarchySub=new _r("type-hierarchy-sub",{fontCharacter:"\\ebba"}),_r.typeHierarchySuper=new _r("type-hierarchy-super",{fontCharacter:"\\ebbb"}),_r.gitPullRequestCreate=new _r("git-pull-request-create",{fontCharacter:"\\ebbc"}),_r.runAbove=new _r("run-above",{fontCharacter:"\\ebbd"}),_r.runBelow=new _r("run-below",{fontCharacter:"\\ebbe"}),_r.notebookTemplate=new _r("notebook-template",{fontCharacter:"\\ebbf"}),_r.debugRerun=new _r("debug-rerun",{fontCharacter:"\\ebc0"}),_r.workspaceTrusted=new _r("workspace-trusted",{fontCharacter:"\\ebc1"}),_r.workspaceUntrusted=new _r("workspace-untrusted",{fontCharacter:"\\ebc2"}),_r.workspaceUnspecified=new _r("workspace-unspecified",{fontCharacter:"\\ebc3"}),_r.terminalCmd=new _r("terminal-cmd",{fontCharacter:"\\ebc4"}),_r.terminalDebian=new _r("terminal-debian",{fontCharacter:"\\ebc5"}),_r.terminalLinux=new _r("terminal-linux",{fontCharacter:"\\ebc6"}),_r.terminalPowershell=new _r("terminal-powershell",{fontCharacter:"\\ebc7"}),_r.terminalTmux=new _r("terminal-tmux",{fontCharacter:"\\ebc8"}),_r.terminalUbuntu=new _r("terminal-ubuntu",{fontCharacter:"\\ebc9"}),_r.terminalBash=new _r("terminal-bash",{fontCharacter:"\\ebca"}),_r.arrowSwap=new _r("arrow-swap",{fontCharacter:"\\ebcb"}),_r.copy=new _r("copy",{fontCharacter:"\\ebcc"}),_r.personAdd=new _r("person-add",{fontCharacter:"\\ebcd"}),_r.filterFilled=new _r("filter-filled",{fontCharacter:"\\ebce"}),_r.wand=new _r("wand",{fontCharacter:"\\ebcf"}),_r.debugLineByLine=new _r("debug-line-by-line",{fontCharacter:"\\ebd0"}),_r.inspect=new _r("inspect",{fontCharacter:"\\ebd1"}),_r.layers=new _r("layers",{fontCharacter:"\\ebd2"}),_r.layersDot=new _r("layers-dot",{fontCharacter:"\\ebd3"}),_r.layersActive=new _r("layers-active",{fontCharacter:"\\ebd4"}),_r.compass=new _r("compass",{fontCharacter:"\\ebd5"}),_r.compassDot=new _r("compass-dot",{fontCharacter:"\\ebd6"}),_r.compassActive=new _r("compass-active",{fontCharacter:"\\ebd7"}),_r.azure=new _r("azure",{fontCharacter:"\\ebd8"}),_r.issueDraft=new _r("issue-draft",{fontCharacter:"\\ebd9"}),_r.gitPullRequestClosed=new _r("git-pull-request-closed",{fontCharacter:"\\ebda"}),_r.gitPullRequestDraft=new _r("git-pull-request-draft",{fontCharacter:"\\ebdb"}),_r.debugAll=new _r("debug-all",{fontCharacter:"\\ebdc"}),_r.debugCoverage=new _r("debug-coverage",{fontCharacter:"\\ebdd"}),_r.runErrors=new _r("run-errors",{fontCharacter:"\\ebde"}),_r.folderLibrary=new _r("folder-library",{fontCharacter:"\\ebdf"}),_r.debugContinueSmall=new _r("debug-continue-small",{fontCharacter:"\\ebe0"}),_r.beakerStop=new _r("beaker-stop",{fontCharacter:"\\ebe1"}),_r.graphLine=new _r("graph-line",{fontCharacter:"\\ebe2"}),_r.graphScatter=new _r("graph-scatter",{fontCharacter:"\\ebe3"}),_r.pieChart=new _r("pie-chart",{fontCharacter:"\\ebe4"}),_r.bracket=new _r("bracket",_r.json.definition),_r.bracketDot=new _r("bracket-dot",{fontCharacter:"\\ebe5"}),_r.bracketError=new _r("bracket-error",{fontCharacter:"\\ebe6"}),_r.lockSmall=new _r("lock-small",{fontCharacter:"\\ebe7"}),_r.azureDevops=new _r("azure-devops",{fontCharacter:"\\ebe8"}),_r.verifiedFilled=new _r("verified-filled",{fontCharacter:"\\ebe9"}),_r.newLine=new _r("newline",{fontCharacter:"\\ebea"}),_r.layout=new _r("layout",{fontCharacter:"\\ebeb"}),_r.layoutActivitybarLeft=new _r("layout-activitybar-left",{fontCharacter:"\\ebec"}),_r.layoutActivitybarRight=new _r("layout-activitybar-right",{fontCharacter:"\\ebed"}),_r.layoutPanelLeft=new _r("layout-panel-left",{fontCharacter:"\\ebee"}),_r.layoutPanelCenter=new _r("layout-panel-center",{fontCharacter:"\\ebef"}),_r.layoutPanelJustify=new _r("layout-panel-justify",{fontCharacter:"\\ebf0"}),_r.layoutPanelRight=new _r("layout-panel-right",{fontCharacter:"\\ebf1"}),_r.layoutPanel=new _r("layout-panel",{fontCharacter:"\\ebf2"}),_r.layoutSidebarLeft=new _r("layout-sidebar-left",{fontCharacter:"\\ebf3"}),_r.layoutSidebarRight=new _r("layout-sidebar-right",{fontCharacter:"\\ebf4"}),_r.layoutStatusbar=new _r("layout-statusbar",{fontCharacter:"\\ebf5"}),_r.layoutMenubar=new _r("layout-menubar",{fontCharacter:"\\ebf6"}),_r.layoutCentered=new _r("layout-centered",{fontCharacter:"\\ebf7"}),_r.target=new _r("target",{fontCharacter:"\\ebf8"}),_r.dialogError=new _r("dialog-error",_r.error.definition),_r.dialogWarning=new _r("dialog-warning",_r.warning.definition),_r.dialogInfo=new _r("dialog-info",_r.info.definition),_r.dialogClose=new _r("dialog-close",_r.close.definition),_r.treeItemExpanded=new _r("tree-item-expanded",_r.chevronDown.definition),_r.treeFilterOnTypeOn=new _r("tree-filter-on-type-on",_r.listFilter.definition),_r.treeFilterOnTypeOff=new _r("tree-filter-on-type-off",_r.listSelection.definition),_r.treeFilterClear=new _r("tree-filter-clear",_r.close.definition),_r.treeItemLoading=new _r("tree-item-loading",_r.loading.definition),_r.menuSelection=new _r("menu-selection",_r.check.definition),_r.menuSubmenu=new _r("menu-submenu",_r.chevronRight.definition),_r.menuBarMore=new _r("menubar-more",_r.more.definition),_r.scrollbarButtonLeft=new _r("scrollbar-button-left",_r.triangleLeft.definition),_r.scrollbarButtonRight=new _r("scrollbar-button-right",_r.triangleRight.definition),_r.scrollbarButtonUp=new _r("scrollbar-button-up",_r.triangleUp.definition),_r.scrollbarButtonDown=new _r("scrollbar-button-down",_r.triangleDown.definition),_r.toolBarMore=new _r("toolbar-more",_r.more.definition),_r.quickInputBack=new _r("quick-input-back",_r.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const n=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function t(e){if(e instanceof _r)return["codicon","codicon-"+e.id];const r=n.exec(e.id);if(!r)return t(_r.error);let[,a,i]=r;const o=["codicon","codicon-"+a];return i&&o.push("codicon-modifier-"+i.substr(1)),o}e.asClassNameArray=t,e.asClassName=function(e){return t(e).join(" ")},e.asCSSSelector=function(e){return"."+t(e).join(".")}}(Tt||(Tt={}));class gr{constructor(e,n,t){this._tokenBrand=void 0,this.offset=e,this.type=n,this.language=t}toString(){return"("+this.offset+", "+this.type+")"}}!function(e){const n=new Map;n.set(0,_r.symbolMethod),n.set(1,_r.symbolFunction),n.set(2,_r.symbolConstructor),n.set(3,_r.symbolField),n.set(4,_r.symbolVariable),n.set(5,_r.symbolClass),n.set(6,_r.symbolStruct),n.set(7,_r.symbolInterface),n.set(8,_r.symbolModule),n.set(9,_r.symbolProperty),n.set(10,_r.symbolEvent),n.set(11,_r.symbolOperator),n.set(12,_r.symbolUnit),n.set(13,_r.symbolValue),n.set(15,_r.symbolEnum),n.set(14,_r.symbolConstant),n.set(15,_r.symbolEnum),n.set(16,_r.symbolEnumMember),n.set(17,_r.symbolKeyword),n.set(27,_r.symbolSnippet),n.set(18,_r.symbolText),n.set(19,_r.symbolColor),n.set(20,_r.symbolFile),n.set(21,_r.symbolReference),n.set(22,_r.symbolCustomColor),n.set(23,_r.symbolFolder),n.set(24,_r.symbolTypeParameter),n.set(25,_r.account),n.set(26,_r.issues),e.toIcon=function(e){let t=n.get(e);return t||(console.info("No codicon found for CompletionItemKind "+e),t=_r.symbolProperty),t};const t=new Map;t.set("method",0),t.set("function",1),t.set("constructor",2),t.set("field",3),t.set("variable",4),t.set("class",5),t.set("struct",6),t.set("interface",7),t.set("module",8),t.set("property",9),t.set("event",10),t.set("operator",11),t.set("unit",12),t.set("value",13),t.set("constant",14),t.set("enum",15),t.set("enum-member",16),t.set("enumMember",16),t.set("keyword",17),t.set("snippet",27),t.set("text",18),t.set("color",19),t.set("file",20),t.set("reference",21),t.set("customcolor",22),t.set("folder",23),t.set("type-parameter",24),t.set("typeParameter",24),t.set("account",25),t.set("issue",26),e.fromString=function(e,n){let r=t.get(e);return void 0!==r||n||(r=9),r}}(St||(St={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(xt||(xt={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(Lt||(Lt={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Dt||(Dt={})),function(e){const n=new Map;n.set(0,_r.symbolFile),n.set(1,_r.symbolModule),n.set(2,_r.symbolNamespace),n.set(3,_r.symbolPackage),n.set(4,_r.symbolClass),n.set(5,_r.symbolMethod),n.set(6,_r.symbolProperty),n.set(7,_r.symbolField),n.set(8,_r.symbolConstructor),n.set(9,_r.symbolEnum),n.set(10,_r.symbolInterface),n.set(11,_r.symbolFunction),n.set(12,_r.symbolVariable),n.set(13,_r.symbolConstant),n.set(14,_r.symbolString),n.set(15,_r.symbolNumber),n.set(16,_r.symbolBoolean),n.set(17,_r.symbolArray),n.set(18,_r.symbolObject),n.set(19,_r.symbolKey),n.set(20,_r.symbolNull),n.set(21,_r.symbolEnumMember),n.set(22,_r.symbolStruct),n.set(23,_r.symbolEvent),n.set(24,_r.symbolOperator),n.set(25,_r.symbolTypeParameter),e.toIcon=function(e){let t=n.get(e);return t||(console.info("No codicon found for SymbolKind "+e),t=_r.symbolProperty),t}}(Ct||(Ct={})),function(e){e.is=function(e){return!(!e||"object"!=typeof e)&&("string"==typeof e.id&&"string"==typeof e.title)}}(At||(At={})),function(e){e[e.Other=0]="Other",e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(It||(It={})),new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new Et,new class{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new F,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._map.set(e,n),this.fire([e]),d((()=>{this._map.get(e)===n&&(this._map.delete(e),this.fire([e]))}))}registerFactory(e,n){var t;null===(t=this._factories.get(e))||void 0===t||t.dispose();const r=new mr(this,e,n);return this._factories.set(e,r),d((()=>{const n=this._factories.get(e);n&&n===r&&(this._factories.delete(e),n.dispose())}))}getOrCreate(e){return fr(this,void 0,void 0,(function*(){const n=this.get(e);if(n)return n;const t=this._factories.get(e);return!t||t.isResolved?null:(yield t.resolve(),this.get(e))}))}get(e){return this._map.get(e)||null}isResolved(e){if(this.get(e))return!0;const n=this._factories.get(e);return!(n&&!n.isResolved)}setColorMap(e){this._colorMap=e,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}},function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(Nt||(Nt={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(kt||(kt={})),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"}(Rt||(Rt={})),function(e){e[e.Deprecated=1]="Deprecated"}(Ot||(Ot={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(wt||(wt={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(Mt||(Mt={})),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"}(Pt||(Pt={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(Ft||(Ft={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Gt||(Gt={})),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"}(Bt||(Bt={})),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.emptySelectionClipboard=32]="emptySelectionClipboard",e[e.extraEditorClassName=33]="extraEditorClassName",e[e.fastScrollSensitivity=34]="fastScrollSensitivity",e[e.find=35]="find",e[e.fixedOverflowWidgets=36]="fixedOverflowWidgets",e[e.folding=37]="folding",e[e.foldingStrategy=38]="foldingStrategy",e[e.foldingHighlight=39]="foldingHighlight",e[e.foldingImportsByDefault=40]="foldingImportsByDefault",e[e.foldingMaximumRegions=41]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=42]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=43]="fontFamily",e[e.fontInfo=44]="fontInfo",e[e.fontLigatures=45]="fontLigatures",e[e.fontSize=46]="fontSize",e[e.fontWeight=47]="fontWeight",e[e.formatOnPaste=48]="formatOnPaste",e[e.formatOnType=49]="formatOnType",e[e.glyphMargin=50]="glyphMargin",e[e.gotoLocation=51]="gotoLocation",e[e.hideCursorInOverviewRuler=52]="hideCursorInOverviewRuler",e[e.hover=53]="hover",e[e.inDiffEditor=54]="inDiffEditor",e[e.inlineSuggest=55]="inlineSuggest",e[e.letterSpacing=56]="letterSpacing",e[e.lightbulb=57]="lightbulb",e[e.lineDecorationsWidth=58]="lineDecorationsWidth",e[e.lineHeight=59]="lineHeight",e[e.lineNumbers=60]="lineNumbers",e[e.lineNumbersMinChars=61]="lineNumbersMinChars",e[e.linkedEditing=62]="linkedEditing",e[e.links=63]="links",e[e.matchBrackets=64]="matchBrackets",e[e.minimap=65]="minimap",e[e.mouseStyle=66]="mouseStyle",e[e.mouseWheelScrollSensitivity=67]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=68]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=69]="multiCursorMergeOverlapping",e[e.multiCursorModifier=70]="multiCursorModifier",e[e.multiCursorPaste=71]="multiCursorPaste",e[e.occurrencesHighlight=72]="occurrencesHighlight",e[e.overviewRulerBorder=73]="overviewRulerBorder",e[e.overviewRulerLanes=74]="overviewRulerLanes",e[e.padding=75]="padding",e[e.parameterHints=76]="parameterHints",e[e.peekWidgetDefaultFocus=77]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=78]="definitionLinkOpensInPeek",e[e.quickSuggestions=79]="quickSuggestions",e[e.quickSuggestionsDelay=80]="quickSuggestionsDelay",e[e.readOnly=81]="readOnly",e[e.renameOnType=82]="renameOnType",e[e.renderControlCharacters=83]="renderControlCharacters",e[e.renderFinalNewline=84]="renderFinalNewline",e[e.renderLineHighlight=85]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=87]="renderValidationDecorations",e[e.renderWhitespace=88]="renderWhitespace",e[e.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",e[e.roundedSelection=90]="roundedSelection",e[e.rulers=91]="rulers",e[e.scrollbar=92]="scrollbar",e[e.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=94]="scrollBeyondLastLine",e[e.scrollPredominantAxis=95]="scrollPredominantAxis",e[e.selectionClipboard=96]="selectionClipboard",e[e.selectionHighlight=97]="selectionHighlight",e[e.selectOnLineNumbers=98]="selectOnLineNumbers",e[e.showFoldingControls=99]="showFoldingControls",e[e.showUnused=100]="showUnused",e[e.snippetSuggestions=101]="snippetSuggestions",e[e.smartSelect=102]="smartSelect",e[e.smoothScrolling=103]="smoothScrolling",e[e.stickyTabStops=104]="stickyTabStops",e[e.stopRenderingLineAfter=105]="stopRenderingLineAfter",e[e.suggest=106]="suggest",e[e.suggestFontSize=107]="suggestFontSize",e[e.suggestLineHeight=108]="suggestLineHeight",e[e.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",e[e.suggestSelection=110]="suggestSelection",e[e.tabCompletion=111]="tabCompletion",e[e.tabIndex=112]="tabIndex",e[e.unicodeHighlighting=113]="unicodeHighlighting",e[e.unusualLineTerminators=114]="unusualLineTerminators",e[e.useShadowDOM=115]="useShadowDOM",e[e.useTabStops=116]="useTabStops",e[e.wordSeparators=117]="wordSeparators",e[e.wordWrap=118]="wordWrap",e[e.wordWrapBreakAfterCharacters=119]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=120]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=121]="wordWrapColumn",e[e.wordWrapOverride1=122]="wordWrapOverride1",e[e.wordWrapOverride2=123]="wordWrapOverride2",e[e.wrappingIndent=124]="wrappingIndent",e[e.wrappingStrategy=125]="wrappingStrategy",e[e.showDeprecated=126]="showDeprecated",e[e.inlayHints=127]="inlayHints",e[e.editorClassName=128]="editorClassName",e[e.pixelRatio=129]="pixelRatio",e[e.tabFocusMode=130]="tabFocusMode",e[e.layoutInfo=131]="layoutInfo",e[e.wrappingInfo=132]="wrappingInfo"}(Ut||(Ut={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(Vt||(Vt={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(Kt||(Kt={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(jt||(jt={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(Ht||(Ht={})),function(e){e[e.Other=0]="Other",e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Wt||(Wt={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(zt||(zt={})),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.MAX_VALUE=126]="MAX_VALUE"}(Jt||(Jt={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(qt||(qt={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Xt||(Xt={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Yt||(Yt={})),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"}(Qt||(Qt={})),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"}(Zt||(Zt={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}($t||($t={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None"}(er||(er={})),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"}(nr||(nr={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(tr||(tr={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(rr||(rr={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(ar||(ar={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(ir||(ir={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(or||(or={})),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"}(sr||(sr={})),function(e){e[e.Deprecated=1]="Deprecated"}(cr||(cr={})),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"}(lr||(lr={})),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"}(ur||(ur={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(dr||(dr={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(pr||(pr={}));class yr{static chord(e,n){return function(e,n){return(e|(65535&n)<<16>>>0)>>>0}(e,n)}}function hr(e,n,t,r,a){return function(e,n,t,r,a){if(0===r)return!0;const i=n.charCodeAt(r-1);if(0!==e.get(i))return!0;if(13===i||10===i)return!0;if(a>0){const t=n.charCodeAt(r);if(0!==e.get(t))return!0}return!1}(e,n,0,r,a)&&function(e,n,t,r,a){if(r+a===t)return!0;const i=n.charCodeAt(r+a);if(0!==e.get(i))return!0;if(13===i||10===i)return!0;if(a>0){const t=n.charCodeAt(r+a-1);if(0!==e.get(t))return!0}return!1}(e,n,t,r,a)}yr.CtrlCmd=2048,yr.Shift=1024,yr.Alt=512,yr.WinCtrl=256;class vr{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const n=e.length;let t;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(t=this._searchRegex.exec(e),!t)return null;const r=t.index,a=t[0].length;if(r===this._prevMatchStartIndex&&a===this._prevMatchLength){if(0===a){J(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=a,!this._wordSeparators||hr(this._wordSeparators,e,n,r,a))return t}while(t);return null}}class br{static computeUnicodeHighlights(e,n,t){const r=t?t.startLineNumber:1,a=t?t.endLineNumber:e.getLineCount(),i=new Er(n),o=i.getCandidateCodePoints();let s;s="allNonBasicAscii"===o?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(""+`[${V(Array.from(o).map((e=>String.fromCodePoint(e))).join(""))}]`,"g");const c=new vr(null,s),l=[];let u,d=!1,p=0,f=0,m=0;e:for(let n=r,t=a;n<=t;n++){const t=e.getLineContent(n),r=t.length;c.reset(0);do{if(u=c.next(t),u){let e=u.index,a=u.index+u[0].length;if(e>0){z(t.charCodeAt(e-1))&&e--}if(a+1=t){d=!0;break e}l.push(new en(n,e+1,n,a+1))}}}while(u)}return{ranges:l,hasMore:d,ambiguousCharacterCount:p,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,n){const t=new Er(n);switch(t.shouldHighlightNonBasicASCII(e)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),a=t.ambiguousCharacters.getPrimaryConfusable(r),i=q.getLocales().filter((e=>!q.getInstance(new Set([...n.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:i}}case 1:return{kind:2}}}}class Er{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=q.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const n of X.codePoints)e.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(const n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;if(this.options.invisibleCharacters){if(!(" "===e||"\n"===e||"\t"===e)&&X.isInvisibleCharacter(n))return 2}return this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}var Tr=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class Sr extends _n{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(e){return this._lines[e-1]}getWordAtPosition(e,n){const t=hn(e.column,function(e){let n=gn;if(e&&e instanceof RegExp)if(e.global)n=e;else{let t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}(n),this._lines[e.lineNumber-1],0);return t?new en(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null}words(e){const n=this._lines,t=this._wordenize.bind(this);let r=0,a="",i=0,o=[];return{*[Symbol.iterator](){for(;;)if(ithis._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{const e=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>e&&(t=e,r=!0)}return r?{lineNumber:n,column:t}:e}}class xr{constructor(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((n=>e.push(this._models[n]))),e}acceptNewModel(e){this._models[e.url]=new Sr(Ke.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,n,t){return Tr(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?br.computeUnicodeHighlights(r,n,t):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,n,t,r){return Tr(this,void 0,void 0,(function*(){const a=this._getModel(e),i=this._getModel(n);if(!a||!i)return null;const o=a.getLinesContent(),s=i.getLinesContent(),c=new sn(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(c.changes.length>0)&&this._modelsAreIdentical(a,i);return{quitEarly:c.quitEarly,identical:l,changes:c.changes}}))}_modelsAreIdentical(e,n){const t=e.getLineCount();if(t!==n.getLineCount())return!1;for(let r=1;r<=t;r++){if(e.getLineContent(r)!==n.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,n){return Tr(this,void 0,void 0,(function*(){const t=this._getModel(e);if(!t)return n;const r=[];let a;n=n.slice(0).sort(((e,n)=>{if(e.range&&n.range)return en.compareRangesUsingStarts(e.range,n.range);return(e.range?0:1)-(n.range?0:1)}));for(let{range:e,text:i,eol:o}of n){if("number"==typeof o&&(a=o),en.isEmpty(e)&&!i)continue;const n=t.getValueInRange(e);if(i=i.replace(/\r\n|\n|\r/g,t.eol),n===i)continue;if(Math.max(i.length,n.length)>xr._diffLimit){r.push({range:e,text:i});continue}const s=le(n,i,!1),c=t.offsetAt(en.lift(e).getStartPosition());for(const e of s){const n=t.positionAt(c+e.originalStart),a=t.positionAt(c+e.originalStart+e.originalLength),o={text:i.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:a.lineNumber,endColumn:a.column}};t.getValueInRange(o.range)!==o.text&&r.push(o)}}return"number"==typeof a&&r.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return Tr(this,void 0,void 0,(function*(){const n=this._getModel(e);return n?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ln.computeLinks(e):[]}(n):null}))}textualSuggest(e,n,t,r){return Tr(this,void 0,void 0,(function*(){const a=new O(!0),i=new RegExp(t,r),o=new Set;e:for(let t of e){const e=this._getModel(t);if(e)for(let t of e.words(i))if(t!==n&&isNaN(Number(t))&&(o.add(t),o.size>xr._suggestionsLimit))break e}return{words:Array.from(o),duration:a.elapsed()}}))}computeWordRanges(e,n,t,r){return Tr(this,void 0,void 0,(function*(){const a=this._getModel(e);if(!a)return Object.create(null);const i=new RegExp(t,r),o=Object.create(null);for(let e=n.startLineNumber;efunction(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)};let r={};for(const n of e)r[n]=t(n);return r}(t,((e,n)=>this._host.fhr(e,n))),a={host:r,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(G(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,n){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(e){return Promise.reject(e)}}}xr._diffLimit=1e5,xr._suggestionsLimit=1e4,"function"==typeof importScripts&&(x.monaco={editor:void 0,languages:void 0,CancellationTokenSource:Nn,Emitter:F,KeyCode:Jt,KeyMod:yr,Position:$e,Range:en,Selection:Kn,SelectionDirection:ir,MarkerSeverity:qt,MarkerTag:Xt,Uri:Ke,Token:gr});let Lr=!1;function Dr(e){if(Lr)return;Lr=!0;const n=new ae((e=>{self.postMessage(e)}),(n=>new xr(n,e)));self.onmessage=e=>{n.onmessage(e.data)}}self.onmessage=e=>{Lr||Dr(null)}; /*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt *-----------------------------------------------------------------------------*/ var Cr=Object.defineProperty,Ar={};((e,n)=>{for(var t in n)Cr(e,t,{get:n[t],enumerable:!0})})(Ar,{EndOfLineState:()=>Hr,IndentStyle:()=>zr,ScriptKind:()=>Jr,ScriptTarget:()=>qr,TokenClass:()=>Xr,createClassifier:()=>Vr,createLanguageService:()=>Kr,displayPartsToString:()=>jr,flattenDiagnosticMessageText:()=>Wr,typescript:()=>Yr});var Ir,Nr,kr,Rr,Or=function(e,n,t){if(t||2===arguments.length)for(var r,a=0,i=n.length;a0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0;for(var t=0,r=e;t>1);switch(a(r(e[c],c),n)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function _(e,n,t,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=t;o<=s;)c=n(c,e[o],o),o++;return c}}return t}e.getIterator=function(n){if(n){if(L(n))return p(n);if(n instanceof e.Map)return n.entries();if(n instanceof e.Set)return n.values();throw new Error("Iteration not supported.")}},e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set,e.createMap=function(){return new e.Map},e.createMapFromTemplate=function(n){var t=new e.Map;for(var r in n)g.call(n,r)&&t.set(r,n[r]);return t},e.length=function(e){return e?e.length:0},e.forEach=function(e,n){if(e)for(var t=0;t=0;t--){var r=n(e[t],t);if(r)return r}},e.firstDefined=function(e,n){if(void 0!==e)for(var t=0;t=0;t--){var r=e[t];if(n(r,t))return r}},e.findIndex=function(e,n,t){for(var r=t||0;r=0;r--)if(n(e[r],r))return r;return-1},e.findMap=function(n,t){for(var r=0;r0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;is&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a},e.sum=function(e,n){for(var t=0,r=0,a=e;rn?1:0}function P(e,n){return O(e,n)}e.toFileNameLowerCase=k,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var n;return function(){return e&&(n=e(),e=void 0),n}},e.memoizeOne=function(n){var t=new e.Map;return function(e){var r="".concat(typeof e,":").concat(e),a=t.get(r);return void 0!==a||t.has(r)||(a=n(e),t.set(r,a)),a}},e.compose=function(e,n,t,r,a){if(a){for(var i=[],o=0;o0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return en?1:0}}}();function U(e,n,t){for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+.01,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=Math.ceil(o>t?o-t:1),l=Math.floor(n.length>t+o?t+o:n.length);a[0]=o;for(var u=o,d=1;dt)return;var m=r;r=a,a=m}var _=r[n.length];return _>t?void 0:_}function V(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function K(e,n){for(var t=n;t=t.length+r.length&&W(n,t)&&V(n,r)}function J(e,n,t,r){for(var a=0,i=e[r];a0;t--){var r=e.charCodeAt(t);if(r>=48&&r<=57)do{--t,r=e.charCodeAt(t)}while(t>0&&r>=48&&r<=57);else{if(!(t>4)||110!==r&&78!==r)break;if(--t,105!==(r=e.charCodeAt(t))&&73!==r)break;if(--t,109!==(r=e.charCodeAt(t))&&77!==r)break;--t,r=e.charCodeAt(t)}if(45!==r&&46!==r)break;n=t}return n===e.length?e:e.slice(0,n)},e.orderedRemoveItem=function(e,n){for(var t=0;ta&&(a=c.prefix.length,r=s)}return r},e.startsWith=W,e.removePrefix=function(e,n){return W(e,n)?e.substr(n.length):e},e.tryRemovePrefix=function(e,n,t){return void 0===t&&(t=C),W(t(e),t(n))?e.substring(n.length):void 0},e.and=function(e,n){return function(t){return e(t)&&n(t)}},e.or=function(){for(var e=[],n=0;n=0&&e.isWhiteSpaceLike(n.charCodeAt(t));)t--;return n.slice(0,t+1)},e.trimStringStart=String.prototype.trimStart?function(e){return e.trimStart()}:function(e){return e.replace(/^\s+/g,"")}}(Br||(Br={})),Nr=Br||(Br={}),(Rr=kr=Nr.LogLevel||(Nr.LogLevel={}))[Rr.Off=0]="Off",Rr[Rr.Error=1]="Error",Rr[Rr.Warning=2]="Warning",Rr[Rr.Info=3]="Info",Rr[Rr.Verbose=4]="Verbose",function(e){var n,t,r=0;function a(){return null!=n?n:n=new Nr.Version(Nr.version)}function i(n){return e.currentLogLevel<=n}function o(n,t){e.loggingHost&&i(n)&&e.loggingHost.log(n,t)}function s(e){o(kr.Info,e)}e.currentLogLevel=kr.Warning,e.isDebugging=!1,e.getTypeScriptVersion=a,e.shouldLog=i,e.log=s,(t=s=e.log||(e.log={})).error=function(e){o(kr.Error,e)},t.warn=function(e){o(kr.Warning,e)},t.log=function(e){o(kr.Info,e)},t.trace=function(e){o(kr.Verbose,e)};var c={};function l(e){return r>=e}function u(n,t){return!!l(n)||(c[t]={level:n,assertion:e[t]},e[t]=Nr.noop,!1)}function d(e,n){var t=new Error(e?"Debug Failure. ".concat(e):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||d),t}function p(e,n,t,r){e||(n=n?"False expression: ".concat(n):"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),d(n,r||p))}function f(e,n,t){null==e&&d(n,t||f)}function m(e,n,t){return f(e,n,t||m),e}function _(e,n,t){for(var r=0,a=e;r0&&0===r[0][0]?r[0][1]:"0";if(t){for(var a="",i=e,o=0,s=r;oe)break;0!==l&&l&e&&(a="".concat(a).concat(a?"|":"").concat(u),i&=~l)}if(0===i)return a}else for(var d=0,p=r;dt)for(var a=0,i=Nr.getOwnKeys(c);a=s.level&&(e[o]=s,c[o]=void 0)}},e.shouldAssert=l,e.fail=d,e.failBadSyntaxKind=function e(n,t,r){return d("".concat(t||"Unexpected node.","\r\nNode ").concat(v(n.kind)," was unexpected."),r||e)},e.assert=p,e.assertEqual=function e(n,t,r,a,i){if(n!==t){var o=r?a?"".concat(r," ").concat(a):r:"";d("Expected ".concat(n," === ").concat(t,". ").concat(o),i||e)}},e.assertLessThan=function e(n,t,r,a){n>=t&&d("Expected ".concat(n," < ").concat(t,". ").concat(r||""),a||e)},e.assertLessThanOrEqual=function e(n,t,r){n>t&&d("Expected ".concat(n," <= ").concat(t),r||e)},e.assertGreaterThanOrEqual=function e(n,t,r){n= ").concat(t),r||e)},e.assertIsDefined=f,e.checkDefined=m,e.assertDefined=m,e.assertEachIsDefined=_,e.checkEachDefined=g,e.assertEachDefined=g,e.assertNever=function e(n,t,r){void 0===t&&(t="Illegal value:");var a="object"==typeof n&&Nr.hasProperty(n,"kind")&&Nr.hasProperty(n,"pos")&&v?"SyntaxKind: "+v(n.kind):JSON.stringify(n);return d("".concat(t," ").concat(a),r||e)},e.assertEachNode=function e(n,t,r,a){u(1,"assertEachNode")&&p(void 0===t||Nr.every(n,t),r||"Unexpected node.",(function(){return"Node array did not pass test '".concat(y(t),"'.")}),a||e)},e.assertNode=function e(n,t,r,a){u(1,"assertNode")&&p(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(function(){return"Node ".concat(v(null==n?void 0:n.kind)," did not pass test '").concat(y(t),"'.")}),a||e)},e.assertNotNode=function e(n,t,r,a){u(1,"assertNotNode")&&p(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(function(){return"Node ".concat(v(n.kind)," should not have passed test '").concat(y(t),"'.")}),a||e)},e.assertOptionalNode=function e(n,t,r,a){u(1,"assertOptionalNode")&&p(void 0===t||void 0===n||t(n),r||"Unexpected node.",(function(){return"Node ".concat(v(null==n?void 0:n.kind)," did not pass test '").concat(y(t),"'.")}),a||e)},e.assertOptionalToken=function e(n,t,r,a){u(1,"assertOptionalToken")&&p(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(function(){return"Node ".concat(v(null==n?void 0:n.kind)," was not a '").concat(v(t),"' token.")}),a||e)},e.assertMissingNode=function e(n,t,r){u(1,"assertMissingNode")&&p(void 0===n,t||"Unexpected node.",(function(){return"Node ".concat(v(n.kind)," was unexpected'.")}),r||e)},e.type=function(e){},e.getFunctionName=y,e.formatSymbol=function(e){return"{ name: ".concat(Nr.unescapeLeadingUnderscores(e.escapedName),"; flags: ").concat(x(e.flags),"; declarations: ").concat(Nr.map(e.declarations,(function(e){return v(e.kind)}))," }")},e.formatEnum=h,e.formatSyntaxKind=v,e.formatSnippetKind=function(e){return h(e,Nr.SnippetKind,!1)},e.formatNodeFlags=b,e.formatModifierFlags=E,e.formatTransformFlags=T,e.formatEmitFlags=S,e.formatSymbolFlags=x,e.formatTypeFlags=L,e.formatSignatureFlags=D,e.formatObjectFlags=C,e.formatFlowFlags=A;var I,N,k,R=!1;function O(e){return function(){if(P(),!I)throw new Error("Debugging helpers could not be loaded.");return I}().formatControlFlowGraph(e)}function w(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(){var e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",n=-2048&this.flags;return"".concat(e).concat(n?" (".concat(A(n),")"):"")}},__debugFlowFlags:{get:function(){return h(this.flags,Nr.FlowFlags,!0)}},__debugToString:{value:function(){return O(this)}}})}function M(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),"NodeArray ".concat(e)}}})}function P(){if(!R){var e,n;Object.defineProperties(Nr.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=33554432&this.flags?"TransientSymbol":"Symbol",n=-33554433&this.flags;return"".concat(e," '").concat(Nr.symbolName(this),"'").concat(n?" (".concat(x(n),")"):"")}},__debugFlags:{get:function(){return x(this.flags)}}}),Object.defineProperties(Nr.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=98304&this.flags?"NullableType":384&this.flags?"LiteralType ".concat(JSON.stringify(this.value)):2048&this.flags?"LiteralType ".concat(this.value.negative?"-":"").concat(this.value.base10Value,"n"):8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType ".concat(this.intrinsicName):1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",n=524288&this.flags?-1344&this.objectFlags:0;return"".concat(e).concat(this.symbol?" '".concat(Nr.symbolName(this.symbol),"'"):"").concat(n?" (".concat(C(n),")"):"")}},__debugFlags:{get:function(){return L(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?C(this.objectFlags):""}},__debugTypeToString:{value:function(){var n=(void 0===e&&"function"==typeof WeakMap&&(e=new WeakMap),e),t=null==n?void 0:n.get(this);return void 0===t&&(t=this.checker.typeToString(this),null==n||n.set(this,t)),t}}}),Object.defineProperties(Nr.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return D(this.flags)}},__debugSignatureToString:{value:function(){var e;return null===(e=this.checker)||void 0===e?void 0:e.signatureToString(this)}}});for(var t=0,r=[Nr.objectAllocator.getNodeConstructor(),Nr.objectAllocator.getIdentifierConstructor(),Nr.objectAllocator.getTokenConstructor(),Nr.objectAllocator.getSourceFileConstructor()];t=0;return u?function(e,n,t,r){var a=F(e,!0,n,t,r);return function(){throw new TypeError(a)}}(e,o,l,n.message):d?function(e,n,t,r){var a=!1;return function(){a||(s.warn(F(e,!1,n,t,r)),a=!0)}}(e,o,l,n.message):Nr.noop}e.printControlFlowGraph=function(e){return console.log(O(e))},e.formatControlFlowGraph=O,e.attachFlowNodeDebugInfo=function(e){R&&("function"==typeof Object.setPrototypeOf?(N||w(N=Object.create(Object.prototype)),Object.setPrototypeOf(e,N)):w(e))},e.attachNodeArrayDebugInfo=function(e){R&&("function"==typeof Object.setPrototypeOf?(k||M(k=Object.create(Array.prototype)),Object.setPrototypeOf(e,k)):M(e))},e.enableDebugInfo=P,e.deprecate=function(e,n){return function(e,n){return function(){return e(),n.apply(this,arguments)}}(G(y(e),n),e)}}(Nr.Debug||(Nr.Debug={})),function(e){var n=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,t=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,r=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\d*)$/,i=function(){function n(n,a,i,s,c){if(void 0===a&&(a=0),void 0===i&&(i=0),void 0===s&&(s=""),void 0===c&&(c=""),"string"==typeof n){var l=e.Debug.checkDefined(o(n),"Invalid version");n=l.major,a=l.minor,i=l.patch,s=l.prerelease,c=l.build}e.Debug.assert(n>=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||r.test(c),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t)return new n(t.major,t.minor,t.patch,t.prerelease,t.build)},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||function(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(n){for(var t=[],r=0,a=e.trimString(n).split(c);r=",r.version)),y(a.major)||t.push(y(a.minor)?h("<",a.version.increment("major")):y(a.patch)?h("<",a.version.increment("minor")):h("<=",a.version)),!0)}function g(e,n,t){var r=m(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,c=r.patch;if(y(o))"<"!==e&&">"!==e||t.push(h("<",i.zero));else switch(e){case"~":t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")));break;case"^":t.push(h(">=",a)),t.push(h("<",a.increment(a.major>0||y(s)?"major":a.minor>0||y(c)?"minor":"patch")));break;case"<":case">=":t.push(h(e,a));break;case"<=":case">":t.push(y(s)?h("<="===e?"<":">=",a.increment("major")):y(c)?h("<="===e?"<":">=",a.increment("minor")):h(e,a));break;case"=":case void 0:y(s)||y(c)?(t.push(h(">=",a)),t.push(h("<",a.increment(y(s)?"major":"minor")))):t.push(h("=",a));break;default:return!1}return!0}function y(e){return"*"===e||"x"===e||"X"===e}function h(e,n){return{operator:e,operand:n}}function v(e,n){for(var t=0,r=n;t":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function E(n){return e.map(n,T).join(" ")}function T(e){return"".concat(e.operator).concat(e.operand)}}(Br||(Br={})),function(e){function n(e,n){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof n}var t=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&n(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}}()||void("undefined"!=typeof process&&process.nextTick&&process.browser),r=null==t?void 0:t.performance;e.tryGetNativePerformanceHooks=function(){return t},e.timestamp=r?function(){return r.now()}:Date.now?Date.now:function(){return+new Date}}(Br||(Br={})),function(e){!function(n){var t,r;function a(n,t,r){var a=0;return{enter:function(){1==++a&&u(t)},exit:function(){0==--a?(u(r),d(n,t,r)):a<0&&e.Debug.fail("enter/exit count does not match.")}}}n.createTimerIf=function(e,t,r,i){return e?a(t,r,i):n.nullTimer},n.createTimer=a,n.nullTimer={enter:e.noop,exit:e.noop};var i=!1,o=e.timestamp(),s=new e.Map,c=new e.Map,l=new e.Map;function u(n){var t;if(i){var a=null!==(t=c.get(n))&&void 0!==t?t:0;c.set(n,a+1),s.set(n,e.timestamp()),null==r||r.mark(n)}}function d(n,t,a){var c,u;if(i){var d=null!==(c=void 0!==a?s.get(a):void 0)&&void 0!==c?c:e.timestamp(),p=null!==(u=void 0!==t?s.get(t):void 0)&&void 0!==u?u:o,f=l.get(n)||0;l.set(n,f+(d-p)),null==r||r.measure(n,t,a)}}n.mark=u,n.measure=d,n.getCount=function(e){return c.get(e)||0},n.getDuration=function(e){return l.get(e)||0},n.forEachMeasure=function(e){l.forEach((function(n,t){return e(t,n)}))},n.isEnabled=function(){return i},n.enable=function(n){var a;return void 0===n&&(n=e.sys),i||(i=!0,t||(t=e.tryGetNativePerformanceHooks()),t&&(o=t.performance.timeOrigin,(t.shouldWriteNativeEvents||(null===(a=null==n?void 0:n.cpuProfilingEnabled)||void 0===a?void 0:a.call(n))||(null==n?void 0:n.debugMode))&&(r=t.performance))),!0},n.disable=function(){i&&(s.clear(),c.clear(),l.clear(),r=void 0,i=!1)}}(e.performance||(e.performance={}))}(Br||(Br={})),function(e){var n,t,r={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};try{n=process.env.TS_ETW_MODULE_PATH;t=void 0}catch(e){t=void 0}e.perfLogger=t&&t.logEvent?t:r}(Br||(Br={})),function(e){var n;!function(n){var t,r,a,i,o=0,s=0,c=[],l=[];n.startTracing=function(i,u,d){if(e.Debug.assert(!e.tracing,"Tracing already started"),void 0===t)try{t=void 0}catch(e){throw new Error("tracing requires having fs\n(original error: ".concat(e.message||e,")"))}r=i,c.length=0,void 0===a&&(a=e.combinePaths(u,"legend.json")),t.existsSync(u)||t.mkdirSync(u,{recursive:!0});var p="build"===r?".".concat(process.pid,"-").concat(++o):"server"===r?".".concat(process.pid):"",f=e.combinePaths(u,"trace".concat(p,".json")),m=e.combinePaths(u,"types".concat(p,".json"));l.push({configFilePath:d,tracePath:f,typesPath:m}),s=t.openSync(f,"w"),e.tracing=n;var _={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};t.writeSync(s,"[\n"+[wr({name:"process_name",args:{name:"tsc"}},_),wr({name:"thread_name",args:{name:"Main"}},_),wr(wr({name:"TracingStartedInBrowser"},_),{cat:"disabled-by-default-devtools.timeline"})].map((function(e){return JSON.stringify(e)})).join(",\n"))},n.stopTracing=function(){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!c.length==("server"!==r)),t.writeSync(s,"\n]\n"),t.closeSync(s),e.tracing=void 0,c.length?function(n){var r,a,i,o,s,c,u,d,p,f,_,g,y,h,v,b,E,T,S,x,L,D;e.performance.mark("beginDumpTypes");var C=l[l.length-1].typesPath,A=t.openSync(C,"w"),I=new e.Map;t.writeSync(A,"[");for(var N=n.length,k=0;k0),p(u.length-1,1e3*e.timestamp()),u.length--},n.popAll=function(){for(var n=1e3*e.timestamp(),t=u.length-1;t>=0;t--)p(t,n);u.length=0};var d=1e4;function p(e,n){var t=u[e],r=t.phase,a=t.name,i=t.args,o=t.time;t.separateBeginAndEnd?f("E",r,a,i,void 0,n):d-o%d<=n-o&&f("X",r,a,i,'"dur":'.concat(n-o),o)}function f(n,a,i,o,c,l){void 0===l&&(l=1e3*e.timestamp()),"server"===r&&"checkTypes"===a||(e.performance.mark("beginTracing"),t.writeSync(s,',\n{"pid":1,"tid":1,"ph":"'.concat(n,'","cat":"').concat(a,'","ts":').concat(l,',"name":"').concat(i,'"')),c&&t.writeSync(s,",".concat(c)),o&&t.writeSync(s,',"args":'.concat(JSON.stringify(o))),t.writeSync(s,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function m(n){var t=e.getSourceFileOfNode(n);return t?{path:t.path,start:r(e.getLineAndCharacterOfPosition(t,n.pos)),end:r(e.getLineAndCharacterOfPosition(t,n.end))}:void 0;function r(e){return{line:e.line+1,character:e.character+1}}}n.dumpLegend=function(){a&&t.writeFileSync(a,JSON.stringify(l))}}(n||(n={})),e.startTracing=n.startTracing,e.dumpTracingLegend=n.dumpLegend}(Br||(Br={})),function(e){var n,t,r,a,i,o,s,c,l;(n=e.SyntaxKind||(e.SyntaxKind={}))[n.Unknown=0]="Unknown",n[n.EndOfFileToken=1]="EndOfFileToken",n[n.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",n[n.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",n[n.NewLineTrivia=4]="NewLineTrivia",n[n.WhitespaceTrivia=5]="WhitespaceTrivia",n[n.ShebangTrivia=6]="ShebangTrivia",n[n.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",n[n.NumericLiteral=8]="NumericLiteral",n[n.BigIntLiteral=9]="BigIntLiteral",n[n.StringLiteral=10]="StringLiteral",n[n.JsxText=11]="JsxText",n[n.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",n[n.RegularExpressionLiteral=13]="RegularExpressionLiteral",n[n.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",n[n.TemplateHead=15]="TemplateHead",n[n.TemplateMiddle=16]="TemplateMiddle",n[n.TemplateTail=17]="TemplateTail",n[n.OpenBraceToken=18]="OpenBraceToken",n[n.CloseBraceToken=19]="CloseBraceToken",n[n.OpenParenToken=20]="OpenParenToken",n[n.CloseParenToken=21]="CloseParenToken",n[n.OpenBracketToken=22]="OpenBracketToken",n[n.CloseBracketToken=23]="CloseBracketToken",n[n.DotToken=24]="DotToken",n[n.DotDotDotToken=25]="DotDotDotToken",n[n.SemicolonToken=26]="SemicolonToken",n[n.CommaToken=27]="CommaToken",n[n.QuestionDotToken=28]="QuestionDotToken",n[n.LessThanToken=29]="LessThanToken",n[n.LessThanSlashToken=30]="LessThanSlashToken",n[n.GreaterThanToken=31]="GreaterThanToken",n[n.LessThanEqualsToken=32]="LessThanEqualsToken",n[n.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",n[n.EqualsEqualsToken=34]="EqualsEqualsToken",n[n.ExclamationEqualsToken=35]="ExclamationEqualsToken",n[n.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",n[n.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",n[n.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",n[n.PlusToken=39]="PlusToken",n[n.MinusToken=40]="MinusToken",n[n.AsteriskToken=41]="AsteriskToken",n[n.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",n[n.SlashToken=43]="SlashToken",n[n.PercentToken=44]="PercentToken",n[n.PlusPlusToken=45]="PlusPlusToken",n[n.MinusMinusToken=46]="MinusMinusToken",n[n.LessThanLessThanToken=47]="LessThanLessThanToken",n[n.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",n[n.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",n[n.AmpersandToken=50]="AmpersandToken",n[n.BarToken=51]="BarToken",n[n.CaretToken=52]="CaretToken",n[n.ExclamationToken=53]="ExclamationToken",n[n.TildeToken=54]="TildeToken",n[n.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",n[n.BarBarToken=56]="BarBarToken",n[n.QuestionToken=57]="QuestionToken",n[n.ColonToken=58]="ColonToken",n[n.AtToken=59]="AtToken",n[n.QuestionQuestionToken=60]="QuestionQuestionToken",n[n.BacktickToken=61]="BacktickToken",n[n.HashToken=62]="HashToken",n[n.EqualsToken=63]="EqualsToken",n[n.PlusEqualsToken=64]="PlusEqualsToken",n[n.MinusEqualsToken=65]="MinusEqualsToken",n[n.AsteriskEqualsToken=66]="AsteriskEqualsToken",n[n.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",n[n.SlashEqualsToken=68]="SlashEqualsToken",n[n.PercentEqualsToken=69]="PercentEqualsToken",n[n.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",n[n.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",n[n.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",n[n.AmpersandEqualsToken=73]="AmpersandEqualsToken",n[n.BarEqualsToken=74]="BarEqualsToken",n[n.BarBarEqualsToken=75]="BarBarEqualsToken",n[n.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",n[n.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",n[n.CaretEqualsToken=78]="CaretEqualsToken",n[n.Identifier=79]="Identifier",n[n.PrivateIdentifier=80]="PrivateIdentifier",n[n.BreakKeyword=81]="BreakKeyword",n[n.CaseKeyword=82]="CaseKeyword",n[n.CatchKeyword=83]="CatchKeyword",n[n.ClassKeyword=84]="ClassKeyword",n[n.ConstKeyword=85]="ConstKeyword",n[n.ContinueKeyword=86]="ContinueKeyword",n[n.DebuggerKeyword=87]="DebuggerKeyword",n[n.DefaultKeyword=88]="DefaultKeyword",n[n.DeleteKeyword=89]="DeleteKeyword",n[n.DoKeyword=90]="DoKeyword",n[n.ElseKeyword=91]="ElseKeyword",n[n.EnumKeyword=92]="EnumKeyword",n[n.ExportKeyword=93]="ExportKeyword",n[n.ExtendsKeyword=94]="ExtendsKeyword",n[n.FalseKeyword=95]="FalseKeyword",n[n.FinallyKeyword=96]="FinallyKeyword",n[n.ForKeyword=97]="ForKeyword",n[n.FunctionKeyword=98]="FunctionKeyword",n[n.IfKeyword=99]="IfKeyword",n[n.ImportKeyword=100]="ImportKeyword",n[n.InKeyword=101]="InKeyword",n[n.InstanceOfKeyword=102]="InstanceOfKeyword",n[n.NewKeyword=103]="NewKeyword",n[n.NullKeyword=104]="NullKeyword",n[n.ReturnKeyword=105]="ReturnKeyword",n[n.SuperKeyword=106]="SuperKeyword",n[n.SwitchKeyword=107]="SwitchKeyword",n[n.ThisKeyword=108]="ThisKeyword",n[n.ThrowKeyword=109]="ThrowKeyword",n[n.TrueKeyword=110]="TrueKeyword",n[n.TryKeyword=111]="TryKeyword",n[n.TypeOfKeyword=112]="TypeOfKeyword",n[n.VarKeyword=113]="VarKeyword",n[n.VoidKeyword=114]="VoidKeyword",n[n.WhileKeyword=115]="WhileKeyword",n[n.WithKeyword=116]="WithKeyword",n[n.ImplementsKeyword=117]="ImplementsKeyword",n[n.InterfaceKeyword=118]="InterfaceKeyword",n[n.LetKeyword=119]="LetKeyword",n[n.PackageKeyword=120]="PackageKeyword",n[n.PrivateKeyword=121]="PrivateKeyword",n[n.ProtectedKeyword=122]="ProtectedKeyword",n[n.PublicKeyword=123]="PublicKeyword",n[n.StaticKeyword=124]="StaticKeyword",n[n.YieldKeyword=125]="YieldKeyword",n[n.AbstractKeyword=126]="AbstractKeyword",n[n.AsKeyword=127]="AsKeyword",n[n.AssertsKeyword=128]="AssertsKeyword",n[n.AssertKeyword=129]="AssertKeyword",n[n.AnyKeyword=130]="AnyKeyword",n[n.AsyncKeyword=131]="AsyncKeyword",n[n.AwaitKeyword=132]="AwaitKeyword",n[n.BooleanKeyword=133]="BooleanKeyword",n[n.ConstructorKeyword=134]="ConstructorKeyword",n[n.DeclareKeyword=135]="DeclareKeyword",n[n.GetKeyword=136]="GetKeyword",n[n.InferKeyword=137]="InferKeyword",n[n.IntrinsicKeyword=138]="IntrinsicKeyword",n[n.IsKeyword=139]="IsKeyword",n[n.KeyOfKeyword=140]="KeyOfKeyword",n[n.ModuleKeyword=141]="ModuleKeyword",n[n.NamespaceKeyword=142]="NamespaceKeyword",n[n.NeverKeyword=143]="NeverKeyword",n[n.ReadonlyKeyword=144]="ReadonlyKeyword",n[n.RequireKeyword=145]="RequireKeyword",n[n.NumberKeyword=146]="NumberKeyword",n[n.ObjectKeyword=147]="ObjectKeyword",n[n.SetKeyword=148]="SetKeyword",n[n.StringKeyword=149]="StringKeyword",n[n.SymbolKeyword=150]="SymbolKeyword",n[n.TypeKeyword=151]="TypeKeyword",n[n.UndefinedKeyword=152]="UndefinedKeyword",n[n.UniqueKeyword=153]="UniqueKeyword",n[n.UnknownKeyword=154]="UnknownKeyword",n[n.FromKeyword=155]="FromKeyword",n[n.GlobalKeyword=156]="GlobalKeyword",n[n.BigIntKeyword=157]="BigIntKeyword",n[n.OverrideKeyword=158]="OverrideKeyword",n[n.OfKeyword=159]="OfKeyword",n[n.QualifiedName=160]="QualifiedName",n[n.ComputedPropertyName=161]="ComputedPropertyName",n[n.TypeParameter=162]="TypeParameter",n[n.Parameter=163]="Parameter",n[n.Decorator=164]="Decorator",n[n.PropertySignature=165]="PropertySignature",n[n.PropertyDeclaration=166]="PropertyDeclaration",n[n.MethodSignature=167]="MethodSignature",n[n.MethodDeclaration=168]="MethodDeclaration",n[n.ClassStaticBlockDeclaration=169]="ClassStaticBlockDeclaration",n[n.Constructor=170]="Constructor",n[n.GetAccessor=171]="GetAccessor",n[n.SetAccessor=172]="SetAccessor",n[n.CallSignature=173]="CallSignature",n[n.ConstructSignature=174]="ConstructSignature",n[n.IndexSignature=175]="IndexSignature",n[n.TypePredicate=176]="TypePredicate",n[n.TypeReference=177]="TypeReference",n[n.FunctionType=178]="FunctionType",n[n.ConstructorType=179]="ConstructorType",n[n.TypeQuery=180]="TypeQuery",n[n.TypeLiteral=181]="TypeLiteral",n[n.ArrayType=182]="ArrayType",n[n.TupleType=183]="TupleType",n[n.OptionalType=184]="OptionalType",n[n.RestType=185]="RestType",n[n.UnionType=186]="UnionType",n[n.IntersectionType=187]="IntersectionType",n[n.ConditionalType=188]="ConditionalType",n[n.InferType=189]="InferType",n[n.ParenthesizedType=190]="ParenthesizedType",n[n.ThisType=191]="ThisType",n[n.TypeOperator=192]="TypeOperator",n[n.IndexedAccessType=193]="IndexedAccessType",n[n.MappedType=194]="MappedType",n[n.LiteralType=195]="LiteralType",n[n.NamedTupleMember=196]="NamedTupleMember",n[n.TemplateLiteralType=197]="TemplateLiteralType",n[n.TemplateLiteralTypeSpan=198]="TemplateLiteralTypeSpan",n[n.ImportType=199]="ImportType",n[n.ObjectBindingPattern=200]="ObjectBindingPattern",n[n.ArrayBindingPattern=201]="ArrayBindingPattern",n[n.BindingElement=202]="BindingElement",n[n.ArrayLiteralExpression=203]="ArrayLiteralExpression",n[n.ObjectLiteralExpression=204]="ObjectLiteralExpression",n[n.PropertyAccessExpression=205]="PropertyAccessExpression",n[n.ElementAccessExpression=206]="ElementAccessExpression",n[n.CallExpression=207]="CallExpression",n[n.NewExpression=208]="NewExpression",n[n.TaggedTemplateExpression=209]="TaggedTemplateExpression",n[n.TypeAssertionExpression=210]="TypeAssertionExpression",n[n.ParenthesizedExpression=211]="ParenthesizedExpression",n[n.FunctionExpression=212]="FunctionExpression",n[n.ArrowFunction=213]="ArrowFunction",n[n.DeleteExpression=214]="DeleteExpression",n[n.TypeOfExpression=215]="TypeOfExpression",n[n.VoidExpression=216]="VoidExpression",n[n.AwaitExpression=217]="AwaitExpression",n[n.PrefixUnaryExpression=218]="PrefixUnaryExpression",n[n.PostfixUnaryExpression=219]="PostfixUnaryExpression",n[n.BinaryExpression=220]="BinaryExpression",n[n.ConditionalExpression=221]="ConditionalExpression",n[n.TemplateExpression=222]="TemplateExpression",n[n.YieldExpression=223]="YieldExpression",n[n.SpreadElement=224]="SpreadElement",n[n.ClassExpression=225]="ClassExpression",n[n.OmittedExpression=226]="OmittedExpression",n[n.ExpressionWithTypeArguments=227]="ExpressionWithTypeArguments",n[n.AsExpression=228]="AsExpression",n[n.NonNullExpression=229]="NonNullExpression",n[n.MetaProperty=230]="MetaProperty",n[n.SyntheticExpression=231]="SyntheticExpression",n[n.TemplateSpan=232]="TemplateSpan",n[n.SemicolonClassElement=233]="SemicolonClassElement",n[n.Block=234]="Block",n[n.EmptyStatement=235]="EmptyStatement",n[n.VariableStatement=236]="VariableStatement",n[n.ExpressionStatement=237]="ExpressionStatement",n[n.IfStatement=238]="IfStatement",n[n.DoStatement=239]="DoStatement",n[n.WhileStatement=240]="WhileStatement",n[n.ForStatement=241]="ForStatement",n[n.ForInStatement=242]="ForInStatement",n[n.ForOfStatement=243]="ForOfStatement",n[n.ContinueStatement=244]="ContinueStatement",n[n.BreakStatement=245]="BreakStatement",n[n.ReturnStatement=246]="ReturnStatement",n[n.WithStatement=247]="WithStatement",n[n.SwitchStatement=248]="SwitchStatement",n[n.LabeledStatement=249]="LabeledStatement",n[n.ThrowStatement=250]="ThrowStatement",n[n.TryStatement=251]="TryStatement",n[n.DebuggerStatement=252]="DebuggerStatement",n[n.VariableDeclaration=253]="VariableDeclaration",n[n.VariableDeclarationList=254]="VariableDeclarationList",n[n.FunctionDeclaration=255]="FunctionDeclaration",n[n.ClassDeclaration=256]="ClassDeclaration",n[n.InterfaceDeclaration=257]="InterfaceDeclaration",n[n.TypeAliasDeclaration=258]="TypeAliasDeclaration",n[n.EnumDeclaration=259]="EnumDeclaration",n[n.ModuleDeclaration=260]="ModuleDeclaration",n[n.ModuleBlock=261]="ModuleBlock",n[n.CaseBlock=262]="CaseBlock",n[n.NamespaceExportDeclaration=263]="NamespaceExportDeclaration",n[n.ImportEqualsDeclaration=264]="ImportEqualsDeclaration",n[n.ImportDeclaration=265]="ImportDeclaration",n[n.ImportClause=266]="ImportClause",n[n.NamespaceImport=267]="NamespaceImport",n[n.NamedImports=268]="NamedImports",n[n.ImportSpecifier=269]="ImportSpecifier",n[n.ExportAssignment=270]="ExportAssignment",n[n.ExportDeclaration=271]="ExportDeclaration",n[n.NamedExports=272]="NamedExports",n[n.NamespaceExport=273]="NamespaceExport",n[n.ExportSpecifier=274]="ExportSpecifier",n[n.MissingDeclaration=275]="MissingDeclaration",n[n.ExternalModuleReference=276]="ExternalModuleReference",n[n.JsxElement=277]="JsxElement",n[n.JsxSelfClosingElement=278]="JsxSelfClosingElement",n[n.JsxOpeningElement=279]="JsxOpeningElement",n[n.JsxClosingElement=280]="JsxClosingElement",n[n.JsxFragment=281]="JsxFragment",n[n.JsxOpeningFragment=282]="JsxOpeningFragment",n[n.JsxClosingFragment=283]="JsxClosingFragment",n[n.JsxAttribute=284]="JsxAttribute",n[n.JsxAttributes=285]="JsxAttributes",n[n.JsxSpreadAttribute=286]="JsxSpreadAttribute",n[n.JsxExpression=287]="JsxExpression",n[n.CaseClause=288]="CaseClause",n[n.DefaultClause=289]="DefaultClause",n[n.HeritageClause=290]="HeritageClause",n[n.CatchClause=291]="CatchClause",n[n.AssertClause=292]="AssertClause",n[n.AssertEntry=293]="AssertEntry",n[n.PropertyAssignment=294]="PropertyAssignment",n[n.ShorthandPropertyAssignment=295]="ShorthandPropertyAssignment",n[n.SpreadAssignment=296]="SpreadAssignment",n[n.EnumMember=297]="EnumMember",n[n.UnparsedPrologue=298]="UnparsedPrologue",n[n.UnparsedPrepend=299]="UnparsedPrepend",n[n.UnparsedText=300]="UnparsedText",n[n.UnparsedInternalText=301]="UnparsedInternalText",n[n.UnparsedSyntheticReference=302]="UnparsedSyntheticReference",n[n.SourceFile=303]="SourceFile",n[n.Bundle=304]="Bundle",n[n.UnparsedSource=305]="UnparsedSource",n[n.InputFiles=306]="InputFiles",n[n.JSDocTypeExpression=307]="JSDocTypeExpression",n[n.JSDocNameReference=308]="JSDocNameReference",n[n.JSDocMemberName=309]="JSDocMemberName",n[n.JSDocAllType=310]="JSDocAllType",n[n.JSDocUnknownType=311]="JSDocUnknownType",n[n.JSDocNullableType=312]="JSDocNullableType",n[n.JSDocNonNullableType=313]="JSDocNonNullableType",n[n.JSDocOptionalType=314]="JSDocOptionalType",n[n.JSDocFunctionType=315]="JSDocFunctionType",n[n.JSDocVariadicType=316]="JSDocVariadicType",n[n.JSDocNamepathType=317]="JSDocNamepathType",n[n.JSDocComment=318]="JSDocComment",n[n.JSDocText=319]="JSDocText",n[n.JSDocTypeLiteral=320]="JSDocTypeLiteral",n[n.JSDocSignature=321]="JSDocSignature",n[n.JSDocLink=322]="JSDocLink",n[n.JSDocLinkCode=323]="JSDocLinkCode",n[n.JSDocLinkPlain=324]="JSDocLinkPlain",n[n.JSDocTag=325]="JSDocTag",n[n.JSDocAugmentsTag=326]="JSDocAugmentsTag",n[n.JSDocImplementsTag=327]="JSDocImplementsTag",n[n.JSDocAuthorTag=328]="JSDocAuthorTag",n[n.JSDocDeprecatedTag=329]="JSDocDeprecatedTag",n[n.JSDocClassTag=330]="JSDocClassTag",n[n.JSDocPublicTag=331]="JSDocPublicTag",n[n.JSDocPrivateTag=332]="JSDocPrivateTag",n[n.JSDocProtectedTag=333]="JSDocProtectedTag",n[n.JSDocReadonlyTag=334]="JSDocReadonlyTag",n[n.JSDocOverrideTag=335]="JSDocOverrideTag",n[n.JSDocCallbackTag=336]="JSDocCallbackTag",n[n.JSDocEnumTag=337]="JSDocEnumTag",n[n.JSDocParameterTag=338]="JSDocParameterTag",n[n.JSDocReturnTag=339]="JSDocReturnTag",n[n.JSDocThisTag=340]="JSDocThisTag",n[n.JSDocTypeTag=341]="JSDocTypeTag",n[n.JSDocTemplateTag=342]="JSDocTemplateTag",n[n.JSDocTypedefTag=343]="JSDocTypedefTag",n[n.JSDocSeeTag=344]="JSDocSeeTag",n[n.JSDocPropertyTag=345]="JSDocPropertyTag",n[n.SyntaxList=346]="SyntaxList",n[n.NotEmittedStatement=347]="NotEmittedStatement",n[n.PartiallyEmittedExpression=348]="PartiallyEmittedExpression",n[n.CommaListExpression=349]="CommaListExpression",n[n.MergeDeclarationMarker=350]="MergeDeclarationMarker",n[n.EndOfDeclarationMarker=351]="EndOfDeclarationMarker",n[n.SyntheticReferenceExpression=352]="SyntheticReferenceExpression",n[n.Count=353]="Count",n[n.FirstAssignment=63]="FirstAssignment",n[n.LastAssignment=78]="LastAssignment",n[n.FirstCompoundAssignment=64]="FirstCompoundAssignment",n[n.LastCompoundAssignment=78]="LastCompoundAssignment",n[n.FirstReservedWord=81]="FirstReservedWord",n[n.LastReservedWord=116]="LastReservedWord",n[n.FirstKeyword=81]="FirstKeyword",n[n.LastKeyword=159]="LastKeyword",n[n.FirstFutureReservedWord=117]="FirstFutureReservedWord",n[n.LastFutureReservedWord=125]="LastFutureReservedWord",n[n.FirstTypeNode=176]="FirstTypeNode",n[n.LastTypeNode=199]="LastTypeNode",n[n.FirstPunctuation=18]="FirstPunctuation",n[n.LastPunctuation=78]="LastPunctuation",n[n.FirstToken=0]="FirstToken",n[n.LastToken=159]="LastToken",n[n.FirstTriviaToken=2]="FirstTriviaToken",n[n.LastTriviaToken=7]="LastTriviaToken",n[n.FirstLiteralToken=8]="FirstLiteralToken",n[n.LastLiteralToken=14]="LastLiteralToken",n[n.FirstTemplateToken=14]="FirstTemplateToken",n[n.LastTemplateToken=17]="LastTemplateToken",n[n.FirstBinaryOperator=29]="FirstBinaryOperator",n[n.LastBinaryOperator=78]="LastBinaryOperator",n[n.FirstStatement=236]="FirstStatement",n[n.LastStatement=252]="LastStatement",n[n.FirstNode=160]="FirstNode",n[n.FirstJSDocNode=307]="FirstJSDocNode",n[n.LastJSDocNode=345]="LastJSDocNode",n[n.FirstJSDocTagNode=325]="FirstJSDocTagNode",n[n.LastJSDocTagNode=345]="LastJSDocTagNode",n[n.FirstContextualKeyword=126]="FirstContextualKeyword",n[n.LastContextualKeyword=159]="LastContextualKeyword",(t=e.NodeFlags||(e.NodeFlags={}))[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.NestedNamespace=4]="NestedNamespace",t[t.Synthesized=8]="Synthesized",t[t.Namespace=16]="Namespace",t[t.OptionalChain=32]="OptionalChain",t[t.ExportContext=64]="ExportContext",t[t.ContainsThis=128]="ContainsThis",t[t.HasImplicitReturn=256]="HasImplicitReturn",t[t.HasExplicitReturn=512]="HasExplicitReturn",t[t.GlobalAugmentation=1024]="GlobalAugmentation",t[t.HasAsyncFunctions=2048]="HasAsyncFunctions",t[t.DisallowInContext=4096]="DisallowInContext",t[t.YieldContext=8192]="YieldContext",t[t.DecoratorContext=16384]="DecoratorContext",t[t.AwaitContext=32768]="AwaitContext",t[t.ThisNodeHasError=65536]="ThisNodeHasError",t[t.JavaScriptFile=131072]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=524288]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",t[t.JSDoc=4194304]="JSDoc",t[t.Ambient=8388608]="Ambient",t[t.InWithStatement=16777216]="InWithStatement",t[t.JsonFile=33554432]="JsonFile",t[t.TypeCached=67108864]="TypeCached",t[t.Deprecated=134217728]="Deprecated",t[t.BlockScoped=3]="BlockScoped",t[t.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",t[t.ContextFlags=25358336]="ContextFlags",t[t.TypeExcludesFlags=40960]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags",(r=e.ModifierFlags||(e.ModifierFlags={}))[r.None=0]="None",r[r.Export=1]="Export",r[r.Ambient=2]="Ambient",r[r.Public=4]="Public",r[r.Private=8]="Private",r[r.Protected=16]="Protected",r[r.Static=32]="Static",r[r.Readonly=64]="Readonly",r[r.Abstract=128]="Abstract",r[r.Async=256]="Async",r[r.Default=512]="Default",r[r.Const=2048]="Const",r[r.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",r[r.Deprecated=8192]="Deprecated",r[r.Override=16384]="Override",r[r.HasComputedFlags=536870912]="HasComputedFlags",r[r.AccessibilityModifier=28]="AccessibilityModifier",r[r.ParameterPropertyModifier=16476]="ParameterPropertyModifier",r[r.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",r[r.TypeScriptModifier=18654]="TypeScriptModifier",r[r.ExportDefault=513]="ExportDefault",r[r.All=27647]="All",(a=e.JsxFlags||(e.JsxFlags={}))[a.None=0]="None",a[a.IntrinsicNamedElement=1]="IntrinsicNamedElement",a[a.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",a[a.IntrinsicElement=3]="IntrinsicElement",(i=e.RelationComparisonResult||(e.RelationComparisonResult={}))[i.Succeeded=1]="Succeeded",i[i.Failed=2]="Failed",i[i.Reported=4]="Reported",i[i.ReportsUnmeasurable=8]="ReportsUnmeasurable",i[i.ReportsUnreliable=16]="ReportsUnreliable",i[i.ReportsMask=24]="ReportsMask",(o=e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={}))[o.None=0]="None",o[o.Auto=1]="Auto",o[o.Loop=2]="Loop",o[o.Unique=3]="Unique",o[o.Node=4]="Node",o[o.KindMask=7]="KindMask",o[o.ReservedInNestedScopes=8]="ReservedInNestedScopes",o[o.Optimistic=16]="Optimistic",o[o.FileLevel=32]="FileLevel",o[o.AllowNameSubstitution=64]="AllowNameSubstitution",(s=e.TokenFlags||(e.TokenFlags={}))[s.None=0]="None",s[s.PrecedingLineBreak=1]="PrecedingLineBreak",s[s.PrecedingJSDocComment=2]="PrecedingJSDocComment",s[s.Unterminated=4]="Unterminated",s[s.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",s[s.Scientific=16]="Scientific",s[s.Octal=32]="Octal",s[s.HexSpecifier=64]="HexSpecifier",s[s.BinarySpecifier=128]="BinarySpecifier",s[s.OctalSpecifier=256]="OctalSpecifier",s[s.ContainsSeparator=512]="ContainsSeparator",s[s.UnicodeEscape=1024]="UnicodeEscape",s[s.ContainsInvalidEscape=2048]="ContainsInvalidEscape",s[s.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",s[s.NumericLiteralFlags=1008]="NumericLiteralFlags",s[s.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",(c=e.FlowFlags||(e.FlowFlags={}))[c.Unreachable=1]="Unreachable",c[c.Start=2]="Start",c[c.BranchLabel=4]="BranchLabel",c[c.LoopLabel=8]="LoopLabel",c[c.Assignment=16]="Assignment",c[c.TrueCondition=32]="TrueCondition",c[c.FalseCondition=64]="FalseCondition",c[c.SwitchClause=128]="SwitchClause",c[c.ArrayMutation=256]="ArrayMutation",c[c.Call=512]="Call",c[c.ReduceLabel=1024]="ReduceLabel",c[c.Referenced=2048]="Referenced",c[c.Shared=4096]="Shared",c[c.Label=12]="Label",c[c.Condition=96]="Condition",(l=e.CommentDirectiveType||(e.CommentDirectiveType={}))[l.ExpectError=0]="ExpectError",l[l.Ignore=1]="Ignore";var u,d,p,f,m,_,g,y,h,v,b,E,T,S,x,L,D,C,A,I,N,k,R,O,w,M,P,F,G,B,U,V,K,j,H,W,z,J,q,X,Y,Q,Z,$,ee,ne,te,re,ae,ie,oe,se,ce,le,ue,de,pe,fe,me,_e=function(){};e.OperationCanceledException=_e,(u=e.FileIncludeKind||(e.FileIncludeKind={}))[u.RootFile=0]="RootFile",u[u.SourceFromProjectReference=1]="SourceFromProjectReference",u[u.OutputFromProjectReference=2]="OutputFromProjectReference",u[u.Import=3]="Import",u[u.ReferenceFile=4]="ReferenceFile",u[u.TypeReferenceDirective=5]="TypeReferenceDirective",u[u.LibFile=6]="LibFile",u[u.LibReferenceDirective=7]="LibReferenceDirective",u[u.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",(d=e.FilePreprocessingDiagnosticsKind||(e.FilePreprocessingDiagnosticsKind={}))[d.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",d[d.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",(p=e.StructureIsReused||(e.StructureIsReused={}))[p.Not=0]="Not",p[p.SafeModules=1]="SafeModules",p[p.Completely=2]="Completely",(f=e.ExitStatus||(e.ExitStatus={}))[f.Success=0]="Success",f[f.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",f[f.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",f[f.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",f[f.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",f[f.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped",(m=e.MemberOverrideStatus||(e.MemberOverrideStatus={}))[m.Ok=0]="Ok",m[m.NeedsOverride=1]="NeedsOverride",m[m.HasInvalidOverride=2]="HasInvalidOverride",(_=e.UnionReduction||(e.UnionReduction={}))[_.None=0]="None",_[_.Literal=1]="Literal",_[_.Subtype=2]="Subtype",(g=e.ContextFlags||(e.ContextFlags={}))[g.None=0]="None",g[g.Signature=1]="Signature",g[g.NoConstraints=2]="NoConstraints",g[g.Completions=4]="Completions",g[g.SkipBindingPatterns=8]="SkipBindingPatterns",(y=e.NodeBuilderFlags||(e.NodeBuilderFlags={}))[y.None=0]="None",y[y.NoTruncation=1]="NoTruncation",y[y.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",y[y.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",y[y.UseStructuralFallback=8]="UseStructuralFallback",y[y.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",y[y.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",y[y.UseFullyQualifiedType=64]="UseFullyQualifiedType",y[y.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",y[y.SuppressAnyReturnType=256]="SuppressAnyReturnType",y[y.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",y[y.MultilineObjectLiterals=1024]="MultilineObjectLiterals",y[y.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",y[y.UseTypeOfFunction=4096]="UseTypeOfFunction",y[y.OmitParameterModifiers=8192]="OmitParameterModifiers",y[y.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",y[y.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",y[y.NoTypeReduction=536870912]="NoTypeReduction",y[y.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",y[y.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",y[y.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",y[y.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",y[y.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",y[y.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",y[y.AllowEmptyTuple=524288]="AllowEmptyTuple",y[y.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",y[y.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",y[y.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",y[y.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",y[y.IgnoreErrors=70221824]="IgnoreErrors",y[y.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",y[y.InTypeAlias=8388608]="InTypeAlias",y[y.InInitialEntityName=16777216]="InInitialEntityName",(h=e.TypeFormatFlags||(e.TypeFormatFlags={}))[h.None=0]="None",h[h.NoTruncation=1]="NoTruncation",h[h.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",h[h.UseStructuralFallback=8]="UseStructuralFallback",h[h.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",h[h.UseFullyQualifiedType=64]="UseFullyQualifiedType",h[h.SuppressAnyReturnType=256]="SuppressAnyReturnType",h[h.MultilineObjectLiterals=1024]="MultilineObjectLiterals",h[h.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",h[h.UseTypeOfFunction=4096]="UseTypeOfFunction",h[h.OmitParameterModifiers=8192]="OmitParameterModifiers",h[h.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",h[h.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",h[h.NoTypeReduction=536870912]="NoTypeReduction",h[h.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",h[h.AddUndefined=131072]="AddUndefined",h[h.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",h[h.InArrayType=524288]="InArrayType",h[h.InElementType=2097152]="InElementType",h[h.InFirstTypeArgument=4194304]="InFirstTypeArgument",h[h.InTypeAlias=8388608]="InTypeAlias",h[h.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",h[h.NodeBuilderFlagsMask=814775659]="NodeBuilderFlagsMask",(v=e.SymbolFormatFlags||(e.SymbolFormatFlags={}))[v.None=0]="None",v[v.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",v[v.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",v[v.AllowAnyNodeKind=4]="AllowAnyNodeKind",v[v.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",v[v.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain",(b=e.SymbolAccessibility||(e.SymbolAccessibility={}))[b.Accessible=0]="Accessible",b[b.NotAccessible=1]="NotAccessible",b[b.CannotBeNamed=2]="CannotBeNamed",(E=e.SyntheticSymbolKind||(e.SyntheticSymbolKind={}))[E.UnionOrIntersection=0]="UnionOrIntersection",E[E.Spread=1]="Spread",(T=e.TypePredicateKind||(e.TypePredicateKind={}))[T.This=0]="This",T[T.Identifier=1]="Identifier",T[T.AssertsThis=2]="AssertsThis",T[T.AssertsIdentifier=3]="AssertsIdentifier",(S=e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={}))[S.Unknown=0]="Unknown",S[S.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",S[S.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",S[S.NumberLikeType=3]="NumberLikeType",S[S.BigIntLikeType=4]="BigIntLikeType",S[S.StringLikeType=5]="StringLikeType",S[S.BooleanType=6]="BooleanType",S[S.ArrayLikeType=7]="ArrayLikeType",S[S.ESSymbolType=8]="ESSymbolType",S[S.Promise=9]="Promise",S[S.TypeWithCallSignature=10]="TypeWithCallSignature",S[S.ObjectType=11]="ObjectType",(x=e.SymbolFlags||(e.SymbolFlags={}))[x.None=0]="None",x[x.FunctionScopedVariable=1]="FunctionScopedVariable",x[x.BlockScopedVariable=2]="BlockScopedVariable",x[x.Property=4]="Property",x[x.EnumMember=8]="EnumMember",x[x.Function=16]="Function",x[x.Class=32]="Class",x[x.Interface=64]="Interface",x[x.ConstEnum=128]="ConstEnum",x[x.RegularEnum=256]="RegularEnum",x[x.ValueModule=512]="ValueModule",x[x.NamespaceModule=1024]="NamespaceModule",x[x.TypeLiteral=2048]="TypeLiteral",x[x.ObjectLiteral=4096]="ObjectLiteral",x[x.Method=8192]="Method",x[x.Constructor=16384]="Constructor",x[x.GetAccessor=32768]="GetAccessor",x[x.SetAccessor=65536]="SetAccessor",x[x.Signature=131072]="Signature",x[x.TypeParameter=262144]="TypeParameter",x[x.TypeAlias=524288]="TypeAlias",x[x.ExportValue=1048576]="ExportValue",x[x.Alias=2097152]="Alias",x[x.Prototype=4194304]="Prototype",x[x.ExportStar=8388608]="ExportStar",x[x.Optional=16777216]="Optional",x[x.Transient=33554432]="Transient",x[x.Assignment=67108864]="Assignment",x[x.ModuleExports=134217728]="ModuleExports",x[x.All=67108863]="All",x[x.Enum=384]="Enum",x[x.Variable=3]="Variable",x[x.Value=111551]="Value",x[x.Type=788968]="Type",x[x.Namespace=1920]="Namespace",x[x.Module=1536]="Module",x[x.Accessor=98304]="Accessor",x[x.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",x[x.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",x[x.ParameterExcludes=111551]="ParameterExcludes",x[x.PropertyExcludes=0]="PropertyExcludes",x[x.EnumMemberExcludes=900095]="EnumMemberExcludes",x[x.FunctionExcludes=110991]="FunctionExcludes",x[x.ClassExcludes=899503]="ClassExcludes",x[x.InterfaceExcludes=788872]="InterfaceExcludes",x[x.RegularEnumExcludes=899327]="RegularEnumExcludes",x[x.ConstEnumExcludes=899967]="ConstEnumExcludes",x[x.ValueModuleExcludes=110735]="ValueModuleExcludes",x[x.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",x[x.MethodExcludes=103359]="MethodExcludes",x[x.GetAccessorExcludes=46015]="GetAccessorExcludes",x[x.SetAccessorExcludes=78783]="SetAccessorExcludes",x[x.TypeParameterExcludes=526824]="TypeParameterExcludes",x[x.TypeAliasExcludes=788968]="TypeAliasExcludes",x[x.AliasExcludes=2097152]="AliasExcludes",x[x.ModuleMember=2623475]="ModuleMember",x[x.ExportHasLocal=944]="ExportHasLocal",x[x.BlockScoped=418]="BlockScoped",x[x.PropertyOrAccessor=98308]="PropertyOrAccessor",x[x.ClassMember=106500]="ClassMember",x[x.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",x[x.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",x[x.Classifiable=2885600]="Classifiable",x[x.LateBindingContainer=6256]="LateBindingContainer",(L=e.EnumKind||(e.EnumKind={}))[L.Numeric=0]="Numeric",L[L.Literal=1]="Literal",(D=e.CheckFlags||(e.CheckFlags={}))[D.Instantiated=1]="Instantiated",D[D.SyntheticProperty=2]="SyntheticProperty",D[D.SyntheticMethod=4]="SyntheticMethod",D[D.Readonly=8]="Readonly",D[D.ReadPartial=16]="ReadPartial",D[D.WritePartial=32]="WritePartial",D[D.HasNonUniformType=64]="HasNonUniformType",D[D.HasLiteralType=128]="HasLiteralType",D[D.ContainsPublic=256]="ContainsPublic",D[D.ContainsProtected=512]="ContainsProtected",D[D.ContainsPrivate=1024]="ContainsPrivate",D[D.ContainsStatic=2048]="ContainsStatic",D[D.Late=4096]="Late",D[D.ReverseMapped=8192]="ReverseMapped",D[D.OptionalParameter=16384]="OptionalParameter",D[D.RestParameter=32768]="RestParameter",D[D.DeferredType=65536]="DeferredType",D[D.HasNeverType=131072]="HasNeverType",D[D.Mapped=262144]="Mapped",D[D.StripOptional=524288]="StripOptional",D[D.Unresolved=1048576]="Unresolved",D[D.Synthetic=6]="Synthetic",D[D.Discriminant=192]="Discriminant",D[D.Partial=48]="Partial",(C=e.InternalSymbolName||(e.InternalSymbolName={})).Call="__call",C.Constructor="__constructor",C.New="__new",C.Index="__index",C.ExportStar="__export",C.Global="__global",C.Missing="__missing",C.Type="__type",C.Object="__object",C.JSXAttributes="__jsxAttributes",C.Class="__class",C.Function="__function",C.Computed="__computed",C.Resolving="__resolving__",C.ExportEquals="export=",C.Default="default",C.This="this",(A=e.NodeCheckFlags||(e.NodeCheckFlags={}))[A.TypeChecked=1]="TypeChecked",A[A.LexicalThis=2]="LexicalThis",A[A.CaptureThis=4]="CaptureThis",A[A.CaptureNewTarget=8]="CaptureNewTarget",A[A.SuperInstance=256]="SuperInstance",A[A.SuperStatic=512]="SuperStatic",A[A.ContextChecked=1024]="ContextChecked",A[A.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",A[A.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",A[A.CaptureArguments=8192]="CaptureArguments",A[A.EnumValuesComputed=16384]="EnumValuesComputed",A[A.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",A[A.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",A[A.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",A[A.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",A[A.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",A[A.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",A[A.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",A[A.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",A[A.AssignmentsMarked=8388608]="AssignmentsMarked",A[A.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",A[A.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",A[A.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers",A[A.ContainsSuperPropertyInStaticInitializer=134217728]="ContainsSuperPropertyInStaticInitializer",(I=e.TypeFlags||(e.TypeFlags={}))[I.Any=1]="Any",I[I.Unknown=2]="Unknown",I[I.String=4]="String",I[I.Number=8]="Number",I[I.Boolean=16]="Boolean",I[I.Enum=32]="Enum",I[I.BigInt=64]="BigInt",I[I.StringLiteral=128]="StringLiteral",I[I.NumberLiteral=256]="NumberLiteral",I[I.BooleanLiteral=512]="BooleanLiteral",I[I.EnumLiteral=1024]="EnumLiteral",I[I.BigIntLiteral=2048]="BigIntLiteral",I[I.ESSymbol=4096]="ESSymbol",I[I.UniqueESSymbol=8192]="UniqueESSymbol",I[I.Void=16384]="Void",I[I.Undefined=32768]="Undefined",I[I.Null=65536]="Null",I[I.Never=131072]="Never",I[I.TypeParameter=262144]="TypeParameter",I[I.Object=524288]="Object",I[I.Union=1048576]="Union",I[I.Intersection=2097152]="Intersection",I[I.Index=4194304]="Index",I[I.IndexedAccess=8388608]="IndexedAccess",I[I.Conditional=16777216]="Conditional",I[I.Substitution=33554432]="Substitution",I[I.NonPrimitive=67108864]="NonPrimitive",I[I.TemplateLiteral=134217728]="TemplateLiteral",I[I.StringMapping=268435456]="StringMapping",I[I.AnyOrUnknown=3]="AnyOrUnknown",I[I.Nullable=98304]="Nullable",I[I.Literal=2944]="Literal",I[I.Unit=109440]="Unit",I[I.StringOrNumberLiteral=384]="StringOrNumberLiteral",I[I.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",I[I.DefinitelyFalsy=117632]="DefinitelyFalsy",I[I.PossiblyFalsy=117724]="PossiblyFalsy",I[I.Intrinsic=67359327]="Intrinsic",I[I.Primitive=131068]="Primitive",I[I.StringLike=402653316]="StringLike",I[I.NumberLike=296]="NumberLike",I[I.BigIntLike=2112]="BigIntLike",I[I.BooleanLike=528]="BooleanLike",I[I.EnumLike=1056]="EnumLike",I[I.ESSymbolLike=12288]="ESSymbolLike",I[I.VoidLike=49152]="VoidLike",I[I.DisjointDomains=469892092]="DisjointDomains",I[I.UnionOrIntersection=3145728]="UnionOrIntersection",I[I.StructuredType=3670016]="StructuredType",I[I.TypeVariable=8650752]="TypeVariable",I[I.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",I[I.InstantiablePrimitive=406847488]="InstantiablePrimitive",I[I.Instantiable=465829888]="Instantiable",I[I.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",I[I.ObjectFlagsType=3899393]="ObjectFlagsType",I[I.Simplifiable=25165824]="Simplifiable",I[I.Singleton=67358815]="Singleton",I[I.Narrowable=536624127]="Narrowable",I[I.IncludesMask=205258751]="IncludesMask",I[I.IncludesMissingType=262144]="IncludesMissingType",I[I.IncludesNonWideningType=4194304]="IncludesNonWideningType",I[I.IncludesWildcard=8388608]="IncludesWildcard",I[I.IncludesEmptyObject=16777216]="IncludesEmptyObject",I[I.IncludesInstantiable=33554432]="IncludesInstantiable",I[I.NotPrimitiveUnion=36323363]="NotPrimitiveUnion",(N=e.ObjectFlags||(e.ObjectFlags={}))[N.Class=1]="Class",N[N.Interface=2]="Interface",N[N.Reference=4]="Reference",N[N.Tuple=8]="Tuple",N[N.Anonymous=16]="Anonymous",N[N.Mapped=32]="Mapped",N[N.Instantiated=64]="Instantiated",N[N.ObjectLiteral=128]="ObjectLiteral",N[N.EvolvingArray=256]="EvolvingArray",N[N.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",N[N.ReverseMapped=1024]="ReverseMapped",N[N.JsxAttributes=2048]="JsxAttributes",N[N.MarkerType=4096]="MarkerType",N[N.JSLiteral=8192]="JSLiteral",N[N.FreshLiteral=16384]="FreshLiteral",N[N.ArrayLiteral=32768]="ArrayLiteral",N[N.PrimitiveUnion=65536]="PrimitiveUnion",N[N.ContainsWideningType=131072]="ContainsWideningType",N[N.ContainsObjectOrArrayLiteral=262144]="ContainsObjectOrArrayLiteral",N[N.NonInferrableType=524288]="NonInferrableType",N[N.CouldContainTypeVariablesComputed=1048576]="CouldContainTypeVariablesComputed",N[N.CouldContainTypeVariables=2097152]="CouldContainTypeVariables",N[N.ClassOrInterface=3]="ClassOrInterface",N[N.RequiresWidening=393216]="RequiresWidening",N[N.PropagatingFlags=917504]="PropagatingFlags",N[N.ObjectTypeKindMask=1343]="ObjectTypeKindMask",N[N.ContainsSpread=4194304]="ContainsSpread",N[N.ObjectRestType=8388608]="ObjectRestType",N[N.IsClassInstanceClone=16777216]="IsClassInstanceClone",N[N.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",N[N.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",N[N.IsGenericTypeComputed=4194304]="IsGenericTypeComputed",N[N.IsGenericObjectType=8388608]="IsGenericObjectType",N[N.IsGenericIndexType=16777216]="IsGenericIndexType",N[N.IsGenericType=25165824]="IsGenericType",N[N.ContainsIntersections=33554432]="ContainsIntersections",N[N.IsNeverIntersectionComputed=33554432]="IsNeverIntersectionComputed",N[N.IsNeverIntersection=67108864]="IsNeverIntersection",(k=e.VarianceFlags||(e.VarianceFlags={}))[k.Invariant=0]="Invariant",k[k.Covariant=1]="Covariant",k[k.Contravariant=2]="Contravariant",k[k.Bivariant=3]="Bivariant",k[k.Independent=4]="Independent",k[k.VarianceMask=7]="VarianceMask",k[k.Unmeasurable=8]="Unmeasurable",k[k.Unreliable=16]="Unreliable",k[k.AllowsStructuralFallback=24]="AllowsStructuralFallback",(R=e.ElementFlags||(e.ElementFlags={}))[R.Required=1]="Required",R[R.Optional=2]="Optional",R[R.Rest=4]="Rest",R[R.Variadic=8]="Variadic",R[R.Fixed=3]="Fixed",R[R.Variable=12]="Variable",R[R.NonRequired=14]="NonRequired",R[R.NonRest=11]="NonRest",(O=e.AccessFlags||(e.AccessFlags={}))[O.None=0]="None",O[O.IncludeUndefined=1]="IncludeUndefined",O[O.NoIndexSignatures=2]="NoIndexSignatures",O[O.Writing=4]="Writing",O[O.CacheSymbol=8]="CacheSymbol",O[O.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",O[O.ExpressionPosition=32]="ExpressionPosition",O[O.ReportDeprecated=64]="ReportDeprecated",O[O.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",O[O.Contextual=256]="Contextual",O[O.Persistent=1]="Persistent",(w=e.JsxReferenceKind||(e.JsxReferenceKind={}))[w.Component=0]="Component",w[w.Function=1]="Function",w[w.Mixed=2]="Mixed",(M=e.SignatureKind||(e.SignatureKind={}))[M.Call=0]="Call",M[M.Construct=1]="Construct",(P=e.SignatureFlags||(e.SignatureFlags={}))[P.None=0]="None",P[P.HasRestParameter=1]="HasRestParameter",P[P.HasLiteralTypes=2]="HasLiteralTypes",P[P.Abstract=4]="Abstract",P[P.IsInnerCallChain=8]="IsInnerCallChain",P[P.IsOuterCallChain=16]="IsOuterCallChain",P[P.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",P[P.PropagatingFlags=39]="PropagatingFlags",P[P.CallChainFlags=24]="CallChainFlags",(F=e.IndexKind||(e.IndexKind={}))[F.String=0]="String",F[F.Number=1]="Number",(G=e.TypeMapKind||(e.TypeMapKind={}))[G.Simple=0]="Simple",G[G.Array=1]="Array",G[G.Function=2]="Function",G[G.Composite=3]="Composite",G[G.Merged=4]="Merged",(B=e.InferencePriority||(e.InferencePriority={}))[B.NakedTypeVariable=1]="NakedTypeVariable",B[B.SpeculativeTuple=2]="SpeculativeTuple",B[B.SubstituteSource=4]="SubstituteSource",B[B.HomomorphicMappedType=8]="HomomorphicMappedType",B[B.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",B[B.MappedTypeConstraint=32]="MappedTypeConstraint",B[B.ContravariantConditional=64]="ContravariantConditional",B[B.ReturnType=128]="ReturnType",B[B.LiteralKeyof=256]="LiteralKeyof",B[B.NoConstraints=512]="NoConstraints",B[B.AlwaysStrict=1024]="AlwaysStrict",B[B.MaxValue=2048]="MaxValue",B[B.PriorityImpliesCombination=416]="PriorityImpliesCombination",B[B.Circularity=-1]="Circularity",(U=e.InferenceFlags||(e.InferenceFlags={}))[U.None=0]="None",U[U.NoDefault=1]="NoDefault",U[U.AnyDefault=2]="AnyDefault",U[U.SkippedGenericFunction=4]="SkippedGenericFunction",(V=e.Ternary||(e.Ternary={}))[V.False=0]="False",V[V.Unknown=1]="Unknown",V[V.Maybe=3]="Maybe",V[V.True=-1]="True",(K=e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={}))[K.None=0]="None",K[K.ExportsProperty=1]="ExportsProperty",K[K.ModuleExports=2]="ModuleExports",K[K.PrototypeProperty=3]="PrototypeProperty",K[K.ThisProperty=4]="ThisProperty",K[K.Property=5]="Property",K[K.Prototype=6]="Prototype",K[K.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",K[K.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",K[K.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",(H=j=e.DiagnosticCategory||(e.DiagnosticCategory={}))[H.Warning=0]="Warning",H[H.Error=1]="Error",H[H.Suggestion=2]="Suggestion",H[H.Message=3]="Message",e.diagnosticCategoryName=function(e,n){void 0===n&&(n=!0);var t=j[e.category];return n?t.toLowerCase():t},(W=e.ModuleResolutionKind||(e.ModuleResolutionKind={}))[W.Classic=1]="Classic",W[W.NodeJs=2]="NodeJs",W[W.Node12=3]="Node12",W[W.NodeNext=99]="NodeNext",(z=e.WatchFileKind||(e.WatchFileKind={}))[z.FixedPollingInterval=0]="FixedPollingInterval",z[z.PriorityPollingInterval=1]="PriorityPollingInterval",z[z.DynamicPriorityPolling=2]="DynamicPriorityPolling",z[z.FixedChunkSizePolling=3]="FixedChunkSizePolling",z[z.UseFsEvents=4]="UseFsEvents",z[z.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",(J=e.WatchDirectoryKind||(e.WatchDirectoryKind={}))[J.UseFsEvents=0]="UseFsEvents",J[J.FixedPollingInterval=1]="FixedPollingInterval",J[J.DynamicPriorityPolling=2]="DynamicPriorityPolling",J[J.FixedChunkSizePolling=3]="FixedChunkSizePolling",(q=e.PollingWatchKind||(e.PollingWatchKind={}))[q.FixedInterval=0]="FixedInterval",q[q.PriorityInterval=1]="PriorityInterval",q[q.DynamicPriority=2]="DynamicPriority",q[q.FixedChunkSize=3]="FixedChunkSize",(X=e.ModuleKind||(e.ModuleKind={}))[X.None=0]="None",X[X.CommonJS=1]="CommonJS",X[X.AMD=2]="AMD",X[X.UMD=3]="UMD",X[X.System=4]="System",X[X.ES2015=5]="ES2015",X[X.ES2020=6]="ES2020",X[X.ES2022=7]="ES2022",X[X.ESNext=99]="ESNext",X[X.Node12=100]="Node12",X[X.NodeNext=199]="NodeNext",(Y=e.JsxEmit||(e.JsxEmit={}))[Y.None=0]="None",Y[Y.Preserve=1]="Preserve",Y[Y.React=2]="React",Y[Y.ReactNative=3]="ReactNative",Y[Y.ReactJSX=4]="ReactJSX",Y[Y.ReactJSXDev=5]="ReactJSXDev",(Q=e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={}))[Q.Remove=0]="Remove",Q[Q.Preserve=1]="Preserve",Q[Q.Error=2]="Error",(Z=e.NewLineKind||(e.NewLineKind={}))[Z.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",Z[Z.LineFeed=1]="LineFeed",($=e.ScriptKind||(e.ScriptKind={}))[$.Unknown=0]="Unknown",$[$.JS=1]="JS",$[$.JSX=2]="JSX",$[$.TS=3]="TS",$[$.TSX=4]="TSX",$[$.External=5]="External",$[$.JSON=6]="JSON",$[$.Deferred=7]="Deferred",(ee=e.ScriptTarget||(e.ScriptTarget={}))[ee.ES3=0]="ES3",ee[ee.ES5=1]="ES5",ee[ee.ES2015=2]="ES2015",ee[ee.ES2016=3]="ES2016",ee[ee.ES2017=4]="ES2017",ee[ee.ES2018=5]="ES2018",ee[ee.ES2019=6]="ES2019",ee[ee.ES2020=7]="ES2020",ee[ee.ES2021=8]="ES2021",ee[ee.ESNext=99]="ESNext",ee[ee.JSON=100]="JSON",ee[ee.Latest=99]="Latest",(ne=e.LanguageVariant||(e.LanguageVariant={}))[ne.Standard=0]="Standard",ne[ne.JSX=1]="JSX",(te=e.WatchDirectoryFlags||(e.WatchDirectoryFlags={}))[te.None=0]="None",te[te.Recursive=1]="Recursive",(re=e.CharacterCodes||(e.CharacterCodes={}))[re.nullCharacter=0]="nullCharacter",re[re.maxAsciiCharacter=127]="maxAsciiCharacter",re[re.lineFeed=10]="lineFeed",re[re.carriageReturn=13]="carriageReturn",re[re.lineSeparator=8232]="lineSeparator",re[re.paragraphSeparator=8233]="paragraphSeparator",re[re.nextLine=133]="nextLine",re[re.space=32]="space",re[re.nonBreakingSpace=160]="nonBreakingSpace",re[re.enQuad=8192]="enQuad",re[re.emQuad=8193]="emQuad",re[re.enSpace=8194]="enSpace",re[re.emSpace=8195]="emSpace",re[re.threePerEmSpace=8196]="threePerEmSpace",re[re.fourPerEmSpace=8197]="fourPerEmSpace",re[re.sixPerEmSpace=8198]="sixPerEmSpace",re[re.figureSpace=8199]="figureSpace",re[re.punctuationSpace=8200]="punctuationSpace",re[re.thinSpace=8201]="thinSpace",re[re.hairSpace=8202]="hairSpace",re[re.zeroWidthSpace=8203]="zeroWidthSpace",re[re.narrowNoBreakSpace=8239]="narrowNoBreakSpace",re[re.ideographicSpace=12288]="ideographicSpace",re[re.mathematicalSpace=8287]="mathematicalSpace",re[re.ogham=5760]="ogham",re[re._=95]="_",re[re.$=36]="$",re[re._0=48]="_0",re[re._1=49]="_1",re[re._2=50]="_2",re[re._3=51]="_3",re[re._4=52]="_4",re[re._5=53]="_5",re[re._6=54]="_6",re[re._7=55]="_7",re[re._8=56]="_8",re[re._9=57]="_9",re[re.a=97]="a",re[re.b=98]="b",re[re.c=99]="c",re[re.d=100]="d",re[re.e=101]="e",re[re.f=102]="f",re[re.g=103]="g",re[re.h=104]="h",re[re.i=105]="i",re[re.j=106]="j",re[re.k=107]="k",re[re.l=108]="l",re[re.m=109]="m",re[re.n=110]="n",re[re.o=111]="o",re[re.p=112]="p",re[re.q=113]="q",re[re.r=114]="r",re[re.s=115]="s",re[re.t=116]="t",re[re.u=117]="u",re[re.v=118]="v",re[re.w=119]="w",re[re.x=120]="x",re[re.y=121]="y",re[re.z=122]="z",re[re.A=65]="A",re[re.B=66]="B",re[re.C=67]="C",re[re.D=68]="D",re[re.E=69]="E",re[re.F=70]="F",re[re.G=71]="G",re[re.H=72]="H",re[re.I=73]="I",re[re.J=74]="J",re[re.K=75]="K",re[re.L=76]="L",re[re.M=77]="M",re[re.N=78]="N",re[re.O=79]="O",re[re.P=80]="P",re[re.Q=81]="Q",re[re.R=82]="R",re[re.S=83]="S",re[re.T=84]="T",re[re.U=85]="U",re[re.V=86]="V",re[re.W=87]="W",re[re.X=88]="X",re[re.Y=89]="Y",re[re.Z=90]="Z",re[re.ampersand=38]="ampersand",re[re.asterisk=42]="asterisk",re[re.at=64]="at",re[re.backslash=92]="backslash",re[re.backtick=96]="backtick",re[re.bar=124]="bar",re[re.caret=94]="caret",re[re.closeBrace=125]="closeBrace",re[re.closeBracket=93]="closeBracket",re[re.closeParen=41]="closeParen",re[re.colon=58]="colon",re[re.comma=44]="comma",re[re.dot=46]="dot",re[re.doubleQuote=34]="doubleQuote",re[re.equals=61]="equals",re[re.exclamation=33]="exclamation",re[re.greaterThan=62]="greaterThan",re[re.hash=35]="hash",re[re.lessThan=60]="lessThan",re[re.minus=45]="minus",re[re.openBrace=123]="openBrace",re[re.openBracket=91]="openBracket",re[re.openParen=40]="openParen",re[re.percent=37]="percent",re[re.plus=43]="plus",re[re.question=63]="question",re[re.semicolon=59]="semicolon",re[re.singleQuote=39]="singleQuote",re[re.slash=47]="slash",re[re.tilde=126]="tilde",re[re.backspace=8]="backspace",re[re.formFeed=12]="formFeed",re[re.byteOrderMark=65279]="byteOrderMark",re[re.tab=9]="tab",re[re.verticalTab=11]="verticalTab",(ae=e.Extension||(e.Extension={})).Ts=".ts",ae.Tsx=".tsx",ae.Dts=".d.ts",ae.Js=".js",ae.Jsx=".jsx",ae.Json=".json",ae.TsBuildInfo=".tsbuildinfo",ae.Mjs=".mjs",ae.Mts=".mts",ae.Dmts=".d.mts",ae.Cjs=".cjs",ae.Cts=".cts",ae.Dcts=".d.cts",(ie=e.TransformFlags||(e.TransformFlags={}))[ie.None=0]="None",ie[ie.ContainsTypeScript=1]="ContainsTypeScript",ie[ie.ContainsJsx=2]="ContainsJsx",ie[ie.ContainsESNext=4]="ContainsESNext",ie[ie.ContainsES2021=8]="ContainsES2021",ie[ie.ContainsES2020=16]="ContainsES2020",ie[ie.ContainsES2019=32]="ContainsES2019",ie[ie.ContainsES2018=64]="ContainsES2018",ie[ie.ContainsES2017=128]="ContainsES2017",ie[ie.ContainsES2016=256]="ContainsES2016",ie[ie.ContainsES2015=512]="ContainsES2015",ie[ie.ContainsGenerator=1024]="ContainsGenerator",ie[ie.ContainsDestructuringAssignment=2048]="ContainsDestructuringAssignment",ie[ie.ContainsTypeScriptClassSyntax=4096]="ContainsTypeScriptClassSyntax",ie[ie.ContainsLexicalThis=8192]="ContainsLexicalThis",ie[ie.ContainsRestOrSpread=16384]="ContainsRestOrSpread",ie[ie.ContainsObjectRestOrSpread=32768]="ContainsObjectRestOrSpread",ie[ie.ContainsComputedPropertyName=65536]="ContainsComputedPropertyName",ie[ie.ContainsBlockScopedBinding=131072]="ContainsBlockScopedBinding",ie[ie.ContainsBindingPattern=262144]="ContainsBindingPattern",ie[ie.ContainsYield=524288]="ContainsYield",ie[ie.ContainsAwait=1048576]="ContainsAwait",ie[ie.ContainsHoistedDeclarationOrCompletion=2097152]="ContainsHoistedDeclarationOrCompletion",ie[ie.ContainsDynamicImport=4194304]="ContainsDynamicImport",ie[ie.ContainsClassFields=8388608]="ContainsClassFields",ie[ie.ContainsPossibleTopLevelAwait=16777216]="ContainsPossibleTopLevelAwait",ie[ie.ContainsLexicalSuper=33554432]="ContainsLexicalSuper",ie[ie.ContainsUpdateExpressionForIdentifier=67108864]="ContainsUpdateExpressionForIdentifier",ie[ie.HasComputedFlags=536870912]="HasComputedFlags",ie[ie.AssertTypeScript=1]="AssertTypeScript",ie[ie.AssertJsx=2]="AssertJsx",ie[ie.AssertESNext=4]="AssertESNext",ie[ie.AssertES2021=8]="AssertES2021",ie[ie.AssertES2020=16]="AssertES2020",ie[ie.AssertES2019=32]="AssertES2019",ie[ie.AssertES2018=64]="AssertES2018",ie[ie.AssertES2017=128]="AssertES2017",ie[ie.AssertES2016=256]="AssertES2016",ie[ie.AssertES2015=512]="AssertES2015",ie[ie.AssertGenerator=1024]="AssertGenerator",ie[ie.AssertDestructuringAssignment=2048]="AssertDestructuringAssignment",ie[ie.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",ie[ie.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",ie[ie.NodeExcludes=536870912]="NodeExcludes",ie[ie.ArrowFunctionExcludes=557748224]="ArrowFunctionExcludes",ie[ie.FunctionExcludes=591310848]="FunctionExcludes",ie[ie.ConstructorExcludes=591306752]="ConstructorExcludes",ie[ie.MethodOrAccessorExcludes=574529536]="MethodOrAccessorExcludes",ie[ie.PropertyExcludes=570433536]="PropertyExcludes",ie[ie.ClassExcludes=536940544]="ClassExcludes",ie[ie.ModuleExcludes=589443072]="ModuleExcludes",ie[ie.TypeExcludes=-2]="TypeExcludes",ie[ie.ObjectLiteralExcludes=536973312]="ObjectLiteralExcludes",ie[ie.ArrayLiteralOrCallOrNewExcludes=536887296]="ArrayLiteralOrCallOrNewExcludes",ie[ie.VariableDeclarationListExcludes=537165824]="VariableDeclarationListExcludes",ie[ie.ParameterExcludes=536870912]="ParameterExcludes",ie[ie.CatchClauseExcludes=536903680]="CatchClauseExcludes",ie[ie.BindingPatternExcludes=536887296]="BindingPatternExcludes",ie[ie.ContainsLexicalThisOrSuper=33562624]="ContainsLexicalThisOrSuper",ie[ie.PropertyNamePropagatingFlags=33562624]="PropertyNamePropagatingFlags",(oe=e.SnippetKind||(e.SnippetKind={}))[oe.TabStop=0]="TabStop",oe[oe.Placeholder=1]="Placeholder",oe[oe.Choice=2]="Choice",oe[oe.Variable=3]="Variable",(se=e.EmitFlags||(e.EmitFlags={}))[se.None=0]="None",se[se.SingleLine=1]="SingleLine",se[se.AdviseOnEmitNode=2]="AdviseOnEmitNode",se[se.NoSubstitution=4]="NoSubstitution",se[se.CapturesThis=8]="CapturesThis",se[se.NoLeadingSourceMap=16]="NoLeadingSourceMap",se[se.NoTrailingSourceMap=32]="NoTrailingSourceMap",se[se.NoSourceMap=48]="NoSourceMap",se[se.NoNestedSourceMaps=64]="NoNestedSourceMaps",se[se.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",se[se.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",se[se.NoTokenSourceMaps=384]="NoTokenSourceMaps",se[se.NoLeadingComments=512]="NoLeadingComments",se[se.NoTrailingComments=1024]="NoTrailingComments",se[se.NoComments=1536]="NoComments",se[se.NoNestedComments=2048]="NoNestedComments",se[se.HelperName=4096]="HelperName",se[se.ExportName=8192]="ExportName",se[se.LocalName=16384]="LocalName",se[se.InternalName=32768]="InternalName",se[se.Indented=65536]="Indented",se[se.NoIndentation=131072]="NoIndentation",se[se.AsyncFunctionBody=262144]="AsyncFunctionBody",se[se.ReuseTempVariableScope=524288]="ReuseTempVariableScope",se[se.CustomPrologue=1048576]="CustomPrologue",se[se.NoHoisting=2097152]="NoHoisting",se[se.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",se[se.Iterator=8388608]="Iterator",se[se.NoAsciiEscaping=16777216]="NoAsciiEscaping",se[se.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",se[se.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",se[se.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines",se[se.Immutable=268435456]="Immutable",se[se.IndirectCall=536870912]="IndirectCall",(ce=e.ExternalEmitHelpers||(e.ExternalEmitHelpers={}))[ce.Extends=1]="Extends",ce[ce.Assign=2]="Assign",ce[ce.Rest=4]="Rest",ce[ce.Decorate=8]="Decorate",ce[ce.Metadata=16]="Metadata",ce[ce.Param=32]="Param",ce[ce.Awaiter=64]="Awaiter",ce[ce.Generator=128]="Generator",ce[ce.Values=256]="Values",ce[ce.Read=512]="Read",ce[ce.SpreadArray=1024]="SpreadArray",ce[ce.Await=2048]="Await",ce[ce.AsyncGenerator=4096]="AsyncGenerator",ce[ce.AsyncDelegator=8192]="AsyncDelegator",ce[ce.AsyncValues=16384]="AsyncValues",ce[ce.ExportStar=32768]="ExportStar",ce[ce.ImportStar=65536]="ImportStar",ce[ce.ImportDefault=131072]="ImportDefault",ce[ce.MakeTemplateObject=262144]="MakeTemplateObject",ce[ce.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",ce[ce.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",ce[ce.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",ce[ce.CreateBinding=4194304]="CreateBinding",ce[ce.FirstEmitHelper=1]="FirstEmitHelper",ce[ce.LastEmitHelper=4194304]="LastEmitHelper",ce[ce.ForOfIncludes=256]="ForOfIncludes",ce[ce.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",ce[ce.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",ce[ce.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",ce[ce.SpreadIncludes=1536]="SpreadIncludes",(le=e.EmitHint||(e.EmitHint={}))[le.SourceFile=0]="SourceFile",le[le.Expression=1]="Expression",le[le.IdentifierName=2]="IdentifierName",le[le.MappedTypeParameter=3]="MappedTypeParameter",le[le.Unspecified=4]="Unspecified",le[le.EmbeddedStatement=5]="EmbeddedStatement",le[le.JsxAttributeValue=6]="JsxAttributeValue",(ue=e.OuterExpressionKinds||(e.OuterExpressionKinds={}))[ue.Parentheses=1]="Parentheses",ue[ue.TypeAssertions=2]="TypeAssertions",ue[ue.NonNullAssertions=4]="NonNullAssertions",ue[ue.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",ue[ue.Assertions=6]="Assertions",ue[ue.All=15]="All",ue[ue.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",(de=e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={}))[de.None=0]="None",de[de.InParameters=1]="InParameters",de[de.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",(pe=e.BundleFileSectionKind||(e.BundleFileSectionKind={})).Prologue="prologue",pe.EmitHelpers="emitHelpers",pe.NoDefaultLib="no-default-lib",pe.Reference="reference",pe.Type="type",pe.Lib="lib",pe.Prepend="prepend",pe.Text="text",pe.Internal="internal",(fe=e.ListFormat||(e.ListFormat={}))[fe.None=0]="None",fe[fe.SingleLine=0]="SingleLine",fe[fe.MultiLine=1]="MultiLine",fe[fe.PreserveLines=2]="PreserveLines",fe[fe.LinesMask=3]="LinesMask",fe[fe.NotDelimited=0]="NotDelimited",fe[fe.BarDelimited=4]="BarDelimited",fe[fe.AmpersandDelimited=8]="AmpersandDelimited",fe[fe.CommaDelimited=16]="CommaDelimited",fe[fe.AsteriskDelimited=32]="AsteriskDelimited",fe[fe.DelimitersMask=60]="DelimitersMask",fe[fe.AllowTrailingComma=64]="AllowTrailingComma",fe[fe.Indented=128]="Indented",fe[fe.SpaceBetweenBraces=256]="SpaceBetweenBraces",fe[fe.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",fe[fe.Braces=1024]="Braces",fe[fe.Parenthesis=2048]="Parenthesis",fe[fe.AngleBrackets=4096]="AngleBrackets",fe[fe.SquareBrackets=8192]="SquareBrackets",fe[fe.BracketsMask=15360]="BracketsMask",fe[fe.OptionalIfUndefined=16384]="OptionalIfUndefined",fe[fe.OptionalIfEmpty=32768]="OptionalIfEmpty",fe[fe.Optional=49152]="Optional",fe[fe.PreferNewLine=65536]="PreferNewLine",fe[fe.NoTrailingNewLine=131072]="NoTrailingNewLine",fe[fe.NoInterveningComments=262144]="NoInterveningComments",fe[fe.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",fe[fe.SingleElement=1048576]="SingleElement",fe[fe.SpaceAfterList=2097152]="SpaceAfterList",fe[fe.Modifiers=262656]="Modifiers",fe[fe.HeritageClauses=512]="HeritageClauses",fe[fe.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",fe[fe.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",fe[fe.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",fe[fe.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",fe[fe.UnionTypeConstituents=516]="UnionTypeConstituents",fe[fe.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",fe[fe.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",fe[fe.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",fe[fe.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",fe[fe.ImportClauseEntries=526226]="ImportClauseEntries",fe[fe.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",fe[fe.CommaListElements=528]="CommaListElements",fe[fe.CallExpressionArguments=2576]="CallExpressionArguments",fe[fe.NewExpressionArguments=18960]="NewExpressionArguments",fe[fe.TemplateExpressionSpans=262144]="TemplateExpressionSpans",fe[fe.SingleLineBlockStatements=768]="SingleLineBlockStatements",fe[fe.MultiLineBlockStatements=129]="MultiLineBlockStatements",fe[fe.VariableDeclarationList=528]="VariableDeclarationList",fe[fe.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",fe[fe.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",fe[fe.ClassHeritageClauses=0]="ClassHeritageClauses",fe[fe.ClassMembers=129]="ClassMembers",fe[fe.InterfaceMembers=129]="InterfaceMembers",fe[fe.EnumMembers=145]="EnumMembers",fe[fe.CaseBlockClauses=129]="CaseBlockClauses",fe[fe.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",fe[fe.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",fe[fe.JsxElementAttributes=262656]="JsxElementAttributes",fe[fe.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",fe[fe.HeritageClauseTypes=528]="HeritageClauseTypes",fe[fe.SourceFileStatements=131073]="SourceFileStatements",fe[fe.Decorators=2146305]="Decorators",fe[fe.TypeArguments=53776]="TypeArguments",fe[fe.TypeParameters=53776]="TypeParameters",fe[fe.Parameters=2576]="Parameters",fe[fe.IndexSignatureParameters=8848]="IndexSignatureParameters",fe[fe.JSDocComment=33]="JSDocComment",(me=e.PragmaKindFlags||(e.PragmaKindFlags={}))[me.None=0]="None",me[me.TripleSlashXML=1]="TripleSlashXML",me[me.SingleLine=2]="SingleLine",me[me.MultiLine=4]="MultiLine",me[me.All=7]="All",me[me.Default=7]="Default",e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}}}(Br||(Br={})),function(e){e.directorySeparator="/",e.altDirectorySeparator="\\";var n="://",t=/\\/g;function r(e){return 47===e||92===e}function a(e){return u(e)>0}function i(e){return 0!==u(e)}function o(e){return/^\.\.?($|[\\/])/.test(e)}function s(n,t){return n.length>t.length&&e.endsWith(n,t)}function c(e){return e.length>0&&r(e.charCodeAt(e.length-1))}function l(e){return e>=97&&e<=122||e>=65&&e<=90}function u(t){if(!t)return 0;var r=t.charCodeAt(0);if(47===r||92===r){if(t.charCodeAt(1)!==r)return 1;var a=t.indexOf(47===r?e.directorySeparator:e.altDirectorySeparator,2);return a<0?t.length:a+1}if(l(r)&&58===t.charCodeAt(1)){var i=t.charCodeAt(2);if(47===i||92===i)return 3;if(2===t.length)return 2}var o=t.indexOf(n);if(-1!==o){var s=o+n.length,c=t.indexOf(e.directorySeparator,s);if(-1!==c){var u=t.slice(0,o),d=t.slice(s,c);if("file"===u&&(""===d||"localhost"===d)&&l(t.charCodeAt(c+1))){var p=function(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}(t,c+2);if(-1!==p){if(47===t.charCodeAt(p))return~(p+1);if(p===t.length)return~p}}return~(c+1)}return~t.length}return 0}function d(e){var n=u(e);return n<0?~n:n}function p(n){var t=d(n=h(n));return t===n.length?n:(n=L(n)).slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator)))}function f(n,t,r){if(d(n=h(n))===n.length)return"";var a=(n=L(n)).slice(Math.max(d(n),n.lastIndexOf(e.directorySeparator)+1)),i=void 0!==t&&void 0!==r?_(a,t,r):void 0;return i?a.slice(0,a.length-i.length):a}function m(n,t,r){if(e.startsWith(t,".")||(t="."+t),n.length>=t.length&&46===n.charCodeAt(n.length-t.length)){var a=n.slice(n.length-t.length);if(r(a,t))return a}}function _(n,t,r){if(t)return function(e,n,t){if("string"==typeof n)return m(e,n,t)||"";for(var r=0,a=n;r=0?a.substring(i):""}function g(n,t){return void 0===t&&(t=""),function(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),Or([r],a,!0)}(n=b(t,n),d(n))}function y(n){return 0===n.length?"":(n[0]&&D(n[0]))+n.slice(1).join(e.directorySeparator)}function h(n){var r=n.indexOf("\\");return-1===r?n:(t.lastIndex=r,n.replace(t,e.directorySeparator))}function v(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function b(e){for(var n=[],t=1;t0&&n===e.length},e.pathIsAbsolute=i,e.pathIsRelative=o,e.pathIsBareSpecifier=function(e){return!i(e)&&!o(e)},e.hasExtension=function(n){return e.stringContains(f(n),".")},e.fileExtensionIs=s,e.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t0==d(t)>0,"Paths must either both be absolute or both be relative");var a="function"==typeof r?r:e.identity;return y(N(n,t,"boolean"==typeof r&&r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,a))}function R(n,t,r,i,o){var s=N(E(r,n),E(r,t),e.equateStringsCaseSensitive,i),c=s[0];if(o&&a(c)){var l=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=l+c}return y(s)}e.comparePathsCaseSensitive=function(n,t){return I(n,t,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(n,t){return I(n,t,e.compareStringsCaseInsensitive)},e.comparePaths=function(n,t,r,a){return"string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),I(n,t,e.getStringComparer(a))},e.containsPath=function(n,t,r,a){if("string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),void 0===n||void 0===t)return!1;if(n===t)return!0;var i=v(g(n)),o=v(g(t));if(o.length 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.")}}(Br||(Br={})),function(e){var n;function t(e){return e>=79}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||t(e)},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}).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 r=new e.Map(e.getEntries(e.textToKeywordObj)),a=new e.Map(e.getEntries(wr(wr({},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}))),i=[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],o=[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],s=[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],c=[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],l=[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],u=[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],d=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,p=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function f(e,n){if(e=2?l:1===n?s:i)}e.isUnicodeIdentifierStart=m;var _,g=(_=[],a.forEach((function(e,n){_[e]=n})),_);function y(e){for(var n=new Array,t=0,r=0;t127&&x(a)&&(n.push(r),r=t)}}return n.push(r),n}function h(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: ".concat(t,", lineStarts.length: ").concat(n.length," , line map is correct? ").concat(void 0!==a?e.arraysEqual(n,y(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"==typeof a&&o>a.length?a.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function x(e){return 10===e||13===e||8232===e||8233===e}function L(e){return e>=48&&e<=57}function D(e){return L(e)||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=55}e.tokenToString=function(e){return g[e]},e.stringToToken=function(e){return a.get(e)},e.computeLineStarts=y,e.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):h(v(e),n,t,e.text,r)},e.computePositionOfLineAndCharacter=h,e.getLineStarts=v,e.computeLineAndCharacterOfPosition=b,e.computeLineOfPosition=E,e.getLinesBetweenPositions=function(e,n,t){if(n===t)return 0;var r=v(e),a=Math.min(n,t),i=a===t,o=i?n:t,s=E(r,a),c=E(r,o,s);return i?s-c:c-s},e.getLineAndCharacterOfPosition=function(e,n){return b(v(e),n)},e.isWhiteSpaceLike=T,e.isWhiteSpaceSingleLine=S,e.isLineBreak=x,e.isOctalDigit=C,e.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){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 0===n;default:return t>127}},e.skipTrivia=function(n,t,r,a,i){if(e.positionIsSynthesized(t))return t;for(var o=!1;;){var s=n.charCodeAt(t);switch(s){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;o=!!i;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){for(t+=2;t127&&T(s)){t++;continue}}return t}};var A=7;function I(n,t){if(e.Debug.assert(t>=0),0===t||x(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+A=0&&t127&&T(_)){d&&x(_)&&(u=!0),t++;continue}break e}}return d&&(f=a(s,c,l,u,i,f)),f}function M(e,n,t,r,a){return w(!0,e,n,!1,t,r,a)}function P(e,n,t,r,a){return w(!0,e,n,!0,t,r,a)}function F(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function G(e){var n=k.exec(e);if(n)return n[0]}function B(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&m(e,n)}function U(e,n,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===t&&(45===e||58===e)||e>127&&function(e,n){return f(e,n>=2?u:1===n?c:o)}(e,n)}e.isShebangTrivia=R,e.scanShebangTrivia=O,e.forEachLeadingCommentRange=function(e,n,t,r){return w(!1,e,n,!1,t,r)},e.forEachTrailingCommentRange=function(e,n,t,r){return w(!1,e,n,!0,t,r)},e.reduceEachLeadingCommentRange=M,e.reduceEachTrailingCommentRange=P,e.getLeadingCommentRanges=function(e,n){return M(e,n,F,void 0,void 0)},e.getTrailingCommentRanges=function(e,n){return P(e,n,F,void 0,void 0)},e.getShebang=G,e.isIdentifierStart=B,e.isIdentifierPart=U,e.isIdentifierText=function(e,n,t){var r=V(e,0);if(!B(r,n))return!1;for(var a=K(r);a116},isReservedWord:function(){return g>=81&&g<=116},isUnterminated:function(){return!!(4&h)},getCommentDirectives:function(){return v},getNumericLiteralFlags:function(){return 1008&h},getTokenFlags:function(){return h},reScanGreaterToken:function(){if(31===g){if(62===b.charCodeAt(u))return 62===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,g=72):(u+=2,g=49):61===b.charCodeAt(u+1)?(u+=2,g=71):(u++,g=48);if(61===b.charCodeAt(u))return u++,g=33}return g},reScanAsteriskEqualsToken:function(){return e.Debug.assert(66===g,"'reScanAsteriskEqualsToken' should only be called on a '*='"),u=_+1,g=63},reScanSlashToken:function(){if(43===g||68===g){for(var t=_+1,r=!1,a=!1;;){if(t>=f){h|=4,k(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=b.charCodeAt(t);if(x(i)){h|=4,k(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}for(;t=f)return g=1;var e=V(b,u);switch(u+=K(e),e){case 9:case 11:case 12:case 32:for(;u=0&&B(t,n))return u+=3,h|=8,y=Y()+$(),g=ee();var r=Q();return r>=0&&B(r,n)?(u+=6,h|=1024,y=String.fromCharCode(r)+$(),g=ee()):(u++,g=0)}if(B(e,n)){for(var a=e;u=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),u++,o=!1}}return a.length=f){r+=b.substring(a,u),h|=4,k(e.Diagnostics.Unterminated_string_literal);break}var i=b.charCodeAt(u);if(i===t){r+=b.substring(a,u),u++;break}if(92!==i||n){if(x(i)&&!n){r+=b.substring(a,u),h|=4,k(e.Diagnostics.Unterminated_string_literal);break}u++}else r+=b.substring(a,u),r+=q(),a=u}return r}function J(n){for(var t,r=96===b.charCodeAt(u),a=++u,i="";;){if(u>=f){i+=b.substring(a,u),h|=4,k(e.Diagnostics.Unterminated_template_literal),t=r?14:17;break}var o=b.charCodeAt(u);if(96===o){i+=b.substring(a,u),u++,t=r?14:17;break}if(36===o&&u+1=f)return k(e.Diagnostics.Unexpected_end_of_text),"";var r=b.charCodeAt(u);switch(u++,r){case 48:return n&&u=0?String.fromCharCode(t):(k(e.Diagnostics.Hexadecimal_digit_expected),"")}function Y(){var n=j(1,!1),t=n?parseInt(n,16):-1,r=!1;return t<0?(k(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(k(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),u>=f?(k(e.Diagnostics.Unexpected_end_of_text),r=!0):125===b.charCodeAt(u)?u++:(k(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":H(t)}function Q(){if(u+5=2&&117===V(b,u+1)&&123===V(b,u+2)){var e=u;u+=3;var t=j(1,!1),r=t?parseInt(t,16):-1;return u=e,r}return-1}function $(){for(var e="",t=u;u=0&&U(r,n)){u+=3,h|=8,e+=Y(),t=u;continue}if(!((r=Q())>=0&&U(r,n)))break;h|=1024,e+=b.substring(t,u),e+=H(r),t=u+=6}}return e+=b.substring(t,u)}function ee(){var e=y.length;if(e>=2&&e<=12){var n=y.charCodeAt(0);if(n>=97&&n<=122){var t=r.get(y);if(void 0!==t)return g=t}}return g=79}function ne(n){for(var t="",r=!1,a=!1;;){var i=b.charCodeAt(u);if(95!==i){if(r=!0,!L(i)||i-48>=n)break;t+=b[u],u++,a=!1}else h|=512,r?(r=!1,a=!0):k(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++}return 95===b.charCodeAt(u-1)&&k(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),t}function te(){if(110===b.charCodeAt(u))return y+="n",384&h&&(y=e.parsePseudoBigInt(y)+"n"),u++,9;var n=128&h?parseInt(y.slice(2),2):256&h?parseInt(y.slice(2),8):+y;return y=""+n,8}function re(){var t;m=u,h=0;for(var r=!1;;){if(_=u,u>=f)return g=1;var o=V(b,u);if(35===o&&0===u&&R(b,u)){if(u=O(b,u),a)continue;return g=6}switch(o){case 10:case 13:if(h|=1,a){u++;continue}return 13===o&&u+1=0&&B(T,n))return u+=3,h|=8,y=Y()+$(),g=ee();var D=Q();return D>=0&&B(D,n)?(u+=6,h|=1024,y=String.fromCharCode(D)+$(),g=ee()):(k(e.Diagnostics.Invalid_character),u++,g=0);case 35:return 0!==u&&"!"===b[u+1]?(k(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),u++,g=0):(B(V(b,u+1),n)?(u++,ae(V(b,u),n)):(y=String.fromCharCode(V(b,u)),k(e.Diagnostics.Invalid_character,u++,K(o))),g=80);default:var A=ae(o,n);if(A)return g=A;if(S(o)){u+=K(o);continue}if(x(o)){h|=1,u+=K(o);continue}var w=K(o);return k(e.Diagnostics.Invalid_character,u,w),u+=w,g=0}}}function ae(e,n){var t=e;if(B(t,n)){for(u+=K(t);u=f)return g=1;var t=b.charCodeAt(u);if(60===t)return 47===b.charCodeAt(u+1)?(u+=2,g=30):(u++,g=29);if(123===t)return u++,g=18;for(var r=0;u0)break;T(t)||(r=u)}u++}return y=b.substring(m,u),-1===r?12:11}function se(){switch(m=u,b.charCodeAt(u)){case 34:case 39:return y=z(!0),g=10;default:return re()}}function ce(e,n){var t=u,r=m,a=_,i=g,o=y,s=h,c=e();return c&&!n||(u=t,m=r,_=a,g=i,y=o,h=s),c}function le(e,n,t){b=e||"",f=void 0===t?b.length:n+t,ue(n||0)}function ue(n){e.Debug.assert(n>=0),u=n,m=n,_=n,g=0,y=void 0,h=0}};var V=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||n>=t)){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){var a=e.charCodeAt(n+1);if(a>=56320&&a<=57343)return 1024*(r-55296)+a-56320+65536}return r}};function K(e){return e>=65536?2:1}var j=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)};function H(e){return j(e)}e.utf16EncodeAsString=H}(Br||(Br={})),function(e){function n(e){return e.start+e.length}function t(e){return 0===e.length}function r(e,n){var t=i(e,n);return t&&0===t.length?void 0:t}function a(e,n,t,r){return t<=e+n&&t+r>=e}function i(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r<=a?s(r,a):void 0}function o(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function s(e,n){return o(e,n-e)}function c(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function l(n){return!!Z(n)&&e.every(n.elements,u)}function u(n){return!!e.isOmittedExpression(n)||l(n.name)}function d(n){for(var t=n.parent;e.isBindingElement(t.parent);)t=t.parent.parent;return t.parent}function p(n,t){e.isBindingElement(n)&&(n=d(n));var r=t(n);return 253===n.kind&&(n=n.parent),n&&254===n.kind&&(r|=t(n),n=n.parent),n&&236===n.kind&&(r|=t(n)),r}function f(e){return!(8&e.flags)}function m(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function _(e){return m(e.escapedText)}function g(n){var t=n.parent.parent;if(t){if(se(t))return y(t);switch(t.kind){case 236:if(t.declarationList&&t.declarationList.declarations[0])return y(t.declarationList.declarations[0]);break;case 237:var r=t.expression;switch(220===r.kind&&63===r.operatorToken.kind&&(r=r.left),r.kind){case 205:return r.name;case 206:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 211:return y(t.expression);case 249:if(se(t.statement)||re(t.statement))return y(t.statement)}}}function y(n){var t=E(n);return t&&e.isIdentifier(t)?t:void 0}function h(e){return e.name||g(e)}function v(e){return!!e.name}function b(n){switch(n.kind){case 79:return n;case 345:case 338:var t=n.name;if(160===t.kind)return t.right;break;case 207:case 220:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 343:return h(n);case 337:return g(n);case 270:var a=n.expression;return e.isIdentifier(a)?a:void 0;case 206:var i=n;if(e.isBindableStaticElementAccessExpression(i))return i.argumentExpression}return n.name}function E(n){if(void 0!==n)return b(n)||(e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isClassExpression(n)?T(n):void 0)}function T(n){if(n.parent){if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isAccessExpression(n.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(n.parent.left)}else if(e.isVariableDeclaration(n.parent)&&e.isIdentifier(n.parent.name))return n.parent.name}}function S(n,t){if(n.name){if(e.isIdentifier(n.name)){var r=n.name.escapedText;return I(n.parent,t).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===r}))}var a=n.parent.parameters.indexOf(n);e.Debug.assert(a>-1,"Parameters should always be in their parents' parameter list");var i=I(n.parent,t).filter(e.isJSDocParameterTag);if(a=160}function G(e){return e>=0&&e<=159}function B(e){return 8<=e&&e<=14}function U(e){return 14<=e&&e<=17}function V(n){return(e.isPropertyDeclaration(n)||X(n))&&e.isPrivateIdentifier(n.name)}function K(e){switch(e){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}function j(n){return!!(16476&e.modifierToFlag(n))}function H(e){return!!e&&z(e.kind)}function W(e){switch(e){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function z(e){switch(e){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return W(e)}}function J(e){var n=e.kind;return 170===n||166===n||168===n||171===n||172===n||175===n||169===n||233===n}function q(e){return e&&(256===e.kind||225===e.kind)}function X(e){switch(e.kind){case 168:case 171:case 172:return!0;default:return!1}}function Y(e){var n=e.kind;return 174===n||173===n||165===n||167===n||175===n}function Q(e){var n=e.kind;return 294===n||295===n||296===n||168===n||171===n||172===n}function Z(e){if(e){var n=e.kind;return 201===n||200===n}return!1}function $(e){switch(e.kind){case 200:case 204:return!0}return!1}function ee(e){switch(e.kind){case 201:case 203:return!0}return!1}function ne(e){switch(e){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 te(e){switch(e){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return ne(e)}}function re(e){return function(e){switch(e){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return te(e)}}(M(e).kind)}function ae(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function ie(e){return 255===e||275===e||256===e||257===e||258===e||259===e||260===e||265===e||264===e||271===e||270===e||263===e}function oe(e){return 245===e||244===e||252===e||239===e||237===e||235===e||242===e||243===e||241===e||238===e||249===e||246===e||248===e||250===e||251===e||236===e||240===e||247===e||347===e||351===e||350===e}function se(n){return 162===n.kind?n.parent&&342!==n.parent.kind||e.isInJSFile(n):213===(t=n.kind)||202===t||256===t||225===t||169===t||170===t||259===t||297===t||274===t||255===t||212===t||171===t||266===t||264===t||269===t||257===t||284===t||168===t||167===t||260===t||263===t||267===t||273===t||163===t||294===t||166===t||165===t||172===t||295===t||258===t||162===t||253===t||343===t||336===t||345===t;var t}function ce(e){return e.kind>=325&&e.kind<=345}e.isExternalModuleNameRelative=function(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)},e.sortAndDeduplicateDiagnostics=function(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)},e.getDefaultLibFileName=function(n){switch(e.getEmitScriptTarget(n)){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.textSpanEnd=n,e.textSpanIsEmpty=t,e.textSpanContainsPosition=function(e,t){return t>=e.start&&t=e.pos&&n<=e.end},e.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&n(t)<=n(e)},e.textSpanOverlapsWith=function(e,n){return void 0!==r(e,n)},e.textSpanOverlap=r,e.textSpanIntersectsWithTextSpan=function(e,n){return a(e.start,e.length,n.start,n.length)},e.textSpanIntersectsWith=function(e,n,t){return a(e.start,e.length,n,t)},e.decodedTextSpanIntersectsWith=a,e.textSpanIntersectsWithPosition=function(e,t){return t<=n(e)&&t>=e.start},e.textSpanIntersection=i,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,l=1;l=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=m,e.idText=_,e.symbolName=function(e){return e.valueDeclaration&&V(e.valueDeclaration)?_(e.valueDeclaration.name):m(e.escapedName)},e.nodeHasName=function n(t,r){return!(!v(t)||!e.isIdentifier(t.name)||_(t.name)!==_(r))||!(!e.isVariableStatement(t)||!e.some(t.declarationList.declarations,(function(e){return n(e,r)})))},e.getNameOfJSDocTypedef=h,e.isNamedDeclaration=v,e.getNonAssignedNameOfDeclaration=b,e.getNameOfDeclaration=E,e.getAssignedName=T,e.getJSDocParameterTags=x,e.getJSDocParameterTagsNoCache=function(e){return S(e,!0)},e.getJSDocTypeParameterTags=function(e){return L(e,!1)},e.getJSDocTypeParameterTagsNoCache=function(e){return L(e,!0)},e.hasJSDocParameterTags=function(n){return!!k(n,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(n){return k(n,e.isJSDocAugmentsTag)},e.getJSDocImplementsTags=function(n){return R(n,e.isJSDocImplementsTag)},e.getJSDocClassTag=function(n){return k(n,e.isJSDocClassTag)},e.getJSDocPublicTag=function(n){return k(n,e.isJSDocPublicTag)},e.getJSDocPublicTagNoCache=function(n){return k(n,e.isJSDocPublicTag,!0)},e.getJSDocPrivateTag=function(n){return k(n,e.isJSDocPrivateTag)},e.getJSDocPrivateTagNoCache=function(n){return k(n,e.isJSDocPrivateTag,!0)},e.getJSDocProtectedTag=function(n){return k(n,e.isJSDocProtectedTag)},e.getJSDocProtectedTagNoCache=function(n){return k(n,e.isJSDocProtectedTag,!0)},e.getJSDocReadonlyTag=function(n){return k(n,e.isJSDocReadonlyTag)},e.getJSDocReadonlyTagNoCache=function(n){return k(n,e.isJSDocReadonlyTag,!0)},e.getJSDocOverrideTagNoCache=function(n){return k(n,e.isJSDocOverrideTag,!0)},e.getJSDocDeprecatedTag=function(n){return k(n,e.isJSDocDeprecatedTag)},e.getJSDocDeprecatedTagNoCache=function(n){return k(n,e.isJSDocDeprecatedTag,!0)},e.getJSDocEnumTag=function(n){return k(n,e.isJSDocEnumTag)},e.getJSDocThisTag=function(n){return k(n,e.isJSDocThisTag)},e.getJSDocReturnTag=D,e.getJSDocTemplateTag=function(n){return k(n,e.isJSDocTemplateTag)},e.getJSDocTypeTag=C,e.getJSDocType=A,e.getJSDocReturnType=function(n){var t=D(n);if(t&&t.typeExpression)return t.typeExpression.type;var r=C(n);if(r&&r.typeExpression){var a=r.typeExpression.type;if(e.isTypeLiteralNode(a)){var i=e.find(a.members,e.isCallSignatureDeclaration);return i&&i.type}if(e.isFunctionTypeNode(a)||e.isJSDocFunctionType(a))return a.type}},e.getJSDocTags=N,e.getJSDocTagsNoCache=function(e){return I(e,!0)},e.getAllJSDocTags=R,e.getAllJSDocTagsOfKind=function(e,n){return N(e).filter((function(e){return e.kind===n}))},e.getTextOfJSDocComment=function(n){return"string"==typeof n?n:null==n?void 0:n.map((function(n){return 319===n.kind?n.text:"{@link ".concat(n.name?e.entityNameToString(n.name)+" ":"").concat(n.text,"}")})).join("")},e.getEffectiveTypeParameterDeclarations=function(n){if(e.isJSDocSignature(n))return e.emptyArray;if(e.isJSDocTypeAlias(n))return e.Debug.assert(318===n.parent.kind),e.flatMap(n.parent.tags,(function(n){return e.isJSDocTemplateTag(n)?n.typeParameters:void 0}));if(n.typeParameters)return n.typeParameters;if(e.isInJSFile(n)){var t=e.getJSDocTypeParameterDeclarations(n);if(t.length)return t;var r=A(n);if(r&&e.isFunctionTypeNode(r)&&r.typeParameters)return r.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(n){return n.constraint?n.constraint:e.isJSDocTemplateTag(n.parent)&&n===n.parent.typeParameters[0]?n.parent.constraint:void 0},e.isMemberName=function(e){return 79===e.kind||80===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 172===e.kind||171===e.kind},e.isPropertyAccessChain=function(n){return e.isPropertyAccessExpression(n)&&!!(32&n.flags)},e.isElementAccessChain=function(n){return e.isElementAccessExpression(n)&&!!(32&n.flags)},e.isCallChain=function(n){return e.isCallExpression(n)&&!!(32&n.flags)},e.isOptionalChain=O,e.isOptionalChainRoot=w,e.isExpressionOfOptionalChainRoot=function(e){return w(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!O(e.parent)||w(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 220===e.kind&&60===e.operatorToken.kind},e.isConstTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"const"===n.typeName.escapedText&&!n.typeArguments},e.skipPartiallyEmittedExpressions=M,e.isNonNullChain=function(n){return e.isNonNullExpression(n)&&!!(32&n.flags)},e.isBreakOrContinueStatement=function(e){return 245===e.kind||244===e.kind},e.isNamedExportBindings=function(e){return 273===e.kind||272===e.kind},e.isUnparsedTextLike=P,e.isUnparsedNode=function(e){return P(e)||298===e.kind||302===e.kind},e.isJSDocPropertyLikeTag=function(e){return 345===e.kind||338===e.kind},e.isNode=function(e){return F(e.kind)},e.isNodeKind=F,e.isTokenKind=G,e.isToken=function(e){return G(e.kind)},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=B,e.isLiteralExpression=function(e){return B(e.kind)},e.isTemplateLiteralKind=U,e.isTemplateLiteralToken=function(e){return U(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var n=e.kind;return 16===n||17===n},e.isImportOrExportSpecifier=function(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)},e.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 269:case 274:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 267:return e.parent.isTypeOnly;case 266:case 264:return e.isTypeOnly;default:return!1}},e.isAssertionKey=function(n){return e.isStringLiteral(n)||e.isIdentifier(n)},e.isStringTextContainingNode=function(e){return 10===e.kind||U(e.kind)},e.isGeneratedIdentifier=function(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0},e.isPrivateIdentifierClassElementDeclaration=V,e.isPrivateIdentifierPropertyAccessExpression=function(n){return e.isPropertyAccessExpression(n)&&e.isPrivateIdentifier(n.name)},e.isModifierKind=K,e.isParameterPropertyModifier=j,e.isClassMemberModifier=function(e){return j(e)||124===e||158===e},e.isModifier=function(e){return K(e.kind)},e.isEntityName=function(e){var n=e.kind;return 160===n||79===n},e.isPropertyName=function(e){var n=e.kind;return 79===n||80===n||10===n||8===n||161===n},e.isBindingName=function(e){var n=e.kind;return 79===n||200===n||201===n},e.isFunctionLike=H,e.isFunctionLikeOrClassStaticBlockDeclaration=function(n){return!!n&&(z(n.kind)||e.isClassStaticBlockDeclaration(n))},e.isFunctionLikeDeclaration=function(e){return e&&W(e.kind)},e.isBooleanLiteral=function(e){return 110===e.kind||95===e.kind},e.isFunctionLikeKind=z,e.isFunctionOrModuleBlock=function(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&H(n.parent)},e.isClassElement=J,e.isClassLike=q,e.isAccessor=function(e){return e&&(171===e.kind||172===e.kind)},e.isMethodOrAccessor=X,e.isTypeElement=Y,e.isClassOrTypeElement=function(e){return Y(e)||J(e)},e.isObjectLiteralElementLike=Q,e.isTypeNode=function(n){return e.isTypeNodeKind(n.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 178:case 179:return!0}return!1},e.isBindingPattern=Z,e.isAssignmentPattern=function(e){var n=e.kind;return 203===n||204===n},e.isArrayBindingElement=function(e){var n=e.kind;return 202===n||226===n},e.isDeclarationBindingElement=function(e){switch(e.kind){case 253:case 163:case 202:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return $(e)||ee(e)},e.isObjectBindingOrAssignmentPattern=$,e.isObjectBindingOrAssignmentElement=function(e){switch(e.kind){case 202:case 294:case 295:case 296:return!0}return!1},e.isArrayBindingOrAssignmentPattern=ee,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var n=e.kind;return 205===n||160===n||199===n},e.isPropertyAccessOrQualifiedName=function(e){var n=e.kind;return 205===n||160===n},e.isCallLikeExpression=function(e){switch(e.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 207===e.kind||208===e.kind},e.isTemplateLiteral=function(e){var n=e.kind;return 222===n||14===n},e.isLeftHandSideExpression=function(e){return ne(M(e).kind)},e.isUnaryExpression=function(e){return te(M(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 219:return!0;case 218:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=re,e.isAssertionExpression=function(e){var n=e.kind;return 210===n||228===n},e.isNotEmittedOrPartiallyEmittedNode=function(n){return e.isNotEmittedStatement(n)||e.isPartiallyEmittedExpression(n)},e.isIterationStatement=function e(n,t){switch(n.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return t&&e(n.statement,t)}return!1},e.isScopeMarker=ae,e.hasScopeMarker=function(n){return e.some(n,ae)},e.needsScopeMarker=function(n){return!(e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)||e.isAmbientModule(n))},e.isExternalModuleIndicator=function(n){return e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasSyntacticModifier(n,1)},e.isForInOrOfStatement=function(e){return 242===e.kind||243===e.kind},e.isConciseBody=function(n){return e.isBlock(n)||re(n)},e.isFunctionBody=function(n){return e.isBlock(n)},e.isForInitializer=function(n){return e.isVariableDeclarationList(n)||re(n)},e.isModuleBody=function(e){var n=e.kind;return 261===n||260===n||79===n},e.isNamespaceBody=function(e){var n=e.kind;return 261===n||260===n},e.isJSDocNamespaceBody=function(e){var n=e.kind;return 79===n||260===n},e.isNamedImportBindings=function(e){var n=e.kind;return 268===n||267===n},e.isModuleOrEnumDeclaration=function(e){return 260===e.kind||259===e.kind},e.isDeclaration=se,e.isDeclarationStatement=function(e){return ie(e.kind)},e.isStatementButNotDeclaration=function(e){return oe(e.kind)},e.isStatement=function(n){var t=n.kind;return oe(t)||ie(t)||function(n){if(234!==n.kind)return!1;if(void 0!==n.parent&&(251===n.parent.kind||291===n.parent.kind))return!1;return!e.isFunctionBlock(n)}(n)},e.isStatementOrBlock=function(e){var n=e.kind;return oe(n)||ie(n)||234===n},e.isModuleReference=function(e){var n=e.kind;return 276===n||160===n||79===n},e.isJsxTagNameExpression=function(e){var n=e.kind;return 108===n||79===n||205===n},e.isJsxChild=function(e){var n=e.kind;return 277===n||287===n||278===n||11===n||281===n},e.isJsxAttributeLike=function(e){var n=e.kind;return 284===n||286===n},e.isStringLiteralOrJsxExpression=function(e){var n=e.kind;return 10===n||287===n},e.isJsxOpeningLikeElement=function(e){var n=e.kind;return 279===n||278===n},e.isCaseOrDefaultClause=function(e){var n=e.kind;return 288===n||289===n},e.isJSDocNode=function(e){return e.kind>=307&&e.kind<=345},e.isJSDocCommentContainingNode=function(n){return 318===n.kind||317===n.kind||319===n.kind||ue(n)||ce(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)},e.isJSDocTag=ce,e.isSetAccessor=function(e){return 172===e.kind},e.isGetAccessor=function(e){return 171===e.kind},e.hasJSDocNodes=function(e){var n=e.jsDoc;return!!n&&n.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=function(e){return!!e.initializer},e.hasOnlyExpressionInitializer=function(e){switch(e.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}},e.isObjectLiteralElement=function(e){return 284===e.kind||286===e.kind||Q(e)},e.isTypeReferenceType=function(e){return 177===e.kind||227===e.kind};var le=1073741823;function ue(e){return 322===e.kind||323===e.kind||324===e.kind}e.guessIndentation=function(n){for(var t=le,r=0,a=n;r=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function d(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function p(e){return!d(e)}function f(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r0?y(n._children[0],t,r):e.skipTrivia((t||l(n)).text,n.pos,!1,!1,Ee(n))}function h(e,n,t){return void 0===t&&(t=!1),v(e.text,n,t)}function v(n,t,r){if(void 0===r&&(r=!1),d(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return function(n){return!!e.findAncestor(n,e.isJSDocTypeExpression)}(t)&&(a=a.split(/\r\n|\n|\r/).map((function(n){return e.trimStringStart(n.replace(/^\s*\*/,""))})).join("\n")),a}function b(e,n){return void 0===n&&(n=!1),h(l(e),e,n)}function E(e){return e.pos}function T(e){var n=e.emitNode;return n&&n.flags||0}function S(e){var n=Nn(e);return 253===n.kind&&291===n.parent.kind}function x(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||D(n))}function L(n){return e.isModuleDeclaration(n)||e.isIdentifier(n)}function D(e){return!!(1024&e.flags)}function C(e){return x(e)&&A(e)}function A(n){switch(n.parent.kind){case 303:return e.isExternalModule(n.parent);case 261:return x(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function I(n){var t;return null===(t=n.declarations)||void 0===t?void 0:t.find((function(n){return!(C(n)||e.isModuleDeclaration(n)&&D(n))}))}function N(n,t){switch(n.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(t)}return!1}function k(n){switch(n.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(n),!1}}function R(e){switch(e.kind){case 265:case 264:return!0;default:return!1}}function O(n){return R(n)||e.isExportDeclaration(n)}function w(n){return e.findAncestor(n.parent,(function(e){return N(e,e.parent)}))}function M(e){return e&&0!==s(e)?b(e):"(Missing)"}function P(n){switch(n.kind){case 79:case 80:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 161:return Sn(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function F(n){switch(n.kind){case 108:return"this";case 80:case 79:return 0===s(n)?e.idText(n):b(n);case 160:return F(n.left)+"."+F(n.right);case 205:return e.isIdentifier(n.name)||e.isPrivateIdentifier(n.name)?F(n.expression)+"."+F(n.name):e.Debug.assertNever(n.name);case 309:return F(n.left)+F(n.right);default:return e.Debug.assertNever(n)}}function G(e,n,t,r,a,i,o){var s=K(e,n);return br(e,s.start,s.length,t,r,a,i,o)}function B(n,t,r){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0),n&&(e.Debug.assertLessThanOrEqual(t,n.text.length),e.Debug.assertLessThanOrEqual(t+r,n.text.length))}function U(e,n,t,r,a){return B(e,n,t),{file:e,start:n,length:t,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:a}}function V(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function K(n,t){var r=t;switch(t.kind){case 303:var a=e.skipTrivia(n.text,0,!1);return a===n.text.length?e.createTextSpan(0,0):V(n,a);case 253:case 202:case 256:case 225:case 257:case 260:case 259:case 297:case 255:case 212:case 168:case 171:case 172:case 258:case 166:case 165:case 267:r=t.name;break;case 213:return function(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&234===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line;if(a0?t.statements[0].pos:t.end;return e.createTextSpanFromBounds(i,o)}if(void 0===r)return V(n,t.pos);e.Debug.assert(!e.isJSDoc(r));var s=d(r),c=s||e.isJsxText(t)?r.pos:e.skipTrivia(n.text,r.pos);return s?(e.Debug.assert(c===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,r.end)}function j(e){return 6===e.scriptKind}function H(n){return!!(2&e.getCombinedNodeFlags(n))}function W(e){return 207===e.kind&&100===e.expression.kind}function z(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function J(e){return 237===e.kind&&10===e.expression.kind}function q(e){return!!(1048576&T(e))}function X(n){return e.isIdentifier(n.name)&&!n.initializer}e.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||i(e,n)},e.optionsHaveModuleResolutionChanges=i,e.changesAffectingProgramStructure=function(n,t){return o(n,t,e.optionsAffectingProgramStructure)},e.optionsHaveChanges=o,e.forEachAncestor=function(n,t){for(;;){var r=t(n);if("quit"===r)return;if(void 0!==r)return r;if(e.isSourceFile(n))return;n=n.parent}},e.forEachEntry=function(e,n){for(var t=e.entries(),r=t.next();!r.done;r=t.next()){var a=r.value,i=a[0],o=n(a[1],i);if(o)return o}},e.forEachKey=function(e,n){for(var t=e.keys(),r=t.next();!r.done;r=t.next()){var a=n(r.value);if(a)return a}},e.copyEntries=function(e,n){e.forEach((function(e,t){n.set(t,e)}))},e.usingSingleLineStringWriter=function(e){var n=a.getText();try{return e(a),a.getText()}finally{a.clear(),a.writeKeyword(n)}},e.getFullWidth=s,e.getResolvedModule=function(e,n,t){return e&&e.resolvedModules&&e.resolvedModules.get(n,t)},e.setResolvedModule=function(n,t,r,a){n.resolvedModules||(n.resolvedModules=e.createModeAwareCache()),n.resolvedModules.set(t,a,r)},e.setResolvedTypeReferenceDirective=function(n,t,r){n.resolvedTypeReferenceDirectiveNames||(n.resolvedTypeReferenceDirectiveNames=e.createModeAwareCache()),n.resolvedTypeReferenceDirectiveNames.set(t,void 0,r)},e.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},e.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(t=e.packageId,r=n.packageId,t===r||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r},e.packageIdToString=function(e){var n=e.name,t=e.subModuleName,r=e.version,a=t?"".concat(n,"/").concat(t):n;return"".concat(a,"@").concat(r)},e.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary&&e.originalPath===n.originalPath},e.hasChangesInResolutions=function(n,t,r,a,i){e.Debug.assert(n.length===t.length);for(var o=0;o=0),e.getLineStarts(t)[n]},e.nodePosToString=function(n){var t=l(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return"".concat(t.fileName,"(").concat(r.line+1,",").concat(r.character+1,")")},e.getEndLinePosition=u,e.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},e.nodeIsMissing=d,e.nodeIsPresent=p,e.insertStatementsAfterStandardPrologue=function(e,n){return f(e,n,J)},e.insertStatementsAfterCustomPrologue=function(e,n){return f(e,n,_)},e.insertStatementAfterStandardPrologue=function(e,n){return m(e,n,J)},e.insertStatementAfterCustomPrologue=function(e,n){return m(e,n,_)},e.isRecognizedTripleSlashComment=function(n,t,r){if(47===n.charCodeAt(t+1)&&t+2=e.ModuleKind.ES2015||!t.noImplicitUseStrict)))},e.isBlockScope=N,e.isDeclarationWithTypeParameters=function(n){switch(n.kind){case 336:case 343:case 321:return!0;default:return e.assertType(n),k(n)}},e.isDeclarationWithTypeParameterChildren=k,e.isAnyImportSyntax=R,e.isLateVisibilityPaintedStatement=function(e){switch(e.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.hasPossibleExternalModuleReference=function(n){return O(n)||e.isModuleDeclaration(n)||e.isImportTypeNode(n)||W(n)},e.isAnyImportOrReExport=O,e.getEnclosingBlockScopeContainer=w,e.forEachEnclosingBlockScopeContainer=function(e,n){for(var t=w(e);t;)n(t),t=w(t)},e.declarationNameToString=M,e.getNameFromIndexInfo=function(e){return e.declaration?M(e.declaration.parameters[0].name):void 0},e.isComputedNonLiteralName=function(e){return 161===e.kind&&!Sn(e.expression)},e.getTextOfPropertyName=P,e.entityNameToString=F,e.createDiagnosticForNode=function(e,n,t,r,a,i){return G(l(e),e,n,t,r,a,i)},e.createDiagnosticForNodeArray=function(n,t,r,a,i,o,s){var c=e.skipTrivia(n.text,t.pos);return br(n,c,t.end-c,r,a,i,o,s)},e.createDiagnosticForNodeInSourceFile=G,e.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=l(e),a=K(r,e);return U(r,a.start,a.length,n,t)},e.createFileDiagnosticFromMessageChain=U,e.createDiagnosticForFileFromMessageChain=function(e,n,t){return{file:e,start:0,length:0,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}},e.createDiagnosticForRange=function(e,n,t){return{file:e,start:n.pos,length:n.end-n.pos,code:t.code,category:t.category,messageText:t.message}},e.getSpanOfTokenAtPosition=V,e.getErrorSpanForNode=K,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=j,e.isEnumConst=function(n){return!!(2048&e.getCombinedModifierFlags(n))},e.isDeclarationReadonly=function(n){return!(!(64&e.getCombinedModifierFlags(n))||e.isParameterPropertyDeclaration(n,n.parent))},e.isVarConst=H,e.isLet=function(n){return!!(1&e.getCombinedNodeFlags(n))},e.isSuperCall=function(e){return 207===e.kind&&106===e.expression.kind},e.isImportCall=W,e.isImportMeta=function(n){return e.isMetaProperty(n)&&100===n.keywordToken&&"meta"===n.name.escapedText},e.isLiteralImportTypeNode=z,e.isPrologueDirective=J,e.isCustomPrologue=q,e.isHoistedFunction=function(n){return q(n)&&e.isFunctionDeclaration(n)},e.isHoistedVariableStatement=function(n){return q(n)&&e.isVariableStatement(n)&&e.every(n.declarationList.declarations,X)},e.getLeadingCommentRangesOfNode=function(n,t){return 11!==n.kind?e.getLeadingCommentRanges(t.text,n.pos):void 0},e.getJSDocCommentRanges=function(n,t){var r=163===n.kind||162===n.kind||212===n.kind||213===n.kind||211===n.kind||253===n.kind?e.concatenate(e.getTrailingCommentRanges(t,n.pos),e.getLeadingCommentRanges(t,n.pos)):e.getLeadingCommentRanges(t,n.pos);return e.filter(r,(function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var Y=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var Q,Z,$,ee,ne=/^(\/\/\/\s*/;function te(n){if(176<=n.kind&&n.kind<=199)return!0;switch(n.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 216!==n.parent.kind;case 227:return!Kt(n);case 162:return 194===n.parent.kind||189===n.parent.kind;case 79:(160===n.parent.kind&&n.parent.right===n||205===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(79===n.kind||160===n.kind||205===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 160:case 205:case 108:var t=n.parent;if(180===t.kind)return!1;if(199===t.kind)return!t.isTypeOf;if(176<=t.kind&&t.kind<=199)return!0;switch(t.kind){case 227:return!Kt(t);case 162:case 342:return n===t.constraint;case 166:case 165:case 163:case 253:case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:case 173:case 174:case 175:case 210:return n===t.type;case 207:case 208:return e.contains(t.typeArguments,n);case 209:return!1}}return!1}function re(e){if(e)switch(e.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return!0}return!1}function ae(e){return 254===e.parent.kind&&236===e.parent.parent.kind}function ie(e,n,t){return e.properties.filter((function(e){if(294===e.kind){var r=P(e.name);return n===r||!!t&&t===r}return!1}))}function oe(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function se(n,t){var r=oe(n);return r?ie(r,t):e.emptyArray}function ce(n,t){for(e.Debug.assert(303!==n.kind);;){if(!(n=n.parent))return e.Debug.fail();switch(n.kind){case 161:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 164:163===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 213:if(!t)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 n}}}function le(e){var n=e.kind;return(205===n||206===n)&&106===e.expression.kind}function ue(n,t,r){if(e.isNamedDeclaration(n)&&e.isPrivateIdentifier(n.name))return!1;switch(n.kind){case 256:return!0;case 166:return 256===t.kind;case 171:case 172:case 168:return void 0!==n.body&&256===t.kind;case 163:return void 0!==t.body&&(170===t.kind||168===t.kind||172===t.kind)&&256===r.kind}return!1}function de(e,n,t){return void 0!==e.decorators&&ue(e,n,t)}function pe(e,n,t){return de(e,n,t)||fe(e,n)}function fe(n,t){switch(n.kind){case 256:return e.some(n.members,(function(e){return pe(e,n,t)}));case 168:case 172:case 170:return e.some(n.parameters,(function(e){return de(e,n,t)}));default:return!1}}function me(e){var n=e.parent;return(279===n.kind||278===n.kind||280===n.kind)&&n.tagName===e}function _e(n){switch(n.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(;160===n.parent.kind;)n=n.parent;return 180===n.parent.kind||e.isJSDocLinkLike(n.parent)||e.isJSDocNameReference(n.parent)||e.isJSDocMemberName(n.parent)||me(n);case 309:for(;e.isJSDocMemberName(n.parent);)n=n.parent;return 180===n.parent.kind||e.isJSDocLinkLike(n.parent)||e.isJSDocNameReference(n.parent)||e.isJSDocMemberName(n.parent)||me(n);case 80:return e.isBinaryExpression(n.parent)&&n.parent.left===n&&101===n.parent.operatorToken.kind;case 79:if(180===n.parent.kind||e.isJSDocLinkLike(n.parent)||e.isJSDocNameReference(n.parent)||e.isJSDocMemberName(n.parent)||me(n))return!0;case 8:case 9:case 10:case 14:case 108:return ge(n);default:return!1}}function ge(e){var n=e.parent;switch(n.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return n.initializer===e;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return n.expression===e;case 241:var t=n;return t.initializer===e&&254!==t.initializer.kind||t.condition===e||t.incrementor===e;case 242:case 243:var r=n;return r.initializer===e&&254!==r.initializer.kind||r.expression===e;case 210:case 228:case 232:case 161:return e===n.expression;case 164:case 287:case 286:case 296:return!0;case 227:return n.expression===e&&Kt(n);case 295:return n.objectAssignmentInitializer===e;default:return _e(n)}}function ye(e){for(;160===e.kind||79===e.kind;)e=e.parent;return 180===e.kind}function he(e){return 264===e.kind&&276===e.moduleReference.kind}function ve(e){return be(e)}function be(e){return!!e&&!!(131072&e.flags)}function Ee(e){return!!e&&!!(4194304&e.flags)}function Te(n,t){if(207!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(79!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function Se(e){return Le(e,!1)}function xe(e){return Le(e,!0)}function Le(n,t){return 202===n.kind&&(n=n.parent.parent),e.isVariableDeclaration(n)&&!!n.initializer&&Te(t?cr(n.initializer):n.initializer,!0)}function De(n){return e.isBinaryExpression(n)||sr(n)||e.isIdentifier(n)||e.isCallExpression(n)}function Ce(n){return be(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&(56===n.initializer.operatorToken.kind||60===n.initializer.operatorToken.kind)&&n.name&&jt(n.name)&&Ie(n.name,n.initializer.left)?n.initializer.right:n.initializer}function Ae(n,t){if(e.isCallExpression(n)){var r=dn(n.expression);return 212===r.kind||213===r.kind?n:void 0}return 212===n.kind||225===n.kind||213===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function Ie(n,t){if(An(n)&&An(t))return In(n)===In(t);if(e.isIdentifier(n)&&Pe(t)&&(108===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))){var r=Ve(t);return e.isPrivateIdentifier(r)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Ie(n,r)}return!(!Pe(n)||!Pe(t))&&(je(n)===je(t)&&Ie(n.expression,t.expression))}function Ne(e){for(;Vt(e,!0);)e=e.right;return e}function ke(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function Re(n){return e.isIdentifier(n)&&"module"===n.escapedText}function Oe(n){return(e.isPropertyAccessExpression(n)||Fe(n))&&Re(n.expression)&&"exports"===je(n)}function we(n){var t=function(n){if(e.isCallExpression(n)){if(!Me(n))return 0;var t=n.arguments[0];return ke(t)||Oe(t)?8:Ge(t)&&"prototype"===je(t)?9:7}if(63!==n.operatorToken.kind||!sr(n.left)||(r=Ne(n),e.isVoidExpression(r)&&e.isNumericLiteral(r.expression)&&"0"===r.expression.text))return 0;var r;if(Ue(n.left.expression,!0)&&"prototype"===je(n.left)&&e.isObjectLiteralExpression(We(n)))return 6;return He(n.left)}(n);return 5===t||be(n)?t:0}function Me(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&Sn(n.arguments[1])&&Ue(n.arguments[0],!0)}function Pe(n){return e.isPropertyAccessExpression(n)||Fe(n)}function Fe(n){return e.isElementAccessExpression(n)&&Sn(n.argumentExpression)}function Ge(n,t){return e.isPropertyAccessExpression(n)&&(!t&&108===n.expression.kind||e.isIdentifier(n.name)&&Ue(n.expression,!0))||Be(n,t)}function Be(e,n){return Fe(e)&&(!n&&108===e.expression.kind||jt(e.expression)||Ge(e.expression,!0))}function Ue(e,n){return jt(e)||Ge(e,n)}function Ve(n){return e.isPropertyAccessExpression(n)?n.name:n.argumentExpression}function Ke(n){if(e.isPropertyAccessExpression(n))return n.name;var t=dn(n.argumentExpression);return e.isNumericLiteral(t)||e.isStringLiteralLike(t)?t:n}function je(n){var t=Ke(n);if(t){if(e.isIdentifier(t))return t.escapedText;if(e.isStringLiteralLike(t)||e.isNumericLiteral(t))return e.escapeLeadingUnderscores(t.text)}}function He(n){if(108===n.expression.kind)return 4;if(Oe(n))return 2;if(Ue(n.expression,!0)){if(Wt(n.expression))return 3;for(var t=n;!e.isIdentifier(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===je(t))&&Ge(n))return 1;if(Ue(n,!0)||e.isElementAccessExpression(n)&&Dn(n))return 5}return 0}function We(n){for(;e.isBinaryExpression(n.right);)n=n.right;return n.right}function ze(n){switch(n.parent.kind){case 265:case 271:return n.parent;case 276:return n.parent.parent;case 207:return W(n.parent)||Te(n.parent,!1)?n.parent:void 0;case 195:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function Je(n){switch(n.kind){case 265:case 271:return n.moduleSpecifier;case 264:return 276===n.moduleReference.kind?n.moduleReference.expression:void 0;case 199:return z(n)?n.argument.literal:void 0;case 207:return n.arguments[0];case 260:return 10===n.name.kind?n.name:void 0;default:return e.Debug.assertNever(n)}}function qe(e){return 343===e.kind||336===e.kind||337===e.kind}function Xe(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==we(n.expression)&&e.isBinaryExpression(n.expression.right)&&(56===n.expression.right.operatorToken.kind||60===n.expression.right.operatorToken.kind)?n.expression.right.right:void 0}function Ye(e){switch(e.kind){case 236:var n=Qe(e);return n&&n.initializer;case 166:case 294:return e.initializer}}function Qe(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Ze(n){return e.isModuleDeclaration(n)&&n.body&&260===n.body.kind?n.body:void 0}function $e(n,t){if(e.isJSDoc(t)){var r=e.filter(t.tags,(function(e){return en(n,e)}));return t.tags===r?[t]:r}return en(n,t)?[t]:void 0}function en(n,t){return!(e.isJSDocTypeTag(t)&&t.parent&&e.isJSDoc(t.parent)&&e.isParenthesizedExpression(t.parent.parent)&&t.parent.parent!==n)}function nn(n){var t=n.parent;return 294===t.kind||270===t.kind||166===t.kind||237===t.kind&&205===n.kind||246===t.kind||Ze(t)||e.isBinaryExpression(n)&&63===n.operatorToken.kind?t:t.parent&&(Qe(t.parent)===n||e.isBinaryExpression(t)&&63===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(Qe(t.parent.parent)||Ye(t.parent.parent)===n||Xe(t.parent.parent))?t.parent.parent:void 0}function tn(n){var t=rn(n);return t&&e.isFunctionLike(t)?t:void 0}function rn(n){var t=an(n);if(t)return Xe(t)||function(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&63===n.expression.operatorToken.kind?Ne(n.expression):void 0}(t)||Ye(t)||Qe(t)||Ze(t)||t}function an(n){var t=on(n);if(t){var r=t.parent;return r&&r.jsDoc&&t===e.lastOrUndefined(r.jsDoc)?r:void 0}}function on(n){return e.findAncestor(n.parent,e.isJSDoc)}function sn(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&316===t.kind}function cn(e){for(var n=e.parent;;){switch(n.kind){case 220:var t=n.operatorToken.kind;return Gt(t)&&n.left===e?63===t||Ft(t)?1:2:0;case 218:case 219:var r=n.operator;return 45===r||46===r?2:0;case 242:case 243:return n.initializer===e?1:0;case 211:case 203:case 224:case 229:e=n;break;case 296:e=n.parent;break;case 295:if(n.name!==e)return 0;e=n.parent;break;case 294:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function ln(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function un(e){return ln(e,211)}function dn(n,t){var r=t?17:1;return e.skipOuterExpressions(n,r)}function pn(n){return jt(n)||e.isClassExpression(n)}function fn(e){return pn(mn(e))}function mn(n){return e.isExportAssignment(n)?n.expression:n.right}function _n(n){var t=gn(n);if(t&&be(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function gn(e){var n=vn(e.heritageClauses,94);return n&&n.types.length>0?n.types[0]:void 0}function yn(n){if(be(n))return e.getJSDocImplementsTags(n).map((function(e){return e.class}));var t=vn(n.heritageClauses,117);return null==t?void 0:t.types}function hn(e){var n=vn(e.heritageClauses,94);return n?n.types:void 0}function vn(e,n){if(e)for(var t=0,r=e;t0&&e.every(n.declarationList.declarations,(function(e){return Se(e)}))},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,n){return 34===h(n,e).charCodeAt(0)},e.isAssignmentDeclaration=De,e.getEffectiveInitializer=Ce,e.getDeclaredExpandoInitializer=function(e){var n=Ce(e);return n&&Ae(n,Wt(e.name))},e.getAssignedExpandoInitializer=function(n){if(n&&n.parent&&e.isBinaryExpression(n.parent)&&63===n.parent.operatorToken.kind){var t=Wt(n.parent.left);return Ae(n.parent.right,t)||function(n,t,r){var a=e.isBinaryExpression(t)&&(56===t.operatorToken.kind||60===t.operatorToken.kind)&&Ae(t.right,r);if(a&&Ie(n,t.left))return a}(n.parent.left,n.parent.right,t)}if(n&&e.isCallExpression(n)&&Me(n)){var r=function(n,t){return e.forEach(n.properties,(function(n){return e.isPropertyAssignment(n)&&e.isIdentifier(n.name)&&"value"===n.name.escapedText&&n.initializer&&Ae(n.initializer,t)}))}(n.arguments[2],"prototype"===n.arguments[1].text);if(r)return r}},e.getExpandoInitializer=Ae,e.isDefaultedExpandoInitializer=function(n){var t=e.isVariableDeclaration(n.parent)?n.parent.name:e.isBinaryExpression(n.parent)&&63===n.parent.operatorToken.kind?n.parent.left:void 0;return t&&Ae(n.right,Wt(t))&&jt(t)&&Ie(t,n.left)},e.getNameOfExpando=function(n){if(e.isBinaryExpression(n.parent)){var t=56!==n.parent.operatorToken.kind&&60!==n.parent.operatorToken.kind||!e.isBinaryExpression(n.parent.parent)?n.parent:n.parent.parent;if(63===t.operatorToken.kind&&e.isIdentifier(t.left))return t.left}else if(e.isVariableDeclaration(n.parent))return n.parent.name},e.isSameEntityName=Ie,e.getRightMostAssignedExpression=Ne,e.isExportsIdentifier=ke,e.isModuleIdentifier=Re,e.isModuleExportsAccessExpression=Oe,e.getAssignmentDeclarationKind=we,e.isBindableObjectDefinePropertyCall=Me,e.isLiteralLikeAccess=Pe,e.isLiteralLikeElementAccess=Fe,e.isBindableStaticAccessExpression=Ge,e.isBindableStaticElementAccessExpression=Be,e.isBindableStaticNameExpression=Ue,e.getNameOrArgument=Ve,e.getElementOrPropertyAccessArgumentExpressionOrName=Ke,e.getElementOrPropertyAccessName=je,e.getAssignmentDeclarationPropertyAccessKind=He,e.getInitializerOfBinaryExpression=We,e.isPrototypePropertyAssignment=function(n){return e.isBinaryExpression(n)&&3===we(n)},e.isSpecialPropertyDeclaration=function(n){return be(n)&&n.parent&&237===n.parent.kind&&(!e.isElementAccessExpression(n)||Fe(n))&&!!e.getJSDocTypeTag(n.parent)},e.setValueDeclaration=function(e,n){var t=e.valueDeclaration;(!t||(!(8388608&n.flags)||8388608&t.flags)&&De(t)&&!De(n)||t.kind!==n.kind&&L(t))&&(e.valueDeclaration=n)},e.isFunctionSymbol=function(n){if(!n||!n.valueDeclaration)return!1;var t=n.valueDeclaration;return 255===t.kind||e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionLike(t.initializer)},e.tryGetModuleSpecifierFromDeclaration=function(n){var t,r,a;switch(n.kind){case 253:return n.initializer.arguments[0].text;case 265:return null===(t=e.tryCast(n.moduleSpecifier,e.isStringLiteralLike))||void 0===t?void 0:t.text;case 264:return null===(a=e.tryCast(null===(r=e.tryCast(n.moduleReference,e.isExternalModuleReference))||void 0===r?void 0:r.expression,e.isStringLiteralLike))||void 0===a?void 0:a.text;default:e.Debug.assertNever(n)}},e.importFromModuleSpecifier=function(n){return ze(n)||e.Debug.failBadSyntaxKind(n.parent)},e.tryGetImportFromModuleSpecifier=ze,e.getExternalModuleName=Je,e.getNamespaceDeclarationNode=function(n){switch(n.kind){case 265:return n.importClause&&e.tryCast(n.importClause.namedBindings,e.isNamespaceImport);case 264:return n;case 271:return n.exportClause&&e.tryCast(n.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(n)}},e.isDefaultImport=function(e){return 265===e.kind&&!!e.importClause&&!!e.importClause.name},e.forEachImportClauseDeclaration=function(n,t){var r;if(n.name&&(r=t(n)))return r;if(n.namedBindings&&(r=e.isNamespaceImport(n.namedBindings)?t(n.namedBindings):e.forEach(n.namedBindings.elements,t)))return r},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return void 0!==e.questionToken}return!1},e.isJSDocConstructSignature=function(n){var t=e.isJSDocFunctionType(n)?e.firstOrUndefined(n.parameters):void 0,r=e.tryCast(t&&t.name,e.isIdentifier);return!!r&&"new"===r.escapedText},e.isJSDocTypeAlias=qe,e.isTypeAlias=function(n){return qe(n)||e.isTypeAliasDeclaration(n)},e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Ye,e.getSingleVariableOfVariableStatement=Qe,e.getJSDocCommentsAndTags=function(n,t){var r;re(n)&&e.hasInitializer(n)&&e.hasJSDocNodes(n.initializer)&&(r=e.addRange(r,$e(n,e.last(n.initializer.jsDoc))));for(var a=n;a&&a.parent;){if(e.hasJSDocNodes(a)&&(r=e.addRange(r,$e(n,e.last(a.jsDoc)))),163===a.kind){r=e.addRange(r,(t?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(a));break}if(162===a.kind){r=e.addRange(r,(t?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(a));break}a=nn(a)}return r||e.emptyArray},e.getNextJSDocCommentLocation=nn,e.getParameterSymbolFromJSDoc=function(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n.name)){var t=n.name.escapedText,r=tn(n);if(r){var a=e.find(r.parameters,(function(e){return 79===e.name.kind&&e.name.escapedText===t}));return a&&a.symbol}}},e.getEffectiveContainerForJSDocTemplateTag=function(n){if(e.isJSDoc(n.parent)&&n.parent.tags){var t=e.find(n.parent.tags,qe);if(t)return t}return tn(n)},e.getHostSignatureFromJSDoc=tn,e.getEffectiveJSDocHost=rn,e.getJSDocHost=an,e.getJSDocRoot=on,e.getTypeParameterFromJsDoc=function(n){var t=n.name.escapedText,r=n.parent.parent.parent.typeParameters;return r&&e.find(r,(function(e){return e.name.escapedText===t}))},e.hasRestParameter=function(n){var t=e.lastOrUndefined(n.parameters);return!!t&&sn(t)},e.isRestParameter=sn,e.hasTypeArguments=function(e){return!!e.typeArguments},(Q=e.AssignmentKind||(e.AssignmentKind={}))[Q.None=0]="None",Q[Q.Definite=1]="Definite",Q[Q.Compound=2]="Compound",e.getAssignmentTargetKind=cn,e.isAssignmentTarget=function(e){return 0!==cn(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.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.isValueSignatureDeclaration=function(n){return e.isFunctionExpression(n)||e.isArrowFunction(n)||e.isMethodOrAccessor(n)||e.isFunctionDeclaration(n)||e.isConstructorDeclaration(n)},e.walkUpParenthesizedTypes=function(e){return ln(e,190)},e.walkUpParenthesizedExpressions=un,e.walkUpParenthesizedTypesAndGetParentAndChild=function(e){for(var n;e&&190===e.kind;)n=e,e=e.parent;return[n,e]},e.skipParentheses=dn,e.isDeleteTarget=function(e){return(205===e.kind||206===e.kind)&&((e=un(e.parent))&&214===e.kind)},e.isNodeDescendantOf=function(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1},e.isDeclarationName=function(n){return!e.isSourceFile(n)&&!e.isBindingPattern(n)&&e.isDeclaration(n.parent)&&n.parent.name===n},e.getDeclarationFromName=function(n){var t=n.parent;switch(n.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(t))return t.parent;case 79:if(e.isDeclaration(t))return t.name===n?t:void 0;if(e.isQualifiedName(t)){var r=t.parent;return e.isJSDocParameterTag(r)&&r.name===t?r:void 0}var a=t.parent;return e.isBinaryExpression(a)&&0!==we(a)&&(a.left.symbol||a.symbol)&&e.getNameOfDeclaration(a)===n?a:void 0;case 80:return e.isDeclaration(t)&&t.name===n?t:void 0;default:return}},e.isLiteralComputedPropertyDeclarationName=function(n){return Sn(n)&&161===n.parent.kind&&e.isDeclaration(n.parent.parent)},e.isIdentifierName=function(e){var n=e.parent;switch(n.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return n.name===e;case 160:return n.right===e;case 202:case 269:return n.propertyName===e;case 274:case 284:return!0}return!1},e.isAliasSymbolDeclaration=function(n){return 264===n.kind||263===n.kind||266===n.kind&&!!n.name||267===n.kind||273===n.kind||269===n.kind||274===n.kind||270===n.kind&&fn(n)||e.isBinaryExpression(n)&&2===we(n)&&fn(n)||e.isPropertyAccessExpression(n)&&e.isBinaryExpression(n.parent)&&n.parent.left===n&&63===n.parent.operatorToken.kind&&pn(n.parent.right)||295===n.kind||294===n.kind&&pn(n.initializer)},e.getAliasDeclarationFromName=function e(n){switch(n.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return n.parent;case 160:do{n=n.parent}while(160===n.parent.kind);return e(n)}},e.isAliasableExpression=pn,e.exportAssignmentIsAlias=fn,e.getExportAssignmentExpression=mn,e.getPropertyAssignmentAliasLikeExpression=function(e){return 295===e.kind?e.name:294===e.kind?e.initializer:e.parent.right},e.getEffectiveBaseTypeNode=_n,e.getClassExtendsHeritageElement=gn,e.getEffectiveImplementsTypeNodes=yn,e.getAllSuperTypeNodes=function(n){return e.isInterfaceDeclaration(n)?hn(n)||e.emptyArray:e.isClassLike(n)&&e.concatenate(e.singleElementArray(_n(n)),yn(n))||e.emptyArray},e.getInterfaceBaseTypeNodes=hn,e.getHeritageClause=vn,e.getAncestor=function(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}},e.isKeyword=bn,e.isContextualKeyword=En,e.isNonContextualKeyword=Tn,e.isFutureReservedKeyword=function(e){return 117<=e&&e<=125},e.isStringANonContextualKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&Tn(t)},e.isStringAKeyword=function(n){var t=e.stringToToken(n);return void 0!==t&&bn(t)},e.isIdentifierANonContextualKeyword=function(e){var n=e.originalKeywordKind;return!!n&&!En(n)},e.isTrivia=function(e){return 2<=e&&e<=7},(Z=e.FunctionFlags||(e.FunctionFlags={}))[Z.Normal=0]="Normal",Z[Z.Generator=1]="Generator",Z[Z.Async=2]="Async",Z[Z.Invalid=4]="Invalid",Z[Z.AsyncGenerator=3]="AsyncGenerator",e.getFunctionFlags=function(e){if(!e)return 4;var n=0;switch(e.kind){case 255:case 212:case 168:e.asteriskToken&&(n|=1);case 213:xt(e,256)&&(n|=2)}return e.body||(n|=4),n},e.isAsyncFunction=function(e){switch(e.kind){case 255:case 212:case 213:case 168:return void 0!==e.body&&void 0===e.asteriskToken&&xt(e,256)}return!1},e.isStringOrNumericLiteralLike=Sn,e.isSignedNumericLiteral=xn,e.hasDynamicName=Ln,e.isDynamicName=Dn,e.getPropertyNameForPropertyNameNode=Cn,e.isPropertyNameLiteral=An,e.getTextOfIdentifierOrLiteral=In,e.getEscapedTextOfIdentifierOrLiteral=function(n){return e.isMemberName(n)?n.escapedText:e.escapeLeadingUnderscores(n.text)},e.getPropertyNameForUniqueESSymbol=function(n){return"__@".concat(e.getSymbolId(n),"@").concat(n.escapedName)},e.getSymbolNameForPrivateIdentifier=function(n,t){return"__#".concat(e.getSymbolId(n),"@").concat(t)},e.isKnownSymbol=function(n){return e.startsWith(n.escapedName,"__@")},e.isPrivateIdentifierSymbol=function(n){return e.startsWith(n.escapedName,"__#")},e.isESSymbolIdentifier=function(e){return 79===e.kind&&"Symbol"===e.escapedText},e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 163===Nn(e).kind},e.getRootDeclaration=Nn,e.nodeStartsNewLexicalEnvironment=function(e){var n=e.kind;return 170===n||212===n||255===n||213===n||168===n||171===n||172===n||260===n||303===n},e.nodeIsSynthesized=kn,e.getOriginalSourceFile=function(n){return e.getParseTreeNode(n,e.isSourceFile)||n},($=e.Associativity||(e.Associativity={}))[$.Left=0]="Left",$[$.Right=1]="Right",e.getExpressionAssociativity=function(e){var n=On(e),t=208===e.kind&&void 0!==e.arguments;return Rn(e.kind,n,t)},e.getOperatorAssociativity=Rn,e.getExpressionPrecedence=function(e){var n=On(e),t=208===e.kind&&void 0!==e.arguments;return wn(e.kind,n,t)},e.getOperator=On,(ee=e.OperatorPrecedence||(e.OperatorPrecedence={}))[ee.Comma=0]="Comma",ee[ee.Spread=1]="Spread",ee[ee.Yield=2]="Yield",ee[ee.Assignment=3]="Assignment",ee[ee.Conditional=4]="Conditional",ee[ee.Coalesce=4]="Coalesce",ee[ee.LogicalOR=5]="LogicalOR",ee[ee.LogicalAND=6]="LogicalAND",ee[ee.BitwiseOR=7]="BitwiseOR",ee[ee.BitwiseXOR=8]="BitwiseXOR",ee[ee.BitwiseAND=9]="BitwiseAND",ee[ee.Equality=10]="Equality",ee[ee.Relational=11]="Relational",ee[ee.Shift=12]="Shift",ee[ee.Additive=13]="Additive",ee[ee.Multiplicative=14]="Multiplicative",ee[ee.Exponentiation=15]="Exponentiation",ee[ee.Unary=16]="Unary",ee[ee.Update=17]="Update",ee[ee.LeftHandSide=18]="LeftHandSide",ee[ee.Member=19]="Member",ee[ee.Primary=20]="Primary",ee[ee.Highest=20]="Highest",ee[ee.Lowest=0]="Lowest",ee[ee.Invalid=-1]="Invalid",e.getOperatorPrecedence=wn,e.getBinaryOperatorPrecedence=Mn,e.getSemanticJsxChildren=function(n){return e.filter(n,(function(e){switch(e.kind){case 287:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))},e.createDiagnosticCollection=function(){var n=[],t=[],r=new e.Map,a=!1;return{add:function(i){var o;i.file?(o=r.get(i.file.fileName))||(o=[],r.set(i.file.fileName,o),e.insertSorted(t,i.file.fileName,e.compareStringsCaseSensitive)):(a&&(a=!1,n=n.slice()),o=n);e.insertSorted(o,i,Sr)},lookup:function(t){var a;a=t.file?r.get(t.file.fileName):n;if(!a)return;var i=e.binarySearch(a,t,e.identity,xr);if(i>=0)return a[i];return},getGlobalDiagnostics:function(){return a=!0,n},getDiagnostics:function(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));if(!n.length)return i;return i.unshift.apply(i,n),i}}};var Pn=/\$\{/g;e.hasInvalidEscape=function(n){return n&&!!(e.isNoSubstitutionTemplateLiteral(n)?n.templateFlags:n.head.templateFlags||e.some(n.templateSpans,(function(e){return!!e.literal.templateFlags})))};var Fn=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Gn=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Bn=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Un=new e.Map(e.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function Vn(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Kn(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return Un.get(e)||Vn(e.charCodeAt(0))}function jn(e,n){var t=96===n?Bn:39===n?Gn:Fn;return e.replace(t,Kn)}e.escapeString=jn;var Hn=/[^\u0000-\u007F]/g;function Wn(e,n){return e=jn(e,n),Hn.test(e)?e.replace(Hn,(function(e){return Vn(e.charCodeAt(0))})):e}e.escapeNonAsciiString=Wn;var zn=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Jn=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,qn=new e.Map(e.getEntries({'"':""","'":"'"}));function Xn(e){return 0===e.charCodeAt(0)?"�":qn.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Yn(e,n){var t=39===n?Jn:zn;return e.replace(t,Xn)}e.escapeJsxAttributeString=Yn,e.stripQuotes=function(e){var n,t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e},e.isIntrinsicJsxName=function(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")||e.stringContains(n,":")};var Qn=[""," "];function Zn(e){for(var n=Qn[1],t=Qn.length;t<=e;t++)Qn.push(Qn[t-1]+n);return Qn[e]}function $n(){return Qn[1].length}function et(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function nt(e,n,t){return n.moduleName||rt(e,n.fileName,t&&t.fileName)}function tt(n,t){return n.getCanonicalFileName(e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()))}function rt(n,t,r){var a=function(e){return n.getCanonicalFileName(e)},i=e.toPath(r?e.getDirectoryPath(r):n.getCommonSourceDirectory(),n.getCurrentDirectory(),a),o=e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),s=la(e.getRelativePathToDirectoryOrUrl(i,o,i,a,!1));return r?e.ensurePathIsNonModuleName(s):s}function at(e,n,t,r,a){var i=n.declarationDir||n.outDir,o=i?lt(e,i,t,r,a):e,s=it(o);return la(o)+s}function it(n){return e.fileExtensionIsOneOf(n,[".mjs",".mts"])?".d.mts":e.fileExtensionIsOneOf(n,[".cjs",".cts"])?".d.cts":e.fileExtensionIsOneOf(n,[".json"])?".json.d.ts":".d.ts"}function ot(e){return e.outFile||e.out}function st(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&ve(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&(t||!(j(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&!n.isSourceOfProjectReferenceRedirect(e.fileName))}function ct(e,n,t){return lt(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function lt(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r);return o=0===i(o).indexOf(i(a))?o.substring(a.length):o,e.combinePaths(t,o)}function ut(n,t,r){n.length>e.getRootLength(n)&&!r(n)&&(ut(e.getDirectoryPath(n),t,r),t(n))}function dt(n,t){return e.computeLineOfPosition(n,t)}function pt(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&p(n.body)}))}function ft(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&mt(e.parameters[0]);return e.parameters[n?1:0]}}function mt(e){return _t(e.name)}function _t(e){return!!e&&79===e.kind&>(e)}function gt(e){return 108===e.originalKeywordKind}function yt(n){if(be(n)||!e.isFunctionDeclaration(n)){var t=n.type;return t||!be(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}}function ht(e,n,t,r){vt(e,n,t.pos,r)}function vt(e,n,t,r){r&&r.length&&t!==r[0].pos&&dt(e,t)!==dt(e,r[0].pos)&&n.writeLine()}function bt(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var c=!1,l=0,u=r;l=0&&e.kind<=159?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|wt(e)),!n||4096&e.modifierFlagsCache||!t&&!be(e)||!e.parent||(e.modifierFlagsCache|=4096|Ot(e)),-536875009&e.modifierFlagsCache)}function kt(e){return Nt(e,!0)}function Rt(e){return Nt(e,!1)}function Ot(n){var t=0;return n.parent&&!e.isParameter(n)&&(be(n)&&(e.getJSDocPublicTagNoCache(n)&&(t|=4),e.getJSDocPrivateTagNoCache(n)&&(t|=8),e.getJSDocProtectedTagNoCache(n)&&(t|=16),e.getJSDocReadonlyTagNoCache(n)&&(t|=64),e.getJSDocOverrideTagNoCache(n)&&(t|=16384)),e.getJSDocDeprecatedTagNoCache(n)&&(t|=8192)),t}function wt(e){var n=Mt(e.modifiers);return(4&e.flags||79===e.kind&&e.isInJSDocNamespace)&&(n|=1),n}function Mt(e){var n=0;if(e)for(var t=0,r=e;t=63&&e<=78}function Bt(e){var n=Ut(e);return n&&!n.isImplements?n.class:void 0}function Ut(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:117===n.parent.token}:void 0}function Vt(n,t){return e.isBinaryExpression(n)&&(t?63===n.operatorToken.kind:Gt(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function Kt(e){return void 0!==Bt(e)}function jt(e){return 79===e.kind||Ht(e)}function Ht(n){return e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)&&jt(n.expression)}function Wt(e){return Ge(e)&&"prototype"===je(e)}e.getIndentString=Zn,e.getIndentSize=$n,e.createTextWriter=function(n){var t,r,a,i,o,s=!1;function c(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length==0):a=!1}function l(e){e&&e.length&&(a&&(e=Zn(r)+e,a=!1),t+=e,c(e))}function u(e){e&&(s=!1),l(e)}function d(){t="",r=0,a=!0,i=0,o=0,s=!1}return d(),{write:u,rawWrite:function(e){void 0!==e&&(t+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&u(e)},writeLine:function(e){a&&!e||(i++,o=(t+=n).length,a=!0,s=!1)},increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*$n():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:d,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:function(e,n){return u(e)},writeTrailingSemicolon:u,writeComment:function(e){e&&(s=!0),l(e)},getTextPosWithWriteLine:function(){return a?t.length:t.length+n.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return wr(wr({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},e.hostUsesCaseSensitiveFileNames=et,e.hostGetCanonicalFileName=function(n){return e.createGetCanonicalFileName(et(n))},e.getResolvedExternalModuleName=nt,e.getExternalModuleNameFromDeclaration=function(n,t,r){var a=t.getExternalModuleFileFromDeclaration(r);if(a&&!a.isDeclarationFile){var i=Je(r);if(!i||!e.isStringLiteralLike(i)||e.pathIsRelative(i.text)||-1!==tt(n,a.path).indexOf(tt(n,e.ensureTrailingDirectorySeparator(n.getCommonSourceDirectory()))))return nt(n,a)}},e.getExternalModuleNameFromPath=rt,e.getOwnEmitOutputFilePath=function(e,n,t){var r=n.getCompilerOptions();return(r.outDir?la(ct(e,n,r.outDir)):la(e))+t},e.getDeclarationEmitOutputFilePath=function(e,n){return at(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=at,e.getDeclarationEmitExtensionForPath=it,e.outFile=ot,e.getPathsBasePath=function(n,t){var r,a;if(n.paths)return null!==(r=n.baseUrl)&&void 0!==r?r:e.Debug.checkDefined(n.pathsBasePath||(null===(a=t.getCurrentDirectory)||void 0===a?void 0:a.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")},e.getSourceFilesToEmit=function(n,t,r){var a=n.getCompilerOptions();if(ot(a)){var i=Cr(a),o=a.emitDeclarationOnly||i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(t){return(o||!e.isExternalModule(t))&&st(t,n,r)}))}var s=void 0===t?n.getSourceFiles():[t];return e.filter(s,(function(e){return st(e,n,r)}))},e.sourceFileMayBeEmitted=st,e.getSourceFilePathInNewDir=ct,e.getSourceFilePathInNewDirWorker=lt,e.writeFile=function(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(Er(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)},e.writeFileEnsuringDirectories=function(n,t,r,a,i,o){try{a(n,t,r)}catch(s){ut(e.getDirectoryPath(e.normalizePath(n)),i,o),a(n,t,r)}},e.getLineOfLocalPosition=function(n,t){var r=e.getLineStarts(n);return e.computeLineOfPosition(r,t)},e.getLineOfLocalPositionFromLineMap=dt,e.getFirstConstructorWithBody=pt,e.getSetAccessorValueParameter=ft,e.getSetAccessorTypeAnnotationNode=function(e){var n=ft(e);return n&&n.type},e.getThisParameter=function(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(mt(t))return t}},e.parameterIsThisKeyword=mt,e.isThisIdentifier=_t,e.isThisInTypeQuery=function(n){if(!_t(n))return!1;for(;e.isQualifiedName(n.parent)&&n.parent.left===n;)n=n.parent;return 180===n.parent.kind},e.identifierIsThisKeyword=gt,e.getAllAccessorDeclarations=function(n,t){var r,a,i,o;return Ln(t)?(r=t,171===t.kind?i=t:172===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){e.isAccessor(n)&&Lt(n)===Lt(t)&&(Cn(n.name)===Cn(t.name)&&(r?a||(a=n):r=n,171!==n.kind||i||(i=n),172!==n.kind||o||(o=n)))})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}},e.getEffectiveTypeAnnotationNode=yt,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(be(n)?e.getJSDocReturnType(n):void 0)},e.getJSDocTypeParameterDeclarations=function(n){return e.flatMap(e.getJSDocTags(n),(function(n){return function(n){return e.isJSDocTemplateTag(n)&&!(318===n.parent.kind&&n.parent.tags.some(qe))}(n)?n.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var n=ft(e);return n&&yt(n)},e.emitNewLineBeforeLeadingComments=ht,e.emitNewLineBeforeLeadingCommentsOfPosition=vt,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&dt(e,t)!==dt(e,r)&&n.writeLine()},e.emitComments=bt,e.emitDetachedComments=function(n,t,r,a,i,o,s){var c,l;if(s?0===i.pos&&(c=e.filter(e.getLeadingCommentRanges(n,i.pos),(function(e){return g(n,e.pos)}))):c=e.getLeadingCommentRanges(n,i.pos),c){for(var u=[],d=void 0,p=0,f=c;p=_+2)break}u.push(m),d=m}if(u.length){_=dt(t,e.last(u).end);dt(t,e.skipTrivia(n,i.pos))>=_+2&&(ht(t,r,i,c),bt(n,t,r,u,!1,!0,o,a),l={nodePos:i.pos,detachedCommentEndPos:e.last(u).end})}}return l},e.writeCommentRange=function(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),c=t.length,l=void 0,u=a,d=s.line;u0){var m=f%$n(),_=Zn((f-m)/$n());for(r.rawWrite(_);m;)r.rawWrite(" "),m--}else r.rawWrite("")}Et(n,i,r,o,u,p),u=p}else r.writeComment(n.substring(a,i))},e.hasEffectiveModifiers=function(e){return 0!==kt(e)},e.hasSyntacticModifiers=function(e){return 0!==Rt(e)},e.hasEffectiveModifier=St,e.hasSyntacticModifier=xt,e.isStatic=Lt,e.hasStaticModifier=Dt,e.hasOverrideModifier=function(e){return St(e,16384)},e.hasAbstractModifier=function(e){return xt(e,128)},e.hasAmbientModifier=function(e){return xt(e,2)},e.hasEffectiveReadonlyModifier=Ct,e.getSelectedEffectiveModifierFlags=At,e.getSelectedSyntacticModifierFlags=It,e.getEffectiveModifierFlags=kt,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return Nt(e,!0,!0)},e.getSyntacticModifierFlags=Rt,e.getEffectiveModifierFlagsNoCache=function(e){return wt(e)|Ot(e)},e.getSyntacticModifierFlagsNoCache=wt,e.modifiersToFlags=Mt,e.modifierToFlag=Pt,e.createModifiers=function(n){return n?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(n)):void 0},e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isLogicalOrCoalescingAssignmentOperator=Ft,e.isLogicalOrCoalescingAssignmentExpression=function(e){return Ft(e.operatorToken.kind)},e.isAssignmentOperator=Gt,e.tryGetClassExtendingExpressionWithTypeArguments=Bt,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Ut,e.isAssignmentExpression=Vt,e.isLeftHandSideOfAssignment=function(e){return Vt(e.parent)&&e.parent.left===e},e.isDestructuringAssignment=function(e){if(Vt(e,!0)){var n=e.left.kind;return 204===n||203===n}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=Kt,e.isEntityNameExpression=jt,e.getFirstIdentifier=function(e){switch(e.kind){case 79:return e;case 160:do{e=e.left}while(79!==e.kind);return e;case 205:do{e=e.expression}while(79!==e.kind);return e}},e.isDottedName=function e(n){return 79===n.kind||108===n.kind||106===n.kind||230===n.kind||205===n.kind&&e(n.expression)||211===n.kind&&e(n.expression)},e.isPropertyAccessEntityNameExpression=Ht,e.tryGetPropertyAccessOrIdentifierToString=function n(t){if(e.isPropertyAccessExpression(t)){if(void 0!==(r=n(t.expression)))return r+"."+F(t.name)}else if(e.isElementAccessExpression(t)){var r;if(void 0!==(r=n(t.expression))&&e.isPropertyName(t.argumentExpression))return r+"."+Cn(t.argumentExpression)}else if(e.isIdentifier(t))return e.unescapeLeadingUnderscores(t.escapedText)},e.isPrototypeAccess=Wt,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 160===e.parent.kind&&e.parent.right===e||205===e.parent.kind&&e.parent.name===e},e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=function(n){return e.isQualifiedName(n.parent)&&n.parent.right===n||e.isPropertyAccessExpression(n.parent)&&n.parent.name===n||e.isJSDocMemberName(n.parent)&&n.parent.right===n},e.isEmptyObjectLiteral=function(e){return 204===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 203===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(n){if(function(n){return n&&e.length(n.declarations)>0&&xt(n.declarations[0],512)}(n)&&n.declarations)for(var t=0,r=n.declarations;t>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}(n),c=0,l=s.length;c>2,r=(3&s[c])<<4|s[c+1]>>4,a=(15&s[c+1])<<2|s[c+2]>>6,i=63&s[c+2],c+1>=l?a=i=64:c+2>=l&&(i=64),o+=zt.charAt(t)+zt.charAt(r)+zt.charAt(a)+zt.charAt(i),c+=3;return o}e.convertToBase64=Jt,e.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):Jt(n)},e.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a>4&3,u=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===u&&0!==s?r.push(l):0===d&&0!==c?r.push(l,u):r.push(l,u,d),a+=4}return function(e){for(var n="",t=0,r=e.length;t=n||-1===t),{pos:n,end:t}}function Qt(e,n){return Yt(n,e.end)}function Zt(e){return e.decorators&&e.decorators.length>0?Qt(e,e.decorators.end):e}function $t(e,n,t){return er(nr(e,t,!1),n.end,t)}function er(n,t,r){return 0===e.getLinesBetweenPositions(r,n,t)}function nr(n,t,r){return fa(n.pos)?-1:e.skipTrivia(t.text,n.pos,!1,r)}function tr(e){return void 0!==e.initializer}function rr(e){return 33554432&e.flags?e.checkFlags:0}function ar(n){var t=n.parent;if(!t)return 0;switch(t.kind){case 211:case 203:return ar(t);case 219:case 218:var r=t.operator;return 45===r||46===r?c():0;case 220:var a=t,i=a.left,o=a.operatorToken;return i===n&&Gt(o.kind)?63===o.kind?1:c():0;case 205:return t.name!==n?0:ar(t);case 294:var s=ar(t.parent);return n===t.name?function(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}(s):s;case 295:return n===t.objectAssignmentInitializer?0:ar(t.parent);default:return 0}function c(){return t.parent&&237===un(t.parent).kind?1:2}}function ir(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function or(n){var t;return null===(t=n.declarations)||void 0===t?void 0:t.find(e.isClassLike)}function sr(e){return 205===e.kind||206===e.kind}function cr(e){for(;sr(e);)e=e.expression;return e}function lr(e,n){this.flags=e,this.escapedName=n,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function ur(n,t){this.flags=t,(e.Debug.isDebugging||e.tracing)&&(this.checker=n)}function dr(n,t){this.flags=t,e.Debug.isDebugging&&(this.checker=n)}function pr(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function fr(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function mr(e,n,t){this.pos=n,this.end=t,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function _r(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||function(e){return e}}function gr(n,t,r){return void 0===r&&(r=0),n.replace(/{(\d+)}/g,(function(n,a){return""+e.Debug.checkDefined(t[+a+r])}))}function yr(n){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[n.key]||n.message}function hr(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function vr(n,t){var r=t.fileName||"",a=t.text.length;e.Debug.assertEqual(n.fileName,r),e.Debug.assertLessThanOrEqual(n.start,a),e.Debug.assertLessThanOrEqual(n.start+n.length,a);var i={file:t,start:n.start,length:n.length,messageText:n.messageText,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary};if(n.relatedInformation){i.relatedInformation=[];for(var o=0,s=n.relatedInformation;o4&&(a=gr(a,arguments,4)),{file:e,start:n,length:t,messageText:a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function Er(e){var n=yr(e);return arguments.length>1&&(n=gr(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function Tr(e){return e.file?e.file.path:void 0}function Sr(n,t){return xr(n,t)||function(n,t){if(!n.relatedInformation&&!t.relatedInformation)return 0;if(n.relatedInformation&&t.relatedInformation)return e.compareValues(n.relatedInformation.length,t.relatedInformation.length)||e.forEach(n.relatedInformation,(function(e,n){return Sr(e,t.relatedInformation[n])}))||0;return n.relatedInformation?-1:1}(n,t)||0}function xr(n,t){return e.compareStringsCaseSensitive(Tr(n),Tr(t))||e.compareValues(n.start,t.start)||e.compareValues(n.length,t.length)||e.compareValues(n.code,t.code)||Lr(n.messageText,t.messageText)||0}function Lr(n,t){if("string"==typeof n&&"string"==typeof t)return e.compareStringsCaseSensitive(n,t);if("string"==typeof n)return-1;if("string"==typeof t)return 1;var r=e.compareStringsCaseSensitive(n.messageText,t.messageText);if(r)return r;if(!n.next&&!t.next)return 0;if(!n.next)return-1;if(!t.next)return 1;for(var a=Math.min(n.next.length,t.next.length),i=0;it.next.length?1:0}function Dr(n){return n.target||n.module===e.ModuleKind.Node12&&7||n.module===e.ModuleKind.NodeNext&&99||0}function Cr(n){return"number"==typeof n.module?n.module:Dr(n)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function Ar(n){if(void 0!==n.esModuleInterop)return n.esModuleInterop;switch(Cr(n)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}function Ir(e){return!(!e.declaration&&!e.composite)}function Nr(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function kr(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function Rr(e,n){return n.strictFlag?Nr(e,n.name):e[n.name]}function Mr(n,t,r,a){for(var i=e.getPathComponents(e.getNormalizedAbsolutePath(n,r)),o=e.getPathComponents(e.getNormalizedAbsolutePath(t,r)),s=!1;i.length>=2&&o.length>=2&&!Pr(i[i.length-2],a)&&!Pr(o[o.length-2],a)&&a(i[i.length-1])===a(o[o.length-1]);)i.pop(),o.pop(),s=!0;return s?[e.getPathFromPathComponents(i),e.getPathFromPathComponents(o)]:void 0}function Pr(n,t){return void 0!==n&&("node_modules"===t(n)||e.startsWith(n,"@"))}e.getNewLineCharacter=function(n,t){switch(n.newLine){case 0:return"\r\n";case 1:return"\n"}return t?t():e.sys?e.sys.newLine:"\r\n"},e.createRange=Yt,e.moveRangeEnd=function(e,n){return Yt(e.pos,n)},e.moveRangePos=Qt,e.moveRangePastDecorators=Zt,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Qt(e,e.modifiers.end):Zt(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(n,t){return Yt(n,n+e.tokenToString(t).length)},e.rangeIsOnSingleLine=function(e,n){return $t(e,e,n)},e.rangeStartPositionsAreOnSameLine=function(e,n,t){return er(nr(e,t,!1),nr(n,t,!1),t)},e.rangeEndPositionsAreOnSameLine=function(e,n,t){return er(e.end,n.end,t)},e.rangeStartIsOnSameLineAsRangeEnd=$t,e.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return er(e.end,nr(n,t,!1),t)},e.getLinesBetweenRangeEndAndRangeStart=function(n,t,r,a){var i=nr(t,r,a);return e.getLinesBetweenPositions(r,n.end,i)},e.getLinesBetweenRangeEndPositions=function(n,t,r){return e.getLinesBetweenPositions(r,n.end,t.end)},e.isNodeArrayMultiLine=function(e,n){return!er(e.pos,e.end,n)},e.positionsAreOnSameLine=er,e.getStartPositionOfRange=nr,e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a),o=function(n,t,r){void 0===t&&(t=0);for(;n-- >t;)if(!e.isWhiteSpaceLike(r.text.charCodeAt(n)))return n}(i,t,r);return e.getLinesBetweenPositions(r,null!=o?o:t,i)},e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(n,t,r,a){var i=e.skipTrivia(r.text,n,!1,a);return e.getLinesBetweenPositions(r,n,Math.min(t,i))},e.isDeclarationNameOfEnumOrNamespace=function(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 259:case 260:return t===t.parent.name}return!1},e.getInitializedVariables=function(n){return e.filter(n.declarations,tr)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=rr,e.getDeclarationModifierFlagsFromSymbol=function(n,t){if(void 0===t&&(t=!1),n.valueDeclaration){var r=t&&n.declarations&&e.find(n.declarations,(function(e){return 172===e.kind}))||n.valueDeclaration,a=e.getCombinedModifierFlags(r);return n.parent&&32&n.parent.flags?a:-29&a}if(6&rr(n)){var i=n.checkFlags;return(1024&i?8:256&i?4:16)|(2048&i?32:0)}return 4194304&n.flags?36:0},e.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===ar(e)},e.isWriteAccess=function(e){return 0!==ar(e)},(Xt=qt||(qt={}))[Xt.Read=0]="Read",Xt[Xt.Write=1]="Write",Xt[Xt.ReadWrite=2]="ReadWrite",e.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"==typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!=typeof n[r]&&n[r]!==t[r])return!1;return!0},e.clearMap=function(e,n){e.forEach(n),e.clear()},e.mutateMapSkippingNewValues=ir,e.mutateMap=function(e,n,t){ir(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},e.isAbstractConstructorSymbol=function(e){if(32&e.flags){var n=or(e);return!!n&&xt(n,128)}return!1},e.getClassLikeDeclarationOfSymbol=or,e.getObjectFlags=function(e){return 3899393&e.flags?e.objectFlags:0},e.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(n,t){return!!e.forEachAncestorDirectory(n,(function(e){return!!t(e)||void 0}))},e.isUMDExportSymbol=function(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])},e.showModuleSpecifier=function(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:b(t)},e.getLastChild=function(n){var t;return e.forEachChild(n,(function(e){p(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(p(e[n])){t=e[n];break}})),t},e.addToSeen=function(e,n,t){return void 0===t&&(t=!0),!e.has(n)&&(e.set(n,t),!0)},e.isObjectTypeDeclaration=function(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)},e.isTypeNodeKind=function(e){return e>=176&&e<=199||130===e||154===e||146===e||157===e||147===e||133===e||149===e||150===e||114===e||152===e||143===e||227===e||310===e||311===e||312===e||313===e||314===e||315===e||316===e},e.isAccessExpression=sr,e.getNameOfAccessExpression=function(n){return 205===n.kind?n.name:(e.Debug.assert(206===n.kind),n.argumentExpression)},e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.isNamedImportsOrExports=function(e){return 268===e.kind||272===e.kind},e.getLeftmostAccessExpression=cr,e.getLeftmostExpression=function(e,n){for(;;){switch(e.kind){case 219:e=e.operand;continue;case 220:e=e.left;continue;case 221:e=e.condition;continue;case 209:e=e.tag;continue;case 207:if(n)return e;case 228:case 206:case 205:case 229:case 348:e=e.expression;continue}return e}},e.objectAllocator={getNodeConstructor:function(){return pr},getTokenConstructor:function(){return fr},getIdentifierConstructor:function(){return mr},getPrivateIdentifierConstructor:function(){return pr},getSourceFileConstructor:function(){return pr},getSymbolConstructor:function(){return lr},getTypeConstructor:function(){return ur},getSignatureConstructor:function(){return dr},getSourceMapSourceConstructor:function(){return _r}},e.setObjectAllocator=function(n){e.objectAllocator=n},e.formatStringFromArgs=gr,e.setLocalizedDiagnosticMessages=function(n){e.localizedDiagnosticMessages=n},e.getLocaleSpecificMessage=yr,e.createDetachedDiagnostic=function(e,n,t,r){B(void 0,n,t);var a=yr(r);return arguments.length>4&&(a=gr(a,arguments,4)),{file:void 0,start:n,length:t,messageText:a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}},e.attachFileToDiagnostics=function(e,n){for(var t=[],r=0,a=e;r2&&(t=gr(t,arguments,2)),t},e.createCompilerDiagnostic=Er,e.createCompilerDiagnosticFromMessageChain=function(e,n){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:n}},e.chainDiagnosticMessages=function(e,n){var t=yr(n);return arguments.length>2&&(t=gr(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},e.compareDiagnostics=Sr,e.compareDiagnosticsSkipRelatedInformation=xr,e.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},e.getEmitScriptTarget=Dr,e.getEmitModuleKind=Cr,e.getEmitModuleResolutionKind=function(n){var t=n.moduleResolution;if(void 0===t)switch(Cr(n)){case e.ModuleKind.CommonJS:t=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:t=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:t=e.ModuleResolutionKind.NodeNext;break;default:t=e.ModuleResolutionKind.Classic}return t},e.hasJsonModuleEmitEnabled=function(n){switch(Cr(n)){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.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!Ir(e)||!e.declarationMap)},e.getESModuleInterop=Ar,e.getAllowSyntheticDefaultImports=function(n){var t=Cr(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:Ar(n)||t===e.ModuleKind.System},e.getEmitDeclarations=Ir,e.shouldPreserveConstEnums=function(e){return!(!e.preserveConstEnums&&!e.isolatedModules)},e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=Nr,e.getAllowJSCompilerOption=kr,e.getUseDefineForClassFields=function(e){return void 0===e.useDefineForClassFields?99===Dr(e):e.useDefineForClassFields},e.compilerOptionsAffectSemanticDiagnostics=function(n,t){return o(t,n,e.semanticDiagnosticsOptionDeclarations)},e.compilerOptionsAffectEmit=function(n,t){return o(t,n,e.affectsEmitOptionDeclarations)},e.getCompilerOptionValue=Rr,e.getJSXTransformEnabled=function(e){var n=e.jsx;return 2===n||4===n||5===n},e.getJSXImplicitImportBase=function(n,t){var r=null==t?void 0:t.pragmas.get("jsximportsource"),a=e.isArray(r)?r[r.length-1]:r;return 4===n.jsx||5===n.jsx||n.jsxImportSource||a?(null==a?void 0:a.arguments.factory)||n.jsxImportSource||"react":void 0},e.getJSXRuntimeImport=function(e,n){return e?"".concat(e,"/").concat(5===n.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0},e.hasZeroOrOneAsteriskCharacter=function(e){for(var n=!1,t=0;t0;)c+=")?",p--;return c}}function Xr(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function Yr(n,t,r,a,i){n=e.normalizePath(n),i=e.normalizePath(i);var o=e.combinePaths(i,n);return{includeFilePatterns:e.map(zr(r,o,"files"),(function(e){return"^".concat(e,"$")})),includeFilePattern:Wr(r,o,"files"),includeDirectoryPattern:Wr(r,o,"directories"),excludePattern:Wr(t,o,"exclude"),basePaths:Zr(n,r,a)}}function Qr(e,n){return new RegExp(e,n?"":"i")}function Zr(n,t,r){var a=[n];if(t){for(var i=[],o=0,s=t;o=0)}function ma(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e}function _a(n){return e.find(ca,(function(t){return e.fileExtensionIs(n,t)}))}function ga(n,t){return n===t||"object"==typeof n&&null!==n&&"object"==typeof t&&null!==t&&e.equalOwnProperties(n,t,ga)}function ya(e,n){return e.pos=n,e}function ha(e,n){return e.end=n,e}function va(e,n,t){return ha(ya(e,n),t)}function ba(e,n){return e&&n&&(e.parent=n),e}function Ea(n){return!e.isOmittedExpression(n)}function Ta(n){return e.some(e.ignoredPaths,(function(t){return e.stringContains(n,t)}))}function Sa(e){return 253===e.kind&&291===e.parent.kind}e.removeFileExtension=la,e.tryRemoveExtension=ua,e.removeExtension=da,e.changeExtension=function(n,t){return e.changeAnyExtension(n,t,ca,!1)},e.tryParsePattern=pa,e.tryParsePatterns=function(n){return e.mapDefined(e.getOwnKeys(n),(function(e){return pa(e)}))},e.positionIsSynthesized=fa,e.extensionIsTS=ma,e.resolutionExtensionIsTSOrJson=function(e){return ma(e)||".json"===e},e.extensionFromPath=function(n){var t=_a(n);return void 0!==t?t:e.Debug.fail("File ".concat(n," has unknown extension."))},e.isAnySupportedFileExtension=function(e){return void 0!==_a(e)},e.tryGetExtensionFromPath=_a,e.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(n,t){for(var r=[],a=0,i=n;aa&&(a=o)}return{min:r,max:a}},e.rangeOfNode=function(e){return{pos:y(e),end:e.end}},e.rangeOfTypeParameters=function(n,t){return{pos:t.pos-1,end:e.skipTrivia(n.text,t.end)+1}},e.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=ga,e.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,c=0;s>=2;s--,c+=n){var l=c>>>4,u=e.charCodeAt(s),d=(u<=57?u-48:10+u-(u<=70?65:97))<<(15&c);o[l]|=d;var p=d>>>16;p&&(o[l+1]|=p)}for(var f="",m=o.length-1,_=!0;_;){var g=0;_=!1;for(l=m;l>=0;l--){var y=g<<16|o[l],h=y/10|0;o[l]=h,g=y-10*h,h&&!_&&(m=l,_=!0)}f=g+f}return f},e.pseudoBigIntToString=function(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t},e.isValidTypeOnlyAliasUseSite=function(n){return!!(8388608&n.flags)||ye(n)||function(n){if(79!==n.kind)return!1;var t=e.findAncestor(n.parent,(function(e){switch(e.kind){case 290:return!0;case 205:case 227:return!1;default:return"quit"}}));return 117===(null==t?void 0:t.token)||257===(null==t?void 0:t.parent.kind)}(n)||function(e){for(;79===e.kind||205===e.kind;)e=e.parent;if(161!==e.kind)return!1;if(xt(e.parent,128))return!0;var n=e.parent.parent.kind;return 257===n||181===n}(n)||!(_e(n)||function(n){return e.isIdentifier(n)&&e.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n}(n))},e.isIdentifierTypeReference=function(n){return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)},e.arrayIsHomogeneous=function(n,t){if(void 0===t&&(t=e.equateValues),n.length<2)return!0;for(var r=n[0],a=1,i=n.length;a3)return!0;var l=e.getExpressionPrecedence(c);switch(e.compareValues(l,o)){case-1:return!(!r&&1===s&&223===t.kind);case 1:return!1;case 0:if(r)return 1===s;if(e.isBinaryExpression(c)&&c.operatorToken.kind===n){if(function(e){return 41===e||51===e||50===e||52===e}(n))return!1;if(39===n){var u=i?a(i):0;if(e.isLiteralKind(u)&&u===a(c))return!1}}return 0===e.getExpressionAssociativity(c)}}(t,r,i,o)?n.createParenthesizedExpression(r):r}function o(e,n){return i(e,n,!0)}function s(e,n,t){return i(e,t,!1,n)}function c(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isLeftHandSideExpression(r)&&(208!==r.kind||r.arguments)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function l(t){var r=e.skipPartiallyEmittedExpressions(t);return e.getExpressionPrecedence(r)>e.getOperatorPrecedence(220,27)?t:e.setTextRange(n.createParenthesizedExpression(t),t)}function u(e){return 188===e.kind?n.createParenthesizedType(e):e}function d(e){switch(e.kind){case 186:case 187:case 178:case 179:return n.createParenthesizedType(e)}return u(e)}function p(t,r){return 0===r&&e.isFunctionOrConstructorTypeNode(t)&&t.typeParameters?n.createParenthesizedType(t):t}},e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(n){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(n){return e.identity},parenthesizeLeftSideOfBinary:function(e,n){return n},parenthesizeRightSideOfBinary:function(e,n,t){return t},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(n){return e.cast(n,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(n){return e.cast(n,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(n){return e.cast(n,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(n){return e.cast(n,e.isNodeArray)},parenthesizeTypeArguments:function(n){return n&&e.cast(n,e.isNodeArray)}}}(Br||(Br={})),function(e){e.createNodeConverters=function(n){return{convertToFunctionBlock:function(t,r){if(e.isBlock(t))return t;var a=n.createReturnStatement(t);e.setTextRange(a,t);var i=n.createBlock([a],r);return e.setTextRange(i,t),i},convertToFunctionExpression:function(t){if(!t.body)return e.Debug.fail("Cannot convert a FunctionDeclaration without a body");var r=n.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);e.setOriginalNode(r,t),e.setTextRange(r,t),e.getStartsOnNewLine(t)&&e.setStartsOnNewLine(r,!0);return r},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:r,convertToAssignmentPattern:a,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadElement(t.name),t),t);var r=s(t.name);return t.initializer?e.setOriginalNode(e.setTextRange(n.createAssignment(r,t.initializer),t),t):r}return e.cast(t,e.isExpression)}function r(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createSpreadAssignment(t.name),t),t);if(t.propertyName){var r=s(t.name);return e.setOriginalNode(e.setTextRange(n.createPropertyAssignment(t.propertyName,t.initializer?n.createAssignment(r,t.initializer):r),t),t)}return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(n.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return e.cast(t,e.isObjectLiteralElementLike)}function a(e){switch(e.kind){case 201:case 203:return o(e);case 200:case 204:return i(e)}}function i(t){return e.isObjectBindingPattern(t)?e.setOriginalNode(e.setTextRange(n.createObjectLiteralExpression(e.map(t.elements,r)),t),t):e.cast(t,e.isObjectLiteralExpression)}function o(r){return e.isArrayBindingPattern(r)?e.setOriginalNode(e.setTextRange(n.createArrayLiteralExpression(e.map(r.elements,t)),r),r):e.cast(r,e.isArrayLiteralExpression)}function s(n){return e.isBindingPattern(n)?a(n):e.cast(n,e.isExpression)}},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}}(Br||(Br={})),function(e){var n,t,r=0;function a(n,a){var f=8&n?i:o,m=e.memoize((function(){return 1&n?e.nullParenthesizerRules:e.createParenthesizerRules(C)})),_=e.memoize((function(){return 2&n?e.nullNodeConverters:e.createNodeConverters(C)})),g=e.memoizeOne((function(e){return function(n,t){return Mn(n,e,t)}})),y=e.memoizeOne((function(e){return function(n){return On(e,n)}})),v=e.memoizeOne((function(e){return function(n){return wn(n,e)}})),b=e.memoizeOne((function(e){return function(){return function(e){return I(e)}(e)}})),E=e.memoizeOne((function(e){return function(n){return nr(e,n)}})),T=e.memoizeOne((function(e){return function(n,t){return function(e,n,t){return n.type!==t?f(nr(e,t),n):n}(e,n,t)}})),S=e.memoizeOne((function(e){return function(n,t){return Er(e,n,t)}})),x=e.memoizeOne((function(e){return function(n,t,r){return function(e,n,t,r){void 0===t&&(t=or(n));return n.tagName!==t||n.comment!==r?f(Er(e,t,r),n):n}(e,n,t,r)}})),L=e.memoizeOne((function(e){return function(n,t,r){return Tr(e,n,t,r)}})),D=e.memoizeOne((function(e){return function(n,t,r,a){return function(e,n,t,r,a){void 0===t&&(t=or(n));return n.tagName!==t||n.typeExpression!==r||n.comment!==a?f(Tr(e,t,r,a),n):n}(e,n,t,r,a)}})),C={get parenthesizer(){return m()},get converters(){return _()},createNodeArray:A,createNumericLiteral:K,createBigIntLiteral:j,createStringLiteral:W,createStringLiteralFromNode:function(n){var t=H(e.getTextOfIdentifierOrLiteral(n),void 0);return t.textSourceNode=n,t},createRegularExpressionLiteral:z,createLiteralLikeNode:function(e,n){switch(e){case 8:return K(n,0);case 9:return j(n);case 10:return W(n,void 0);case 11:return kr(n,!1);case 12:return kr(n,!0);case 13:return z(n);case 14:return Un(e,n,void 0,0)}},createIdentifier:X,updateIdentifier:function(n,t){return n.typeArguments!==t?f(X(e.idText(n),t),n):n},createTempVariable:Y,createLoopVariable:function(e){var n=2;e&&(n|=8);return q("",n)},createUniqueName:function(n,t){void 0===t&&(t=0);return e.Debug.assert(!(7&t),"Argument out of range: flags"),e.Debug.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),q(n,3|t)},getGeneratedNameForNode:Q,createPrivateIdentifier:function(n){e.startsWith(n,"#")||e.Debug.fail("First character of private identifier must be #: "+n);var t=a.createBasePrivateIdentifierNode(80);return t.escapedText=e.escapeLeadingUnderscores(n),t.transformFlags|=8388608,t},createToken:$,createSuper:function(){return $(106)},createThis:ee,createNull:function(){return $(104)},createTrue:ne,createFalse:te,createModifier:re,createModifiersFromModifierFlags:ae,createQualifiedName:ie,updateQualifiedName:function(e,n,t){return e.left!==n||e.right!==t?f(ie(n,t),e):e},createComputedPropertyName:oe,updateComputedPropertyName:function(e,n){return e.expression!==n?f(oe(n),e):e},createTypeParameterDeclaration:se,updateTypeParameterDeclaration:function(e,n,t,r){return e.name!==n||e.constraint!==t||e.default!==r?f(se(n,t,r),e):e},createParameterDeclaration:ce,updateParameterDeclaration:le,createDecorator:ue,updateDecorator:function(e,n){return e.expression!==n?f(ue(n),e):e},createPropertySignature:de,updatePropertySignature:pe,createPropertyDeclaration:fe,updatePropertyDeclaration:me,createMethodSignature:_e,updateMethodSignature:ge,createMethodDeclaration:ye,updateMethodDeclaration:he,createConstructorDeclaration:be,updateConstructorDeclaration:Ee,createGetAccessorDeclaration:Te,updateGetAccessorDeclaration:Se,createSetAccessorDeclaration:xe,updateSetAccessorDeclaration:Le,createCallSignature:De,updateCallSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?w(De(n,t,r),e):e},createConstructSignature:Ce,updateConstructSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?w(Ce(n,t,r),e):e},createIndexSignature:Ae,updateIndexSignature:Ie,createClassStaticBlockDeclaration:ve,updateClassStaticBlockDeclaration:function(e,n,t,r){return e.decorators!==n||e.modifier!==t||e.body!==r?f(ve(n,t,r),e):e},createTemplateLiteralTypeSpan:Ne,updateTemplateLiteralTypeSpan:function(e,n,t){return e.type!==n||e.literal!==t?f(Ne(n,t),e):e},createKeywordTypeNode:function(e){return $(e)},createTypePredicateNode:ke,updateTypePredicateNode:function(e,n,t,r){return e.assertsModifier!==n||e.parameterName!==t||e.type!==r?f(ke(n,t,r),e):e},createTypeReferenceNode:Re,updateTypeReferenceNode:function(e,n,t){return e.typeName!==n||e.typeArguments!==t?f(Re(n,t),e):e},createFunctionTypeNode:Oe,updateFunctionTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?w(Oe(n,t,r),e):e},createConstructorTypeNode:we,updateConstructorTypeNode:function(){for(var n=[],t=0;t10?Yr(n):e.reduceLeft(n,C.createComma)},getInternalName:function(e,n,t){return aa(e,n,t,49152)},getLocalName:function(e,n,t){return aa(e,n,t,16384)},getExportName:ia,getDeclarationName:function(e,n,t){return aa(e,n,t)},getNamespaceMemberName:oa,getExternalModuleOrNamespaceExportName:function(n,t,r,a){if(n&&e.hasSyntacticModifier(t,1))return oa(n,aa(t),r,a);return ia(t,r,a)},restoreOuterExpressions:function n(t,r,a){void 0===a&&(a=15);if(t&&e.isOuterExpression(t,a)&&(i=t,!(e.isParenthesizedExpression(i)&&e.nodeIsSynthesized(i)&&e.nodeIsSynthesized(e.getSourceMapRange(i))&&e.nodeIsSynthesized(e.getCommentRange(i)))||e.some(e.getSyntheticLeadingComments(i))||e.some(e.getSyntheticTrailingComments(i))))return function(e,n){switch(e.kind){case 211:return xn(e,n);case 210:return Tn(e,e.type,n);case 228:return Jn(e,n,e.type);case 229:return Xn(e,n);case 348:return qr(e,n)}}(t,n(t.expression,r));var i;return r},restoreEnclosingLabel:function n(t,r,a){if(!r)return t;var i=yt(r,r.label,e.isLabeledStatement(r.statement)?n(t,r.statement):t);a&&a(r);return i},createUseStrictPrologue:sa,copyPrologue:function(e,n,t,r){var a=ca(e,n,t);return la(e,n,a,r)},copyStandardPrologue:ca,copyCustomPrologue:la,ensureUseStrict:function(n){if(!e.findUseStrictPrologue(n))return e.setTextRange(A(Or([sa()],n,!0)),n);return n},liftToBlock:function(n){return e.Debug.assert(e.every(n,e.isStatementOrBlock),"Cannot lift nodes to a Block."),e.singleOrUndefined(n)||et(n)},mergeLexicalEnvironment:function(n,t){if(!e.some(t))return n;var r=ua(n,e.isPrologueDirective,0),a=ua(n,e.isHoistedFunction,r),i=ua(n,e.isHoistedVariableStatement,a),o=ua(t,e.isPrologueDirective,0),s=ua(t,e.isHoistedFunction,o),c=ua(t,e.isHoistedVariableStatement,s),l=ua(t,e.isCustomPrologue,c);e.Debug.assert(l===t.length,"Expected declarations to be valid standard or custom prologues");var u=e.isNodeArray(n)?n.slice():n;l>c&&u.splice.apply(u,Or([i,0],t.slice(c,l),!1));c>s&&u.splice.apply(u,Or([a,0],t.slice(s,c),!1));s>o&&u.splice.apply(u,Or([r,0],t.slice(o,s),!1));if(o>0)if(0===r)u.splice.apply(u,Or([0,0],t.slice(0,o),!1));else{for(var d=new e.Map,p=0;p=0;p--){var m=t[p];d.has(m.expression.text)||u.unshift(m)}}if(e.isNodeArray(n))return e.setTextRange(A(u,n.hasTrailingComma),n);return n},updateModifiers:function(n,t){var r;"number"==typeof t&&(t=ae(t));return e.isParameter(n)?le(n,n.decorators,t,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):e.isPropertySignature(n)?pe(n,t,n.name,n.questionToken,n.type):e.isPropertyDeclaration(n)?me(n,n.decorators,t,n.name,null!==(r=n.questionToken)&&void 0!==r?r:n.exclamationToken,n.type,n.initializer):e.isMethodSignature(n)?ge(n,t,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):e.isMethodDeclaration(n)?he(n,n.decorators,t,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):e.isConstructorDeclaration(n)?Ee(n,n.decorators,t,n.parameters,n.body):e.isGetAccessorDeclaration(n)?Se(n,n.decorators,t,n.name,n.parameters,n.type,n.body):e.isSetAccessorDeclaration(n)?Le(n,n.decorators,t,n.name,n.parameters,n.body):e.isIndexSignatureDeclaration(n)?Ie(n,n.decorators,t,n.parameters,n.type):e.isFunctionExpression(n)?Dn(n,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isArrowFunction(n)?An(n,t,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):e.isClassExpression(n)?Hn(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isVariableStatement(n)?tt(n,t,n.declarationList):e.isFunctionDeclaration(n)?St(n,n.decorators,t,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):e.isClassDeclaration(n)?Lt(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isInterfaceDeclaration(n)?Ct(n,n.decorators,t,n.name,n.typeParameters,n.heritageClauses,n.members):e.isTypeAliasDeclaration(n)?It(n,n.decorators,t,n.name,n.typeParameters,n.type):e.isEnumDeclaration(n)?kt(n,n.decorators,t,n.name,n.members):e.isModuleDeclaration(n)?Ot(n,n.decorators,t,n.name,n.body):e.isImportEqualsDeclaration(n)?Gt(n,n.decorators,t,n.isTypeOnly,n.name,n.moduleReference):e.isImportDeclaration(n)?Ut(n,n.decorators,t,n.importClause,n.moduleSpecifier,n.assertClause):e.isExportAssignment(n)?Xt(n,n.decorators,t,n.expression):e.isExportDeclaration(n)?Qt(n,n.decorators,t,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.assertClause):e.Debug.assertNever(n)}};return C;function A(n,t){if(void 0===n||n===e.emptyArray)n=[];else if(e.isNodeArray(n)){if(void 0===t||n.hasTrailingComma===t)return void 0===n.transformFlags&&p(n),e.Debug.attachNodeArrayDebugInfo(n),n;var r=n.slice();return r.pos=n.pos,r.end=n.end,r.hasTrailingComma=t,r.transformFlags=n.transformFlags,e.Debug.attachNodeArrayDebugInfo(r),r}var a=n.length,i=a>=1&&a<=4?n.slice():n;return e.setTextRangePosEnd(i,-1,-1),i.hasTrailingComma=!!t,p(i),e.Debug.attachNodeArrayDebugInfo(i),i}function I(e){return a.createBaseNode(e)}function N(e,n,t){var r=I(e);return r.decorators=da(n),r.modifiers=da(t),r.transformFlags|=d(r.decorators)|d(r.modifiers),r.symbol=void 0,r.localSymbol=void 0,r.locals=void 0,r.nextContainer=void 0,r}function k(n,t,r,a){var i=N(n,t,r);if(a=pa(a),i.name=a,a)switch(i.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(a)){i.transformFlags|=l(a);break}default:i.transformFlags|=u(a)}return i}function R(e,n,t,r,a){var i=k(e,n,t,r);return i.typeParameters=da(a),i.transformFlags|=d(i.typeParameters),a&&(i.transformFlags|=1),i}function O(e,n,t,r,a,i,o){var s=R(e,n,t,r,a);return s.parameters=A(i),s.type=o,s.transformFlags|=d(s.parameters)|u(s.type),o&&(s.transformFlags|=1),s}function w(e,n){return n.typeArguments&&(e.typeArguments=n.typeArguments),f(e,n)}function M(e,n,t,r,a,i,o,s){var c=O(e,n,t,r,a,i,o);return c.body=s,c.transformFlags|=-16777217&u(c.body),s||(c.transformFlags|=1),c}function P(e,n){return n.exclamationToken&&(e.exclamationToken=n.exclamationToken),n.typeArguments&&(e.typeArguments=n.typeArguments),w(e,n)}function F(e,n,t,r,a,i){var o=R(e,n,t,r,a);return o.heritageClauses=da(i),o.transformFlags|=d(o.heritageClauses),o}function G(e,n,t,r,a,i,o){var s=F(e,n,t,r,a,i);return s.members=A(o),s.transformFlags|=d(s.members),s}function B(e,n,t,r,a){var i=k(e,n,t,r);return i.initializer=a,i.transformFlags|=u(i.initializer),i}function U(e,n,t,r,a,i){var o=B(e,n,t,r,i);return o.type=a,o.transformFlags|=u(a),a&&(o.transformFlags|=1),o}function V(e,n){var t=Z(e);return t.text=n,t}function K(e,n){void 0===n&&(n=0);var t=V(8,"number"==typeof e?e+"":e);return t.numericLiteralFlags=n,384&n&&(t.transformFlags|=512),t}function j(n){var t=V(9,"string"==typeof n?n:e.pseudoBigIntToString(n)+"n");return t.transformFlags|=4,t}function H(e,n){var t=V(10,e);return t.singleQuote=n,t}function W(e,n,t){var r=H(e,n);return r.hasExtendedUnicodeEscape=t,t&&(r.transformFlags|=512),r}function z(e){return V(13,e)}function J(n,t){void 0===t&&n&&(t=e.stringToToken(n)),79===t&&(t=void 0);var r=a.createBaseIdentifierNode(79);return r.originalKeywordKind=t,r.escapedText=e.escapeLeadingUnderscores(n),r}function q(e,n){var t=J(e,void 0);return t.autoGenerateFlags=n,t.autoGenerateId=r,r++,t}function X(e,n,t){var r=J(e,t);return n&&(r.typeArguments=A(n)),132===r.originalKeywordKind&&(r.transformFlags|=16777216),r}function Y(e,n){var t=1;n&&(t|=8);var r=q("",t);return e&&e(r),r}function Q(n,t){void 0===t&&(t=0),e.Debug.assert(!(7&t),"Argument out of range: flags");var r=q(n&&e.isIdentifier(n)?e.idText(n):"",4|t);return r.original=n,r}function Z(e){return a.createBaseTokenNode(e)}function $(n){e.Debug.assert(n>=0&&n<=159,"Invalid token"),e.Debug.assert(n<=14||n>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),e.Debug.assert(n<=8||n>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),e.Debug.assert(79!==n,"Invalid token. Use 'createIdentifier' to create identifiers");var t=Z(n),r=0;switch(n){case 131:r=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:r=1;break;case 106:r=33554944;break;case 124:r=512;break;case 108:r=8192}return r&&(t.transformFlags|=r),t}function ee(){return $(108)}function ne(){return $(110)}function te(){return $(95)}function re(e){return $(e)}function ae(e){var n=[];return 1&e&&n.push(re(93)),2&e&&n.push(re(135)),512&e&&n.push(re(88)),2048&e&&n.push(re(85)),4&e&&n.push(re(123)),8&e&&n.push(re(121)),16&e&&n.push(re(122)),128&e&&n.push(re(126)),32&e&&n.push(re(124)),16384&e&&n.push(re(158)),64&e&&n.push(re(144)),256&e&&n.push(re(131)),n}function ie(e,n){var t=I(160);return t.left=e,t.right=pa(n),t.transformFlags|=u(t.left)|l(t.right),t}function oe(e){var n=I(161);return n.expression=m().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=66048|u(n.expression),n}function se(e,n,t){var r=k(162,void 0,void 0,e);return r.constraint=n,r.default=t,r.transformFlags=1,r}function ce(n,t,r,a,i,o,s){var c=U(163,n,t,a,o,s&&m().parenthesizeExpressionForDisallowedComma(s));return c.dotDotDotToken=r,c.questionToken=i,e.isThisIdentifier(c.name)?c.transformFlags=1:(c.transformFlags|=u(c.dotDotDotToken)|u(c.questionToken),i&&(c.transformFlags|=1),16476&e.modifiersToFlags(c.modifiers)&&(c.transformFlags|=4096),(s||r)&&(c.transformFlags|=512)),c}function le(e,n,t,r,a,i,o,s){return e.decorators!==n||e.modifiers!==t||e.dotDotDotToken!==r||e.name!==a||e.questionToken!==i||e.type!==o||e.initializer!==s?f(ce(n,t,r,a,i,o,s),e):e}function ue(e){var n=I(164);return n.expression=m().parenthesizeLeftSideOfAccess(e),n.transformFlags|=4097|u(n.expression),n}function de(e,n,t,r){var a=k(165,void 0,e,n);return a.type=r,a.questionToken=t,a.transformFlags=1,a}function pe(e,n,t,r,a){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.type!==a?f(de(n,t,r,a),e):e}function fe(n,t,r,a,i,o){var s=U(166,n,t,r,i,o);return s.questionToken=a&&e.isQuestionToken(a)?a:void 0,s.exclamationToken=a&&e.isExclamationToken(a)?a:void 0,s.transformFlags|=u(s.questionToken)|u(s.exclamationToken)|8388608,(e.isComputedPropertyName(s.name)||e.hasStaticModifier(s)&&s.initializer)&&(s.transformFlags|=4096),(a||2&e.modifiersToFlags(s.modifiers))&&(s.transformFlags|=1),s}function me(n,t,r,a,i,o,s){return n.decorators!==t||n.modifiers!==r||n.name!==a||n.questionToken!==(void 0!==i&&e.isQuestionToken(i)?i:void 0)||n.exclamationToken!==(void 0!==i&&e.isExclamationToken(i)?i:void 0)||n.type!==o||n.initializer!==s?f(fe(t,r,a,i,o,s),n):n}function _e(e,n,t,r,a,i){var o=O(167,void 0,e,n,r,a,i);return o.questionToken=t,o.transformFlags=1,o}function ge(e,n,t,r,a,i,o){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.typeParameters!==a||e.parameters!==i||e.type!==o?w(_e(n,t,r,a,i,o),e):e}function ye(n,t,r,a,i,o,s,c,l){var d=M(168,n,t,a,o,s,c,l);return d.asteriskToken=r,d.questionToken=i,d.transformFlags|=u(d.asteriskToken)|u(d.questionToken)|512,i&&(d.transformFlags|=1),256&e.modifiersToFlags(d.modifiers)?d.transformFlags|=r?64:128:r&&(d.transformFlags|=1024),d}function he(e,n,t,r,a,i,o,s,c,l){return e.decorators!==n||e.modifiers!==t||e.asteriskToken!==r||e.name!==a||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?P(ye(n,t,r,a,i,o,s,c,l),e):e}function ve(e,n,t){var r=R(169,e,n,void 0,void 0);return r.body=t,r.transformFlags=8388608|u(t),r}function be(e,n,t,r){var a=M(170,e,n,void 0,void 0,t,void 0,r);return a.transformFlags|=512,a}function Ee(e,n,t,r,a){return e.decorators!==n||e.modifiers!==t||e.parameters!==r||e.body!==a?P(be(n,t,r,a),e):e}function Te(e,n,t,r,a,i){return M(171,e,n,t,void 0,r,a,i)}function Se(e,n,t,r,a,i,o){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.type!==i||e.body!==o?P(Te(n,t,r,a,i,o),e):e}function xe(e,n,t,r,a){return M(172,e,n,t,void 0,r,void 0,a)}function Le(e,n,t,r,a,i){return e.decorators!==n||e.modifiers!==t||e.name!==r||e.parameters!==a||e.body!==i?P(xe(n,t,r,a,i),e):e}function De(e,n,t){var r=O(173,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Ce(e,n,t){var r=O(174,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function Ae(e,n,t,r){var a=O(175,e,n,void 0,void 0,t,r);return a.transformFlags=1,a}function Ie(e,n,t,r,a){return e.parameters!==r||e.type!==a||e.decorators!==n||e.modifiers!==t?w(Ae(n,t,r,a),e):e}function Ne(e,n){var t=I(198);return t.type=e,t.literal=n,t.transformFlags=1,t}function ke(e,n,t){var r=I(176);return r.assertsModifier=e,r.parameterName=pa(n),r.type=t,r.transformFlags=1,r}function Re(e,n){var t=I(177);return t.typeName=pa(e),t.typeArguments=n&&m().parenthesizeTypeArguments(A(n)),t.transformFlags=1,t}function Oe(e,n,t){var r=O(178,void 0,void 0,void 0,e,n,t);return r.transformFlags=1,r}function we(){for(var n=[],t=0;t0;default:return!0}}function aa(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.setParent(e.setTextRange(Zr(i),i),i.parent);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return Q(n)}function ia(e,n,t){return aa(e,n,t,8192)}function oa(n,t,r,a){var i=un(n,e.nodeIsSynthesized(t)?t:Zr(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function sa(){return e.startOnNewLine(at(W("use strict")))}function ca(n,t,r){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var a,i=!1,o=0,s=n.length;o=176&&e<=199)return-2;switch(e){case 207:case 208:case 203:case 200:case 201:return 536887296;case 260:return 589443072;case 163:case 210:case 228:case 348:case 211:case 106:case 205:case 206:default: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}}e.getTransformFlagsSubtreeExclusions=f;var m=e.createBaseNodeFactory();function _(e){return e.flags|=8,e}var g,y={createBaseSourceFileNode:function(e){return _(m.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return _(m.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return _(m.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return _(m.createBaseTokenNode(e))},createBaseNode:function(e){return _(m.createBaseNode(e))}};function h(n,t){if(n.original=t,t){var r=t.emitNode;r&&(n.emitNode=function(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,c=n.tokenSourceMapRanges,l=n.constantValue,u=n.helpers,d=n.startsOnNewLine;t||(t={});a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments));i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments));r&&(t.flags=-268435457&r);o&&(t.commentRange=o);s&&(t.sourceMapRange=s);c&&(t.tokenSourceMapRanges=function(e,n){n||(n=[]);for(var t in e)n[t]=e[t];return n}(c,t.tokenSourceMapRanges));void 0!==l&&(t.constantValue=l);if(u)for(var p=0,f=u;p0&&(o[l-c]=u)}c>0&&(o.length-=c)}},e.getSnippetElement=function(e){var n;return null===(n=e.emitNode)||void 0===n?void 0:n.snippetElement},e.setSnippetElement=function(e,t){return n(e).snippetElement=t,e},e.ignoreSourceNewlines=function(e){return n(e).flags|=134217728,e}}(Br||(Br={})),function(e){function n(e){for(var n=[],t=1;t=2)return t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,r);return n.requestEmitHelper(e.assignHelper),t.createCallExpression(i("__assign"),void 0,r)},createAwaitHelper:function(r){return n.requestEmitHelper(e.awaitHelper),t.createCallExpression(i("__await"),void 0,[r])},createAsyncGeneratorHelper:function(r,a){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncGeneratorHelper),(r.emitNode||(r.emitNode={})).flags|=786432,t.createCallExpression(i("__asyncGenerator"),void 0,[a?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),r])},createAsyncDelegatorHelper:function(r){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),t.createCallExpression(i("__asyncDelegator"),void 0,[r])},createAsyncValuesHelper:function(r){return n.requestEmitHelper(e.asyncValues),t.createCallExpression(i("__asyncValues"),void 0,[r])},createRestHelper:function(r,a,o,s){n.requestEmitHelper(e.restHelper);for(var c=[],l=0,u=0;u= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},e.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},e.paramHelper={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},e.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},e.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n 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:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n 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); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[e.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n 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; }\n };'},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n 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);\n 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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},e.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},e.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},e.readHelper={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},e.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"},e.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},e.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"},e.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},e.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},e.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},e.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[e.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n 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");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n 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");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'},e.classPrivateFieldInHelper={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'},e.getAllUnscopedEmitHelpers=function(){return t||(t=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(e){return e.name})))},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:n(Mr(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:n(Mr(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")},e.isCallToHelper=function(n,t){return e.isCallExpression(n)&&e.isIdentifier(n.expression)&&!!(4096&e.getEmitFlags(n.expression))&&n.expression.escapedText===t}}(Br||(Br={})),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isDotDotDotToken=function(e){return 25===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isPlusToken=function(e){return 39===e.kind},e.isMinusToken=function(e){return 40===e.kind},e.isAsteriskToken=function(e){return 41===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isColonToken=function(e){return 58===e.kind},e.isQuestionDotToken=function(e){return 28===e.kind},e.isEqualsGreaterThanToken=function(e){return 38===e.kind},e.isIdentifier=function(e){return 79===e.kind},e.isPrivateIdentifier=function(e){return 80===e.kind},e.isExportModifier=function(e){return 93===e.kind},e.isAsyncModifier=function(e){return 131===e.kind},e.isAssertsKeyword=function(e){return 128===e.kind},e.isAwaitKeyword=function(e){return 132===e.kind},e.isReadonlyKeyword=function(e){return 144===e.kind},e.isStaticModifier=function(e){return 124===e.kind},e.isAbstractModifier=function(e){return 126===e.kind},e.isSuperKeyword=function(e){return 106===e.kind},e.isImportKeyword=function(e){return 100===e.kind},e.isQualifiedName=function(e){return 160===e.kind},e.isComputedPropertyName=function(e){return 161===e.kind},e.isTypeParameterDeclaration=function(e){return 162===e.kind},e.isParameter=function(e){return 163===e.kind},e.isDecorator=function(e){return 164===e.kind},e.isPropertySignature=function(e){return 165===e.kind},e.isPropertyDeclaration=function(e){return 166===e.kind},e.isMethodSignature=function(e){return 167===e.kind},e.isMethodDeclaration=function(e){return 168===e.kind},e.isClassStaticBlockDeclaration=function(e){return 169===e.kind},e.isConstructorDeclaration=function(e){return 170===e.kind},e.isGetAccessorDeclaration=function(e){return 171===e.kind},e.isSetAccessorDeclaration=function(e){return 172===e.kind},e.isCallSignatureDeclaration=function(e){return 173===e.kind},e.isConstructSignatureDeclaration=function(e){return 174===e.kind},e.isIndexSignatureDeclaration=function(e){return 175===e.kind},e.isTypePredicateNode=function(e){return 176===e.kind},e.isTypeReferenceNode=function(e){return 177===e.kind},e.isFunctionTypeNode=function(e){return 178===e.kind},e.isConstructorTypeNode=function(e){return 179===e.kind},e.isTypeQueryNode=function(e){return 180===e.kind},e.isTypeLiteralNode=function(e){return 181===e.kind},e.isArrayTypeNode=function(e){return 182===e.kind},e.isTupleTypeNode=function(e){return 183===e.kind},e.isNamedTupleMember=function(e){return 196===e.kind},e.isOptionalTypeNode=function(e){return 184===e.kind},e.isRestTypeNode=function(e){return 185===e.kind},e.isUnionTypeNode=function(e){return 186===e.kind},e.isIntersectionTypeNode=function(e){return 187===e.kind},e.isConditionalTypeNode=function(e){return 188===e.kind},e.isInferTypeNode=function(e){return 189===e.kind},e.isParenthesizedTypeNode=function(e){return 190===e.kind},e.isThisTypeNode=function(e){return 191===e.kind},e.isTypeOperatorNode=function(e){return 192===e.kind},e.isIndexedAccessTypeNode=function(e){return 193===e.kind},e.isMappedTypeNode=function(e){return 194===e.kind},e.isLiteralTypeNode=function(e){return 195===e.kind},e.isImportTypeNode=function(e){return 199===e.kind},e.isTemplateLiteralTypeSpan=function(e){return 198===e.kind},e.isTemplateLiteralTypeNode=function(e){return 197===e.kind},e.isObjectBindingPattern=function(e){return 200===e.kind},e.isArrayBindingPattern=function(e){return 201===e.kind},e.isBindingElement=function(e){return 202===e.kind},e.isArrayLiteralExpression=function(e){return 203===e.kind},e.isObjectLiteralExpression=function(e){return 204===e.kind},e.isPropertyAccessExpression=function(e){return 205===e.kind},e.isElementAccessExpression=function(e){return 206===e.kind},e.isCallExpression=function(e){return 207===e.kind},e.isNewExpression=function(e){return 208===e.kind},e.isTaggedTemplateExpression=function(e){return 209===e.kind},e.isTypeAssertionExpression=function(e){return 210===e.kind},e.isParenthesizedExpression=function(e){return 211===e.kind},e.isFunctionExpression=function(e){return 212===e.kind},e.isArrowFunction=function(e){return 213===e.kind},e.isDeleteExpression=function(e){return 214===e.kind},e.isTypeOfExpression=function(e){return 215===e.kind},e.isVoidExpression=function(e){return 216===e.kind},e.isAwaitExpression=function(e){return 217===e.kind},e.isPrefixUnaryExpression=function(e){return 218===e.kind},e.isPostfixUnaryExpression=function(e){return 219===e.kind},e.isBinaryExpression=function(e){return 220===e.kind},e.isConditionalExpression=function(e){return 221===e.kind},e.isTemplateExpression=function(e){return 222===e.kind},e.isYieldExpression=function(e){return 223===e.kind},e.isSpreadElement=function(e){return 224===e.kind},e.isClassExpression=function(e){return 225===e.kind},e.isOmittedExpression=function(e){return 226===e.kind},e.isExpressionWithTypeArguments=function(e){return 227===e.kind},e.isAsExpression=function(e){return 228===e.kind},e.isNonNullExpression=function(e){return 229===e.kind},e.isMetaProperty=function(e){return 230===e.kind},e.isSyntheticExpression=function(e){return 231===e.kind},e.isPartiallyEmittedExpression=function(e){return 348===e.kind},e.isCommaListExpression=function(e){return 349===e.kind},e.isTemplateSpan=function(e){return 232===e.kind},e.isSemicolonClassElement=function(e){return 233===e.kind},e.isBlock=function(e){return 234===e.kind},e.isVariableStatement=function(e){return 236===e.kind},e.isEmptyStatement=function(e){return 235===e.kind},e.isExpressionStatement=function(e){return 237===e.kind},e.isIfStatement=function(e){return 238===e.kind},e.isDoStatement=function(e){return 239===e.kind},e.isWhileStatement=function(e){return 240===e.kind},e.isForStatement=function(e){return 241===e.kind},e.isForInStatement=function(e){return 242===e.kind},e.isForOfStatement=function(e){return 243===e.kind},e.isContinueStatement=function(e){return 244===e.kind},e.isBreakStatement=function(e){return 245===e.kind},e.isReturnStatement=function(e){return 246===e.kind},e.isWithStatement=function(e){return 247===e.kind},e.isSwitchStatement=function(e){return 248===e.kind},e.isLabeledStatement=function(e){return 249===e.kind},e.isThrowStatement=function(e){return 250===e.kind},e.isTryStatement=function(e){return 251===e.kind},e.isDebuggerStatement=function(e){return 252===e.kind},e.isVariableDeclaration=function(e){return 253===e.kind},e.isVariableDeclarationList=function(e){return 254===e.kind},e.isFunctionDeclaration=function(e){return 255===e.kind},e.isClassDeclaration=function(e){return 256===e.kind},e.isInterfaceDeclaration=function(e){return 257===e.kind},e.isTypeAliasDeclaration=function(e){return 258===e.kind},e.isEnumDeclaration=function(e){return 259===e.kind},e.isModuleDeclaration=function(e){return 260===e.kind},e.isModuleBlock=function(e){return 261===e.kind},e.isCaseBlock=function(e){return 262===e.kind},e.isNamespaceExportDeclaration=function(e){return 263===e.kind},e.isImportEqualsDeclaration=function(e){return 264===e.kind},e.isImportDeclaration=function(e){return 265===e.kind},e.isImportClause=function(e){return 266===e.kind},e.isAssertClause=function(e){return 292===e.kind},e.isAssertEntry=function(e){return 293===e.kind},e.isNamespaceImport=function(e){return 267===e.kind},e.isNamespaceExport=function(e){return 273===e.kind},e.isNamedImports=function(e){return 268===e.kind},e.isImportSpecifier=function(e){return 269===e.kind},e.isExportAssignment=function(e){return 270===e.kind},e.isExportDeclaration=function(e){return 271===e.kind},e.isNamedExports=function(e){return 272===e.kind},e.isExportSpecifier=function(e){return 274===e.kind},e.isMissingDeclaration=function(e){return 275===e.kind},e.isNotEmittedStatement=function(e){return 347===e.kind},e.isSyntheticReference=function(e){return 352===e.kind},e.isMergeDeclarationMarker=function(e){return 350===e.kind},e.isEndOfDeclarationMarker=function(e){return 351===e.kind},e.isExternalModuleReference=function(e){return 276===e.kind},e.isJsxElement=function(e){return 277===e.kind},e.isJsxSelfClosingElement=function(e){return 278===e.kind},e.isJsxOpeningElement=function(e){return 279===e.kind},e.isJsxClosingElement=function(e){return 280===e.kind},e.isJsxFragment=function(e){return 281===e.kind},e.isJsxOpeningFragment=function(e){return 282===e.kind},e.isJsxClosingFragment=function(e){return 283===e.kind},e.isJsxAttribute=function(e){return 284===e.kind},e.isJsxAttributes=function(e){return 285===e.kind},e.isJsxSpreadAttribute=function(e){return 286===e.kind},e.isJsxExpression=function(e){return 287===e.kind},e.isCaseClause=function(e){return 288===e.kind},e.isDefaultClause=function(e){return 289===e.kind},e.isHeritageClause=function(e){return 290===e.kind},e.isCatchClause=function(e){return 291===e.kind},e.isPropertyAssignment=function(e){return 294===e.kind},e.isShorthandPropertyAssignment=function(e){return 295===e.kind},e.isSpreadAssignment=function(e){return 296===e.kind},e.isEnumMember=function(e){return 297===e.kind},e.isUnparsedPrepend=function(e){return 299===e.kind},e.isSourceFile=function(e){return 303===e.kind},e.isBundle=function(e){return 304===e.kind},e.isUnparsedSource=function(e){return 305===e.kind},e.isJSDocTypeExpression=function(e){return 307===e.kind},e.isJSDocNameReference=function(e){return 308===e.kind},e.isJSDocMemberName=function(e){return 309===e.kind},e.isJSDocLink=function(e){return 322===e.kind},e.isJSDocLinkCode=function(e){return 323===e.kind},e.isJSDocLinkPlain=function(e){return 324===e.kind},e.isJSDocAllType=function(e){return 310===e.kind},e.isJSDocUnknownType=function(e){return 311===e.kind},e.isJSDocNullableType=function(e){return 312===e.kind},e.isJSDocNonNullableType=function(e){return 313===e.kind},e.isJSDocOptionalType=function(e){return 314===e.kind},e.isJSDocFunctionType=function(e){return 315===e.kind},e.isJSDocVariadicType=function(e){return 316===e.kind},e.isJSDocNamepathType=function(e){return 317===e.kind},e.isJSDoc=function(e){return 318===e.kind},e.isJSDocTypeLiteral=function(e){return 320===e.kind},e.isJSDocSignature=function(e){return 321===e.kind},e.isJSDocAugmentsTag=function(e){return 326===e.kind},e.isJSDocAuthorTag=function(e){return 328===e.kind},e.isJSDocClassTag=function(e){return 330===e.kind},e.isJSDocCallbackTag=function(e){return 336===e.kind},e.isJSDocPublicTag=function(e){return 331===e.kind},e.isJSDocPrivateTag=function(e){return 332===e.kind},e.isJSDocProtectedTag=function(e){return 333===e.kind},e.isJSDocReadonlyTag=function(e){return 334===e.kind},e.isJSDocOverrideTag=function(e){return 335===e.kind},e.isJSDocDeprecatedTag=function(e){return 329===e.kind},e.isJSDocSeeTag=function(e){return 344===e.kind},e.isJSDocEnumTag=function(e){return 337===e.kind},e.isJSDocParameterTag=function(e){return 338===e.kind},e.isJSDocReturnTag=function(e){return 339===e.kind},e.isJSDocThisTag=function(e){return 340===e.kind},e.isJSDocTypeTag=function(e){return 341===e.kind},e.isJSDocTemplateTag=function(e){return 342===e.kind},e.isJSDocTypedefTag=function(e){return 343===e.kind},e.isJSDocUnknownTag=function(e){return 325===e.kind},e.isJSDocPropertyTag=function(e){return 345===e.kind},e.isJSDocImplementsTag=function(e){return 327===e.kind},e.isSyntaxList=function(e){return 346===e.kind}}(Br||(Br={})),function(e){function n(n,t,r,a){if(e.isComputedPropertyName(r))return e.setTextRange(n.createElementAccessExpression(t,r.expression),a);var i=e.setTextRange(e.isMemberName(r)?n.createPropertyAccessExpression(t,r):n.createElementAccessExpression(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function t(n,t){var r=e.parseNodeFactory.createIdentifier(n||"React");return e.setParent(r,e.getParseTreeNode(t)),r}function r(n,a,i){if(e.isQualifiedName(a)){var o=r(n,a.left,i),s=n.createIdentifier(e.idText(a.right));return s.escapedText=a.right.escapedText,n.createPropertyAccessExpression(o,s)}return t(e.idText(a),i)}function a(e,n,a,i){return n?r(e,n,i):e.createPropertyAccessExpression(t(a,i),"createElement")}function i(n,t){return e.isIdentifier(t)?n.createStringLiteralFromNode(t):e.isComputedPropertyName(t)?e.setParent(e.setTextRange(n.cloneNode(t.expression),t.expression),t.expression.parent):e.setParent(e.setTextRange(n.cloneNode(t),t),t.parent)}function o(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function s(n){return e.isParenthesizedExpression(n)&&e.isInJSFile(n)&&!!e.getJSDocTypeTag(n)}function c(e,n){switch(void 0===n&&(n=15),e.kind){case 211:return!(16&n&&s(e))&&!!(1&n);case 210:case 228:return!!(2&n);case 229:return!!(4&n);case 348:return!!(8&n)}return!1}function l(e,n){for(void 0===n&&(n=15);c(e,n);)e=e.expression;return e}function u(n){return e.setStartsOnNewLine(n,!0)}function d(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function p(n,t,r,a,i){if(r.importHelpers&&e.isEffectiveExternalModule(t,r)){var o=d(t);if(o)return o;var s=e.getEmitModuleKind(r),c=(a||e.getESModuleInterop(r)&&i)&&s!==e.ModuleKind.System&&(s0)if(a||s.push(n.createNull()),i.length>1)for(var c=0,l=i;c0)if(c.length>1)for(var f=0,m=c;f=e.ModuleKind.ES2015&&l<=e.ModuleKind.ESNext||r.impliedNodeFormat===e.ModuleKind.ESNext){var u=e.getEmitHelpers(r);if(u){for(var d=[],f=0,m=u;f0?o[r-1]:void 0;return e.Debug.assertEqual(a[r],t),o[r]=n.onEnter(i[r],u,l),a[r]=c(n,t),r}function r(n,t,a,i,o,s,d){e.Debug.assertEqual(a[t],r),e.Debug.assertIsDefined(n.onLeft),a[t]=c(n,r);var p=n.onLeft(i[t].left,o[t],i[t]);return p?(u(t,i,p),l(t,a,i,o,p)):t}function a(n,t,r,i,o,s,l){return e.Debug.assertEqual(r[t],a),e.Debug.assertIsDefined(n.onOperator),r[t]=c(n,a),n.onOperator(i[t].operatorToken,o[t],i[t]),t}function i(n,t,r,a,o,s,d){e.Debug.assertEqual(r[t],i),e.Debug.assertIsDefined(n.onRight),r[t]=c(n,i);var p=n.onRight(a[t].right,o[t],a[t]);return p?(u(t,a,p),l(t,r,a,o,p)):t}function o(n,t,r,a,i,s,l){e.Debug.assertEqual(r[t],o),r[t]=c(n,o);var u=n.onExit(a[t],i[t]);if(t>0){if(t--,n.foldState){var d=r[t]===o?"right":"left";i[t]=n.foldState(i[t],u,d)}}else s.value=u;return t}function s(n,t,r,a,i,o,c){return e.Debug.assertEqual(r[t],s),t}function c(n,c){switch(c){case t:if(n.onLeft)return r;case r:if(n.onOperator)return a;case a:if(n.onRight)return i;case i:return o;case o:case s:return s;default:e.Debug.fail("Invalid state")}}function l(e,n,r,a,i){return n[++e]=t,r[e]=i,a[e]=void 0,e}function u(n,t,r){if(e.Debug.shouldAssert(2))for(;n>=0;)e.Debug.assert(t[n]!==r,"Circular traversal detected."),n--}n.enter=t,n.left=r,n.operator=a,n.right=i,n.exit=o,n.done=s,n.nextState=c}(h||(h={}));var v=function(e,n,t,r,a,i){this.onEnter=e,this.onLeft=n,this.onOperator=t,this.onRight=r,this.onExit=a,this.foldState=i};e.createBinaryExpressionTrampoline=function(n,t,r,a,i,o){var s=new v(n,t,r,a,i,o);return function(n,t){var r={value:void 0},a=[h.enter],i=[n],o=[void 0],c=0;for(;a[c]!==h.done;)c=a[c](s,c,a,i,o,r,t);return e.Debug.assertEqual(c,0),r.value}}}(Br||(Br={})),function(e){e.setTextRange=function(n,t){return t?e.setTextRangePosEnd(n,t.pos,t.end):n}}(Br||(Br={})),function(e){var n,t,r,a,i,o,s,c,l,u,d;function p(e,n){return n&&e(n)}function f(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;rn.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:e.Debug.fail("Unhandled pragma kind")}}))}(t=n||(n={}))[t.None=0]="None",t[t.Yield=1]="Yield",t[t.Await=2]="Await",t[t.Type=4]="Type",t[t.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",t[t.JSDoc=32]="JSDoc",(a=r||(r={}))[a.TryParse=0]="TryParse",a[a.Lookahead=1]="Lookahead",a[a.Reparse=2]="Reparse",e.parseBaseNodeFactory={createBaseSourceFileNode:function(n){return new(l||(l=e.objectAllocator.getSourceFileConstructor()))(n,-1,-1)},createBaseIdentifierNode:function(n){return new(s||(s=e.objectAllocator.getIdentifierConstructor()))(n,-1,-1)},createBasePrivateIdentifierNode:function(n){return new(c||(c=e.objectAllocator.getPrivateIdentifierConstructor()))(n,-1,-1)},createBaseTokenNode:function(n){return new(o||(o=e.objectAllocator.getTokenConstructor()))(n,-1,-1)},createBaseNode:function(n){return new(i||(i=e.objectAllocator.getNodeConstructor()))(n,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory),e.isJSDocLikeText=m,e.forEachChild=_,e.forEachChildRecursively=function(n,t,r){for(var a=g(n),i=[];i.length=0;--c)a.push(o[c]),i.push(s)}else{var l;if(l=t(o,s)){if("skip"===l)continue;return l}if(o.kind>=160)for(var u=0,d=g(o);u=t.pos})),u=l>=0?e.findIndex(i,(function(e){return e.start>=r.pos}),l):-1;l>=0&&e.addRange(S,i,l,u>=0?u:void 0),Le((function(){var e=w;for(w|=32768,s.setTextPos(r.pos),ye();1!==me();){var t=s.getStartPos(),i=xn(0,Qr);if(a.push(i),t===s.getStartPos()&&ye(),o>=0){var c=n.statements[o];if(i.end===c.pos)break;i.end>c.pos&&(o=_(n.statements,o+1))}}w=e}),2),c=o>=0?m(n.statements,o):-1};-1!==c;)l();if(o>=0){var u=n.statements[o];e.addRange(a,n.statements,o);var p=e.findIndex(i,(function(e){return e.start>=u.pos}));p>=0&&e.addRange(S,i,p)}return L=t,P.updateSourceFile(n,e.setTextRange(P.createNodeArray(a),n.statements));function f(e){return!(32768&e.flags||!(16777216&e.transformFlags))}function m(e,n){for(var t=n;t116}function Ie(){return 79===me()||(125!==me()||!re())&&((132!==me()||!oe())&&me()>116)}function Ne(n,t,r){return void 0===r&&(r=!0),me()===n?(r&&ye(),!0):(t?se(t):se(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}n.fixupParentReferences=W;var ke,Re,Oe,we,Me,Pe=Object.keys(e.textToKeywordObj).filter((function(e){return e.length>2}));function Fe(n){var t;if(e.isTaggedTemplateExpression(n))le(e.skipTrivia(f,n.template.pos),n.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);else{var r=e.isIdentifier(n)?e.idText(n):void 0;if(r&&e.isIdentifierText(r,g)){var a=e.skipTrivia(f,n.pos);switch(r){case"const":case"let":case"var":return void le(a,n.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void Ge(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);case"is":return void le(a,s.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void Ge(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);case"type":return void Ge(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63)}var i=null!==(t=e.getSpellingSuggestion(r,Pe,(function(e){return e})))&&void 0!==t?t:function(n){for(var t=0,r=Pe;ta.length+2&&e.startsWith(n,a))return"".concat(a," ").concat(n.slice(a.length))}return}(r);i?le(a,n.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,i):0!==me()&&le(a,n.end,e.Diagnostics.Unexpected_keyword_or_identifier)}else se(e.Diagnostics._0_expected,e.tokenToString(26))}}function Ge(e,n,t){me()===t?se(n):se(e,s.getTokenValue())}function Be(n){return me()===n?(he(),!0):(se(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function Ue(e){return me()===e&&(ye(),!0)}function Ve(e){if(me()===e)return He()}function Ke(e){if(me()===e)return n=pe(),t=me(),he(),Xe(P.createToken(t),n);var n,t}function je(n,t,r){return Ve(n)||Ye(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function He(){var e=pe(),n=me();return ye(),Xe(P.createToken(n),e)}function We(){return 26===me()||(19===me()||1===me()||s.hasPrecedingLineBreak())}function ze(){return!!We()&&(26===me()&&ye(),!0)}function Je(){return ze()||Ne(26)}function qe(n,t,r,a){var i=P.createNodeArray(n,a);return e.setTextRangePosEnd(i,t,null!=r?r:s.getStartPos()),i}function Xe(n,t,r){return e.setTextRangePosEnd(n,t,null!=r?r:s.getStartPos()),w&&(n.flags|=w),G&&(G=!1,n.flags|=65536),n}function Ye(n,t,r,a){t?ce(s.getStartPos(),0,r,a):r&&se(r,a);var i=pe();return Xe(79===n?P.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(n)?P.createTemplateLiteralLikeNode(n,"","",void 0):8===n?P.createNumericLiteral("",void 0):10===n?P.createStringLiteral("",void 0):275===n?P.createMissingDeclaration():P.createToken(n),i)}function Qe(e){var n=I.get(e);return void 0===n&&I.set(e,n=e),n}function Ze(n,t,r){if(n){k++;var a=pe(),i=me(),o=Qe(s.getTokenValue());return _e(),Xe(P.createIdentifier(o,void 0,i),a)}if(80===me())return se(r||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ze(!0);if(0===me()&&s.tryScan((function(){return 79===s.reScanInvalidIdentifier()})))return Ze(!0);k++;var c=1===me(),l=s.isReservedWord(),u=s.getTokenText(),d=l?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Ye(79,c,t||d,u)}function $e(e){return Ze(Ae(),void 0,e)}function en(e,n){return Ze(Ie(),e,n)}function nn(n){return Ze(e.tokenIsIdentifierOrKeyword(me()),n)}function tn(){return e.tokenIsIdentifierOrKeyword(me())||10===me()||8===me()}function rn(e){if(10===me()||8===me()){var n=Un();return n.text=Qe(n.text),n}return e&&22===me()?function(){var e=pe();Ne(22);var n=ee(zt);return Ne(23),Xe(P.createComputedPropertyName(n),e)}():80===me()?on():nn()}function an(){return rn(!0)}function on(){var e,n,t=pe(),r=P.createPrivateIdentifier((e=s.getTokenText(),void 0===(n=N.get(e))&&N.set(e,n=e),n));return ye(),Xe(r,t)}function sn(e){return me()===e&&Ce(ln)}function cn(){return ye(),!s.hasPrecedingLineBreak()&&pn()}function ln(){switch(me()){case 85:return 92===ye();case 93:return ye(),88===me()?De(fn):151===me()?De(dn):un();case 88:return fn();case 124:case 136:case 148:return ye(),pn();default:return cn()}}function un(){return 41!==me()&&127!==me()&&18!==me()&&pn()}function dn(){return ye(),un()}function pn(){return 22===me()||18===me()||41===me()||25===me()||tn()}function fn(){return ye(),84===me()||98===me()||118===me()||126===me()&&De(Hr)||131===me()&&De(Wr)}function mn(n,t){if(Ln(n))return!0;switch(n){case 0:case 1:case 3:return!(26===me()&&t)&&Xr();case 2:return 82===me()||88===me();case 4:return De(ut);case 5:return De(ha)||26===me()&&!t;case 6:return 22===me()||tn();case 12:switch(me()){case 22:case 41:case 25:case 24:return!0;default:return tn()}case 18:return tn();case 9:return 22===me()||25===me()||tn();case 24:return e.tokenIsIdentifierOrKeyword(me())||10===me();case 7:return 18===me()?De(_n):t?Ie()&&!vn():Ht()&&!vn();case 8:return ia();case 10:return 27===me()||25===me()||ia();case 19:return Ie();case 15:switch(me()){case 27:case 24:return!0}case 11:return 25===me()||Wt();case 16:return Zn(!1);case 17:return Zn(!0);case 20:case 21:return 27===me()||It();case 22:return Oa();case 23:return e.tokenIsIdentifierOrKeyword(me());case 13:return e.tokenIsIdentifierOrKeyword(me())||18===me();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function _n(){if(e.Debug.assert(18===me()),19===ye()){var n=ye();return 27===n||18===n||94===n||117===n}return!0}function gn(){return ye(),Ie()}function yn(){return ye(),e.tokenIsIdentifierOrKeyword(me())}function hn(){return ye(),e.tokenIsIdentifierOrKeywordOrGreaterThan(me())}function vn(){return(117===me()||94===me())&&De(bn)}function bn(){return ye(),Wt()}function En(){return ye(),It()}function Tn(e){if(1===me())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 19===me();case 3:return 19===me()||82===me()||88===me();case 7:return 18===me()||94===me()||117===me();case 8:return function(){if(We())return!0;if(tr(me()))return!0;if(38===me())return!0;return!1}();case 19:return 31===me()||20===me()||18===me()||94===me()||117===me();case 11:return 21===me()||26===me();case 15:case 21:case 10:return 23===me();case 17:case 16:case 18:return 21===me()||23===me();case 20:return 27!==me();case 22:return 18===me()||19===me();case 13:return 31===me()||43===me();case 14:return 29===me()&&De(Ua);default:return!1}}function Sn(e,n){var t=R;R|=1<=0)}function In(n){return 6===n?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function Nn(){var e=qe([],pe());return e.isMissingList=!0,e}function kn(e,n,t,r){if(Ne(t)){var a=An(e,n);return Ne(r),a}return Nn()}function Rn(e,n){for(var t=pe(),r=e?nn(n):en(n),a=pe();Ue(24);){if(29===me()){r.jsdocDotPos=a;break}a=pe(),r=Xe(P.createQualifiedName(r,wn(e,!1)),t)}return r}function On(e,n){return Xe(P.createQualifiedName(e,n),e.pos)}function wn(n,t){if(s.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(me())&&De(jr))return Ye(79,!0,e.Diagnostics.Identifier_expected);if(80===me()){var r=on();return t?r:Ye(79,!0,e.Diagnostics.Identifier_expected)}return n?nn():en()}function Mn(e){var n=pe();return Xe(P.createTemplateExpression(Vn(e),function(e){var n,t=pe(),r=[];do{n=Bn(e),r.push(n)}while(16===n.literal.kind);return qe(r,t)}(e)),n)}function Pn(){var e=pe();return Xe(P.createTemplateLiteralType(Vn(!1),function(){var e,n=pe(),t=[];do{e=Fn(),t.push(e)}while(16===e.literal.kind);return qe(t,n)}()),e)}function Fn(){var e=pe();return Xe(P.createTemplateLiteralTypeSpan(Vt(),Gn(!1)),e)}function Gn(n){return 19===me()?(function(e){D=s.reScanTemplateToken(e)}(n),t=Kn(me()),e.Debug.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),t):je(17,e.Diagnostics._0_expected,e.tokenToString(19));var t}function Bn(e){var n=pe();return Xe(P.createTemplateSpan(ee(zt),Gn(e)),n)}function Un(){return Kn(me())}function Vn(n){n&&be();var t=Kn(me());return e.Debug.assert(15===t.kind,"Template head has wrong token kind"),t}function Kn(n){var t=pe(),r=e.isTemplateLiteralKind(n)?P.createTemplateLiteralLikeNode(n,s.getTokenValue(),function(e){var n=14===e||17===e,t=s.getTokenText();return t.substring(1,t.length-(s.isUnterminated()?0:n?1:2))}(n),2048&s.getTokenFlags()):8===n?P.createNumericLiteral(s.getTokenValue(),s.getNumericLiteralFlags()):10===n?P.createStringLiteral(s.getTokenValue(),void 0,s.hasExtendedUnicodeEscape()):e.isLiteralKind(n)?P.createLiteralLikeNode(n,s.getTokenValue()):e.Debug.fail();return s.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),s.isUnterminated()&&(r.isUnterminated=!0),ye(),Xe(r,t)}function jn(){return Rn(!0,e.Diagnostics.Type_expected)}function Hn(){if(!s.hasPrecedingLineBreak()&&29===Ee())return kn(20,Vt,29,31)}function Wn(){var e=pe();return Xe(P.createTypeReferenceNode(jn(),Hn()),e)}function zn(n){switch(n.kind){case 177:return e.nodeIsMissing(n.typeName);case 178:case 179:var t=n,r=t.parameters,a=t.type;return!!r.isMissingList||zn(a);case 190:return zn(n.type);default:return!1}}function Jn(){var e=pe();return ye(),Xe(P.createThisTypeNode(),e)}function qn(){var e,n=pe();return 108!==me()&&103!==me()||(e=nn(),Ne(58)),Xe(P.createParameterDeclaration(void 0,void 0,void 0,e,void 0,Xn(),void 0),n)}function Xn(){s.setInJSDocType(!0);var e=pe();if(Ue(141)){var n=P.createJSDocNamepathType(void 0);e:for(;;)switch(me()){case 19:case 1:case 27:case 5:break e;default:he()}return s.setInJSDocType(!1),Xe(n,e)}var t=Ue(25),r=Bt();return s.setInJSDocType(!1),t&&(r=Xe(P.createJSDocVariadicType(r),e)),63===me()?(ye(),Xe(P.createJSDocOptionalType(r),e)):r}function Yn(){var e,n,t=pe(),r=en();Ue(94)&&(It()||!Wt()?e=Vt():n=or());var a=Ue(63)?Vt():void 0,i=P.createTypeParameterDeclaration(r,e,a);return i.expression=n,Xe(i,t)}function Qn(){if(29===me())return kn(19,Yn,29,31)}function Zn(n){return 25===me()||ia()||e.isModifierKind(me())||59===me()||It(!n)}function $n(){return nt(!0)}function et(){return nt(!1)}function nt(n){var t=pe(),r=fe(),a=n?ne(Ta):Ta();if(108===me()){var i=P.createParameterDeclaration(a,void 0,void 0,Ze(!0),void 0,jt(),void 0);return a&&ue(a[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),K(Xe(i,t),r)}var o=F;F=!1;var s=xa(),c=K(Xe(P.createParameterDeclaration(a,s,Ve(25),function(n){var t=oa(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return 0===e.getFullWidth(t)&&!e.some(n)&&e.isModifierKind(me())&&ye(),t}(s),Ve(57),jt(),Jt()),t),r);return F=o,c}function tt(n,t){if(function(n,t){if(38===n)return Ne(n),!0;if(Ue(58))return!0;if(t&&38===me())return se(e.Diagnostics._0_expected,e.tokenToString(58)),ye(),!0;return!1}(n,t))return Bt()}function rt(e){var n=re(),t=oe();X(!!(1&e)),Q(!!(2&e));var r=32&e?An(17,qn):An(16,t?$n:et);return X(n),Q(t),r}function at(e){if(!Ne(20))return Nn();var n=rt(e);return Ne(21),n}function it(){Ue(27)||Je()}function ot(e){var n=pe(),t=fe();174===e&&Ne(103);var r=Qn(),a=at(4),i=tt(58,!0);return it(),K(Xe(173===e?P.createCallSignature(r,a,i):P.createConstructSignature(r,a,i),n),t)}function st(){return 22===me()&&De(ct)}function ct(){if(ye(),25===me()||23===me())return!0;if(e.isModifierKind(me())){if(ye(),Ie())return!0}else{if(!Ie())return!1;ye()}return 58===me()||27===me()||57===me()&&(ye(),58===me()||27===me()||23===me())}function lt(e,n,t,r){var a=kn(16,et,22,23),i=jt();return it(),K(Xe(P.createIndexSignature(t,r,a,i),e),n)}function ut(){if(20===me()||29===me()||136===me()||148===me())return!0;for(var n=!1;e.isModifierKind(me());)n=!0,ye();return 22===me()||(tn()&&(n=!0,ye()),!!n&&(20===me()||29===me()||57===me()||58===me()||27===me()||We()))}function dt(){if(20===me()||29===me())return ot(173);if(103===me()&&De(pt))return ot(174);var e=pe(),n=fe(),t=xa();return sn(136)?ya(e,n,void 0,t,171):sn(148)?ya(e,n,void 0,t,172):st()?lt(e,n,void 0,t):function(e,n,t){var r,a=an(),i=Ve(57);if(20===me()||29===me()){var o=Qn(),s=at(4),c=tt(58,!0);r=P.createMethodSignature(t,a,i,o,s,c)}else c=jt(),r=P.createPropertySignature(t,a,i,c),63===me()&&(r.initializer=Jt());return it(),K(Xe(r,e),n)}(e,n,t)}function pt(){return ye(),20===me()||29===me()}function ft(){return 24===ye()}function mt(){switch(ye()){case 20:case 29:case 24:return!0}return!1}function _t(){var e;return Ne(18)?(e=Sn(4,dt),Ne(19)):e=Nn(),e}function gt(){return ye(),39===me()||40===me()?144===ye():(144===me()&&ye(),22===me()&&gn()&&101===ye())}function yt(){var e,n=pe();Ne(18),144!==me()&&39!==me()&&40!==me()||144!==(e=He()).kind&&Ne(144),Ne(22);var t,r=function(){var e=pe(),n=nn();Ne(101);var t=Vt();return Xe(P.createTypeParameterDeclaration(n,t,void 0),e)}(),a=Ue(127)?Vt():void 0;Ne(23),57!==me()&&39!==me()&&40!==me()||57!==(t=He()).kind&&Ne(57);var i=jt();Je();var o=Sn(4,dt);return Ne(19),Xe(P.createMappedTypeNode(e,r,a,t,i,o),n)}function ht(){var n=pe();if(Ue(25))return Xe(P.createRestTypeNode(Vt()),n);var t=Vt();if(e.isJSDocNullableType(t)&&t.pos===t.type.pos){var r=P.createOptionalTypeNode(t.type);return e.setTextRange(r,t),r.flags=t.flags,r}return t}function vt(){return 58===ye()||57===me()&&58===ye()}function bt(){return 25===me()?e.tokenIsIdentifierOrKeyword(ye())&&vt():e.tokenIsIdentifierOrKeyword(me())&&vt()}function Et(){if(De(bt)){var e=pe(),n=fe(),t=Ve(25),r=nn(),a=Ve(57);Ne(58);var i=ht();return K(Xe(P.createNamedTupleMember(t,r,a,i),e),n)}return ht()}function Tt(){var e=pe(),n=fe(),t=function(){var e;if(126===me()){var n=pe();ye(),e=qe([Xe(P.createToken(126),n)],n)}return e}(),r=Ue(103),a=Qn(),i=at(4),o=tt(38,!1),s=r?P.createConstructorTypeNode(t,a,i,o):P.createFunctionTypeNode(a,i,o);return r||(s.modifiers=t),K(Xe(s,e),n)}function St(){var e=He();return 24===me()?void 0:e}function xt(e){var n=pe();e&&ye();var t=110===me()||95===me()||104===me()?He():Kn(me());return e&&(t=Xe(P.createPrefixUnaryExpression(40,t),n)),Xe(P.createLiteralTypeNode(t),n)}function Lt(){return ye(),100===me()}function Dt(){p|=1048576;var e=pe(),n=Ue(112);Ne(100),Ne(20);var t=Vt();Ne(21);var r=Ue(24)?jn():void 0,a=Hn();return Xe(P.createImportTypeNode(t,r,a,n),e)}function Ct(){return ye(),8===me()||9===me()}function At(){switch(me()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return Ce(St)||Wn();case 66:s.reScanAsteriskEqualsToken();case 41:return t=pe(),ye(),Xe(P.createJSDocAllType(),t);case 60:s.reScanQuestionToken();case 57:return function(){var e=pe();return ye(),27===me()||19===me()||21===me()||31===me()||63===me()||51===me()?Xe(P.createJSDocUnknownType(),e):Xe(P.createJSDocNullableType(Vt()),e)}();case 98:return function(){var e=pe(),n=fe();if(De(Ga)){ye();var t=at(36),r=tt(58,!1);return K(Xe(P.createJSDocFunctionType(t,r),e),n)}return Xe(P.createTypeReferenceNode(nn(),void 0),e)}();case 53:return function(){var e=pe();return ye(),Xe(P.createJSDocNonNullableType(At()),e)}();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return xt();case 40:return De(Ct)?xt(!0):Wn();case 114:return He();case 108:var e=Jn();return 139!==me()||s.hasPrecedingLineBreak()?e:(n=e,ye(),Xe(P.createTypePredicateNode(void 0,n,Vt()),n.pos));case 112:return De(Lt)?Dt():function(){var e=pe();return Ne(112),Xe(P.createTypeQueryNode(Rn(!0)),e)}();case 18:return De(gt)?yt():function(){var e=pe();return Xe(P.createTypeLiteralNode(_t()),e)}();case 22:return function(){var e=pe();return Xe(P.createTupleTypeNode(kn(21,Et,22,23)),e)}();case 20:return function(){var e=pe();Ne(20);var n=Vt();return Ne(21),Xe(P.createParenthesizedType(n),e)}();case 100:return Dt();case 128:return De(jr)?function(){var e=pe(),n=je(128),t=108===me()?Jn():en(),r=Ue(139)?Vt():void 0;return Xe(P.createTypePredicateNode(n,t,r),e)}():Wn();case 15:return Pn();default:return Wn()}var n,t}function It(e){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!e;case 40:return!e&&De(Ct);case 20:return!e&&De(Nt);default:return Ie()}}function Nt(){return ye(),21===me()||Zn(!1)||It()}function kt(){var e=pe();return Ne(137),Xe(P.createInferTypeNode(function(){var e=pe();return Xe(P.createTypeParameterDeclaration(en(),void 0,void 0),e)}()),e)}function Rt(){var e=me();switch(e){case 140:case 153:case 144:return function(e){var n=pe();return Ne(e),Xe(P.createTypeOperatorNode(e,Rt()),n)}(e);case 137:return kt()}return function(){for(var e=pe(),n=At();!s.hasPrecedingLineBreak();)switch(me()){case 53:ye(),n=Xe(P.createJSDocNonNullableType(n),e);break;case 57:if(De(En))return n;ye(),n=Xe(P.createJSDocNullableType(n),e);break;case 22:if(Ne(22),It()){var t=Vt();Ne(23),n=Xe(P.createIndexedAccessTypeNode(n,t),e)}else Ne(23),n=Xe(P.createArrayTypeNode(n),e);break;default:return n}return n}()}function Ot(n){if(Ft()){var t=Tt();return ue(t,e.isFunctionTypeNode(t)?n?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:n?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),t}}function wt(e,n,t){var r=pe(),a=51===e,i=Ue(e),o=i&&Ot(a)||n();if(me()===e||i){for(var s=[o];Ue(e);)s.push(Ot(a)||n());o=Xe(t(qe(s,r)),r)}return o}function Mt(){return wt(50,Rt,P.createIntersectionTypeNode)}function Pt(){return ye(),103===me()}function Ft(){return 29===me()||(!(20!==me()||!De(Gt))||(103===me()||126===me()&&De(Pt)))}function Gt(){if(ye(),21===me()||25===me())return!0;if(function(){if(e.isModifierKind(me())&&xa(),Ie()||108===me())return ye(),!0;if(22===me()||18===me()){var n=S.length;return oa(),n===S.length}return!1}()){if(58===me()||27===me()||57===me()||63===me())return!0;if(21===me()&&(ye(),38===me()))return!0}return!1}function Bt(){var e=pe(),n=Ie()&&Ce(Ut),t=Vt();return n?Xe(P.createTypePredicateNode(void 0,n,t),e):t}function Ut(){var e=en();if(139===me()&&!s.hasPrecedingLineBreak())return ye(),e}function Vt(){return Z(40960,Kt)}function Kt(e){if(Ft())return Tt();var n=pe(),t=wt(51,Mt,P.createUnionTypeNode);if(!e&&!s.hasPrecedingLineBreak()&&Ue(94)){var r=Kt(!0);Ne(57);var a=Kt();Ne(58);var i=Kt();return Xe(P.createConditionalTypeNode(t,r,a,i),n)}return t}function jt(){return Ue(58)?Vt():void 0}function Ht(){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 De(mt);default:return Ie()}}function Wt(){if(Ht())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!!function(){if(ae()&&101===me())return!1;return e.getBinaryOperatorPrecedence(me())>0}()||Ie()}}function zt(){var e=ie();e&&Y(!1);for(var n,t=pe(),r=qt();n=Ve(27);)r=ar(r,n,qt(),t);return e&&Y(!0),r}function Jt(){return Ue(63)?qt():void 0}function qt(){if(function(){if(125===me())return!!re()||De(zr);return!1}())return function(){var e=pe();return ye(),s.hasPrecedingLineBreak()||41!==me()&&!Wt()?Xe(P.createYieldExpression(void 0,void 0),e):Xe(P.createYieldExpression(Ve(41),qt()),e)}();var n=function(){var e=function(){if(20===me()||29===me()||131===me())return De(Yt);if(38===me())return 1;return 0}();if(0===e)return;return 1===e?$t(!0):Ce(Qt)}()||function(){if(131===me()&&1===De(Zt)){var e=pe(),n=La();return Xt(e,nr(0),n)}return}();if(n)return n;var t=pe(),r=nr(0);return 79===r.kind&&38===me()?Xt(t,r,void 0):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(ve())?ar(r,He(),qt(),t):function(n,t){var r,a=Ve(57);if(!a)return n;return Xe(P.createConditionalExpression(n,a,Z(c,qt),r=je(58),e.nodeIsPresent(r)?qt():Ye(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),t)}(r,t)}function Xt(n,t,r){e.Debug.assert(38===me(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var a=P.createParameterDeclaration(void 0,void 0,void 0,t,void 0,void 0,void 0);Xe(a,t.pos);var i=qe([a],a.pos,a.end),o=je(38),s=er(!!r);return H(Xe(P.createArrowFunction(r,void 0,i,void 0,o,s),n))}function Yt(){if(131===me()){if(ye(),s.hasPrecedingLineBreak())return 0;if(20!==me()&&29!==me())return 0}var n=me(),t=ye();if(20===n){if(21===t)switch(ye()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&131!==t&&De(gn))return 1;if(!Ie()&&108!==t)return 0;switch(ye()){case 58:return 1;case 57:return ye(),58===me()||27===me()||63===me()||21===me()?1:0;case 27:case 63:case 21:return 2}return 0}return e.Debug.assert(29===n),Ie()?1===T?De((function(){var e=ye();if(94===e)switch(ye()){case 63:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function Qt(){var n=s.getTokenPos();if(!(null==O?void 0:O.has(n))){var t=$t(!1);return t||(O||(O=new e.Set)).add(n),t}}function Zt(){if(131===me()){if(ye(),s.hasPrecedingLineBreak()||38===me())return 0;var e=nr(0);if(!s.hasPrecedingLineBreak()&&79===e.kind&&38===me())return 1}return 0}function $t(n){var t,r=pe(),a=fe(),i=La(),o=e.some(i,e.isAsyncModifier)?2:0,s=Qn();if(Ne(20)){if(t=rt(o),!Ne(21)&&!n)return}else{if(!n)return;t=Nn()}var c=tt(58,!1);if(!c||n||!zn(c)){var l=c&&e.isJSDocFunctionType(c);if(n||38===me()||!l&&18===me()){var u=me(),d=je(38),p=38===u||18===u?er(e.some(i,e.isAsyncModifier)):en();return K(Xe(P.createArrowFunction(i,s,t,c,d,p),r),a)}}}function er(e){if(18===me())return Fr(e?2:0);if(26!==me()&&98!==me()&&84!==me()&&Xr()&&(18===me()||98===me()||84===me()||59===me()||!Wt()))return Fr(16|(e?2:0));var n=F;F=!1;var t=e?ne(qt):Z(32768,qt);return F=n,t}function nr(e){var n=pe();return rr(e,or(),n)}function tr(e){return 101===e||159===e}function rr(n,t,r){for(;;){ve();var a=e.getBinaryOperatorPrecedence(me());if(!(42===me()?a>=n:a>n))break;if(101===me()&&ae())break;if(127===me()){if(s.hasPrecedingLineBreak())break;ye(),i=t,o=Vt(),t=Xe(P.createAsExpression(i,o),i.pos)}else t=ar(t,He(),nr(a),r)}var i,o;return t}function ar(e,n,t,r){return Xe(P.createBinaryExpression(e,n,t),r)}function ir(){var e=pe();return Xe(P.createPrefixUnaryExpression(me(),ge(sr)),e)}function or(){if(function(){switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return!1;case 29:if(1!==T)return!1;default:return!0}}()){var n=pe(),t=cr();return 42===me()?rr(e.getBinaryOperatorPrecedence(me()),t,n):t}var r=me(),a=sr();if(42===me()){n=e.skipTrivia(f,a.pos);var i=a.end;210===a.kind?le(n,i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):le(n,i,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(r))}return a}function sr(){switch(me()){case 39:case 40:case 54:case 53:return ir();case 89:return e=pe(),Xe(P.createDeleteExpression(ge(sr)),e);case 112:return function(){var e=pe();return Xe(P.createTypeOfExpression(ge(sr)),e)}();case 114:return function(){var e=pe();return Xe(P.createVoidExpression(ge(sr)),e)}();case 29:return function(){var e=pe();Ne(29);var n=Vt();Ne(31);var t=sr();return Xe(P.createTypeAssertion(n,t),e)}();case 132:if(132===me()&&(oe()||De(zr)))return function(){var e=pe();return Xe(P.createAwaitExpression(ge(sr)),e)}();default:return cr()}var e}function cr(){if(45===me()||46===me()){var n=pe();return Xe(P.createPrefixUnaryExpression(me(),ge(lr)),n)}if(1===T&&29===me()&&De(hn))return dr(!0);var t=lr();if(e.Debug.assert(e.isLeftHandSideExpression(t)),(45===me()||46===me())&&!s.hasPrecedingLineBreak()){var r=me();return ye(),Xe(P.createPostfixUnaryExpression(t,r),t.pos)}return t}function lr(){var n,t=pe();return 100===me()?De(pt)?(p|=1048576,n=He()):De(ft)?(ye(),ye(),n=Xe(P.createMetaProperty(100,nn()),t),p|=2097152):n=ur():n=106===me()?function(){var n=pe(),t=He();if(29===me()){var r=pe();void 0!==Ce(Dr)&&le(r,pe(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===me()||24===me()||22===me())return t;return je(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),Xe(P.createPropertyAccessExpression(t,wn(!0,!0)),n)}():ur(),xr(t,n)}function ur(){return Er(pe(),Cr(),!0)}function dr(n,t,r){var a,i=pe(),o=function(e){var n=pe();if(Ne(29),31===me())return xe(),Xe(P.createJsxOpeningFragment(),n);var t,r=mr(),a=131072&w?void 0:Ra(),i=function(){var e=pe();return Xe(P.createJsxAttributes(Sn(13,gr)),e)}();31===me()?(xe(),t=P.createJsxOpeningElement(r,a,i)):(Ne(43),Ne(31,void 0,!1)&&(e?ye():xe()),t=P.createJsxSelfClosingElement(r,a,i));return Xe(t,n)}(n);if(279===o.kind){var s=fr(o),c=void 0,l=s[s.length-1];if(277===(null==l?void 0:l.kind)&&!C(l.openingElement.tagName,l.closingElement.tagName)&&C(o.tagName,l.closingElement.tagName)){var u=l.children.end,d=Xe(P.createJsxElement(l.openingElement,l.children,Xe(P.createJsxClosingElement(Xe(P.createIdentifier(""),u,u)),u,u)),l.openingElement.pos,u);s=qe(Or(Or([],s.slice(0,s.length-1),!0),[d],!1),s.pos,u),c=l.closingElement}else c=function(e,n){var t=pe();Ne(30);var r=mr();Ne(31,void 0,!1)&&(n||!C(e.tagName,r)?ye():xe());return Xe(P.createJsxClosingElement(r),t)}(o,n),C(o.tagName,c.tagName)||(r&&e.isJsxOpeningElement(r)&&C(c.tagName,r.tagName)?ue(o.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(f,o.tagName)):ue(c.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(f,o.tagName)));a=Xe(P.createJsxElement(o,s,c),i)}else 282===o.kind?a=Xe(P.createJsxFragment(o,fr(o),function(n){var t=pe();Ne(30),e.tokenIsIdentifierOrKeyword(me())&&ue(mr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);Ne(31,void 0,!1)&&(n?ye():xe());return Xe(P.createJsxJsxClosingFragment(),t)}(n)),i):(e.Debug.assert(278===o.kind),a=o);if(n&&29===me()){var p=void 0===t?a.pos:t,m=Ce((function(){return dr(!0,p)}));if(m){var _=Ye(27,!1);return e.setTextRangePosWidth(_,m.pos,0),le(e.skipTrivia(f,p),m.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),Xe(P.createBinaryExpression(a,_,m),i)}}return a}function pr(n,t){switch(t){case 1:if(e.isJsxOpeningFragment(n))ue(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var r=n.tagName;le(e.skipTrivia(f,r.pos),r.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(f,n.tagName))}return;case 30:case 7:return;case 11:case 12:return a=pe(),i=P.createJsxText(s.getTokenValue(),12===D),D=s.scanJsxToken(),Xe(i,a);case 18:return _r(!1);case 29:return dr(!1,void 0,n);default:return e.Debug.assertNever(t)}var a,i}function fr(n){var t=[],r=pe(),a=R;for(R|=16384;;){var i=pr(n,D=s.reScanJsxToken());if(!i)break;if(t.push(i),e.isJsxOpeningElement(n)&&277===(null==i?void 0:i.kind)&&!C(i.openingElement.tagName,i.closingElement.tagName)&&C(n.tagName,i.closingElement.tagName))break}return R=a,qe(t,r)}function mr(){var e=pe();Se();for(var n=108===me()?He():nn();Ue(24);)n=Xe(P.createPropertyAccessExpression(n,wn(!0,!1)),e);return n}function _r(e){var n,t,r=pe();if(Ne(18))return 19!==me()&&(n=Ve(25),t=zt()),e?Ne(19):Ne(19,void 0,!1)&&xe(),Xe(P.createJsxExpression(n,t),r)}function gr(){if(18===me())return function(){var e=pe();Ne(18),Ne(25);var n=zt();return Ne(19),Xe(P.createJsxSpreadAttribute(n),e)}();Se();var e=pe();return Xe(P.createJsxAttribute(nn(),63!==me()?void 0:10===(D=s.scanJsxAttributeValue())?Un():_r(!0)),e)}function yr(){return ye(),e.tokenIsIdentifierOrKeyword(me())||22===me()||Tr()}function hr(n){if(32&n.flags)return!0;if(e.isNonNullExpression(n)){for(var t=n.expression;e.isNonNullExpression(t)&&!(32&t.flags);)t=t.expression;if(32&t.flags){for(;e.isNonNullExpression(n);)n.flags|=32,n=n.expression;return!0}}return!1}function vr(n,t,r){var a=wn(!0,!0),i=r||hr(t),o=i?P.createPropertyAccessChain(t,r,a):P.createPropertyAccessExpression(t,a);return i&&e.isPrivateIdentifier(o.name)&&ue(o.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),Xe(o,n)}function br(n,t,r){var a;if(23===me())a=Ye(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var i=ee(zt);e.isStringOrNumericLiteralLike(i)&&(i.text=Qe(i.text)),a=i}return Ne(23),Xe(r||hr(t)?P.createElementAccessChain(t,r,a):P.createElementAccessExpression(t,a),n)}function Er(n,t,r){for(;;){var a=void 0,i=!1;if(r&&28===me()&&De(yr)?(a=je(28),i=e.tokenIsIdentifierOrKeyword(me())):i=Ue(24),i)t=vr(n,t,a);else if(a||53!==me()||s.hasPrecedingLineBreak())if(!a&&ie()||!Ue(22)){if(!Tr())return t;t=Sr(n,t,a,void 0)}else t=br(n,t,a);else ye(),t=Xe(P.createNonNullExpression(t),n)}}function Tr(){return 14===me()||15===me()}function Sr(e,n,t,r){var a=P.createTaggedTemplateExpression(n,r,14===me()?(be(),Un()):Mn(!0));return(t||32&n.flags)&&(a.flags|=32),a.questionDotToken=t,Xe(a,e)}function xr(n,t){for(;;){t=Er(n,t,!0);var r=Ve(28);if(131072&w||29!==me()&&47!==me()){if(20===me()){i=Lr();t=Xe(r||hr(t)?P.createCallChain(t,r,void 0,i):P.createCallExpression(t,void 0,i),n);continue}}else{var a=Ce(Dr);if(a){if(Tr()){t=Sr(n,t,r,a);continue}var i=Lr();t=Xe(r||hr(t)?P.createCallChain(t,r,a,i):P.createCallExpression(t,a,i),n);continue}}if(r){var o=Ye(79,!1,e.Diagnostics.Identifier_expected);t=Xe(P.createPropertyAccessChain(t,r,o),n)}break}return t}function Lr(){Ne(20);var e=An(11,Ir);return Ne(21),e}function Dr(){if(!(131072&w)&&29===Ee()){ye();var e=An(20,Vt);if(Ne(31))return e&&function(){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;default:return!1}}()?e:void 0}}function Cr(){switch(me()){case 8:case 9:case 10:case 14:return Un();case 108:case 106:case 104:case 110:case 95:return He();case 20:return function(){var e=pe(),n=fe();Ne(20);var t=ee(zt);return Ne(21),K(Xe(P.createParenthesizedExpression(t),e),n)}();case 22:return Nr();case 18:return Rr();case 131:if(!De(Wr))break;return wr();case 84:return Aa(pe(),fe(),void 0,void 0,225);case 98:return wr();case 103:return function(){var n=pe();if(Ne(103),Ue(24)){var t=nn();return Xe(P.createMetaProperty(103,t),n)}var r,a,i=pe(),o=Cr();for(;;){o=Er(i,o,!1),r=Ce(Dr),Tr()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),o=Sr(i,o,void 0,r),r=void 0);break}20===me()?a=Lr():r&&le(n,s.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list);return Xe(P.createNewExpression(o,r,a),n)}();case 43:case 68:if(13===(D=s.reScanSlashToken()))return Un();break;case 15:return Mn(!1);case 80:return on()}return en(e.Diagnostics.Expression_expected)}function Ar(){return 25===me()?function(){var e=pe();Ne(25);var n=qt();return Xe(P.createSpreadElement(n),e)}():27===me()?Xe(P.createOmittedExpression(),pe()):qt()}function Ir(){return Z(c,Ar)}function Nr(){var e=pe();Ne(22);var n=s.hasPrecedingLineBreak(),t=An(15,Ar);return Ne(23),Xe(P.createArrayLiteralExpression(t,n),e)}function kr(){var e=pe(),n=fe();if(Ve(25)){var t=qt();return K(Xe(P.createSpreadAssignment(t),e),n)}var r=Ta(),a=xa();if(sn(136))return ya(e,n,r,a,171);if(sn(148))return ya(e,n,r,a,172);var i,o=Ve(41),s=Ie(),c=an(),l=Ve(57),u=Ve(53);if(o||20===me()||29===me())return ma(e,n,r,a,o,c,l,u);if(s&&58!==me()){var d=Ve(63),p=d?ee(qt):void 0;(i=P.createShorthandPropertyAssignment(c,p)).equalsToken=d}else{Ne(58);var f=ee(qt);i=P.createPropertyAssignment(c,f)}return i.decorators=r,i.modifiers=a,i.questionToken=l,i.exclamationToken=u,K(Xe(i,e),n)}function Rr(){var n=pe(),t=s.getTokenPos();Ne(18);var r=s.hasPrecedingLineBreak(),a=An(12,kr,!0);if(!Ne(19)){var i=e.lastOrUndefined(S);i&&i.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(i,e.createDetachedDiagnostic(u,t,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return Xe(P.createObjectLiteralExpression(a,r),n)}function wr(){var n=ie();Y(!1);var t=pe(),r=fe(),a=xa();Ne(98);var i=Ve(41),o=i?1:0,s=e.some(a,e.isAsyncModifier)?2:0,c=o&&s?$(40960,Mr):o?function(e){return $(8192,e)}(Mr):s?ne(Mr):Mr(),l=Qn(),u=at(o|s),d=tt(58,!1),p=Fr(o|s);return Y(n),K(Xe(P.createFunctionExpression(a,i,c,l,u,d,p),t),r)}function Mr(){return Ae()?$e():void 0}function Pr(n,t){var r=pe(),a=fe(),i=s.getTokenPos();if(Ne(18,t)||n){var o=s.hasPrecedingLineBreak(),c=Sn(1,Qr);if(!Ne(19)){var l=e.lastOrUndefined(S);l&&l.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(l,e.createDetachedDiagnostic(u,i,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var d=K(Xe(P.createBlock(c,o),r),a);return 63===me()&&(se(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),ye()),d}c=Nn();return K(Xe(P.createBlock(c,void 0),r),a)}function Fr(e,n){var t=re();X(!!(1&e));var r=oe();Q(!!(2&e));var a=F;F=!1;var i=ie();i&&Y(!1);var o=Pr(!!(16&e),n);return i&&Y(!0),F=a,X(t),Q(r),o}function Gr(){var e=pe(),n=fe();Ne(97);var t,r,a=Ve(132);if(Ne(20),26!==me()&&(t=113===me()||119===me()||85===me()?la(!0):$(4096,zt)),a?Ne(159):Ue(159)){var i=ee(qt);Ne(21),r=P.createForOfStatement(a,t,i,Qr())}else if(Ue(101)){i=ee(zt);Ne(21),r=P.createForInStatement(t,i,Qr())}else{Ne(26);var o=26!==me()&&21!==me()?ee(zt):void 0;Ne(26);var s=21!==me()?ee(zt):void 0;Ne(21),r=P.createForStatement(t,o,s,Qr())}return K(Xe(r,e),n)}function Br(e){var n=pe(),t=fe();Ne(245===e?81:86);var r=We()?void 0:en();return Je(),K(Xe(245===e?P.createBreakStatement(r):P.createContinueStatement(r),n),t)}function Ur(){return 82===me()?function(){var e=pe();Ne(82);var n=ee(zt);Ne(58);var t=Sn(3,Qr);return Xe(P.createCaseClause(n,t),e)}():function(){var e=pe();Ne(88),Ne(58);var n=Sn(3,Qr);return Xe(P.createDefaultClause(n),e)}()}function Vr(){var e=pe(),n=fe();Ne(107),Ne(20);var t=ee(zt);Ne(21);var r=function(){var e=pe();Ne(18);var n=Sn(2,Ur);return Ne(19),Xe(P.createCaseBlock(n),e)}();return K(Xe(P.createSwitchStatement(t,r),e),n)}function Kr(){var e=pe(),n=fe();Ne(111);var t,r=Pr(!1),a=83===me()?function(){var e,n=pe();Ne(83),Ue(20)?(e=ca(),Ne(21)):e=void 0;var t=Pr(!1);return Xe(P.createCatchClause(e,t),n)}():void 0;return a&&96!==me()||(Ne(96),t=Pr(!1)),K(Xe(P.createTryStatement(r,a,t),e),n)}function jr(){return ye(),e.tokenIsIdentifierOrKeyword(me())&&!s.hasPrecedingLineBreak()}function Hr(){return ye(),84===me()&&!s.hasPrecedingLineBreak()}function Wr(){return ye(),98===me()&&!s.hasPrecedingLineBreak()}function zr(){return ye(),(e.tokenIsIdentifierOrKeyword(me())||8===me()||9===me()||10===me())&&!s.hasPrecedingLineBreak()}function Jr(){for(;;)switch(me()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return ye(),!s.hasPrecedingLineBreak()&&Ie();case 141:case 142:return na();case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(ye(),s.hasPrecedingLineBreak())return!1;continue;case 156:return ye(),18===me()||79===me()||93===me();case 100:return ye(),10===me()||41===me()||18===me()||e.tokenIsIdentifierOrKeyword(me());case 93:var n=ye();if(151===n&&(n=De(ye)),63===n||41===n||18===n||88===n||127===n)return!0;continue;case 124:ye();continue;default:return!1}}function qr(){return De(Jr)}function Xr(){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:case 131:case 135:case 118:case 141:case 142:case 151:case 156:return!0;case 100:return qr()||De(mt);case 85:case 93:return qr();case 123:case 121:case 122:case 124:case 144:return qr()||!De(jr);default:return Wt()}}function Yr(){return ye(),Ae()||18===me()||22===me()}function Qr(){switch(me()){case 26:return n=pe(),t=fe(),Ne(26),K(Xe(P.createEmptyStatement(),n),t);case 18:return Pr(!1);case 113:return da(pe(),fe(),void 0,void 0);case 119:if(De(Yr))return da(pe(),fe(),void 0,void 0);break;case 98:return pa(pe(),fe(),void 0,void 0);case 84:return Ca(pe(),fe(),void 0,void 0);case 99:return function(){var e=pe(),n=fe();Ne(99),Ne(20);var t=ee(zt);Ne(21);var r=Qr(),a=Ue(91)?Qr():void 0;return K(Xe(P.createIfStatement(t,r,a),e),n)}();case 90:return function(){var e=pe(),n=fe();Ne(90);var t=Qr();Ne(115),Ne(20);var r=ee(zt);return Ne(21),Ue(26),K(Xe(P.createDoStatement(t,r),e),n)}();case 115:return function(){var e=pe(),n=fe();Ne(115),Ne(20);var t=ee(zt);Ne(21);var r=Qr();return K(Xe(P.createWhileStatement(t,r),e),n)}();case 97:return Gr();case 86:return Br(244);case 81:return Br(245);case 105:return function(){var e=pe(),n=fe();Ne(105);var t=We()?void 0:ee(zt);return Je(),K(Xe(P.createReturnStatement(t),e),n)}();case 116:return function(){var e=pe(),n=fe();Ne(116),Ne(20);var t=ee(zt);Ne(21);var r=$(16777216,Qr);return K(Xe(P.createWithStatement(t,r),e),n)}();case 107:return Vr();case 109:return function(){var e=pe(),n=fe();Ne(109);var t=s.hasPrecedingLineBreak()?void 0:ee(zt);return void 0===t&&(k++,t=Xe(P.createIdentifier(""),pe())),ze()||Fe(t),K(Xe(P.createThrowStatement(t),e),n)}();case 111:case 83:case 96:return Kr();case 87:return function(){var e=pe(),n=fe();return Ne(87),Je(),K(Xe(P.createDebuggerStatement(),e),n)}();case 59:return $r();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(qr())return $r()}var n,t;return function(){var n,t=pe(),r=fe(),a=20===me(),i=ee(zt);return e.isIdentifier(i)&&Ue(58)?n=P.createLabeledStatement(i,Qr()):(ze()||Fe(i),n=P.createExpressionStatement(i),a&&(r=!1)),K(Xe(n,t),r)}()}function Zr(e){return 135===e.kind}function $r(){var n=e.some(De((function(){return Ta(),xa()})),Zr);if(n){var t=$(8388608,(function(){var e=Ln(R);if(e)return Dn(e)}));if(t)return t}var r=pe(),a=fe(),i=Ta(),o=xa();if(n){for(var s=0,c=o;s=0),e.Debug.assert(n<=o),e.Debug.assert(o<=i.length),m(i,n)){var c,l,d,p,_,g=[],y=[];return s.scanRange(n+3,a-5,(function(){var t,r=1,a=n-(i.lastIndexOf("\n",n)+1)+4;function u(e){t||(t=a),g.push(e),a+=e.length}for(he();J(5););J(4)&&(r=0,a=0);e:for(;;){switch(me()){case 59:0===r||1===r?(v(g),_||(_=pe()),N(x(a)),r=0,t=void 0):u(s.getTokenText());break;case 4:g.push(s.getTokenText()),r=0,a=0;break;case 41:var f=s.getTokenText();1===r||2===r?(r=2,u(f)):(r=1,a+=f.length);break;case 5:var m=s.getTokenText();2===r?g.push(m):void 0!==t&&a+m.length>t&&g.push(m.slice(t-a)),a+=m.length;break;case 1:break e;case 18:r=2;var b=s.getStartPos(),E=A(s.getTextPos()-1);if(E){p||h(g),y.push(Xe(P.createJSDocText(g.join("")),null!=p?p:n,b)),y.push(E),g=[],p=s.getTextPos();break}default:r=2,u(s.getTokenText())}he()}v(g),y.length&&g.length&&y.push(Xe(P.createJSDocText(g.join("")),null!=p?p:n,_)),y.length&&c&&e.Debug.assertIsDefined(_,"having parsed tags implies that the end of the comment span should be set");var T=c&&qe(c,l,d);return Xe(P.createJSDocComment(y.length?qe(y,n,_):g.length?g.join(""):void 0,T),n,o)}))}function h(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function v(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function b(){for(;;){if(he(),1===me())return!0;if(5!==me()&&4!==me())return!1}}function E(){if(5!==me()&&4!==me()||!De(b))for(;5===me()||4===me();)he()}function T(){if((5===me()||4===me())&&De(b))return"";for(var e=s.hasPrecedingLineBreak(),n=!1,t="";e&&41===me()||5===me()||4===me();)t+=s.getTokenText(),4===me()?(e=!0,n=!0,t=""):41===me()&&(e=!1),he();return n?t:""}function x(n){e.Debug.assert(59===me());var a=s.getTokenPos();he();var i,o=q(void 0),l=T();switch(o.escapedText){case"author":i=function(n,t,r,a){var i=pe(),o=function(){var e=[],n=!1,t=s.getToken();for(;1!==t&&4!==t;){if(29===t)n=!0;else{if(59===t&&!n)break;if(31===t&&n){e.push(s.getTokenText()),s.setTextPos(s.getTokenPos()+1);break}}e.push(s.getTokenText()),t=he()}return P.createJSDocText(e.join(""))}(),c=s.getStartPos(),l=L(n,c,r,a);l||(c=s.getStartPos());var u="string"!=typeof l?qe(e.concatenate([Xe(o,i,c)],l),i):o.text+l;return Xe(P.createJSDocAuthorTag(t,u),n)}(a,o,n,l);break;case"implements":i=function(e,n,t,r){var a=G();return Xe(P.createJSDocImplementsTag(n,a,L(e,pe(),t,r)),e)}(a,o,n,l);break;case"augments":case"extends":i=function(e,n,t,r){var a=G();return Xe(P.createJSDocAugmentsTag(n,a,L(e,pe(),t,r)),e)}(a,o,n,l);break;case"class":case"constructor":i=B(a,P.createJSDocClassTag,o,n,l);break;case"public":i=B(a,P.createJSDocPublicTag,o,n,l);break;case"private":i=B(a,P.createJSDocPrivateTag,o,n,l);break;case"protected":i=B(a,P.createJSDocProtectedTag,o,n,l);break;case"readonly":i=B(a,P.createJSDocReadonlyTag,o,n,l);break;case"override":i=B(a,P.createJSDocOverrideTag,o,n,l);break;case"deprecated":j=!0,i=B(a,P.createJSDocDeprecatedTag,o,n,l);break;case"this":i=function(e,n,r,a){var i=t(!0);return E(),Xe(P.createJSDocThisTag(n,i,L(e,pe(),r,a)),e)}(a,o,n,l);break;case"enum":i=function(e,n,r,a){var i=t(!0);return E(),Xe(P.createJSDocEnumTag(n,i,L(e,pe(),r,a)),e)}(a,o,n,l);break;case"arg":case"argument":case"param":return M(a,o,2,n);case"return":case"returns":i=function(n,t,r,a){e.some(c,e.isJSDocReturnTag)&&le(t.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var i=R();return Xe(P.createJSDocReturnTag(t,i,L(n,pe(),r,a)),n)}(a,o,n,l);break;case"template":i=function(e,n,r,a){var i=18===me()?t():void 0,o=function(){var e=pe(),n=[];do{E();var t=z();void 0!==t&&n.push(t),T()}while(J(27));return qe(n,e)}();return Xe(P.createJSDocTemplateTag(n,i,o,L(e,pe(),r,a)),e)}(a,o,n,l);break;case"type":i=F(a,o,n,l);break;case"typedef":i=function(n,t,r,a){var i,o=R();T();var s=U();E();var c,l=D(r);if(!o||w(o.type)){for(var d=void 0,p=void 0,f=void 0,m=!1;d=Ce((function(){return K(r)}));)if(m=!0,341===d.kind){if(p){se(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var _=e.lastOrUndefined(S);_&&e.addRelatedInfo(_,e.createDetachedDiagnostic(u,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}p=d}else f=e.append(f,d);if(m){var g=o&&182===o.type.kind,y=P.createJSDocTypeLiteral(f,g);c=(o=p&&p.typeExpression&&!w(p.typeExpression.type)?p.typeExpression:Xe(y,n)).end}}c=c||void 0!==l?pe():(null!==(i=null!=s?s:o)&&void 0!==i?i:t).end,l||(l=L(n,c,r,a));var h=P.createJSDocTypedefTag(t,o,s,l);return Xe(h,n,c)}(a,o,n,l);break;case"callback":i=function(n,t,r,a){var i=U();E();var o=D(r),s=function(n){var t,r,a=pe();for(;t=Ce((function(){return H(4,n)}));)r=e.append(r,t);return qe(r||[],a)}(r),c=Ce((function(){if(J(59)){var e=x(r);if(e&&339===e.kind)return e}})),l=Xe(P.createJSDocSignature(void 0,s,c),n);o||(o=L(n,pe(),r,a));return Xe(P.createJSDocCallbackTag(t,l,i,o),n)}(a,o,n,l);break;case"see":i=function(n,t,a,i){var o=22===me()||De((function(){return 59===he()&&e.tokenIsIdentifierOrKeyword(he())&&"link"===s.getTokenValue()}))?void 0:r(),c=void 0!==a&&void 0!==i?L(n,pe(),a,i):void 0;return Xe(P.createJSDocSeeTag(t,o,c),n)}(a,o,n,l);break;default:i=function(e,n,t,r){return Xe(P.createJSDocUnknownTag(n,L(e,pe(),t,r)),e)}(a,o,n,l)}return i}function L(e,n,t,r){return r||(t+=n-e),D(t,r.slice(t))}function D(e,n){var t,r,a=pe(),i=[],o=[],c=0,l=!0;function u(n){r||(r=e),i.push(n),e+=n.length}void 0!==n&&(""!==n&&u(n),c=1);var d=me();e:for(;;){switch(d){case 4:c=0,i.push(s.getTokenText()),e=0;break;case 59:if(3===c||2===c&&(!l||De(C))){i.push(s.getTokenText());break}s.setTextPos(s.getTextPos()-1);case 1:break e;case 5:if(2===c||3===c)u(s.getTokenText());else{var p=s.getTokenText();void 0!==r&&e+p.length>r&&i.push(p.slice(r-e)),e+=p.length}break;case 18:c=2;var f=s.getStartPos(),m=A(s.getTextPos()-1);m?(o.push(Xe(P.createJSDocText(i.join("")),null!=t?t:a,f)),o.push(m),i=[],t=s.getTextPos()):u(s.getTokenText());break;case 61:c=3===c?2:3,u(s.getTokenText());break;case 41:if(0===c){c=1,e+=1;break}default:3!==c&&(c=2),u(s.getTokenText())}l=5===me(),d=he()}return h(i),v(i),o.length?(i.length&&o.push(Xe(P.createJSDocText(i.join("")),null!=t?t:a)),qe(o,a,s.getTextPos())):i.length?i.join(""):void 0}function C(){var e=he();return 5===e||4===e}function A(n){var t=Ce(I);if(t){he(),E();var r=pe(),a=e.tokenIsIdentifierOrKeyword(me())?Rn(!0):void 0;if(a)for(;80===me();)Te(),he(),a=Xe(P.createJSDocMemberName(a,en()),r);for(var i=[];19!==me()&&4!==me()&&1!==me();)i.push(s.getTokenText()),he();return Xe(("link"===t?P.createJSDocLink:"linkcode"===t?P.createJSDocLinkCode:P.createJSDocLinkPlain)(a,i.join("")),n,s.getTextPos())}}function I(){if(T(),18===me()&&59===he()&&e.tokenIsIdentifierOrKeyword(he())){var n=s.getTokenValue();if("link"===n||"linkcode"===n||"linkplain"===n)return n}}function N(e){e&&(c?c.push(e):(c=[e],l=e.pos),d=e.end)}function R(){return T(),18===me()?t():void 0}function O(){var n=J(22);n&&E();var t,r=J(61),a=function(){var e=q();Ue(22)&&Ne(23);for(;Ue(24);){var n=q();Ue(22)&&Ne(23),e=On(e,n)}return e}();return r&&(Ke(t=61)||Ye(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))),n&&(E(),Ve(63)&&zt(),Ne(23)),{name:a,isBracketed:n}}function w(n){switch(n.kind){case 147:return!0;case 182:return w(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText&&!n.typeArguments}}function M(n,t,r,a){var i=R(),o=!i;T();var s=O(),c=s.name,l=s.isBracketed,u=T();o&&!De(I)&&(i=R());var d=L(n,pe(),a,u),p=4!==r&&function(n,t,r,a){if(n&&w(n.type)){for(var i=pe(),o=void 0,s=void 0;o=Ce((function(){return H(r,a,t)}));)338!==o.kind&&345!==o.kind||(s=e.append(s,o));if(s){var c=Xe(P.createJSDocTypeLiteral(s,182===n.type.kind),i);return Xe(P.createJSDocTypeExpression(c),i)}}}(i,c,r,a);return p&&(i=p,o=!0),Xe(1===r?P.createJSDocPropertyTag(t,c,l,i,o,d):P.createJSDocParameterTag(t,c,l,i,o,d),n)}function F(n,r,a,i){e.some(c,e.isJSDocTypeTag)&&le(r.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var o=t(!0),l=void 0!==a&&void 0!==i?L(n,pe(),a,i):void 0;return Xe(P.createJSDocTypeTag(r,o,l),n)}function G(){var e=Ue(18),n=pe(),t=function(){var e=pe(),n=q();for(;Ue(24);){var t=q();n=Xe(P.createPropertyAccessExpression(n,t),e)}return n}(),r=Ra(),a=Xe(P.createExpressionWithTypeArguments(t,r),n);return e&&Ne(19),a}function B(e,n,t,r,a){return Xe(n(t,L(e,pe(),r,a)),e)}function U(n){var t=s.getTokenPos();if(e.tokenIsIdentifierOrKeyword(me())){var r=q();if(Ue(24)){var a=U(!0);return Xe(P.createModuleDeclaration(void 0,void 0,r,a,n?4:void 0),t)}return n&&(r.isInJSDocNamespace=!0),r}}function V(n,t){for(;!e.isIdentifier(n)||!e.isIdentifier(t);){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function K(e){return H(1,e)}function H(n,t,r){for(var a=!0,i=!1;;)switch(he()){case 59:if(a){var o=W(n,t);return!(o&&(338===o.kind||345===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!V(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 41:i&&(a=!1),i=!0;break;case 79:a=!1;break;case 1:return!1}}function W(n,t){e.Debug.assert(59===me());var r=s.getStartPos();he();var a,i=q();switch(E(),i.escapedText){case"type":return 1===n&&F(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&M(r,i,n,t)}function z(){var n=pe(),t=J(22);t&&E();var r,a=q(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(t&&(E(),Ne(63),r=$(4194304,Xn),Ne(23)),!e.nodeIsMissing(a))return Xe(P.createTypeParameterDeclaration(a,void 0,r),n)}function J(e){return me()===e&&(he(),!0)}function q(n){if(!e.tokenIsIdentifierOrKeyword(me()))return Ye(79,!n,n||e.Diagnostics.Identifier_expected);k++;var t=s.getTokenPos(),r=s.getTextPos(),a=me(),i=Qe(s.getTokenValue()),o=Xe(P.createIdentifier(i,void 0,a),t,r);return he(),o}}n.parseJSDocTypeExpressionForTests=function(n,r,a){U("file.js",n,99,void 0,1),s.setText(n,r,a),D=s.scan();var i=t(),o=z("file.js",99,1,!1,[],P.createToken(1),0),c=e.attachFileToDiagnostics(S,o);return x&&(o.jsDocDiagnostics=e.attachFileToDiagnostics(x,o)),V(),i?{jsDocTypeExpression:i,diagnostics:c}:void 0},n.parseJSDocTypeExpression=t,n.parseJSDocNameReference=r,n.parseIsolatedJSDocComment=function(n,t,r){U("",n,99,void 0,1);var a=$(4194304,(function(){return l(t,r)})),i={languageVariant:0,text:n},o=e.attachFileToDiagnostics(S,i);return V(),a?{jsDoc:a,diagnostics:o}:void 0},n.parseJSDocComment=function(n,t,r){var a=D,i=S.length,o=G,s=$(4194304,(function(){return l(t,r)}));return e.setParent(s,n),131072&w&&(x||(x=[]),x.push.apply(x,S)),D=a,S.length=i,G=o,s},(i=a||(a={}))[i.BeginningOfLine=0]="BeginningOfLine",i[i.SawAsterisk=1]="SawAsterisk",i[i.SavingComments=2]="SavingComments",i[i.SavingBackticks=3]="SavingBackticks",(c=o||(o={}))[c.Property=1]="Property",c[c.Parameter=2]="Parameter",c[c.CallbackParameter=4]="CallbackParameter"}(Me=n.JSDocParser||(n.JSDocParser={}))}(u||(u={})),function(n){function t(n,t,a,o,s,c){return void(t?u(n):l(n));function l(n){var t="";if(c&&r(n)&&(t=o.substring(n.pos,n.end)),n._children&&(n._children=void 0),e.setTextRangePosEnd(n,n.pos+a,n.end+a),c&&r(n)&&e.Debug.assert(t===s.substring(n.pos,n.end)),_(n,l,u),e.hasJSDocNodes(n))for(var d=0,p=n.jsDoc;d=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end);var o=Math.min(n.pos,a),s=n.end>=r?n.end+i:Math.min(n.end,a);e.Debug.assert(o<=s),n.parent&&(e.Debug.assertGreaterThanOrEqual(o,n.parent.pos),e.Debug.assertLessThanOrEqual(s,n.parent.end)),e.setTextRangePosEnd(n,o,s)}function i(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;it),!0;if(i.pos>=a.pos&&(a=i),ta.pos&&(a=i)}return a}function s(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),l=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(c===l)}}function c(n){var t=n.statements,r=0;e.Debug.assert(r=n.pos&&e=n.pos&&e0&&i<=r;i++){var s=o(n,a);e.Debug.assert(s.pos<=a);var c=s.pos;a=Math.max(0,c-1)}var l=e.createTextSpanFromBounds(a,e.textSpanEnd(t.span)),u=t.newLength+(t.span.start-a);return e.createTextChangeRange(l,u)}(n,l);s(n,r,g,d),e.Debug.assert(g.span.start<=l.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(l.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(l)));var y=e.textChangeRangeNewSpan(g).length-g.span.length;!function(n,r,o,s,c,l,u,d){return void p(n);function p(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!1,c,l,u,d);else{var m=n.end;if(m>=r){if(n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c),_(n,p,f),e.hasJSDocNodes(n))for(var g=0,y=n.jsDoc;go)t(n,!0,c,l,u,d);else{var i=n.end;if(i>=r){n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,c);for(var f=0,m=n;fa){y();var g={range:{pos:m.pos+i,end:m.end+i},type:_};l=e.append(l,g),c&&e.Debug.assert(o.substring(m.pos,m.end)===s.substring(g.range.pos,g.range.end))}}return y(),l;function y(){u||(u=!0,l?t&&l.push.apply(l,t):l=t)}}(n.commentDirectives,h.commentDirectives,g.span.start,e.textSpanEnd(g.span),y,f,r,d),h.impliedNodeFormat=n.impliedNodeFormat,h},n.createSyntaxCursor=c,(d=l||(l={}))[d.Value=-1]="Value"}(d||(d={})),e.isDeclarationFileName=h,e.processCommentPragmas=v,e.processPragmasIntoFields=b;var E=new e.Map;function T(e){if(E.has(e))return E.get(e);var n=new RegExp("(\\s".concat(e,"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"),"im");return E.set(e,n),n}var S=/^\/\/\/\s*<(\S+)\s.*?\/>/im,x=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function L(n,t,r){var a=2===t.kind&&S.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!(o&&1&o.kind))return;if(o.args){for(var s={},c=0,l=o.args;c=t.length)break;var o=i;if(34===t.charCodeAt(o)){for(i++;i32;)i++;a.push(t.substring(o,i))}}c(a)}else s.push(t)}}function y(n,t,r,a,i,o){if(a.isTSConfigOnly)"null"===(s=n[t])?(i[a.name]=void 0,t++):"boolean"===a.type?"false"===s?(i[a.name]=me(a,!1,o),t++):("true"===s&&t++,o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,a.name))):(o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,a.name)),s&&!e.startsWith(s,"-")&&t++);else if(n[t]||"boolean"===a.type||o.push(e.createCompilerDiagnostic(r.optionTypeMismatchDiagnostic,a.name,U(a))),"null"!==n[t])switch(a.type){case"number":i[a.name]=me(a,parseInt(n[t]),o),t++;break;case"boolean":var s=n[t];i[a.name]=me(a,"false"!==s,o),"false"!==s&&"true"!==s||t++;break;case"string":i[a.name]=me(a,n[t]||"",o),t++;break;case"list":var c=f(a,n[t],o);i[a.name]=c||[],c&&t++;break;default:i[a.name]=p(a,n[t],o),t++}else i[a.name]=void 0,t++;return t}function h(e,n){return v(o,e,n)}function v(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionsNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}function b(){return s||(s=i(e.buildOpts))}e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},e.convertEnableAutoDiscoveryToEnable=l,e.createCompilerDiagnosticForInvalidCustomType=u,e.parseCustomTypeOption=p,e.parseListTypeOption=f,e.parseCommandLineWorker=g,e.compilerOptionsDidYouMeanDiagnostics={alternateMode:c,getOptionsNameMap:o,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},e.parseCommandLine=function(n,t){return g(e.compilerOptionsDidYouMeanDiagnostics,n,t)},e.getOptionFromName=h;var E={alternateMode:{diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:o},getOptionsNameMap:b,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 T(n,t){var r=e.parseJsonText(n,t);return{config:F(r,r.parseDiagnostics,!1,void 0),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function S(n,t){var r=x(n,t);return e.isString(r)?e.parseJsonText(n,r):{fileName:n,parseDiagnostics:[r]}}function x(n,t){var r;try{r=t(n)}catch(t){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,n,t.message)}return void 0===r?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,n):r}function L(n){return e.arrayToMap(n,m)}e.parseBuildCommand=function(n){var t=g(E,n),r=t.options,a=t.watchOptions,i=t.fileNames,o=t.errors,s=r;return 0===i.length&&i.push("."),s.clean&&s.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,watchOptions:a,projects:i,errors:o}},e.getDiagnosticText=function(n){return e.createCompilerDiagnostic.apply(void 0,arguments).messageText},e.getParsedCommandLineOfConfigFile=function(n,t,r,a,i,o){var s=x(n,(function(e){return r.readFile(e)}));if(e.isString(s)){var c=e.parseJsonText(n,s),l=r.getCurrentDirectory();return c.path=e.toPath(n,l,e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)),c.resolvedPath=c.path,c.originalFileName=c.fileName,Y(c,r,e.getNormalizedAbsolutePath(e.getDirectoryPath(n),l),t,e.getNormalizedAbsolutePath(n,l),void 0,o,a,i)}r.onUnRecoverableConfigFileDiagnostic(s)},e.readConfigFile=function(n,t){var r=x(n,t);return e.isString(r)?T(n,r):{config:{},error:r}},e.parseConfigFileTextToJson=T,e.readJsonConfigFile=S,e.tryReadFile=x;var D,C={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};function A(){return D||(D=i(e.optionsForWatch))}var I,N,k,R,O={getOptionsNameMap:A,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};function w(){return I||(I=L(e.optionDeclarations))}function M(){return N||(N=L(e.optionsForWatch))}function P(){return k||(k=L(e.typeAcquisitionDeclarations))}function F(n,t,r,a){var i,o=null===(i=n.statements[0])||void 0===i?void 0:i.expression,s=r?(void 0===R&&(R={name:void 0,type:"object",elementOptions:L([{name:"compilerOptions",type:"object",elementOptions:w(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:M(),extraKeyDiagnostics:O},{name:"typingOptions",type:"object",elementOptions:P(),extraKeyDiagnostics:C},{name:"typeAcquisition",type:"object",elementOptions:P(),extraKeyDiagnostics:C},{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])}),R):void 0;if(o&&204!==o.kind){if(t.push(e.createDiagnosticForNodeInSourceFile(n,o,e.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===e.getBaseFileName(n.fileName)?"jsconfig.json":"tsconfig.json")),e.isArrayLiteralExpression(o)){var c=e.find(o.elements,e.isObjectLiteralExpression);if(c)return B(n,c,t,!0,s,a)}return{}}return B(n,o,t,!0,s,a)}function G(e,n){var t;return B(e,null===(t=e.statements[0])||void 0===t?void 0:t.expression,n,!0,void 0,void 0)}function B(n,t,r,a,i,o){return t?l(t,i):a?{}:void 0;function s(e){return i&&i.elementOptions===e}function c(t,i,c,d){for(var p=a?{}:void 0,f=function(t){if(294!==t.kind)return r.push(e.createDiagnosticForNodeInSourceFile(n,t,e.Diagnostics.Property_assignment_expected)),"continue";t.questionToken&&r.push(e.createDiagnosticForNodeInSourceFile(n,t.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),u(t.name)||r.push(e.createDiagnosticForNodeInSourceFile(n,t.name,e.Diagnostics.String_literal_with_double_quotes_expected));var f=e.isComputedNonLiteralName(t.name)?void 0:e.getTextOfPropertyName(t.name),m=f&&e.unescapeLeadingUnderscores(f),g=m&&i?i.get(m):void 0;m&&c&&!g&&(i?r.push(_(m,c,(function(r,a,i){return e.createDiagnosticForNodeInSourceFile(n,t.name,r,a,i)}))):r.push(e.createDiagnosticForNodeInSourceFile(n,t.name,c.unknownOptionDiagnostic,m)));var y=l(t.initializer,g);if(void 0!==m&&(a&&(p[m]=y),o&&(d||s(i)))){var h=V(g,y);d?h&&o.onSetValidOptionKeyValueInParent(d,g,y):s(i)&&(h?o.onSetValidOptionKeyValueInRoot(m,t.name,y,t.initializer):g||o.onSetUnknownOptionKeyValueInRoot(m,t.name,y,t.initializer))}},m=0,g=t.properties;m=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,Or(Or([],s,!0),[d],!1).join(" -> "))),{raw:n||G(t,c)};var p=n?function(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=se(n.compilerOptions,r,i,a),c=le(n.typeAcquisition||n.typingOptions,r,i,a),l=function(e,n,t){return ue(M(),e,n,void 0,O,t)}(n.watchOptions,r,i);if(n.compileOnSave=function(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=de(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"==typeof a&&a}(n,r,i),n.extends)if(e.isString(n.extends)){var u=a?$(a,r):r;o=ie(n.extends,t,u,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,watchOptions:l,typeAcquisition:c,extendedConfigPath:o}}(n,r,i,o,c):function(n,t,r,i,o){var s,c,l,u,d,p=oe(i),f={onSetValidOptionKeyValueInParent:function(n,t,a){var o;switch(n){case"compilerOptions":o=p;break;case"watchOptions":o=l||(l={});break;case"typeAcquisition":o=s||(s=ce(i));break;case"typingOptions":o=c||(c=ce(i));break;default:e.Debug.fail("Unknown option")}o[t.name]=pe(t,r,a)},onSetValidOptionKeyValueInRoot:function(a,s,c,l){if("extends"!==a);else{var d=i?$(i,r):r;u=ie(c,t,d,o,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,l,t,r)}))}},onSetUnknownOptionKeyValueInRoot:function(t,r,i,s){"excludes"===t&&o.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(a,(function(e){return e.name===t}))&&(d=e.append(d,r))}},m=F(n,o,!0,f);s||(s=c?void 0!==c.enableAutoDiscovery?{enable:c.enableAutoDiscovery,include:c.include,exclude:c.exclude}:c:ce(i));d&&m&&void 0===m.compilerOptions&&o.push(e.createDiagnosticForNodeInSourceFile(n,d[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(d[0])));return{raw:m,options:p,watchOptions:l,typeAcquisition:s,extendedConfigPath:u}}(t,r,i,o,c);if((null===(u=p.options)||void 0===u?void 0:u.paths)&&(p.options.pathsBasePath=i),p.extendedConfigPath){s=s.concat([d]);var f=function(n,t,r,a,i,o){var s,c,l,u,d=r.useCaseSensitiveFileNames?t:e.toFileNameLowerCase(t);o&&(c=o.get(d))?(l=c.extendedResult,u=c.extendedConfig):((l=S(t,(function(e){return r.readFile(e)}))).parseDiagnostics.length||(u=ae(void 0,l,r,e.getDirectoryPath(t),e.getBaseFileName(t),a,i,o)),o&&o.set(d,{extendedResult:l,extendedConfig:u}));n&&(n.extendedSourceFiles=[l.fileName],l.extendedSourceFiles&&(s=n.extendedSourceFiles).push.apply(s,l.extendedSourceFiles));if(l.parseDiagnostics.length)return void i.push.apply(i,l.parseDiagnostics);return u}(t,p.extendedConfigPath,r,s,c,l);if(f&&f.options){var m,_=f.raw,g=p.raw,y=function(n){!g[n]&&_[n]&&(g[n]=e.map(_[n],(function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(m||(m=e.convertToRelativePath(e.getDirectoryPath(p.extendedConfigPath),i,e.createGetCanonicalFileName(r.useCaseSensitiveFileNames))),n)})))};y("include"),y("exclude"),y("files"),void 0===g.compileOnSave&&(g.compileOnSave=_.compileOnSave),p.options=e.assign({},f.options,p.options),p.watchOptions=p.watchOptions&&f.watchOptions?e.assign({},f.watchOptions,p.watchOptions):p.watchOptions||f.watchOptions}}return p}function ie(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o="".concat(o,".json"),t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function oe(n){return n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function se(n,t,r,a){var i=oe(a);return ue(w(),n,t,i,e.compilerOptionsDidYouMeanDiagnostics,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function ce(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function le(e,n,t,r){var a=ce(r),i=l(e);return ue(P(),i,n,a,C,t),a}function ue(n,t,r,a,i,o){if(t){for(var s in t){var c=n.get(s);c?(a||(a={}))[c.name]=de(c,t[s],r,o):o.push(_(s,i,e.createCompilerDiagnostic))}return a}}function de(n,t,r,a){if(V(n,t)){var i=n.type;if("list"===i&&e.isArray(t))return function(n,t,r,a){return e.filter(e.map(t,(function(e){return de(n.element,e,r,a)})),(function(e){return!!e}))}(n,t,r,a);if(!e.isString(i))return _e(n,t,a);var o=me(n,t,a);return Z(o)?o:fe(n,r,o)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,U(n)))}function pe(n,t,r){if(!Z(r)){if("list"===n.type){var a=n;return a.element.isFilePath||!e.isString(a.element.type)?e.filter(e.map(r,(function(e){return pe(a.element,t,e)})),(function(e){return!!e})):r}return e.isString(n.type)?fe(n,t,r):n.type.get(e.isString(r)?r.toLowerCase():r)}}function fe(n,t,r){return n.isFilePath&&""===(r=e.getNormalizedAbsolutePath(r,t))&&(r="."),r}function me(n,t,r){var a;if(!Z(t)){var i=null===(a=n.extraValidation)||void 0===a?void 0:a.call(n,t);if(!i)return t;r.push(e.createCompilerDiagnostic.apply(void 0,i))}}function _e(e,n,t){if(!Z(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return me(e,a,t);t.push(u(e))}}e.convertToObject=G,e.convertToObjectWorker=B,e.convertToTSConfig=function(n,t,r){var a,i,o,s=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames),c=e.map(e.filter(n.fileNames,(null===(i=null===(a=n.options.configFile)||void 0===a?void 0:a.configFileSpecs)||void 0===i?void 0:i.validatedIncludeSpecs)?function(n,t,r,a){if(!t)return e.returnTrue;var i=e.getFileMatcherPatterns(n,r,t,a.useCaseSensitiveFileNames,a.getCurrentDirectory()),o=i.excludePattern&&e.getRegexFromPattern(i.excludePattern,a.useCaseSensitiveFileNames),s=i.includeFilePattern&&e.getRegexFromPattern(i.includeFilePattern,a.useCaseSensitiveFileNames);if(s)return o?function(e){return!(s.test(e)&&!o.test(e))}:function(e){return!s.test(e)};if(o)return function(e){return o.test(e)};return e.returnTrue}(t,n.options.configFile.configFileSpecs.validatedIncludeSpecs,n.options.configFile.configFileSpecs.validatedExcludeSpecs,r):e.returnTrue),(function(n){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),e.getNormalizedAbsolutePath(n,r.getCurrentDirectory()),s)})),l=z(n.options,{configFilePath:e.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames}),u=n.watchOptions&&J(n.watchOptions,A());return wr(wr({compilerOptions:wr(wr({},K(l)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:u&&K(u),references:e.map(n.projectReferences,(function(e){return wr(wr({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(c)?c:void 0},(null===(o=n.options.configFile)||void 0===o?void 0:o.configFileSpecs)?{include:j(n.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:n.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!n.compileOnSave||void 0})},e.getCompilerOptionsDiffValue=function(n,t){var r,i,o,s=q(n);return r=[],o=2,i=Array(o+1).join(" "),a.forEach((function(n){if(s.has(n.name)){var t=s.get(n.name),a=De(n);t!==a?r.push("".concat(i).concat(n.name,": ").concat(t)):e.hasProperty(e.defaultInitCompilerOptions,n.name)&&r.push("".concat(i).concat(n.name,": ").concat(a))}})),r.join(t)+t},e.generateTSConfig=function(n,t,r){var a=q(n);return function(){for(var n=e.createMultiMap(),s=0,c=e.optionDeclarations;s0)for(var b=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=p.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^".concat(e,"$")}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(n)}))){var d=s(n);c.has(d)||u.has(d)||u.set(d,n)}return"continue"}if(function(n,t,r,a,i){var o=e.forEach(a,(function(t){return e.fileExtensionIsOneOf(n,t)?t:void 0}));if(!o)return!1;for(var s=0,c=o;s=0;o--){var s=i[o];if(e.fileExtensionIs(n,s))return;var c=a(e.changeExtension(n,s));t.delete(c)}}(n,l,m,s);var f=s(n);c.has(f)||l.has(f)||l.set(f,n)},E=0,T=a.readDirectory(t,e.flatten(_),f,p,void 0);Et}function be(n,t,r,a,i){var o=e.getRegularExpressionForWildcard(t,e.combinePaths(e.normalizePath(a),i),"exclude"),s=o&&e.getRegexFromPattern(o,r);return!!s&&(!!s.test(n)||!e.hasExtension(n)&&s.test(e.ensureTrailingDirectorySeparator(n)))}function Ee(n,t,r,a,i){return n.filter((function(n){if(!e.isString(n))return!1;var a=Te(n,r);return void 0!==a&&t.push(o.apply(void 0,a)),void 0===a}));function o(n,t){var r=e.getTsConfigPropArrayElementValue(a,i,t);return r?e.createDiagnosticForNodeInSourceFile(a,r,n,t):e.createCompilerDiagnostic(n,t)}}function Te(n,t){return t&&ge.test(n)?[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,n]:ve(n)?[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,n]:void 0}function Se(n,t,r){var a=n.validatedIncludeSpecs,i=n.validatedExcludeSpecs,o=e.getRegularExpressionForWildcard(i,t,"exclude"),s=o&&new RegExp(o,r?"":"i"),c={};if(void 0!==a){for(var l=[],u=0,d=a;u0);var a={sourceFile:n.configFile,commandLine:{options:n}};t.setOwnMap(t.getOrCreateMapOfCacheRedirects(a)),null==r||r.setOwnMap(r.getOrCreateMapOfCacheRedirects(a))}t.setOwnOptions(n),null==r||r.setOwnOptions(n)}}function D(n,t,r){return{getOrCreateCacheForDirectory:function(a,i){var o=e.toPath(a,n,t);return x(r,i,o,(function(){return C()}))},clear:function(){r.clear()},update:function(e){L(e,r)}}}function C(){var n=new e.Map,t=new e.Map,r={get:function(e,t){return n.get(a(e,t))},set:function(e,t,i){return n.set(a(e,t),i),r},delete:function(e,t){return n.delete(a(e,t)),r},has:function(e,t){return n.has(a(e,t))},forEach:function(e){return n.forEach((function(n,r){var a=t.get(r),i=a[0],o=a[1];return e(n,i,o)}))},size:function(){return n.size}};return r;function a(e,n){var r=void 0===n?e:"".concat(n,"|").concat(e);return t.set(r,[e,n]),r}}function A(t,r,a,i,o){var s=function(t,r,a,i){var o,s=i.compilerOptions,c=s.baseUrl,l=s.paths,u=s.configFile;if(l&&!e.pathIsRelative(r)){return i.traceEnabled&&(c&&n(i.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,c,r),n(i.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,r)),se(t,r,e.getPathsBasePath(i.compilerOptions,i.host),l,(null==u?void 0:u.configFileSpecs)?(o=u.configFileSpecs).pathPatterns||(o.pathPatterns=e.tryParsePatterns(l)):void 0,a,!1,i)}}(t,r,i,o);return s?s.value:e.isExternalModuleNameRelative(r)?function(t,r,a,i,o){if(!o.compilerOptions.rootDirs)return;o.traceEnabled&&n(o.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,r);for(var s,c,l=e.normalizePath(e.combinePaths(a,r)),u=0,d=o.compilerOptions.rootDirs;u0;){var c=X(e.getPathFromPathComponents(s),!1,o);if(c)return c;s.pop()}}function X(t,r,a){var i,o,s,c=a.host,l=a.traceEnabled,u=e.combinePaths(t,"package.json");if(r)a.failedLookupLocations.push(u);else{var d=null===(i=a.packageJsonInfoCache)||void 0===i?void 0:i.getPackageJsonInfo(u);if(void 0!==d)return"boolean"!=typeof d?(l&&n(c,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,u),d):(d&&l&&n(c,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,u),void a.failedLookupLocations.push(u));var p=e.directoryProbablyExists(t,c);if(p&&c.fileExists(u)){var f=e.readJson(u,c);l&&n(c,e.Diagnostics.Found_package_json_at_0,u);var m={packageDirectory:t,packageJsonContent:f,versionPaths:_(f,a)};return null===(o=a.packageJsonInfoCache)||void 0===o||o.setPackageJsonInfo(u,m),m}p&&l&&n(c,e.Diagnostics.File_0_does_not_exist,u),null===(s=a.packageJsonInfoCache)||void 0===s||s.setPackageJsonInfo(u,p),a.failedLookupLocations.push(u)}}function Y(t,r,s,c,l,u){var d;if(l)switch(t){case o.JavaScript:case o.Json:d=m(l,r,c);break;case o.TypeScript:d=f(l,r,c)||m(l,r,c);break;case o.DtsOnly:d=f(l,r,c);break;case o.TSConfig:d=function(e,n,t){return p(e,"tsconfig",n,t)}(l,r,c);break;default:return e.Debug.assertNever(t)}var _=function(t,r,i,s){var c=z(r,i,s);if(c){var l=function(n,t){var r=e.tryGetExtensionFromPath(t);return void 0!==r&&function(e,n){switch(e){case o.JavaScript:return".js"===n||".jsx"===n;case o.TSConfig:case o.Json:return".json"===n;case o.TypeScript:return".ts"===n||".tsx"===n||".d.ts"===n;case o.DtsOnly:return".d.ts"===n}}(n,r)?{path:t,ext:r}:void 0}(t,c);if(l)return a(l);s.traceEnabled&&n(s.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,c)}return G(t===o.DtsOnly?o.TypeScript:t,r,i,s,!1)},g=d?!e.directoryProbablyExists(e.getDirectoryPath(d),c.host):void 0,y=s||!e.directoryProbablyExists(r,c.host),v=e.combinePaths(r,t===o.TSConfig?"tsconfig":"index");if(u&&(!d||e.containsPath(r,d))){var b=e.getRelativePathFromDirectory(r,d||v,!1);c.traceEnabled&&n(c.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.version,e.version,b);var E=se(t,b,r,u.paths,void 0,_,g||y,c);if(E)return i(E.value)}var T=d&&i(_(t,d,g,c));return T||(c.features&h.EsmMode?void 0:j(t,v,y,c))}function Q(n){var t=n.indexOf(e.directorySeparator);return"@"===n[0]&&(t=n.indexOf(e.directorySeparator,t+1)),-1===t?{packageName:n,rest:""}:{packageName:n.slice(0,t),rest:n.slice(t+1)}}function Z(n){return e.every(e.getOwnKeys(n),(function(n){return e.startsWith(n,".")}))}function $(t,r,a,i,o,s){if(t.packageJsonContent.exports){if("."===a){var c=void 0;if("string"==typeof t.packageJsonContent.exports||Array.isArray(t.packageJsonContent.exports)||"object"==typeof t.packageJsonContent.exports&&(u=t.packageJsonContent.exports,!e.some(e.getOwnKeys(u),(function(n){return e.startsWith(n,".")})))?c=t.packageJsonContent.exports:e.hasProperty(t.packageJsonContent.exports,".")&&(c=t.packageJsonContent.exports["."]),c)return ne(r,i,o,s,a,t,!1)(c,"",!1)}else if(Z(t.packageJsonContent.exports)){if("object"!=typeof t.packageJsonContent.exports)return i.traceEnabled&&n(i.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,a,t.packageDirectory),fe(void 0);var l=ee(r,i,o,s,a,t.packageJsonContent.exports,t,!1);if(l)return l}var u;return i.traceEnabled&&n(i.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,a,t.packageDirectory),fe(void 0)}}function ee(n,t,r,a,i,o,s,c){var l=ne(n,t,r,a,i,s,c);if(!e.endsWith(i,e.directorySeparator)&&-1===i.indexOf("*")&&e.hasProperty(o,i))return l(f=o[i],"",!1);for(var u=0,d=e.sort(e.filter(e.getOwnKeys(o),(function(n){return-1!==n.indexOf("*")||e.endsWith(n,"/")})),(function(e,n){return e.length-n.length}));u0&&!e.endsWith(p,"/"))return a.traceEnabled&&n(a.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),fe(void 0);if(!e.startsWith(p,"./")){if(u&&!e.startsWith(p,"../")&&!e.startsWith(p,"/")&&!e.isRootedDiskPath(p)){var y=m?p.replace(/\*/g,f):p+f;return fe((A=P(a.features,y,l.packageDirectory+"/",a.compilerOptions,a.host,i,[t],s)).resolvedModule?{path:A.resolvedModule.resolvedFileName,extension:A.resolvedModule.extension,packageId:A.resolvedModule.packageId,originalPath:A.resolvedModule.originalPath}:void 0)}return a.traceEnabled&&n(a.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),fe(void 0)}var h=(e.pathIsRelative(p)?e.getPathComponents(p).slice(1):e.getPathComponents(p)).slice(1);if(h.indexOf("..")>=0||h.indexOf(".")>=0||h.indexOf("node_modules")>=0)return a.traceEnabled&&n(a.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),fe(void 0);var v=e.combinePaths(l.packageDirectory,p),b=e.getPathComponents(f);if(b.indexOf("..")>=0||b.indexOf(".")>=0||b.indexOf("node_modules")>=0)return a.traceEnabled&&n(a.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),fe(void 0);var E=e.getNormalizedAbsolutePath(m?v.replace(/\*/g,f):v+f,null===(g=(_=a.host).getCurrentDirectory)||void 0===g?void 0:g.call(_));return fe(r(l,function(n,t,r,a){return n!==o.TypeScript&&n!==o.DtsOnly||!e.fileExtensionIsOneOf(t,[".d.ts",".d.cts",".d.mts"])?H(n,t,r,a):void 0!==z(t,r,a)?{path:t,ext:e.forEach([".d.ts",".d.cts",".d.mts"],(function(n){return e.fileExtensionIs(t,n)?n:void 0}))}:void 0}(t,E,!1,a)))}if("object"==typeof p&&null!==p){if(!Array.isArray(p)){for(var T=0,S=e.getOwnKeys(p);T=0||te(a.conditions,x)){var L=p[x];if(A=d(L,f,m))return A}}return}if(!e.length(p))return a.traceEnabled&&n(a.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),fe(void 0);for(var D=0,C=p;Ds&&(s=u),1===s)return s}return s}break;case 261:var d=0;return e.forEachChild(n,(function(n){var r=i(n,t);switch(r){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(r)}})),d;case 260:return a(n,t);case 79:if(n.isInJSDocNamespace)return 0}return 1}(n,t);return t.set(r,s),s}function o(n,t){for(var r=n.propertyName||n.name,a=n.parent;a;){if(e.isBlock(a)||e.isModuleBlock(a)||e.isSourceFile(a)){for(var o=void 0,s=0,c=a.statements;so)&&(o=u),1===o)return o}}if(void 0!==o)return o}a=a.parent}return 1}function s(n){return e.Debug.attachFlowNodeDebugInfo(n),n}(n=e.ModuleInstanceState||(e.ModuleInstanceState={}))[n.NonInstantiated=0]="NonInstantiated",n[n.Instantiated=1]="Instantiated",n[n.ConstEnumOnly=2]="ConstEnumOnly",e.getModuleInstanceState=a,(r=t||(t={}))[r.None=0]="None",r[r.IsContainer=1]="IsContainer",r[r.IsBlockScopedContainer=2]="IsBlockScopedContainer",r[r.IsControlFlowContainer=4]="IsControlFlowContainer",r[r.IsFunctionLike=8]="IsFunctionLike",r[r.IsFunctionExpression=16]="IsFunctionExpression",r[r.HasLocals=32]="HasLocals",r[r.IsInterface=64]="IsInterface",r[r.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor";var c=function(){var n,t,r,i,o,c,p,f,m,_,g,y,h,v,b,E,T,S,x,L,D,C,A,I,N=!1,k=0,R={flags:1},O={flags:1},w=function(){return e.createBinaryExpressionTrampoline(n,t,r,a,o,void 0);function n(n,t){if(t){t.stackIndex++,e.setParent(n,i);var r=C;Be(n);var a=i;i=n,t.skip=!1,t.inStrictModeStack[t.stackIndex]=r,t.parentStack[t.stackIndex]=a}else t={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};var o=n.operatorToken.kind;if(55===o||56===o||60===o||e.isLogicalOrCoalescingAssignmentOperator(o)){if(le(n)){var s=Q();he(n,s,s),g=oe(s)}else he(n,b,E);t.skip=!0}return t}function t(e,n,t){if(!n.skip)return s(e)}function r(e,n,t){n.skip||(27===e.kind&&_e(t.left),Pe(e))}function a(e,n,t){if(!n.skip)return s(e)}function o(n,t){if(!t.skip){var r=n.operatorToken.kind;if(e.isAssignmentOperator(r)&&!e.isAssignmentTarget(n))if(ye(n.left),63===r&&206===n.left.kind)Y(n.left.expression)&&(g=ae(256,g,n))}var a=t.inStrictModeStack[t.stackIndex],o=t.parentStack[t.stackIndex];void 0!==a&&(C=a),void 0!==o&&(i=o),t.skip=!1,t.stackIndex--}function s(n){if(n&&e.isBinaryExpression(n)&&!e.isDestructuringAssignment(n))return n;Pe(n)}}();function M(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(t)||n,t,r,a,i,o)}return function(a,l){n=a,t=l,r=e.getEmitScriptTarget(t),C=function(n,t){return!(!e.getStrictOptionValue(t,"alwaysStrict")||n.isDeclarationFile)||!!n.externalModuleIndicator}(n,l),I=new e.Set,k=0,A=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(R),e.Debug.attachFlowNodeDebugInfo(O),n.locals||(Pe(n),n.symbolCount=k,n.classifiableNames=I,function(){if(m){for(var t=o,r=f,a=p,c=i,l=g,d=0,_=m;d<_.length;d++){var y=_[d],h=y.parent.parent;o=e.findAncestor(h.parent,(function(e){return!!(1&Se(e))}))||n,p=e.getEnclosingBlockScopeContainer(h)||n,g=s({flags:2}),i=y,Pe(y.typeExpression);var v=e.getNameOfDeclaration(y);if((e.isJSDocEnumTag(y)||!y.fullName)&&v&&e.isPropertyAccessEntityNameExpression(v.parent)){var b=Qe(v.parent);if(b){Xe(n.symbol,v.parent,b,!!e.findAncestor(v,(function(n){return e.isPropertyAccessExpression(n)&&"prototype"===n.name.escapedText})),!1);var E=o;switch(e.getAssignmentDeclarationPropertyAccessKind(v.parent)){case 1:case 2:o=e.isExternalOrCommonJsModule(n)?n:void 0;break;case 4:o=v.parent.expression;break;case 3:o=v.parent.expression.name;break;case 5:o=u(n,v.parent.expression)?n:e.isPropertyAccessExpression(v.parent.expression)?v.parent.expression.name:v.parent.expression;break;case 0:return e.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}o&&V(y,524288,788968),o=E}}else e.isJSDocEnumTag(y)||!y.fullName||79===y.fullName.kind?(i=y.parent,Ie(y,524288,788968)):Pe(y.fullName)}o=t,f=r,p=a,i=c,g=l}}()),n=void 0,t=void 0,r=void 0,i=void 0,o=void 0,c=void 0,p=void 0,f=void 0,m=void 0,_=!1,g=void 0,y=void 0,h=void 0,v=void 0,b=void 0,E=void 0,T=void 0,x=void 0,L=!1,N=!1,D=0};function P(e,n){return k++,new A(e,n)}function F(n,t,r){n.flags|=r,t.symbol=n,n.declarations=e.appendIfUnique(n.declarations,t),1955&r&&!n.exports&&(n.exports=e.createSymbolTable()),6240&r&&!n.members&&(n.members=e.createSymbolTable()),n.constEnumOnlyModule&&304&n.flags&&(n.constEnumOnlyModule=!1),111551&r&&e.setValueDeclaration(n,t)}function G(n){if(270===n.kind)return n.isExportEquals?"export=":"default";var t=e.getNameOfDeclaration(n);if(t){if(e.isAmbientModule(n)){var r=e.getTextOfIdentifierOrLiteral(t);return e.isGlobalScopeAugmentation(n)?"__global":'"'.concat(r,'"')}if(161===t.kind){var a=t.expression;if(e.isStringOrNumericLiteralLike(a))return e.escapeLeadingUnderscores(a.text);if(e.isSignedNumericLiteral(a))return e.tokenToString(a.operator)+a.operand.text;e.Debug.fail("Only computed properties with literal names have declaration names")}if(e.isPrivateIdentifier(t)){var i=e.getContainingClass(n);if(!i)return;var o=i.symbol;return e.getSymbolNameForPrivateIdentifier(o,t.escapedText)}return e.isPropertyNameLiteral(t)?e.getEscapedTextOfIdentifierOrLiteral(t):void 0}switch(n.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(2===e.getAssignmentDeclarationKind(n))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 315:return e.isJSDocConstructSignature(n)?"__new":"__call";case 163:return e.Debug.assert(315===n.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: ".concat(e.SyntaxKind?e.SyntaxKind[n.parent.kind]:n.parent.kind,", expected JSDocFunctionType")})),"arg"+n.parent.parameters.indexOf(n)}}function B(n){return e.isNamedDeclaration(n)?e.declarationNameToString(n.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(G(n)))}function U(t,r,a,i,o,s,c){e.Debug.assert(c||!e.hasDynamicName(a));var l,u=e.hasSyntacticModifier(a,512)||e.isExportSpecifier(a)&&"default"===a.name.escapedText,d=c?"__computed":u&&r?"default":G(a);if(void 0===d)l=P(0,"__missing");else if(l=t.get(d),2885600&i&&I.add(d),l){if(s&&!l.isReplaceableByMethod)return l;if(l.flags&o)if(l.isReplaceableByMethod)t.set(d,l=P(0,d));else if(!(3&i&&67108864&l.flags)){e.isNamedDeclaration(a)&&e.setParent(a.name,a);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,f=!0;(384&l.flags||384&i)&&(p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,f=!1);var m=!1;e.length(l.declarations)&&(u||l.declarations&&l.declarations.length&&270===a.kind&&!a.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports,f=!1,m=!0);var _=[];e.isTypeAliasDeclaration(a)&&e.nodeIsMissing(a.type)&&e.hasSyntacticModifier(a,1)&&2887656&l.flags&&_.push(M(a,e.Diagnostics.Did_you_mean_0,"export type { ".concat(e.unescapeLeadingUnderscores(a.name.escapedText)," }")));var g=e.getNameOfDeclaration(a)||a;e.forEach(l.declarations,(function(t,r){var a=e.getNameOfDeclaration(t)||t,i=M(a,p,f?B(t):void 0);n.bindDiagnostics.push(m?e.addRelatedInfo(i,M(g,0===r?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):i),m&&_.push(M(a,e.Diagnostics.The_first_export_default_is_here))}));var y=M(g,p,f?B(a):void 0);n.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,Or([y],_,!1))),l=P(0,d)}}else t.set(d,l=P(0,d)),s&&(l.isReplaceableByMethod=!0);return F(l,a,i),l.parent?e.Debug.assert(l.parent===r,"Existing symbol parent should match new one"):l.parent=r,l}function V(n,t,r){var a=!!(1&e.getCombinedModifierFlags(n))||function(n){n.parent&&e.isModuleDeclaration(n)&&(n=n.parent);if(!e.isJSDocTypeAlias(n))return!1;if(!e.isJSDocEnumTag(n)&&n.fullName)return!0;var t=e.getNameOfDeclaration(n);return!!t&&(!(!e.isPropertyAccessEntityNameExpression(t.parent)||!Qe(t.parent))||!!(e.isDeclaration(t.parent)&&1&e.getCombinedModifierFlags(t.parent)))}(n);if(2097152&t)return 274===n.kind||264===n.kind&&a?U(o.symbol.exports,o.symbol,n,t,r):U(o.locals,void 0,n,t,r);if(e.isJSDocTypeAlias(n)&&e.Debug.assert(e.isInJSFile(n)),!e.isAmbientModule(n)&&(a||64&o.flags)){if(!o.locals||e.hasSyntacticModifier(n,512)&&!G(n))return U(o.symbol.exports,o.symbol,n,t,r);var i=111551&t?1048576:0,s=U(o.locals,void 0,n,i,r);return s.exportSymbol=U(o.symbol.exports,o.symbol,n,t,r),n.localSymbol=s,s}return U(o.locals,void 0,n,t,r)}function K(e){j(e,(function(e){return 255===e.kind?Pe(e):void 0})),j(e,(function(e){return 255!==e.kind?Pe(e):void 0}))}function j(n,t){void 0===t&&(t=Pe),void 0!==n&&e.forEach(n,t)}function H(n){e.forEachChild(n,Pe,j)}function W(n){var r=N;if(N=!1,function(n){if(!(1&g.flags))return!1;if(g===R){var r=e.isStatementButNotDeclaration(n)&&235!==n.kind||256===n.kind||260===n.kind&&function(n){var r=a(n);return 1===r||2===r&&e.shouldPreserveConstEnums(t)}(n);if(r&&(g=O,!t.allowUnreachableCode)){var i=e.unreachableCodeIsError(t)&&!(8388608&n.flags)&&(!e.isVariableStatement(n)||!!(3&e.getCombinedNodeFlags(n.declarationList))||n.declarationList.declarations.some((function(e){return!!e.initializer})));!function(n,t){if(e.isStatement(n)&&l(n)&&e.isBlock(n.parent)){var r=n.parent.statements,a=e.sliceAfter(r,n);e.getRangesWhere(a,l,(function(e,n){return t(a[e],a[n-1])}))}else t(n,n)}(n,(function(n,t){return Me(i,n,t,e.Diagnostics.Unreachable_code_detected)}))}}return!0}(n))return H(n),Fe(n),void(N=r);switch(n.kind>=236&&n.kind<=252&&!t.allowUnreachableCode&&(n.flowNode=g),n.kind){case 240:!function(e){var n=fe(e,Z()),t=Q(),r=Q();ne(n,g),g=n,de(e.expression,t,r),g=oe(t),pe(e.statement,r,n),ne(n,g),g=oe(r)}(n);break;case 239:!function(e){var n=Z(),t=fe(e,Q()),r=Q();ne(n,g),g=n,pe(e.statement,r,t),ne(t,g),g=oe(t),de(e.expression,n,r),g=oe(r)}(n);break;case 241:!function(e){var n=fe(e,Z()),t=Q(),r=Q();Pe(e.initializer),ne(n,g),g=n,de(e.condition,t,r),g=oe(t),pe(e.statement,r,n),Pe(e.incrementor),ne(n,g),g=oe(r)}(n);break;case 242:case 243:!function(e){var n=fe(e,Z()),t=Q();Pe(e.expression),ne(n,g),g=n,243===e.kind&&Pe(e.awaitModifier);ne(t,g),Pe(e.initializer),254!==e.initializer.kind&&ye(e.initializer);pe(e.statement,t,n),ne(n,g),g=oe(t)}(n);break;case 238:!function(e){var n=Q(),t=Q(),r=Q();de(e.expression,n,t),g=oe(n),Pe(e.thenStatement),ne(r,g),g=oe(t),Pe(e.elseStatement),ne(r,g),g=oe(r)}(n);break;case 246:case 250:!function(e){Pe(e.expression),246===e.kind&&(L=!0,v&&ne(v,g));g=R}(n);break;case 245:case 244:!function(e){if(Pe(e.label),e.label){var n=function(e){for(var n=x;n;n=n.next)if(n.name===e)return n;return}(e.label.escapedText);n&&(n.referenced=!0,me(e,n.breakTarget,n.continueTarget))}else me(e,y,h)}(n);break;case 251:!function(n){var t=v,r=T,a=Q(),i=Q(),o=Q();n.finallyBlock&&(v=i);ne(o,g),T=o,Pe(n.tryBlock),ne(a,g),n.catchClause&&(g=oe(o),ne(o=Q(),g),T=o,Pe(n.catchClause),ne(a,g));if(v=t,T=r,n.finallyBlock){var s=Q();s.antecedents=e.concatenate(e.concatenate(a.antecedents,o.antecedents),i.antecedents),g=s,Pe(n.finallyBlock),1&g.flags?g=R:(v&&i.antecedents&&ne(v,$(s,i.antecedents,g)),T&&o.antecedents&&ne(T,$(s,o.antecedents,g)),g=a.antecedents?$(s,a.antecedents,g):R)}else g=oe(a)}(n);break;case 248:!function(n){var t=Q();Pe(n.expression);var r=y,a=S;y=t,S=g,Pe(n.caseBlock),ne(t,g);var i=e.forEach(n.caseBlock.clauses,(function(e){return 289===e.kind}));n.possiblyExhaustive=!i&&!t.antecedents,i||ne(t,re(S,n,0,0));y=r,S=a,g=oe(t)}(n);break;case 262:!function(e){for(var n=e.clauses,r=z(e.parent.expression),a=R,i=0;i=117&&t.originalKeywordKind<=125?n.bindDiagnostics.push(M(t,function(t){if(e.getContainingClass(t))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),e.declarationNameToString(t))):132===t.originalKeywordKind?e.isExternalModule(n)&&e.isInTopLevelContext(t)?n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(t))):32768&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))):125===t.originalKeywordKind&&8192&t.flags&&n.bindDiagnostics.push(M(t,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(t))))}function ke(t,r){if(r&&79===r.kind){var a=r;if(o=a,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,function(t){if(e.getContainingClass(t))return 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;if(n.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(t),e.idText(a)))}}var o}function Re(e){C&&ke(e,e.name)}function Oe(t){if(r<2&&303!==p.kind&&260!==p.kind&&!e.isFunctionLikeOrClassStaticBlockDeclaration(p)){var a=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,a.start,a.length,function(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n.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}(t)))}}function we(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function Me(t,r,a,i){!function(t,r,a){var i=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(i):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,wr(wr({},i),{category:e.DiagnosticCategory.Suggestion}))}(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},i)}function Pe(n){if(n){e.setParent(n,i);var t=C;if(Be(n),n.kind>159){var r=i;i=n;var a=Se(n);0===a?W(n):function(n,t){var r=o,a=c,i=p;if(1&t?(213!==n.kind&&(c=o),o=p=n,32&t&&(o.locals=e.createSymbolTable()),xe(o)):2&t&&((p=n).locals=void 0),4&t){var l=g,u=y,d=h,f=v,m=T,b=x,E=L,S=16&t&&!e.hasSyntacticModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);S||(g=s({flags:2}),144&t&&(g.node=n)),v=S||170===n.kind||169===n.kind||e.isInJSFile(n)&&(255===n.kind||212===n.kind)?Q():void 0,T=void 0,y=void 0,h=void 0,x=void 0,L=!1,W(n),n.flags&=-2817,!(1&g.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=256,L&&(n.flags|=512),n.endFlowNode=g),303===n.kind&&(n.flags|=D,n.endFlowNode=g),v&&(ne(v,g),g=oe(v),(170===n.kind||169===n.kind||e.isInJSFile(n)&&(255===n.kind||212===n.kind))&&(n.returnFlowNode=g)),S||(g=l),y=u,h=d,v=f,T=m,x=b,L=E}else 64&t?(_=!1,W(n),n.flags=_?128|n.flags:-129&n.flags):W(n);o=r,c=a,p=i}(n,a),i=r}else{r=i;1===n.kind&&(i=n),Fe(n),i=r}C=t}}function Fe(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&we(n.label,e.Diagnostics.A_label_is_not_allowed_here)}(r);case 191:return void(_=!0);case 176:break;case 162:return function(n){if(e.isJSDocTemplateTag(n.parent)){var t=e.getEffectiveContainerForJSDocTemplateTag(n.parent);t?(t.locals||(t.locals=e.createSymbolTable()),U(t.locals,void 0,n,262144,526824)):Le(n,262144,526824)}else if(189===n.parent.kind){var r=function(n){var t=e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&n.parent.extendsType===n}));return t&&t.parent}(n.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,n,262144,526824)):Ae(n,262144,G(n))}else Le(n,262144,526824)}(r);case 163:return tn(r);case 253:return nn(r);case 202:return r.flowNode=g,nn(r);case 166:case 165:return function(e){return rn(e,4|(e.questionToken?16777216:0),0)}(r);case 294:case 295:return rn(r,4,0);case 297:return rn(r,8,900095);case 173:case 174:case 175:return Le(r,131072,0);case 168:case 167:return rn(r,8192|(r.questionToken?16777216:0),e.isObjectLiteralMethod(r)?0:103359);case 255:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(D|=2048);Re(t),C?(Oe(t),Ie(t,16,110991)):Le(t,16,110991)}(r);case 170:return Le(r,16384,0);case 171:return rn(r,32768,46015);case 172:return rn(r,65536,78783);case 178:case 315:case 321:case 179:return function(n){var t=P(131072,G(n));F(t,n,131072);var r=P(2048,"__type");F(r,n,2048),r.members=e.createSymbolTable(),r.members.set(t.escapedName,t)}(r);case 181:case 320:case 194:return function(e){return Ae(e,2048,"__type")}(r);case 330:return function(n){H(n);var t=e.getHostSignatureFromJSDoc(n);t&&168!==t.kind&&F(t.symbol,t,32)}(r);case 204:return function(t){var r,a;if((a=r||(r={}))[a.Property=1]="Property",a[a.Accessor=2]="Accessor",C&&!e.isAssignmentTarget(t))for(var i=new e.Map,o=0,s=t.properties;o1&&2097152&y.flags&&(n=e.createSymbolTable()).set("export=",y);return O(n),C(l);function h(e){return!!e&&79===e.kind}function b(n){return e.isVariableStatement(n)?e.filter(e.map(n.declarationList.declarations,e.getNameOfDeclaration),h):e.filter([e.getNameOfDeclaration(n)],h)}function E(n){var t=e.find(n,e.isExportAssignment),r=e.findIndex(n,e.isModuleDeclaration),a=-1!==r?n[r]:void 0;if(a&&t&&t.isExportEquals&&e.isIdentifier(t.expression)&&e.isIdentifier(a.name)&&e.idText(a.name)===e.idText(t.expression)&&a.body&&e.isModuleBlock(a.body)){var i=e.filter(n,(function(n){return!!(1&e.getEffectiveModifierFlags(n))})),o=a.name,s=a.body;if(e.length(i)&&(a=e.factory.updateModuleDeclaration(a,a.decorators,a.modifiers,a.name,s=e.factory.updateModuleBlock(s,e.factory.createNodeArray(Or(Or([],a.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(i,(function(e){return b(e)})),(function(n){return e.factory.createExportSpecifier(!1,void 0,n)}))),void 0)],!1)))),n=Or(Or(Or([],n.slice(0,r),!0),[a],!1),n.slice(r+1),!0)),!e.find(n,(function(n){return n!==a&&e.nodeHasName(n,o)}))){l=[];var c=!e.some(s.statements,(function(n){return e.hasSyntacticModifier(n,1)||e.isExportAssignment(n)||e.isExportDeclaration(n)}));e.forEach(s.statements,(function(e){j(e,c?1:0)})),n=Or(Or([],e.filter(n,(function(e){return e!==a&&e!==t})),!0),l,!0)}}return n}function T(n){var t=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(t)>1){var r=e.filter(n,(function(n){return!e.isExportDeclaration(n)||!!n.moduleSpecifier||!n.exportClause}));n=Or(Or([],r,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),void 0)],!1)}var a=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!!n.moduleSpecifier&&!!n.exportClause&&e.isNamedExports(n.exportClause)}));if(e.length(a)>1){var i=e.group(a,(function(n){return e.isStringLiteral(n.moduleSpecifier)?">"+n.moduleSpecifier.text:">"}));if(i.length!==a.length)for(var o=function(t){t.length>1&&(n=Or(Or([],e.filter(n,(function(e){return-1===t.indexOf(e)})),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(t,(function(n){return e.cast(n.exportClause,e.isNamedExports).elements}))),t[0].moduleSpecifier)],!1))},s=0,c=i;s=0){var r=n[t],a=e.mapDefined(r.exportClause.elements,(function(t){if(!t.propertyName){var r=e.indicesOf(n),a=e.filter(r,(function(r){return e.nodeHasName(n[r],t.name)}));if(e.length(a)&&e.every(a,(function(e){return A(n[e])}))){for(var i=0,o=a;i0&&e.isSingleOrDoubleQuote(i.charCodeAt(0))?e.stripQuotes(i):i}return"default"===r?r="_default":"export="===r&&(r="_exports"),r=e.isIdentifierText(r,L)&&!e.isStringANonContextualKeyword(r)?r:"_"+r.replace(/[^a-zA-Z0-9]/g,"_")}function ye(e,n){var r=Y(e);return t.remappedSymbolNames.has(r)?t.remappedSymbolNames.get(r):(n=ge(e,n),t.remappedSymbolNames.set(r,n),n)}}(n,t,c)}))}};function t(t,r,i,o){var s,c;e.Debug.assert(void 0===t||!(8&t.flags));var l={enclosingDeclaration:t,flags:r||0,tracker:i&&i.trackSymbol?i:{trackSymbol:function(){return!1},moduleResolverHost:134217728&r?{getCommonSourceDirectory:n.getCommonSourceDirectory?function(){return n.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return n.getCurrentDirectory()},getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(n,n.useCaseSensitiveFileNames),redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)},fileExists:function(e){return n.fileExists(e)},getFileIncludeReasons:function(){return n.getFileIncludeReasons()},readFile:n.readFile?function(e){return n.readFile(e)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};l.tracker=a(l,l.tracker);var u=o(l);return l.truncating&&1&l.flags&&(null===(c=null===(s=l.tracker)||void 0===s?void 0:s.reportTruncationError)||void 0===c||c.call(s)),l.encounteredError?void 0:u}function a(e,n){var t=n.trackSymbol;return wr(wr({},n),{reportCyclicStructureError:r(n.reportCyclicStructureError),reportInaccessibleThisError:r(n.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:r(n.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:r(n.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:r(n.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:r(n.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:r(n.reportNonSerializableProperty),trackSymbol:t&&function(){for(var n=[],r=0;r(1&n.flags?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function o(n,t){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var a=8388608&t.flags;if(t.flags&=-8388609,!n)return 262144&t.flags?(t.approximateLength+=3,e.factory.createKeywordTypeNode(130)):void(t.encounteredError=!0);if(536870912&t.flags||(n=Jc(n)),1&n.flags)return n.aliasSymbol?e.factory.createTypeReferenceNode(D(n.aliasSymbol),d(n.aliasTypeArguments,t)):n===Oe?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,"unresolved"):(t.approximateLength+=3,e.factory.createKeywordTypeNode(n===Me?138:130));if(2&n.flags)return e.factory.createKeywordTypeNode(154);if(4&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(8&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(64&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(157);if(16&n.flags&&!n.aliasSymbol)return t.approximateLength+=7,e.factory.createKeywordTypeNode(133);if(1024&n.flags&&!(1048576&n.flags)){var c=ri(n.symbol),l=C(c,t,788968);if(xs(c)===n)return l;var _=e.symbolName(n.symbol);return e.isIdentifierText(_,0)?G(l,e.factory.createTypeReferenceNode(_,void 0)):e.isImportTypeNode(l)?(l.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(l,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(_)))):e.isTypeReferenceNode(l)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(l.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(_))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(1056&n.flags)return C(n.symbol,t,788968);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(n.value,!!(268435456&t.flags)),16777216));if(256&n.flags){var g=n.value;return t.approximateLength+=(""+g).length,e.factory.createLiteralTypeNode(g<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-g)):e.factory.createNumericLiteral(g))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,e.factory.createLiteralTypeNode("true"===n.intrinsicName?e.factory.createTrue():e.factory.createFalse());if(8192&n.flags){if(!(1048576&t.flags)){if(Di(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,C(n.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.factory.createTypeOperatorNode(153,e.factory.createKeywordTypeNode(150))}if(16384&n.flags)return t.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(32768&n.flags)return t.approximateLength+=9,e.factory.createKeywordTypeNode(152);if(65536&n.flags)return t.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(131072&n.flags)return t.approximateLength+=5,e.factory.createKeywordTypeNode(143);if(4096&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(150);if(67108864&n.flags)return t.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(Gd(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.factory.createThisTypeNode();if(!a&&n.aliasSymbol&&(16384&t.flags||Li(n.aliasSymbol,t.enclosingDeclaration))){var y=d(n.aliasTypeArguments,t);return!gi(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?C(n.aliasSymbol,t,788968,y):e.factory.createTypeReferenceNode(e.factory.createIdentifier(""),y)}var h=e.getObjectFlags(n);if(4&h)return e.Debug.assert(!!(524288&n.flags)),n.node?M(n,F):F(n);if(262144&n.flags||3&h){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.factory.createInferTypeNode(m(n,t,void 0));if(4&t.flags&&262144&n.flags&&!Li(n.symbol,t.enclosingDeclaration)){var v=N(n,t);return t.approximateLength+=e.idText(v).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(v)),void 0)}return n.symbol?C(n.symbol,t,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier("?"),void 0)}if(1048576&n.flags&&n.origin&&(n=n.origin),3145728&n.flags){var b=1048576&n.flags?function(e){for(var n=[],t=0,r=0;r0?1048576&n.flags?e.factory.createUnionTypeNode(E):e.factory.createIntersectionTypeNode(E):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&h)return e.Debug.assert(!!(524288&n.flags)),w(n);if(4194304&n.flags){var T=n.type;t.approximateLength+=6;var S=o(T,t);return e.factory.createTypeOperatorNode(140,S)}if(134217728&n.flags){var x=n.texts,L=n.types,A=e.factory.createTemplateHead(x[0]),I=e.factory.createNodeArray(e.map(L,(function(n,r){return e.factory.createTemplateLiteralTypeSpan(o(n,t),(r10)return s(t);t.symbolDepth.set(l,p+1)}t.visitedTypes.add(o);var m=t.approximateLength,_=r(n),g=t.approximateLength-m;return t.reportedDiagnostic||t.encounteredError||(t.truncating&&(_.truncating=!0),_.addedLength=g,null===(i=null==u?void 0:u.serializedTypes)||void 0===i||i.set(d,_)),t.visitedTypes.delete(o),l&&t.symbolDepth.set(l,p),_}function P(n){if(Sc(n)||n.containsError)return function(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.factory.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.factory.createToken(n.declaration.questionToken.kind):void 0;r=hc(n)?e.factory.createTypeOperatorNode(140,o(vc(n),t)):o(mc(n),t);var s=m(fc(n),t,r),c=n.declaration.nameType?o(_c(n),t):void 0,l=o(jm(gc(n),!!(4&bc(n))),t),u=e.factory.createMappedTypeNode(a,s,c,i,l,void 0);return t.approximateLength+=10,e.setEmitFlags(u,1)}(n);var r=xc(n);if(!r.properties.length&&!r.indexInfos.length){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length)return f(r.callSignatures[0],178,t);if(1===r.constructSignatures.length&&!r.callSignatures.length)return f(r.constructSignatures[0],179,t)}var a=e.filter(r.constructSignatures,(function(e){return!!(4&e.flags)}));if(e.some(a)){var c=e.map(a,Gl);return r.callSignatures.length+(r.constructSignatures.length-a.length)+r.indexInfos.length+(2048&t.flags?e.countWhere(r.properties,(function(e){return!(4194304&e.flags)})):e.length(r.properties))&&c.push(function(n){if(0===n.constructSignatures.length)return n;if(n.objectTypeWithoutAbstractConstructSignatures)return n.objectTypeWithoutAbstractConstructSignatures;var t=e.filter(n.constructSignatures,(function(e){return!(4&e.flags)}));if(n.constructSignatures===t)return n;var r=bi(n.symbol,n.members,n.callSignatures,e.some(t)?t:e.emptyArray,n.indexInfos);return n.objectTypeWithoutAbstractConstructSignatures=r,r.objectTypeWithoutAbstractConstructSignatures=r,r}(r)),o(fd(c),t)}var l=t.flags;t.flags|=4194304;var d=function(n){if(i(t))return[e.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var r=[],a=0,o=n.callSignatures;a0){var h=(n.target.typeParameters||e.emptyArray).length;y=d(r.slice(T,h),t)}S=t.flags;t.flags|=16;var v=C(n.symbol,t,788968,y);return t.flags=S,l?G(l,v):v}if((r=e.sameMap(r,(function(e,t){return jm(e,!!(2&n.target.elementFlags[t]))}))).length>0){var b=nu(n),E=d(r.slice(0,b),t);if(E){if(n.target.labeledElementDeclarations)for(var T=0;T2)return[o(n[0],t),e.factory.createTypeReferenceNode("... ".concat(n.length-2," more ..."),void 0),o(n[n.length-1],t)]}for(var a=!(64&t.flags)?e.createUnderscoreEscapedMultiMap():void 0,s=[],c=0,l=0,u=n;l0)),i}function b(n,t){var r;return 524384&JS(n).flags&&(r=e.factory.createNodeArray(e.map(as(n),(function(e){return _(e,t)})))),r}function E(n,t,r){var a;e.Debug.assert(n&&0<=t&&t1?g(i,i.length-1,1):void 0,c=a||E(i,0,t),l=S(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(x)!==e.ModuleResolutionKind.Classic&&l.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(l));var u=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(l));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=l.length+10,!s||e.isEntityName(s)){if(s)(m=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.factory.createImportTypeNode(u,s,c,o)}var d=T(s),p=d.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(u,p,c,o),d.indexType)}var f=g(i,i.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.factory.createTypeQueryNode(f);var m,_=(m=e.isIdentifier(f)?f:f.right).typeArguments;return m.typeArguments=void 0,e.factory.createTypeReferenceNode(f,_);function g(n,r,i){var o,s=r===n.length-1?a:E(n,r,t),c=n[r],l=n[r-1];if(0===r)t.flags|=16777216,o=Xi(c,t),t.approximateLength+=(o?o.length:0)+1,t.flags^=16777216;else if(l&&Qa(l)){var u=Qa(l);e.forEachEntry(u,(function(n,t){if(si(n,c)&&!Ps(t)&&"export="!==t)return o=e.unescapeLeadingUnderscores(t),!0}))}if(o||(o=Xi(c,t)),t.approximateLength+=o.length+1,!(16&t.flags)&&l&&Ks(l)&&Ks(l).get(c.escapedName)&&si(Ks(l).get(c.escapedName),c)){var d=g(n,r-1,i);return e.isIndexedAccessTypeNode(d)?e.factory.createIndexedAccessTypeNode(d,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(d,s),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o)))}var p=e.setEmitFlags(e.factory.createIdentifier(o,s),16777216);if(p.symbol=c,r>i){d=g(n,r-1,i);return e.isEntityName(d)?e.factory.createQualifiedName(d,p):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return p}}function A(e,n,t){var r=na(n.enclosingDeclaration,e,788968,void 0,e,!1);return!!r&&!(262144&r.flags&&r===t.symbol)}function N(n,t){var r,a;if(4&t.flags&&t.typeParameterNames){var i=t.typeParameterNames.get(Zu(n));if(i)return i}var o=k(n.symbol,t,788968,!0);if(!(79&o.kind))return e.factory.createIdentifier("(Missing type parameter)");if(4&t.flags){for(var s=o.escapedText,c=(null===(r=t.typeParameterNamesByTextNextNameCount)||void 0===r?void 0:r.get(s))||0,l=s;(null===(a=t.typeParameterNamesByText)||void 0===a?void 0:a.has(l))||A(l,t,n);)c++,l="".concat(s,"_").concat(c);l!==s&&(o=e.factory.createIdentifier(l,o.typeArguments)),(t.typeParameterNamesByTextNextNameCount||(t.typeParameterNamesByTextNextNameCount=new e.Map)).set(s,c),(t.typeParameterNames||(t.typeParameterNames=new e.Map)).set(Zu(n),o),(t.typeParameterNamesByText||(t.typeParameterNamesByText=new e.Set)).add(s)}return o}function k(n,t,r,a){var i=h(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=Xi(o,t);0===a&&(t.flags^=16777216);var c=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return c.symbol=o,a>0?e.factory.createQualifiedName(n(r,a-1),c):c}(i,i.length-1)}function R(n,t,r){var a=h(n,t,r);return function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=Xi(o,t);0===a&&(t.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,Oi))return e.factory.createStringLiteral(S(o,t));var l=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),L):e.isIdentifierStart(c,L);if(0===a||l){var u=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216);return u.symbol=o,a>0?e.factory.createPropertyAccessExpression(n(r,a-1),u):u}91===c&&(c=(s=s.substring(1,s.length-1)).charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?d=e.factory.createStringLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})),39===c):""+ +s===s&&(d=e.factory.createNumericLiteral(+s)),d||((d=e.setEmitFlags(e.factory.createIdentifier(s,i),16777216)).symbol=o),e.factory.createElementAccessExpression(n(r,a-1),d)}(a,a.length-1)}function O(n){var t=e.getNameOfDeclaration(n);return!!t&&e.isStringLiteral(t)}function w(n){var t=e.getNameOfDeclaration(n);return!!(t&&e.isStringLiteral(t)&&(t.singleQuote||!e.nodeIsSynthesized(t)&&e.startsWith(e.getTextOfNode(t,!1),"'")))}function M(n,t){var r=!!e.length(n.declarations)&&e.every(n.declarations,w),a=function(n,t,r){var a=Xr(n).nameType;if(a){if(384&a.flags){var i=""+a.value;return e.isIdentifierText(i,e.getEmitScriptTarget(x))||Zy(i)?Zy(i)&&e.startsWith(i,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+i)):P(i):e.factory.createStringLiteral(i,!!r)}if(8192&a.flags)return e.factory.createComputedPropertyName(R(a.symbol,t,111551))}}(n,t,r);return a||P(e.unescapeLeadingUnderscores(n.escapedName),!!e.length(n.declarations)&&e.every(n.declarations,O),r)}function P(n,t,r){return e.isIdentifierText(n,e.getEmitScriptTarget(x))?e.factory.createIdentifier(n):!t&&Zy(n)&&+n>=0?e.factory.createNumericLiteral(+n):e.factory.createStringLiteral(n,!!r)}function F(n,t){return n.declarations&&e.find(n.declarations,(function(n){return!(!e.getEffectiveTypeAnnotationNode(n)||t&&!e.findAncestor(n,(function(e){return e===t})))}))}function G(n,t){return!(4&e.getObjectFlags(t))||!e.isTypeReferenceNode(n)||e.length(n.typeArguments)>=hl(t.target.typeParameters)}function B(n,t,r,a,i,s){if(!io(t)&&a){var c=F(r,a);if(c&&!e.isFunctionLikeDeclaration(c)&&!e.isGetAccessorDeclaration(c)){var l=e.getEffectiveTypeAnnotationNode(c);if(Dp(l)===t&&G(l,t)){var u=V(n,l,i,s);if(u)return u}}}var d=n.flags;8192&t.flags&&t.symbol===r&&(!n.enclosingDeclaration||e.some(r.declarations,(function(t){return e.getSourceFileOfNode(t)===e.getSourceFileOfNode(n.enclosingDeclaration)})))&&(n.flags|=1048576);var p=o(t,n);return n.flags=d,p}function U(n,t,r){var a,i,o=!1,s=e.getFirstIdentifier(n);if(e.isInJSFile(n)&&(e.isExportsIdentifier(s)||e.isModuleExportsAccessExpression(s.parent)||e.isQualifiedName(s.parent)&&e.isModuleIdentifier(s.parent.left)&&e.isExportsIdentifier(s.parent.right)))return{introducesError:o=!0,node:n};var c=Ga(s,67108863,!0,!0);if(c&&(0!==Ii(c,t.enclosingDeclaration,67108863,!1).accessibility?o=!0:(null===(i=null===(a=t.tracker)||void 0===a?void 0:a.trackSymbol)||void 0===i||i.call(a,c,t.enclosingDeclaration,67108863),null==r||r(c)),e.isIdentifier(n))){var l=262144&c.flags?N(xs(c),t):e.factory.cloneNode(n);return l.symbol=c,{introducesError:o,node:e.setEmitFlags(e.setOriginalNode(l,n),16777216)}}return{introducesError:o,node:n}}function V(t,a,i,s){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var c=!1,l=e.getSourceFileOfNode(a),u=e.visitNode(a,(function r(a){if(e.isJSDocAllType(a)||317===a.kind)return e.factory.createKeywordTypeNode(130);if(e.isJSDocUnknownType(a))return e.factory.createKeywordTypeNode(154);if(e.isJSDocNullableType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(a))return e.factory.createUnionTypeNode([e.visitNode(a.type,r),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(a))return e.visitNode(a.type,r);if(e.isJSDocVariadicType(a))return e.factory.createArrayTypeNode(e.visitNode(a.type,r));if(e.isJSDocTypeLiteral(a))return e.factory.createTypeLiteralNode(e.map(a.jsDocPropertyTags,(function(n){var i=e.isIdentifier(n.name)?n.name:n.name.right,s=ro(Dp(a),i.escapedText),c=s&&n.typeExpression&&Dp(n.typeExpression.type)!==s?o(s,t):void 0;return e.factory.createPropertySignature(void 0,i,n.isBracketed||n.typeExpression&&e.isJSDocOptionalType(n.typeExpression.type)?e.factory.createToken(57):void 0,c||n.typeExpression&&e.visitNode(n.typeExpression.type,r)||e.factory.createKeywordTypeNode(130))})));if(e.isTypeReferenceNode(a)&&e.isIdentifier(a.typeName)&&""===a.typeName.escapedText)return e.setOriginalNode(e.factory.createKeywordTypeNode(130),a);if((e.isExpressionWithTypeArguments(a)||e.isTypeReferenceNode(a))&&e.isJSDocIndexSignature(a))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(a.typeArguments[0],r))],e.visitNode(a.typeArguments[1],r))]);if(e.isJSDocFunctionType(a)){var u;return e.isJSDocConstructSignature(a)?e.factory.createConstructorTypeNode(a.modifiers,e.visitNodes(a.typeParameters,r),e.mapDefined(a.parameters,(function(n,t){return n.name&&e.isIdentifier(n.name)&&"new"===n.name.escapedText?void(u=n.type):e.factory.createParameterDeclaration(void 0,void 0,_(n),g(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(u||a.type,r)||e.factory.createKeywordTypeNode(130)):e.factory.createFunctionTypeNode(e.visitNodes(a.typeParameters,r),e.map(a.parameters,(function(n,t){return e.factory.createParameterDeclaration(void 0,void 0,_(n),g(n,t),n.questionToken,e.visitNode(n.type,r),void 0)})),e.visitNode(a.type,r)||e.factory.createKeywordTypeNode(130))}if(e.isTypeReferenceNode(a)&&e.isInJSDoc(a)&&(!G(a,Dp(a))||_u(a)||Le===su(a,788968,!0)))return e.setOriginalNode(o(Dp(a),t),a);if(e.isLiteralImportTypeNode(a)){var d=Yr(a).resolvedSymbol;return!e.isInJSDoc(a)||!d||(a.isTypeOf||788968&d.flags)&&e.length(a.typeArguments)>=hl(as(d))?e.factory.updateImportTypeNode(a,e.factory.updateLiteralTypeNode(a.argument,function(r,a){if(s){if(t.tracker&&t.tracker.moduleResolverHost){var i=hL(r);if(i){var o={getCanonicalFileName:e.createGetCanonicalFileName(!!n.useCaseSensitiveFileNames),getCurrentDirectory:function(){return t.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return t.tracker.moduleResolverHost.getCommonSourceDirectory()}},c=e.getResolvedExternalModuleName(o,i);return e.factory.createStringLiteral(c)}}}else if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){var l=Va(a,a,void 0);l&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(l)}return a}(a,a.argument.literal)),a.qualifier,e.visitNodes(a.typeArguments,r,e.isTypeNode),a.isTypeOf):e.setOriginalNode(o(Dp(a),t),a)}if(e.isEntityName(a)||e.isEntityNameExpression(a)){var p=U(a,t,i),f=p.introducesError,m=p.node;if(c=c||f,m!==a)return m}l&&e.isTupleTypeNode(a)&&e.getLineAndCharacterOfPosition(l,a.pos).line===e.getLineAndCharacterOfPosition(l,a.end).line&&e.setEmitFlags(a,1);return e.visitEachChild(a,r,e.nullTransformationContext);function _(n){return n.dotDotDotToken||(n.type&&e.isJSDocVariadicType(n.type)?e.factory.createToken(25):void 0)}function g(n,t){return n.name&&e.isIdentifier(n.name)&&"this"===n.name.escapedText?"this":_(n)?"args":"arg".concat(t)}}));if(!c)return u===a?e.setTextRange(e.factory.cloneNode(a),a):u}}(),re=e.createSymbolTable(),ae=Ur(4,"undefined");ae.declarations=[];var ie=Ur(1536,"globalThis",8);ie.exports=re,ie.declarations=[],re.set(ie.escapedName,ie);var oe,se=Ur(4,"arguments"),ce=Ur(4,"require"),le={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+g},getTypeCount:function(){return _},getInstantiationCount:function(){return h},getRelationCacheSizes:function(){return{assignable:br.size,identity:Tr.size,subtype:hr.size,strictSubtype:vr.size}},isUndefinedSymbol:function(e){return e===ae},isArgumentsSymbol:function(e){return e===se},isUnknownSymbol:function(e){return e===Le},getMergedSymbol:ni,getDiagnostics:Tx,getGlobalDiagnostics:function(){return Sx(),mr.getGlobalDiagnostics()},getRecursionIdentity:tm,getUnmatchedProperties:b_,getTypeOfSymbolAtLocation:function(n,t){var r=e.getParseTreeNode(t);return r?function(n,t){if(n=n.exportSymbol||n,(79===t.kind||80===t.kind)&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&(!e.isAssignmentTarget(t)||e.isWriteAccess(t)))){var r=BE(t);if(ci(Yr(t).resolvedSymbol)===n)return r}if(e.isDeclarationName(t)&&e.isSetAccessor(t.parent)&&Bo(t.parent))return jo(t.parent.symbol,!0);return Qo(n)}(n,r):Re},getSymbolsOfParameterPropertyDeclaration:function(n,t){var r=e.getParseTreeNode(n,e.isParameter);return void 0===r?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(n,t){var r=n.parent,a=n.parent.parent,i=Zr(r.locals,t,111551),o=Zr(Ks(a.symbol),t,111551);if(i&&o)return[i,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(r,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:xs,getPropertiesOfType:Ac,getPropertyOfType:function(n,t){return Zc(n,e.escapeLeadingUnderscores(t))},getPrivateIdentifierPropertyOfType:function(n,t,r){var a=e.getParseTreeNode(r);if(a){var i=Hh(e.escapeLeadingUnderscores(t),a);return i?Jh(n,i):void 0}},getTypeOfPropertyOfType:function(n,t){return ro(n,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:function(e,n){return ol(e,0===n?He:We)},getIndexInfosOfType:il,getSignaturesOfType:el,getIndexTypeOfType:function(e,n){return sl(e,0===n?He:We)},getBaseTypes:ps,getBaseTypeOfLiteralType:Em,getWidenedType:e_,getTypeFromTypeNode:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t?Dp(t):Re},getParameterType:kb,getParameterIdentifierNameAtPosition:function(e,n){var t=e.parameters.length-(ne(e)?1:0);if(n>",0,Ie),xt=zs(void 0,void 0,void 0,e.emptyArray,Ie,void 0,0,0),Lt=zs(void 0,void 0,void 0,e.emptyArray,Re,void 0,0,0),Dt=zs(void 0,void 0,void 0,e.emptyArray,Ie,void 0,0,0),Ct=zs(void 0,void 0,void 0,e.emptyArray,nn,void 0,0,0),At=Vl(We,He,!0),It=new e.Map,Nt={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},kt=uS(Ie,Ie,Ie),Rt=uS(Ie,Ie,Pe),Ot=uS(en,Ie,Ge),wt={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return it||(it=xu("AsyncIterator",3,e))||hn},getGlobalIterableType:function(e){return at||(at=xu("AsyncIterable",1,e))||hn},getGlobalIterableIteratorType:function(e){return ot||(ot=xu("AsyncIterableIterator",1,e))||hn},getGlobalGeneratorType:function(e){return st||(st=xu("AsyncGenerator",3,e))||hn},resolveIterationType:gT,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},Mt={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return $n||($n=xu("Iterator",3,e))||hn},getGlobalIterableType:Ru,getGlobalIterableIteratorType:function(e){return et||(et=xu("IterableIterator",1,e))||hn},getGlobalGeneratorType:function(e){return nt||(nt=xu("Generator",3,e))||hn},resolveIterationType:function(e,n){return e},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},Pt=new e.Map,Ft=!1,Gt=new e.Map,Bt=0,Ut=0,Vt=0,Kt=!1,jt=0,Ht=hp(""),Wt=vp(0),zt=bp({negative:!1,base10Value:"0"}),Jt=[],qt=[],Xt=[],Yt=0,Qt=10,Zt=[],$t=[],er=[],nr=[],tr=[],rr=[],ar=[],ir=[],or=[],sr=[],cr=[],lr=[],ur=[],dr=[],pr=[],fr=[],mr=e.createDiagnosticCollection(),_r=e.createDiagnosticCollection(),gr=new e.Map(e.getEntries({string:He,number:We,bigint:ze,boolean:Qe,symbol:Ze,undefined:Ge})),yr=id(e.arrayFrom(O.keys(),hp)),hr=new e.Map,vr=new e.Map,br=new e.Map,Er=new e.Map,Tr=new e.Map,Sr=new e.Map,xr=e.createSymbolTable();xr.set(ae.escapedName,ae);var Lr=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===x.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){for(var t=0,r=n.getSourceFiles();t=5||e.some(o.relatedInformation,(function(n){return 0===e.compareDiagnostics(n,s)||0===e.compareDiagnostics(n,a)})))return"continue";e.addRelatedInfo(o,e.length(o.relatedInformation)?s:a)},c=0,l=a||e.emptyArray;c1)}function Xr(e){if(33554432&e.flags)return e;var n=Y(e);return $t[n]||($t[n]=new J)}function Yr(e){var n=X(e);return er[n]||(er[n]=new q)}function Qr(n){return 303===n.kind&&!e.isExternalOrCommonJsModule(n)}function Zr(n,t,r){if(r){var a=ni(n.get(t));if(a){if(e.Debug.assert(!(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=Na(a);if(i===Le||i.flags&r)return a}}}}function $r(t,r){var a=e.getSourceFileOfNode(t),i=e.getSourceFileOfNode(r),o=e.getEnclosingBlockScopeContainer(t);if(a!==i){if(D&&(a.externalModuleIndicator||i.externalModuleIndicator)||!e.outFile(x)||K_(r)||8388608&t.flags)return!0;if(l(r,t))return!0;var s=n.getSourceFiles();return s.indexOf(a)<=s.indexOf(i)}if(t.pos<=r.pos&&(!e.isPropertyDeclaration(t)||!e.isThisProperty(r.parent)||t.initializer||t.exclamationToken)){if(202===t.kind){var c=e.getAncestor(r,202);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos=a&&c.pos<=i){var l=e.factory.createPropertyAccessExpression(e.factory.createThis(),n);if(e.setParent(l.expression,l),e.setParent(l,c),l.flowNode=c.returnFlowNode,!(32768&Om(Qg(l,t,Fm(t)))))return!0}}return!1}(i,Yo(ti(t)),e.filter(t.parent.members,e.isClassStaticBlockDeclaration),t.parent.pos,r.pos))return!0}}else{if(!(166===t.kind&&!e.isStatic(t))||e.getContainingClass(n)!==e.getContainingClass(t))return!0}return!1}))}function u(n,t,r){return!(t.end>n.end)&&void 0===e.findAncestor(t,(function(t){if(t===n)return"quit";switch(t.kind){case 213:return!0;case 166:return!r||!(e.isPropertyDeclaration(n)&&t.parent===n.parent||e.isParameterPropertyDeclaration(n,n.parent)&&t.parent===n.parent.parent)||"quit";case 234:switch(t.parent.kind){case 171:case 168:case 172:return!0;default:return!1}default:return!1}}))}}function ea(n,t,r){var a=e.getEmitScriptTarget(x),i=t;if(e.isParameter(r)&&i.body&&n.valueDeclaration&&n.valueDeclaration.pos>=i.body.pos&&n.valueDeclaration.end<=i.body.end&&a>=2){var o=Yr(i);return void 0===o.declarationRequiresScopeChange&&(o.declarationRequiresScopeChange=e.forEach(i.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1),!o.declarationRequiresScopeChange}return!1;function s(n){switch(n.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return s(n.name);case 166:return e.hasStaticModifier(n)?a<99||!C:s(n.name);default:return e.isNullishCoalesce(n)||e.isOptionalChain(n)?a<7:e.isBindingElement(n)&&n.dotDotDotToken&&e.isObjectBindingPattern(n.parent)?a<4:!e.isTypeNode(n)&&(e.forEachChild(n,s)||!1)}}}function na(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),void 0===s&&(s=!0),ta(e,n,t,r,a,i,o,s,Zr)}function ta(n,r,a,i,o,s,c,l,u){var d,p,f,m,_,g,y,h,v,b=n,E=!1,S=n,L=!1;e:for(;n;){if(n.locals&&!Qr(n)&&(m=u(n.locals,r,a))){var D=!0;if(e.isFunctionLike(n)&&_&&_!==n.body?(a&m.flags&788968&&318!==_.kind&&(D=!!(262144&m.flags)&&(_===n.type||163===_.kind||162===_.kind)),a&m.flags&3&&(ea(m,n,_)?D=!1:1&m.flags&&(D=163===_.kind||_===n.type&&!!e.findAncestor(m.valueDeclaration,e.isParameter)))):188===n.kind&&(D=_===n.trueType),D)break e;m=void 0}switch(E=E||aa(n,_),n.kind){case 303:if(!e.isExternalOrCommonJsModule(n))break;L=!0;case 260:var A=(null===(d=ti(n))||void 0===d?void 0:d.exports)||T;if(303===n.kind||e.isModuleDeclaration(n)&&8388608&n.flags&&!e.isGlobalScopeAugmentation(n)){if(m=A.get("default")){var I=e.getLocalSymbolForExportDefault(m);if(I&&m.flags&a&&I.escapedName===r)break e;m=void 0}var N=A.get(r);if(N&&2097152===N.flags&&(e.getDeclarationOfKind(N,274)||e.getDeclarationOfKind(N,273)))break}if("default"!==r&&(m=u(A,r,2623475&a))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||(null===(p=m.declarations)||void 0===p?void 0:p.some(e.isJSDocTypeAlias)))break e;m=void 0}break;case 259:if(m=u((null===(f=ti(n))||void 0===f?void 0:f.exports)||T,r,8&a))break e;break;case 166:if(!e.isStatic(n)){var k=ui(n.parent);k&&k.locals&&u(k.locals,r,111551&a)&&(y=n)}break;case 256:case 225:case 257:if(m=u(ti(n).members||T,r,788968&a)){if(!sa(m,n)){m=void 0;break}if(_&&e.isStatic(_))return void kr(S,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(225===n.kind&&32&a){var R=n.name;if(R&&r===R.escapedText){m=n.symbol;break e}}break;case 227:if(_===n.expression&&94===n.parent.token){var O=n.parent.parent;if(e.isClassLike(O)&&(m=u(ti(O).members,r,788968&a)))return void(i&&kr(S,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 161:if(v=n.parent.parent,(e.isClassLike(v)||257===v.kind)&&(m=u(ti(v).members,r,788968&a)))return void kr(S,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 213:if(e.getEmitScriptTarget(x)>=2)break;case 168:case 170:case 171:case 172:case 255:if(3&a&&"arguments"===r){m=se;break e}break;case 212:if(3&a&&"arguments"===r){m=se;break e}if(16&a){var w=n.name;if(w&&r===w.escapedText){m=n.symbol;break e}}break;case 164:n.parent&&163===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||256===n.parent.kind)&&(n=n.parent);break;case 343:case 336:case 337:(U=e.getJSDocRoot(n))&&(n=U.parent);break;case 163:_&&(_===n.initializer||_===n.name&&e.isBindingPattern(_))&&(h||(h=n));break;case 202:_&&(_===n.initializer||_===n.name&&e.isBindingPattern(_))&&e.isParameterDeclaration(n)&&!h&&(h=n);break;case 189:if(262144&a){var M=n.typeParameter.name;if(M&&r===M.escapedText){m=n.typeParameter.symbol;break e}}}ia(n)&&(g=n),_=n,n=e.isJSDocTemplateTag(n)&&e.getEffectiveContainerForJSDocTemplateTag(n)||n.parent}if(!s||!m||g&&m===g.symbol||(m.isReferenced|=a),!m){if(_&&(e.Debug.assert(303===_.kind),_.commonJsModuleIndicator&&"exports"===r&&a&_.symbol.flags))return _.symbol;c||(m=u(re,r,a))}if(!m&&b&&e.isInJSFile(b)&&b.parent&&e.isRequireCall(b.parent,!1))return ce;if(m){if(i&&t){if(y&&(99!==e.getEmitScriptTarget(x)||!C)){var P=y.name;return void kr(S,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(P),oa(o))}if(S&&(2&a||(32&a||384&a)&&!(111551&~a))){var F=ci(m);(2&F.flags||32&F.flags||384&F.flags)&&function(n,t){var r;if(e.Debug.assert(!!(2&n.flags||32&n.flags||384&n.flags)),67108881&n.flags&&32&n.flags)return;var a=null===(r=n.declarations)||void 0===r?void 0:r.find((function(n){return e.isBlockOrCatchScoped(n)||e.isClassLike(n)||259===n.kind}));if(void 0===a)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&a.flags||$r(a,t))){var i=void 0,o=e.declarationNameToString(e.getNameOfDeclaration(a));2&n.flags?i=kr(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,o):32&n.flags?i=kr(t,e.Diagnostics.Class_0_used_before_its_declaration,o):256&n.flags?i=kr(t,e.Diagnostics.Enum_0_used_before_its_declaration,o):(e.Debug.assert(!!(128&n.flags)),e.shouldPreserveConstEnums(x)&&(i=kr(t,e.Diagnostics.Enum_0_used_before_its_declaration,o))),i&&e.addRelatedInfo(i,e.createDiagnosticForNode(a,e.Diagnostics._0_is_declared_here,o))}}(F,S)}if(m&&L&&!(111551&~a)&&!(4194304&b.flags)){var G=ni(m);e.length(G.declarations)&&e.every(G.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&Mr(!x.allowUmdGlobalAccess,S,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(r))}if(m&&h&&!E&&!(111551&~a)){var B=ni(js(m)),U=e.getRootDeclaration(h);B===ti(h)?kr(S,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(h.name)):B.valueDeclaration&&B.valueDeclaration.pos>h.pos&&U.parent.locals&&u(U.parent.locals,B.escapedName,a)===B&&kr(S,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(h.name),e.declarationNameToString(S))}m&&S&&111551&a&&2097152&m.flags&&function(n,t,r){if(!e.isValidTypeOnlyAliasUseSite(r)){var a=Oa(n);if(a){var i=274===a.kind?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,o=e.unescapeLeadingUnderscores(t);ra(kr(r,i,o),a,o)}}}(m,r,S)}return m}if(i&&t&&!(S&&(function(n,t,r){if(!e.isIdentifier(n)||n.escapedText!==t||Lx(n)||K_(n))return!1;var a=e.getThisContainer(n,!1),i=a;for(;i;){if(e.isClassLike(i.parent)){var o=ti(i.parent);if(!o)break;if(Zc(Yo(o),t))return kr(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,oa(r),Pi(o)),!0;if(i===a&&!e.isStatic(i))if(Zc(xs(o).thisType,t))return kr(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,oa(r)),!0}i=i.parent}return!1}(S,r,o)||ca(S)||function(n,t,r){var a=1920|(e.isInJSFile(n)?111551:0);if(r===a){var i=Ia(na(n,t,788968&~a,void 0,void 0,!1)),o=n.parent;if(i){if(e.isQualifiedName(o)){e.Debug.assert(o.left===n,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(Zc(xs(i),s))return kr(o,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,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(s)),!0}return kr(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}(S,r,a)||function(n,t){if(ua(t)&&274===n.parent.kind)return kr(n,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(S,r)||function(n,t,r){if(111551&r){if(ua(t))return kr(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var a=Ia(na(n,t,788544,void 0,void 0,!1));if(a&&!(1024&a.flags)){var i=e.unescapeLeadingUnderscores(t);return!function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?!function(n,t){var r=e.findAncestor(n.parent,(function(n){return!e.isComputedPropertyName(n)&&!e.isPropertySignature(n)&&(e.isTypeLiteralNode(n)||"quit")}));if(r&&1===r.members.length){var a=xs(t);return!!(1048576&a.flags)&&dE(a,384,!0)}return!1}(n,a)?kr(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,i):kr(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,i,"K"===i?"P":"K"):kr(n,e.Diagnostics._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,i),!0}}return!1}(S,r,a)||function(n,t,r){if(111127&r){if(Ia(na(n,t,1024,void 0,void 0,!1)))return kr(n,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(788544&r){if(Ia(na(n,t,1536,void 0,void 0,!1)))return kr(n,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}(S,r,a)||function(n,t,r){if(788584&r){var a=Ia(na(n,t,111127,void 0,void 0,!1));if(a&&!(1920&a.flags))return kr(n,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.unescapeLeadingUnderscores(t)),!0}return!1}(S,r,a)))){var V=void 0;if(l&&Yt=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",d=a.exports.get("export=").valueDeclaration,p=kr(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Pi(a),u);d&&e.addRelatedInfo(p,e.createDiagnosticForNode(d,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,u))}else!function(n,t){var r,a,i;if(null===(r=n.exports)||void 0===r?void 0:r.has(t.symbol.escapedName))kr(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Pi(n),Pi(t.symbol));else{var o=kr(t.name,e.Diagnostics.Module_0_has_no_default_export,Pi(n)),s=null===(a=n.exports)||void 0===a?void 0:a.get("__export");if(s){var c=null===(i=s.declarations)||void 0===i?void 0:i.find((function(n){var t,r;return!!(e.isExportDeclaration(n)&&n.moduleSpecifier&&(null===(r=null===(t=Ua(n,n.moduleSpecifier))||void 0===t?void 0:t.exports)||void 0===r?void 0:r.has("default")))}));c&&e.addRelatedInfo(o,e.createDiagnosticForNode(c,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}(a,n);return ka(n,i,void 0,!1),i}}function Sa(n,t,r){var a,i;void 0===r&&(r=!1);var o=e.getExternalModuleRequireArgument(n)||n.moduleSpecifier,s=Ua(n,o),c=!e.isPropertyAccessExpression(t)&&t.propertyName||t.name;if(e.isIdentifier(c)){var l=Wa(s,o,!1,"default"===c.escapedText&&!(!x.allowSyntheticDefaultImports&&!e.getESModuleInterop(x)));if(l&&c.escapedText){if(e.isShorthandAmbientModuleSymbol(s))return s;var u=void 0;u=s&&s.exports&&s.exports.get("export=")?Zc(Yo(l),c.escapedText,!0):function(e,n){if(3&e.flags){var t=e.valueDeclaration.type;if(t)return Ia(Zc(Dp(t),n))}}(l,c.escapedText),u=Ia(u,r);var d=function(e,n,t,r){if(1536&e.flags){var a=Qa(e).get(n.escapedText),i=Ia(a,r);return ka(t,a,i,!1),i}}(l,c,t,r);if(void 0===d&&"default"===c.escapedText){var p=null===(a=s.declarations)||void 0===a?void 0:a.find(e.isSourceFile);(ba(o)||Ea(p,s,r,o))&&(d=Ha(s,r)||Ia(s,r))}var f=d&&u&&d!==u?function(n,t){if(n===Le&&t===Le)return Le;if(790504&n.flags)return n;var r=Ur(n.flags|t.flags,n.escapedName);return r.declarations=e.deduplicate(e.concatenate(n.declarations,t.declarations),e.equateValues),r.parent=n.parent||t.parent,n.valueDeclaration&&(r.valueDeclaration=n.valueDeclaration),t.members&&(r.members=new e.Map(t.members)),n.exports&&(r.exports=new e.Map(n.exports)),r}(u,d):d||u;if(!f){var m=Fa(s,n),_=e.declarationNameToString(c),g=sv(c,l);if(void 0!==g){var y=Pi(g),h=kr(c,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,m,_,y);g.valueDeclaration&&e.addRelatedInfo(h,e.createDiagnosticForNode(g.valueDeclaration,e.Diagnostics._0_is_declared_here,y))}else(null===(i=s.exports)||void 0===i?void 0:i.has("default"))?kr(c,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,m,_):function(n,t,r,a,i){var o,s,c=null===(s=null===(o=a.valueDeclaration)||void 0===o?void 0:o.locals)||void 0===s?void 0:s.get(t.escapedText),l=a.exports;if(c){var u=null==l?void 0:l.get("export=");if(u)si(u,c)?function(n,t,r,a){if(D>=e.ModuleKind.ES2015){kr(t,e.getESModuleInterop(x)?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,r)}else{if(e.isInJSFile(n))kr(t,e.getESModuleInterop(x)?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,r);else kr(t,e.getESModuleInterop(x)?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,r,r,a)}}(n,t,r,i):kr(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r);else{var d=l?e.find(pl(l),(function(e){return!!si(e,c)})):void 0,p=d?kr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,i,r,Pi(d)):kr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,i,r);c.declarations&&e.addRelatedInfo.apply(void 0,Or([p],e.map(c.declarations,(function(n,t){return e.createDiagnosticForNode(n,0===t?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,r)})),!1))}}else kr(t,e.Diagnostics.Module_0_has_no_exported_member_1,i,r)}(n,c,_,s,m)}return f}}}function xa(n){if(e.isVariableDeclaration(n)&&n.initializer&&e.isPropertyAccessExpression(n.initializer))return n.initializer}function La(e,n,t){var r=e.parent.parent.moduleSpecifier?Sa(e.parent.parent,e,t):Ga(e.propertyName||e.name,n,!1,t);return ka(e,void 0,r,!1),r}function Da(n,t){if(e.isClassExpression(n))return xE(n).symbol;if(e.isEntityName(n)||e.isEntityNameExpression(n)){var r=Ga(n,901119,!0,t);return r||(xE(n),Yr(n).resolvedSymbol)}}function Ca(n,t){switch(void 0===t&&(t=!1),n.kind){case 264:case 253:return ga(n,t);case 266:return Ta(n,t);case 267:return function(e,n){var t=e.parent.parent.moduleSpecifier,r=Ua(e,t),a=Wa(r,t,n,!1);return ka(e,r,a,!1),a}(n,t);case 273:return function(e,n){var t=e.parent.moduleSpecifier,r=t&&Ua(e,t),a=t&&Wa(r,t,n,!1);return ka(e,r,a,!1),a}(n,t);case 269:case 202:return function(n,t){var r=e.isBindingElement(n)?e.getRootDeclaration(n):n.parent.parent.parent,a=xa(r),i=Sa(r,a||n,t),o=n.propertyName||n.name;return a&&i&&e.isIdentifier(o)?Ia(Zc(Yo(i),o.escapedText),t):(ka(n,void 0,i,!1),i)}(n,t);case 274:return La(n,901119,t);case 270:case 220:return function(n,t){var r=Da(e.isExportAssignment(n)?n.expression:n.right,t);return ka(n,void 0,r,!1),r}(n,t);case 263:return function(e,n){var t=Ha(e.parent.symbol,n);return ka(e,void 0,t,!1),t}(n,t);case 295:return Ga(n.name,901119,!0,t);case 294:return function(e,n){return Da(e.initializer,n)}(n,t);case 206:case 205:return function(n,t){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&63===n.parent.operatorToken.kind)return Da(n.parent.right,t)}(n,t);default:return e.Debug.fail()}}function Aa(e,n){return void 0===n&&(n=901119),!!e&&(2097152==(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function Ia(e,n){return!n&&Aa(e)?Na(e):e}function Na(n){e.Debug.assert(!!(2097152&n.flags),"Should only get Alias here.");var t=Xr(n);if(t.target)t.target===De&&(t.target=Le);else{t.target=De;var r=fa(n);if(!r)return e.Debug.fail();var a=Ca(r);t.target===De?t.target=a||Le:kr(r,e.Diagnostics.Circular_definition_of_import_alias_0,Pi(n))}return t.target}function ka(n,t,r,a){if(!n||e.isPropertyAccessExpression(n))return!1;var i=ti(n);if(e.isTypeOnlyImportOrExportDeclaration(n))return Xr(i).typeOnlyDeclaration=n,!0;var o=Xr(i);return Ra(o,t,a)||Ra(o,r,a)}function Ra(n,t,r){var a,i,o;if(t&&(void 0===n.typeOnlyDeclaration||r&&!1===n.typeOnlyDeclaration)){var s=null!==(i=null===(a=t.exports)||void 0===a?void 0:a.get("export="))&&void 0!==i?i:t,c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);n.typeOnlyDeclaration=null!==(o=null!=c?c:Xr(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!n.typeOnlyDeclaration}function Oa(e){if(2097152&e.flags)return Xr(e).typeOnlyDeclaration||void 0}function wa(e){var n=ti(e),t=Na(n);t&&((t===Le||111551&t.flags&&!Xx(t)&&!Oa(n))&&Ma(n))}function Ma(n){var t=Xr(n);if(!t.referenced){t.referenced=!0;var r=fa(n);if(!r)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(r)){var a=Ia(n);(a===Le||111551&a.flags)&&xE(r.moduleReference)}}}function Pa(n,t){return 79===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),79===n.kind||160===n.parent.kind?Ga(n,1920,!1,t):(e.Debug.assert(264===n.parent.kind),Ga(n,901119,!1,t))}function Fa(e,n){return e.parent?Fa(e.parent,n)+"."+Pi(e):Pi(e,n,void 0,20)}function Ga(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?111551&t:0);if(79===n.kind){var c=t===s||e.nodeIsSynthesized(n)?e.Diagnostics.Cannot_find_namespace_0:U_(e.getFirstIdentifier(n)),l=e.isInJSFile(n)&&!e.nodeIsSynthesized(n)?function(n,t){if(fu(n.parent)){var r=function(n){if(e.findAncestor(n,(function(n){return e.isJSDocNode(n)||4194304&n.flags?e.isJSDocTypeAlias(n):"quit"})))return;var t=e.getJSDocHost(n);if(t&&e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&3===e.getAssignmentDeclarationKind(t.expression)){if(a=ti(t.expression.left))return Ba(a)}if(t&&(e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)){if(a=ti(t.parent.parent.left))return Ba(a)}var r=e.getEffectiveJSDocHost(n);if(r&&e.isFunctionLike(r)){var a;return(a=ti(r))&&a.valueDeclaration}}(n.parent);if(r)return na(r,n.escapedText,t,void 0,n,!0)}}(n,t):void 0;if(!(o=ni(na(i||n,n.escapedText,t,r||l?void 0:c,n,!0,!1))))return ni(l)}else{if(160!==n.kind&&205!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var u=160===n.kind?n.left:n.expression,d=160===n.kind?n.right:n.name,p=Ga(u,s,r,!1,i);if(!p||e.nodeIsMissing(d))return;if(p===Le)return p;if(p.valueDeclaration&&e.isInJSFile(p.valueDeclaration)&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&yb(p.valueDeclaration.initializer)){var f=p.valueDeclaration.initializer.arguments[0],m=Ua(f,f);if(m){var _=Ha(m);_&&(p=_)}}if(!(o=ni(Zr(Qa(p),d.escapedText,t)))){if(!r){var g=Fa(p),y=e.declarationNameToString(d),h=sv(d,p);if(h)return void kr(d,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,g,y,Pi(h));var v=e.isQualifiedName(n)&&function(n){for(;e.isQualifiedName(n.parent);)n=n.parent;return n}(n),b=In&&788968&t&&v&&!e.isTypeOfExpression(v.parent)&&function(n){var t=e.getFirstIdentifier(n),r=na(t,t.escapedText,111551,void 0,t,!0);if(r){for(;e.isQualifiedName(t.parent);){if(!(r=Zc(Yo(r),t.parent.right.escapedText)))return;t=t.parent}return r}}(v);if(b)return void kr(v,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.entityNameToString(v));if(1920&t&&e.isQualifiedName(n.parent)){var E=ni(Zr(Qa(p),d.escapedText,788968));if(E)return void kr(n.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,Pi(E),e.unescapeLeadingUnderscores(n.parent.right.escapedText))}kr(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,g,y)}return}}return e.Debug.assert(!(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(n)&&e.isEntityName(n)&&(2097152&o.flags||270===n.parent.kind)&&ka(e.getAliasDeclarationFromName(n),o,void 0,!0),o.flags&t||a?o:Na(o)}}function Ba(n){var t=n.parent.valueDeclaration;if(t)return(e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0)||t}function Ua(n,t,r){var a=e.getEmitModuleResolutionKind(x)===e.ModuleResolutionKind.Classic?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 Va(n,t,r?void 0:a)}function Va(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?Ka(n,t.text,r,t,a):void 0}function Ka(t,r,a,i,o){var s,c,l,u,d,p,f;(void 0===o&&(o=!1),e.startsWith(r,"@types/"))&&kr(i,N=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(r,"@types/"),r);var m=ml(r,!0);if(m)return m;var _=e.getSourceFileOfNode(t),g=e.isStringLiteralLike(t)?t:(null===(s=e.findAncestor(t,e.isImportCall))||void 0===s?void 0:s.arguments[0])||(null===(c=e.findAncestor(t,e.isImportDeclaration))||void 0===c?void 0:c.moduleSpecifier)||(null===(l=e.findAncestor(t,e.isExternalModuleImportEqualsDeclaration))||void 0===l?void 0:l.moduleReference.expression)||(null===(u=e.findAncestor(t,e.isExportDeclaration))||void 0===u?void 0:u.moduleSpecifier)||(null===(d=e.isModuleDeclaration(t)?t:t.parent&&e.isModuleDeclaration(t.parent)&&t.parent.name===t?t.parent:void 0)||void 0===d?void 0:d.name)||(null===(p=e.isLiteralImportTypeNode(t)?t:void 0)||void 0===p?void 0:p.argument.literal),y=g&&e.isStringLiteralLike(g)?e.getModeForUsageLocation(_,g):_.impliedNodeFormat,h=e.getResolvedModule(_,r,y),v=h&&e.getResolutionDiagnostic(x,h),b=h&&!v&&n.getSourceFile(h.resolvedFileName);if(b){if(b.symbol){if(h.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(h.extension)&&ja(!1,i,h,r),e.getEmitModuleResolutionKind(x)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(x)===e.ModuleResolutionKind.NodeNext)(_.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(t,e.isImportCall)||!!e.findAncestor(t,e.isImportEqualsDeclaration))&&b.impliedNodeFormat===e.ModuleKind.ESNext&&kr(i,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,r),y===e.ModuleKind.ESNext&&x.resolveJsonModule&&".json"===h.extension&&kr(i,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports);return ni(b.symbol)}a&&kr(i,e.Diagnostics.File_0_is_not_a_module,b.fileName)}else{if(Cn){var E=e.findBestPatternMatch(Cn,(function(e){return e.pattern}),r);if(E){var T=An&&An.get(r);return ni(T?T:E.symbol)}}if(h&&!e.resolutionExtensionIsTSOrJson(h.extension)&&void 0===v||v===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?kr(i,N=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,r,h.resolvedFileName):ja(M&&!!a,i,h,r);else if(a){if(h){var S=n.getProjectReferenceRedirect(h.resolvedFileName);if(S)return void kr(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,S,h.resolvedFileName)}if(v)kr(i,v,r,h.resolvedFileName);else{var L=e.tryExtractTSExtension(r),C=e.pathIsRelative(r)&&!e.hasExtension(r),A=e.getEmitModuleResolutionKind(x),I=A===e.ModuleResolutionKind.Node12||A===e.ModuleResolutionKind.NodeNext;if(L){var N=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,k=e.removeExtension(r,L);D>=e.ModuleKind.ES2015&&(k+=".mts"===L?".mjs":".cts"===L?".cjs":".js"),kr(i,N,L,k)}else if(!x.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(x)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(x))kr(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r);else if(y===e.ModuleKind.ESNext&&I&&C){var R=e.getNormalizedAbsolutePath(r,e.getDirectoryPath(_.path)),O=null===(f=Lr.find((function(e){var t=e[0];return e[1],n.fileExists(R+t)})))||void 0===f?void 0:f[1];O?kr(i,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,r+O):kr(i,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 kr(i,a,r)}}}}function ja(n,t,r,a){var i,o=r.packageId,c=r.resolvedFileName,l=!e.isExternalModuleNameRelative(a)&&o?(i=o.name,s().has(e.getTypesPackageName(i))?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,o.name,e.mangleScopedPackageName(o.name)):function(e){return!!s().get(e)}(o.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,o.name,a):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,a,e.mangleScopedPackageName(o.name))):void 0;Mr(n,t,e.chainDiagnosticMessages(l,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,c))}function Ha(n,t){if(null==n?void 0:n.exports){var r=function(n,t){if(!n||n===Le||n===t||1===t.exports.size||2097152&n.flags)return n;var r=Xr(n);if(r.cjsExportMerged)return r.cjsExportMerged;var a=33554432&n.flags?n:jr(n);a.flags=512|a.flags,void 0===a.exports&&(a.exports=e.createSymbolTable());return t.exports.forEach((function(e,n){"export="!==n&&a.exports.set(n,a.exports.has(n)?Hr(a.exports.get(n),e):e)})),Xr(a).cjsExportMerged=a,r.cjsExportMerged=a}(ni(Ia(n.exports.get("export="),t)),ni(n));return ni(r)||n}}function Wa(n,t,r,a){var i=Ha(n,r);if(!r&&i){if(!(a||1539&i.flags||e.getDeclarationOfKind(i,303))){var o=D>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return kr(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),i}var s=t.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=e.isImportCall(s)?s.arguments[0]:s.moduleSpecifier,l=Yo(i),u=_b(l,i,n,c);if(u)return za(i,u,s);if(e.getESModuleInterop(x)){var d=$c(l,0);if(d&&d.length||(d=$c(l,1)),d&&d.length||Zc(l,"default",!0))return za(i,gb(l,i,n,c),s)}}}return i}function za(n,t,r){var a=Ur(n.flags,n.escapedName);a.declarations=n.declarations?n.declarations.slice():[],a.parent=n.parent,a.target=n,a.originatingImport=r,n.valueDeclaration&&(a.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(a.constEnumOnlyModule=!0),n.members&&(a.members=new e.Map(n.members)),n.exports&&(a.exports=new e.Map(n.exports));var i=xc(t);return a.type=bi(a,i.members,e.emptyArray,e.emptyArray,i.indexInfos),a}function Ja(e){return void 0!==e.exports.get("export=")}function qa(e){return pl(Za(e))}function Xa(e,n){var t=Za(n);if(t)return t.get(e)}function Ya(n){return!(131068&n.flags||1&e.getObjectFlags(n)||sm(n)||Dm(n))}function Qa(e){return 6256&e.flags?Vs(e,"resolvedExports"):1536&e.flags?Za(e):e.exports||T}function Za(e){var n=Xr(e);return n.resolvedExports||(n.resolvedExports=ei(e))}function $a(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&Ia(o)!==Ia(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function ei(n){var t=[];return function n(r){if(!(r&&r.exports&&e.pushIfUnique(t,r)))return;var a=new e.Map(r.exports),i=r.exports.get("__export");if(i){var o=e.createSymbolTable(),s=new e.Map;if(i.declarations)for(var c=0,l=i.declarations;c=d?u.substr(0,d-3)+"...":u}function Bi(e,n){var t=Vi(e.symbol)?Gi(e,e.symbol.valueDeclaration):Gi(e),r=Vi(n.symbol)?Gi(n,n.symbol.valueDeclaration):Gi(n);return t===r&&(t=Ui(e),r=Ui(n)),[t,r]}function Ui(e){return Gi(e,void 0,64)}function Vi(n){return n&&!!n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!tf(n.valueDeclaration)}function Ki(e){return void 0===e&&(e=0),814775659&e}function ji(n){return!!(n.symbol&&32&n.symbol.flags&&(n===_s(n.symbol)||524288&n.flags&&16777216&e.getObjectFlags(n)))}function Hi(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.factory.createTypePredicateNode(2===n.kind||3===n.kind?e.factory.createToken(128):void 0,1===n.kind||3===n.kind?e.factory.createIdentifier(n.parameterName):e.factory.createThisTypeNode(),n.type&&W.typeToTypeNode(n.type,t,70222336|Ki(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function Wi(e){return 8===e?"private":16===e?"protected":"public"}function zi(n){return n&&n.parent&&261===n.parent.kind&&e.isExternalModuleAugmentation(n.parent.parent)}function Ji(n){return 303===n.kind||e.isAmbientModule(n)}function qi(n,t){var r=Xr(n).nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,e.getEmitScriptTarget(x))||Zy(a)?Zy(a)&&e.startsWith(a,"-")?"[".concat(a,"]"):a:'"'.concat(e.escapeString(a,34),'"')}if(8192&r.flags)return"[".concat(Xi(r.symbol,t),"]")}}function Xi(n,t){if(t&&"default"===n.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!n.declarations||t.enclosingDeclaration&&e.findAncestor(n.declarations[0],Ji)!==e.findAncestor(t.enclosingDeclaration,Ji)))return"default";if(n.declarations&&n.declarations.length){var r=e.firstDefined(n.declarations,(function(n){return e.getNameOfDeclaration(n)?n:void 0})),a=r&&e.getNameOfDeclaration(r);if(r&&a){if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r))return e.symbolName(n);if(e.isComputedPropertyName(a)&&!(4096&e.getCheckFlags(n))){var i=Xr(n).nameType;if(i&&384&i.flags){var o=qi(n,t);if(void 0!==o)return o}}return e.declarationNameToString(a)}if(r||(r=n.declarations[0]),r.parent&&253===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(r.kind){case 225:case 212:case 213:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),225===r.kind?"(Anonymous class)":"(Anonymous function)"}}var s=qi(n,t);return void 0!==s?s:e.symbolName(n)}function Yi(n){if(n){var t=Yr(n);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(n.kind){case 336:case 343:case 337:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&e.isSourceFile(n.parent.parent.parent));case 202:return Yi(n.parent.parent);case 253:if(e.isBindingPattern(n.name)&&!n.name.elements.length)return!1;case 260:case 256:case 257:case 258:case 255:case 259:case 264:if(e.isExternalModuleAugmentation(n))return!0;var t=to(n);return 1&e.getCombinedModifierFlags(n)||264!==n.kind&&303!==t.kind&&8388608&t.flags?Yi(t):Qr(t);case 166:case 165:case 171:case 172:case 168:case 167:if(e.hasEffectiveModifier(n,24))return!1;case 170:case 174:case 173:case 175:case 163:case 261:case 178:case 179:case 181:case 177:case 182:case 183:case 186:case 187:case 190:case 196:return Yi(n.parent);case 266:case 267:case 269:return!1;case 162:case 303:case 263:return!0;default:return!1}}()),t.isVisible}return!1}function Qi(n,t){var r,a,i;return n.parent&&270===n.parent.kind?r=na(n,n.escapedText,2998271,void 0,n,!1):274===n.parent.kind&&(r=La(n.parent,2998271)),r&&((i=new e.Set).add(Y(r)),function n(r){e.forEach(r,(function(r){var o=pa(r)||r;if(t?Yr(r).isVisible=!0:(a=a||[],e.pushIfUnique(a,o)),e.isInternalModuleImportEqualsDeclaration(r)){var s=r.moduleReference,c=na(r,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1);c&&i&&e.tryAddToSet(i,Y(c))&&n(c.declarations)}}))}(r.declarations)),a}function Zi(e,n){var t=$i(e,n);if(t>=0){for(var r=Jt.length,a=t;a=0;t--){if(eo(Jt[t],Xt[t]))return-1;if(Jt[t]===e&&Xt[t]===n)return t}return-1}function eo(n,t){switch(t){case 0:return!!Xr(n).type;case 5:return!!Yr(n).resolvedEnumType;case 2:return!!Xr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!n.resolvedTypeArguments;case 7:return!!n.baseTypesResolved}return e.Debug.assertNever(t)}function no(){return Jt.pop(),Xt.pop(),qt.pop()}function to(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 253:case 254:case 269:case 268:case 267:case 266:return!1;default:return!0}})).parent}function ro(e,n){var t=Zc(e,n);return t?Yo(t):void 0}function ao(e){return e&&!!(1&e.flags)}function io(e){return e===Re||!!(1&e.flags&&e.aliasSymbol)}function oo(e){var n=ti(e);return n&&Xr(n).type||vo(e,!1)}function so(n,t,r){if(131072&(n=Lg(n,(function(e){return!(98304&e.flags)}))).flags)return mn;if(1048576&n.flags)return Ag(n,(function(e){return so(e,t,r)}));var a=id(e.map(t,hd));if(Md(n)||Pd(a)){if(131072&a.flags)return n;var i=(ft||(ft=Tu("Omit",2,!0)||Le),ft===Le?void 0:ft);return i?ru(i,[n,a]):Re}for(var o=e.createSymbolTable(),s=0,c=Ac(n);s=2?(a=Ie,Mu(Ru(!0),[a])):Un;var c=e.map(i,(function(n){return e.isOmittedExpression(n)?Ie:No(n,t,r)})),l=e.findLastIndex(i,(function(n){return!(n===s||e.isOmittedExpression(n)||qy(n))}),i.length-1)+1,u=Hu(c,e.map(i,(function(e,n){return e===s?4:n>=l?2:1})));return t&&((u=Zl(u)).pattern=n,u.objectFlags|=262144),u}function Ro(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),200===n.kind?function(n,t,r){var a,i=e.createSymbolTable(),o=262272;e.forEach(n.elements,(function(e){var n=e.propertyName||e.name;if(e.dotDotDotToken)a=Vl(He,Ie,!1);else{var s=hd(n);if(ws(s)){var c=Bs(s),l=Ur(4|(e.initializer?16777216:0),c);l.type=No(e,t,r),l.bindingElement=e,i.set(l.escapedName,l)}else o|=512}}));var s=bi(void 0,i,e.emptyArray,e.emptyArray,a?[a]:e.emptyArray);return s.objectFlags|=o,t&&(s.pattern=n,s.objectFlags|=262144),s}(n,t,r):ko(n,t,r)}function Oo(e,n){return Mo(vo(e,!0),e,n)}function wo(e){var n,t=ti(e),r=(n=!1,Wn||(Wn=Eu("SymbolConstructor",n)));return r&&t&&t===r}function Mo(n,t,r){return n?(4096&n.flags&&wo(t.parent)&&(n=Tp(t)),r&&a_(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==ti(t)&&(n=Ze),e_(n)):(n=e.isParameter(t)&&t.dotDotDotToken?Un:Ie,r&&(Po(t)||r_(t,n)),n)}function Po(n){var t=e.getRootDeclaration(n);return oT(163===t.kind?t.parent:t)}function Fo(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return Dp(t)}function Go(n){var t=Xr(n);if(!t.type){var r=function(n){if(4194304&n.flags)return(t=xs(ri(n))).typeParameters?Ql(t,e.map(t.typeParameters,(function(e){return Ie}))):t;var t;if(n===ce)return Ie;if(134217728&n.flags&&n.valueDeclaration){var r=ti(e.getSourceFileOfNode(n.valueDeclaration)),a=Ur(r.flags,"exports");a.declarations=r.declarations?r.declarations.slice():[],a.parent=n,a.target=r,r.valueDeclaration&&(a.valueDeclaration=r.valueDeclaration),r.members&&(a.members=new e.Map(r.members)),r.exports&&(a.exports=new e.Map(r.exports));var i=e.createSymbolTable();return i.set("exports",a),bi(n,i,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(n.valueDeclaration);var o,s=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var c=e.getEffectiveTypeAnnotationNode(s);if(void 0===c)return F?Pe:Ie;var l=Rx(c);return ao(l)||l===Pe?l:Re}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?e_(Tm(KE(s.statements[0].expression))):mn;if(!Zi(n,0))return 512&n.flags&&!(67108864&n.flags)?Wo(n):qo(n);if(270===s.kind)o=Mo(Fo(s)||xE(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))o=Lo(n);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(9136&n.flags)return Wo(n);o=e.isBinaryExpression(s.parent)?Lo(n):Fo(s)||Ie}else if(e.isPropertyAssignment(s))o=Fo(s)||kE(s);else if(e.isJsxAttribute(s))o=Fo(s)||ch(s);else if(e.isShorthandPropertyAssignment(s))o=Fo(s)||NE(s.name,0);else if(e.isObjectLiteralMethod(s))o=Fo(s)||RE(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))o=Oo(s,!0);else if(e.isEnumDeclaration(s))o=Wo(n);else if(e.isEnumMember(s))o=zo(n);else{if(!e.isAccessor(s))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(s.kind)+" for "+e.Debug.formatSymbol(n));o=jo(n)||e.Debug.fail("Non-write accessor resolution must always produce a type")}if(!no())return 512&n.flags&&!(67108864&n.flags)?Wo(n):qo(n);return o}(n);t.type||(t.type=r)}return t.type}function Bo(n){if(n)return 171===n.kind?e.getEffectiveReturnTypeNode(n):e.getEffectiveSetAccessorTypeAnnotationNode(n)}function Uo(e){var n=Bo(e);return n&&Dp(n)}function Vo(n){var t=Xr(n);return t.type||(t.type=Ko(n)||e.Debug.fail("Read type of accessor must always produce a type"))}function Ko(n,t){if(void 0===t&&(t=!1),!Zi(n,0))return Re;var r=jo(n,t);no()||(r=Ie,M&&kr(e.getDeclarationOfKind(n,171),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,Pi(n)));return r}function jo(n,t){void 0===t&&(t=!1);var r=e.getDeclarationOfKind(n,171),a=e.getDeclarationOfKind(n,172),i=Uo(a);if(t&&i)return c(i,n);if(r&&e.isInJSFile(r)){var o=go(r);if(o)return c(o,n)}var s=Uo(r);return s?c(s,n):i||(r&&r.body?c(Jb(r),n):a?(oT(a)||Mr(M,a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Pi(n)),Ie):r?(e.Debug.assert(!!r,"there must exist a getter as we are current checking either setter or getter in this function"),oT(r)||Mr(M,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Pi(n)),Ie):void 0);function c(n,t){return 1&e.getCheckFlags(t)?Qp(n,Xr(t).mapper):n}}function Ho(n){var t=us(_s(n));return 8650752&t.flags?t:2097152&t.flags?e.find(t.types,(function(e){return!!(8650752&e.flags)})):void 0}function Wo(n){var t=Xr(n),r=t;if(!t.type){var a=n.valueDeclaration&&lb(n.valueDeclaration,!1);if(a){var i=cb(n,a);i&&(n=t=i)}r.type=t.type=function(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return Ie;if(t&&(220===t.kind||e.isAccessExpression(t)&&220===t.parent.kind))return Lo(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=Ha(n);if(r!==n){if(!Zi(n,0))return Re;var a=ni(n.exports.get("export=")),i=Lo(a,a===r?void 0:r);return no()?i:qo(n)}}var o=mi(16,n);if(32&n.flags){var s=Ho(n);return s?fd([o,s]):o}return I&&16777216&n.flags?Fm(o):o}(n)}return t.type}function zo(e){var n=Xr(e);return n.type||(n.type=Ts(e))}function Jo(n){var t=Xr(n);if(!t.type){var r=Na(n),a=n.declarations&&Ca(fa(n),!0),i=e.firstDefined(null==a?void 0:a.declarations,(function(n){return e.isExportAssignment(n)?Fo(n):void 0}));t.type=(null==a?void 0:a.declarations)&&mx(a.declarations)&&n.declarations.length?function(n){var t=e.getSourceFileOfNode(n.declarations[0]),r=e.unescapeLeadingUnderscores(n.escapedName),a=n.declarations.every((function(n){return e.isInJSFile(n)&&e.isAccessExpression(n)&&e.isModuleExportsAccessExpression(n.expression)})),i=a?e.factory.createPropertyAccessExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("module"),e.factory.createIdentifier("exports")),r):e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),r);return a&&e.setParent(i.expression.expression,i.expression),e.setParent(i.expression,i),e.setParent(i,t),i.flowNode=t.endFlowNode,Qg(i,Ne,Ge)}(a):mx(n.declarations)?Ne:i||(111551&r.flags?Yo(r):Re)}return t.type}function qo(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(kr(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Pi(n)),Re):(M&&(163!==t.kind||t.initializer)&&kr(n.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,Pi(n)),Ie)}function Xo(e){if(98304&e.flags){var n=function(e){var n=Xr(e);return n.writeType||(n.writeType=Ko(e,!0))}(e);if(n)return n}return Yo(e)}function Yo(n){var t=e.getCheckFlags(n);return 65536&t?function(n){var t=Xr(n);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?id(t.deferralConstituents):fd(t.deferralConstituents)),t.type}(n):1&t?function(e){var n=Xr(e);if(!n.type){if(!Zi(e,0))return n.type=Re;var t=Qp(Yo(n.target),n.mapper);no()||(t=qo(e)),n.type=t}return n.type}(n):262144&t?function(n){if(!n.type){var t=n.mappedType;if(!Zi(n,0))return t.containsError=!0,Re;var r=Qp(gc(t.target||t),Up(t.mapper,fc(t),n.keyType)),a=I&&16777216&n.flags&&!lE(r,49152)?Fm(r,!0):524288&n.checkFlags?Wm(r):r;no()||(kr(o,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Pi(n),Gi(t)),a=Re),n.type=a}return n.type}(n):8192&t?function(e){var n=Xr(e);n.type||(n.type=v_(e.propertyType,e.mappedType,e.constraintType));return n.type}(n):7&n.flags?Go(n):9136&n.flags?Wo(n):8&n.flags?zo(n):98304&n.flags?Vo(n):2097152&n.flags?Jo(n):Re}function Qo(e){return jm(Yo(e),!!(16777216&e.flags))}function Zo(n,t){return void 0!==n&&void 0!==t&&!!(4&e.getObjectFlags(n))&&n.target===t}function $o(n){return 4&e.getObjectFlags(n)?n.target:n}function es(n,t){return function n(r){if(7&e.getObjectFlags(r)){var a=$o(r);return a===t||e.some(ps(a),n)}if(2097152&r.flags)return e.some(r.types,n);return!1}(n)}function ns(n,t){for(var r=0,a=t;r0)return!0;if(8650752&e.flags){var n=Mc(e);return!!n&&is(n)}return!1}function ss(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function cs(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(el(n,1),(function(n){return(i||a>=hl(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function ls(n,t,r){var a=cs(n,t,r),i=e.map(t,Dp);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?Rl(n,i,e.isInJSFile(r)):n}))}function us(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=ss(n);if(!a)return n.resolvedBaseConstructorType=Ge;if(!Zi(n,1))return Re;var i=KE(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),KE(r.expression)),2621440&i.flags&&xc(i),!no())return kr(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Pi(n.symbol)),n.resolvedBaseConstructorType=Re;if(!(1&i.flags||i===je||os(i))){var o=kr(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Gi(i));if(262144&i.flags){var s=zl(i),c=Pe;if(s){var l=el(s,1);l[0]&&(c=Al(l[0]))}i.symbol.declarations&&e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Pi(i.symbol),Gi(c)))}return n.resolvedBaseConstructorType=Re}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function ds(n,t){kr(n,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Gi(t,void 0,2))}function ps(n){if(!n.baseTypesResolved){if(Zi(n,7)&&(8&n.objectFlags?n.resolvedBaseTypes=[fs(n)]:96&n.symbol.flags?(32&n.symbol.flags&&function(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=Kc(us(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=ss(n),i=t.symbol?xs(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=eu(e);return n[t].symbol!==r[t].symbol}return!0}(i))r=tu(a,t.symbol);else if(1&t.flags)r=t;else{var o=ls(t,a.typeArguments,a);if(!o.length)return kr(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=Al(o[0])}if(io(r))return n.resolvedBaseTypes=e.emptyArray;var s=Jc(r);if(!ms(s)){var c=Qc(void 0,r),l=e.chainDiagnosticMessages(c,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,Gi(s));return mr.add(e.createDiagnosticForNodeFromMessageChain(a.expression,l)),n.resolvedBaseTypes=e.emptyArray}if(n===s||es(s,n))return kr(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Gi(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray;n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0);n.resolvedBaseTypes=[s]}(n),64&n.symbol.flags&&function(n){if(n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray,n.symbol.declarations)for(var t=0,r=n.symbol.declarations;t0)return;for(var a=1;a1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i1){var u=s.thisParameter,d=e.forEach(c,(function(e){return e.thisParameter}));if(d)u=Jm(d,fd(e.mapDefined(c,(function(e){return e.thisParameter&&Yo(e.thisParameter)}))));(l=qs(s,c)).thisParameter=u}(t||(t=[])).push(l)}}}}if(!e.length(t)&&-1!==r){for(var p=n[void 0!==r?r:0],f=p.slice(),m=function(n){if(n!==p){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),f=t.typeParameters&&e.some(f,(function(e){return!!e.typeParameters&&!ec(t.typeParameters,e.typeParameters)}))?void 0:e.map(f,(function(n){return function(n,t){var r,a=n.typeParameters||t.typeParameters;n.typeParameters&&t.typeParameters&&(r=Rp(t.typeParameters,n.typeParameters));var i=n.declaration,o=function(e,n,t){for(var r=wb(e),a=wb(n),i=r>=a?e:n,o=i===e?n:e,s=i===e?r:a,c=Pb(e)||Pb(n),l=c&&!Pb(i),u=new Array(s+(l?1:0)),d=0;d=Mb(i)&&d>=Mb(o),y=d>=r?void 0:Cb(e,d),h=d>=a?void 0:Cb(n,d),v=Ur(1|(g&&!_?16777216:0),(y===h?y:y?h?void 0:y:h)||"arg".concat(d));v.type=_?Fu(m):m,u[d]=v}if(l){var b=Ur(1,"args");b.type=Fu(kb(o,s)),o===n&&(b.type=Qp(b.type,t)),u[s]=b}return u}(n,t,r),s=function(e,n,t){if(!e||!n)return e||n;var r=fd([Yo(e),Qp(Yo(n),t)]);return Jm(e,r)}(n.thisParameter,t.thisParameter,r),c=Math.max(n.minArgumentCount,t.minArgumentCount),l=zs(i,a,s,o,void 0,void 0,c,39&(n.flags|t.flags));l.compositeKind=1048576,l.compositeSignatures=e.concatenate(2097152!==n.compositeKind&&n.compositeSignatures||[n],[t]),r&&(l.mapper=2097152!==n.compositeKind&&n.mapper&&n.compositeSignatures?Gp(n.mapper,r):r);return l}(n,t)})),!f)return"break"}},_=0,g=n;_0})),r=e.map(n,is);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function ac(n){for(var t,r,a,i=n.types,o=rc(i),s=e.countWhere(o,(function(e){return e})),c=function(c){var l=n.types[c];if(!o[c]){var u=el(l,1);u.length&&s>0&&(u=e.map(u,(function(e){var n=Js(e);return n.resolvedReturnType=function(e,n,t,r){for(var a=[],i=0;i=f&&c<=m){var _=m?wl(p,vl(s,p.typeParameters,f,o)):Js(p);_.typeParameters=n.localTypeParameters,_.resolvedReturnType=n,_.flags=a?4|_.flags:-5&_.flags,l.push(_)}}return l}(d)),n.constructSignatures=a}}}function cc(e,n,t){return Qp(e,Rp([n.indexType,n.objectType],[vp(0),Hu([t])]))}function lc(n){if(4194304&n.flags){var t=Kc(n.type);return Cm(t)?Xu(t):Td(t)}if(16777216&n.flags){if(n.root.isDistributive){var r=n.checkType,a=lc(r);if(a!==r)return Yp(n,Bp(n.root.checkType,a,n.mapper))}return n}return 1048576&n.flags?Ag(n,lc):2097152&n.flags?fd(e.sameMap(n.types,lc)):n}function uc(n){return 4096&e.getCheckFlags(n)}function dc(e,n,t,r){for(var a=0,i=Ac(e);a=7,_t||(_t=xu("BigInt",0,t))||mn):528&r.flags?Fn:12288&r.flags?Au(L>=2):67108864&r.flags?mn:4194304&r.flags?ln:2&r.flags&&!I?mn:r}function jc(e){return Jc(Kc(Jc(e)))}function Hc(n,t,r){for(var a,i,o,s,c,l=1048576&n.flags,u=l?0:16777216,d=4,p=l?0:8,f=!1,m=0,_=n.types;m<_.length;m++){if(!(io(I=Kc(_[m]))||131072&I.flags)){var g=(A=Zc(I,t,r))?e.getDeclarationModifierFlagsFromSymbol(A):0;if(A){if(l?u|=16777216&A.flags:u&=A.flags,o){if(A!==o){if((JS(A)||A)===(JS(o)||o)&&-1===am(o,A,(function(e,n){return e===n?-1:0})))f=!!o.parent&&!!e.length(as(o.parent));else{s||(s=new e.Map).set(Y(o),o);var y=Y(A);s.has(y)||s.set(y,A)}}}else o=A;l&&aE(A)?p|=8:l||aE(A)||(p&=-9),p|=(24&g?0:256)|(16&g?512:0)|(8&g?1024:0)|(32&g?2048:0),Ih(A)||(d=2)}else if(l){var h=!Ps(t)&&ul(I,t);h?(p|=32|(h.isReadonly?8:0),c=e.append(c,Dm(I)?Im(I)||Ge:h.type)):!O_(I)||4194304&e.getObjectFlags(I)?p|=16:(p|=32,c=e.append(c,Ge))}}}if(o&&!(l&&(s||48&p)&&1536&p)){if(!(s||16&p||c)){if(f){var v=Jm(o,o.type);return v.parent=null===(i=null===(a=o.valueDeclaration)||void 0===a?void 0:a.symbol)||void 0===i?void 0:i.parent,v.containingType=n,v.mapper=o.mapper,v}return o}for(var b,E,T,S,x=[],L=!1,D=0,C=s?e.arrayFrom(s.values()):[o];D2?(N.checkFlags|=65536,N.deferralParent=n,N.deferralConstituents=x):N.type=l?id(x):fd(x),N}}function Wc(n,t,r){var a,i,o=(null===(a=n.propertyCacheWithoutObjectFunctionPropertyAugment)||void 0===a?void 0:a.get(t))||!r?null===(i=n.propertyCache)||void 0===i?void 0:i.get(t):void 0;o||(o=Hc(n,t,r))&&(r?n.propertyCacheWithoutObjectFunctionPropertyAugment||(n.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):n.propertyCache||(n.propertyCache=e.createSymbolTable())).set(t,o);return o}function zc(n,t,r){var a=Wc(n,t,r);return!a||16&e.getCheckFlags(a)?void 0:a}function Jc(n){return 1048576&n.flags&&33554432&n.objectFlags?n.resolvedReducedType||(n.resolvedReducedType=function(n){var t=e.sameMap(n.types,Jc);if(t===n.types)return n;var r=id(t);1048576&r.flags&&(r.resolvedReducedType=r);return r}(n)):2097152&n.flags?(33554432&n.objectFlags||(n.objectFlags|=33554432|(e.some(Cc(n),qc)?67108864:0)),67108864&n.objectFlags?en:n):n}function qc(e){return Xc(e)||Yc(e)}function Xc(n){return!(16777216&n.flags||192!=(131264&e.getCheckFlags(n))||!(131072&Yo(n).flags))}function Yc(n){return!n.valueDeclaration&&!!(1024&e.getCheckFlags(n))}function Qc(n,t){if(2097152&t.flags&&67108864&e.getObjectFlags(t)){var r=e.find(Cc(t),Xc);if(r)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Gi(t,void 0,536870912),Pi(r));var a=e.find(Cc(t),Yc);if(a)return e.chainDiagnosticMessages(n,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Gi(t,void 0,536870912),Pi(a))}return n}function Zc(e,n,t){if(524288&(e=jc(e)).flags){var r=xc(e),a=r.members.get(n);if(a&&li(a))return a;if(t)return;var i=r===vn?Nn:r.callSignatures.length?kn:r.constructSignatures.length?Rn:void 0;if(i){var o=Dc(i,n);if(o)return o}return Dc(In,n)}if(3145728&e.flags)return zc(e,n,t)}function $c(n,t){if(3670016&n.flags){var r=xc(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function el(e,n){return $c(jc(e),n)}function nl(n,t){return e.find(n,(function(e){return e.keyType===t}))}function tl(n,t){for(var r,a,i,o=0,s=n;o=0),r>=Mb(t,3)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function gl(n){if(!e.isJSDocPropertyLikeTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&314===r.type.kind}function yl(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function hl(n){var t,r=0;if(n)for(var a=0;a=r&&o<=i){for(var s=n?n.slice():[],c=o;cl.arguments.length&&!m||fl(p)||(o=a.length)}if((171===n.kind||172===n.kind)&&Gs(n)&&(!c||!s)){var _=171===n.kind?172:171,g=e.getDeclarationOfKind(ti(n),_);g&&(s=(t=PL(g))&&t.symbol)}var y=170===n.kind?_s(ni(n.parent.symbol)):void 0,h=y?y.localTypeParameters:dl(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&function(n,t){if(e.isJSDocSignature(n)||!Tl(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=Ur(3,"args",32768);o.type=i?Fu(Dp(i.type)):Un,i&&t.pop();return t.push(o),!0}(n,a))&&(i|=1),(e.isConstructorTypeNode(n)&&e.hasSyntacticModifier(n,128)||e.isConstructorDeclaration(n)&&e.hasSyntacticModifier(n.parent,128))&&(i|=4),r.resolvedSignature=zs(n,h,s,a,void 0,void 0,o,i)}return r.resolvedSignature}function El(n){if(e.isInJSFile(n)&&e.isFunctionLikeDeclaration(n)){var t=e.getJSDocTypeTag(n);return(null==t?void 0:t.typeExpression)&&Dv(Dp(t.typeExpression))}}function Tl(n){var t=Yr(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function n(t){if(!t)return!1;switch(t.kind){case 79:return t.escapedText===se.escapedName&&pL(t)===se;case 166:case 168:case 171:case 172:return 161===t.name.kind&&n(t.name);case 205:case 206:return n(t.expression);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,n)}}(n.body)),t.containsArgumentsReference}function Sl(n){if(!n||!n.declarations)return e.emptyArray;for(var t=[],r=0;r0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(bl(a))}}return t}function xl(e){var n=Ua(e,e);if(n){var t=Ha(n);if(t)return Yo(t)}return Ie}function Ll(e){if(e.thisParameter)return Yo(e.thisParameter)}function Dl(n){if(!n.resolvedTypePredicate){if(n.target){var t=Dl(n.target);n.resolvedTypePredicate=t?(o=t,s=n.mapper,yl(o.kind,o.parameterName,o.parameterIndex,Qp(o.type,s))):St}else if(n.compositeSignatures)n.resolvedTypePredicate=function(e,n){for(var t,r=[],a=0,i=e;a=0}function kl(e){if(ne(e)){var n=Yo(e.parameters[e.parameters.length-1]),t=Dm(n)?Im(n):n;return t&&sl(t,We)}}function Rl(e,n,t,r){var a=Ol(e,vl(n,e.typeParameters,hl(e.typeParameters),t));if(r){var i=Cv(Al(a));if(i){var o=Js(i);o.typeParameters=r;var s=Js(a);return s.resolvedReturnType=Gl(o),s}}return a}function Ol(n,t){var r=n.instantiations||(n.instantiations=new e.Map),a=ql(t),i=r.get(a);return i||r.set(a,i=wl(n,t)),i}function wl(e,n){return Kp(e,function(e,n){return Rp(e.typeParameters,n)}(e,n),!0)}function Ml(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return Kp(e,Fp(e.typeParameters),!0)}(e)):e}function Pl(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=function(n){return Rl(n,e.map(n.typeParameters,(function(e){return e.target&&!Nc(e.target)?e.target:e})),e.isInJSFile(n.declaration))}(n)):n}function Fl(n){var t=n.typeParameters;if(t){if(n.baseSignatureCache)return n.baseSignatureCache;for(var r=Fp(t),a=Rp(t,e.map(t,(function(e){return Nc(e)||Pe}))),i=e.map(t,(function(e){return Qp(e,a)||Pe})),o=0;o1&&(n+=":"+i),r+=i}return n}function Xl(e,n){return e?"@".concat(Y(e))+(n?":".concat(ql(n)):""):""}function Yl(n,t){for(var r=0,a=0,i=n;aa.length)){var c=s&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent);if(kr(n,o===a.length?c?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:c?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,Gi(r,void 0,2),o,a.length),!s)return Re}return 177===n.kind&&Vu(n,e.length(n.typeArguments)!==a.length)?$l(r,n,void 0):Ql(r,e.concatenate(r.outerTypeParameters,vl(yu(n),a,o,s)))}return mu(n,t)?r:Re}function ru(n,t,r,a){var i=xs(n);if(i===Me&&z.has(n.escapedName)&&t&&1===t.length)return Dd(n,t[0]);var o=Xr(n),s=o.typeParameters,c=ql(t)+Xl(r,a),l=o.instantiations.get(c);return l||o.instantiations.set(c,l=Zp(i,Rp(s,vl(t,s,hl(s),e.isInJSFile(n.valueDeclaration))),r,a)),l}function au(n){var t,r=null===(t=n.declarations)||void 0===t?void 0:t.find(e.isTypeAlias);return!(!r||!e.getContainingFunction(r))}function iu(e){return e.parent?"".concat(iu(e.parent),".").concat(e.escapedName):e.escapedName}function ou(e){var n=(160===e.kind?e.right:205===e.kind?e.name:e).escapedText;if(n){var t=160===e.kind?ou(e.left):205===e.kind?ou(e.expression):void 0,r=t?"".concat(iu(t),".").concat(n):n,a=Ce.get(r);return a||(Ce.set(r,a=Ur(524288,n,1048576)),a.parent=t,a.declaredType=Oe),a}return Le}function su(n,t,r){var a=function(n){switch(n.kind){case 177:return n.typeName;case 227:var t=n.expression;if(e.isEntityNameExpression(t))return t}}(n);if(!a)return Le;var i=Ga(a,t,r);return i&&i!==Le?i:r?Le:ou(a)}function cu(n,t){if(t===Le)return Re;if(96&(t=function(n){var t=n.valueDeclaration;if(t&&e.isInJSFile(t)&&!(524288&n.flags)&&!e.getExpandoInitializer(t,!1)){var r=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);if(r){var a=ti(r);if(a)return cb(a,n)}}}(t)||t).flags)return tu(n,t);if(524288&t.flags)return function(n,t){if(1048576&e.getCheckFlags(t)){var r=yu(n),a=Xl(t,r),i=Ae.get(a);return i||((i=fi(1,"error")).aliasSymbol=t,i.aliasTypeArguments=r,Ae.set(a,i)),i}var o=xs(t),s=Xr(t).typeParameters;if(s){var c=e.length(n.typeArguments),l=hl(s);if(cs.length)return kr(n,l===s.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Pi(t),l,s.length),Re;var u=op(n),d=!u||!au(t)&&au(u)?void 0:u;return ru(t,yu(n),d,sp(d))}return mu(n,t)?o:Re}(n,t);var r=Ls(t);if(r)return mu(n,t)?gp(r):Re;if(111551&t.flags&&fu(n)){var a=function(e,n){var t=Yr(e);if(!t.resolvedJSDocType){var r=Yo(n),a=r;if(n.valueDeclaration){var i=199===e.kind&&e.qualifier;r.symbol&&r.symbol!==n&&i&&(a=cu(e,r.symbol))}t.resolvedJSDocType=a}return t.resolvedJSDocType}(n,t);return a||(su(n,788968),Yo(t))}return Re}function lu(e,n){if(3&n.flags||n===e)return e;var t="".concat(Zu(e),">").concat(Zu(n)),r=Ee.get(t);if(r)return r;var a=di(33554432);return a.baseType=e,a.substitute=n,Ee.set(t,a),a}function uu(e){return 183===e.kind&&1===e.elements.length}function du(e,n,t){return uu(n)&&uu(t)?du(e,n.elements[0],t.elements[0]):qd(Dp(n))===e?Dp(t):void 0}function pu(n,t){for(var r,a=!0;t&&!e.isStatement(t)&&318!==t.kind;){var i=t.parent;if(163===i.kind&&(a=!a),(a||8650752&n.flags)&&188===i.kind&&t===i.trueType){var o=du(n,i.checkType,i.extendsType);o&&(r=e.append(r,o))}t=i}return r?lu(n,fd(e.append(r,n))):n}function fu(e){return!!(4194304&e.flags)&&(177===e.kind||199===e.kind)}function mu(n,t){return!n.typeArguments||(kr(n,e.Diagnostics.Type_0_is_not_generic,t?Pi(t):n.typeName?e.declarationNameToString(n.typeName):u),!1)}function _u(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return mu(n),He;case"Number":return mu(n),We;case"Boolean":return mu(n),Qe;case"Void":return mu(n),$e;case"Undefined":return mu(n),Ge;case"Null":return mu(n),Ke;case"Function":case"function":return mu(n),Nn;case"array":return t&&t.length||M?void 0:Un;case"promise":return t&&t.length||M?void 0:Hb(Ie);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=Dp(t[0]),a=Dp(t[1]),i=r===He||r===We?[Vl(r,a,!1)]:e.emptyArray;return bi(void 0,T,e.emptyArray,e.emptyArray,i)}return Ie}return mu(n),M?void 0:Ie}}}function gu(n){var t=Yr(n);if(!t.resolvedType){if(e.isConstTypeReference(n)&&e.isAssertionExpression(n.parent))return t.resolvedSymbol=Le,t.resolvedType=xE(n.parent.expression);var r=void 0,a=void 0,i=788968;fu(n)&&((a=_u(n))||((r=su(n,i,!0))===Le?r=su(n,900095):su(n,i),a=cu(n,r))),a||(a=cu(n,r=su(n,i))),t.resolvedSymbol=r,t.resolvedType=a}return t.resolvedType}function yu(n){return e.map(n.typeArguments,Dp)}function hu(n){var t=Yr(n);if(!t.resolvedType){var r=e.isThisIdentifier(n.exprName)?fy(n.exprName):KE(n.exprName);t.resolvedType=gp(e_(r))}return t.resolvedType}function vu(n,t){function r(e){var n=e.declarations;if(n)for(var t=0,r=n;t=0)return _d(e.map(t,(function(e,t){return 8&n.elementFlags[t]?e:Pe})))?Ag(t[s],(function(r){return Ju(n,e.replaceElement(t,s,r))})):Re}for(var c=[],l=[],u=[],d=-1,p=-1,f=-1,m=function(s){var l=t[s],u=n.elementFlags[s];if(8&u)if(58982400&l.flags||Sc(l))h(l,8,null===(r=n.labeledElementDeclarations)||void 0===r?void 0:r[s]);else if(Dm(l)){var d=eu(l);if(d.length+c.length>=1e4)return kr(o,e.isPartOfTypeNode(o)?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:Re};e.forEach(d,(function(e,n){var t;return h(e,l.target.elementFlags[n],null===(t=l.target.labeledElementDeclarations)||void 0===t?void 0:t[n])}))}else h(dm(l)&&sl(l,We)||Re,4,null===(a=n.labeledElementDeclarations)||void 0===a?void 0:a[s]);else h(l,u,null===(i=n.labeledElementDeclarations)||void 0===i?void 0:i[s])},_=0;_=0&&pa.fixedLength?function(e){var n=Im(e);return n&&Fu(n)}(n)||Hu(e.emptyArray):Hu(eu(n).slice(t,i),a.elementFlags.slice(t,i),!1,a.labeledElementDeclarations&&a.labeledElementDeclarations.slice(t,i))}function Xu(n){return id(e.append(e.arrayOf(n.target.fixedLength,(function(e){return hp(""+e)})),Td(n.target.readonly?wn:On)))}function Yu(n,t){var r=e.findIndex(n.elementFlags,(function(e){return!(e&t)}));return r>=0?r:n.elementFlags.length}function Qu(n,t){return n.elementFlags.length-e.findLastIndex(n.elementFlags,(function(e){return!(e&t)}))-1}function Zu(e){return e.id}function $u(n,t){return e.binarySearch(n,t,Zu,e.compareValues)>=0}function ed(n,t){var r=e.binarySearch(n,t,Zu,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function nd(n,t,r){var a=r.flags;if(1048576&a)return td(n,t|(function(e){return!!(1048576&e.flags&&(e.aliasSymbol||e.origin))}(r)?1048576:0),r.types);if(!(131072&a))if(t|=205258751&a,465829888&a&&(t|=33554432),r===ke&&(t|=8388608),!I&&98304&a)131072&e.getObjectFlags(r)||(t|=4194304);else{var i=n.length,o=i&&r.id>n[i-1].id?~i:e.binarySearch(n,r,Zu,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function td(e,n,t){for(var r=0,a=t;r=0&&$u(s,Ge)&&e.orderedRemoveItemAt(s,l)}if((402664320&c||16384&c&&32768&c)&&function(n,t,r){for(var a=n.length;a>0;){var i=n[--a],o=i.flags;(402653312&o&&4&t||256&o&&8&t||2048&o&&64&t||8192&o&&4096&t||r&&32768&o&&16384&t||yp(i)&&$u(n,i.regularType))&&e.orderedRemoveItemAt(n,a)}}(s,c,!!(2&t)),128&c&&134217728&c&&function(n){var t=e.filter(n,Od);if(t.length)for(var r=n.length,a=function(){r--;var a=n[r];128&a.flags&&e.some(t,(function(e){return C_(a,e)}))&&e.orderedRemoveItemAt(n,r)};r>0;)a()}(s),2===t&&(s=function(n,t){var r=ql(n),a=Te.get(r);if(a)return a;for(var i=t&&e.some(n,(function(e){return!!(524288&e.flags)&&!Sc(e)&&If(xc(e))})),s=n.length,c=s,l=0;c>0;){var u=n[--c];if(i||469499904&u.flags)for(var d=61603840&u.flags?e.find(Ac(u),(function(e){return hm(Yo(e))})):void 0,p=d&&gp(Yo(d)),f=0,m=n;f1e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:n.map((function(e){return e.id}))}),void kr(o,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);if(l++,d&&61603840&_.flags){var g=ro(_,d.escapedName);if(g&&hm(g)&&gp(g)!==p)continue}if(Mf(u,_,vr)&&(!(1&e.getObjectFlags($o(u)))||!(1&e.getObjectFlags($o(_)))||ff(u,_))){e.orderedRemoveItemAt(n,c);break}}}}return Te.set(r,n),n}(s,!!(524288&c)),!s))return Re;if(0===s.length)return 65536&c?4194304&c?Ke:je:32768&c?4194304&c?Ge:Be:en}if(!i&&1048576&c){var u=[];rd(u,n);for(var d=[],p=function(n){e.some(u,(function(e){return $u(e.types,n)}))||d.push(n)},f=0,m=s;f0;){var a=n[--t];if(134217728&a.flags)for(var i=0,o=r;i0;){var a=n[--r];(4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t)&&e.orderedRemoveItemAt(n,r)}}(o,i),16777216&i&&524288&i&&e.orderedRemoveItemAt(o,e.findIndex(o,kf)),262144&i&&(o[o.indexOf(Ge)]=Ve),0===o.length)return Pe;if(1===o.length)return o[0];var s=ql(o)+Xl(t,r),c=fe.get(s);if(!c){if(1048576&i)if(function(n){var t,r=e.findIndex(n,(function(n){return!!(65536&e.getObjectFlags(n))}));if(r<0)return!1;for(var a=r+1;a=0;o--)if(1048576&e[o].flags){var s=e[o].types,c=s.length;a[o]=s[i%c],i=Math.floor(i/c)}var l=fd(a);131072&l.flags||t.push(l)}return t}(o);c=id(u,1,t,r,e.some(u,(function(e){return!!(2097152&e.flags)}))?ad(2097152,o):void 0)}else c=function(e,n,t){var r=di(2097152);return r.objectFlags=Yl(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(o,t,r);fe.set(s,c)}return c}function md(n){return e.reduceLeft(n,(function(e,n){return 1048576&n.flags?e*n.types.length:131072&n.flags?0:e}),1)}function _d(n){var t=md(n);return!(t>=1e5)||(null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:n.map((function(e){return e.id})),size:t}),kr(o,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1)}function gd(e,n){var t=di(4194304);return t.type=e,t.stringsOnly=n,t}function yd(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=gd(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=gd(e,!1))}function hd(n){return e.isPrivateIdentifier(n)?en:e.isIdentifier(n)?hp(e.unescapeLeadingUnderscores(n.escapedText)):gp(e.isComputedPropertyName(n)?$y(n):KE(n))}function vd(n,t,r){if(r||!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var a=Xr(js(n)).nameType;if(!a){var i=e.getNameOfDeclaration(n.valueDeclaration);a="default"===n.escapedName?hp("default"):i&&hd(i)||(e.isKnownSymbol(n)?void 0:hp(e.symbolName(n)))}if(a&&a.flags&t)return a}return en}function bd(n,t){return!!(n.flags&t||2097152&n.flags&&e.some(n.types,(function(e){return bd(e,t)})))}function Ed(n,t,r){var a=r&&(7&e.getObjectFlags(n)||n.aliasSymbol)?function(e){var n=pi(4194304);return n.type=e,n}(n):void 0,i=e.map(Ac(n),(function(e){return vd(e,t)})),o=e.map(il(n),(function(e){return e!==At&&bd(e.keyType,t)?e.keyType===He&&8&t?sn:e.keyType:en}));return id(e.concatenate(i,o),1,void 0,void 0,a)}function Td(n,t,r){return void 0===t&&(t=G),1048576&(n=Jc(n)).flags?fd(e.map(n.types,(function(e){return Td(e,t,r)}))):2097152&n.flags?id(e.map(n.types,(function(e){return Td(e,t,r)}))):58982400&n.flags||Cm(n)||Sc(n)&&(i=fc(a=n),!function n(t){return!!(68157439&t.flags)||(16777216&t.flags?t.root.isDistributive&&t.checkType===i:137363456&t.flags?e.every(t.types,n):8388608&t.flags?n(t.objectType)&&n(t.indexType):33554432&t.flags?n(t.substitute):!!(268435456&t.flags)&&n(t.type))}(_c(a)||i))?yd(n,t):32&e.getObjectFlags(n)?function(e,n,t){var r=fc(e),a=mc(e),i=_c(e.target||e);if(!i&&!t)return a;var o=[];if(hc(e)){if(Pd(a))return yd(e,n);dc(Kc(vc(e)),8576,n,c)}else Tg(lc(a),c);Pd(a)&&Tg(a,c);var s=t?Lg(id(o),(function(e){return!(5&e.flags)})):id(o);return 1048576&s.flags&&1048576&a.flags&&ql(s.types)===ql(a.types)?a:s;function c(n){var t=i?Qp(i,Up(e.mapper,r,n)):n;o.push(t===He?sn:t)}}(n,t,r):n===ke?ke:2&n.flags?en:131073&n.flags?ln:Ed(n,(r?128:402653316)|(t?0:12584),t===G&&!r);var a,i}function Sd(e){if(G)return e;var n=(pt||(pt=Tu("Extract",2,!0)||Le),pt===Le?void 0:pt);return n?ru(n,[e,He]):He}function xd(n,t){var r=e.findIndex(t,(function(e){return!!(1179648&e.flags)}));if(r>=0)return _d(t)?Ag(t[r],(function(a){return xd(n,e.replaceElement(t,r,a))})):Re;if(e.contains(t,ke))return ke;var a=[],i=[],o=n[0];if(!function e(n,t){for(var r=0;r=0){if(i&&xg(t,(function(e){return!e.target.hasRestElement}))&&!(16&o)){var p=kd(i);Dm(t)?kr(p,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,Gi(t),nu(t),e.unescapeLeadingUnderscores(l)):kr(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),Gi(t))}return b(ol(t,We)),Ag(t,(function(e){var n=Im(e)||Ge;return 1&o?id([n,Ge]):n}))}}if(!(98304&r.flags)&&uE(r,402665900)){if(131073&t.flags)return t;var f=ll(t,r)||ol(t,He);if(f)return 2&o&&f.keyType!==We?void(c&&kr(c,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Gi(r),Gi(n))):i&&f.keyType===He&&!uE(r,12)?(kr(p=kd(i),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Gi(r)),1&o?id([f.type,Ge]):f.type):(b(f),1&o?id([f.type,Ge]):f.type);if(131072&r.flags)return en;if(Cd(t))return Ie;if(c&&!pE(t)){if(O_(t)){if(M&&384&r.flags)return mr.add(e.createDiagnosticForNode(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,Gi(t))),Ge;if(12&r.flags){var m=e.map(t.properties,(function(e){return Yo(e)}));return id(e.append(m,Ge))}}if(t.symbol===ie&&void 0!==l&&ie.exports.has(l)&&418&ie.exports.get(l).flags)kr(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(l),Gi(t));else if(M&&!x.suppressImplicitAnyIndexErrors&&!(128&o))if(void 0!==l&&nv(l,t)){var _=Gi(t);kr(c,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,l,_,_+"["+e.getTextOfNode(c.argumentExpression)+"]")}else if(sl(t,We))kr(c.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var g=void 0;if(void 0!==l&&(g=iv(l,t)))void 0!==g&&kr(c.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,Gi(t),g);else{var y=function(n,t,r){function a(e){var t=Dc(n,e);if(t){var a=Dv(Yo(t));return!!a&&Mb(a)>=1&&pf(r,kb(a,0))}return!1}var i=e.isAssignmentTarget(t)?"set":"get";if(!a(i))return;var o=e.tryGetPropertyAccessOrIdentifierToString(t.expression);void 0===o?o=i:o+="."+i;return o}(t,c,r);if(void 0!==y)kr(c,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Gi(t),y);else{var h=void 0;if(1024&r.flags)h=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Gi(r)+"]",Gi(t));else if(8192&r.flags){var v=Fa(r.symbol,c);h=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+v+"]",Gi(t))}else 128&r.flags||256&r.flags?h=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,Gi(t)):12&r.flags&&(h=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Gi(r),Gi(t)));h=e.chainDiagnosticMessages(h,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Gi(a),Gi(t)),mr.add(e.createDiagnosticForNodeFromMessageChain(c,h))}}}return}}if(Cd(t))return Ie;if(i){p=kd(i);384&r.flags?kr(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,Gi(t)):12&r.flags?kr(p,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Gi(t),Gi(r)):kr(p,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Gi(r))}return ao(r)?r:void 0;function b(n){n&&n.isReadonly&&c&&(e.isAssignmentTarget(c)||e.isDeleteTarget(c))&&kr(c,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Gi(t))}}function kd(e){return 206===e.kind?e.argumentExpression:193===e.kind?e.indexType:161===e.kind?e.expression:e}function Rd(e){return!!(77&e.flags)}function Od(n){return!!(134217728&n.flags)&&e.every(n.types,Rd)}function wd(e){return!!Fd(e)}function Md(e){return!!(8388608&Fd(e))}function Pd(e){return!!(16777216&Fd(e))}function Fd(n){return 3145728&n.flags?(4194304&n.objectFlags||(n.objectFlags|=4194304|e.reduceLeft(n.types,(function(e,n){return e|Fd(n)}),0)),25165824&n.objectFlags):33554432&n.flags?(4194304&n.objectFlags||(n.objectFlags|=4194304|Fd(n.substitute)|Fd(n.baseType)),25165824&n.objectFlags):(58982400&n.flags||Sc(n)||Cm(n)?8388608:0)|(465829888&n.flags&&!Od(n)?16777216:0)}function Gd(e){return!!(262144&e.flags&&e.isThisType)}function Bd(n,t){return 8388608&n.flags?function(n,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(n[r])return n[r]===En?n:n[r];n[r]=En;var a=Bd(n.objectType,t),i=Bd(n.indexType,t),o=function(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return Bd(jd(n,e),r)}));return r?fd(a):id(a)}}(a,i,t);if(o)return n[r]=o;if(!(465829888&i.flags)){var s=Ud(a,i,t);if(s)return n[r]=s}if(Cm(a)&&296&i.flags){var c=Nm(a,8&i.flags?0:a.target.fixedLength,0,t);if(c)return n[r]=c}if(Sc(a))return n[r]=Ag(Kd(a,n.indexType),(function(e){return Bd(e,t)}));return n[r]=n}(n,t):16777216&n.flags?function(e,n){var t=e.checkType,r=e.extendsType,a=$d(e),i=ep(e);if(131072&i.flags&&qd(a)===qd(t)){if(1&t.flags||pf(ef(t),ef(r)))return Bd(a,n);if(Vd(t,r))return en}else if(131072&a.flags&&qd(i)===qd(t)){if(!(1&t.flags)&&pf(ef(t),ef(r)))return en;if(1&t.flags||Vd(t,r))return Bd(i,n)}return e}(n,t):n}function Ud(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return Bd(jd(e,t),r)}));return 2097152&n.flags||r?fd(a):id(a)}}function Vd(e,n){return!!(131072&id([tc(e,n),en]).flags)}function Kd(e,n){var t=Rp([fc(e)],[n]),r=Gp(e.mapper,t);return Qp(gc(e),r)}function jd(e,n,t,r,a,i){return void 0===t&&(t=0),Wd(e,n,t,r,a,i)||(r?Re:Pe)}function Hd(e,n){return xg(e,(function(e){if(384&e.flags){var t=Bs(e);if(Zy(t)){var r=+t;return r>=0&&r=5e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:n.id,instantiationDepth:b,instantiationCount:v}),kr(o,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),Re;h++,v++,b++;var i=function(n,t,r,a){var i=n.flags;if(262144&i)return Op(n,t);if(524288&i){var o=n.objectFlags;if(52&o){if(4&o&&!n.node){var s=n.resolvedTypeArguments,c=Ip(s,t);return c!==s?zu(n.target,c):n}return 1024&o?function(n,t){var r=Qp(n.mappedType,t);if(!(32&e.getObjectFlags(r)))return n;var a=Qp(n.constraintType,t);if(!(4194304&a.flags))return n;var i=y_(Qp(n.source,t),r,a);if(i)return i;return n}(n,t):function(n,t,r,a){var i=4&n.objectFlags?n.node:n.symbol.declarations[0],o=Yr(i),s=4&n.objectFlags?o.resolvedType:64&n.objectFlags?n.target:n,c=o.outerTypeParameters;if(!c){var l=ts(i,!0);if(sb(i)){var u=dl(i);l=e.addRange(l,u)}c=l||e.emptyArray;var d=4&n.objectFlags?[i]:n.symbol.declarations;c=(4&s.objectFlags||8192&s.symbol.flags||2048&s.symbol.flags)&&!s.aliasTypeArguments?e.filter(c,(function(n){return e.some(d,(function(e){return Hp(n,e)}))})):c,o.outerTypeParameters=c}if(c.length){var p=Gp(n.mapper,t),f=e.map(c,(function(e){return Op(e,p)})),m=r||n.aliasSymbol,_=r?a:Ip(n.aliasTypeArguments,t),g=ql(f)+Xl(m,_);s.instantiations||(s.instantiations=new e.Map,s.instantiations.set(ql(c)+Xl(s.aliasSymbol,s.aliasTypeArguments),s));var y=s.instantiations.get(g);if(!y){var h=Rp(c,f);y=4&s.objectFlags?$l(n.target,n.node,h,m,_):32&s.objectFlags?zp(s,h,m,_):Xp(s,h,m,_),s.instantiations.set(g,y)}return y}return n}(n,t,r,a)}return n}if(3145728&i){var l=1048576&n.flags?n.origin:void 0,u=l&&3145728&l.flags?l.types:n.types,d=Ip(u,t);if(d===u&&r===n.aliasSymbol)return n;var p=r||n.aliasSymbol,f=r?a:Ip(n.aliasTypeArguments,t);return 2097152&i||l&&2097152&l.flags?fd(d,p,f):id(d,1,p,f)}if(4194304&i)return Td(Qp(n.type,t));if(134217728&i)return xd(n.texts,Ip(n.types,t));if(268435456&i)return Dd(n.symbol,Qp(n.type,t));if(8388608&i){p=r||n.aliasSymbol,f=r?a:Ip(n.aliasTypeArguments,t);return jd(Qp(n.objectType,t),Qp(n.indexType,t),n.accessFlags,void 0,p,f)}if(16777216&i)return Yp(n,Gp(n.mapper,t),r,a);if(33554432&i){var m=Qp(n.baseType,t);if(8650752&m.flags)return lu(m,Qp(n.substitute,t));var _=Qp(n.substitute,t);return 3&_.flags||pf(ef(m),ef(_))?m:_}return n}(n,t,r,a);return b--,i}function $p(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=Qp(e,fn))}function ef(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=Qp(e,pn),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function nf(e,n){return Vl(e.keyType,Qp(e.type,n),e.isReadonly,e.declaration)}function tf(n){switch(e.Debug.assert(168!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 212:case 213:case 168:case 255:return rf(n);case 204:return e.some(n.properties,tf);case 203:return e.some(n.elements,tf);case 221:return tf(n.whenTrue)||tf(n.whenFalse);case 220:return(56===n.operatorToken.kind||60===n.operatorToken.kind)&&(tf(n.left)||tf(n.right));case 294:return tf(n.initializer);case 211:return tf(n.expression);case 285:return e.some(n.properties,tf)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,tf);case 284:var t=n.initializer;return!!t&&tf(t);case 287:var r=n.expression;return!!r&&tf(r)}return!1}function rf(n){return(!e.isFunctionDeclaration(n)||e.isInJSFile(n)&&!!go(n))&&(e.hasContextSensitiveParameters(n)||function(n){return!n.typeParameters&&!e.getEffectiveReturnTypeNode(n)&&!!n.body&&234!==n.body.kind&&tf(n.body)}(n))}function af(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||e.isFunctionExpressionOrArrowFunction(n)||e.isObjectLiteralMethod(n))&&rf(n)}function of(n){if(524288&n.flags){var t=xc(n);if(t.constructSignatures.length||t.callSignatures.length){var r=mi(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r.indexInfos=e.emptyArray,r}}else if(2097152&n.flags)return fd(e.map(n.types,of));return n}function sf(e,n){return Mf(e,n,Tr)}function cf(e,n){return Mf(e,n,Tr)?-1:0}function lf(e,n){return Mf(e,n,br)?-1:0}function uf(e,n){return Mf(e,n,hr)?-1:0}function df(e,n){return Mf(e,n,hr)}function pf(e,n){return Mf(e,n,br)}function ff(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return ff(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return ff(n,e)})):58982400&n.flags?ff(Mc(n)||Pe,t):t===In?!!(67633152&n.flags):t===Nn?!!(524288&n.flags)&&rg(n):es(n,$o(t))||sm(t)&&!cm(t)&&ff(n,wn)}function mf(e,n){return Mf(e,n,Er)}function _f(e,n){return mf(e,n)||mf(n,e)}function gf(e,n,t,r,a,i){return Gf(e,n,br,t,r,a,i)}function yf(e,n,t,r,a,i){return hf(e,n,br,t,r,a,i,void 0)}function hf(e,n,t,r,a,i,o,s){return!!Mf(e,n,t)||(!r||!bf(a,e,n,t,i,o,s))&&Gf(e,n,t,r,i,o,s)}function vf(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,vf))}function bf(n,t,r,a,i,o,s){if(!n||vf(r))return!1;if(!Gf(t,r,a,void 0)&&function(n,t,r,a,i,o,s){for(var c=el(t,0),l=el(t,1),u=0,d=[l,c];u1,g=Lg(f,gm),y=Lg(f,(function(e){return!gm(e)}));if(_){if(g!==en){var h=Hu(lh(l,0)),v=function(n,t){var r,a,i,o,s;return Pr(this,(function(c){switch(c.label){case 0:if(!e.length(n.children))return[2];r=0,a=0,c.label=1;case 1:return au:Mb(n)>u))return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(n=Iv(n,t=Pl(t),void 0,s));var d=wb(n),p=Gb(n),f=Gb(t);if((p||f)&&Qp(p||f,c),p&&f&&d!==u)return 0;var m=t.declaration?t.declaration.kind:0,_=!(3&r)&&N&&168!==m&&167!==m&&170!==m,g=-1,y=Ll(n);if(y&&y!==$e){var h=Ll(t);if(h){if(!(x=!_&&s(y,h,!1)||s(h,y,a)))return a&&i(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;g&=x}}for(var v=p||f?Math.min(d,u):Math.max(d,u),b=p||f?v-1:-1,E=0;E=Mb(n)&&E0||Gx(u));if(g&&!function(e,n,t){for(var r=0,a=Ac(e);r0&&K(Al(v[0]),d,1,!1)||b.length>0&&K(Al(b[0]),d,1,!1)?F(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,y,h):F(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,y,h)}return 0}j(u,d);var T=0,x=O();if((1048576&u.flags||1048576&d.flags)&&Ng(u)*Ng(d)<4?T=Y(u,d,o,8|c):(3145728&u.flags||3145728&d.flags)&&(T=X(u,d,o,8|c,i)),T||1048576&u.flags||!(469499904&u.flags||469499904&d.flags)||(T=X(u,d,o,c,i))&&R(x),!T&&2359296&u.flags){var L=function(n,t){for(var r,a=!1,i=0,o=n;i0;if(f&&E--,524288&r.flags&&524288&i.flags){var m=l;B(r,i,o),l!==m&&(f=!!l)}if(524288&r.flags&&131068&i.flags)!function(n,t){var r=Vi(n.symbol)?Gi(n,n.symbol.valueDeclaration):Gi(n),a=Vi(t.symbol)?Gi(t,t.symbol.valueDeclaration):Gi(t);(Mn===n&&He===t||Pn===n&&We===t||Fn===n&&Qe===t||Au(!1)===n&&Ze===t)&&F(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,a,r)}(r,i);else if(r.symbol&&524288&r.flags&&In===r)F(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(u&&2097152&i.flags){var g=i.types,y=ph(H.IntrinsicAttributes,a),h=ph(H.IntrinsicClassAttributes,a);if(!io(y)&&!io(h)&&(e.contains(g,y)||e.contains(g,h)))return c}else l=Qc(l,t);if(!s&&f)return _=[r,i],c;G(s,r,i)}}}function j(n,t){if(e.tracing&&3145728&n.flags&&3145728&t.flags){var r=n,i=t;if(r.objectFlags&i.objectFlags&65536)return;var o=r.types.length,s=i.types.length;o*s>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:n.id,sourceSize:o,targetId:t.id,targetSize:s,pos:null==a?void 0:a.pos,end:null==a?void 0:a.end})}}function W(e,n){for(var t=-1,r=0,a=e.types;r=o.types.length&&i.length%o.types.length==0){var l=K(c,o.types[s%o.types.length],3,!1,void 0,r);if(l){a&=l;continue}}var u=K(c,n,1,t,void 0,r);if(!u)return 0;a&=u}return a}function X(n,t,a,i,o){if(b)return 0;var s=i|(S?16:0),c=Qf(n,t,s,r,!1),l=r.get(c);if(void 0!==l&&(!(a&&2&l)||4&l)){if(Et){var u=24&l;8&u&&Qp(n,Mp(Q)),16&u&&Qp(n,Mp(Z))}return 1&l?-1:0}if(p){for(var d=c.startsWith("*")?Qf(n,t,s,r,!0):void 0,_=0;_25)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:n.id,targetId:t.id,numCombinations:o}),0}for(var l=new Array(i.length),u=new e.Set,d=0;d5?F(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Gi(n),Gi(t),e.map(_.slice(0,4),(function(e){return Pi(e)})).join(", "),_.length-4):F(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Gi(n),Gi(t),e.map(_,(function(e){return Pi(e)})).join(", ")),o&&l&&E++)}function te(n,t,a,i,o){if(r===Tr)return function(e,n,t){if(!(524288&e.flags&&524288&n.flags))return 0;var r=$(Lc(e),t),a=$(Lc(n),t);if(r.length!==a.length)return 0;for(var i=-1,o=0,s=r;o=l-y)?n.target.elementFlags[b]:4,T=t.target.elementFlags[v];if(8&T&&!(8&E))return a&&F(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,v),0;if(8&E&&!(12&T))return a&&F(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,b,v),0;if(1&T&&!(1&E))return a&&F(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,v),0;if(!(h&&((12&E||12&T)&&(h=!1),h&&(null==i?void 0:i.has(""+v))))){var S=Dm(n)?v=l-y?jm(m[b],!!(E&T&2)):Nm(n,g,y)||en:m[0],x=_[v];if(!(G=K(S,8&E&&4&T?Fu(x):jm(x,!!(2&T)),3,a,void 0,o)))return a&&(l>1||c>1)&&(v=l-y||c-g-y==1?w(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,b,v):w(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,g,c-y-1,v)),0;s&=G}}return s}if(12&t.target.combinedFlags)return 0}var L=!(r!==hr&&r!==vr||O_(n)||mm(n)||Dm(n)),D=E_(n,t,L,!1);if(D)return a&&ne(n,t,D,L),0;if(O_(t))for(var C=0,A=$(Ac(n),i);C0||el(n,r=1).length>0;if(a)return e.find(t.types,(function(e){return el(e,r).length>0}))}(n,t)||function(n,t){for(var r,a=0,i=0,o=t.types;i=a&&(r=s,a=l)}else hm(c)&&1>=a&&(r=s,a=1)}return r}(n,t)}function jf(n,t,r,a,i){for(var o=n.types.map((function(e){})),s=0,c=t;s0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,Hf)}function Wf(n,t,r){var a=Ql(n,e.map(n.typeParameters,(function(e){return e===t?r:e})));return a.objectFlags|=4096,a}function zf(e){var n=Xr(e);return Jf(n.typeParameters,n,(function(t,r,a){var i=ru(e,Ip(n.typeParameters,wp(r,a)));return i.aliasTypeArgumentsContainsMarker=!0,i}))}function Jf(n,t,r){var a,i,o;void 0===n&&(n=e.emptyArray);var s=t.variances;if(!s){null===e.tracing||void 0===e.tracing||e.tracing.push("checkTypes","getVariancesWorker",{arity:n.length,id:null!==(o=null!==(a=t.id)&&void 0!==a?a:null===(i=t.declaredType)||void 0===i?void 0:i.id)&&void 0!==o?o:-1}),t.variances=e.emptyArray,s=[];for(var c=function(e){var n=!1,a=!1,i=Et;Et=function(e){return e?a=!0:n=!0};var o=r(t,e,Sn),c=r(t,e,xn),l=(pf(c,o)?1:0)|(pf(o,c)?2:0);3===l&&pf(r(t,e,Tt),o)&&(l=4),Et=i,(n||a)&&(n&&(l|=8),a&&(l|=16)),s.push(l)},l=0,u=n;ln.id){var i=e;e=n,n=i}var o=t?":"+t:"";return Yf(e)&&Yf(n)?function(e,n,t,r){var a=[],i="",o=c(e,0),s=c(n,0);return"".concat(i).concat(o,",").concat(s).concat(t);function c(e,n){void 0===n&&(n=0);for(var t=""+e.target.id,o=0,s=eu(e);o";continue}t+="-"+l.id}return t}}(e,n,o,a):"".concat(e.id,",").concat(n.id).concat(o)}function Zf(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r=r)for(var a=tm(e),i=0,o=0,s=0;s=o&&++i>=r)return!0;o=c.id}}return!1}function tm(n){if(524288&n.flags&&!w_(n)){if(e.getObjectFlags(n)&&n.node)return n.node;if(n.symbol&&!(16&e.getObjectFlags(n)&&32&n.symbol.flags))return n.symbol;if(Dm(n))return n.target}if(262144&n.flags)return n.symbol;if(8388608&n.flags){do{n=n.objectType}while(8388608&n.flags);return n}return 16777216&n.flags?n.root:n}function rm(e,n){return 0!==am(e,n,cf)}function am(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n);if(a!==(24&e.getDeclarationModifierFlagsFromSymbol(t)))return 0;if(a){if(JS(n)!==JS(t))return 0}else if((16777216&n.flags)!=(16777216&t.flags))return 0;return aE(n)!==aE(t)?0:r(Yo(n),Yo(t))}function im(n,t,r,a,i,o){if(n===t)return-1;if(!function(e,n,t){var r=wb(e),a=wb(n),i=Mb(e),o=Mb(n),s=Pb(e),c=Pb(n);return r===a&&i===o&&s===c||!!(t&&i<=o)}(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var s=Rp(n.typeParameters,t.typeParameters),c=0;ce.length(t.typeParameters)&&(i=Hs(i,e.last(eu(n)))),n.objectFlags|=67108864,n.cachedEquivalentBaseType=i}}}function fm(e){return I?e===rn:e===Be}function mm(e){var n=um(e);return!!n&&fm(n)}function _m(e){return Dm(e)||!!Zc(e,"0")}function gm(e){return dm(e)||_m(e)}function ym(e){return!(240512&e.flags)}function hm(e){return!!(109440&e.flags)}function vm(n){return 2097152&n.flags?e.some(n.types,hm):!!(109440&n.flags)}function bm(n){return!!(16&n.flags)||(1048576&n.flags?!!(1024&n.flags)||e.every(n.types,hm):hm(n))}function Em(e){return 1024&e.flags?bs(e):128&e.flags?He:256&e.flags?We:2048&e.flags?ze:512&e.flags?Qe:1048576&e.flags?Ag(e,Em):e}function Tm(e){return 1024&e.flags&&yp(e)?bs(e):128&e.flags&&yp(e)?He:256&e.flags&&yp(e)?We:2048&e.flags&&yp(e)?ze:512&e.flags&&yp(e)?Qe:1048576&e.flags?Ag(e,Tm):e}function Sm(e){return 8192&e.flags?Ze:1048576&e.flags?Ag(e,Sm):e}function xm(e,n){return AE(e,n)||(e=Sm(Tm(e))),e}function Lm(e,n,t,r){e&&hm(e)&&(e=xm(e,n?NS(t,n,r):void 0));return e}function Dm(n){return!!(4&e.getObjectFlags(n)&&8&n.target.objectFlags)}function Cm(e){return Dm(e)&&!!(8&e.target.combinedFlags)}function Am(e){return Cm(e)&&1===e.target.elementFlags.length}function Im(e){return Nm(e,e.target.fixedLength)}function Nm(e,n,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var a=nu(e)-t;if(n-1&&(na(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o),c=e.declarationNameToString(o.name)+(o.dotDotDotToken?"[]":"");return void Mr(M,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,c)}i=n.dotDotDotToken?M?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:M?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(i=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!M)return;break;case 315:return void kr(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(M&&!n.name)return void kr(n,3===r?e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);i=M?3===r?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:return void(M&&kr(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:i=M?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}Mr(M,n,i,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function a_(n,r,a){!(t&&M&&131072&e.getObjectFlags(r))||a&&zy(n)||t_(r)||r_(n,r,a)}function i_(e,n,t){var r=wb(e),a=wb(n),i=Fb(e),o=Fb(n),s=o?a-1:a,c=i?s:Math.min(r,s),l=Ll(e);if(l){var u=Ll(n);u&&t(l,u)}for(var d=0;d0){for(var g=p,y=f;!((y=h(g).indexOf(_,y))>=0);){if(++g===e.length)return;y=0}v(g,y),f+=_.length}else if(f0)for(var T=0,S=t;Te.target.minLength||!n.target.hasRestElement&&(e.target.hasRestElement||n.target.fixedLength1){var t=e.filter(n,w_);if(t.length){var r=id(t,2);return e.concatenate(e.filter(n,(function(e){return!w_(e)})),[r])}}return n}(n.candidates),o=(r=n.typeParameter,!!(a=Nc(r))&&lE(16777216&a.flags?Rc(a):a,406978556)),s=!o&&n.topLevel&&(n.isFixed||!g_(Al(t),n.typeParameter)),c=o?e.sameMap(i,gp):s?e.sameMap(i,Tm):i;return e_(416&n.priority?id(c,2):function(n){if(!I)return om(n);var t=e.filter(n,(function(e){return!(98304&e.flags)}));return t.length?Pm(om(t),98304&Rm(n)):id(n,2)}(c))}function F_(n,t){var r,a,i=n.inferences[t];if(!i.inferredType){var o=void 0,s=n.signature;if(s){var c=i.candidates?P_(i,s):void 0;if(i.contraCandidates)o=!c||131072&c.flags||!e.some(i.contraCandidates,(function(e){return df(c,e)}))?M_(i):c;else if(c)o=c;else if(1&n.flags)o=nn;else{var l=Uc(i.typeParameter);l&&(o=Qp(l,(r=function(n,t){return Mp((function(r){return e.findIndex(n.inferences,(function(e){return e.typeParameter===r}))>=t?Pe:r}))}(n,t),a=n.nonFixingMapper,r?Pp(4,r,a):a)))}}else o=T_(i);i.inferredType=o||G_(!!(2&n.flags));var u=Nc(i.typeParameter);if(u){var d=Qp(u,n.nonFixingMapper);o&&n.compareTypes(o,Hs(d,o))||(i.inferredType=o=d)}}return i.inferredType}function G_(e){return e?Ie:Pe}function B_(e){for(var n=[],t=0;t=10&&2*a>=n.length?r:void 0}(t,r);n.keyPropertyName=a?r:"",n.constituentMap=a}return n.keyPropertyName.length?n.keyPropertyName:void 0}}function Q_(e,n){var t,r=null===(t=e.constituentMap)||void 0===t?void 0:t.get(Zu(gp(n)));return r!==Pe?r:void 0}function Z_(e,n){var t=Y_(e),r=t&&ro(n,t);return r&&Q_(e,r)}function $_(e,n){return H_(e,n)||z_(e,n)}function eg(e,n){if(e.arguments)for(var t=0,r=e.arguments;t=0&&t.parameterIndex=r&&c-1){var u=i.filter((function(e){return void 0!==e})),d=c=2||!(34&t.flags)||!t.valueDeclaration||e.isSourceFile(t.valueDeclaration)||291===t.valueDeclaration.parent.kind)return;var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=function(n,t){return!!e.findAncestor(n,(function(n){return n===t?"quit":e.isFunctionLike(n)||n.parent&&e.isPropertyDeclaration(n.parent)&&!e.hasStaticModifier(n.parent)&&n.parent.initializer===n}))}(n,r),i=cy(r);if(i){if(a){var o=!0;if(e.isForStatement(r))if((u=e.getAncestor(t.valueDeclaration,254))&&u.parent===r){var s=function(n,t){return e.findAncestor(n,(function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement}))}(n.parent,r);if(s){var c=Yr(s);c.flags|=131072;var l=c.capturedBlockScopeBindings||(c.capturedBlockScopeBindings=[]);e.pushIfUnique(l,t),s===r.initializer&&(o=!1)}}o&&(Yr(i).flags|=65536)}var u;if(e.isForStatement(r))(u=e.getAncestor(t.valueDeclaration,254))&&u.parent===r&&function(n,t){var r=n;for(;211===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(218===r.parent.kind||219===r.parent.kind){var i=r.parent;a=45===i.operator||46===i.operator}if(!a)return!1;return!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}(n,r)&&(Yr(t.valueDeclaration).flags|=4194304);Yr(t.valueDeclaration).flags|=524288}a&&(Yr(t.valueDeclaration).flags|=262144)}(n,r);var c=Yo(i),l=e.getAssignmentTargetKind(n);if(l){if(!(3&i.flags||e.isInJSFile(n)&&512&i.flags))return kr(n,384&i.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:32&i.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:1536&i.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:16&i.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:2097152&i.flags?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Pi(r)),Re;if(aE(i))return 3&i.flags?kr(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Pi(r)):kr(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Pi(r)),Re}var u=2097152&i.flags;if(3&i.flags){if(1===l)return c}else{if(!u)return c;s=fa(r)}if(!s)return c;c=ay(c,n,t);for(var d=163===e.getRootDeclaration(s).kind,p=Zg(s),f=Zg(n),m=f!==p,_=n.parent&&n.parent.parent&&e.isSpreadAssignment(n.parent)&&dg(n.parent.parent),g=134217728&r.flags;f!==p&&(212===f.kind||213===f.kind||e.isObjectLiteralOrClassExpressionMethodOrAccessor(f))&&(ny(i)&&c!==Vn||d&&!$g(i));)f=Zg(f);var y=d||u||m||_||g||e.isBindingElement(s)||c!==Ne&&c!==Vn&&(!I||!!(16387&c.flags)||K_(n)||274===n.parent.kind)||229===n.parent.kind||253===s.kind&&s.exclamationToken||8388608&s.flags,h=y?d?function(e,n){if(Zi(n.symbol,2)){var t=I&&163===n.kind&&n.initializer&&32768&Om(e)&&!(32768&Om(KE(n.initializer)));return no(),t?ig(e,524288):e}return qo(n.symbol),e}(c,s):c:c===Ne||c===Vn?Ge:Fm(c),v=Qg(n,c,h,f);if(Vg(n)||c!==Ne&&c!==Vn){if(!y&&!(32768&Om(c))&&32768&Om(v))return kr(n,e.Diagnostics.Variable_0_is_used_before_being_assigned,Pi(r)),c}else if(v===Ne||v===Vn)return M&&(kr(e.getNameOfDeclaration(s),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Pi(r),Gi(v)),kr(n,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Pi(r),Gi(v))),qT(v);return l?Em(v):v}function cy(n){return e.findAncestor(n,(function(n){return!n||e.nodeStartsNewLexicalEnvironment(n)?"quit":e.isIterationStatement(n,!1)}))}function ly(e,n){(Yr(e).flags|=2,166===n.kind||170===n.kind)?Yr(n.parent).flags|=4:Yr(n).flags|=4}function uy(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,uy)}function dy(e){return us(xs(ti(e)))===je}function py(n,t,r){var a=t.parent;e.getClassExtendsHeritageElement(a)&&!dy(a)&&n.flowNode&&!Xg(n.flowNode,!1)&&kr(n,r)}function fy(n){var t=K_(n),r=e.getThisContainer(n,!0),a=!1;switch(170===r.kind&&py(n,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),213===r.kind&&(r=e.getThisContainer(r,!1),a=!0),function(n,t){e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)&&t.initializer&&e.textRangeContainsPositionInclusive(t.initializer,n.pos)&&e.length(t.parent.decorators)&&kr(n,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}(n,r),r.kind){case 260:kr(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:kr(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:_y(n,r)&&kr(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:kr(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}!t&&a&&L<2&&ly(n,r);var i=my(n,!0,r);if(P){var o=Yo(ie);if(i===o&&a)kr(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!i){var s=kr(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(r)){var c=my(r);c&&c!==o&&e.addRelatedInfo(s,e.createDiagnosticForNode(r,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return i||Ie}function my(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!Ty(n)||e.getThisParameter(r))){var i=Ll(bl(r))||a&&function(n){var t=e.getJSDocType(n);if(t&&315===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Dp(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return Dp(a.typeExpression)}(r);if(!i){var o=function(n){if(212===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent))return n.parent.left.expression.expression;if(168===n.kind&&204===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.left.expression;if(212===n.kind&&294===n.parent.kind&&204===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.left.expression;if(212===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.arguments[0].expression}(r);if(a&&o){var s=KE(o).symbol;s&&s.members&&16&s.flags&&(i=xs(s).thisType)}else sb(r)&&(i=xs(ni(r.symbol)).thisType);i||(i=vy(r))}if(i)return Qg(n,i)}if(e.isClassLike(r.parent)){var c=ti(r.parent);return Qg(n,e.isStatic(r)?Yo(c):xs(c).thisType)}if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var l=ti(r);return l&&Yo(l)}if(r.externalModuleIndicator)return Ge;if(t)return Yo(ie)}}function _y(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":163===n.kind&&n.parent===t}))}function gy(n){var t=207===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=r,i=!1;if(!t)for(;a&&213===a.kind;)a=e.getSuperContainer(a,!0),i=L<2;var o=0;if(!function(n){if(!n)return!1;if(t)return 170===n.kind;if(e.isClassLike(n.parent)||204===n.parent.kind)return e.isStatic(n)?168===n.kind||167===n.kind||171===n.kind||172===n.kind||166===n.kind||169===n.kind:168===n.kind||167===n.kind||171===n.kind||172===n.kind||166===n.kind||165===n.kind||170===n.kind;return!1}(a)){var s=e.findAncestor(n,(function(e){return e===a?"quit":161===e.kind}));return s&&161===s.kind?kr(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?kr(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):a&&a.parent&&(e.isClassLike(a.parent)||204===a.parent.kind)?kr(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):kr(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Re}if(t||170!==r.kind||py(n,a,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(a)||t?(o=512,!t&&L>=2&&L<=8&&(e.isPropertyDeclaration(a)||e.isClassStaticBlockDeclaration(a))&&e.forEachEnclosingBlockScopeContainer(n.parent,(function(n){e.isSourceFile(n)&&!e.isExternalOrCommonJsModule(n)||(Yr(n).flags|=134217728)}))):o=256,Yr(n).flags|=o,168===a.kind&&e.hasSyntacticModifier(a,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?Yr(a).flags|=4096:Yr(a).flags|=2048),i&&ly(n.parent,a),204===a.parent.kind)return L<2?(kr(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Re):Ie;var c=a.parent;if(!e.getClassExtendsHeritageElement(c))return kr(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Re;var l=xs(ti(c)),u=l&&ps(l)[0];return u?170===a.kind&&_y(n,a)?(kr(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Re):512===o?us(l):Hs(u,l.thisType):Re}function yy(n){return 4&e.getObjectFlags(n)&&n.target===Bn?eu(n)[0]:void 0}function hy(n){return Ag(n,(function(n){return 2097152&n.flags?e.forEach(n.types,yy):yy(n)}))}function vy(n){if(213!==n.kind){if(af(n)){var t=Jy(n);if(t){var r=t.thisParameter;if(r)return Yo(r)}}var a=e.isInJSFile(n);if(P||a){var i=function(e){return 168!==e.kind&&171!==e.kind&&172!==e.kind||204!==e.parent.kind?212===e.kind&&294===e.parent.kind?e.parent.parent:void 0:e.parent}(n);if(i){for(var o=Fy(i),s=i,c=o;c;){var l=hy(c);if(l)return Qp(l,f_(Vy(i)));if(294!==s.parent.kind)break;c=Fy(s=s.parent.parent)}return e_(o?Gm(o):xE(i))}var u=e.walkUpParenthesizedExpressions(n.parent);if(220===u.kind&&63===u.operatorToken.kind){var d=u.left;if(e.isAccessExpression(d)){var p=d.expression;if(a&&e.isIdentifier(p)){var f=e.getSourceFileOfNode(u);if(f.commonJsModuleIndicator&&V_(p)===f.symbol)return}return e_(xE(p))}}}}}function by(n){var t=n.parent;if(af(t)){var r=e.getImmediatelyInvokedFunctionExpression(t);if(r&&r.arguments){var a=Bv(r),i=t.parameters.indexOf(n);if(n.dotDotDotToken)return Ov(a,i,a.length,Ie,void 0,0);var o=Yr(r),s=o.resolvedSignature;o.resolvedSignature=xt;var c=i=a?jd(Yo(r.parameters[a]),vp(t-a),256):kb(r,t)}function Cy(n,t){var r=n.parent,a=r.left,i=r.operatorToken,o=r.right;switch(i.kind){case 63:case 76:case 75:case 77:return n===o?function(n){var t,r,a=e.getAssignmentDeclarationKind(n);switch(a){case 0:case 4:var i=function(n){if(n.symbol)return n.symbol;if(e.isIdentifier(n))return V_(n);if(e.isPropertyAccessExpression(n)){var t=BE(n.expression);return e.isPrivateIdentifier(n.name)?r(t,n.name):Zc(t,n.name.escapedText)}return;function r(e,n){var t=Hh(n.escapedText,n);return t&&Jh(e,t)}}(n.left),o=i&&i.valueDeclaration;return o&&(e.isPropertyDeclaration(o)||e.isPropertySignature(o))?(c=e.getEffectiveTypeAnnotationNode(o))&&Qp(Dp(c),Xr(i).mapper)||o.initializer&&BE(n.left):0===a?BE(n.left):Iy(n);case 5:if(Ay(n,a))return Iy(n);if(n.left.symbol){var s=n.left.symbol.valueDeclaration;if(!s)return;var c,l=e.cast(n.left,e.isAccessExpression);if(c=e.getEffectiveTypeAnnotationNode(s))return Dp(c);if(e.isIdentifier(l.expression)){var u=l.expression,d=na(u,u.escapedText,111551,void 0,u.escapedText,!0);if(d){var p=d.valueDeclaration&&e.getEffectiveTypeAnnotationNode(d.valueDeclaration);if(p){var f=e.getElementOrPropertyAccessName(l);if(void 0!==f)return Ny(Dp(p),f)}return}}return e.isInJSFile(s)?void 0:BE(n.left)}return BE(n.left);case 1:case 6:case 3:var m=null===(t=n.left.symbol)||void 0===t?void 0:t.valueDeclaration;case 2:m||(m=null===(r=n.symbol)||void 0===r?void 0:r.valueDeclaration);var _=m&&e.getEffectiveTypeAnnotationNode(m);return _?Dp(_):void 0;case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(a)}}(r):void 0;case 56:case 60:var s=Uy(r,t);return n===o&&(s&&s.pattern||!s&&!e.isDefaultedExpandoInitializer(r))?BE(a):s;case 55:case 27:return n===o?Uy(r,t):void 0;default:return}}function Ay(n,t){if(void 0===t&&(t=e.getAssignmentDeclarationKind(n)),4===t)return!0;if(!e.isInJSFile(n)||5!==t||!e.isIdentifier(n.left.expression))return!1;var r=n.left.expression.escapedText,a=na(n.left,r,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(null==a?void 0:a.valueDeclaration)}function Iy(n){if(!n.symbol)return BE(n.left);if(n.symbol.valueDeclaration){var t=e.getEffectiveTypeAnnotationNode(n.symbol.valueDeclaration);if(t){var r=Dp(t);if(r)return r}}var a=e.cast(n.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(a.expression,!1))){var i=fy(a.expression),o=e.getElementOrPropertyAccessName(a);return void 0!==o&&Ny(i,o)||void 0}}function Ny(n,t){return Ag(n,(function(n){var r,a;if(Sc(n)){var i=mc(n),o=Mc(i)||i,s=hp(e.unescapeLeadingUnderscores(t));if(pf(s,o))return Kd(n,s)}else if(3670016&n.flags){var c=Zc(n,t);if(c)return a=c,262144&e.getCheckFlags(a)&&!a.type&&$i(a,0)>=0?void 0:Yo(c);if(Dm(n)){var l=Im(n);if(l&&Zy(t)&&+t>=0)return l}return null===(r=tl(al(n),hp(e.unescapeLeadingUnderscores(t))))||void 0===r?void 0:r.type}}),!0)}function ky(n,t){var r=n.parent,a=e.isPropertyAssignment(n)&&Ey(n);if(a)return a;var i=Fy(r,t);if(i){if(Gs(n))return Ny(i,ti(n).escapedName);if(n.name){var o=hd(n.name);return Ag(i,(function(e){var n;return null===(n=tl(al(e),o))||void 0===n?void 0:n.type}),!0)}}}function Ry(e,n){return e&&(Ny(e,""+n)||Ag(e,(function(e){return cS(1,e,Ge,void 0,!1)}),!0))}function Oy(n){var t=n.parent;return e.isJsxAttributeLike(t)?Uy(n):e.isJsxElement(t)?function(n,t){var r=Fy(n.openingElement.tagName),a=yh(_h(n));if(r&&!ao(r)&&a&&""!==a){var i=e.getSemanticJsxChildren(n.children),o=i.indexOf(t),s=Ny(r,a);return s&&(1===i.length?s:Ag(s,(function(e){return dm(e)?jd(e,vp(o)):e}),!0))}}(t,n):void 0}function wy(n){if(e.isJsxAttribute(n)){var t=Fy(n.parent);if(!t||ao(t))return;return Ny(t,n.name.escapedText)}return Uy(n.parent)}function My(e){switch(e.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 My(e.expression);case 287:return!e.expression||My(e.expression)}return!1}function Py(n,t){return function(n,t){var r=Y_(n),a=r&&e.find(t.properties,(function(e){return e.symbol&&294===e.kind&&e.symbol.escapedName===r&&My(e.initializer)})),i=a&&VE(a.initializer);return i&&Q_(n,i)}(t,n)||jf(t,e.concatenate(e.map(e.filter(n.properties,(function(e){return!!e.symbol&&294===e.kind&&My(e.initializer)&&q_(t,e.symbol.escapedName)})),(function(e){return[function(){return VE(e.initializer)},e.symbol.escapedName]})),e.map(e.filter(Ac(t),(function(e){var r;return!!(16777216&e.flags)&&!!(null===(r=null==n?void 0:n.symbol)||void 0===r?void 0:r.members)&&!n.symbol.members.has(e.escapedName)&&q_(t,e.escapedName)})),(function(e){return[function(){return Ge},e.escapedName]}))),pf,t)}function Fy(n,t){var r=Gy(e.isObjectLiteralMethod(n)?function(n,t){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(16777216&n.flags))return ky(n,t)}(n,t):Uy(n,t),n,t);if(r&&!(t&&2&t&&8650752&r.flags)){var a=Ag(r,Kc,!0);return 1048576&a.flags&&e.isObjectLiteralExpression(n)?Py(n,a):1048576&a.flags&&e.isJsxAttributes(n)?function(n,t){return jf(t,e.concatenate(e.map(e.filter(n.properties,(function(e){return!!e.symbol&&284===e.kind&&q_(t,e.symbol.escapedName)&&(!e.initializer||My(e.initializer))})),(function(e){return[e.initializer?function(){return VE(e.initializer)}:function(){return Xe},e.symbol.escapedName]})),e.map(e.filter(Ac(t),(function(e){var r;return!!(16777216&e.flags)&&!!(null===(r=null==n?void 0:n.symbol)||void 0===r?void 0:r.members)&&!n.symbol.members.has(e.escapedName)&&q_(t,e.escapedName)})),(function(e){return[function(){return Ge},e.escapedName]}))),pf,t)}(n,a):a}}function Gy(n,t,r){if(n&&lE(n,465829888)){var a=Vy(t);if(a&&e.some(a.inferences,ME)){if(r&&1&r)return By(n,a.nonFixingMapper);if(a.returnMapper)return By(n,a.returnMapper)}}return n}function By(n,t){return 465829888&n.flags?Qp(n,t):1048576&n.flags?id(e.map(n.types,(function(e){return By(e,t)})),0):2097152&n.flags?fd(e.map(n.types,(function(e){return By(e,t)}))):n}function Uy(n,t){if(16777216&n.flags);else{if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 253:case 163:case 166:case 165:case 202:return function(n,t){var r=n.parent;if(e.hasInitializer(r)&&n===r.initializer){var a=Ey(r);if(a)return a;if(!(8&t)&&e.isBindingPattern(r.name))return Ro(r.name,!0,!1)}}(n,t);case 213:case 246:return function(n){var t=e.getContainingFunction(n);if(t){var r=xy(t);if(r){var a=e.getFunctionFlags(t);if(1&a){var i=mS(r,2&a?2:1,void 0);if(!i)return;r=i.returnType}if(2&a){var o=Ag(r,yT);return o&&id([o,Wb(o)])}return r}}}(n);case 223:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t),a=xy(t);if(a)return n.asteriskToken?a:NS(0,a,!!(2&r))}}(r);case 217:return function(e,n){var t=Uy(e,n);if(t){var r=yT(t);return r&&id([r,Wb(r)])}}(r,t);case 207:case 208:return Ly(r,n);case 210:case 228:return e.isConstTypeReference(r.type)?o(r):Dp(r.type);case 220:return Cy(n,t);case 294:case 295:return ky(r,t);case 296:return Uy(r.parent,t);case 203:var a=r;return Ry(Fy(a,t),e.indexOfNode(a.elements,n));case 221:return function(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Uy(t,n):void 0}(n,t);case 232:return e.Debug.assert(222===r.parent.kind),function(e,n){if(209===e.parent.kind)return Ly(e.parent,n)}(r.parent,n);case 211:var i=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return i?e.isJSDocTypeTag(i)&&e.isConstTypeReference(i.typeExpression.type)?o(r):Dp(i.typeExpression.type):Uy(r,t);case 229:return Uy(r,t);case 287:return Oy(r);case 284:case 286:return wy(r);case 279:case 278:return function(n,t){if(e.isJsxOpeningElement(n)&&n.parent.contextualType&&4!==t)return n.parent.contextualType;return Dy(n,0)}(r,t)}}function o(e){return Uy(e)}}function Vy(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function Ky(n,t){return 0!==Mv(t)?function(e,n){var t=Ub(e,Pe);t=jy(n,_h(n),t);var r=ph(H.IntrinsicAttributes,n);io(r)||(t=tc(r,t));return t}(n,t):function(n,t){var r=_h(t),a=(o=r,gh(H.ElementAttributesPropertyNameContainer,o)),i=void 0===a?Ub(n,Pe):""===a?Al(n):function(e,n){if(e.compositeSignatures){for(var t=[],r=0,a=e.compositeSignatures;r=2)return ru(i,vl([s,r],c,2,e.isInJSFile(n)))}if(e.length(o.typeParameters)>=2)return Ql(o,vl([s,r],o.typeParameters,2,e.isInJSFile(n)))}return r}function Hy(n){return e.getStrictOptionValue(x,"noImplicitAny")?e.reduceLeft(n,(function(n,t){return n!==t&&n?ec(n.typeParameters,t.typeParameters)?function(n,t){var r,a=n.typeParameters||t.typeParameters;n.typeParameters&&t.typeParameters&&(r=Rp(t.typeParameters,n.typeParameters));var i=n.declaration,o=function(e,n,t){for(var r=wb(e),a=wb(n),i=r>=a?e:n,o=i===e?n:e,s=i===e?r:a,c=Pb(e)||Pb(n),l=c&&!Pb(i),u=new Array(s+(l?1:0)),d=0;d=Mb(i)&&d>=Mb(o),y=d>=r?void 0:Cb(e,d),h=d>=a?void 0:Cb(n,d),v=Ur(1|(g&&!_?16777216:0),(y===h?y:y?h?void 0:y:h)||"arg".concat(d));v.type=_?Fu(m):m,u[d]=v}if(l){var b=Ur(1,"args");b.type=Fu(kb(o,s)),o===n&&(b.type=Qp(b.type,t)),u[s]=b}return u}(n,t,r),s=function(e,n,t){if(!e||!n)return e||n;var r=id([Yo(e),Qp(Yo(n),t)]);return Jm(e,r)}(n.thisParameter,t.thisParameter,r),c=Math.max(n.minArgumentCount,t.minArgumentCount),l=zs(i,a,s,o,void 0,void 0,c,39&(n.flags|t.flags));l.compositeKind=2097152,l.compositeSignatures=e.concatenate(2097152===n.compositeKind&&n.compositeSignatures||[n],[t]),r&&(l.mapper=2097152===n.compositeKind&&n.mapper&&n.compositeSignatures?Gp(n.mapper,r):r);return l}(n,t):void 0:n})):void 0}function Wy(n,t){var r=el(n,0),a=e.filter(r,(function(n){return!function(n,t){for(var r=0;r0&&(s=dp(s,V(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1,v=!1),ih(R=Jc(KE(A.expression)))){var F=up(R,u);if(a&&uh(F,a,A),S=o.length,io(s))continue;s=dp(s,F,n.symbol,_,u)}else kr(A,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),s=Re;continue}e.Debug.assert(171===A.kind||172===A.kind),yx(A)}!k||8576&k.flags?i.set(N.escapedName,N):pf(k,cn)&&(pf(k,We)?h=!0:pf(k,Ze)?v=!0:y=!0,r&&(g=!0)),o.push(N)}if(l&&296!==n.parent.kind)for(var G=0,U=Ac(c);G0&&(s=dp(s,V(),n.symbol,_,u),o=[],i=e.createSymbolTable(),y=!1,h=!1),Ag(s,(function(e){return e===mn?V():e}))):V();function V(){var t=[];y&&t.push(th(n,S,o,He)),h&&t.push(th(n,S,o,We)),v&&t.push(th(n,S,o,Ze));var a=bi(n.symbol,i,e.emptyArray,e.emptyArray,t);return a.objectFlags|=262272|_,m&&(a.objectFlags|=8192),g&&(a.objectFlags|=512),r&&(a.pattern=n),a}}function ih(n){if(465829888&n.flags){var t=Mc(n);if(void 0!==t)return ih(t)}return!!(126615553&n.flags||117632&Om(n)&&ih(wm(n))||3145728&n.flags&&e.every(n.types,ih))}function oh(n){return e.stringContains(n,"-")}function sh(n){return 79===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function ch(e,n){return e.initializer?NE(e.initializer,n):Xe}function lh(e,n){for(var t=[],r=0,a=e.children;r0&&(s=dp(s,x(),a.symbol,u,!1),o=e.createSymbolTable()),ao(g=Jc(xE(m.expression,t)))&&(c=!0),ih(g)?(s=dp(s,g,a.symbol,u,!1),i&&uh(g,i,m)):r=r?fd([r,g]):g}c||o.size>0&&(s=dp(s,x(),a.symbol,u,!1));var h=277===n.parent.kind?n.parent:void 0;if(h&&h.openingElement===n&&h.children.length>0){var v=lh(h,t);if(!c&&d&&""!==d){l&&kr(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var b=Fy(n.attributes),E=b&&Ny(b,d),T=Ur(4,d);T.type=1===v.length?v[0]:E&&Sg(E,_m)?Hu(v):Fu(id(v)),T.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0),e.setParent(T.valueDeclaration,a),T.valueDeclaration.symbol=T;var S=e.createSymbolTable();S.set(d,T),s=dp(s,bi(a.symbol,S,e.emptyArray,e.emptyArray,e.emptyArray),a.symbol,u,!1)}}return c?Ie:r&&s!==_n?fd([r,s]):r||(s===_n?x():s);function x(){u|=B;var n=bi(a.symbol,o,e.emptyArray,e.emptyArray,e.emptyArray);return n.objectFlags|=262272|u,n}}(n.parent,t)}function ph(e,n){var t=_h(n),r=t&&Qa(t),a=r&&Zr(r,e,788968);return a?xs(a):Re}function fh(n){var t=Yr(n);if(!t.resolvedSymbol){var r=ph(H.IntrinsicElements,n);if(io(r))return M&&kr(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(H.IntrinsicElements)),t.resolvedSymbol=Le;if(!e.isIdentifier(n.tagName))return e.Debug.fail();var a=Zc(r,n.tagName.escapedText);return a?(t.jsxFlags|=1,t.resolvedSymbol=a):sl(r,He)?(t.jsxFlags|=2,t.resolvedSymbol=r.symbol):(kr(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(n.tagName),"JSX."+H.IntrinsicElements),t.resolvedSymbol=Le)}return t.resolvedSymbol}function mh(n){var t=n&&e.getSourceFileOfNode(n),r=t&&Yr(t);if(!r||!1!==r.jsxImplicitImportContainer){if(r&&r.jsxImplicitImportContainer)return r.jsxImplicitImportContainer;var a=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(x,t),x);if(a){var i=Ka(n,a,e.getEmitModuleResolutionKind(x)===e.ModuleResolutionKind.Classic?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,n),o=i&&i!==Le?ni(Ia(i)):void 0;return r&&(r.jsxImplicitImportContainer=o||!1),o}}}function _h(e){var n=e&&Yr(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){var t=mh(e);if(!t||t===Le){var r=Dr(e);t=na(e,r,1920,void 0,r,!1)}if(t){var a=Ia(Zr(Qa(Ia(t)),H.JSX,1920));if(a&&a!==Le)return n&&(n.jsxNamespace=a),a}n&&(n.jsxNamespace=!1)}var i=Ia(Su(H.JSX,1920,void 0));return i!==Le?i:void 0}function gh(n,t){var r=t&&Zr(t.exports,n,788968),a=r&&xs(r),i=a&&Ac(a);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&r.declarations&&kr(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function yh(e){return gh(H.ElementChildrenAttributeNameContainer,e)}function hh(n,t){if(4&n.flags)return[xt];if(128&n.flags){var r=vh(n,t);return r?[rb(t,r)]:(kr(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,"JSX."+H.IntrinsicElements),e.emptyArray)}var a=Kc(n),i=el(a,1);return 0===i.length&&(i=el(a,0)),0===i.length&&1048576&a.flags&&(i=$s(e.map(a.types,(function(e){return hh(e,t)})))),i}function vh(n,t){var r=ph(H.IntrinsicElements,t);if(!io(r)){var a=n.value,i=Zc(r,e.escapeLeadingUnderscores(a));if(i)return Yo(i);var o=sl(r,He);return o||void 0}return Ie}function bh(n){e.Debug.assert(sh(n.tagName));var t=Yr(n);if(!t.resolvedJsxElementAttributesType){var r=fh(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=Yo(r)||Re:2&t.jsxFlags?t.resolvedJsxElementAttributesType=sl(ph(H.IntrinsicElements,n),He)||Re:t.resolvedJsxElementAttributesType=Re}return t.resolvedJsxElementAttributesType}function Eh(e){var n=ph(H.ElementClass,e);if(!io(n))return n}function Th(e){return ph(H.Element,e)}function Sh(e){var n=Th(e);if(n)return id([n,Ke])}function xh(n){var t,r=e.isJsxOpeningLikeElement(n);if(r&&function(n){(function(n){if(e.isPropertyAccessExpression(n)){var t=n;do{var r=i(t.name);if(r)return r;t=t.expression}while(e.isPropertyAccessExpression(t));var a=i(t);if(a)return a}function i(n){if(e.isIdentifier(n)&&-1!==e.idText(n).indexOf(":"))return qL(n,e.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}})(n.tagName),CL(n,n.typeArguments);for(var t=new e.Map,r=0,a=n.attributes.properties;r=0)return d>=Mb(r)&&(Pb(r)||ds)return!1;if(o||i>=c)return!0;for(var p=i;p=a&&t.length<=r}function Dv(e){return Av(e,0,!1)}function Cv(e){return Av(e,0,!1)||Av(e,1,!1)}function Av(e,n,t){if(524288&e.flags){var r=xc(e);if(t||0===r.properties.length&&0===r.indexInfos.length){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function Iv(n,t,r,a){var i=s_(n.typeParameters,n,0,a),o=Fb(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper);return i_(s?Kp(t,s):t,n,(function(e,n){N_(i.inferences,e,n)})),r||o_(t,n,(function(e,n){N_(i.inferences,e,n,128)})),Rl(n,B_(i),e.isInJSFile(t.declaration))}function Nv(n){if(!n)return $e;var t=KE(n);return e.isOptionalChainRoot(n.parent)?Gm(t):e.isOptionalChain(n.parent)?Um(t):t}function kv(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return function(e,n,t,r){var a=Ky(n,e),i=SE(e.attributes,a,r,t);return N_(r.inferences,i,a),B_(r)}(n,t,a,i);if(164!==n.kind){var o=Uy(n,e.every(t.typeParameters,(function(e){return!!Uc(e)}))?8:0);if(o){var s=Vy(n),c=f_(function(n,t){return void 0===t&&(t=0),n&&c_(e.map(n.inferences,p_),n.signature,n.flags|t,n.compareTypes)}(s,1)),l=Qp(o,c),u=Dv(l),d=u&&u.typeParameters?Gl(Ol(u,u.typeParameters)):l,p=Al(t);N_(i.inferences,d,p,128);var f=s_(t.typeParameters,t,i.flags),m=Qp(o,s&&s.returnMapper);N_(f.inferences,m,p),i.returnMapper=e.some(f.inferences,ME)?f_(function(n){var t=e.filter(n.inferences,ME);return t.length?c_(e.map(t,p_),n.signature,n.flags,n.compareTypes):void 0}(f)):void 0}}var _=Gb(t),g=_?Math.min(wb(t)-1,r.length):r.length;if(_&&262144&_.flags){var y=e.find(i.inferences,(function(e){return e.typeParameter===_}));y&&(y.impliedArity=e.findIndex(r,bv,g)<0?r.length-g:void 0)}var h=Ll(t);if(h){var v=Fv(n);N_(i.inferences,Nv(v),h)}for(var b=0;b=r-1&&bv(d=n[r-1]))return Rv(231===d.kind?d.type:SE(d.expression,a,i,o));for(var s=[],c=[],l=[],u=t;ud&&(d=h)}}if(!u)return!0;for(var v=1/0,b=0,E=a;b0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=Ev(a);if(i>=0){for(var o=a.slice(0,i),s=function(n){var t=a[n],r=224===t.kind&&(Ut?KE(t.expression):xE(t.expression));r&&Dm(r)?e.forEach(eu(r),(function(e,n){var a,i=r.target.elementFlags[n],s=Gv(t,4&i?Fu(e):e,!!(12&i),null===(a=r.target.labeledElementDeclarations)||void 0===a?void 0:a[n]);o.push(s)})):o.push(t)},c=i;c-1)return e.createDiagnosticForNode(r[i],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var o,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY,d=0,p=t;dl&&(l=m),r.length<_&&_1&&(y=j(f,hr,v,E)),y||(y=j(f,br,v,E)),y)return y;if(p)if(m)if(1===m.length||m.length>3){var T,S=m[m.length-1];m.length>3&&(T=e.chainDiagnosticMessages(T,e.Diagnostics.The_last_overload_gave_the_following_error),T=e.chainDiagnosticMessages(T,e.Diagnostics.No_overload_matches_this_call));var x=Pv(n,h,S,br,0,!0,(function(){return T}));if(x)for(var L=0,D=x;L3&&e.addRelatedInfo(C,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),K(S,C),mr.add(C)}else e.Debug.fail("No error for last overload signature")}else{for(var A=[],I=0,N=Number.MAX_VALUE,k=0,R=0,O=function(t){var r=Pv(n,h,t,br,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,R+1,f.length,Fi(t))}));r?(r.length<=N&&(N=r.length,k=R),I=Math.max(I,r.length),A.push(r)):e.Debug.fail("No error for 3 or fewer overload signatures"),R++},w=0,M=m;w1?A[k]:e.flatten(A);e.Debug.assert(P.length>0,"No errors reported for 3 or fewer overload signatures");var F=e.chainDiagnosticMessages(e.map(P,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),G=Or([],e.flatMap(P,(function(e){return e.relatedInformation})),!0),B=void 0;if(e.every(P,(function(e){return e.start===P[0].start&&e.length===P[0].length&&e.file===P[0].file}))){var U=P[0];B={file:U.file,start:U.start,length:U.length,code:F.code,category:F.category,messageText:F,relatedInformation:G}}else B=e.createDiagnosticForNodeFromMessageChain(n,F,G);K(m[0],B),mr.add(B)}else if(_)mr.add(jv(n,[_],h));else if(g)wv(g,n.typeArguments,!0,s);else{var V=e.filter(r,(function(e){return Lv(e,c)}));0===V.length?mr.add(function(n,t,r){var a=r.length;if(1===t.length){var i=hl((d=t[0]).typeParameters),o=e.length(d.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,ia?c=Math.min(c,p):o0),yx(n),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?function(n,t,r){var a=function(e,n){for(var t=-1,r=-1,a=0;a=n)return a;o>r&&(r=o,t=a)}return t}(t,void 0===oe?r.length:oe),i=t[a],o=i.typeParameters;if(!o)return i;var s=yv(n)?n.typeArguments:void 0,c=s?wl(i,function(e,n,t){var r=e.map(Rx);for(;r.length>n.length;)r.pop();for(;r.length1?e.find(c,(function(n){return e.isFunctionLikeDeclaration(n)&&e.nodeIsPresent(n.body)})):void 0;if(l){var u=bl(l),d=!u.typeParameters;j([u],br,d)&&e.addRelatedInfo(t,e.createDiagnosticForNode(l,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}m=i,_=o,g=s}function j(t,r,a,i){if(void 0===i&&(i=!1),m=void 0,_=void 0,g=void 0,a){var o=t[0];if(e.some(c)||!xv(n,h,o,i))return;return Pv(n,h,o,r,0,!1,void 0)?void(m=[o]):o}for(var s=0;s=0&&kr(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=Oh(n.expression);if(i===nn)return Ct;if(io(i=Kc(i)))return vv(n);if(ao(i))return n.typeArguments&&kr(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),hv(n);var o=el(i,1);if(o.length){if(!function(n,t){if(!t||!t.declaration)return!0;var r=t.declaration,a=e.getSelectedEffectiveModifierFlags(r,24);if(!a||170!==r.kind)return!0;var i=e.getClassLikeDeclarationOfSymbol(r.parent.symbol),o=xs(r.parent.symbol);if(!Cx(n,i)){var s=e.getContainingClass(n);if(s&&16&a){var c=Rx(s);if(Qv(r.parent.symbol,c))return!0}return 8&a&&kr(n,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Gi(o)),16&a&&kr(n,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Gi(o)),!1}return!0}(n,o[0]))return vv(n);if(o.some((function(e){return 4&e.flags})))return kr(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),vv(n);var s=i.symbol&&e.getClassLikeDeclarationOfSymbol(i.symbol);return s&&e.hasSyntacticModifier(s,128)?(kr(n,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),vv(n)):Hv(n,o,t,r,0)}var c=el(i,0);if(c.length){var l=Hv(n,c,t,r,0);return M||(l.declaration&&!sb(l.declaration)&&Al(l)!==$e&&kr(n,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Ll(l)===$e&&kr(n,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),l}return $v(n.expression,i,1),vv(n)}function Qv(n,t){var r=ps(t);if(!e.length(r))return!1;var a=r[0];if(2097152&a.flags){for(var i=rc(a.types),o=0,s=0,c=a.types;s0;if(1048576&t.flags){for(var c=!1,l=0,u=t.types;l1)return qL(t[1],e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext)}if(0===t.length||t.length>2)return qL(n,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var r=e.find(t,e.isSpreadElement);if(r)return qL(r,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element)}(n),0===n.arguments.length)return zb(n,Ie);for(var t=n.arguments[0],r=xE(t),a=n.arguments.length>1?xE(n.arguments[1]):void 0,i=2;i=r-1)return t===r-1?i:Fu(jd(i,We));for(var o=[],s=[],c=[],l=t;l0&&(i=n.parameters.length-1+c)}}if(void 0===i){if(!r&&32&n.flags)return 0;i=n.minArgumentCount}if(a)return i;for(var l=i-1;l>=0;l--){if(131072&Lg(kb(n,l),Tv).flags)break;i=l}n.resolvedMinArgumentCount=i}return n.resolvedMinArgumentCount}function Pb(e){if(ne(e)){var n=Yo(e.parameters[e.parameters.length-1]);return!Dm(n)||n.target.hasRestElement}return!1}function Fb(e){if(ne(e)){var n=Yo(e.parameters[e.parameters.length-1]);if(!Dm(n))return n;if(n.target.hasRestElement)return qu(n,n.target.fixedLength)}}function Gb(e){var n=Fb(e);return!n||sm(n)||ao(n)||131072&Jc(n).flags?void 0:n}function Bb(e){return Ub(e,en)}function Ub(e,n){return e.parameters.length>0?kb(e,0):n}function Vb(n,t){if(t.typeParameters){if(n.typeParameters)return;n.typeParameters=t.typeParameters}t.thisParameter&&((!(i=n.thisParameter)||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(n.thisParameter=Jm(t.thisParameter,void 0)),Kb(n.thisParameter,Yo(t.thisParameter))));for(var r=n.parameters.length-(ne(n)?1:0),a=0;a0&&(r=id(u,2)):l=en;var d=function(n,t){var r=[],a=[],i=!!(2&e.getFunctionFlags(n));return e.forEachYieldExpression(n.body,(function(n){var o,s=n.expression?KE(n.expression,t):Be;if(e.pushIfUnique(r,Xb(n,s,Ie,i)),n.asteriskToken){var c=mS(s,i?19:17,n.expression);o=c&&c.nextType}else o=Uy(n);o&&e.pushIfUnique(a,o)})),{yieldTypes:r,nextTypes:a}}(n,t),p=d.yieldTypes,f=d.nextTypes;a=e.some(p)?id(p,2):void 0,i=e.some(f)?fd(f):void 0}else{var m=$b(n,t);if(!m)return 2&o?zb(n,en):en;if(0===m.length)return 2&o?zb(n,$e):$e;r=id(m,2)}if(r||a||i){if(a&&a_(n,a,3),r&&a_(n,r,1),i&&a_(n,i,2),r&&hm(r)||a&&hm(a)||i&&hm(i)){var _=zy(n),g=_?_===bl(n)?c?void 0:r:Gy(Al(_),n):void 0;c?(a=Lm(a,g,0,s),r=Lm(r,g,1,s),i=Lm(i,g,2,s)):r=function(e,n,t){return e&&hm(e)&&(e=xm(e,n?t?dT(n):n:void 0)),e}(r,g,s)}a&&(a=e_(a)),r&&(r=e_(r)),i&&(i=e_(i))}return c?qb(a||en,r||l,i||Sy(2,n)||Pe,s):s?Hb(r||l):r||l}function qb(e,n,t,r){var a=r?wt:Mt,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||Pe,n=a.resolveIterationType(n,void 0)||Pe,t=a.resolveIterationType(t,void 0)||Pe,i===hn){var o=a.getGlobalIterableIteratorType(!1),s=o!==hn?hS(o,a):void 0,c=s?s.returnType:Ie,l=s?s.nextType:Ge;return pf(n,c)&&pf(l,t)?o!==hn?Mu(o,[e]):(a.getGlobalIterableIteratorType(!0),mn):(a.getGlobalGeneratorType(!0),mn)}return Mu(i,[e,n,t])}function Xb(n,t,r,a){var i=n.expression||n,o=n.asteriskToken?sS(a?19:17,t,r,i):t;return a?gT(o,i,n.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):o}function Yb(e,n,t,r){var a=0;if(r){for(var i=n;i1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!PE(e,i))return i}}function GE(e){var n=Dv(e);if(n&&!n.typeParameters)return Al(n)}function BE(n){var t=UE(n);if(t)return t;if(67108864&n.flags&&ht){var r=ht[X(n)];if(r)return r}var a=jt,i=KE(n);jt!==a&&((ht||(ht=[]))[X(n)]=i,e.setNodeFlags(n,67108864|n.flags));return i}function UE(n){var t=e.skipParentheses(n,!0);if(e.isJSDocTypeAssertion(t)){var r=e.getJSDocTypeAssertionType(t);if(!e.isConstTypeReference(r))return Dp(r)}if(t=e.skipParentheses(n),!e.isCallExpression(t)||106===t.expression.kind||e.isRequireCall(t,!0)||pb(t)){if(e.isAssertionExpression(t)&&!e.isConstTypeReference(t.type))return Dp(t.type);if(8===n.kind||10===n.kind||110===n.kind||95===n.kind)return KE(n)}else{if(r=e.isCallChain(t)?function(e){var n=KE(e.expression),t=Km(n,e.expression),r=GE(n);return r&&Vm(r,e,t!==n)}(t):GE(Oh(t.expression)))return r}}function VE(e){var n=Yr(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=Ie;try{return n.contextFreeType=KE(e,4)}finally{e.contextualType=t}}function KE(n,a,i){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkExpression",{kind:n.kind,pos:n.pos,end:n.end});var s=o;o=n,v=0;var c=function(n,a,i){var o=n.kind;if(r)switch(o){case 225:case 212:case 213:r.throwIfCancellationRequested()}switch(o){case 79:return sy(n,a);case 80:return Wh(n);case 108:return fy(n);case 106:return gy(n);case 104:return je;case 14:case 10:return _p(hp(n.text));case 8:return QL(n),_p(vp(+n.text));case 9:return function(n){var t=e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent);if(!t&&L<7&&qL(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(n),_p(bp({negative:!1,base10Value:e.parsePseudoBigInt(n.text)}));case 110:return Xe;case 95:return Je;case 222:return EE(n);case 13:return Gn;case 203:return Xy(n,a,i);case 204:return ah(n,a);case 205:return Vh(n,a);case 160:return Kh(n,a);case 206:return _v(n,a);case 207:if(100===n.expression.kind)return fb(n);case 208:return function(n,t){var r;CL(n,n.typeArguments)||AL(n.arguments);var a=ob(n,void 0,t);if(a===Dt)return tn;if(ub(a,n),106===n.expression.kind)return $e;if(208===n.kind){var i=a.declaration;if(i&&170!==i.kind&&174!==i.kind&&179!==i.kind&&!e.isJSDocConstructSignature(i)&&!sb(i))return M&&kr(n,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Ie}if(e.isInJSFile(n)&&yb(n))return xl(n.arguments[0]);var o=Al(a);if(12288&o.flags&&pb(n))return Tp(e.walkUpParenthesizedExpressions(n.parent));if(207===n.kind&&!n.questionDotToken&&237===n.parent.kind&&16384&o.flags&&Dl(a))if(e.isDottedName(n.expression)){if(!Hg(n)){var s=kr(n.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);jg(n.expression,s)}}else kr(n.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(e.isInJSFile(n)){var c=lb(n,!1);if(null===(r=null==c?void 0:c.exports)||void 0===r?void 0:r.size){var l=bi(c,c.exports,e.emptyArray,e.emptyArray,e.emptyArray);return l.objectFlags|=8192,fd([o,l])}}return o}(n,a);case 209:return hb(n);case 211:return function(n,t){if(e.hasJSDocNodes(n)&&e.isJSDocTypeAssertion(n)){var r=e.getJSDocTypeAssertionType(n);return bb(r,r,n.expression,t)}return KE(n.expression,t)}(n,a);case 225:return function(e){return jS(e),yx(e),Yo(ti(e))}(n);case 212:case 213:return nE(n,a);case 215:return function(e){return KE(e.expression),yr}(n);case 210:case 228:return function(n){if(210===n.kind){var t=e.getSourceFileOfNode(n);t&&e.fileExtensionIsOneOf(t.fileName,[".cts",".mts"])&&qL(n,e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return bb(n,n.type,n.expression)}(n);case 229:return Eb(n);case 230:return Tb(n);case 214:return sE(n);case 216:return function(e){return KE(e.expression),Be}(n);case 217:return function(n){if(t){var r=e.getContainingFunctionOrClassStaticBlock(n);if(r&&e.isClassStaticBlockDeclaration(r))kr(n,e.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(32768&n.flags)){var a;if(e.isInTopLevelContext(n)){if(!WL(a=e.getSourceFileOfNode(n))){var i=void 0;if(!e.isEffectiveExternalModule(a,x)){i||(i=e.getSpanOfTokenAtPosition(a,n.pos));var o=e.createFileDiagnostic(a,i.start,i.length,e.Diagnostics.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);mr.add(o)}(D!==e.ModuleKind.ES2022&&D!==e.ModuleKind.ESNext&&D!==e.ModuleKind.System&&(D!==e.ModuleKind.NodeNext||e.getSourceFileOfNode(n).impliedNodeFormat!==e.ModuleKind.ESNext)||L<4)&&(i=e.getSpanOfTokenAtPosition(a,n.pos),o=e.createFileDiagnostic(a,i.start,i.length,e.Diagnostics.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),mr.add(o))}}else if(!WL(a=e.getSourceFileOfNode(n))){if(i=e.getSpanOfTokenAtPosition(a,n.pos),o=e.createFileDiagnostic(a,i.start,i.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),r&&170!==r.kind&&!(2&e.getFunctionFlags(r))){var s=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(o,s)}mr.add(o)}}Ty(n)&&kr(n,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var c=KE(n.expression),l=pT(c,!0,n,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return l!==c||io(l)||3&c.flags||Rr(!1,e.createDiagnosticForNode(n,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),l}(n);case 218:return function(n){var t=KE(n.operand);if(t===nn)return nn;switch(n.operand.kind){case 8:switch(n.operator){case 40:return _p(vp(-n.operand.text));case 39:return _p(vp(+n.operand.text))}break;case 9:if(40===n.operator)return _p(bp({negative:!0,base10Value:e.parsePseudoBigInt(n.operand.text)}))}switch(n.operator){case 39:case 40:case 54:return Bh(t,n.operand),lE(t,12288)&&kr(n.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(n.operator)),39===n.operator?(lE(t,2112)&&kr(n.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(n.operator),Gi(Em(t))),We):cE(t);case 53:rS(n.operand);var r=12582912&ag(t);return 4194304===r?Je:8388608===r?Xe:Qe;case 45:case 46:return tE(n.operand,Bh(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&oE(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),cE(t)}return Re}(n);case 219:return function(n){var t=KE(n.operand);return t===nn?nn:(tE(n.operand,Bh(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&oE(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),cE(t))}(n);case 220:return V(n,a);case 221:return function(e,n){var t=rS(e.condition);return nS(e.condition,t,e.whenTrue),id([KE(e.whenTrue,n),KE(e.whenFalse,n)],2)}(n,a);case 224:return function(e,n){return L<2&&vL(e,x.downlevelIteration?1536:1024),sS(33,KE(e.expression,n),Ge,e.expression)}(n,a);case 226:return Be;case 223:return function(n){t&&(8192&n.flags||zL(n,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),Ty(n)&&kr(n,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var r=e.getContainingFunction(n);if(!r)return Ie;var a=e.getFunctionFlags(r);if(!(1&a))return Ie;var i=!!(2&a);n.asteriskToken&&(i&&L<99&&vL(n,26624),!i&&L<2&&x.downlevelIteration&&vL(n,256));var o=Il(r),s=o&&kS(o,i),c=s&&s.yieldType||Ie,l=s&&s.nextType||Ie,u=i?gT(l)||Ie:l,d=n.expression?KE(n.expression):Be,p=Xb(n,d,u,i);if(o&&p&&yf(p,c,n.expression||n,n.expression),n.asteriskToken)return lS(i?19:17,1,d,n.expression)||Ie;if(o)return NS(2,o,i)||Ie;var f=Sy(2,r);if(!f&&(f=Ie,t&&M&&!e.expressionResultIsUnused(n))){var m=Uy(n);m&&!ao(m)||kr(n,e.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}return f}(n);case 231:return function(e){return e.isSpread?jd(e.type,We):e.type}(n);case 287:return Ch(n,a);case 277:case 278:return function(e){return yx(e),Th(e)||Ie}(n);case 281:return function(n){xh(n.openingFragment);var t=e.getSourceFileOfNode(n);return!e.getJSXTransformEnabled(x)||!x.jsxFactory&&!t.pragmas.has("jsx")||x.jsxFragmentFactory||t.pragmas.has("jsxfrag")||kr(n,x.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),lh(n),Th(n)||Ie}(n);case 285:return dh(n,a);case 279:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Re}(n,a,i),l=OE(n,c,a);return pE(l)&&function(n,t){var r=205===n.parent.kind&&n.parent.expression===n||206===n.parent.kind&&n.parent.expression===n||(79===n.kind||160===n.kind)&&Ax(n)||180===n.parent.kind&&n.parent.exprName===n||274===n.parent.kind;r||kr(n,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);if(x.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags)),8388608&t.symbol.valueDeclaration.flags&&kr(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(n,l),o=s,null===e.tracing||void 0===e.tracing||e.tracing.pop(),l}function jE(n){n.expression&&zL(n.expression,e.Diagnostics.Type_expected),_x(n.constraint),_x(n.default);var r=Ss(ti(n));Mc(r),function(e){return Bc(e)!==En}(r)||kr(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Gi(r));var a=Nc(r),i=Uc(r);a&&i&&gf(i,Hs(Qp(a,wp(r,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),t&&BS(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function HE(n){EL(n),XT(n);var t=e.getContainingFunction(n);e.hasSyntacticModifier(n,16476)&&(170===t.kind&&e.nodeIsPresent(t.body)||kr(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),170===t.kind&&e.isIdentifier(n.name)&&"constructor"===n.name.escapedText&&kr(n.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&kr(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&kr(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),170!==t.kind&&174!==t.kind&&179!==t.kind||kr(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),213===t.kind&&kr(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),171!==t.kind&&172!==t.kind||kr(n,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),!n.dotDotDotToken||e.isBindingPattern(n.name)||pf(Jc(Yo(n.symbol)),Kn)||kr(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function WE(n,t,r){for(var a=0,i=n.elements;a=2||!e.hasRestParameter(n)||8388608&n.flags||e.nodeIsMissing(n.body))return;e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===se.escapedName&&Ir("noEmit",n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(n);var a=e.getEffectiveReturnTypeNode(n);if(M&&!a)switch(n.kind){case 174:kr(n,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 173:kr(n,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(a){var i=e.getFunctionFlags(n);if(1==(5&i)){var o=Dp(a);if(o===$e)kr(a,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=NS(0,o,!!(2&i))||Ie;gf(qb(s,NS(1,o,!!(2&i))||s,NS(2,o,!!(2&i))||Pe,!!(2&i)),o,a)}}else 2==(3&i)&&function(n,t){var r=Dp(t);if(L>=2){if(io(r))return;var a=Iu(!0);if(a!==hn&&!Zo(r,a))return void kr(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,Gi(yT(r)||$e))}else{if(function(n){vT(n&&e.getEntityNameFromTypeNode(n))}(t),io(r))return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void kr(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,Gi(r));var o=Ga(i,111551,!0),s=o?Yo(o):Re;if(io(s))return void(79===i.kind&&"Promise"===i.escapedText&&$o(r)===Iu(!1)?kr(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):kr(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(i)));var c=(d=!0,Qn||(Qn=xu("PromiseConstructorLike",0,d))||mn);if(c===mn)return void kr(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(i));if(!gf(s,c,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 l=i&&e.getFirstIdentifier(i),u=Zr(n.locals,l.escapedText,111551);if(u)return void kr(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(i))}var d;pT(r,!1,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n,a)}175!==n.kind&&315!==n.kind&&CT(n)}}function JE(n){for(var t=new e.Map,r=0,a=n.members;r0&&t.declarations[0]!==n)return}var r=Bl(ti(n));if(null==r?void 0:r.declarations){for(var a=new e.Map,i=function(e){1===e.parameters.length&&e.parameters[0].type&&Tg(Dp(e.parameters[0].type),(function(n){var t=a.get(Zu(n));t?t.declarations.push(e):a.set(Zu(n),{type:n,declarations:[e]})}))},o=0,s=r.declarations;o1)for(var t=0,r=n.declarations;t0}function mT(e){var n;if(16777216&e.flags){var t=wu(!1);return!!t&&e.aliasSymbol===t&&1===(null===(n=e.aliasTypeArguments)||void 0===n?void 0:n.length)}return!1}function _T(e){return 1048576&e.flags?Ag(e,_T):mT(e)?e.aliasTypeArguments[0]:e}function gT(n,t,r,a){var i=yT(n,t,r,a);return i&&function(n){if(ao(n))return n;if(mT(n))return n;if(Md(n)){var t=Mc(n);if(!t||3&t.flags||Nf(t)||fT(t)){var r=wu(!0);if(r)return ru(r,[_T(n)])}}return e.Debug.assert(void 0===dT(n),"type provided should not be a non-generic 'promise'-like."),n}(i)}function yT(n,t,r,a){if(ao(n))return n;if(mT(n))return n;var i=n;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;if(1048576&n.flags){var o=t?function(e){return yT(e,t,r,a)}:yT;return i.awaitedTypeOfType=Ag(n,o)}var s=dT(n);if(s){if(n.id===s.id||fr.lastIndexOf(s.id)>=0)return void(t&&kr(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));fr.push(n.id);var c=yT(s,t,r,a);if(fr.pop(),!c)return;return i.awaitedTypeOfType=c}if(!fT(n))return i.awaitedTypeOfType=n;t&&(e.Debug.assertIsDefined(r),kr(t,r,a))}function hT(n){var t=ob(n);ub(t,n);var r=Al(t);if(!(1&r.flags)){var a,i,o=nb(n);switch(n.parent.kind){case 256:a=id([Yo(ti(n.parent)),$e]);break;case 163:a=$e,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 166:a=$e,i=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:a=id([Pu(Rx(n.parent)),$e]);break;default:return e.Debug.fail()}gf(r,a,n,o,(function(){return i}))}}function vT(n){if(n){var t=e.getFirstIdentifier(n),r=2097152|(79===n.kind?788968:1920),a=na(t,t.escapedText,r,void 0,void 0,!0);a&&2097152&a.flags&&li(a)&&!Xx(Na(a))&&!Oa(a)&&Ma(a)}}function bT(n){var t=ET(n);t&&e.isEntityName(t)&&vT(t)}function ET(e){if(e)switch(e.kind){case 187:case 186:return TT(e.types);case 188:return TT([e.trueType,e.falseType]);case 190:case 196:return ET(e.type);case 177:return e.typeName}}function TT(n){for(var t,r=0,a=n;r=e.ModuleKind.ES2015)||D>=e.ModuleKind.Node12&&e.getSourceFileOfNode(n).impliedNodeFormat===e.ModuleKind.CommonJS)&&t&&(KT(n,t,"require")||KT(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=to(n);303===r.kind&&e.isExternalOrCommonJsModule(r)&&Ir("noEmit",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}(n,t),function(n,t){if(t&&!(L>=4)&&KT(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=to(n);303===r.kind&&e.isExternalOrCommonJsModule(r)&&2048&r.flags&&Ir("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))}}(n,t),function(e,n){L<=8&&(KT(e,n,"WeakMap")||KT(e,n,"WeakSet"))&&dr.push(e)}(n,t),function(e,n){n&&L>=2&&L<=8&&KT(e,n,"Reflect")&&pr.push(e)}(n,t),e.isClassLike(n)?(BS(t,e.Diagnostics.Class_name_cannot_be_0),8388608&n.flags||function(n){L>=1&&"Object"===n.escapedText&&(D1&&e.some(p.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!QT(t,n)}))&&kr(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var _=qT(Oo(n));io(f)||io(_)||sf(f,_)||67108864&p.flags||YT(p.valueDeclaration,f,n,_),n.initializer&&yf(xE(n.initializer),_,n,n.initializer,void 0),p.valueDeclaration&&!QT(n,p.valueDeclaration)&&kr(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}166!==n.kind&&165!==n.kind&&(lT(n),253!==n.kind&&202!==n.kind||function(n){if(!(3&e.getCombinedNodeFlags(n)||e.isParameterDeclaration(n))&&(253!==n.kind||n.initializer)){var t=ti(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=na(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&Ah(r)){var a=e.getAncestor(r.valueDeclaration,254),i=236===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!i||!(234===i.kind&&e.isFunctionLike(i.parent)||261===i.kind||260===i.kind||303===i.kind)){var o=Pi(r);kr(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(n),JT(n,n.name))}}}}function YT(n,t,r,a){var i=e.getNameOfDeclaration(r),o=166===r.kind||165===r.kind?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,s=e.declarationNameToString(i),c=kr(i,o,s,Gi(t),Gi(a));n&&e.addRelatedInfo(c,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function QT(n,t){if(163===n.kind&&253===t.kind||253===n.kind&&163===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;return e.getSelectedEffectiveModifierFlags(n,504)===e.getSelectedEffectiveModifierFlags(t,504)}function ZT(n){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkVariableDeclaration",{kind:n.kind,pos:n.pos,end:n.end}),function(n){if(242!==n.parent.parent.kind&&243!==n.parent.parent.kind)if(8388608&n.flags)UL(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return qL(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return qL(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(236!==n.parent.parent.kind||!n.type||n.initializer||8388608&n.flags)){var t=n.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n.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 qL(n.exclamationToken,t)}!(D=1&&ZT(n.declarations[0])}function oS(e){return sS(e.awaitModifier?15:13,Oh(e.expression),Ge,e.expression)}function sS(e,n,t,r){return ao(n)?n:cS(e,n,t,r,!0)||Ie}function cS(n,t,r,a,i){var o=!!(2&n);if(t!==en){var s=L>=2,c=!s&&x.downlevelIteration,l=x.noUncheckedIndexedAccess&&!!(128&n);if(s||c||o){var u=mS(t,n,s?a:void 0);if(i&&u){var d=8&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&n?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;d&&gf(r,u.nextType,a,d)}if(u||s)return l?lg(u&&u.yieldType):u&&u.yieldType}var p=t,f=!1,m=!1;if(4&n){if(1048576&p.flags){var _=t.types,g=e.filter(_,(function(e){return!(402653316&e.flags)}));g!==_&&(p=id(g,2))}else 402653316&p.flags&&(p=en);if((m=p!==t)&&(L<1&&a&&(kr(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),f=!0),131072&p.flags))return l?lg(He):He}if(!dm(p)){if(a&&!f){var y=function(r,a){var i;if(a)return r?[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];if(lS(n,0,t,void 0))return[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1];if(function(e){switch(e){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}(null===(i=t.symbol)||void 0===i?void 0:i.escapedName))return[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0];return r?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[e.Diagnostics.Type_0_is_not_an_array_type,!0]}(!!(4&n)&&!m,c),h=y[0];Fr(a,y[1]&&!!uT(p),h,Gi(p))}return m?l?lg(He):He:void 0}var v=sl(p,We);return m&&v?402653316&v.flags&&!x.noUncheckedIndexedAccess?He:id(l?[v,He,Ge]:[v,He],2):128&n?lg(v):v}ES(a,t,o)}function lS(e,n,t,r){if(!ao(t)){var a=mS(t,e,r);return a&&a[ee(n)]}}function uS(e,n,t){if(void 0===e&&(e=en),void 0===n&&(n=en),void 0===t&&(t=Pe),67359327&e.flags&&180227&n.flags&&180227&t.flags){var r=ql([e,n,t]),a=It.get(r);return a||(a={yieldType:e,returnType:n,nextType:t},It.set(r,a)),a}return{yieldType:e,returnType:n,nextType:t}}function dS(n){for(var t,r,a,i=0,o=n;i1)for(var f=0,m=a;fr)return!1;for(var u=0;u1)return zL(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(117===o.token),r)return zL(o,e.Diagnostics.implements_clause_already_seen);r=!0}IL(o)}})(n)||xL(n.typeParameters,t)}(n),xT(n),JT(n,n.name),US(e.getEffectiveTypeParameterDeclarations(n)),lT(n);var r=ti(n),a=xs(r),i=Hs(a),o=Yo(r);KS(r),cT(r),function(n){for(var t=new e.Map,r=new e.Map,a=new e.Map,i=0,o=n.members;i>i;case 49:return a>>>i;case 47:return a<1&&Q(n,e.shouldPreserveConstEnums(x))){var s=function(n){var t=n.declarations;if(t)for(var r=0,a=t;r1&&!mx(r))for(var o=0,s=r;o1&&n.every((function(n){return e.isInJSFile(n)&&e.isAccessExpression(n)&&(e.isExportsIdentifier(n.expression)||e.isModuleExportsAccessExpression(n.expression))}))}function _x(n){if(n){var a=o;o=n,v=0,function(n){e.isInJSFile(n)&&e.forEach(n.jsDoc,(function(n){var t=n.tags;return e.forEach(t,_x)}));var a=n.kind;if(r)switch(a){case 260:case 256:case 257:case 255:r.throwIfCancellationRequested()}a>=236&&a<=252&&n.flowNode&&!zg(n.flowNode)&&Mr(!1===x.allowUnreachableCode,n,e.Diagnostics.Unreachable_code_detected);switch(a){case 162:return jE(n);case 163:return HE(n);case 166:return XE(n);case 165:return function(n){return e.isPrivateIdentifier(n.name)&&kr(n,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),XE(n)}(n);case 179:case 178:case 173:case 174:case 175:return zE(n);case 168:case 167:return function(n){GL(n)||kL(n.name),DT(n),e.hasSyntacticModifier(n,128)&&168===n.kind&&n.body&&kr(n,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(n.name)),e.isPrivateIdentifier(n.name)&&!e.getContainingClass(n)&&kr(n,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),YE(n)}(n);case 169:return function(n){EL(n),e.forEachChild(n,_x)}(n);case 170:return QE(n);case 171:case 172:return ZE(n);case 177:return tT(n);case 176:return function(n){var t=function(e){switch(e.parent.kind){case 213:case 173:case 255:case 212:case 178:case 168:case 167:var n=e.parent;if(e===n.type)return n}}(n);if(t){var r=bl(t),a=Dl(r);if(a){_x(n.type);var i=n.parameterName;if(0===a.kind||2===a.kind)Sp(i);else if(a.parameterIndex>=0)ne(r)&&a.parameterIndex===r.parameters.length-1?kr(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter):a.type&&gf(a.type,Yo(r.parameters[a.parameterIndex]),n.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}));else if(i){for(var o=!1,s=0,c=t.parameters;s0),r.length>1&&kr(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=LT(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=LT(i.expression);o&&a.escapedText!==o.escapedText&&kr(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else kr(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 327:return function(n){var t=e.getEffectiveJSDocHost(n);t&&(e.isClassDeclaration(t)||e.isClassExpression(t))||kr(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 343:case 336:case 337:return function(n){n.typeExpression||kr(n.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&BS(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),_x(n.typeExpression),US(e.getEffectiveTypeParameterDeclarations(n))}(n);case 342:return function(e){_x(e.constraint);for(var n=0,t=e.typeParameters;n-1&&r1){var a=e.isEnumConst(n);e.forEach(r.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==a&&kr(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var i=!1;e.forEach(r.declarations,(function(n){if(259!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(i?kr(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)}))}}}(n);case 260:return nx(n);case 265:return sx(n);case 264:return function(n){if(!lx(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(EL(n),e.isInternalModuleImportEqualsDeclaration(n)||rx(n)))if(ix(n),e.hasSyntacticModifier(n,1)&&wa(n),276!==n.moduleReference.kind){var t=Na(ti(n));if(t!==Le){if(111551&t.flags){var r=e.getFirstIdentifier(n.moduleReference);1920&Ga(r,112575).flags||kr(r,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(r))}788968&t.flags&&BS(n.name,e.Diagnostics.Import_name_cannot_be_0)}n.isTypeOnly&&qL(n,e.Diagnostics.An_import_alias_cannot_use_import_type)}else!(D>=e.ModuleKind.ES2015&&void 0===e.getSourceFileOfNode(n).impliedNodeFormat)||n.isTypeOnly||8388608&n.flags||qL(n,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)}(n);case 271:return cx(n);case 270:return function(n){if(!lx(n,n.isExportEquals?e.Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:e.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration)){var t=303===n.parent.kind?n.parent:n.parent.parent;if(260!==t.kind||e.isAmbientModule(t)){!EL(n)&&e.hasEffectiveModifiers(n)&&zL(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers);var r=e.getEffectiveTypeAnnotationNode(n);if(r&&gf(xE(n.expression),Dp(r),n.expression),79===n.expression.kind){var a=n.expression,i=Ga(a,67108863,!0,!0,n);if(i){oy(i,a);var o=2097152&i.flags?Na(i):i;(o===Le||111551&o.flags)&&xE(n.expression)}else xE(n.expression);e.getEmitDeclarations(x)&&Qi(n.expression,!0)}else xE(n.expression);fx(t),8388608&n.flags&&!e.isEntityNameExpression(n.expression)&&qL(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||8388608&n.flags||(D>=e.ModuleKind.ES2015&&e.getSourceFileOfNode(n).impliedNodeFormat!==e.ModuleKind.CommonJS?qL(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):D===e.ModuleKind.System&&qL(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else n.isExportEquals?kr(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):kr(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(n);case 235:case 252:return void YL(n);case 275:(function(e){xT(e)})(n)}}(n),o=a}}function gx(n){e.isInJSFile(n)||qL(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function yx(n){var t=Yr(e.getSourceFileOfNode(n));if(!(1&t.flags)){t.deferredNodes=t.deferredNodes||new e.Map;var r=X(n);t.deferredNodes.set(r,n)}}function hx(n){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkDeferredNode",{kind:n.kind,pos:n.pos,end:n.end});var t=o;switch(o=n,v=0,n.kind){case 207:case 208:case 209:case 164:case 279:hv(n);break;case 212:case 213:case 168:case 167:!function(n){e.Debug.assert(168!==n.kind||e.isObjectLiteralMethod(n));var t=e.getFunctionFlags(n),r=Il(n);if(eE(n,r),n.body)if(e.getEffectiveReturnTypeNode(n)||Al(bl(n)),234===n.body.kind)_x(n.body);else{var a=KE(n.body),i=r&&OS(r,t);i&&yf(2==(3&t)?pT(a,!1,n.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a,i,n.body,n.body)}}(n);break;case 171:case 172:ZE(n);break;case 225:!function(n){e.forEach(n.members,_x),CT(n)}(n);break;case 278:!function(e){xh(e)}(n);break;case 277:!function(e){xh(e.openingElement),sh(e.closingElement.tagName)?fh(e.closingElement):KE(e.closingElement.tagName),lh(e)}(n)}o=t,null===e.tracing||void 0===e.tracing||e.tracing.pop()}function vx(t){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkSourceFile",{path:t.path},!0),e.performance.mark("beforeCheck"),function(t){var r=Yr(t);if(!(1&r.flags)){if(e.skipTypeChecking(t,x,n))return;!function(n){!!(8388608&n.flags)&&function(n){for(var t=0,r=n.statements;t0?e.concatenate(o,i):i}return e.forEach(n.getSourceFiles(),vx),mr.getDiagnostics()}(t)}finally{r=void 0}}function Sx(){if(!t)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function xx(e){switch(e.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return!0;case 266:return e.isTypeOnly;case 269:case 274:return e.parent.parent.isTypeOnly;default:return!1}}function Lx(e){for(;160===e.parent.kind;)e=e.parent;return 177===e.parent.kind}function Dx(n,t){for(var r;(n=e.getContainingClass(n))&&!(r=t(n)););return r}function Cx(e,n){return!!Dx(e,(function(e){return e===n}))}function Ax(e){return void 0!==function(e){for(;160===e.parent.kind;)e=e.parent;return 264===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:270===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function Ix(n){if(e.isDeclarationName(n))return ti(n.parent);if(e.isInJSFile(n)&&205===n.parent.kind&&n.parent===n.parent.parent.left&&!e.isPrivateIdentifier(n)&&!e.isJSDocMemberName(n)){var t=function(n){switch(e.getAssignmentDeclarationKind(n.parent.parent)){case 1:case 3:return ti(n.parent);case 4:case 2:case 5:return ti(n.parent.parent)}}(n);if(t)return t}if(270===n.parent.kind&&e.isEntityNameExpression(n)){var r=Ga(n,2998271,!0);if(r&&r!==Le)return r}else if(e.isEntityName(n)&&Ax(n)){var a=e.getAncestor(n,264);return e.Debug.assert(void 0!==a),Pa(n,!0)}if(e.isEntityName(n)){var i=function(n){for(var t=n.parent;e.isQualifiedName(t);)n=t,t=t.parent;if(t&&199===t.kind&&t.qualifier===n)return t}(n);if(i){Dp(i);var o=Yr(n).resolvedSymbol;return o===Le?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(n);)n=n.parent;if(function(e){for(;205===e.parent.kind;)e=e.parent;return 227===e.parent.kind}(n)){var s=0;227===n.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(n)?Ga(n,s):void 0;if(c)return c}if(338===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(162===n.parent.kind&&342===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var l=e.getTypeParameterFromJsDoc(n.parent);return l&&l.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;var u=e.findAncestor(n,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName));s=u?901119:111551;if(79===n.kind){if(e.isJSXTagName(n)&&sh(n))return(m=fh(n.parent))===Le?void 0:m;var d=Ga(n,s,!1,!u,e.getHostSignatureFromJSDoc(n));if(!d&&u){var p=e.findAncestor(n,e.or(e.isClassLike,e.isInterfaceDeclaration));if(p)return Nx(n,ti(p))}return d}if(e.isPrivateIdentifier(n))return zh(n);if(205===n.kind||160===n.kind){var f=Yr(n);return f.resolvedSymbol?f.resolvedSymbol:(205===n.kind?Vh(n,0):Kh(n,0),!f.resolvedSymbol&&u&&e.isQualifiedName(n)?Nx(n):f.resolvedSymbol)}if(e.isJSDocMemberName(n))return Nx(n)}else if(Lx(n)){var m;return(m=Ga(n,s=177===n.parent.kind?788968:1920,!1,!0))&&m!==Le?m:ou(n)}return 176===n.parent.kind?Ga(n,1):void 0}function Nx(n,t){if(e.isEntityName(n)){var r=901119,a=Ga(n,r,!1,!0,e.getHostSignatureFromJSDoc(n));if(!a&&e.isIdentifier(n)&&t&&(a=ni(Zr(Qa(t),n.escapedText,r))),a)return a}var i=e.isIdentifier(n)?t:Nx(n.left),o=e.isIdentifier(n)?n.escapedText:n.right.escapedText;if(i){var s=111551&i.flags&&Zc(Yo(i),"prototype");return Zc(s?Yo(s):xs(i),o)}}function kx(n,t){if(303===n.kind)return e.isExternalModule(n)?ni(n.symbol):void 0;var r=n.parent,a=r.parent;if(!(16777216&n.flags)){if($(n)){var i=ti(r);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?rh(i):i}if(e.isLiteralComputedPropertyDeclarationName(n))return ti(r.parent);if(79===n.kind){if(Ax(n))return Ix(n);if(202===r.kind&&200===a.kind&&n===r.propertyName){if(o=Zc(Rx(a),n.escapedText))return o}else if(e.isMetaProperty(r)){var o;if(o=Zc(Rx(r),n.escapedText))return o;if(103===r.keywordToken)return xb(r).symbol}}switch(n.kind){case 79:case 80:case 205:case 160:return Ix(n);case 108:var s=e.getThisContainer(n,!1);if(e.isFunctionLike(s)){var c=bl(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(n))return KE(n).symbol;case 191:return Sp(n).symbol;case 106:return KE(n).symbol;case 134:var l=n.parent;return l&&170===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(265===n.parent.kind||271===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return Ua(n,n,t);if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r)&&r.arguments[1]===n)return ti(r);case 8:var u=e.isElementAccessExpression(r)?r.argumentExpression===n?BE(r.expression):void 0:e.isLiteralTypeNode(r)&&e.isIndexedAccessTypeNode(a)?Dp(a.objectType):void 0;return u&&Zc(u,e.escapeLeadingUnderscores(n.text));case 88:case 98:case 38:case 84:return ti(n.parent);case 199:return e.isLiteralImportTypeNode(n)?kx(n.argument.literal,t):void 0;case 93:return e.isExportAssignment(n.parent)?e.Debug.checkDefined(n.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(n.parent)?Sb(n.parent).symbol:void 0;case 230:return KE(n).symbol;default:return}}}function Rx(n){if(e.isSourceFile(n)&&!e.isExternalModule(n))return Re;if(16777216&n.flags)return Re;var t,r,a=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),i=a&&_s(ti(a.class));if(e.isPartOfTypeNode(n)){var o=Dp(n);return i?Hs(o,i.thisType):o}if(e.isExpressionNode(n))return wx(n);if(i&&!a.isImplements){var s=e.firstOrUndefined(ps(i));return s?Hs(s,i.thisType):Re}if(xx(n))return xs(r=ti(n));if(79===(t=n).kind&&xx(t.parent)&&e.getNameOfDeclaration(t.parent)===t)return(r=kx(n))?xs(r):Re;if(e.isDeclaration(n))return Yo(r=ti(n));if($(n))return(r=kx(n))?Yo(r):Re;if(e.isBindingPattern(n))return vo(n.parent,!0)||Re;if(Ax(n)&&(r=kx(n))){var c=xs(r);return io(c)?Yo(r):c}return e.isMetaProperty(n.parent)&&n.parent.keywordToken===n.kind?Sb(n.parent):Re}function Ox(n){if(e.Debug.assert(204===n.kind||203===n.kind),243===n.parent.kind)return gE(n,oS(n.parent)||Re);if(220===n.parent.kind)return gE(n,BE(n.parent.right)||Re);if(294===n.parent.kind){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression);return mE(t,Ox(t)||Re,e.indexOfNode(t.properties,n.parent))}var r=e.cast(n.parent,e.isArrayLiteralExpression),a=Ox(r)||Re,i=sS(65,a,Ge,n.parent)||Re;return _E(r,a,r.elements.indexOf(n),i)}function wx(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),gp(BE(n))}function Mx(n){var t=ti(n.parent);return e.isStatic(n)?Yo(t):xs(t)}function Px(n){var t=n.name;switch(t.kind){case 79:return hp(e.idText(t));case 8:case 10:return hp(t.text);case 161:var r=$y(t);return uE(r,12288)?r:He;default:return e.Debug.fail("Unsupported property name.")}}function Fx(n){n=Kc(n);var t=e.createSymbolTable(Ac(n)),r=el(n,0).length?kn:el(n,1).length?Rn:void 0;return r&&e.forEach(Ac(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),yi(t)}function Gx(n){return e.typeHasCallOrConstructSignatures(n,le)}function Bx(n){if(e.isGeneratedIdentifier(n))return!1;var t=e.getParseTreeNode(n,e.isIdentifier);if(!t)return!1;var r=t.parent;return!!r&&(!((e.isPropertyAccessExpression(r)||e.isPropertyAssignment(r))&&r.name===t)&&pL(t)===se)}function Ux(n){var t=Ua(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=Ja(t),a=Xr(t=Ha(t));return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(111551&t.flags):e.forEachEntry(Za(t),(function(e){return(e=Ia(e))&&!!(111551&e.flags)}))),a.exportsSomeValue}function Vx(n,t){var r,a=e.getParseTreeNode(n,e.isIdentifier);if(a){var i=pL(a,function(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}(a));if(i){if(1048576&i.flags){var o=ni(i.exportSymbol);if(!t&&944&o.flags&&!(3&o.flags))return;i=o}var s=ri(i);if(s){if(512&s.flags&&303===(null===(r=s.valueDeclaration)||void 0===r?void 0:r.kind)){var c=s.valueDeclaration;return c!==e.getSourceFileOfNode(a)?void 0:c}return e.findAncestor(a.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&ti(n)===s}))}}}}function Kx(n){if(n.generatedImportReference)return n.generatedImportReference;var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=pL(t);if(Aa(r,111551)&&!Oa(r))return fa(r)}}function jx(n){if(418&n.flags&&n.valueDeclaration&&!e.isSourceFile(n.valueDeclaration)){var t=Xr(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||function(n){return n.valueDeclaration&&e.isBindingElement(n.valueDeclaration)&&291===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}(n)){var a=Yr(n.valueDeclaration);if(na(r.parent,n.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=234===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s))}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function Hx(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=pL(t);if(r&&jx(r))return r.valueDeclaration}}}function Wx(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=ti(t);if(r)return jx(r)}return!1}function zx(n){switch(n.kind){case 264:return qx(ti(n));case 266:case 267:case 269:case 274:var t=ti(n);return!!t&&qx(t)&&!Oa(t);case 271:var r=n.exportClause;return!!r&&(e.isNamespaceExport(r)||e.some(r.elements,zx));case 270:return!n.expression||79!==n.expression.kind||qx(ti(n))}return!1}function Jx(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);return!(void 0===t||303!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(qx(ti(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function qx(n){if(!n)return!1;var t=Na(n);return t===Le||!!(111551&t.flags)&&(e.shouldPreserveConstEnums(x)||!Xx(t))}function Xx(e){return fE(e)||!!e.constEnumOnlyModule}function Yx(n,t){if(ma(n)){var r=ti(n),a=r&&Xr(r);if(null==a?void 0:a.referenced)return!0;var i=Xr(r).target;if(i&&1&e.getEffectiveModifierFlags(n)&&111551&i.flags&&(e.shouldPreserveConstEnums(x)||!Xx(i)))return!0}return!!t&&!!e.forEachChild(n,(function(e){return Yx(e,t)}))}function Qx(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=Sl(ti(n));return t.length>1||1===t.length&&t[0].declaration!==n}return!1}function Zx(n){return!(!I||_l(n)||e.isJSDocParameterTag(n)||!n.initializer||e.hasSyntacticModifier(n,16476))}function $x(n){return I&&_l(n)&&!n.initializer&&e.hasSyntacticModifier(n,16476)}function eL(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=ti(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(Qa(r),(function(n){return 111551&n.flags&&n.valueDeclaration&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function nL(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=ti(t);return r&&Ac(Yo(r))||e.emptyArray}function tL(e){var n,t=e.id||0;return t<0||t>=er.length?0:(null===(n=er[t])||void 0===n?void 0:n.flags)||0}function rL(e){return QS(e.parent),Yr(e).enumMemberValue}function aL(e){switch(e.kind){case 297:case 205:case 206:return!0}return!1}function iL(n){if(297===n.kind)return rL(n);var t=Yr(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return rL(r)}}function oL(e){return!!(524288&e.flags)&&el(e,0).length>0}function sL(n,t){var r,a,i=e.getParseTreeNode(n,e.isEntityName);if(!i)return e.TypeReferenceSerializationKind.Unknown;if(t&&!(t=e.getParseTreeNode(t)))return e.TypeReferenceSerializationKind.Unknown;var o=!1;if(e.isQualifiedName(i)){var s=Ga(e.getFirstIdentifier(i),111551,!0,!0,t);o=!!(null===(r=null==s?void 0:s.declarations)||void 0===r?void 0:r.every(e.isTypeOnlyImportOrExportDeclaration))}var c=Ga(i,111551,!0,!0,t),l=c&&2097152&c.flags?Na(c):c;o||(o=!!(null===(a=null==c?void 0:c.declarations)||void 0===a?void 0:a.every(e.isTypeOnlyImportOrExportDeclaration)));var u=Ga(i,788968,!0,!1,t);if(l&&l===u){var d=ku(!1);if(d&&l===d)return e.TypeReferenceSerializationKind.Promise;var p=Yo(l);if(p&&os(p))return o?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!u)return o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var f=xs(u);return io(f)?o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:3&f.flags?e.TypeReferenceSerializationKind.ObjectType:uE(f,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:uE(f,528)?e.TypeReferenceSerializationKind.BooleanType:uE(f,296)?e.TypeReferenceSerializationKind.NumberLikeType:uE(f,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:uE(f,402653316)?e.TypeReferenceSerializationKind.StringLikeType:Dm(f)?e.TypeReferenceSerializationKind.ArrayLikeType:uE(f,12288)?e.TypeReferenceSerializationKind.ESSymbolType:oL(f)?e.TypeReferenceSerializationKind.TypeWithCallSignature:sm(f)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function cL(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.factory.createToken(130);var s=ti(o),c=!s||133120&s.flags?Re:Tm(Yo(s));return 8192&c.flags&&c.symbol===s&&(r|=1048576),i&&(c=Fm(c)),W.typeToTypeNode(c,t,1024|r,a)}function lL(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.factory.createToken(130);var o=bl(i);return W.typeToTypeNode(Al(o),t,1024|r,a)}function uL(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.factory.createToken(130);var o=e_(wx(i));return W.typeToTypeNode(o,t,1024|r,a)}function dL(n){return re.has(e.escapeLeadingUnderscores(n))}function pL(n,t){var r=Yr(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=to(i))}return na(a,n.escapedText,3257279,void 0,void 0,!0)}function fL(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=pL(t);if(r)return ci(r).valueDeclaration}}}function mL(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&yp(Yo(ti(n)))}function _L(n,t){return function(n,t,r){var a=1024&n.flags?W.symbolToExpression(n.symbol,111551,t,void 0,r):n===Xe?e.factory.createTrue():n===Je&&e.factory.createFalse();if(a)return a;var i=n.value;return"object"==typeof i?e.factory.createBigIntLiteral(i):"number"==typeof i?e.factory.createNumericLiteral(i):e.factory.createStringLiteral(i)}(Yo(ti(n)),n,t)}function gL(n){return n?(Dr(n),e.getSourceFileOfNode(n).localJsxFactory||bt):bt}function yL(n){if(n){var t=e.getSourceFileOfNode(n);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;var r=t.pragmas.get("jsxfrag"),a=e.isArray(r)?r[0]:r;if(a)return t.localJsxFragmentFactory=e.parseIsolatedEntityName(a.arguments.factory,L),t.localJsxFragmentFactory}}if(x.jsxFragmentFactory)return e.parseIsolatedEntityName(x.jsxFragmentFactory,L)}function hL(n){var t=260===n.kind?e.tryCast(n.name,e.isStringLiteral):e.getExternalModuleName(n),r=Va(t,t,void 0);if(r)return e.getDeclarationOfKind(r,303)}function vL(n,t){if((a&t)!==t&&x.importHelpers){var r=e.getSourceFileOfNode(n);if(e.isEffectiveExternalModule(r,x)&&!(8388608&n.flags)){var o=function(n,t){i||(i=Ka(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||Le);return i}(r,n);if(o!==Le)for(var s=t&~a,c=1;c<=4194304;c<<=1)if(s&c){var l=bL(c),u=Zr(o.exports,e.escapeLeadingUnderscores(l),111551);u?524288&c?e.some(Sl(u),(function(e){return wb(e)>3}))||kr(n,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):1048576&c?e.some(Sl(u),(function(e){return wb(e)>4}))||kr(n,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):1024&c&&(e.some(Sl(u),(function(e){return wb(e)>2}))||kr(n,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)):kr(n,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)}a|=t}}}function bL(n){switch(n){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 EL(n){return function(n){if(!n.decorators)return!1;if(!e.nodeCanBeDecorated(n,n.parent,n.parent.parent))return 168!==n.kind||e.nodeIsPresent(n.body)?zL(n,e.Diagnostics.Decorators_are_not_valid_here):zL(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(171===n.kind||172===n.kind){var t=e.getAllAccessorDeclarations(n.parent.members,n);if(t.firstAccessor.decorators&&n===t.secondAccessor)return zL(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(n)||function(n){var t,r,a,i,o,s=function(n){return!!n.modifiers&&(function(n){switch(n.kind){case 171:case 172:case 170:case 166:case 165:case 168:case 167:case 175:case 260:case 265:case 264:case 271:case 270:case 212:case 213:case 163:return!1;default:if(261===n.parent.kind||303===n.parent.kind)return!1;switch(n.kind){case 255:return TL(n,131);case 256:case 179:return TL(n,126);case 257:case 236:case 258:case 169:return!0;case 259:return TL(n,85);default:e.Debug.fail()}}}(n)?zL(n,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(n);if(void 0!==s)return s;for(var c=0,l=0,u=n.modifiers;l1||e.modifiers[0].kind!==n}function SL(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&JL(n[0],n.end-1,1,t)}function xL(n,t){if(n&&0===n.length){var r=n.pos-1;return JL(t,r,e.skipTrivia(t.text,n.end)+1-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function LL(n){if(L>=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=(i=n.parameters,e.filter(i,(function(n){return!!n.initializer||e.isBindingPattern(n.name)||e.isRestParameter(n)})));if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(kr(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,Or([kr(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a,!1)),!0}}}var i;return!1}function DL(n){var t=e.getSourceFileOfNode(n);return EL(n)||xL(n.typeParameters,t)||function(n){for(var t=!1,r=n.length,a=0;a1||n.typeParameters.hasTrailingComma||n.typeParameters[0].constraint)&&t&&e.fileExtensionIsOneOf(t.fileName,[".mts",".cts"])&&qL(n.typeParameters[0],e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var r=n.equalsGreaterThanToken,a=e.getLineAndCharacterOfPosition(t,r.pos).line,i=e.getLineAndCharacterOfPosition(t,r.end).line;return a!==i&&qL(r,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(n,t)||e.isFunctionLikeDeclaration(n)&&LL(n)}function CL(n,t){return SL(t)||function(n,t){if(t&&0===t.length){var r=e.getSourceFileOfNode(n),a=t.pos-1;return JL(r,a,e.skipTrivia(r.text,t.end)+1-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(n,t)}function AL(n){return function(n){if(n)for(var t=0,r=n;t1){r=242===n.kind?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 zL(o.declarations[1],r)}var c=s[0];if(c.initializer){var r=242===n.kind?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 qL(c.name,r)}if(c.type)return qL(c,r=242===n.kind?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!1}function PL(n){if(n.parameters.length===(171===n.kind?1:2))return e.getThisParameter(n)}function FL(n,t){if(function(n){return e.isDynamicName(n)&&!Ms(n)}(n))return qL(n,t)}function GL(n){if(DL(n))return!0;if(168===n.kind){if(204===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||131!==e.first(n.modifiers).kind))return zL(n,e.Diagnostics.Modifiers_cannot_appear_here);if(OL(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(wL(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return JL(n,n.end-1,1,e.Diagnostics._0_expected,"{")}if(RL(n))return!0}if(e.isClassLike(n.parent)){if(L<2&&e.isPrivateIdentifier(n.name))return qL(n.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(8388608&n.flags)return FL(n.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(168===n.kind&&!n.body)return FL(n.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(257===n.parent.kind)return FL(n.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(181===n.parent.kind)return FL(n.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 BL(n){return e.isStringOrNumericLiteralLike(n)||218===n.kind&&40===n.operator&&8===n.operand.kind}function UL(n){var t,r=n.initializer;if(r){var a=!(BL(r)||function(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&BL(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&xE(n).flags)}(r)||110===r.kind||95===r.kind||(t=r,9===t.kind||218===t.kind&&40===t.operator&&9===t.operand.kind)),i=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!i||n.type)return qL(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(a)return qL(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||a)return qL(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function VL(n){if(79===n.kind){if("__esModule"===e.idText(n))return function(n,t,r,a,i,o){if(!WL(e.getSourceFileOfNode(t)))return Ir(n,t,r,a,i,o),!0;return!1}("noEmit",n,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var t=0,r=n.elements;t0}function zL(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!WL(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return mr.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function JL(n,t,r,a,i,o,s){var c=e.getSourceFileOfNode(n);return!WL(c)&&(mr.add(e.createFileDiagnostic(c,t,r,a,i,o,s)),!0)}function qL(n,t,r,a,i){return!WL(e.getSourceFileOfNode(n))&&(mr.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function XL(n){return 257!==n.kind&&258!==n.kind&&265!==n.kind&&264!==n.kind&&271!==n.kind&&270!==n.kind&&263!==n.kind&&!e.hasSyntacticModifier(n,515)&&zL(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function YL(n){if(8388608&n.flags){if(!Yr(n).hasReportedStatementInAmbientContext&&(e.isFunctionLike(n.parent)||e.isAccessor(n.parent)))return Yr(n).hasReportedStatementInAmbientContext=zL(n,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(234===n.parent.kind||261===n.parent.kind||303===n.parent.kind){var t=Yr(n.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=zL(n,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function QL(n){if(32&n.numericLiteralFlags){var t=void 0;if(L>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,195)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,297)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&40===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return qL(r?n.parent:n,t,a)}}return function(n){if(16&n.numericLiteralFlags||n.text.length<=15||-1!==n.text.indexOf("."))return;var t=+e.getTextOfNode(n);if(t<=Math.pow(2,53)-1&&t+1>t)return;Rr(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(n),!1}function ZL(n){return!!e.forEach(n.elements,(function(n){if(n.isTypeOnly)return zL(n,269===n.kind?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 $L(n,t,r,a){if(1048576&t.flags&&2621440&n.flags){var i=Z_(t,n);if(i)return i;var o=Ac(n);if(o){var s=X_(o,t);if(s)return jf(t,e.map(s,(function(e){return[function(){return Yo(e)},e.escapedName]})),r,void 0,a)}}}},(W=H||(H={})).JSX="JSX",W.IntrinsicElements="IntrinsicElements",W.ElementClass="ElementClass",W.ElementAttributesPropertyNameContainer="ElementAttributesProperty",W.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",W.Element="Element",W.IntrinsicAttributes="IntrinsicAttributes",W.IntrinsicClassAttributes="IntrinsicClassAttributes",W.LibraryManagedAttributes="LibraryManagedAttributes",e.signatureHasRestParameter=ne,e.signatureHasLiteralTypes=te}(Br||(Br={})),function(e){function n(n,t,r,a){if(void 0===n||void 0===t)return n;var i,o=t(n);return o===n?n:void 0!==o?(i=e.isArray(o)?(a||c)(o):o,e.Debug.assertNode(i,r),i):void 0}function t(n,t,r,a,i){if(void 0===n||void 0===t)return n;var o,s,c=n.length;(void 0===a||a<0)&&(a=0),(void 0===i||i>c-a)&&(i=c-a);var l=-1,u=-1;(a>0||i=2&&(s=function(n,t){for(var r,a=0;a0&&f<=159||191===f)return i;var m=l.factory;switch(f){case 79:return e.Debug.type(i),m.updateIdentifier(i,u(i.typeArguments,c,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(i),m.updateQualifiedName(i,p(i.left,c,e.isEntityName),p(i.right,c,e.isIdentifier));case 161:return e.Debug.type(i),m.updateComputedPropertyName(i,p(i.expression,c,e.isExpression));case 162:return e.Debug.type(i),m.updateTypeParameterDeclaration(i,p(i.name,c,e.isIdentifier),p(i.constraint,c,e.isTypeNode),p(i.default,c,e.isTypeNode));case 163:return e.Debug.type(i),m.updateParameterDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.dotDotDotToken,d,e.isDotDotDotToken),p(i.name,c,e.isBindingName),p(i.questionToken,d,e.isQuestionToken),p(i.type,c,e.isTypeNode),p(i.initializer,c,e.isExpression));case 164:return e.Debug.type(i),m.updateDecorator(i,p(i.expression,c,e.isExpression));case 165:return e.Debug.type(i),m.updatePropertySignature(i,u(i.modifiers,c,e.isModifier),p(i.name,c,e.isPropertyName),p(i.questionToken,d,e.isToken),p(i.type,c,e.isTypeNode));case 166:return e.Debug.type(i),m.updatePropertyDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isPropertyName),p(i.questionToken||i.exclamationToken,d,e.isQuestionOrExclamationToken),p(i.type,c,e.isTypeNode),p(i.initializer,c,e.isExpression));case 167:return e.Debug.type(i),m.updateMethodSignature(i,u(i.modifiers,c,e.isModifier),p(i.name,c,e.isPropertyName),p(i.questionToken,d,e.isQuestionToken),u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 168:return e.Debug.type(i),m.updateMethodDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.asteriskToken,d,e.isAsteriskToken),p(i.name,c,e.isPropertyName),p(i.questionToken,d,e.isQuestionToken),u(i.typeParameters,c,e.isTypeParameterDeclaration),a(i.parameters,c,l,u),p(i.type,c,e.isTypeNode),o(i.body,c,l,p));case 170:return e.Debug.type(i),m.updateConstructorDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),a(i.parameters,c,l,u),o(i.body,c,l,p));case 171:return e.Debug.type(i),m.updateGetAccessorDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isPropertyName),a(i.parameters,c,l,u),p(i.type,c,e.isTypeNode),o(i.body,c,l,p));case 172:return e.Debug.type(i),m.updateSetAccessorDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isPropertyName),a(i.parameters,c,l,u),o(i.body,c,l,p));case 169:return e.Debug.type(i),l.startLexicalEnvironment(),l.suspendLexicalEnvironment(),m.updateClassStaticBlockDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),o(i.body,c,l,p));case 173:return e.Debug.type(i),m.updateCallSignature(i,u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 174:return e.Debug.type(i),m.updateConstructSignature(i,u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 175:return e.Debug.type(i),m.updateIndexSignature(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 176:return e.Debug.type(i),m.updateTypePredicateNode(i,p(i.assertsModifier,c,e.isAssertsKeyword),p(i.parameterName,c,e.isIdentifierOrThisTypeNode),p(i.type,c,e.isTypeNode));case 177:return e.Debug.type(i),m.updateTypeReferenceNode(i,p(i.typeName,c,e.isEntityName),u(i.typeArguments,c,e.isTypeNode));case 178:return e.Debug.type(i),m.updateFunctionTypeNode(i,u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 179:return e.Debug.type(i),m.updateConstructorTypeNode(i,u(i.modifiers,c,e.isModifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.parameters,c,e.isParameterDeclaration),p(i.type,c,e.isTypeNode));case 180:return e.Debug.type(i),m.updateTypeQueryNode(i,p(i.exprName,c,e.isEntityName));case 181:return e.Debug.type(i),m.updateTypeLiteralNode(i,u(i.members,c,e.isTypeElement));case 182:return e.Debug.type(i),m.updateArrayTypeNode(i,p(i.elementType,c,e.isTypeNode));case 183:return e.Debug.type(i),m.updateTupleTypeNode(i,u(i.elements,c,e.isTypeNode));case 184:return e.Debug.type(i),m.updateOptionalTypeNode(i,p(i.type,c,e.isTypeNode));case 185:return e.Debug.type(i),m.updateRestTypeNode(i,p(i.type,c,e.isTypeNode));case 186:return e.Debug.type(i),m.updateUnionTypeNode(i,u(i.types,c,e.isTypeNode));case 187:return e.Debug.type(i),m.updateIntersectionTypeNode(i,u(i.types,c,e.isTypeNode));case 188:return e.Debug.type(i),m.updateConditionalTypeNode(i,p(i.checkType,c,e.isTypeNode),p(i.extendsType,c,e.isTypeNode),p(i.trueType,c,e.isTypeNode),p(i.falseType,c,e.isTypeNode));case 189:return e.Debug.type(i),m.updateInferTypeNode(i,p(i.typeParameter,c,e.isTypeParameterDeclaration));case 199:return e.Debug.type(i),m.updateImportTypeNode(i,p(i.argument,c,e.isTypeNode),p(i.qualifier,c,e.isEntityName),t(i.typeArguments,c,e.isTypeNode),i.isTypeOf);case 196:return e.Debug.type(i),m.updateNamedTupleMember(i,n(i.dotDotDotToken,c,e.isDotDotDotToken),n(i.name,c,e.isIdentifier),n(i.questionToken,c,e.isQuestionToken),n(i.type,c,e.isTypeNode));case 190:return e.Debug.type(i),m.updateParenthesizedType(i,p(i.type,c,e.isTypeNode));case 192:return e.Debug.type(i),m.updateTypeOperatorNode(i,p(i.type,c,e.isTypeNode));case 193:return e.Debug.type(i),m.updateIndexedAccessTypeNode(i,p(i.objectType,c,e.isTypeNode),p(i.indexType,c,e.isTypeNode));case 194:return e.Debug.type(i),m.updateMappedTypeNode(i,p(i.readonlyToken,d,e.isReadonlyKeywordOrPlusOrMinusToken),p(i.typeParameter,c,e.isTypeParameterDeclaration),p(i.nameType,c,e.isTypeNode),p(i.questionToken,d,e.isQuestionOrPlusOrMinusToken),p(i.type,c,e.isTypeNode),u(i.members,c,e.isTypeElement));case 195:return e.Debug.type(i),m.updateLiteralTypeNode(i,p(i.literal,c,e.isExpression));case 197:return e.Debug.type(i),m.updateTemplateLiteralType(i,p(i.head,c,e.isTemplateHead),u(i.templateSpans,c,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(i),m.updateTemplateLiteralTypeSpan(i,p(i.type,c,e.isTypeNode),p(i.literal,c,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(i),m.updateObjectBindingPattern(i,u(i.elements,c,e.isBindingElement));case 201:return e.Debug.type(i),m.updateArrayBindingPattern(i,u(i.elements,c,e.isArrayBindingElement));case 202:return e.Debug.type(i),m.updateBindingElement(i,p(i.dotDotDotToken,d,e.isDotDotDotToken),p(i.propertyName,c,e.isPropertyName),p(i.name,c,e.isBindingName),p(i.initializer,c,e.isExpression));case 203:return e.Debug.type(i),m.updateArrayLiteralExpression(i,u(i.elements,c,e.isExpression));case 204:return e.Debug.type(i),m.updateObjectLiteralExpression(i,u(i.properties,c,e.isObjectLiteralElementLike));case 205:return 32&i.flags?(e.Debug.type(i),m.updatePropertyAccessChain(i,p(i.expression,c,e.isExpression),p(i.questionDotToken,d,e.isQuestionDotToken),p(i.name,c,e.isMemberName))):(e.Debug.type(i),m.updatePropertyAccessExpression(i,p(i.expression,c,e.isExpression),p(i.name,c,e.isMemberName)));case 206:return 32&i.flags?(e.Debug.type(i),m.updateElementAccessChain(i,p(i.expression,c,e.isExpression),p(i.questionDotToken,d,e.isQuestionDotToken),p(i.argumentExpression,c,e.isExpression))):(e.Debug.type(i),m.updateElementAccessExpression(i,p(i.expression,c,e.isExpression),p(i.argumentExpression,c,e.isExpression)));case 207:return 32&i.flags?(e.Debug.type(i),m.updateCallChain(i,p(i.expression,c,e.isExpression),p(i.questionDotToken,d,e.isQuestionDotToken),u(i.typeArguments,c,e.isTypeNode),u(i.arguments,c,e.isExpression))):(e.Debug.type(i),m.updateCallExpression(i,p(i.expression,c,e.isExpression),u(i.typeArguments,c,e.isTypeNode),u(i.arguments,c,e.isExpression)));case 208:return e.Debug.type(i),m.updateNewExpression(i,p(i.expression,c,e.isExpression),u(i.typeArguments,c,e.isTypeNode),u(i.arguments,c,e.isExpression));case 209:return e.Debug.type(i),m.updateTaggedTemplateExpression(i,p(i.tag,c,e.isExpression),t(i.typeArguments,c,e.isTypeNode),p(i.template,c,e.isTemplateLiteral));case 210:return e.Debug.type(i),m.updateTypeAssertion(i,p(i.type,c,e.isTypeNode),p(i.expression,c,e.isExpression));case 211:return e.Debug.type(i),m.updateParenthesizedExpression(i,p(i.expression,c,e.isExpression));case 212:return e.Debug.type(i),m.updateFunctionExpression(i,u(i.modifiers,c,e.isModifier),p(i.asteriskToken,d,e.isAsteriskToken),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),a(i.parameters,c,l,u),p(i.type,c,e.isTypeNode),o(i.body,c,l,p));case 213:return e.Debug.type(i),m.updateArrowFunction(i,u(i.modifiers,c,e.isModifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),a(i.parameters,c,l,u),p(i.type,c,e.isTypeNode),p(i.equalsGreaterThanToken,d,e.isEqualsGreaterThanToken),o(i.body,c,l,p));case 214:return e.Debug.type(i),m.updateDeleteExpression(i,p(i.expression,c,e.isExpression));case 215:return e.Debug.type(i),m.updateTypeOfExpression(i,p(i.expression,c,e.isExpression));case 216:return e.Debug.type(i),m.updateVoidExpression(i,p(i.expression,c,e.isExpression));case 217:return e.Debug.type(i),m.updateAwaitExpression(i,p(i.expression,c,e.isExpression));case 218:return e.Debug.type(i),m.updatePrefixUnaryExpression(i,p(i.operand,c,e.isExpression));case 219:return e.Debug.type(i),m.updatePostfixUnaryExpression(i,p(i.operand,c,e.isExpression));case 220:return e.Debug.type(i),m.updateBinaryExpression(i,p(i.left,c,e.isExpression),p(i.operatorToken,d,e.isBinaryOperatorToken),p(i.right,c,e.isExpression));case 221:return e.Debug.type(i),m.updateConditionalExpression(i,p(i.condition,c,e.isExpression),p(i.questionToken,d,e.isQuestionToken),p(i.whenTrue,c,e.isExpression),p(i.colonToken,d,e.isColonToken),p(i.whenFalse,c,e.isExpression));case 222:return e.Debug.type(i),m.updateTemplateExpression(i,p(i.head,c,e.isTemplateHead),u(i.templateSpans,c,e.isTemplateSpan));case 223:return e.Debug.type(i),m.updateYieldExpression(i,p(i.asteriskToken,d,e.isAsteriskToken),p(i.expression,c,e.isExpression));case 224:return e.Debug.type(i),m.updateSpreadElement(i,p(i.expression,c,e.isExpression));case 225:return e.Debug.type(i),m.updateClassExpression(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.heritageClauses,c,e.isHeritageClause),u(i.members,c,e.isClassElement));case 227:return e.Debug.type(i),m.updateExpressionWithTypeArguments(i,p(i.expression,c,e.isExpression),u(i.typeArguments,c,e.isTypeNode));case 228:return e.Debug.type(i),m.updateAsExpression(i,p(i.expression,c,e.isExpression),p(i.type,c,e.isTypeNode));case 229:return 32&i.flags?(e.Debug.type(i),m.updateNonNullChain(i,p(i.expression,c,e.isExpression))):(e.Debug.type(i),m.updateNonNullExpression(i,p(i.expression,c,e.isExpression)));case 230:return e.Debug.type(i),m.updateMetaProperty(i,p(i.name,c,e.isIdentifier));case 232:return e.Debug.type(i),m.updateTemplateSpan(i,p(i.expression,c,e.isExpression),p(i.literal,c,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(i),m.updateBlock(i,u(i.statements,c,e.isStatement));case 236:return e.Debug.type(i),m.updateVariableStatement(i,u(i.modifiers,c,e.isModifier),p(i.declarationList,c,e.isVariableDeclarationList));case 237:return e.Debug.type(i),m.updateExpressionStatement(i,p(i.expression,c,e.isExpression));case 238:return e.Debug.type(i),m.updateIfStatement(i,p(i.expression,c,e.isExpression),p(i.thenStatement,c,e.isStatement,m.liftToBlock),p(i.elseStatement,c,e.isStatement,m.liftToBlock));case 239:return e.Debug.type(i),m.updateDoStatement(i,s(i.statement,c,l),p(i.expression,c,e.isExpression));case 240:return e.Debug.type(i),m.updateWhileStatement(i,p(i.expression,c,e.isExpression),s(i.statement,c,l));case 241:return e.Debug.type(i),m.updateForStatement(i,p(i.initializer,c,e.isForInitializer),p(i.condition,c,e.isExpression),p(i.incrementor,c,e.isExpression),s(i.statement,c,l));case 242:return e.Debug.type(i),m.updateForInStatement(i,p(i.initializer,c,e.isForInitializer),p(i.expression,c,e.isExpression),s(i.statement,c,l));case 243:return e.Debug.type(i),m.updateForOfStatement(i,p(i.awaitModifier,d,e.isAwaitKeyword),p(i.initializer,c,e.isForInitializer),p(i.expression,c,e.isExpression),s(i.statement,c,l));case 244:return e.Debug.type(i),m.updateContinueStatement(i,p(i.label,c,e.isIdentifier));case 245:return e.Debug.type(i),m.updateBreakStatement(i,p(i.label,c,e.isIdentifier));case 246:return e.Debug.type(i),m.updateReturnStatement(i,p(i.expression,c,e.isExpression));case 247:return e.Debug.type(i),m.updateWithStatement(i,p(i.expression,c,e.isExpression),p(i.statement,c,e.isStatement,m.liftToBlock));case 248:return e.Debug.type(i),m.updateSwitchStatement(i,p(i.expression,c,e.isExpression),p(i.caseBlock,c,e.isCaseBlock));case 249:return e.Debug.type(i),m.updateLabeledStatement(i,p(i.label,c,e.isIdentifier),p(i.statement,c,e.isStatement,m.liftToBlock));case 250:return e.Debug.type(i),m.updateThrowStatement(i,p(i.expression,c,e.isExpression));case 251:return e.Debug.type(i),m.updateTryStatement(i,p(i.tryBlock,c,e.isBlock),p(i.catchClause,c,e.isCatchClause),p(i.finallyBlock,c,e.isBlock));case 253:return e.Debug.type(i),m.updateVariableDeclaration(i,p(i.name,c,e.isBindingName),p(i.exclamationToken,d,e.isExclamationToken),p(i.type,c,e.isTypeNode),p(i.initializer,c,e.isExpression));case 254:return e.Debug.type(i),m.updateVariableDeclarationList(i,u(i.declarations,c,e.isVariableDeclaration));case 255:return e.Debug.type(i),m.updateFunctionDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.asteriskToken,d,e.isAsteriskToken),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),a(i.parameters,c,l,u),p(i.type,c,e.isTypeNode),o(i.body,c,l,p));case 256:return e.Debug.type(i),m.updateClassDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.heritageClauses,c,e.isHeritageClause),u(i.members,c,e.isClassElement));case 257:return e.Debug.type(i),m.updateInterfaceDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),u(i.heritageClauses,c,e.isHeritageClause),u(i.members,c,e.isTypeElement));case 258:return e.Debug.type(i),m.updateTypeAliasDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isIdentifier),u(i.typeParameters,c,e.isTypeParameterDeclaration),p(i.type,c,e.isTypeNode));case 259:return e.Debug.type(i),m.updateEnumDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isIdentifier),u(i.members,c,e.isEnumMember));case 260:return e.Debug.type(i),m.updateModuleDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.name,c,e.isModuleName),p(i.body,c,e.isModuleBody));case 261:return e.Debug.type(i),m.updateModuleBlock(i,u(i.statements,c,e.isStatement));case 262:return e.Debug.type(i),m.updateCaseBlock(i,u(i.clauses,c,e.isCaseOrDefaultClause));case 263:return e.Debug.type(i),m.updateNamespaceExportDeclaration(i,p(i.name,c,e.isIdentifier));case 264:return e.Debug.type(i),m.updateImportEqualsDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),i.isTypeOnly,p(i.name,c,e.isIdentifier),p(i.moduleReference,c,e.isModuleReference));case 265:return e.Debug.type(i),m.updateImportDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.importClause,c,e.isImportClause),p(i.moduleSpecifier,c,e.isExpression),p(i.assertClause,c,e.isAssertClause));case 292:return e.Debug.type(i),m.updateAssertClause(i,u(i.elements,c,e.isAssertEntry),i.multiLine);case 293:return e.Debug.type(i),m.updateAssertEntry(i,p(i.name,c,e.isAssertionKey),p(i.value,c,e.isStringLiteral));case 266:return e.Debug.type(i),m.updateImportClause(i,i.isTypeOnly,p(i.name,c,e.isIdentifier),p(i.namedBindings,c,e.isNamedImportBindings));case 267:return e.Debug.type(i),m.updateNamespaceImport(i,p(i.name,c,e.isIdentifier));case 273:return e.Debug.type(i),m.updateNamespaceExport(i,p(i.name,c,e.isIdentifier));case 268:return e.Debug.type(i),m.updateNamedImports(i,u(i.elements,c,e.isImportSpecifier));case 269:return e.Debug.type(i),m.updateImportSpecifier(i,i.isTypeOnly,p(i.propertyName,c,e.isIdentifier),p(i.name,c,e.isIdentifier));case 270:return e.Debug.type(i),m.updateExportAssignment(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),p(i.expression,c,e.isExpression));case 271:return e.Debug.type(i),m.updateExportDeclaration(i,u(i.decorators,c,e.isDecorator),u(i.modifiers,c,e.isModifier),i.isTypeOnly,p(i.exportClause,c,e.isNamedExportBindings),p(i.moduleSpecifier,c,e.isExpression),p(i.assertClause,c,e.isAssertClause));case 272:return e.Debug.type(i),m.updateNamedExports(i,u(i.elements,c,e.isExportSpecifier));case 274:return e.Debug.type(i),m.updateExportSpecifier(i,i.isTypeOnly,p(i.propertyName,c,e.isIdentifier),p(i.name,c,e.isIdentifier));case 276:return e.Debug.type(i),m.updateExternalModuleReference(i,p(i.expression,c,e.isExpression));case 277:return e.Debug.type(i),m.updateJsxElement(i,p(i.openingElement,c,e.isJsxOpeningElement),u(i.children,c,e.isJsxChild),p(i.closingElement,c,e.isJsxClosingElement));case 278:return e.Debug.type(i),m.updateJsxSelfClosingElement(i,p(i.tagName,c,e.isJsxTagNameExpression),u(i.typeArguments,c,e.isTypeNode),p(i.attributes,c,e.isJsxAttributes));case 279:return e.Debug.type(i),m.updateJsxOpeningElement(i,p(i.tagName,c,e.isJsxTagNameExpression),u(i.typeArguments,c,e.isTypeNode),p(i.attributes,c,e.isJsxAttributes));case 280:return e.Debug.type(i),m.updateJsxClosingElement(i,p(i.tagName,c,e.isJsxTagNameExpression));case 281:return e.Debug.type(i),m.updateJsxFragment(i,p(i.openingFragment,c,e.isJsxOpeningFragment),u(i.children,c,e.isJsxChild),p(i.closingFragment,c,e.isJsxClosingFragment));case 284:return e.Debug.type(i),m.updateJsxAttribute(i,p(i.name,c,e.isIdentifier),p(i.initializer,c,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(i),m.updateJsxAttributes(i,u(i.properties,c,e.isJsxAttributeLike));case 286:return e.Debug.type(i),m.updateJsxSpreadAttribute(i,p(i.expression,c,e.isExpression));case 287:return e.Debug.type(i),m.updateJsxExpression(i,p(i.expression,c,e.isExpression));case 288:return e.Debug.type(i),m.updateCaseClause(i,p(i.expression,c,e.isExpression),u(i.statements,c,e.isStatement));case 289:return e.Debug.type(i),m.updateDefaultClause(i,u(i.statements,c,e.isStatement));case 290:return e.Debug.type(i),m.updateHeritageClause(i,u(i.types,c,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(i),m.updateCatchClause(i,p(i.variableDeclaration,c,e.isVariableDeclaration),p(i.block,c,e.isBlock));case 294:return e.Debug.type(i),m.updatePropertyAssignment(i,p(i.name,c,e.isPropertyName),p(i.initializer,c,e.isExpression));case 295:return e.Debug.type(i),m.updateShorthandPropertyAssignment(i,p(i.name,c,e.isIdentifier),p(i.objectAssignmentInitializer,c,e.isExpression));case 296:return e.Debug.type(i),m.updateSpreadAssignment(i,p(i.expression,c,e.isExpression));case 297:return e.Debug.type(i),m.updateEnumMember(i,p(i.name,c,e.isPropertyName),p(i.initializer,c,e.isExpression));case 303:return e.Debug.type(i),m.updateSourceFile(i,r(i.statements,c,l));case 348:return e.Debug.type(i),m.updatePartiallyEmittedExpression(i,p(i.expression,c,e.isExpression));case 349:return e.Debug.type(i),m.updateCommaListExpression(i,u(i.elements,c,e.isExpression));default:return i}}}}(Br||(Br={})),function(e){e.createSourceMapGenerator=function(n,t,r,a,o){var s,c,l=o.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,u=l.enter,d=l.exit,p=[],f=[],m=new e.Map,_=[],g=[],y="",h=0,v=0,b=0,E=0,T=0,S=0,x=!1,L=0,D=0,C=0,A=0,I=0,N=0,k=!1,R=!1,O=!1;return{getSources:function(){return p},addSource:w,setSourceContent:M,addName:P,addMapping:F,appendSourceMap:function(n,t,r,a,o,s){e.Debug.assert(n>=L,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),u();for(var c,l=[],p=i(r.mappings),f=p.next();!f.done;f=p.next()){var m=f.value;if(s&&(m.generatedLine>s.line||m.generatedLine===s.line&&m.generatedCharacter>s.character))break;if(!o||!(m.generatedLine=L,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),u(),(function(e,n){return!k||L!==e||D!==n}(n,t)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&C===e&&(A>n||A===n&&I>t)}(r,a,i))&&(B(),L=n,D=t,R=!1,O=!1,k=!0),void 0!==r&&void 0!==a&&void 0!==i&&(C=r,A=a,I=i,R=!0,void 0!==o&&(N=o,O=!0)),d()}function G(e){g.push(e),g.length>=1024&&U()}function B(){if(k&&(!x||h!==L||v!==D||b!==C||E!==A||T!==I||S!==N)){if(u(),h0&&(y+=String.fromCharCode.apply(void 0,g),g.length=0)}function V(){return B(),U(),{version:3,file:t,sourceRoot:r,sources:f,names:_,mappings:y,sourcesContent:s}}function K(n){n<0?n=1+(-n<<1):n<<=1;do{var t=31&n;(n>>=5)>0&&(t|=32),G((r=t)>=0&&r<26?65+r:r>=26&&r<52?97+r-26:r>=52&&r<62?48+r-52:62===r?43:63===r?47:e.Debug.fail("".concat(r,": not a base64 value")))}while(n>0);var r}};var n=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,t=/^\s*(\/\/[@#] .*)?$/;function r(e){return"string"==typeof e||null===e}function a(n){return null!==n&&"object"==typeof n&&3===n.version&&"string"==typeof n.file&&"string"==typeof n.mappings&&e.isArray(n.sources)&&e.every(n.sources,e.isString)&&(void 0===n.sourceRoot||null===n.sourceRoot||"string"==typeof n.sourceRoot)&&(void 0===n.sourcesContent||null===n.sourcesContent||e.isArray(n.sourcesContent)&&e.every(n.sourcesContent,r))&&(void 0===n.names||null===n.names||e.isArray(n.names)&&e.every(n.names,e.isString))}function i(e){var n,t=!1,r=0,a=0,i=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return u(!0,!0)},next:function(){for(;!t&&r=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(n=e.charCodeAt(r))>=65&&n<=90?n-65:n>=97&&n<=122?n-97+26:n>=48&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1===o)return p("Invalid character in VLQ"),-1;t=!!(32&o),i|=(31&o)<>=1):i>>=1,i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function c(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function l(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function u(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function d(e){return e.sourcePosition}function p(e){return e.generatedPosition}e.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},e.tryGetSourceMappingURL=function(r){for(var a=r.getLineCount()-1;a>=0;a--){var i=r.getLineText(a),o=n.exec(i);if(o)return e.trimStringEnd(o[1]);if(!i.match(t))break}},e.isRawSourceMap=a,e.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(a(n))return n}catch(e){}},e.decodeMappings=i,e.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(n,t,r){var a,f,m,_=e.getDirectoryPath(r),g=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,_):_,y=e.getNormalizedAbsolutePath(t.file,_),h=n.getSourceFileLike(y),v=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,g)})),b=new e.Map(v.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:function(n){var t=function(){if(void 0===f){for(var n=[],t=0,r=T();t0&&a!==r.elements.length||!!(r.elements.length-a)&&e.isDefaultImport(n)}function a(n){return!r(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&function(n){return!!n&&!!e.isNamedImports(n)&&e.some(n.elements,t)}(n.importClause.namedBindings))}function i(n,t,r){if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a=64&&e<=78},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){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.addPrologueDirectivesAndInitialSuperCall=function(n,t,r,a){if(t.body){var i=t.body.statements,o=n.copyPrologue(i,r,!1,a);if(o===i.length)return o;var s=e.findIndex(i,(function(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)}),o);if(s>-1){for(var c=o;c<=s;c++)r.push(e.visitNode(i[c],a,e.isStatement));return s+1}return o}return 0},e.getProperties=function(n,t,r){return e.filter(n.members,(function(n){return function(n,t,r){return e.isPropertyDeclaration(n)&&(!!n.initializer||!t)&&e.hasStaticModifier(n)===r}(n,t,r)}))},e.getStaticPropertiesAndClassStaticBlock=function(n){return e.filter(n.members,c)},e.isInitializedProperty=function(e){return 166===e.kind&&void 0!==e.initializer},e.isNonStaticMethodOrAccessorWithPrivateName=function(n){return!e.isStatic(n)&&e.isMethodOrAccessor(n)&&e.isPrivateIdentifier(n.name)}}(Br||(Br={})),function(e){var n;function t(n,r){var a=e.getTargetOfBindingOrAssignmentElement(n);return e.isBindingOrAssignmentPattern(a)?function(n,r){for(var a=e.getElementsOfBindingOrAssignmentPattern(n),i=0,o=a;i=1)||49152&m.transformFlags||49152&e.getTargetOfBindingOrAssignmentElement(m).transformFlags||e.isComputedPropertyName(_)){l&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),i,c,r),l=void 0);var g=o(n,i,_);e.isComputedPropertyName(_)&&(u=e.append(u,g.argumentExpression)),a(n,m,g,m)}else l=e.append(l,e.visitNode(m,n.visitor))}}l&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(l),i,c,r)}(n,t,u,r,c):e.isArrayBindingOrAssignmentPattern(u)?function(n,t,r,o,c){var l,u,d=e.getElementsOfBindingOrAssignmentPattern(r),p=d.length;if(n.level<1&&n.downlevelIteration)o=s(n,e.setTextRange(n.context.getEmitHelperFactory().createReadHelper(o,p>0&&e.getRestIndicatorOfBindingOrAssignmentElement(d[p-1])?void 0:p),c),!1,c);else if(1!==p&&(n.level<1||0===p)||e.every(d,e.isOmittedExpression)){o=s(n,o,!e.isDeclarationBindingElement(t)||0!==p,c)}for(var f=0;f=1)if(32768&m.transformFlags||n.hasTransformedPriorElement&&!i(m)){n.hasTransformedPriorElement=!0;var _=n.context.factory.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(_),u=e.append(u,[_,m]),l=e.append(l,n.createArrayBindingOrAssignmentElement(_))}else l=e.append(l,m);else{if(e.isOmittedExpression(m))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(m)){if(f===p-1){g=n.context.factory.createArraySliceCall(o,f);a(n,m,g,m)}}else{var g=n.context.factory.createElementAccessExpression(o,f);a(n,m,g,m)}}}l&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(l),o,c,r);if(u)for(var y=0,h=u;y1&&(d.push(p.createEndOfDeclarationMarker(a)),e.setEmitFlags(c,4194304|e.getEmitFlags(c)));return e.singleOrMany(d)}(o);case 225:return function(t){if(!B(t))return e.visitEachChild(t,C,n);var r=p.createClassExpression(void 0,void 0,t.name,void 0,e.visitNodes(t.heritageClauses,C,e.isHeritageClause),U(t));return e.setOriginalNode(r,t),e.setTextRange(r,t),r}(o);case 290:return function(t){if(117===t.token)return;return e.visitEachChild(t,C,n)}(o);case 227:return function(n){return p.updateExpressionWithTypeArguments(n,e.visitNode(n.expression,C,e.isLeftHandSideExpression),void 0)}(o);case 168:return function(t){if(!oe(t))return;var r=p.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,ie(t),void 0,void 0,e.visitParameterList(t.parameters,C,n),void 0,e.visitFunctionBody(t.body,C,n));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 171:return function(t){if(!ue(t))return;var r=p.updateGetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ie(t),e.visitParameterList(t.parameters,C,n),void 0,e.visitFunctionBody(t.body,C,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 172:return function(t){if(!ue(t))return;var r=p.updateSetAccessorDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),ie(t),e.visitParameterList(t.parameters,C,n),e.visitFunctionBody(t.body,C,n)||p.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(o);case 255:return function(t){if(!oe(t))return p.createNotEmittedStatement(t);var r=p.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,C,n),void 0,e.visitFunctionBody(t.body,C,n)||p.createBlock([]));if(xe(t)){var a=[r];return Ae(a,t),a}return r}(o);case 212:return function(t){if(!oe(t))return p.createOmittedExpression();var r=p.updateFunctionExpression(t,e.visitNodes(t.modifiers,M,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,C,n),void 0,e.visitFunctionBody(t.body,C,n)||p.createBlock([]));return r}(o);case 213:return function(t){var r=p.updateArrowFunction(t,e.visitNodes(t.modifiers,M,e.isModifier),void 0,e.visitParameterList(t.parameters,C,n),void 0,t.equalsGreaterThanToken,e.visitFunctionBody(t.body,C,n));return r}(o);case 163:return function(n){if(e.parameterIsThisKeyword(n))return;var t=p.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,e.visitNode(n.name,C,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,C,e.isExpression));t!==n&&(e.setCommentRange(t,n),e.setTextRange(t,e.moveRangePastModifiers(n)),e.setSourceMapRange(t,e.moveRangePastModifiers(n)),e.setEmitFlags(t.name,32));return t}(o);case 211:return function(r){var a=e.skipOuterExpressions(r.expression,-7);if(e.isAssertionExpression(a)){var i=e.visitNode(r.expression,C,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(i,t))?p.updateParenthesizedExpression(r,i):p.createPartiallyEmittedExpression(i,r)}return e.visitEachChild(r,C,n)}(o);case 210:case 228:return function(n){var t=e.visitNode(n.expression,C,e.isExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 207:return function(n){return p.updateCallExpression(n,e.visitNode(n.expression,C,e.isExpression),void 0,e.visitNodes(n.arguments,C,e.isExpression))}(o);case 208:return function(n){return p.updateNewExpression(n,e.visitNode(n.expression,C,e.isExpression),void 0,e.visitNodes(n.arguments,C,e.isExpression))}(o);case 209:return function(n){return p.updateTaggedTemplateExpression(n,e.visitNode(n.tag,C,e.isExpression),void 0,e.visitNode(n.template,C,e.isExpression))}(o);case 229:return function(n){var t=e.visitNode(n.expression,C,e.isLeftHandSideExpression);return p.createPartiallyEmittedExpression(t,n)}(o);case 259:return function(n){if(!function(n){return!e.isEnumConst(n)||e.shouldPreserveConstEnums(v)}(n))return p.createNotEmittedStatement(n);var r=[],o=2,s=ge(r,n);s&&(T===e.ModuleKind.System&&i===t||(o|=512));var c=ke(n),l=Re(n),u=e.hasSyntacticModifier(n,1)?p.getExternalModuleOrNamespaceExportName(a,n,!1,!0):p.getLocalName(n,!1,!0),d=p.createLogicalOr(u,p.createAssignment(u,p.createObjectLiteralExpression()));if(fe(n)){var f=p.getLocalName(n,!1,!0);d=p.createAssignment(f,d)}var _=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,c)],void 0,function(n,t){var r=a;a=t;var i=[];m();var o=e.map(n.members,pe);return e.insertStatementsAfterStandardPrologue(i,g()),e.addRange(i,o),a=r,p.createBlock(e.setTextRange(p.createNodeArray(i),n.members),!0)}(n,l)),void 0,[d]));e.setOriginalNode(_,n),s&&(e.setSyntheticLeadingComments(_,void 0),e.setSyntheticTrailingComments(_,void 0));return e.setTextRange(_,n),e.addEmitFlags(_,o),r.push(_),r.push(p.createEndOfDeclarationMarker(n)),r}(o);case 236:return function(t){if(xe(t)){var r=e.getInitializedVariables(t.declarationList);if(0===r.length)return;return e.setTextRange(p.createExpressionStatement(p.inlineExpressions(e.map(r,de))),t)}return e.visitEachChild(t,C,n)}(o);case 253:return function(n){return p.updateVariableDeclaration(n,e.visitNode(n.name,C,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,C,e.isExpression))}(o);case 260:return ye(o);case 264:return Se(o);case 278:return function(n){return p.updateJsxSelfClosingElement(n,e.visitNode(n.tagName,C,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,C,e.isJsxAttributes))}(o);case 279:return function(n){return p.updateJsxOpeningElement(n,e.visitNode(n.tagName,C,e.isJsxTagNameExpression),void 0,e.visitNode(n.attributes,C,e.isJsxAttributes))}(o);default:return e.visitEachChild(o,C,n)}}function F(t){var r=e.getStrictOptionValue(v,"alwaysStrict")&&!(e.isExternalModule(t)&&T>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return p.updateSourceFile(t,e.visitLexicalEnvironment(t.statements,I,n,0,r))}function G(e){return!!(4096&e.transformFlags)}function B(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,G)||e.some(n.members,G)}function U(n){var t=[],r=e.getFirstConstructorWithBody(n),a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(a)for(var i=0,o=a;i0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s0?166===t.kind?p.createVoidZero():p.createNull():void 0,s=f().createDecorateHelper(r,a,i,o);return e.setTextRange(s,e.moveRangePastDecorators(t)),e.setEmitFlags(s,1536),s}}function q(n){return e.visitNode(n.expression,C,e.isExpression)}function X(n,t){var r;if(n){r=[];for(var a=0,i=n;a=2,m=u<=8||!d,_=n.onSubstituteNode;n.onSubstituteNode=function(n,r){if(r=_(n,r),1===n)return function(n){switch(n.kind){case 79:return function(n){return function(n){if(1&g&&33554432&c.getNodeCheckFlags(n)){var r=c.getReferencedValueDeclaration(n);if(r){var a=y[r.id];if(a){var i=t.cloneNode(a);return e.setSourceMapRange(i,n),e.setCommentRange(i,n),i}}}return}(n)||n}(n);case 108:return function(n){if(2&g&&E){var r=E.facts,a=E.classConstructor;if(1&r)return t.createParenthesizedExpression(t.createVoidZero());if(a)return e.setTextRange(e.setOriginalNode(t.cloneNode(a),n),n)}return n}(n)}return n}(r);return r};var g,y,h,v,b=n.onEmitNode;n.onEmitNode=function(n,t,r){var a=e.getOriginalNode(t);if(a.id){var i=L.get(a.id);if(i){var o=E,s=T;return E=i,T=i,b(n,t,r),E=o,void(T=s)}}switch(t.kind){case 212:if(e.isArrowFunction(a)||262144&e.getEmitFlags(t))break;case 255:case 170:o=E,s=T;return E=void 0,T=void 0,b(n,t,r),E=o,void(T=s);case 171:case 172:case 168:case 166:o=E,s=T;return T=E,E=void 0,b(n,t,r),E=o,void(T=s);case 161:o=E,s=T;return E=T,T=void 0,b(n,t,r),E=o,void(T=s)}b(n,t,r)};var E,T,S,x=[],L=new e.Map;return e.chainBundle(n,(function(t){var r=n.getCompilerOptions();if(t.isDeclarationFile||d&&99===e.getEmitScriptTarget(r))return t;var a=e.visitEachChild(t,A,n);return e.addEmitHelpers(a,n.readEmitHelpers()),a}));function D(a,i){if(8388608&a.transformFlags)switch(a.kind){case 225:case 256:return function(a){if(!e.forEach(a.members,G))return e.visitEachChild(a,A,n);var i=h;if(h=void 0,function(){x.push(E),E=void 0}(),p){var o=e.getNameOfDeclaration(a);o&&e.isIdentifier(o)&&(q().className=e.idText(o));var l=B(a);e.some(l)&&(q().weakSetName=Q("instances",l[0].name))}var u=e.isClassDeclaration(a)?function(n){var a=U(n);a&&(J().facts=a);8&a&&W();var i,o=e.getStaticPropertiesAndClassStaticBlock(n);if(2&a){var s=t.createTempVariable(r,!0);J().classConstructor=t.cloneNode(s),i=t.createAssignment(s,t.getInternalName(n))}var c=e.getEffectiveBaseTypeNode(n),l=!(!c||104===e.skipOuterExpressions(c.expression).kind),u=[t.updateClassDeclaration(n,void 0,n.modifiers,n.name,void 0,e.visitNodes(n.heritageClauses,I,e.isHeritageClause),V(n,l))];i&&X().unshift(i);e.some(h)&&u.push(t.createExpressionStatement(t.inlineExpressions(h)));e.some(o)&&j(u,o,t.getInternalName(n));return u}(a):function(a){var i=U(a);i&&(J().facts=i);8&i&&W();var o,l=!!(1&i),u=e.getStaticPropertiesAndClassStaticBlock(a),d=e.getEffectiveBaseTypeNode(a),f=!(!d||104===e.skipOuterExpressions(d.expression).kind),m=16777216&c.getNodeCheckFlags(a);function _(){var e=c.getNodeCheckFlags(a),n=16777216&e,i=524288&e;return t.createTempVariable(i?s:r,!!n)}2&i&&(o=_(),J().classConstructor=t.cloneNode(o));var b=t.updateClassExpression(a,e.visitNodes(a.decorators,A,e.isDecorator),a.modifiers,a.name,void 0,e.visitNodes(a.heritageClauses,I,e.isHeritageClause),V(a,f));if(e.some(u,(function(n){return e.isClassStaticBlockDeclaration(n)||!!n.initializer||p&&e.isPrivateIdentifier(n.name)}))||e.some(h)){if(l)return e.Debug.assertIsDefined(v,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),v&&h&&e.some(h)&&v.push(t.createExpressionStatement(t.inlineExpressions(h))),v&&e.some(u)&&j(v,u,t.getInternalName(a)),o?t.inlineExpressions([t.createAssignment(o,b),o]):b;var E=[];if(o||(o=_()),m){1&g||(g|=1,n.enableSubstitution(79),y=[]);var T=t.cloneNode(o);T.autoGenerateFlags&=-9,y[e.getOriginalNodeId(a)]=T}return e.setEmitFlags(b,65536|e.getEmitFlags(b)),E.push(e.startOnNewLine(t.createAssignment(o,b))),e.addRange(E,e.map(h,e.startOnNewLine)),e.addRange(E,function(n,t){for(var r=[],a=0,i=n;af&&(d||e.addRange(m,e.visitNodes(i.body.statements,A,e.isStatement,f,_-f)),f=_)}var g=t.createThis();(function(n,r,a){if(!p||!e.some(r))return;var i=q().weakSetName;e.Debug.assert(i,"weakSetName should be set in private identifier environment"),n.push(t.createExpressionStatement(function(n,t){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(t,"add"),void 0,[n])}(a,i)))})(m,l,g),j(m,c,g),i&&e.addRange(m,e.visitNodes(i.body.statements,A,e.isStatement,f));return m=t.mergeLexicalEnvironment(m,a()),e.setTextRange(t.createBlock(e.setTextRange(t.createNodeArray(m),i?i.body.statements:r.members),!0),i?i.body:void 0)}(r,s,i);if(!u)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(t.createConstructorDeclaration(void 0,void 0,null!=l?l:[],u),s||r),s))}(r,i);return m&&f.push(m),e.addRange(f,e.visitNodes(r.members,k,e.isClassElement)),e.setTextRange(t.createNodeArray(f),r.members)}function K(n){return!e.isStatic(n)&&!e.hasSyntacticModifier(e.getOriginalNode(n),128)&&(d?u<99:e.isInitializedProperty(n)||p&&e.isPrivateIdentifierClassElementDeclaration(n))}function j(n,r,a){for(var i=0,o=r;i=0;--t){var r,a=x[t];if(a)if(r=null===(n=a.privateIdentifierEnvironment)||void 0===n?void 0:n.identifiers.get(e.escapedText))return r}}function ee(a){var i=t.getGeneratedNameForNode(a),o=$(a.name);if(!o)return e.visitEachChild(a,A,n);var s=a.expression;return(e.isThisProperty(a)||e.isSuperProperty(a)||!e.isSimpleCopiableExpression(a.expression))&&(s=t.createTempVariable(r,!0),X().push(t.createBinaryExpression(s,63,e.visitNode(a.expression,A,e.isExpression)))),t.createAssignmentTargetWrapper(i,F(o,s,i,63))}function ne(n){var r=e.getTargetOfBindingOrAssignmentElement(n);if(r){var a=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(r))a=ee(r);else if(f&&e.isSuperProperty(r)&&S&&E){var i=E.classConstructor,o=E.superClassReference;if(1&E.facts)a=z(r);else if(i&&o){var s=e.isElementAccessExpression(r)?e.visitNode(r.argumentExpression,A,e.isExpression):e.isIdentifier(r.name)?t.createStringLiteralFromNode(r.name):void 0;if(s){var c=t.createTempVariable(void 0);a=t.createAssignmentTargetWrapper(c,t.createReflectSetCall(o,s,c,i))}}}if(a)return e.isAssignmentExpression(n)?t.updateBinaryExpression(n,a,n.operatorToken,e.visitNode(n.right,A,e.isExpression)):e.isSpreadElement(n)?t.updateSpreadElement(n,a):a}return e.visitNode(n,N)}function te(n){if(e.isObjectBindingOrAssignmentElement(n)&&!e.isShorthandPropertyAssignment(n)){var r=e.getTargetOfBindingOrAssignmentElement(n),a=void 0;if(r)if(e.isPrivateIdentifierPropertyAccessExpression(r))a=ee(r);else if(f&&e.isSuperProperty(r)&&S&&E){var i=E.classConstructor,o=E.superClassReference;if(1&E.facts)a=z(r);else if(i&&o){var s=e.isElementAccessExpression(r)?e.visitNode(r.argumentExpression,A,e.isExpression):e.isIdentifier(r.name)?t.createStringLiteralFromNode(r.name):void 0;if(s){var c=t.createTempVariable(void 0);a=t.createAssignmentTargetWrapper(c,t.createReflectSetCall(o,s,c,i))}}}if(e.isPropertyAssignment(n)){var l=e.getInitializerOfBindingOrAssignmentElement(n);return t.updatePropertyAssignment(n,e.visitNode(n.name,A,e.isPropertyName),a?l?t.createAssignment(a,e.visitNode(l,A)):a:e.visitNode(n.initializer,N,e.isExpression))}if(e.isSpreadAssignment(n))return t.updateSpreadAssignment(n,a||e.visitNode(n.expression,N,e.isExpression));e.Debug.assert(void 0===a,"Should not have generated a wrapped target")}return e.visitNode(n,A)}}}(Br||(Br={})),function(e){var n,t,r,a;function i(n,t,r,a){var i=!!(4096&t.getNodeCheckFlags(r)),o=[];return a.forEach((function(t,r){var a=e.unescapeLeadingUnderscores(r),s=[];s.push(n.createPropertyAssignment("get",n.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4)))),i&&s.push(n.createPropertyAssignment("set",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,n.createAssignment(e.setEmitFlags(n.createPropertyAccessExpression(e.setEmitFlags(n.createSuper(),4),a),4),n.createIdentifier("v"))))),o.push(n.createPropertyAssignment(a,n.createObjectLiteralExpression(s)))})),n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_super",48),void 0,void 0,n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"create"),void 0,[n.createNull(),n.createObjectLiteralExpression(o,!0)]))],2))}(t=n||(n={}))[t.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper",(a=r||(r={}))[a.NonTopLevel=1]="NonTopLevel",a[a.HasLexicalThis=2]="HasLexicalThis",e.transformES2017=function(n){var t,r,a,o,s=n.factory,c=n.getEmitHelperFactory,l=n.resumeLexicalEnvironment,u=n.endLexicalEnvironment,d=n.hoistVariableDeclaration,p=n.getEmitResolver(),f=n.getCompilerOptions(),m=e.getEmitScriptTarget(f),_=0,g=[],y=0,h=n.onEmitNode,v=n.onSubstituteNode;return n.onEmitNode=function(n,r,a){if(1&t&&function(e){var n=e.kind;return 256===n||170===n||168===n||171===n||172===n}(r)){var i=6144&p.getNodeCheckFlags(r);if(i!==_){var o=_;return _=i,h(n,r,a),void(_=o)}}else if(t&&g[e.getNodeId(r)]){o=_;return _=0,h(n,r,a),void(_=o)}h(n,r,a)},n.onSubstituteNode=function(n,t){if(t=v(n,t),1===n&&_)return function(n){switch(n.kind){case 205:return B(n);case 206:return U(n);case 207:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?B(t):U(t);return s.createCallExpression(s.createPropertyAccessExpression(r,"call"),void 0,Or([s.createThis()],n.arguments,!0))}return n}(n)}return n}(t);return t},e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;b(1,!1),b(2,!e.isEffectiveStrictModeSourceFile(t,f));var r=e.visitEachChild(t,L,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function b(e,n){y=n?y|e:y&~e}function E(e){return!!(y&e)}function T(){return E(2)}function S(e,n,t){var r=e&~y;if(r){b(r,!0);var a=n(t);return b(r,!1),a}return n(t)}function x(t){return e.visitEachChild(t,L,n)}function L(t){if(!(128&t.transformFlags))return t;switch(t.kind){case 131:return;case 217:return function(t){if(!E(1))return e.visitEachChild(t,L,n);return e.setOriginalNode(e.setTextRange(s.createYieldExpression(void 0,e.visitNode(t.expression,L,e.isExpression)),t),t)}(t);case 168:return S(3,C,t);case 255:return S(3,A,t);case 212:return S(3,I,t);case 213:return S(1,N,t);case 205:return a&&e.isPropertyAccessExpression(t)&&106===t.expression.kind&&a.add(t.name.escapedText),e.visitEachChild(t,L,n);case 206:return a&&106===t.expression.kind&&(o=!0),e.visitEachChild(t,L,n);case 171:case 172:case 170:case 256:case 225:return S(3,x,t);default:return e.visitEachChild(t,L,n)}}function D(t){if(e.isNodeWithPossibleHoistedDeclaration(t))switch(t.kind){case 236:return function(t){if(R(t.declarationList)){var r=O(t.declarationList,!1);return r?s.createExpressionStatement(r):void 0}return e.visitEachChild(t,L,n)}(t);case 241:return function(t){var r=t.initializer;return s.updateForStatement(t,R(r)?O(r,!1):e.visitNode(t.initializer,L,e.isForInitializer),e.visitNode(t.condition,L,e.isExpression),e.visitNode(t.incrementor,L,e.isExpression),e.visitIterationBody(t.statement,D,n))}(t);case 242:return function(t){return s.updateForInStatement(t,R(t.initializer)?O(t.initializer,!0):e.visitNode(t.initializer,L,e.isForInitializer),e.visitNode(t.expression,L,e.isExpression),e.visitIterationBody(t.statement,D,n))}(t);case 243:return function(t){return s.updateForOfStatement(t,e.visitNode(t.awaitModifier,L,e.isToken),R(t.initializer)?O(t.initializer,!0):e.visitNode(t.initializer,L,e.isForInitializer),e.visitNode(t.expression,L,e.isExpression),e.visitIterationBody(t.statement,D,n))}(t);case 291:return function(t){var a,i=new e.Set;if(k(t.variableDeclaration,i),i.forEach((function(n,t){r.has(t)&&(a||(a=new e.Set(r)),a.delete(t))})),a){var o=r;r=a;var s=e.visitEachChild(t,D,n);return r=o,s}return e.visitEachChild(t,D,n)}(t);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(t,D,n);default:return e.Debug.assertNever(t,"Unhandled node.")}return L(t)}function C(t){return s.updateMethodDeclaration(t,void 0,e.visitNodes(t.modifiers,L,e.isModifier),t.asteriskToken,t.name,void 0,void 0,e.visitParameterList(t.parameters,L,n),void 0,2&e.getFunctionFlags(t)?F(t):e.visitFunctionBody(t.body,L,n))}function A(t){return s.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,L,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,L,n),void 0,2&e.getFunctionFlags(t)?F(t):e.visitFunctionBody(t.body,L,n))}function I(t){return s.updateFunctionExpression(t,e.visitNodes(t.modifiers,L,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,L,n),void 0,2&e.getFunctionFlags(t)?F(t):e.visitFunctionBody(t.body,L,n))}function N(t){return s.updateArrowFunction(t,e.visitNodes(t.modifiers,L,e.isModifier),void 0,e.visitParameterList(t.parameters,L,n),void 0,t.equalsGreaterThanToken,2&e.getFunctionFlags(t)?F(t):e.visitFunctionBody(t.body,L,n))}function k(n,t){var r=n.name;if(e.isIdentifier(r))t.add(r.escapedText);else for(var a=0,i=r.elements;a=2&&6144&p.getNodeCheckFlags(d);if(R&&(1&t||(t|=1,n.enableSubstitution(207),n.enableSubstitution(205),n.enableSubstitution(206),n.enableEmitNotification(256),n.enableEmitNotification(168),n.enableEmitNotification(171),n.enableEmitNotification(172),n.enableEmitNotification(170),n.enableEmitNotification(236)),a.size)){var O=i(s,p,d,a);g[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(I,[O])}var w=s.createBlock(I,!0);e.setTextRange(w,d.body),R&&o&&(4096&p.getNodeCheckFlags(d)?e.addEmitHelper(w,e.advancedAsyncSuperHelper):2048&p.getNodeCheckFlags(d)&&e.addEmitHelper(w,e.asyncSuperHelper)),S=w}return r=v,y||(a=x,o=D),S}function G(n,t){return e.isBlock(n)?s.updateBlock(n,e.visitNodes(n.statements,D,e.isStatement,t)):s.converters.convertToFunctionBlock(e.visitNode(n,D,e.isConciseBody))}function B(n){return 106===n.expression.kind?e.setTextRange(s.createPropertyAccessExpression(s.createUniqueName("_super",48),n.name),n):n}function U(n){return 106===n.expression.kind?(t=n.argumentExpression,r=n,4096&_?e.setTextRange(s.createPropertyAccessExpression(s.createCallExpression(s.createUniqueName("_superIndex",48),void 0,[t]),"value"),r):e.setTextRange(s.createCallExpression(s.createUniqueName("_superIndex",48),void 0,[t]),r)):n;var t,r}},e.createSuperAccessVariableStatement=i}(Br||(Br={})),function(e){var n,t,r,a;(t=n||(n={}))[t.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper",(a=r||(r={}))[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",e.transformES2018=function(n){var t=n.factory,r=n.getEmitHelperFactory,a=n.resumeLexicalEnvironment,i=n.endLexicalEnvironment,o=n.hoistVariableDeclaration,s=n.getEmitResolver(),c=n.getCompilerOptions(),l=e.getEmitScriptTarget(c),u=n.onEmitNode;n.onEmitNode=function(n,t,r){if(1&p&&function(e){var n=e.kind;return 256===n||170===n||168===n||171===n||172===n}(t)){var a=6144&s.getNodeCheckFlags(t);if(a!==v){var i=v;return v=a,u(n,t,r),void(v=i)}}else if(p&&E[e.getNodeId(t)]){i=v;return v=0,u(n,t,r),void(v=i)}u(n,t,r)};var d=n.onSubstituteNode;n.onSubstituteNode=function(n,r){if(r=d(n,r),1===n&&v)return function(n){switch(n.kind){case 205:return W(n);case 206:return z(n);case 207:return function(n){var r=n.expression;if(e.isSuperProperty(r)){var a=e.isPropertyAccessExpression(r)?W(r):z(r);return t.createCallExpression(t.createPropertyAccessExpression(a,"call"),void 0,Or([t.createThis()],n.arguments,!0))}return n}(n)}return n}(r);return r};var p,f,m,_,g,y,h=!1,v=0,b=0,E=[];return e.chainBundle(n,(function(r){if(r.isDeclarationFile)return r;m=r;var a=function(r){var a=T(2,e.isEffectiveStrictModeSourceFile(r,c)?0:1);h=!1;var i=e.visitEachChild(r,L,n),o=e.concatenate(i.statements,_&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(_))]),s=t.updateSourceFile(i,e.setTextRange(t.createNodeArray(o),r.statements));return S(a),s}(r);return e.addEmitHelpers(a,n.readEmitHelpers()),m=void 0,_=void 0,a}));function T(e,n){var t=b;return b=3&(b&~e|n),t}function S(e){b=e}function x(n){_=e.append(_,t.createVariableDeclaration(n))}function L(e){return N(e,!1)}function D(e){return N(e,!0)}function C(e){if(131!==e.kind)return e}function A(e,n,t,r){if(function(e,n){return b!==(b&~e|n)}(t,r)){var a=T(t,r),i=e(n);return S(a),i}return e(n)}function I(t){return e.visitEachChild(t,L,n)}function N(a,i){if(!(64&a.transformFlags))return a;switch(a.kind){case 217:return function(a){if(2&f&&1&f)return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(e.visitNode(a.expression,L,e.isExpression))),a),a);return e.visitEachChild(a,L,n)}(a);case 223:return function(a){if(2&f&&1&f){if(a.asteriskToken){var i=e.visitNode(e.Debug.assertDefined(a.expression),L,e.isExpression);return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,r().createAwaitHelper(t.updateYieldExpression(a,a.asteriskToken,e.setTextRange(r().createAsyncDelegatorHelper(e.setTextRange(r().createAsyncValuesHelper(i),i)),i)))),a),a)}return e.setOriginalNode(e.setTextRange(t.createYieldExpression(void 0,w(a.expression?e.visitNode(a.expression,L,e.isExpression):t.createVoidZero())),a),a)}return e.visitEachChild(a,L,n)}(a);case 246:return function(r){if(2&f&&1&f)return t.updateReturnStatement(r,w(r.expression?e.visitNode(r.expression,L,e.isExpression):t.createVoidZero()));return e.visitEachChild(r,L,n)}(a);case 249:return function(r){if(2&f){var a=e.unwrapInnermostStatementOfLabel(r);return 243===a.kind&&a.awaitModifier?O(a,r):t.restoreEnclosingLabel(e.visitNode(a,L,e.isStatement,t.liftToBlock),r)}return e.visitEachChild(r,L,n)}(a);case 204:return function(a){if(32768&a.transformFlags){var i=function(n){for(var r,a=[],i=0,o=n;i1){for(var s=1;s=2&&6144&s.getNodeCheckFlags(o);if(_){1&p||(p|=1,n.enableSubstitution(207),n.enableSubstitution(205),n.enableSubstitution(206),n.enableEmitNotification(256),n.enableEmitNotification(168),n.enableEmitNotification(171),n.enableEmitNotification(172),n.enableEmitNotification(170),n.enableEmitNotification(236));var h=e.createSuperAccessVariableStatement(t,s,o,g);E[e.getNodeId(h)]=!0,e.insertStatementsAfterStandardPrologue(c,[h])}c.push(m),e.insertStatementsAfterStandardPrologue(c,i());var v=t.updateBlock(o.body,c);return _&&y&&(4096&s.getNodeCheckFlags(o)?e.addEmitHelper(v,e.advancedAsyncSuperHelper):2048&s.getNodeCheckFlags(o)&&e.addEmitHelper(v,e.asyncSuperHelper)),g=d,y=f,v}function j(n){var r;a();var o=0,s=[],c=null!==(r=e.visitNode(n.body,L,e.isConciseBody))&&void 0!==r?r:t.createBlock([]);e.isBlock(c)&&(o=t.copyPrologue(c.statements,s,!1,L)),e.addRange(s,H(void 0,n));var l=i();if(o>0||e.some(s)||e.some(l)){var u=t.converters.convertToFunctionBlock(c,!0);return e.insertStatementsAfterStandardPrologue(s,l),e.addRange(s,u.statements.slice(o)),t.updateBlock(u,e.setTextRange(t.createNodeArray(s),u.statements))}return c}function H(r,a){for(var i=0,o=a.parameters;i1||!!(null===(p=f[0])||void 0===p?void 0:p.dotDotDotToken),_=[n,t,a?D(a.initializer):i.createVoidZero()];if(5===s.jsx){var g=e.getOriginalNode(r);if(g&&e.isSourceFile(g)){_.push(m?i.createTrue():i.createFalse());var y=e.getLineAndCharacterOfPosition(g,d.pos);_.push(i.createObjectLiteralExpression([i.createPropertyAssignment("fileName",c()),i.createPropertyAssignment("lineNumber",i.createNumericLiteral(y.line+1)),i.createPropertyAssignment("columnNumber",i.createNumericLiteral(y.character+1))])),_.push(i.createThis())}}var h=e.setTextRange(i.createCallExpression(l(m),void 0,_),d);return u&&e.startOnNewLine(h),h}function b(n,o,c,l){var d=I(n),f=n.attributes.properties,m=e.length(f)?S(f):i.createNull(),_=void 0===a.importSpecifier?e.createJsxFactoryExpression(i,t.getEmitResolver().getJsxFactoryEntity(r),s.reactNamespace,n):u("createElement"),g=e.createExpressionForJsxElement(i,_,d,m,e.mapDefined(o,p),l);return c&&e.startOnNewLine(g),g}function E(e,n,t,r){var a;if(n&&n.length){var o=function(e){var n=y(e);return n&&i.createObjectLiteralExpression([n])}(n);o&&(a=o)}return v(u("Fragment"),a||i.createObjectLiteralExpression([]),void 0,n,t,r)}function T(n,a,o,c){var l=e.createExpressionForJsxFragment(i,t.getEmitResolver().getJsxFactoryEntity(r),t.getEmitResolver().getJsxFragmentFactoryEntity(r),s.reactNamespace,e.mapDefined(a,p),n,c);return o&&e.startOnNewLine(l),l}function S(n,t){var r=e.getEmitScriptTarget(s);return r&&r>=5?i.createObjectLiteralExpression(function(n,t){var r=e.flatten(e.spanMap(n,e.isJsxSpreadAttribute,(function(n,t){return e.map(n,(function(n){return t?(r=n,i.createSpreadAssignment(e.visitNode(r.expression,d,e.isExpression))):L(n);var r}))})));t&&r.push(t);return r}(n,t)):function(n,t){var r=e.flatten(e.spanMap(n,e.isJsxSpreadAttribute,(function(n,t){return t?e.map(n,x):i.createObjectLiteralExpression(e.map(n,L))})));e.isJsxSpreadAttribute(n[0])&&r.unshift(i.createObjectLiteralExpression());t&&r.push(i.createObjectLiteralExpression([t]));return e.singleOrUndefined(r)||o().createAssignHelper(r)}(n,t)}function x(n){return e.visitNode(n.expression,d,e.isExpression)}function L(n){var t=function(n){var t=n.name,r=e.idText(t);return/^[A-Za-z_]\w*$/.test(r)?t:i.createStringLiteral(r)}(n),r=D(n.initializer);return i.createPropertyAssignment(t,r)}function D(n){if(void 0===n)return i.createTrue();if(10===n.kind){var t=void 0!==n.singleQuote?n.singleQuote:!e.isStringDoubleQuoted(n,r),a=i.createStringLiteral((o=n.text,((s=A(o))===o?void 0:s)||n.text),t);return e.setTextRange(a,n)}return 287===n.kind?void 0===n.expression?i.createTrue():e.visitNode(n.expression,d,e.isExpression):e.Debug.failBadSyntaxKind(n);var o,s}function C(e,n){var t=A(n);return void 0===e?t:e+" "+t}function A(t){return t.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(function(t,r,a,i,o,s,c){if(o)return e.utf16EncodeAsString(parseInt(o,10));if(s)return e.utf16EncodeAsString(parseInt(s,16));var l=n.get(c);return l?e.utf16EncodeAsString(l):t}))}function I(n){if(277===n.kind)return I(n.openingElement);var t=n.tagName;return e.isIdentifier(t)&&e.isIntrinsicJsxName(t.escapedText)?i.createStringLiteral(e.idText(t)):e.createExpressionFromEntityName(i,t)}function N(n){var t=e.visitNode(n.expression,d,e.isExpression);return n.dotDotDotToken?i.createSpreadElement(t):t}};var n=new e.Map(e.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}(Br||(Br={})),function(e){e.transformES2016=function(n){var t=n.factory,r=n.hoistVariableDeclaration;return e.chainBundle(n,(function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,a,n)}));function a(i){return 256&i.transformFlags?220===i.kind?function(i){switch(i.operatorToken.kind){case 67:return function(n){var i,o,s=e.visitNode(n.left,a,e.isExpression),c=e.visitNode(n.right,a,e.isExpression);if(e.isElementAccessExpression(s)){var l=t.createTempVariable(r),u=t.createTempVariable(r);i=e.setTextRange(t.createElementAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),e.setTextRange(t.createAssignment(u,s.argumentExpression),s.argumentExpression)),s),o=e.setTextRange(t.createElementAccessExpression(l,u),s)}else if(e.isPropertyAccessExpression(s)){l=t.createTempVariable(r);i=e.setTextRange(t.createPropertyAccessExpression(e.setTextRange(t.createAssignment(l,s.expression),s.expression),s.name),s),o=e.setTextRange(t.createPropertyAccessExpression(l,s.name),s)}else i=s,o=s;return e.setTextRange(t.createAssignment(i,e.setTextRange(t.createGlobalMethodCall("Math","pow",[o,c]),n)),n)}(i);case 42:return function(n){var r=e.visitNode(n.left,a,e.isExpression),i=e.visitNode(n.right,a,e.isExpression);return e.setTextRange(t.createGlobalMethodCall("Math","pow",[r,i]),n)}(i);default:return e.visitEachChild(i,a,n)}}(i):e.visitEachChild(i,a,n):i}}}(Br||(Br={})),function(e){var n,t,r,a,i,o,s,c,l,u,d,p;function f(e,n){return{kind:e,expression:n}}(t=n||(n={}))[t.CapturedThis=1]="CapturedThis",t[t.BlockScopedBindings=2]="BlockScopedBindings",(a=r||(r={}))[a.Body=1]="Body",a[a.Initializer=2]="Initializer",(o=i||(i={}))[o.ToOriginal=0]="ToOriginal",o[o.ToOutParameter=1]="ToOutParameter",(c=s||(s={}))[c.Break=2]="Break",c[c.Continue=4]="Continue",c[c.Return=8]="Return",(u=l||(l={}))[u.None=0]="None",u[u.Function=1]="Function",u[u.ArrowFunction=2]="ArrowFunction",u[u.AsyncFunctionBody=4]="AsyncFunctionBody",u[u.NonStaticClassElement=8]="NonStaticClassElement",u[u.CapturesThis=16]="CapturesThis",u[u.ExportedVariableStatement=32]="ExportedVariableStatement",u[u.TopLevel=64]="TopLevel",u[u.Block=128]="Block",u[u.IterationStatement=256]="IterationStatement",u[u.IterationStatementBlock=512]="IterationStatementBlock",u[u.IterationContainer=1024]="IterationContainer",u[u.ForStatement=2048]="ForStatement",u[u.ForInOrForOfStatement=4096]="ForInOrForOfStatement",u[u.ConstructorWithCapturedSuper=8192]="ConstructorWithCapturedSuper",u[u.StaticInitializer=16384]="StaticInitializer",u[u.AncestorFactsMask=32767]="AncestorFactsMask",u[u.BlockScopeIncludes=0]="BlockScopeIncludes",u[u.BlockScopeExcludes=7104]="BlockScopeExcludes",u[u.SourceFileIncludes=64]="SourceFileIncludes",u[u.SourceFileExcludes=8064]="SourceFileExcludes",u[u.FunctionIncludes=65]="FunctionIncludes",u[u.FunctionExcludes=32670]="FunctionExcludes",u[u.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",u[u.AsyncFunctionBodyExcludes=32662]="AsyncFunctionBodyExcludes",u[u.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",u[u.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",u[u.ConstructorIncludes=73]="ConstructorIncludes",u[u.ConstructorExcludes=32662]="ConstructorExcludes",u[u.DoOrWhileStatementIncludes=1280]="DoOrWhileStatementIncludes",u[u.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",u[u.ForStatementIncludes=3328]="ForStatementIncludes",u[u.ForStatementExcludes=5056]="ForStatementExcludes",u[u.ForInOrForOfStatementIncludes=5376]="ForInOrForOfStatementIncludes",u[u.ForInOrForOfStatementExcludes=3008]="ForInOrForOfStatementExcludes",u[u.BlockIncludes=128]="BlockIncludes",u[u.BlockExcludes=6976]="BlockExcludes",u[u.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",u[u.IterationStatementBlockExcludes=7104]="IterationStatementBlockExcludes",u[u.StaticInitializerIncludes=16449]="StaticInitializerIncludes",u[u.StaticInitializerExcludes=32670]="StaticInitializerExcludes",u[u.NewTarget=32768]="NewTarget",u[u.CapturedLexicalThis=65536]="CapturedLexicalThis",u[u.SubtreeFactsMask=-32768]="SubtreeFactsMask",u[u.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",u[u.FunctionSubtreeExcludes=98304]="FunctionSubtreeExcludes",(p=d||(d={}))[p.None=0]="None",p[p.UnpackedSpread=1]="UnpackedSpread",p[p.PackedSpread=2]="PackedSpread",e.transformES2015=function(n){var t,r,a,i,o,s,c=n.factory,l=n.getEmitHelperFactory,u=n.startLexicalEnvironment,d=n.resumeLexicalEnvironment,p=n.endLexicalEnvironment,m=n.hoistVariableDeclaration,_=n.getCompilerOptions(),g=n.getEmitResolver(),y=n.onSubstituteNode,h=n.onEmitNode;function v(n){i=e.append(i,c.createVariableDeclaration(n))}return n.onEmitNode=function(n,t,r){if(1&s&&e.isFunctionLike(t)){var a=b(32670,8&e.getEmitFlags(t)?81:65);return h(n,t,r),void E(a,0,0)}h(n,t,r)},n.onSubstituteNode=function(n,t){if(t=y(n,t),1===n)return function(n){switch(n.kind){case 79:return function(n){if(2&s&&!e.isInternalName(n)){var t=g.getReferencedDeclarationWithCollidingName(n);if(t&&(!e.isClassLike(t)||!function(n,t){var r=e.getParseTreeNode(t);if(!r||r===n||r.end<=n.pos||r.pos>=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);for(;r;){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}(t,n)))return e.setTextRange(c.getGeneratedNameForNode(e.getNameOfDeclaration(t)),n)}return n}(n);case 108:return function(n){if(1&s&&16&a)return e.setTextRange(c.createUniqueName("_this",48),n);return n}(n)}return n}(t);if(e.isIdentifier(t))return function(n){if(2&s&&!e.isInternalName(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 202:case 256:case 259:case 253:return e.parent.name===e&&g.isDeclarationWithCollidingName(e.parent)}return!1}(t))return e.setTextRange(c.getGeneratedNameForNode(t),n)}return n}(t);return t},e.chainBundle(n,(function(o){if(o.isDeclarationFile)return o;t=o,r=o.text;var s=function(n){var t=b(8064,64),r=[],a=[];u();var o=c.copyPrologue(n.statements,r,!1,x);e.addRange(a,e.visitNodes(n.statements,x,e.isStatement,o)),i&&a.push(c.createVariableStatement(void 0,c.createVariableDeclarationList(i)));return c.mergeLexicalEnvironment(r,p()),U(r,n),E(t,0,0),c.updateSourceFile(n,e.setTextRange(c.createNodeArray(e.concatenate(r,a)),n.statements))}(o);return e.addEmitHelpers(s,n.readEmitHelpers()),t=void 0,r=void 0,i=void 0,a=0,s}));function b(e,n){var t=a;return a=32767&(a&~e|n),t}function E(e,n,t){a=-32768&(a&~n|t)|e}function T(e){return!!(8192&a)&&246===e.kind&&!e.expression}function S(n){return!!(512&n.transformFlags)||void 0!==o||8192&a&&function(n){return 2097152&n.transformFlags&&(e.isReturnStatement(n)||e.isIfStatement(n)||e.isWithStatement(n)||e.isSwitchStatement(n)||e.isCaseBlock(n)||e.isCaseClause(n)||e.isDefaultClause(n)||e.isTryStatement(n)||e.isCatchClause(n)||e.isLabeledStatement(n)||e.isIterationStatement(n,!1)||e.isBlock(n))}(n)||e.isIterationStatement(n,!1)&&pe(n)||!!(33554432&e.getEmitFlags(n))}function x(e){return S(e)?A(e,!1):e}function L(e){return S(e)?A(e,!0):e}function D(n){if(S(n)){var t=e.getOriginalNode(n);if(e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)){var r=b(32670,16449),a=A(n,!1);return E(r,98304,0),a}return A(n,!1)}return n}function C(e){return 106===e.kind?ke(!0):x(e)}function A(r,i){switch(r.kind){case 124:return;case 256:return function(n){var t=c.createVariableDeclaration(c.getLocalName(n,!0),void 0,void 0,k(n));e.setOriginalNode(t,n);var r=[],a=c.createVariableStatement(void 0,c.createVariableDeclarationList([t]));if(e.setOriginalNode(a,n),e.setTextRange(a,n),e.startOnNewLine(a),r.push(a),e.hasSyntacticModifier(n,1)){var i=e.hasSyntacticModifier(n,512)?c.createExportDefault(c.getLocalName(n)):c.createExternalModuleExport(c.getLocalName(n));e.setOriginalNode(i,a),r.push(i)}var o=e.getEmitFlags(n);4194304&o||(r.push(c.createEndOfDeclarationMarker(n)),e.setEmitFlags(a,4194304|o));return e.singleOrMany(r)}(r);case 225:return function(e){return k(e)}(r);case 163:return function(n){return n.dotDotDotToken?void 0:e.isBindingPattern(n.name)?e.setOriginalNode(e.setTextRange(c.createParameterDeclaration(void 0,void 0,void 0,c.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?e.setOriginalNode(e.setTextRange(c.createParameterDeclaration(void 0,void 0,void 0,n.name,void 0,void 0,void 0),n),n):n}(r);case 255:return function(t){var r=o;o=void 0;var i=b(32670,65),s=e.visitParameterList(t.parameters,x,n),l=q(t),u=32768&a?c.getLocalName(t):t.name;return E(i,98304,0),o=r,c.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,x,e.isModifier),t.asteriskToken,u,void 0,s,void 0,l)}(r);case 213:return function(t){8192&t.transformFlags&&!(16384&a)&&(a|=65536);var r=o;o=void 0;var i=b(15232,66),s=c.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(t.parameters,x,n),void 0,q(t));return e.setTextRange(s,t),e.setOriginalNode(s,t),e.setEmitFlags(s,8),E(i,0,0),o=r,s}(r);case 212:return function(t){var r=262144&e.getEmitFlags(t)?b(32662,69):b(32670,65),i=o;o=void 0;var s=e.visitParameterList(t.parameters,x,n),l=q(t),u=32768&a?c.getLocalName(t):t.name;return E(r,98304,0),o=i,c.updateFunctionExpression(t,void 0,t.asteriskToken,u,void 0,s,void 0,l)}(r);case 253:return Q(r);case 79:return N(r);case 254:return function(t){if(3&t.flags||262144&t.transformFlags){3&t.flags&&Re();var r=e.flatMap(t.declarations,1&t.flags?Y:Q),a=c.createVariableDeclarationList(r);return e.setOriginalNode(a,t),e.setTextRange(a,t),e.setCommentRange(a,t),262144&t.transformFlags&&(e.isBindingPattern(t.declarations[0].name)||e.isBindingPattern(e.last(t.declarations).name))&&e.setSourceMapRange(a,function(n){for(var t=-1,r=-1,a=0,i=n;a0&&o.push(c.createStringLiteral(i.literal.text)),t=c.createCallExpression(c.createPropertyAccessExpression(t,"concat"),void 0,o)}return e.setTextRange(t,n)}(r);case 224:return function(n){return e.visitNode(n.expression,x,e.isExpression)}(r);case 106:return ke(!1);case 108:return function(e){2&a&&!(16384&a)&&(a|=65536);if(o)return 2&a?(o.containsLexicalThis=!0,e):o.thisName||(o.thisName=c.createUniqueName("this"));return e}(r);case 230:return function(e){if(103===e.keywordToken&&"target"===e.name.escapedText)return a|=32768,c.createUniqueName("_newTarget",48);return e}(r);case 168:return function(n){e.Debug.assert(!e.isComputedPropertyName(n.name));var t=J(n,e.moveRangePos(n,-1),void 0,void 0);return e.setEmitFlags(t,512|e.getEmitFlags(t)),e.setTextRange(c.createPropertyAssignment(n.name,t),n)}(r);case 171:case 172:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=o;o=void 0;var a,i=b(32670,65),s=e.visitParameterList(t.parameters,x,n),l=q(t);a=171===t.kind?c.updateGetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,s,t.type,l):c.updateSetAccessorDeclaration(t,t.decorators,t.modifiers,t.name,s,l);return E(i,98304,0),o=r,a}(r);case 236:return function(t){var r,a=b(0,e.hasSyntacticModifier(t,1)?32:0);if(!o||3&t.declarationList.flags||function(n){return 1===n.declarationList.declarations.length&&!!n.declarationList.declarations[0].initializer&&!!(33554432&e.getEmitFlags(n.declarationList.declarations[0].initializer))}(t))r=e.visitEachChild(t,x,n);else{for(var i=void 0,s=0,l=t.declarationList.declarations;s0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(c.createVariableStatement(void 0,c.createVariableDeclarationList(e.flattenDestructuringBinding(r,x,n,0,c.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(c.createExpressionStatement(c.createAssignment(c.getGeneratedNameForNode(r),e.visitNode(i,x,e.isExpression))),1048576)),!0)}function G(n,t,r,a){a=e.visitNode(a,x,e.isExpression);var i=c.createIfStatement(c.createTypeCheck(c.cloneNode(r),"undefined"),e.setEmitFlags(e.setTextRange(c.createBlock([c.createExpressionStatement(e.setEmitFlags(e.setTextRange(c.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(c.cloneNode(r),r),r.parent),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function B(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,a))return!1;var s=79===o.name.kind?e.setParent(e.setTextRange(c.cloneNode(o.name),o.name),o.name.parent):c.createTempVariable(void 0);e.setEmitFlags(s,48);var l=79===o.name.kind?c.cloneNode(o.name):s,u=r.parameters.length-1,d=c.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(s,void 0,void 0,c.createArrayLiteralExpression([]))])),o),1048576));var p=c.createForStatement(e.setTextRange(c.createVariableDeclarationList([c.createVariableDeclaration(d,void 0,void 0,c.createNumericLiteral(u))]),o),e.setTextRange(c.createLessThan(d,c.createPropertyAccessExpression(c.createIdentifier("arguments"),"length")),o),e.setTextRange(c.createPostfixIncrement(d),o),c.createBlock([e.startOnNewLine(e.setTextRange(c.createExpressionStatement(c.createAssignment(c.createElementAccessExpression(l,0===u?d:c.createSubtract(d,c.createNumericLiteral(u))),c.createElementAccessExpression(c.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(p,1048576),e.startOnNewLine(p),i.push(p),79!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(c.createVariableStatement(void 0,c.createVariableDeclarationList(e.flattenDestructuringBinding(o,x,n,0,l))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function U(e,n){return!!(65536&a&&213!==n.kind)&&(V(e,n,c.createThis()),!0)}function V(t,r,a){1&s||(s|=1,n.enableSubstitution(108),n.enableEmitNotification(170),n.enableEmitNotification(168),n.enableEmitNotification(171),n.enableEmitNotification(172),n.enableEmitNotification(213),n.enableEmitNotification(212),n.enableEmitNotification(255));var i=c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(c.createUniqueName("_this",48),void 0,void 0,a)]));e.setEmitFlags(i,1050112),e.setSourceMapRange(i,r),e.insertStatementAfterCustomPrologue(t,i)}function K(n,t,r){if(32768&a){var i=void 0;switch(t.kind){case 213:return n;case 168:case 171:case 172:i=c.createVoidZero();break;case 170:i=c.createPropertyAccessExpression(e.setEmitFlags(c.createThis(),4),"constructor");break;case 255:case 212:i=c.createConditionalExpression(c.createLogicalAnd(e.setEmitFlags(c.createThis(),4),c.createBinaryExpression(e.setEmitFlags(c.createThis(),4),102,c.getLocalName(t))),void 0,c.createPropertyAccessExpression(e.setEmitFlags(c.createThis(),4),"constructor"),void 0,c.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(c.createUniqueName("_newTarget",48),void 0,void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function j(n){return e.setTextRange(c.createEmptyStatement(),n)}function H(t,r,a){var i,o=e.getCommentRange(r),s=e.getSourceMapRange(r),l=J(r,r,void 0,a),u=e.visitNode(r.name,x,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&e.getUseDefineForClassFields(n.getCompilerOptions())){var d=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?c.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;i=c.createObjectDefinePropertyCall(t,d,c.createPropertyDescriptor({value:l,enumerable:!1,writable:!0,configurable:!0}))}else{var p=e.createMemberAccessForPropertyName(c,t,u,r.name);i=c.createAssignment(p,l)}e.setEmitFlags(l,1536),e.setSourceMapRange(l,s);var f=e.setTextRange(c.createExpressionStatement(i),r);return e.setOriginalNode(f,r),e.setCommentRange(f,o),e.setEmitFlags(f,48),f}function W(n,t,r){var a=c.createExpressionStatement(z(n,t,r,!1));return e.setEmitFlags(a,1536),e.setSourceMapRange(a,e.getSourceMapRange(t.firstAccessor)),a}function z(n,t,r,a){var i=t.firstAccessor,o=t.getAccessor,s=t.setAccessor,l=e.setParent(e.setTextRange(c.cloneNode(n),n),n.parent);e.setEmitFlags(l,1568),e.setSourceMapRange(l,i.name);var u=e.visitNode(i.name,x,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var d=e.createExpressionForPropertyName(c,u);e.setEmitFlags(d,1552),e.setSourceMapRange(d,i.name);var p=[];if(o){var f=J(o,void 0,void 0,r);e.setSourceMapRange(f,e.getSourceMapRange(o)),e.setEmitFlags(f,512);var m=c.createPropertyAssignment("get",f);e.setCommentRange(m,e.getCommentRange(o)),p.push(m)}if(s){var _=J(s,void 0,void 0,r);e.setSourceMapRange(_,e.getSourceMapRange(s)),e.setEmitFlags(_,512);var g=c.createPropertyAssignment("set",_);e.setCommentRange(g,e.getCommentRange(s)),p.push(g)}p.push(c.createPropertyAssignment("enumerable",o||s?c.createFalse():c.createTrue()),c.createPropertyAssignment("configurable",c.createTrue()));var y=c.createCallExpression(c.createPropertyAccessExpression(c.createIdentifier("Object"),"defineProperty"),void 0,[l,d,c.createObjectLiteralExpression(p,!0)]);return a&&e.startOnNewLine(y),y}function J(t,r,i,s){var l=o;o=void 0;var u=s&&e.isClassLike(s)&&!e.isStatic(t)?b(32670,73):b(32670,65),d=e.visitParameterList(t.parameters,x,n),p=q(t);return 32768&a&&!i&&(255===t.kind||212===t.kind)&&(i=c.getGeneratedNameForNode(t)),E(u,98304,0),o=l,e.setOriginalNode(e.setTextRange(c.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,p),r),t)}function q(n){var r,a,i,o=!1,s=!1,l=[],u=[],f=n.body;if(d(),e.isBlock(f)&&(i=c.copyStandardPrologue(f.statements,l,!1),i=c.copyCustomPrologue(f.statements,u,i,x,e.isHoistedFunction),i=c.copyCustomPrologue(f.statements,u,i,x,e.isHoistedVariableStatement)),o=P(u,n)||o,o=B(u,n,!1)||o,e.isBlock(f))i=c.copyCustomPrologue(f.statements,u,i,x),r=f.statements,e.addRange(u,e.visitNodes(f.statements,x,e.isStatement,i)),!o&&f.multiLine&&(o=!0);else{e.Debug.assert(213===n.kind),r=e.moveRangeEnd(f,-1);var m=n.equalsGreaterThanToken;e.nodeIsSynthesized(m)||e.nodeIsSynthesized(f)||(e.rangeEndIsOnSameLineAsRangeStart(m,f,t)?s=!0:o=!0);var _=e.visitNode(f,x,e.isExpression),g=c.createReturnStatement(_);e.setTextRange(g,f),e.moveSyntheticComments(g,f),e.setEmitFlags(g,1440),u.push(g),a=f}if(c.mergeLexicalEnvironment(l,p()),K(l,n,!1),U(l,n),e.some(l)&&(o=!0),u.unshift.apply(u,l),e.isBlock(f)&&e.arrayIsEqualTo(u,f.statements))return f;var y=c.createBlock(e.setTextRange(c.createNodeArray(u),r),o);return e.setTextRange(y,n.body),!o&&s&&e.setEmitFlags(y,1),a&&e.setTokenSourceMapRange(y,19,a),e.setOriginalNode(y,n.body),y}function X(t,r){return e.isDestructuringAssignment(t)?e.flattenDestructuringAssignment(t,x,n,0,!r):27===t.operatorToken.kind?c.updateBinaryExpression(t,e.visitNode(t.left,L,e.isExpression),t.operatorToken,e.visitNode(t.right,r?L:x,e.isExpression)):e.visitEachChild(t,x,n)}function Y(t){var r=t.name;return e.isBindingPattern(r)?Q(t):!t.initializer&&function(e){var n=g.getNodeCheckFlags(e),t=262144&n,r=524288&n;return!(64&a||t&&r&&512&a)&&!(4096&a)&&(!g.isDeclarationWithCollidingName(e)||r&&!t&&!(6144&a))}(t)?c.updateVariableDeclaration(t,t.name,void 0,void 0,c.createVoidZero()):e.visitEachChild(t,x,n)}function Q(t){var r,a=b(32,0);return r=e.isBindingPattern(t.name)?e.flattenDestructuringBinding(t,x,n,0,void 0,!!(32&a)):e.visitEachChild(t,x,n),E(a,0,0),r}function Z(n){o.labels.set(e.idText(n.label),!0)}function $(n){o.labels.set(e.idText(n.label),!1)}function ee(t,r,i,s,l){var d=b(t,r),f=function(t,r,i,s){if(!pe(t)){var l=void 0;o&&(l=o.allowedNonLabeledJumps,o.allowedNonLabeledJumps=6);var d=s?s(t,r,void 0,i):c.restoreEnclosingLabel(e.isForStatement(t)?function(n){return c.updateForStatement(n,e.visitNode(n.initializer,L,e.isForInitializer),e.visitNode(n.condition,x,e.isExpression),e.visitNode(n.incrementor,L,e.isExpression),e.visitNode(n.statement,x,e.isStatement,c.liftToBlock))}(t):e.visitEachChild(t,x,n),r,o&&$);return o&&(o.allowedNonLabeledJumps=l),d}var f=function(n){var t;switch(n.kind){case 241:case 242:case 243:var r=n.initializer;r&&254===r.kind&&(t=r)}var a=[],i=[];if(t&&3&e.getCombinedNodeFlags(t))for(var s=ue(n),c=0,l=t.declarations;c=81&&t<=116)return e.setTextRange(a.createStringLiteralFromNode(n),n)}}}(Br||(Br={})),function(e){var n,t,r,a,i,o,s,c,l,u;(t=n||(n={}))[t.Nop=0]="Nop",t[t.Statement=1]="Statement",t[t.Assign=2]="Assign",t[t.Break=3]="Break",t[t.BreakWhenTrue=4]="BreakWhenTrue",t[t.BreakWhenFalse=5]="BreakWhenFalse",t[t.Yield=6]="Yield",t[t.YieldStar=7]="YieldStar",t[t.Return=8]="Return",t[t.Throw=9]="Throw",t[t.Endfinally=10]="Endfinally",(a=r||(r={}))[a.Open=0]="Open",a[a.Close=1]="Close",(o=i||(i={}))[o.Exception=0]="Exception",o[o.With=1]="With",o[o.Switch=2]="Switch",o[o.Loop=3]="Loop",o[o.Labeled=4]="Labeled",(c=s||(s={}))[c.Try=0]="Try",c[c.Catch=1]="Catch",c[c.Finally=2]="Finally",c[c.Done=3]="Done",(u=l||(l={}))[u.Next=0]="Next",u[u.Throw=1]="Throw",u[u.Return=2]="Return",u[u.Break=3]="Break",u[u.Yield=4]="Yield",u[u.YieldStar=5]="YieldStar",u[u.Catch=6]="Catch",u[u.Endfinally=7]="Endfinally",e.transformGenerators=function(n){var t,r,a,i,o,s,c,l,u,d,p=n.factory,f=n.getEmitHelperFactory,m=n.resumeLexicalEnvironment,_=n.endLexicalEnvironment,g=n.hoistFunctionDeclaration,y=n.hoistVariableDeclaration,h=n.getCompilerOptions(),v=e.getEmitScriptTarget(h),b=n.getEmitResolver(),E=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=E(n,a),1===n)return function(n){if(e.isIdentifier(n))return function(n){if(!e.isGeneratedIdentifier(n)&&t&&t.has(e.idText(n))){var a=e.getOriginalNode(n);if(e.isIdentifier(a)&&a.parent){var i=b.getReferencedValueDeclaration(a);if(i){var o=r[e.getOriginalNodeId(i)];if(o){var s=e.setParent(e.setTextRange(p.cloneNode(o),o),o.parent);return e.setSourceMapRange(s,n),e.setCommentRange(s,n),s}}}}return n}(n);return n}(a);return a};var T,S,x,L,D,C,A,I,N,k,R,O,w=1,M=0,P=0;return e.chainBundle(n,(function(t){if(t.isDeclarationFile||!(1024&t.transformFlags))return t;var r=e.visitEachChild(t,F,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function F(t){var r=t.transformFlags;return i?function(t){switch(t.kind){case 239:case 240:return function(t){return i?(ie(),t=e.visitEachChild(t,F,n),se(),t):e.visitEachChild(t,F,n)}(t);case 248:return function(t){i&&ne({kind:2,isScript:!0,breakLabel:-1});t=e.visitEachChild(t,F,n),i&&ce();return t}(t);case 249:return function(t){i&&ne({kind:4,isScript:!0,labelText:e.idText(t.label),breakLabel:-1});t=e.visitEachChild(t,F,n),i&&le();return t}(t);default:return G(t)}}(t):a?G(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?function(n){switch(n.kind){case 255:return B(n);case 212:return U(n);default:return e.Debug.failBadSyntaxKind(n)}}(t):1024&r?e.visitEachChild(t,F,n):t}function G(t){switch(t.kind){case 255:return B(t);case 212:return U(t);case 171:case 172:return function(t){var r=a,o=i;return a=!1,i=!1,t=e.visitEachChild(t,F,n),a=r,i=o,t}(t);case 236:return function(n){if(524288&n.transformFlags)return void J(n.declarationList);if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t0?p.inlineExpressions(e.map(c,q)):void 0,e.visitNode(t.condition,F,e.isExpression),e.visitNode(t.incrementor,F,e.isExpression),e.visitIterationBody(t.statement,F,n))}else t=e.visitEachChild(t,F,n);i&&se();return t}(t);case 242:return function(t){i&&ie();var r=t.initializer;if(e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a0)return he(r,t)}return e.visitEachChild(t,F,n)}(t);case 244:return function(t){if(i){var r=_e(t.label&&e.idText(t.label));if(r>0)return he(r,t)}return e.visitEachChild(t,F,n)}(t);case 246:return function(n){return t=e.visitNode(n.expression,F,e.isExpression),r=n,e.setTextRange(p.createReturnStatement(p.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),r);var t,r}(t);default:return 524288&t.transformFlags?function(t){switch(t.kind){case 220:return function(t){var r=e.getExpressionAssociativity(t);switch(r){case 0:return function(t){if(X(t.right))return e.isLogicalOperator(t.operatorToken.kind)?function(n){var t=$(),r=Z();Ee(r,e.visitNode(n.left,F,e.isExpression),n.left),55===n.operatorToken.kind?xe(t,r,n.left):Se(t,r,n.left);return Ee(r,e.visitNode(n.right,F,e.isExpression),n.right),ee(t),r}(t):27===t.operatorToken.kind?K(t):p.updateBinaryExpression(t,Q(e.visitNode(t.left,F,e.isExpression)),t.operatorToken,e.visitNode(t.right,F,e.isExpression));return e.visitEachChild(t,F,n)}(t);case 1:return function(t){var r=t.left,a=t.right;if(X(a)){var i=void 0;switch(r.kind){case 205:i=p.updatePropertyAccessExpression(r,Q(e.visitNode(r.expression,F,e.isLeftHandSideExpression)),r.name);break;case 206:i=p.updateElementAccessExpression(r,Q(e.visitNode(r.expression,F,e.isLeftHandSideExpression)),Q(e.visitNode(r.argumentExpression,F,e.isExpression)));break;default:i=e.visitNode(r,F,e.isExpression)}var o=t.operatorToken.kind;return e.isCompoundAssignment(o)?e.setTextRange(p.createAssignment(i,e.setTextRange(p.createBinaryExpression(Q(i),e.getNonAssignmentOperatorForCompoundAssignment(o),e.visitNode(a,F,e.isExpression)),t)),t):p.updateBinaryExpression(t,i,t.operatorToken,e.visitNode(a,F,e.isExpression))}return e.visitEachChild(t,F,n)}(t);default:return e.Debug.assertNever(r)}}(t);case 349:return function(n){for(var t=[],r=0,a=n.elements;r0&&(Le(1,[p.createExpressionStatement(p.inlineExpressions(t))]),t=[]),t.push(e.visitNode(i,F,e.isExpression)))}return p.inlineExpressions(t)}(t);case 221:return function(t){if(X(t.whenTrue)||X(t.whenFalse)){var r=$(),a=$(),i=Z();return xe(r,e.visitNode(t.condition,F,e.isExpression),t.condition),Ee(i,e.visitNode(t.whenTrue,F,e.isExpression),t.whenTrue),Te(a),ee(r),Ee(i,e.visitNode(t.whenFalse,F,e.isExpression),t.whenFalse),ee(a),i}return e.visitEachChild(t,F,n)}(t);case 223:return function(n){var t=$(),r=e.visitNode(n.expression,F,e.isExpression);if(n.asteriskToken){!function(e,n){Le(7,[e],n)}(8388608&e.getEmitFlags(n.expression)?r:e.setTextRange(f().createValuesHelper(r),n),n)}else!function(e,n){Le(6,[e],n)}(r,n);return ee(t),function(n){return e.setTextRange(p.createCallExpression(p.createPropertyAccessExpression(L,"sent"),void 0,[]),n)}(n)}(t);case 203:return function(e){return j(e.elements,void 0,void 0,e.multiLine)}(t);case 204:return function(n){var t=n.properties,r=n.multiLine,a=Y(t),i=Z();Ee(i,p.createObjectLiteralExpression(e.visitNodes(t,F,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,s,[],a);return o.push(r?e.startOnNewLine(e.setParent(e.setTextRange(p.cloneNode(i),i),i.parent)):i),p.inlineExpressions(o);function s(t,a){X(a)&&t.length>0&&(be(p.createExpressionStatement(p.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(p,n,a,i),s=e.visitNode(o,F,e.isExpression);return s&&(r&&e.startOnNewLine(s),t.push(s)),t}}(t);case 206:return function(t){if(X(t.argumentExpression))return p.updateElementAccessExpression(t,Q(e.visitNode(t.expression,F,e.isLeftHandSideExpression)),e.visitNode(t.argumentExpression,F,e.isExpression));return e.visitEachChild(t,F,n)}(t);case 207:return function(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,X)){var r=p.createCallBinding(t.expression,y,v,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(p.createFunctionApplyCall(Q(e.visitNode(a,F,e.isLeftHandSideExpression)),i,j(t.arguments)),t),t)}return e.visitEachChild(t,F,n)}(t);case 208:return function(t){if(e.forEach(t.arguments,X)){var r=p.createCallBinding(p.createPropertyAccessExpression(t.expression,"bind"),y),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(p.createNewExpression(p.createFunctionApplyCall(Q(e.visitNode(a,F,e.isExpression)),i,j(t.arguments,p.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,F,n)}(t);default:return e.visitEachChild(t,F,n)}}(t):2098176&t.transformFlags?e.visitEachChild(t,F,n):t}}function B(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(p.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,F,n),void 0,V(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,F,n),a=r,i=o}return a?void g(t):t}function U(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(p.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,F,n),void 0,V(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,F,n),a=r,i=o}return t}function V(n){var t=[],r=a,g=i,y=o,h=s,v=c,b=l,E=u,G=d,B=w,U=T,V=S,K=x,j=L;a=!0,i=!1,o=void 0,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,w=1,T=void 0,S=void 0,x=void 0,L=p.createTempVariable(void 0),m();var W=p.copyPrologue(n.statements,t,!1,F);H(n.statements,W);var z=function(){M=0,P=0,D=void 0,C=!1,A=!1,I=void 0,N=void 0,k=void 0,R=void 0,O=void 0;var n=function(){if(T){for(var n=0;n0)),524288))}();return e.insertStatementsAfterStandardPrologue(t,_()),t.push(p.createReturnStatement(z)),a=r,i=g,o=y,s=h,c=v,l=b,u=E,d=G,w=B,T=U,S=V,x=K,L=j,e.setTextRange(p.createBlock(t,n.multiLine),n)}function K(n){var t=[];return r(n.left),r(n.right),p.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(X(n)&&t.length>0&&(Le(1,[p.createExpressionStatement(p.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,F,e.isExpression)))}}function j(n,t,r,a){var i,o=Y(n);if(o>0){i=Z();var s=e.visitNodes(n,F,e.isExpression,0,o);Ee(i,p.createArrayLiteralExpression(t?Or([t],s,!0):s)),t=void 0}var c=e.reduceLeft(n,(function(n,r){if(X(r)&&n.length>0){var o=void 0!==i;i||(i=Z()),Ee(i,o?p.createArrayConcatCall(i,[p.createArrayLiteralExpression(n,a)]):p.createArrayLiteralExpression(t?Or([t],n,!0):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,F,e.isExpression)),n}),[],o);return i?p.createArrayConcatCall(i,[p.createArrayLiteralExpression(c,a)]):e.setTextRange(p.createArrayLiteralExpression(t?Or([t],c,!0):c,a),r)}function H(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r0?Te(t,n):be(n)}(a);case 245:return function(n){var t=me(n.label?e.idText(n.label):void 0);t>0?Te(t,n):be(n)}(a);case 246:return function(n){t=e.visitNode(n.expression,F,e.isExpression),r=n,Le(8,[t],r);var t,r}(a);case 247:return function(n){X(n)?(t=Q(e.visitNode(n.expression,F,e.isExpression)),r=$(),a=$(),ee(r),ne({kind:1,expression:t,startLabel:r,endLabel:a}),W(n.statement),e.Debug.assert(1===ae()),ee(te().endLabel)):be(e.visitNode(n,F,e.isStatement));var t,r,a}(a);case 248:return function(n){if(X(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=(ne({kind:2,isScript:!1,breakLabel:m=$()}),m),i=Q(e.visitNode(n.expression,F,e.isExpression)),o=[],s=-1,c=0;c0)break;d.push(p.createCaseClause(e.visitNode(l.expression,F,e.isExpression),[he(o[c],l.expression)]))}else f++}d.length&&(be(p.createSwitchStatement(i,p.createCaseBlock(d))),u+=d.length,d=[]),f>0&&(u+=f,f=0)}Te(s>=0?o[s]:a);for(c=0;c0)break;l.push(q(a))}l.length&&(be(p.createExpressionStatement(p.inlineExpressions(l))),c+=l.length,l=[])}}function q(n){return e.setSourceMapRange(p.createAssignment(e.setSourceMapRange(p.cloneNode(n.name),n.name),e.visitNode(n.initializer,F,e.isExpression)),n)}function X(e){return!!e&&!!(524288&e.transformFlags)}function Y(e){for(var n=e.length,t=0;t=0;t--){var r=l[t];if(!de(r))break;if(r.labelText===e)return!0}return!1}function me(e){if(l)if(e)for(var n=l.length-1;n>=0;n--){if(de(t=l[n])&&t.labelText===e)return t.breakLabel;if(ue(t)&&fe(e,n-1))return t.breakLabel}else for(n=l.length-1;n>=0;n--){var t;if(ue(t=l[n]))return t.breakLabel}return 0}function _e(e){if(l)if(e)for(var n=l.length-1;n>=0;n--){if(pe(t=l[n])&&fe(e,n-1))return t.continueLabel}else for(n=l.length-1;n>=0;n--){var t;if(pe(t=l[n]))return t.continueLabel}return 0}function ge(e){if(void 0!==e&&e>0){void 0===d&&(d=[]);var n=p.createNumericLiteral(-1);return void 0===d[e]?d[e]=[n]:d[e].push(n),n}return p.createOmittedExpression()}function ye(n){var t=p.createNumericLiteral(n);return e.addSyntheticTrailingComment(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(n)),t}function he(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(p.createReturnStatement(p.createArrayLiteralExpression([ye(3),ge(n)])),t)}function ve(){Le(0)}function be(e){e?Le(1,[e]):ve()}function Ee(e,n,t){Le(2,[e,n],t)}function Te(e,n){Le(3,[e],n)}function Se(e,n,t){Le(4,[e,n],t)}function xe(e,n,t){Le(5,[e,n],t)}function Le(e,n,t){void 0===T&&(T=[],S=[],x=[]),void 0===u&&ee($());var r=T.length;T[r]=e,S[r]=n,x[r]=t}function De(e){(function(e){if(!A)return!0;if(!u||!d)return!1;for(var n=0;n=0;n--){var t=O[n];N=[p.createWithStatement(t.expression,p.createBlock(N))]}if(R){var r=R.startLabel,a=R.catchLabel,i=R.finallyLabel,o=R.endLabel;N.unshift(p.createExpressionStatement(p.createCallExpression(p.createPropertyAccessExpression(p.createPropertyAccessExpression(L,"trys"),"push"),void 0,[p.createArrayLiteralExpression([ge(r),ge(a),ge(i),ge(o)])]))),R=void 0}e&&N.push(p.createExpressionStatement(p.createAssignment(p.createPropertyAccessExpression(L,"label"),p.createNumericLiteral(P+1))))}I.push(p.createCaseClause(p.createNumericLiteral(P),N||[])),N=void 0}function Ae(e){if(u)for(var n=0;n=2?2:0)),n),n))}else a&&e.isDefaultImport(n)&&(t=e.append(t,r.createVariableStatement(void 0,r.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(r.createVariableDeclaration(r.cloneNode(a.name),void 0,void 0,r.getGeneratedNameForNode(n)),n),n)],d>=2?2:0))));if(U(n)){var o=e.getOriginalNodeId(n);v[o]=V(v[o],n)}else t=V(t,n);return e.singleOrMany(t)}(n);case 264:return function(n){var t;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),p!==e.ModuleKind.AMD?t=e.hasSyntacticModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(X(n.name,F(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(r.cloneNode(n.name),void 0,void 0,F(n))],d>=2?2:0)),n),n)):e.hasSyntacticModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(r.createExpressionStatement(X(r.getExportName(n),r.getLocalName(n))),n),n)));if(U(n)){var a=e.getOriginalNodeId(n);v[a]=K(v[a],n)}else t=K(t,n);return e.singleOrMany(t)}(n);case 271:return function(n){if(!n.moduleSpecifier)return;var t=r.getGeneratedNameForNode(n);if(n.exportClause&&e.isNamedExports(n.exportClause)){var i=[];p!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(t,void 0,void 0,F(n))])),n),n));for(var o=0,s=n.exportClause.elements;o(e.isExportName(n)?1:0);return!1}function w(n,t){var i,o=r.createUniqueName("resolve"),s=r.createUniqueName("reject"),l=[r.createParameterDeclaration(void 0,void 0,void 0,o),r.createParameterDeclaration(void 0,void 0,void 0,s)],u=r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("require"),void 0,[r.createArrayLiteralExpression([n||r.createOmittedExpression()]),o,s]))]);d>=2?i=r.createArrowFunction(void 0,void 0,l,void 0,void 0,u):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,l,void 0,u),t&&e.setEmitFlags(i,8));var p=r.createNewExpression(r.createIdentifier("Promise"),void 0,[i]);return e.getESModuleInterop(c)?r.createCallExpression(r.createPropertyAccessExpression(p,r.createIdentifier("then")),void 0,[a().createImportStarCallbackHelper()]):p}function M(n,t){var i,o=r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Promise"),"resolve"),void 0,[]),s=r.createCallExpression(r.createIdentifier("require"),void 0,n?[n]:[]);return e.getESModuleInterop(c)&&(s=a().createImportStarHelper(s)),d>=2?i=r.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(i=r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(s)])),t&&e.setEmitFlags(i,8)),r.createCallExpression(r.createPropertyAccessExpression(o,"then"),void 0,[i])}function P(n,t){return!e.getESModuleInterop(c)||67108864&e.getEmitFlags(n)?t:e.getImportNeedsImportStarHelper(n)?a().createImportStarHelper(t):e.getImportNeedsImportDefaultHelper(n)?a().createImportDefaultHelper(t):t}function F(n){var t=e.getExternalModuleNameLiteral(r,n,_,u,l,c),a=[];return t&&a.push(t),r.createCallExpression(r.createIdentifier("require"),void 0,a)}function G(n,t,a){var i=Z(n);if(i){for(var o=e.isExportName(n)?t:r.createAssignment(n,t),s=0,c=i;s=e.ModuleKind.ES2020?function(n){var t;return e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),t=e.append(t,e.setOriginalNode(e.setTextRange(i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(i.cloneNode(n.name),void 0,void 0,m(n))],u>=2?2:0)),n),n)),t=function(n,t){e.hasSyntacticModifier(t,1)&&(n=e.append(n,i.createExportDeclaration(void 0,void 0,t.isTypeOnly,i.createNamedExports([i.createExportSpecifier(!1,void 0,e.idText(t.name))]))));return n}(t,n),e.singleOrMany(t)}(n):void 0;case 270:return function(e){return e.isExportEquals?void 0:e}(n);case 271:return function(n){if(void 0!==l.module&&l.module>e.ModuleKind.ES2015)return n;if(!n.exportClause||!e.isNamespaceExport(n.exportClause)||!n.moduleSpecifier)return n;var t=n.exportClause.name,r=i.getGeneratedNameForNode(t),a=i.createImportDeclaration(void 0,void 0,i.createImportClause(!1,void 0,i.createNamespaceImport(r)),n.moduleSpecifier,n.assertClause);e.setOriginalNode(a,n.exportClause);var o=e.isExportNamespaceAsDefaultDeclaration(n)?i.createExportDefault(r):i.createExportDeclaration(void 0,void 0,!1,i.createNamedExports([i.createExportSpecifier(!1,r,t)]));return e.setOriginalNode(o,n),[a,o]}(n)}return n}function m(n){var t=e.getExternalModuleNameLiteral(i,n,e.Debug.checkDefined(r),s,c,l),o=[];if(t&&o.push(t),!a){var d=i.createUniqueName("_createRequire",48),p=i.createImportDeclaration(void 0,void 0,i.createImportClause(!1,void 0,i.createNamedImports([i.createImportSpecifier(!1,i.createIdentifier("createRequire"),d)])),i.createStringLiteral("module")),f=i.createUniqueName("__require",48),m=i.createVariableStatement(void 0,i.createVariableDeclarationList([i.createVariableDeclaration(f,void 0,void 0,i.createCallExpression(i.cloneNode(d),void 0,[i.createPropertyAccessExpression(i.createMetaProperty(100,i.createIdentifier("meta")),i.createIdentifier("url"))]))],u>=2?2:0));a=[p,m]}var _=a[1].declarationList.declarations[0].name;return e.Debug.assertNode(_,e.isIdentifier),i.createCallExpression(i.cloneNode(_),void 0,o)}}}(Br||(Br={})),function(e){e.transformNodeModule=function(n){var t=n.onSubstituteNode,r=n.onEmitNode,a=e.transformECMAScriptModule(n),i=n.onSubstituteNode,o=n.onEmitNode;n.onSubstituteNode=t,n.onEmitNode=r;var s,c=e.transformModule(n),l=n.onSubstituteNode,u=n.onEmitNode;return n.onSubstituteNode=function(n,r){return e.isSourceFile(r)?(s=r,t(n,r)):s?s.impliedNodeFormat===e.ModuleKind.ESNext?i(n,r):l(n,r):t(n,r)},n.onEmitNode=function(n,t,a){e.isSourceFile(t)&&(s=t);if(!s)return r(n,t,a);if(s.impliedNodeFormat===e.ModuleKind.ESNext)return o(n,t,a);return u(n,t,a)},n.enableSubstitution(303),n.enableEmitNotification(303),function(t){return 303===t.kind?d(t):function(t){return n.factory.createBundle(e.map(t.sourceFiles,d),t.prepends)}(t)};function d(n){if(n.isDeclarationFile)return n;s=n;var t=(n.impliedNodeFormat===e.ModuleKind.ESNext?a:c)(n);return s=void 0,e.Debug.assert(e.isSourceFile(t)),t}}}(Br||(Br={})),function(e){function n(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isPropertyAccessExpression(n)||e.isBindingElement(n)||e.isConstructorDeclaration(n)?t:e.isSetAccessor(n)||e.isGetAccessor(n)?function(t){var r;r=172===n.kind?e.isStatic(n)?t.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:t.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(n)?t.errorModuleName?2===t.accessibility?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:t.errorModuleName?2===t.accessibility?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;return{diagnosticMessage:r,errorNode:n.name,typeName:n.name}}:e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isIndexSignatureDeclaration(n)?function(t){var r;switch(n.kind){case 174:r=t.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:r=t.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:r=t.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:r=e.isStatic(n)?t.errorModuleName?2===t.accessibility?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:256===n.parent.kind?t.errorModuleName?2===t.accessibility?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:t.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:r=t.errorModuleName?2===t.accessibility?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: "+n.kind)}return{diagnosticMessage:r,errorNode:n.name||n}}:e.isParameter(n)?e.isParameterPropertyDeclaration(n,n.parent)&&e.hasSyntacticModifier(n.parent,8)?t:function(t){var r=function(t){switch(n.parent.kind){case 170:return t.errorModuleName?2===t.accessibility?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 t.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 t.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 t.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(n.parent)?t.errorModuleName?2===t.accessibility?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:256===n.parent.parent.kind?t.errorModuleName?2===t.accessibility?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:t.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 t.errorModuleName?2===t.accessibility?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 t.errorModuleName?2===t.accessibility?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[n.parent.kind]))}}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}:e.isTypeParameterDeclaration(n)?function(){var t;switch(n.parent.kind){case 256:t=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:t=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:t=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:t=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:t=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:t=e.isStatic(n.parent)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:256===n.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 178:case 255:t=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:t=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: "+n.parent.kind)}return{diagnosticMessage:t,errorNode:n,typeName:n.name}}:e.isExpressionWithTypeArguments(n)?function(){var t;t=e.isClassDeclaration(n.parent.parent)?e.isHeritageClause(n.parent)&&117===n.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n.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:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:t,errorNode:n,typeName:e.getNameOfDeclaration(n.parent.parent)}}:e.isImportEqualsDeclaration(n)?function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:n,typeName:n.name}}:e.isTypeAliasDeclaration(n)||e.isJSDocTypeAlias(n)?function(t){return{diagnosticMessage:t.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(n)?e.Debug.checkDefined(n.typeExpression):n.type,typeName:e.isJSDocTypeAlias(n)?e.getNameOfDeclaration(n):n.name}}:e.Debug.assertNever(n,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(e.SyntaxKind[n.kind]));function t(t){var r=function(t){return 253===n.kind||202===n.kind?t.errorModuleName?2===t.accessibility?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:166===n.kind||205===n.kind||165===n.kind||163===n.kind&&e.hasSyntacticModifier(n.parent,8)?e.isStatic(n)?t.errorModuleName?2===t.accessibility?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:256===n.parent.kind||163===n.kind?t.errorModuleName?2===t.accessibility?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:t.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:void 0}(t);return void 0!==r?{diagnosticMessage:r,errorNode:n,typeName:n.name}:void 0}}e.canProduceDiagnostics=function(n){return e.isVariableDeclaration(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isBindingElement(n)||e.isSetAccessor(n)||e.isGetAccessor(n)||e.isConstructSignatureDeclaration(n)||e.isCallSignatureDeclaration(n)||e.isMethodDeclaration(n)||e.isMethodSignature(n)||e.isFunctionDeclaration(n)||e.isParameter(n)||e.isTypeParameterDeclaration(n)||e.isExpressionWithTypeArguments(n)||e.isImportEqualsDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isConstructorDeclaration(n)||e.isIndexSignatureDeclaration(n)||e.isPropertyAccessExpression(n)||e.isJSDocTypeAlias(n)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(t){return e.isSetAccessor(t)||e.isGetAccessor(t)?function(n){var r=function(n){return e.isStatic(t)?n.errorModuleName?2===n.accessibility?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:256===t.parent.kind?n.errorModuleName?2===n.accessibility?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:n.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}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:e.isMethodSignature(t)||e.isMethodDeclaration(t)?function(n){var r=function(n){return e.isStatic(t)?n.errorModuleName?2===n.accessibility?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:256===t.parent.kind?n.errorModuleName?2===n.accessibility?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:n.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}(n);return void 0!==r?{diagnosticMessage:r,errorNode:t,typeName:t.name}:void 0}:n(t)},e.createGetSymbolAccessibilityDiagnosticForNode=n}(Br||(Br={})),function(e){function n(n,t){var r=t.text.substring(n.pos,n.end);return e.stringContains(r,"@internal")}function t(t,r){var a=e.getParseTreeNode(t);if(a&&163===a.kind){var i=a.parent.parameters.indexOf(a),o=i>0?a.parent.parameters[i-1]:void 0,s=r.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,t.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,t.pos,!1,!0));return c&&c.length&&n(e.last(c),r)}var l=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(l,(function(e){return n(e,r)}))}e.getDeclarationDiagnostics=function(n,t,r){var i=n.getCompilerOptions();return e.transformNodes(t,n,e.factory,i,r?[r]:e.filter(n.getSourceFiles(),e.isSourceFileNotJson),[a],!1).diagnostics},e.isInternalDeclaration=t;var r=531469;function a(n){var a,s,c,l,u,d,p,f,m,_,g,y,h=function(){return e.Debug.fail("Diagnostic emitted without context")},v=h,b=!0,E=!1,T=!1,S=!1,x=!1,L=n.factory,D=n.getEmitHost(),C={trackSymbol:function(e,n,t){if(262144&e.flags)return!1;var r=O(A.isSymbolAccessible(e,n,t,!0));return R(A.getTypeReferenceDirectivesForSymbol(e,t)),r},reportInaccessibleThisError:function(){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,w(),"this"))},reportInaccessibleUniqueSymbolError:function(){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,w(),"unique symbol"))},reportCyclicStructureError:function(){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,w()))},reportPrivateInBaseOfClassExpression:function(t){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,w(),t))},reportTruncationError:function(){(p||f)&&n.addDiagnostic(e.createDiagnosticForNode(p||f,e.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:D,trackReferencedAmbientModule:function(n,t){var r=A.getTypeReferenceDirectivesForSymbol(t,67108863);if(e.length(r))return R(r);var a=e.getSourceFileOfNode(n);_.set(e.getOriginalNodeId(a),a)},trackExternalModuleSymbolOfImportTypeNode:function(e){E||(d||(d=[])).push(e)},reportNonlocalAugmentation:function(t,r,a){var i,o=null===(i=r.declarations)||void 0===i?void 0:i.find((function(n){return e.getSourceFileOfNode(n)===t})),s=e.filter(a.declarations,(function(n){return e.getSourceFileOfNode(n)!==t}));if(s)for(var c=0,l=s;c0?e.parameters[0].type:void 0}e.transformDeclarations=a}(Br||(Br={})),function(e){var n,t,r,a;function i(n,t,r){if(r)return e.emptyArray;var a=e.getEmitScriptTarget(n),i=e.getEmitModuleKind(n),o=[];return e.addRange(o,t&&e.map(t.before,c)),o.push(e.transformTypeScript),o.push(e.transformClassFields),e.getJSXTransformEnabled(n)&&o.push(e.transformJsx),a<99&&o.push(e.transformESNext),a<8&&o.push(e.transformES2021),a<7&&o.push(e.transformES2020),a<6&&o.push(e.transformES2019),a<5&&o.push(e.transformES2018),a<4&&o.push(e.transformES2017),a<3&&o.push(e.transformES2016),a<2&&(o.push(e.transformES2015),o.push(e.transformGenerators)),o.push(function(n){switch(n){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}}(i)),a<1&&o.push(e.transformES5),e.addRange(o,t&&e.map(t.after,c)),o}function o(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,l)),t}function s(n,t){return function(r){var a=n(r);return"function"==typeof a?t(r,a):function(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}(a)}}function c(n){return s(n,e.chainBundle)}function l(e){return s(e,(function(e,n){return n}))}function u(e,n){return n}function d(e,n,t){t(e,n)}(t=n||(n={}))[t.Uninitialized=0]="Uninitialized",t[t.Initialized=1]="Initialized",t[t.Completed=2]="Completed",t[t.Disposed=3]="Disposed",(a=r||(r={}))[a.Substitution=1]="Substitution",a[a.EmitNotifications=2]="EmitNotifications",e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,n,t){return{scriptTransformers:i(e,n,t),declarationTransformers:o(n)}},e.noEmitSubstitution=u,e.noEmitNotification=d,e.transformNodes=function(n,t,r,a,i,o,s){for(var c,l,p,f,m,_=new Array(353),g=0,y=[],h=[],v=[],b=[],E=0,T=!1,S=[],x=0,L=u,D=d,C=0,A=[],I={factory:r,getCompilerOptions:function(){return a},getEmitResolver:function(){return n},getEmitHost:function(){return t},getEmitHelperFactory:e.memoize((function(){return e.createEmitHelperFactory(I)})),startLexicalEnvironment:function(){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),y[E]=c,h[E]=l,v[E]=p,b[E]=g,E++,c=void 0,l=void 0,p=void 0,g=0},suspendLexicalEnvironment:function(){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is already suspended."),T=!0},resumeLexicalEnvironment:function(){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(T,"Lexical environment is not suspended."),T=!1},endLexicalEnvironment:function(){var n;if(e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!T,"Lexical environment is suspended."),c||l||p){if(l&&(n=Or([],l,!0)),c){var t=r.createVariableStatement(void 0,r.createVariableDeclarationList(c));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}p&&(n=Or(n?Or([],n,!0):[],p,!0))}E--,c=y[E],l=h[E],p=v[E],g=b[E],0===E&&(y=[],h=[],v=[],b=[]);return n},setLexicalEnvironmentFlags:function(e,n){g=n?g|e:g&~e},getLexicalEnvironmentFlags:function(){return g},hoistVariableDeclaration:function(n){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(r.createVariableDeclaration(n),64);c?c.push(t):c=[t];1&g&&(g|=2)},hoistFunctionDeclaration:function(n){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),l?l.push(n):l=[n]},addInitializationStatement:function(n){e.Debug.assert(C>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(C<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(n,1048576),p?p.push(n):p=[n]},startBlockScope:function(){e.Debug.assert(C>0,"Cannot start a block scope during initialization."),e.Debug.assert(C<2,"Cannot start a block scope after transformation has completed."),S[x]=f,x++,f=void 0},endBlockScope:function(){e.Debug.assert(C>0,"Cannot end a block scope during initialization."),e.Debug.assert(C<2,"Cannot end a block scope after transformation has completed.");var n=e.some(f)?[r.createVariableStatement(void 0,r.createVariableDeclarationList(f.map((function(e){return r.createVariableDeclaration(e)})),1))]:void 0;x--,f=S[x],0===x&&(S=[]);return n},addBlockScopedVariable:function(n){e.Debug.assert(x>0,"Cannot add a block scoped variable outside of an iteration body."),(f||(f=[])).push(n)},requestEmitHelper:function n(t){if(e.Debug.assert(C>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(C<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(var r=0,a=t.dependencies;r0,"Cannot modify the transformation context during initialization."),e.Debug.assert(C<2,"Cannot modify the transformation context after transformation has completed.");var n=m;return m=void 0,n},enableSubstitution:function(n){e.Debug.assert(C<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=1},enableEmitNotification:function(n){e.Debug.assert(C<2,"Cannot modify the transformation context after transformation has completed."),_[n]|=2},isSubstitutionEnabled:B,isEmitNotificationEnabled:U,get onSubstituteNode(){return L},set onSubstituteNode(n){e.Debug.assert(C<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),L=n},get onEmitNode(){return D},set onEmitNode(n){e.Debug.assert(C<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),D=n},addDiagnostic:function(e){A.push(e)}},N=0,k=i;N"],n[8192]=["[","]"],n);function s(n,t,r,a,i,o){void 0===a&&(a=!1);var s=e.isArray(r)?r:e.getSourceFilesToEmit(n,r,a),l=n.getCompilerOptions();if(e.outFile(l)){var d=n.getPrependNodes();if(s.length||d.length){var p=e.factory.createBundle(s,d);if(_=t(u(p,n,a),p))return _}}else{if(!i)for(var f=0,m=s;f0){var a=n.preserveSourceNewlinesStack[n.stackIndex],i=n.containerPosStack[n.stackIndex],o=n.containerEndStack[n.stackIndex],s=n.declarationListContainerEndStack[n.stackIndex],c=n.shouldEmitCommentsStack[n.stackIndex],l=n.shouldEmitSourceMapsStack[n.stackIndex];Ae(a),l&&Qt(e),c&&Nt(e,i,o,s),null==N||N(e),n.stackIndex--}}),void 0);function n(n,t,r){var a="left"===r?re.getParenthesizeLeftSideOfBinaryForOperator(t.operatorToken.kind):re.getParenthesizeRightSideOfBinaryForOperator(t.operatorToken.kind),i=Re(0,1,n);if(i===Fe&&(e.Debug.assertIsDefined(E),i=Oe(1,1,n=a(e.cast(E,e.isExpression))),E=void 0),(i===At||i===Xt||i===Me)&&e.isBinaryExpression(n))return n;T=a,i(1,n)}}();return Ee(),{printNode:function(n,t,r){switch(n){case 0:e.Debug.assert(e.isSourceFile(t),"Expected a SourceFile node.");break;case 2:e.Debug.assert(e.isIdentifier(t),"Expected an Identifier node.");break;case 1:e.Debug.assert(e.isExpression(t),"Expected an Expression node.")}switch(t.kind){case 303:return oe(t);case 304:return ie(t);case 305:return function(e,n){var t=f;be(n,void 0),he(4,e,void 0),Ee(),f=t}(t,ge()),ye()}return se(n,t,r,ge()),ye()},printList:function(e,n,t){return ce(e,n,t,ge()),ye()},printFile:oe,printBundle:ie,writeNode:se,writeList:ce,writeFile:_e,writeBundle:me,bundleFileInfo:V};function ie(e){return me(e,ge(),void 0),ye()}function oe(e){return _e(e,ge(),void 0),ye()}function se(e,n,t,r){var a=f;be(r,void 0),he(e,n,t),Ee(),f=a}function ce(e,n,t,r){var a=f;be(r,void 0),t&&ve(t),On(void 0,n,e),Ee(),f=a}function le(){return f.getTextPosWithWriteLine?f.getTextPosWithWriteLine():f.getTextPos()}function ue(n,t,r){var a=e.lastOrUndefined(V.sections);a&&a.kind===r?a.end=t:V.sections.push({pos:n,end:t,kind:r})}function de(n){if(j&&V&&r&&(e.isDeclaration(n)||e.isVariableStatement(n))&&e.isInternalDeclaration(n,r)&&"internal"!==W){var t=W;return fe(f.getTextPos()),H=le(),W="internal",t}}function pe(e){e&&(fe(f.getTextPos()),H=le(),W=e)}function fe(e){return H"),Hn(),Se(e.type),gt(e)}(t);case 179:return function(e){_t(e),En(e,e.modifiers),Un("new"),Hn(),In(e,e.typeParameters),Nn(e,e.parameters),Hn(),Gn("=>"),Hn(),Se(e.type),gt(e)}(t);case 180:return function(e){Un("typeof"),Hn(),Se(e.exprName)}(t);case 181:return function(n){Gn("{");var t=1&e.getEmitFlags(n)?768:32897;On(n,n.members,524288|t),Gn("}")}(t);case 182:return function(e){Se(e.elementType,re.parenthesizeElementTypeOfArrayType),Gn("["),Gn("]")}(t);case 183:return function(n){Xe(22,n.pos,Gn,n);var t=1&e.getEmitFlags(n)?528:657;On(n,n.elements,524288|t),Xe(23,n.elements.end,Gn,n)}(t);case 184:return function(e){Se(e.type,re.parenthesizeElementTypeOfArrayType),Gn("?")}(t);case 186:return function(e){On(e,e.types,516,re.parenthesizeMemberOfElementType)}(t);case 187:return function(e){On(e,e.types,520,re.parenthesizeMemberOfElementType)}(t);case 188:return function(e){Se(e.checkType,re.parenthesizeMemberOfConditionalType),Hn(),Un("extends"),Hn(),Se(e.extendsType,re.parenthesizeMemberOfConditionalType),Hn(),Gn("?"),Hn(),Se(e.trueType),Hn(),Gn(":"),Hn(),Se(e.falseType)}(t);case 189:return function(e){Un("infer"),Hn(),Se(e.typeParameter)}(t);case 190:return function(e){Gn("("),Se(e.type),Gn(")")}(t);case 227:return function(e){Le(e.expression,re.parenthesizeLeftSideOfAccess),An(e,e.typeArguments)}(t);case 191:return void Un("this");case 192:return function(e){Zn(e.operator,Un),Hn(),Se(e.type,re.parenthesizeMemberOfElementType)}(t);case 193:return function(e){Se(e.objectType,re.parenthesizeMemberOfElementType),Gn("["),Se(e.indexType),Gn("]")}(t);case 194:return function(n){var t=e.getEmitFlags(n);Gn("{"),1&t?Hn():(Jn(),qn());n.readonlyToken&&(Se(n.readonlyToken),144!==n.readonlyToken.kind&&Un("readonly"),Hn());Gn("["),Ie(3,n.typeParameter),n.nameType&&(Hn(),Un("as"),Hn(),Se(n.nameType));Gn("]"),n.questionToken&&(Se(n.questionToken),57!==n.questionToken.kind&&Gn("?"));Gn(":"),Hn(),Se(n.type),Bn(),1&t?Hn():(Jn(),Xn());Gn("}")}(t);case 195:return function(e){Le(e.literal)}(t);case 196:return function(e){Se(e.dotDotDotToken),Se(e.name),Se(e.questionToken),Xe(58,e.name.end,Gn,e),Hn(),Se(e.type)}(t);case 197:return function(e){Se(e.head),On(e,e.templateSpans,262144)}(t);case 198:return function(e){Se(e.type),Se(e.literal)}(t);case 199:return function(e){e.isTypeOf&&(Un("typeof"),Hn());Un("import"),Gn("("),Se(e.argument),Gn(")"),e.qualifier&&(Gn("."),Se(e.qualifier));An(e,e.typeArguments)}(t);case 200:return function(e){Gn("{"),On(e,e.elements,525136),Gn("}")}(t);case 201:return function(e){Gn("["),On(e,e.elements,524880),Gn("]")}(t);case 202:return function(e){Se(e.dotDotDotToken),e.propertyName&&(Se(e.propertyName),Gn(":"),Hn());Se(e.name),Sn(e.initializer,e.name.end,e,re.parenthesizeExpressionForDisallowedComma)}(t);case 232:return function(e){Le(e.expression),Se(e.literal)}(t);case 233:return void Bn();case 234:return function(e){We(e,!e.multiLine&&dt(e))}(t);case 236:return function(e){En(e,e.modifiers),Se(e.declarationList),Bn()}(t);case 235:return ze(!1);case 237:return function(n){Le(n.expression,re.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(r)||e.nodeIsSynthesized(n.expression))&&Bn()}(t);case 238:return function(e){var n=Xe(99,e.pos,Un,e);Hn(),Xe(20,n,Gn,e),Le(e.expression),Xe(21,e.expression.end,Gn,e),Dn(e,e.thenStatement),e.elseStatement&&($n(e,e.thenStatement,e.elseStatement),Xe(91,e.thenStatement.end,Un,e),238===e.elseStatement.kind?(Hn(),Se(e.elseStatement)):Dn(e,e.elseStatement))}(t);case 239:return function(n){Xe(90,n.pos,Un,n),Dn(n,n.statement),e.isBlock(n.statement)&&!B?Hn():$n(n,n.statement,n.expression);Je(n,n.statement.end),Bn()}(t);case 240:return function(e){Je(e,e.pos),Dn(e,e.statement)}(t);case 241:return function(e){var n=Xe(97,e.pos,Un,e);Hn();var t=Xe(20,n,Gn,e);qe(e.initializer),t=Xe(26,e.initializer?e.initializer.end:t,Gn,e),Ln(e.condition),t=Xe(26,e.condition?e.condition.end:t,Gn,e),Ln(e.incrementor),Xe(21,e.incrementor?e.incrementor.end:t,Gn,e),Dn(e,e.statement)}(t);case 242:return function(e){var n=Xe(97,e.pos,Un,e);Hn(),Xe(20,n,Gn,e),qe(e.initializer),Hn(),Xe(101,e.initializer.end,Un,e),Hn(),Le(e.expression),Xe(21,e.expression.end,Gn,e),Dn(e,e.statement)}(t);case 243:return function(e){var n=Xe(97,e.pos,Un,e);Hn(),function(e){e&&(Se(e),Hn())}(e.awaitModifier),Xe(20,n,Gn,e),qe(e.initializer),Hn(),Xe(159,e.initializer.end,Un,e),Hn(),Le(e.expression),Xe(21,e.expression.end,Gn,e),Dn(e,e.statement)}(t);case 244:return function(e){Xe(86,e.pos,Un,e),xn(e.label),Bn()}(t);case 245:return function(e){Xe(81,e.pos,Un,e),xn(e.label),Bn()}(t);case 246:return function(e){Xe(105,e.pos,Un,e),Ln(e.expression),Bn()}(t);case 247:return function(e){var n=Xe(116,e.pos,Un,e);Hn(),Xe(20,n,Gn,e),Le(e.expression),Xe(21,e.expression.end,Gn,e),Dn(e,e.statement)}(t);case 248:return function(e){var n=Xe(107,e.pos,Un,e);Hn(),Xe(20,n,Gn,e),Le(e.expression),Xe(21,e.expression.end,Gn,e),Hn(),Se(e.caseBlock)}(t);case 249:return function(e){Se(e.label),Xe(58,e.label.end,Gn,e),Hn(),Se(e.statement)}(t);case 250:return function(e){Xe(109,e.pos,Un,e),Ln(e.expression),Bn()}(t);case 251:return function(e){Xe(111,e.pos,Un,e),Hn(),Se(e.tryBlock),e.catchClause&&($n(e,e.tryBlock,e.catchClause),Se(e.catchClause));e.finallyBlock&&($n(e,e.catchClause||e.tryBlock,e.finallyBlock),Xe(96,(e.catchClause||e.tryBlock).end,Un,e),Hn(),Se(e.finallyBlock))}(t);case 252:return function(e){Yn(87,e.pos,Un),Bn()}(t);case 253:return function(e){Se(e.name),Se(e.exclamationToken),Tn(e.type),Sn(e.initializer,e.type?e.type.end:e.name.end,e,re.parenthesizeExpressionForDisallowedComma)}(t);case 254:return function(n){Un(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),Hn(),On(n,n.declarations,528)}(t);case 255:return function(e){Ye(e)}(t);case 256:return function(e){tn(e)}(t);case 257:return function(e){Cn(e,e.decorators),En(e,e.modifiers),Un("interface"),Hn(),Se(e.name),In(e,e.typeParameters),On(e,e.heritageClauses,512),Hn(),Gn("{"),On(e,e.members,129),Gn("}")}(t);case 258:return function(e){Cn(e,e.decorators),En(e,e.modifiers),Un("type"),Hn(),Se(e.name),In(e,e.typeParameters),Hn(),Gn("="),Hn(),Se(e.type),Bn()}(t);case 259:return function(e){En(e,e.modifiers),Un("enum"),Hn(),Se(e.name),Hn(),Gn("{"),On(e,e.members,145),Gn("}")}(t);case 260:return function(n){En(n,n.modifiers),1024&~n.flags&&(Un(16&n.flags?"namespace":"module"),Hn());Se(n.name);var t=n.body;if(!t)return Bn();for(;t&&e.isModuleDeclaration(t);)Gn("."),Se(t.name),t=t.body;Hn(),Se(t)}(t);case 261:return function(n){_t(n),e.forEach(n.statements,ht),We(n,dt(n)),gt(n)}(t);case 262:return function(e){Xe(18,e.pos,Gn,e),On(e,e.clauses,129),Xe(19,e.clauses.end,Gn,e,!0)}(t);case 263:return function(e){var n=Xe(93,e.pos,Un,e);Hn(),n=Xe(127,n,Un,e),Hn(),n=Xe(142,n,Un,e),Hn(),Se(e.name),Bn()}(t);case 264:return function(e){En(e,e.modifiers),Xe(100,e.modifiers?e.modifiers.end:e.pos,Un,e),Hn(),e.isTypeOnly&&(Xe(151,e.pos,Un,e),Hn());Se(e.name),Hn(),Xe(63,e.name.end,Gn,e),Hn(),function(e){79===e.kind?Le(e):Se(e)}(e.moduleReference),Bn()}(t);case 265:return function(e){En(e,e.modifiers),Xe(100,e.modifiers?e.modifiers.end:e.pos,Un,e),Hn(),e.importClause&&(Se(e.importClause),Hn(),Xe(155,e.importClause.end,Un,e),Hn());Le(e.moduleSpecifier),e.assertClause&&xn(e.assertClause);Bn()}(t);case 266:return function(e){e.isTypeOnly&&(Xe(151,e.pos,Un,e),Hn());Se(e.name),e.name&&e.namedBindings&&(Xe(27,e.name.end,Gn,e),Hn());Se(e.namedBindings)}(t);case 267:return function(e){var n=Xe(41,e.pos,Gn,e);Hn(),Xe(127,n,Un,e),Hn(),Se(e.name)}(t);case 273:return function(e){var n=Xe(41,e.pos,Gn,e);Hn(),Xe(127,n,Un,e),Hn(),Se(e.name)}(t);case 268:case 272:return function(e){rn(e)}(t);case 269:case 274:return function(e){an(e)}(t);case 270:return function(e){var n=Xe(93,e.pos,Un,e);Hn(),e.isExportEquals?Xe(63,n,Vn,e):Xe(88,n,Un,e);Hn(),Le(e.expression,e.isExportEquals?re.getParenthesizeRightSideOfBinaryForOperator(63):re.parenthesizeExpressionOfExportDefault),Bn()}(t);case 271:return function(e){var n=Xe(93,e.pos,Un,e);Hn(),e.isTypeOnly&&(n=Xe(151,n,Un,e),Hn());e.exportClause?Se(e.exportClause):n=Xe(41,n,Gn,e);if(e.moduleSpecifier){Hn(),Xe(155,e.exportClause?e.exportClause.end:n,Un,e),Hn(),Le(e.moduleSpecifier)}e.assertClause&&xn(e.assertClause);Bn()}(t);case 292:return function(e){Xe(129,e.pos,Un,e),Hn();var n=e.elements;On(e,n,526226)}(t);case 293:return function(n){Se(n.name),Gn(":"),Hn();var t=n.value;if(!(512&e.getEmitFlags(t))){Kt(e.getCommentRange(t).pos)}Se(t)}(t);case 275:case 317:case 328:case 329:case 331:case 332:case 333:case 334:case 335:case 347:case 351:case 350:return;case 276:return function(e){Un("require"),Gn("("),Le(e.expression),Gn(")")}(t);case 11:return function(e){f.writeLiteral(e.text)}(t);case 279:case 282:return function(n){if(Gn("<"),e.isJsxOpeningElement(n)){var t=st(n.tagName,n);on(n.tagName),An(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&Hn(),Se(n.attributes),ct(n.attributes,n),tt(t)}Gn(">")}(t);case 280:case 283:return function(n){Gn("")}(t);case 284:return function(e){Se(e.name),function(e,n,t,r){t&&(n(e),r(t))}("=",Gn,e.initializer,De)}(t);case 285:return function(e){On(e,e.properties,262656)}(t);case 286:return function(e){Gn("{..."),Le(e.expression),Gn("}")}(t);case 287:return function(n){var t;if(n.expression||!$&&!e.nodeIsSynthesized(n)&&(o=n.pos,function(n){var t=!1;return e.forEachTrailingCommentRange((null==r?void 0:r.text)||"",n+1,(function(){return t=!0})),t}(o)||function(n){var t=!1;return e.forEachLeadingCommentRange((null==r?void 0:r.text)||"",n+1,(function(){return t=!0})),t}(o))){var a=r&&!e.nodeIsSynthesized(n)&&e.getLineAndCharacterOfPosition(r,n.pos).line!==e.getLineAndCharacterOfPosition(r,n.end).line;a&&f.increaseIndent();var i=Xe(18,n.pos,Gn,n);Se(n.dotDotDotToken),Le(n.expression),Xe(19,(null===(t=n.expression)||void 0===t?void 0:t.end)||i,Gn,n),a&&f.decreaseIndent()}var o}(t);case 288:return function(e){Xe(82,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeExpressionForDisallowedComma),sn(e,e.statements,e.expression.end)}(t);case 289:return function(e){var n=Xe(88,e.pos,Un,e);sn(e,e.statements,n)}(t);case 290:return function(e){Hn(),Zn(e.token,Un),Hn(),On(e,e.types,528)}(t);case 291:return function(e){var n=Xe(83,e.pos,Un,e);Hn(),e.variableDeclaration&&(Xe(20,n,Gn,e),Se(e.variableDeclaration),Xe(21,e.variableDeclaration.end,Gn,e),Hn());Se(e.block)}(t);case 294:return function(n){Se(n.name),Gn(":"),Hn();var t=n.initializer;if(!(512&e.getEmitFlags(t))){Kt(e.getCommentRange(t).pos)}Le(t,re.parenthesizeExpressionForDisallowedComma)}(t);case 295:return function(e){Se(e.name),e.objectAssignmentInitializer&&(Hn(),Gn("="),Hn(),Le(e.objectAssignmentInitializer,re.parenthesizeExpressionForDisallowedComma))}(t);case 296:return function(e){e.expression&&(Xe(25,e.pos,Gn,e),Le(e.expression,re.parenthesizeExpressionForDisallowedComma))}(t);case 297:return function(e){Se(e.name),Sn(e.initializer,e.name.end,e,re.parenthesizeExpressionForDisallowedComma)}(t);case 298:return Ve(t);case 305:case 299:return function(e){for(var n=0,t=e.texts;n=1&&!e.isJsonSourceFile(r)?64:0;On(n,n.properties,526226|i|a),t&&Xn()}(t);case 205:return function(n){Le(n.expression,re.parenthesizeLeftSideOfAccess);var t=n.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),n.expression.end,n.name.pos),r=ut(n,n.expression,t),a=ut(n,t,n.name);nt(r,!1);var i=28!==t.kind&&function(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var t=mt(n,!0,!1);return!n.numericLiteralFlags&&!e.stringContains(t,e.tokenToString(24))}if(e.isAccessExpression(n)){var r=e.getConstantValue(n);return"number"==typeof r&&isFinite(r)&&Math.floor(r)===r}}(n.expression)&&!f.hasTrailingComment()&&!f.hasTrailingWhitespace();i&&Gn(".");n.questionDotToken?Se(t):Xe(t.kind,n.expression.end,Gn,n);nt(a,!1),Se(n.name),tt(r,a)}(t);case 206:return function(e){Le(e.expression,re.parenthesizeLeftSideOfAccess),Se(e.questionDotToken),Xe(22,e.expression.end,Gn,e),Le(e.argumentExpression),Xe(23,e.argumentExpression.end,Gn,e)}(t);case 207:return function(n){var t=536870912&e.getEmitFlags(n);t&&(Gn("("),Pn("0"),Gn(","),Hn());Le(n.expression,re.parenthesizeLeftSideOfAccess),t&&Gn(")");Se(n.questionDotToken),An(n,n.typeArguments),wn(n,n.arguments,2576,re.parenthesizeExpressionForDisallowedComma)}(t);case 208:return function(e){Xe(103,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeExpressionOfNew),An(e,e.typeArguments),wn(e,e.arguments,18960,re.parenthesizeExpressionForDisallowedComma)}(t);case 209:return function(n){var t=536870912&e.getEmitFlags(n);t&&(Gn("("),Pn("0"),Gn(","),Hn());Le(n.tag,re.parenthesizeLeftSideOfAccess),t&&Gn(")");An(n,n.typeArguments),Hn(),Le(n.template)}(t);case 210:return function(e){Gn("<"),Se(e.type),Gn(">"),Le(e.expression,re.parenthesizeOperandOfPrefixUnary)}(t);case 211:return function(e){var n=Xe(20,e.pos,Gn,e),t=st(e.expression,e);Le(e.expression,void 0),ct(e.expression,e),tt(t),Xe(21,e.expression?e.expression.end:n,Gn,e)}(t);case 212:return function(e){bt(e.name),Ye(e)}(t);case 213:return function(e){Cn(e,e.decorators),En(e,e.modifiers),Qe(e,He)}(t);case 214:return function(e){Xe(89,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeOperandOfPrefixUnary)}(t);case 215:return function(e){Xe(112,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeOperandOfPrefixUnary)}(t);case 216:return function(e){Xe(114,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeOperandOfPrefixUnary)}(t);case 217:return function(e){Xe(132,e.pos,Un,e),Hn(),Le(e.expression,re.parenthesizeOperandOfPrefixUnary)}(t);case 218:return function(e){Zn(e.operator,Vn),function(e){var n=e.operand;return 218===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}(e)&&Hn();Le(e.operand,re.parenthesizeOperandOfPrefixUnary)}(t);case 219:return function(e){Le(e.operand,re.parenthesizeOperandOfPostfixUnary),Zn(e.operator,Vn)}(t);case 220:return ae(t);case 221:return function(e){var n=ut(e,e.condition,e.questionToken),t=ut(e,e.questionToken,e.whenTrue),r=ut(e,e.whenTrue,e.colonToken),a=ut(e,e.colonToken,e.whenFalse);Le(e.condition,re.parenthesizeConditionOfConditionalExpression),nt(n,!0),Se(e.questionToken),nt(t,!0),Le(e.whenTrue,re.parenthesizeBranchOfConditionalExpression),tt(n,t),nt(r,!0),Se(e.colonToken),nt(a,!0),Le(e.whenFalse,re.parenthesizeBranchOfConditionalExpression),tt(r,a)}(t);case 222:return function(e){Se(e.head),On(e,e.templateSpans,262144)}(t);case 223:return function(e){Xe(125,e.pos,Un,e),Se(e.asteriskToken),Ln(e.expression,re.parenthesizeExpressionForDisallowedComma)}(t);case 224:return function(e){Xe(25,e.pos,Gn,e),Le(e.expression,re.parenthesizeExpressionForDisallowedComma)}(t);case 225:return function(e){bt(e.name),tn(e)}(t);case 226:case 347:case 350:case 351:return;case 228:return function(e){Le(e.expression,void 0),e.type&&(Hn(),Un("as"),Hn(),Se(e.type))}(t);case 229:return function(e){Le(e.expression,re.parenthesizeLeftSideOfAccess),Vn("!")}(t);case 230:return function(e){Yn(e.keywordToken,e.pos,Gn),Gn("."),Se(e.name)}(t);case 231:return e.Debug.fail("SyntheticExpression should never be printed.");case 277:return function(e){Se(e.openingElement),On(e,e.children,262144),Se(e.closingElement)}(t);case 278:return function(e){Gn("<"),on(e.tagName),An(e,e.typeArguments),Hn(),Se(e.attributes),Gn("/>")}(t);case 281:return function(e){Se(e.openingFragment),On(e,e.children,262144),Se(e.closingFragment)}(t);case 346:return e.Debug.fail("SyntaxList should not be printed");case 348:return function(e){Le(e.expression)}(t);case 349:return function(e){wn(e,e.elements,528,void 0)}(t);case 352:return e.Debug.fail("SyntheticReferenceExpression should not be printed")}return e.isKeyword(t.kind)?Qn(t,Un):e.isTokenKind(t.kind)?Qn(t,Gn):void e.Debug.fail("Unhandled SyntaxKind: ".concat(e.Debug.formatSyntaxKind(t.kind),"."))}function Fe(n,t){var r=Oe(1,n,t);e.Debug.assertIsDefined(E),t=E,E=void 0,r(n,t)}function Ge(t){var a=!1,i=304===t.kind?t:void 0;if(!i||F!==e.ModuleKind.None){for(var o=i?i.prepends.length:0,s=i?i.sourceFiles.length+o:1,c=0;c0)return!1;t=o}return!0}(n)?en:nn;wt?wt(n,n.statements,t):t(n),Xn(),Yn(19,n.statements.end,Gn,n),null==N||N(n)}function en(e){nn(e,!0)}function nn(e,n){var t=gn(e.statements),r=f.getTextPos();Ge(e),0===t&&r===f.getTextPos()&&n?(Xn(),On(e,e.statements,768),qn()):On(e,e.statements,1,void 0,t)}function tn(n){e.forEach(n.members,vt),Cn(n,n.decorators),En(n,n.modifiers),Un("class"),n.name&&(Hn(),xe(n.name));var t=65536&e.getEmitFlags(n);t&&qn(),In(n,n.typeParameters),On(n,n.heritageClauses,0),Hn(),Gn("{"),On(n,n.members,129),Gn("}"),t&&Xn()}function rn(e){Gn("{"),On(e,e.elements,525136),Gn("}")}function an(e){e.isTypeOnly&&(Un("type"),Hn()),e.propertyName&&(Se(e.propertyName),Hn(),Xe(127,e.propertyName.end,Un,e),Hn()),Se(e.name)}function on(e){79===e.kind?Le(e):Se(e)}function sn(n,t,a){var i=163969;1===t.length&&(e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t[0])||e.rangeStartPositionsAreOnSameLine(n,t[0],r))?(Yn(58,a,Gn,n),Hn(),i&=-130):Xe(58,a,Gn,n),On(n,t,i)}function cn(n){On(n,e.factory.createNodeArray(n.jsDocPropertyTags),33)}function ln(n){n.typeParameters&&On(n,e.factory.createNodeArray(n.typeParameters),33),n.parameters&&On(n,e.factory.createNodeArray(n.parameters),33),n.type&&(Jn(),Hn(),Gn("*"),Hn(),Se(n.type))}function un(e){Gn("@"),Se(e)}function dn(n){var t=e.getTextOfJSDocComment(n);t&&(Hn(),U(t))}function pn(e){e&&(Hn(),Gn("{"),Se(e.type),Gn("}"))}function fn(n){Jn();var t=n.statements;if(wt&&(0===t.length||!e.isPrologueDirective(t[0])||e.nodeIsSynthesized(t[0])))return void wt(n,t,_n);_n(n)}function mn(e,n,t,a){if(e){var i=f.getTextPos();jn('/// '),V&&V.sections.push({pos:i,end:f.getTextPos(),kind:"no-default-lib"}),Jn()}if(r&&r.moduleName&&(jn('/// ')),Jn()),r&&r.amdDependencies)for(var o=0,s=r.amdDependencies;o')):jn('/// ')),Jn()}for(var l=0,u=n;l')),V&&V.sections.push({pos:i,end:f.getTextPos(),kind:"reference",data:d.fileName}),Jn()}for(var p=0,m=t;p')),V&&V.sections.push({pos:i,end:f.getTextPos(),kind:"type",data:d.fileName}),Jn()}for(var _=0,g=a;_')),V&&V.sections.push({pos:i,end:f.getTextPos(),kind:"lib",data:d.fileName}),Jn()}}function _n(n){var t=n.statements;_t(n),e.forEach(n.statements,ht),Ge(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));!function(e){e.isDeclarationFile&&mn(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(n),On(n,t,1,void 0,-1===r?t.length:r),gt(n)}function gn(n,t,r,a){for(var i=!!t,o=0;o=a.length||0===l;if(u&&32768&i)return k&&k(a),void(R&&R(a));if(15360&i&&(Gn(function(e){return o[15360&e][0]}(i)),u&&a&&Kt(a.pos,!0)),k&&k(a),u)1&i&&(!B||t&&!e.rangeIsOnSingleLine(t,r))?Jn():256&i&&!(524288&i)&&Hn();else{e.Debug.type(a);var d=!(262144&i),f=d,m=rt(t,a,i);m?(Jn(m),f=!1):256&i&&Hn(),128&i&&qn();for(var _=void 0,g=void 0,y=!1,h=0;h0?(131&i||(qn(),y=!0),Jn(b),f=!1):_&&512&i&&Hn()}if(g=de(v),f){if(Kt)Kt(e.getCommentRange(v).pos)}else f=d;p=v.pos,1===n.length?n(v):n(v,s),y&&(Xn(),y=!1),_=v}var E=_?e.getEmitFlags(_):0,T=$||!!(1024&E),S=(null==a?void 0:a.hasTrailingComma)&&64&i&&16&i;S&&(_&&!T?Xe(27,_.end,Gn,_):Gn(",")),_&&(t?t.end:-1)!==_.end&&60&i&&!T&&Ut(S&&(null==a?void 0:a.end)?a.end:_.end),128&i&&Xn(),pe(g);var x=it(t,a,i);x?Jn(x):2097408&i&&Hn()}R&&R(a),15360&i&&(u&&a&&Ut(a.end),Gn(function(e){return o[15360&e][1]}(i)))}}function Pn(e){f.writeLiteral(e)}function Fn(e,n){f.writeSymbol(e,n)}function Gn(e){f.writePunctuation(e)}function Bn(){f.writeTrailingSemicolon(";")}function Un(e){f.writeKeyword(e)}function Vn(e){f.writeOperator(e)}function Kn(e){f.writeParameter(e)}function jn(e){f.writeComment(e)}function Hn(){f.writeSpace(" ")}function Wn(e){f.writeProperty(e)}function zn(e){f.nonEscapingWrite?f.nonEscapingWrite(e):f.write(e)}function Jn(e){void 0===e&&(e=1);for(var n=0;n0)}function qn(){f.increaseIndent()}function Xn(){f.decreaseIndent()}function Yn(n,t,r,a){return z?Zn(n,r,t):function(n,t,r,a,i){if(z||n&&e.isInJsonFile(n))return i(t,r,a);var o=n&&n.emitNode,s=o&&o.flags||0,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[t],l=c&&c.source||y;a=Zt(l,c?c.pos:a),!(128&s)&&a>=0&&er(l,a);a=i(t,r,a),c&&(a=c.end);!(256&s)&&a>=0&&er(l,a);return a}(a,n,r,t,Zn)}function Qn(n,t){O&&O(n),t(e.tokenToString(n.kind)),w&&w(n)}function Zn(n,t,r){var a=e.tokenToString(n);return t(a),r<0?r:r+a.length}function $n(n,t,r){if(1&e.getEmitFlags(n))Hn();else if(B){var a=ut(n,t,r);a?Jn(a):Hn()}else Jn()}function et(n){for(var t=n.split(/\r\n?|\n/g),r=e.guessIndentation(t),a=0,i=t;a-1&&a.indexOf(t)===i+1}(n,t)?ot((function(a){return e.getLinesBetweenRangeEndAndRangeStart(n,t,r,a)})):!B&&(i=n,o=t,(i=e.getOriginalNode(i)).parent&&i.parent===e.getOriginalNode(o).parent)?e.rangeEndIsOnSameLineAsRangeStart(n,t,r)?0:1:65536&a?1:0;if(lt(n,a)||lt(t,a))return 1}else if(e.getStartsOnNewLine(t))return 1;var i,o;return 1&a?1:0}function it(n,t,a){if(2&a||B){if(65536&a)return 1;var i=e.lastOrUndefined(t);if(void 0===i)return!n||e.rangeIsOnSingleLine(n,r)?0:1;if(n&&!e.positionIsSynthesized(n.pos)&&!e.nodeIsSynthesized(i)&&(!i.parent||i.parent===n)){if(B){var o=e.isNodeArray(t)&&!e.positionIsSynthesized(t.end)?t.end:i.end;return ot((function(t){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(o,n.end,r,t)}))}return e.rangeEndPositionsAreOnSameLine(n,i,r)?0:1}if(lt(i,a))return 1}return 1&a&&!(131072&a)?1:0}function ot(n){e.Debug.assert(!!B);var t=n(!0);return 0===t?n(!1):t}function st(e,n){var t=B&&rt(n,[e],0);return t&&nt(t,!1),!!t}function ct(e,n){var t=B&&it(n,[e],0);t&&Jn(t)}function lt(n,t){if(e.nodeIsSynthesized(n)){var r=e.getStartsOnNewLine(n);return void 0===r?!!(65536&t):r}return!!(65536&t)}function ut(n,t,a){return 131072&e.getEmitFlags(n)?0:(n=pt(n),t=pt(t),a=pt(a),e.getStartsOnNewLine(a)?1:e.nodeIsSynthesized(n)||e.nodeIsSynthesized(t)||e.nodeIsSynthesized(a)?0:B?ot((function(n){return e.getLinesBetweenRangeEndAndRangeStart(t,a,r,n)})):e.rangeEndIsOnSameLineAsRangeStart(t,a,r)?0:1)}function dt(n){return 0===n.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(n,n,r)}function pt(n){for(;211===n.kind&&e.nodeIsSynthesized(n);)n=n.expression;return n}function ft(n,t){return e.isGeneratedIdentifier(n)?Et(n):(e.isIdentifier(n)||e.isPrivateIdentifier(n))&&(e.nodeIsSynthesized(n)||!n.parent||!r||n.parent&&r&&e.getSourceFileOfNode(n)!==e.getOriginalNode(r))?e.idText(n):10===n.kind&&n.textSourceNode?ft(n.textSourceNode,t):!e.isLiteralExpression(n)||!e.nodeIsSynthesized(n)&&n.parent?e.getSourceTextOfNodeFromSourceFile(r,n,t):n.text}function mt(t,a,i){if(10===t.kind&&t.textSourceNode){var o=t.textSourceNode;if(e.isIdentifier(o)||e.isNumericLiteral(o)){var s=e.isNumericLiteral(o)?o.text:ft(o);return i?'"'.concat(e.escapeJsxAttributeString(s),'"'):a||16777216&e.getEmitFlags(t)?'"'.concat(e.escapeString(s),'"'):'"'.concat(e.escapeNonAsciiString(s),'"')}return mt(o,a,i)}var c=(a?1:0)|(i?2:0)|(n.terminateUnterminatedLiterals?4:0)|(n.target&&99===n.target?8:0);return e.getLiteralText(t,r,c)}function _t(n){n&&524288&e.getEmitFlags(n)||(c.push(l),l=0,u.push(d))}function gt(n){n&&524288&e.getEmitFlags(n)||(l=c.pop(),d=u.pop())}function yt(n){d&&d!==e.lastOrUndefined(u)||(d=new e.Set),d.add(n)}function ht(n){if(n)switch(n.kind){case 234:case 288:case 289:e.forEach(n.statements,ht);break;case 249:case 247:case 239:case 240:ht(n.statement);break;case 238:ht(n.thenStatement),ht(n.elseStatement);break;case 241:case 243:case 242:ht(n.initializer),ht(n.statement);break;case 248:ht(n.caseBlock);break;case 262:e.forEach(n.clauses,ht);break;case 251:ht(n.tryBlock),ht(n.catchClause),ht(n.finallyBlock);break;case 291:ht(n.variableDeclaration),ht(n.block);break;case 236:ht(n.declarationList);break;case 254:e.forEach(n.declarations,ht);break;case 253:case 163:case 202:case 256:case 267:case 273:bt(n.name);break;case 255:bt(n.name),524288&e.getEmitFlags(n)&&(e.forEach(n.parameters,ht),ht(n.body));break;case 200:case 201:case 268:e.forEach(n.elements,ht);break;case 265:ht(n.importClause);break;case 266:bt(n.name),ht(n.namedBindings);break;case 269:bt(n.propertyName||n.name)}}function vt(e){if(e)switch(e.kind){case 294:case 295:case 166:case 168:case 171:case 172:bt(e.name)}}function bt(n){n&&(e.isGeneratedIdentifier(n)?Et(n):e.isBindingPattern(n)&&ht(n))}function Et(n){if(4==(7&n.autoGenerateFlags))return Tt(function(n){var t=n.autoGenerateId,r=n,a=r.original;for(;a&&(r=a,!(e.isIdentifier(r)&&4&r.autoGenerateFlags&&r.autoGenerateId!==t));)a=r.original;return r}(n),n.autoGenerateFlags);var t=n.autoGenerateId;return i[t]||(i[t]=function(n){switch(7&n.autoGenerateFlags){case 1:return Lt(0,!!(8&n.autoGenerateFlags));case 2:return Lt(268435456,!!(8&n.autoGenerateFlags));case 3:return Dt(e.idText(n),32&n.autoGenerateFlags?xt:St,!!(16&n.autoGenerateFlags),!!(8&n.autoGenerateFlags))}return e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(n))}function Tt(n,t){var r=e.getNodeId(n);return a[r]||(a[r]=function(n,t){switch(n.kind){case 79:return Dt(ft(n),St,!!(16&t),!!(8&t));case 260:case 259:return function(n){var t=ft(n.name);return function(n,t){for(var r=t;e.isNodeDescendantOf(r,t);r=r.nextContainer)if(r.locals){var a=r.locals.get(e.escapeLeadingUnderscores(n));if(a&&3257279&a.flags)return!1}return!0}(t,n)?t:Dt(t)}(n);case 265:case 271:return function(n){var t=e.getExternalModuleName(n);return Dt(e.isStringLiteral(t)?e.makeIdentifierFromModuleName(t.text):"module")}(n);case 255:case 256:case 270:return Dt("default");case 225:return Dt("class");case 168:case 171:case 172:return function(n){if(e.isIdentifier(n.name))return Tt(n.name);return Lt(0)}(n);case 161:return Lt(0,!0);default:return Lt(0)}}(n,t))}function St(e){return xt(e)&&!s.has(e)&&!(d&&d.has(e))}function xt(n){return!r||e.isFileLevelUniqueName(r,n,S)}function Lt(e,n){if(e&&!(l&e)&&St(t=268435456===e?"_i":"_n"))return l|=e,n&&yt(t),t;for(;;){var t,r=268435455&l;if(l++,8!==r&&13!==r)if(St(t=r<26?"_"+String.fromCharCode(97+r):"_"+(r-26)))return n&&yt(t),t}}function Dt(e,n,t,r){if(void 0===n&&(n=St),t&&n(e))return r?yt(e):s.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var a=1;;){var i=e+a;if(n(i))return r?yt(i):s.add(i),i;a++}}function Ct(e){return Dt(e,xt,!0)}function At(e,n){var t=Oe(2,e,n),r=X,a=Y,i=Q;It(n),t(e,n),Nt(n,r,a,i)}function It(n){var t=e.getEmitFlags(n),r=e.getCommentRange(n);!function(n,t,r,a){ne(),Z=!1;var i=r<0||!!(512&t)||11===n.kind,o=a<0||!!(1024&t)||11===n.kind;(r>0||a>0)&&r!==a&&(i||Mt(r,347!==n.kind),(!i||r>=0&&512&t)&&(X=r),(!o||a>=0&&1024&t)&&(Y=a,254===n.kind&&(Q=a)));e.forEach(e.getSyntheticLeadingComments(n),kt),te()}(n,t,r.pos,r.end),2048&t&&($=!0)}function Nt(n,t,r,a){var i=e.getEmitFlags(n),o=e.getCommentRange(n);2048&i&&($=!1),function(n,t,r,a,i,o,s){ne();var c=a<0||!!(1024&t)||11===n.kind;e.forEach(e.getSyntheticTrailingComments(n),Rt),(r>0||a>0)&&r!==a&&(X=i,Y=o,Q=s,c||347===n.kind||function(e){zt(e,Vt)}(a));te()}(n,i,o.pos,o.end,t,r,a)}function kt(e){(e.hasLeadingNewline||2===e.kind)&&f.writeLine(),Ot(e),e.hasTrailingNewLine||2===e.kind?f.writeLine():f.writeSpace(" ")}function Rt(e){f.isAtStartOfLine()||f.writeSpace(" "),Ot(e),e.hasTrailingNewLine&&f.writeLine()}function Ot(n){var t=function(e){return 3===e.kind?"/*".concat(e.text,"*/"):"//".concat(e.text)}(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,f,0,t.length,P)}function wt(n,t,a){ne();var i,o,s=t.pos,c=t.end,l=e.getEmitFlags(n),u=$||c<0||!!(1024&l);s<0||!!(512&l)||(i=t,(o=e.emitDetachedComments(r.text,Te(),f,Jt,i,P,$))&&(b?b.push(o):b=[o])),te(),2048&l&&!$?($=!0,a(n),$=!1):a(n),ne(),u||(Mt(t.end,!0),Z&&!f.isAtStartOfLine()&&f.writeLine()),te()}function Mt(e,n){Z=!1,n?0===e&&(null==r?void 0:r.isDeclarationFile)?Wt(e,Ft):Wt(e,Bt):0===e&&Wt(e,Pt)}function Pt(e,n,t,r,a){qt(e,n)&&Bt(e,n,t,r,a)}function Ft(e,n,t,r,a){qt(e,n)||Bt(e,n,t,r,a)}function Gt(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function Bt(n,t,a,i,o){Gt(r.text,n)&&(Z||(e.emitNewLineBeforeLeadingCommentOfPosition(Te(),f,o,n),Z=!0),$t(n),e.writeCommentRange(r.text,Te(),f,n,t,P),$t(t),i?f.writeLine():3===a&&f.writeSpace(" "))}function Ut(e){$||-1===e||Mt(e,!0)}function Vt(n,t,a,i){Gt(r.text,n)&&(f.isAtStartOfLine()||f.writeSpace(" "),$t(n),e.writeCommentRange(r.text,Te(),f,n,t,P),$t(t),i&&f.writeLine())}function Kt(e,n,t){$||(ne(),zt(e,n?Vt:t?jt:Ht),te())}function jt(n,t,a){$t(n),e.writeCommentRange(r.text,Te(),f,n,t,P),$t(t),2===a&&f.writeLine()}function Ht(n,t,a,i){$t(n),e.writeCommentRange(r.text,Te(),f,n,t,P),$t(t),i?f.writeLine():f.writeSpace(" ")}function Wt(n,t){!r||-1!==X&&n===X||(function(n){return void 0!==b&&e.last(b).nodePos===n}(n)?function(n){var t=e.last(b).detachedCommentEndPos;b.length-1?b.pop():b=void 0;e.forEachLeadingCommentRange(r.text,t,n,t)}(t):e.forEachLeadingCommentRange(r.text,n,t,n))}function zt(n,t){r&&(-1===Y||n!==Y&&n!==Q)&&e.forEachTrailingCommentRange(r.text,n,t)}function Jt(n,t,a,i,o,s){Gt(r.text,i)&&($t(i),e.writeCommentRange(n,t,a,i,o,s),$t(o))}function qt(n,t){return e.isRecognizedTripleSlashComment(r.text,n,t)}function Xt(e,n){var t=Oe(3,e,n);Yt(n),t(e,n),Qt(n)}function Yt(n){var t=e.getEmitFlags(n),r=e.getSourceMapRange(n);if(e.isUnparsedNode(n)){e.Debug.assertIsDefined(n.parent,"UnparsedNodes must have parent pointers");var a=function(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}(n.parent);a&&g&&g.appendSourceMap(f.getLine(),f.getColumn(),a,n.parent.sourceMapPath,n.parent.getLineAndCharacterOfPosition(n.pos),n.parent.getLineAndCharacterOfPosition(n.end))}else{var i=r.source||y;347!==n.kind&&!(16&t)&&r.pos>=0&&er(r.source||y,Zt(i,r.pos)),64&t&&(z=!0)}}function Qt(n){var t=e.getEmitFlags(n),r=e.getSourceMapRange(n);e.isUnparsedNode(n)||(64&t&&(z=!1),347!==n.kind&&!(32&t)&&r.end>=0&&er(r.source||y,r.end))}function Zt(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function $t(n){if(!(z||e.positionIsSynthesized(n)||tr(y))){var t=e.getLineAndCharacterOfPosition(y,n),r=t.line,a=t.character;g.addMapping(f.getLine(),f.getColumn(),J,r,a,void 0)}}function er(e,n){if(e!==y){var t=y,r=J;nr(e),$t(n),function(e,n){y=e,J=n}(t,r)}else $t(n)}function nr(e){z||(y=e,e!==h?tr(e)||(J=g.addSource(e.fileName),n.inlineSources&&g.setSourceContent(J,e.text),h=e,q=J):J=q)}function tr(n){return e.fileExtensionIs(n.fileName,".json")}}e.isBuildInfoFile=function(n){return e.fileExtensionIs(n,".tsbuildinfo")},e.forEachEmittedFile=s,e.getTsBuildInfoEmitOutputFilePath=c,e.getOutputPathsForBundle=l,e.getOutputPathsFor=u,e.getOutputExtension=p,e.getOutputDeclarationFileName=m,e.getCommonSourceDirectory=v,e.getCommonSourceDirectoryOfConfig=b,e.getAllProjectOutputs=function(n,t){var r=g(),a=r.addOutput,i=r.getOutputs;if(e.outFile(n.options))y(n,a);else{for(var o=e.memoize((function(){return b(n,t)})),s=0,l=n.fileNames;s=4,b=(g+1+"").length;v&&(b=Math.max(u.length,b));for(var E="",T=p;T<=g;T++){E+=o.getNewLine(),v&&p+11}))&&tt(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}G.useDefineForClassFields&&0===d&&tt(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");G.checkJs&&!e.getAllowJSCompilerOption(G)&&se.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));G.emitDeclarationOnly&&(e.getEmitDeclarations(G)||tt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),G.noEmit&&tt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));G.emitDecoratorMetadata&&!G.experimentalDecorators&&tt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");G.jsxFactory?(G.reactNamespace&&tt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==G.jsx&&5!==G.jsx||tt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+G.jsx)),e.parseIsolatedEntityName(G.jsxFactory,d)||rt("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,G.jsxFactory)):G.reactNamespace&&!e.isIdentifierText(G.reactNamespace,d)&&rt("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,G.reactNamespace);G.jsxFragmentFactory&&(G.jsxFactory||tt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==G.jsx&&5!==G.jsx||tt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+G.jsx)),e.parseIsolatedEntityName(G.jsxFragmentFactory,d)||rt("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,G.jsxFragmentFactory));G.reactNamespace&&(4!==G.jsx&&5!==G.jsx||tt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+G.jsx)));G.jsxImportSource&&2===G.jsx&&tt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+G.jsx));G.preserveValueImports&&e.getEmitModuleKind(G)=e.length(null==o?void 0:o.imports)+e.length(null==o?void 0:o.moduleAugmentations))return!1;var r=e.getResolvedModule(o,n,o&&h(o,t)),a=r&&V.getSourceFile(r.resolvedFileName);if(r&&a)return!1;var i=K.get(n);return!!i&&(e.isTraceEnabled(G,te)&&e.trace(te,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,n,i),!0)}}function Ze(n){return{getPrependNodes:en,getCanonicalFileName:Wn,getCommonSourceDirectory:je.getCommonSourceDirectory,getCompilerOptions:je.getCompilerOptions,getCurrentDirectory:function(){return ce},getNewLine:function(){return te.getNewLine()},getSourceFile:je.getSourceFile,getSourceFileByPath:je.getSourceFileByPath,getSourceFiles:je.getSourceFiles,getLibFileFromReference:je.getLibFileFromReference,isSourceFileFromExternalLibrary:nn,getResolvedProjectReferenceToRedirect:Mn,getProjectReferenceRedirect:Rn,isSourceOfProjectReferenceRedirect:Gn,getSymlinkCache:ut,writeFile:n||function(e,n,t,r,a){return te.writeFile(e,n,t,r,a)},isEmitBlocked:an,readFile:function(e){return te.readFile(e)},fileExists:function(n){var t=Xe(n);return!!sn(t)||!e.contains(_e,t)&&te.fileExists(n)},useCaseSensitiveFileNames:function(){return te.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return je.getProgramBuildInfo&&je.getProgramBuildInfo()},getSourceFileFromReference:function(e,n){return je.getSourceFileFromReference(e,n)},redirectTargetsMap:Te,getFileIncludeReasons:je.getFileIncludeReasons}}function $e(){return ge}function en(){return I(U,(function(e,n){var t;return null===(t=ge[n])||void 0===t?void 0:t.commandLine}),(function(e){var n=Xe(e),t=sn(n);return t?t.text:xe.has(n)?void 0:te.readFile(n)}))}function nn(e){return!!Y.get(e.path)}function tn(){return v||(v=e.createTypeChecker(je,!0))}function rn(){return O||(O=e.createTypeChecker(je,!1))}function an(e){return de.has(Xe(e))}function on(e){return sn(Xe(e))}function sn(e){return xe.get(e)||void 0}function cn(n,t,r){return n?t(n,r):e.sortAndDeduplicateDiagnostics(e.flatMap(je.getSourceFiles(),(function(e){return r&&r.throwIfCancellationRequested(),t(e,r)})))}function ln(n){var t;if(e.skipTypeChecking(n,G,je))return e.emptyArray;var r=se.getDiagnostics(n.fileName);return(null===(t=n.commentDirectives)||void 0===t?void 0:t.length)?_n(n,n.commentDirectives,r).diagnostics:r}function un(n){return e.isSourceFileJS(n)?(n.additionalSyntacticDiagnostics||(n.additionalSyntacticDiagnostics=function(n){return dn((function(){var t=[];return r(n,n),e.forEachChildRecursively(n,r,a),t;function r(n,r){switch(r.kind){case 163:case 166:case 168:if(r.questionToken===n)return t.push(s(n,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(r.type===n)return t.push(s(n,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(n.kind){case 266:if(n.isTypeOnly)return t.push(s(r,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 271:if(n.isTypeOnly)return t.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 264:return t.push(s(n,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 270:if(n.isExportEquals)return t.push(s(n,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 290:if(117===n.token)return t.push(s(n,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 257:var a=e.tokenToString(118);return e.Debug.assertIsDefined(a),t.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 260:var i=16&n.flags?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(i),t.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,i)),"skip";case 258:return t.push(s(n,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 259:var o=e.Debug.checkDefined(e.tokenToString(92));return t.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 229:return t.push(s(n,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 228:return t.push(s(n.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 210:e.Debug.fail()}}function a(n,r){switch(r.decorators!==n||G.experimentalDecorators||t.push(s(r,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)),r.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(n===r.typeParameters)return t.push(o(n,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 236:if(n===r.modifiers)return i(r.modifiers,236===r.kind),"skip";break;case 166:if(n===r.modifiers){for(var a=0,c=n;a=0;){if(t.markUsed(o))return o;var s=r.text.slice(i[o],i[o+1]).trim();if(""!==s&&!/^(\s*)\/\/(.*)$/.test(s))return-1;o--}return-1}(n,a)}));return{diagnostics:i,directives:a}}function gn(e,n){return hn(e,n,W,yn)}function yn(n,t){return dn((function(){var r=tn().getEmitResolver(n,t);return e.getDeclarationDiagnostics(Ze(e.noop),r,n)||e.emptyArray}))}function hn(n,t,r,a){var i,o=n?null===(i=r.perFile)||void 0===i?void 0:i.get(n.path):r.allDiagnostics;if(o)return o;var s=a(n,t);return n?(r.perFile||(r.perFile=new e.Map)).set(n.path,s):r.allDiagnostics=s,s}function vn(e,n){return e.isDeclarationFile?[]:gn(e,n)}function bn(n,t,r,a){Dn(e.normalizePath(n),t,r,void 0,a)}function En(e,n){return e.fileName===n.fileName}function Tn(e,n){return 79===e.kind?79===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function Sn(n,t){var r=e.factory.createStringLiteral(n),a=e.factory.createImportDeclaration(void 0,void 0,void 0,r,void 0);return e.addEmitFlags(a,67108864),e.setParent(r,a),e.setParent(a,t),r.flags&=-9,a.flags&=-9,r}function xn(n){if(!n.imports){var t,r,a,i=e.isSourceFileJS(n),o=e.isExternalModule(n);if((G.isolatedModules||o)&&!n.isDeclarationFile){G.importHelpers&&(t=[Sn(e.externalHelpersModuleNameText,n)]);var s=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(G,n),G);s&&(t||(t=[])).push(Sn(s,n))}for(var c=0,l=n.statements;c=1&&e.isStringLiteralLike(a.arguments[0])?(e.setParentRecursive(a,!1),t=e.append(t,a.arguments[0])):e.isLiteralImportTypeNode(a)&&(e.setParentRecursive(a,!1),t=e.append(t,a.argument.literal))}}(n),n.imports=t||e.emptyArray,n.moduleAugmentations=r||e.emptyArray,void(n.ambientModuleNames=a||e.emptyArray)}function u(i,s){if(e.isAnyImportOrReExport(i)){var c=e.getExternalModuleName(i);!(c&&e.isStringLiteral(c)&&c.text)||s&&e.isExternalModuleNameRelative(c.text)||(e.setParentRecursive(i,!1),t=e.append(t,c),Se||0!==q||n.isDeclarationFile||(Se=e.startsWith(c.text,"node:")))}else if(e.isModuleDeclaration(i)&&e.isAmbientModule(i)&&(s||e.hasSyntacticModifier(i,2)||n.isDeclarationFile)){i.name.parent=i;var l=e.getTextOfIdentifierOrLiteral(i.name);if(o||s&&!e.isExternalModuleNameRelative(l))(r||(r=[])).push(i.name);else if(!s){n.isDeclarationFile&&(a||(a=[])).push(l);var d=i.body;if(d)for(var p=0,f=d.statements;p0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}(b,h,n,o,Xe(n),d);return Te.add(b.path,n),kn(E,o,u),Nn(E,a),Ee.set(o,i.name),f.push(E),E}h&&(be.set(v,h),Ee.set(o,i.name))}if(kn(h,o,u),h){if(Y.set(o,q>0),h.fileName=n,h.path=o,h.resolvedPath=Xe(n),h.originalFileName=d,h.impliedNodeFormat=L(h.resolvedPath,null==Z?void 0:Z.getPackageJsonInfoCache(),te,G),Nn(h,a),te.useCaseSensitiveFileNames()){var S=e.toFileNameLowerCase(o),x=Le.get(S);x?An(n,x,a):Le.set(S,h)}ae=ae||h.hasNoDefaultLib&&!r,G.noResolve||(Un(h,t),Vn(h)),G.noLib||Hn(h),zn(h),t?p.push(h):f.push(h)}return h}(n,t,r,a,i);return null===e.tracing||void 0===e.tracing||e.tracing.pop(),o}function Nn(e,n){e&&j.add(e.path,n)}function kn(e,n,t){t?(xe.set(t,e),xe.set(n,e||!1)):xe.set(n,e)}function Rn(e){var n=On(e);return n&&wn(n,e)}function On(n){if(ge&&ge.length&&!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json"))return Mn(n)}function wn(n,t){var r=e.outFile(n.commandLine.options);return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!te.useCaseSensitiveFileNames())}function Mn(n){void 0===he&&(he=new e.Map,Pn((function(e){Xe(G.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((function(n){return he.set(Xe(n),e.sourceFile.path)}))})));var t=he.get(Xe(n));return t&&Bn(t)}function Pn(n){return e.forEachResolvedProjectReference(ge,n)}function Fn(n){if(e.isDeclarationFileName(n))return void 0===ve&&(ve=new e.Map,Pn((function(n){var t=e.outFile(n.commandLine.options);if(t){var r=e.changeExtension(t,".d.ts");ve.set(Xe(r),!0)}else{var a=e.memoize((function(){return e.getCommonSourceDirectoryOfConfig(n.commandLine,!te.useCaseSensitiveFileNames())}));e.forEach(n.commandLine.fileNames,(function(t){if(!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json")){var r=e.getOutputDeclarationFileName(t,n.commandLine,!te.useCaseSensitiveFileNames(),a);ve.set(Xe(r),t)}}))}}))),ve.get(n)}function Gn(e){return De&&!!Mn(e)}function Bn(e){if(ye)return ye.get(e)||void 0}function Un(t,r){e.forEach(t.referencedFiles,(function(a,i){Dn(n(a.fileName,t.fileName),r,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:t.path,index:i})}))}function Vn(n){var t=e.map(n.typeReferenceDirectives,(function(n){return e.toFileNameLowerCase(n.fileName)}));if(t)for(var r=We(t,n),a=0;aJ,f=d&&!k(i,s)&&!i.noResolve&&op?e.createDiagnosticForNodeInSourceFile(d,f.elements[p],n.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(!G.types)return;a=nt("types",n.typeReference),i=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(void 0!==n.index){a=nt("lib",G.lib[n.index]),i=e.Diagnostics.File_is_library_specified_here;break}var m=e.forEachEntry(e.targetOptionDeclaration.type,(function(n,t){return n===e.getEmitScriptTarget(G)?t:void 0}));a=m?(_=m,(g=$n("target"))&&e.firstDefined(g,(function(n){return e.isStringLiteral(n.initializer)&&n.initializer.text===_?n.initializer:void 0}))):void 0,i=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(n)}var _,g;return a&&e.createDiagnosticForNodeInSourceFile(G.configFile,a,i)}(n))),n===t&&(t=void 0)}}function Xn(e,n,t,r){(M||(M=[])).push({kind:1,file:e&&e.path,fileProcessingReason:n,diagnostic:t,args:r})}function Yn(e,n,t){se.add(qn(e,void 0,n,t))}function Qn(n,t,r,a,i,o){for(var s=!0,c=0,l=et();ct&&(se.add(e.createDiagnosticForNodeInSourceFile(G.configFile,f.elements[t],r,a,i,o)),s=!1)}}s&&se.add(e.createCompilerDiagnostic(r,a,i,o))}function Zn(n,t,r,a){for(var i=!0,o=0,s=et();ot?se.add(e.createDiagnosticForNodeInSourceFile(n||G.configFile,o.elements[t],r,a,i)):se.add(e.createCompilerDiagnostic(r,a,i))}function it(n,t,r,a,i,o,s){var c=ot();(!c||!st(c,n,t,r,a,i,o,s))&&se.add(e.createCompilerDiagnostic(a,i,o,s))}function ot(){if(void 0===Q){Q=!1;var n=e.getTsConfigObjectLiteralExpression(G.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t0)for(var i=n.getTypeChecker(),o=0,l=t.imports;o0)for(var p=0,f=t.referencedFiles;p1&&T(E)}return a;function T(n){if(n.declarations)for(var r=0,a=n.declarations;r0;){var d=u.pop();if(!l.has(d)){var p=t.getSourceFileByPath(d);l.set(d,p),p&&f(n,t,p,a,i,o,s)&&u.push.apply(u,_(n,p.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}t.createManyToManyPathMap=a,t.canReuseOldState=u,t.create=function(n,t,r,i){var o=new e.Map,s=n.getCompilerOptions().module!==e.ModuleKind.None?a():void 0,c=s?a():void 0,d=new e.Set,p=u(s,r);n.getTypeChecker();for(var f=0,m=n.getSourceFiles();f0;){var c=s.pop();if(!o.has(c)&&(o.set(c,!0),r(n,c),u(n,c))){var l=e.Debug.checkDefined(n.program).getSourceFileByPath(c);s.push.apply(s,e.BuilderState.getReferencedByPaths(n,l.resolvedPath))}}}e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap);var p=new e.Set;null===(a=n.currentAffectedFilesExportedModulesMap.getKeys(t.resolvedPath))||void 0===a||a.forEach((function(e){return d(n,e,p,r)})),null===(i=n.exportedModulesMap.getKeys(t.resolvedPath))||void 0===i||i.forEach((function(e){var t;return!n.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null===(t=n.currentAffectedFilesExportedModulesMap.deletedKeys())||void 0===t?void 0:t.has(e))&&d(n,e,p,r)}))}(n,t,(function(n,t){return function(n,t,r,a){if(l(n,t),!n.changedFilesSet.has(t)){var i=e.Debug.checkDefined(n.program),o=i.getSourceFileByPath(t);o&&(e.BuilderState.updateShapeSignature(n,i,o,e.Debug.checkDefined(n.currentAffectedFilesSignatures),r,a,n.currentAffectedFilesExportedModulesMap,!0),e.getEmitDeclarations(n.compilerOptions)&&E(n,t,0))}}(n,t,r,a)}));else{if(!n.cleanedDiagnosticsOfLibFiles){n.cleanedDiagnosticsOfLibFiles=!0;var o=e.Debug.checkDefined(n.program),s=o.getCompilerOptions();e.forEach(o.getSourceFiles(),(function(t){return o.isSourceFileDefaultLibrary(t)&&!e.skipTypeChecking(t,s,o)&&l(n,t.resolvedPath)}))}e.BuilderState.updateShapeSignature(n,e.Debug.checkDefined(n.program),t,e.Debug.checkDefined(n.currentAffectedFilesSignatures),r,a,n.currentAffectedFilesExportedModulesMap)}}function l(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function u(n,t){return e.Debug.checkDefined(n.currentAffectedFilesSignatures).get(t)!==e.Debug.checkDefined(n.fileInfos.get(t)).signature}function d(e,n,t,r){var a;null===(a=e.referencedMap.getKeys(n))||void 0===a||a.forEach((function(n){return p(e,n,t,r)}))}function p(n,t,r,a){var i,o,s;e.tryAddToSet(r,t)&&(a(n,t),e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap),null===(i=n.currentAffectedFilesExportedModulesMap.getKeys(t))||void 0===i||i.forEach((function(e){return p(n,e,r,a)})),null===(o=n.exportedModulesMap.getKeys(t))||void 0===o||o.forEach((function(e){var t;return!n.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null===(t=n.currentAffectedFilesExportedModulesMap.deletedKeys())||void 0===t?void 0:t.has(e))&&p(n,e,r,a)})),null===(s=n.referencedMap.getKeys(t))||void 0===s||s.forEach((function(e){return!r.has(e)&&a(n,e)})))}function f(n,t,r,a,i){i?n.buildInfoEmitPending=!1:t===n.program?(n.changedFilesSet.clear(),n.programEmitComplete=!0):(n.seenAffectedFiles.add(t.resolvedPath),void 0!==r&&(n.seenEmittedFiles||(n.seenEmittedFiles=new e.Map)).set(t.resolvedPath,r),a?(n.affectedFilesPendingEmitIndex++,n.buildInfoEmitPending=!0):n.affectedFilesIndex++)}function m(e,n,t){return f(e,t),{result:n,affected:t}}function _(e,n,t,r,a,i){return f(e,t,r,a,i),{result:n,affected:t}}function g(n,t,r){return e.concatenate(function(n,t,r){var a=t.resolvedPath;if(n.semanticDiagnosticsPerFile){var i=n.semanticDiagnosticsPerFile.get(a);if(i)return e.filterSemanticDiagnostics(i,n.compilerOptions)}var o=e.Debug.checkDefined(n.program).getBindAndCheckDiagnostics(t,r);n.semanticDiagnosticsPerFile&&n.semanticDiagnosticsPerFile.set(a,o);return e.filterSemanticDiagnostics(o,n.compilerOptions)}(n,t,r),e.Debug.checkDefined(n.program).getProgramDiagnostics(t))}function y(n,t){for(var r,a=e.getOptionsNameMap().optionsNameMap,i=0,o=e.getOwnKeys(n).sort(e.compareStringsCaseSensitive);i1||47!==n.charCodeAt(0);if(i&&0!==n.search(/[a-zA-Z]:/)&&0===a.search(/[a-zA-z]\$\//)){if(-1===(r=n.indexOf(e.directorySeparator,r+1)))return!1;a=n.substring(t+a.length,r+1)}if(i&&0!==a.search(/users\//i))return!0;for(var o=r+1,s=2;s>0;s--)if(0===(o=n.indexOf(e.directorySeparator,o)+1))return!1;return!0}function r(e){var n,t;return!(!(null===(n=e.resolvedModule)||void 0===n?void 0:n.originalPath)&&!(null===(t=e.resolvedTypeReferenceDirective)||void 0===t?void 0:t.originalPath))}e.removeIgnoredPath=n,e.canWatchDirectory=t,e.createResolutionCache=function(a,i,o){var s,c,l,u,d,p,f=e.createMultiMap(),m=[],_=e.createMultiMap(),g=!1,y=e.memoize((function(){return a.getCurrentDirectory()})),h=a.getCachedDirectoryStructureHost(),v=new e.Map,b=e.createCacheWithRedirects(),E=e.createCacheWithRedirects(),T=e.createModuleResolutionCache(y(),a.getCanonicalFileName,void 0,b,E),S=new e.Map,x=e.createCacheWithRedirects(),L=e.createTypeReferenceDirectiveResolutionCache(y(),a.getCanonicalFileName,void 0,T.getPackageJsonInfoCache(),x),D=[".ts",".tsx",".js",".jsx",".json"],C=new e.Map,A=new e.Map,I=i&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(i,y())),N=I&&a.toPath(I),k=void 0!==N?N.split(e.directorySeparator).length:0,R=new e.Map;return{getModuleResolutionCache:function(){return T},startRecordingFilesWithChangedResolutions:function(){s=[]},finishRecordingFilesWithChangedResolutions:function(){var e=s;return s=void 0,e},startCachingPerDirectoryResolution:F,finishCachingPerDirectoryResolution:function(){l=void 0,F(),A.forEach((function(e,n){0===e.refCount&&(A.delete(n),e.watcher.close())})),g=!1},resolveModuleNames:function(n,t,r,a,i){return U({names:n,containingFile:t,redirectedReference:a,cache:v,perDirectoryCacheWithRedirects:b,loader:G,getResolutionWithResolvedFileName:O,shouldRetryResolution:function(n){return!n.resolvedModule||!e.resolutionExtensionIsTSOrJson(n.resolvedModule.extension)},reusedNames:r,logChanges:o,containingSourceFile:i})},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,n,t){var r=v.get(a.toPath(n));return r?r.get(e,t):void 0},resolveTypeReferenceDirectives:function(e,n,t){return U({names:e,containingFile:n,redirectedReference:t,cache:S,perDirectoryCacheWithRedirects:x,loader:B,getResolutionWithResolvedFileName:w,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(n){if(!e.fileExtensionIs(n,".json"))return;var t=a.getCurrentProgram();if(!t)return;var r=t.getResolvedProjectReferenceByPath(n);if(!r)return;r.commandLine.fileNames.forEach((function(e){return $(a.toPath(e))}))},removeResolutionsOfFile:$,hasChangedAutomaticTypeDirectiveNames:function(){return g},invalidateResolutionOfFile:function(n){$(n);var t=g;ee(_.get(n),e.returnTrue)&&g&&!t&&a.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:te,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(n){e.Debug.assert(l===n||void 0===l),l=n},createHasInvalidatedResolution:function(n){if(te(),n)return c=void 0,e.returnTrue;var t=c;return c=void 0,function(e){return!!t&&t.has(e)||P(e)}},isFileWithInvalidatedNonRelativeUnresolvedImports:P,updateTypeRootsWatch:function(){var n=a.getCompilationSettings();if(n.types)return void ae();var t=e.getEffectiveTypeRoots(n,{directoryExists:oe,getCurrentDirectory:y});t?e.mutateMap(R,e.arrayToMap(t,(function(e){return a.toPath(e)})),{createNewValue:ie,onDeleteValue:e.closeFileWatcher}):ae()},closeTypeRootsWatch:ae,clear:function(){e.clearMap(A,e.closeFileWatcherOf),C.clear(),f.clear(),ae(),v.clear(),S.clear(),_.clear(),m.length=0,u=void 0,d=void 0,p=void 0,F(),g=!1}};function O(e){return e.resolvedModule}function w(e){return e.resolvedTypeReferenceDirective}function M(n,t){return!(void 0===n||t.length<=n.length)&&(e.startsWith(t,n)&&t[n.length]===e.directorySeparator)}function P(e){if(!l)return!1;var n=l.get(e);return!!n&&!!n.length}function F(){T.clear(),L.clear(),f.forEach(J),f.clear()}function G(n,t,r,i,o){var s,c=e.resolveModuleName(n,t,r,i,T,o);if(!a.getGlobalCache)return c;var l=a.getGlobalCache();if(!(void 0===l||e.isExternalModuleNameRelative(n)||c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.checkDefined(a.globalCacheResolutionModuleName)(n),a.projectName,r,i,l,T),d=u.resolvedModule,p=u.failedLookupLocations;if(d)return c.resolvedModule=d,(s=c.failedLookupLocations).push.apply(s,p),c}return c}function B(n,t,r,a,i){return e.resolveTypeReferenceDirective(n,t,r,a,i,L)}function U(n){var t,i,o,c=n.names,l=n.containingFile,u=n.redirectedReference,d=n.cache,p=n.perDirectoryCacheWithRedirects,f=n.loader,m=n.getResolutionWithResolvedFileName,_=n.shouldRetryResolution,g=n.reusedNames,y=n.logChanges,h=n.containingSourceFile,v=a.toPath(l),b=d.get(v)||d.set(v,e.createModeAwareCache()).get(v),E=e.getDirectoryPath(v),T=p.getOrCreateMapOfCacheRedirects(u),S=T.get(E);S||(S=e.createModeAwareCache(),T.set(E,S));for(var x=[],L=a.getCompilationSettings(),D=y&&P(v),C=a.getCurrentProgram(),A=C&&C.getResolvedProjectReferenceToRedirect(l),I=A?!u||u.sourceFile.path!==A.sourceFile.path:!!u,N=e.createModeAwareCache(),k=0,R=0,O=c;Rk+1?{dir:a.slice(0,k+1).join(e.directorySeparator),dirPath:r.slice(0,k+1).join(e.directorySeparator)}:{dir:I,dirPath:N,nonRecursive:!1}}return j(e.getDirectoryPath(e.getNormalizedAbsolutePath(n,y())),e.getDirectoryPath(t))}function j(n,r){for(;e.pathContainsNodeModules(r);)n=e.getDirectoryPath(n),r=e.getDirectoryPath(r);if(e.isNodeModulesDirectory(r))return t(e.getDirectoryPath(r))?{dir:n,dirPath:r}:void 0;var a,i,o=!0;if(void 0!==N)for(;!M(r,N);){var s=e.getDirectoryPath(r);if(s===r)break;o=!1,a=r,i=n,r=s,n=e.getDirectoryPath(n)}return t(r)?{dir:i||n,dirPath:a||r,nonRecursive:o}:void 0}function H(n){return e.fileExtensionIsOneOf(n,D)}function W(n,t,r,i){if(t.refCount)t.refCount++,e.Debug.assertDefined(t.files);else{t.refCount=1,e.Debug.assert(0===e.length(t.files)),e.isExternalModuleNameRelative(n)?z(t):f.add(n,t);var o=i(t);o&&o.resolvedFileName&&_.add(a.toPath(o.resolvedFileName),t)}(t.files||(t.files=[])).push(r)}function z(n){e.Debug.assert(!!n.refCount);var t=n.failedLookupLocations;if(t.length){m.push(n);for(var r=!1,i=0,o=t;i1),C.set(u,f-1))),p===N?o=!0:Y(p)}}o&&Y(N)}}}function Y(e){A.get(e).refCount--}function Q(e,n,t){return a.watchDirectoryOfFailedLookupLocation(e,(function(e){var t=a.toPath(e);h&&h.addOrDeleteFileOrDirectory(e,t),ne(t,n===t)}),t?0:1)}function Z(e,n,t){var r=e.get(n);r&&(r.forEach((function(e){return X(e,n,t)})),e.delete(n))}function $(e){Z(v,e,O),Z(S,e,w)}function ee(n,t){if(!n)return!1;for(var r=!1,a=0,i=n;a1&&t.sort(g),s.push.apply(s,t));var a=e.getDirectoryPath(n);if(a===n)return o=n,"break";o=n=a},l=e.getDirectoryPath(n);0!==i.size;){var u=c(l);if(l=o,"break"===u)break}if(i.size){var d=e.arrayFrom(i.values());d.length>1&&d.sort(g),s.push.apply(s,d)}return s}function E(n,t,r){for(var a in r)for(var i=0,o=r[a];i=u.length+d.length&&e.startsWith(t,u)&&e.endsWith(t,d)||!d&&t===e.removeTrailingDirectorySeparator(u)){var p=t.substr(u.length,t.length-d.length-u.length);return a.replace("*",p)}}else if(c===t||c===n)return a}}function T(n,t,r,a,i,o,s){if(void 0===s&&(s=0),"string"==typeof i){var c=e.getNormalizedAbsolutePath(e.combinePaths(r,i),void 0),l=e.hasTSFileExtension(t)?e.removeFileExtension(t)+C(t,n):void 0;switch(s){case 0:if(0===e.comparePaths(t,c)||l&&0===e.comparePaths(l,c))return{moduleFileToTry:a};break;case 1:if(e.containsPath(c,t)){var u=e.getRelativePathFromDirectory(c,t,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(a,i),u),void 0)}}break;case 2:var d=c.indexOf("*"),p=c.slice(0,d),f=c.slice(d+1);if(e.startsWith(t,p)&&e.endsWith(t,f)){var m=t.slice(p.length,t.length-f.length);return{moduleFileToTry:a.replace("*",m)}}if(l&&e.startsWith(l,p)&&e.endsWith(l,f)){m=l.slice(p.length,l.length-f.length);return{moduleFileToTry:a.replace("*",m)}}}}else{if(Array.isArray(i))return e.forEach(i,(function(e){return T(n,t,r,a,e,o)}));if("object"==typeof i&&null!==i){if(e.allKeysStartWithDot(i))return e.forEach(e.getOwnKeys(i),(function(s){var c=e.getNormalizedAbsolutePath(e.combinePaths(a,s),void 0),l=e.endsWith(s,"/")?1:e.stringContains(s,"*")?2:0;return T(n,t,r,c,i[s],o,l)}));for(var _=0,g=e.getOwnKeys(i);_=0||e.isApplicableVersionedTypesKey(o,y)){var h=i[y],v=T(n,t,r,a,h,o);if(v)return v}}}}}function S(n,t,r,a,i){var o=n.path,s=n.isRedirect,c=t.getCanonicalFileName,l=t.sourceDirectory;if(r.fileExists&&r.readFile){var u=function(n){var t,r=0,a=0,i=0,o=0;s=t||(t={}),s[s.BeforeNodeModules=0]="BeforeNodeModules",s[s.NodeModules=1]="NodeModules",s[s.Scope=2]="Scope",s[s.PackageContent=3]="PackageContent";var s;var c=0,l=0,u=0;for(;l>=0;)switch(c=l,l=n.indexOf("/",c+1),u){case 0:n.indexOf(e.nodeModulesPathPart,c)===c&&(r=c,a=l,u=1);break;case 1:case 2:1===u&&"@"===n.charAt(c+1)?u=2:(i=l,u=3);break;case 3:u=n.indexOf(e.nodeModulesPathPart,c)===c?1:3}return o=c,u>1?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:a,packageRootIndex:i,fileNameIndex:o}:void 0}(o);if(u){var d=o,p=!1;if(!i)for(var f=u.packageRootIndex,m=void 0;;){var _=A(f),g=_.moduleFileToTry,y=_.packageRootPath,h=_.blockedByExports,v=_.verbatimFromExports;if(e.getEmitModuleResolutionKind(a)!==e.ModuleResolutionKind.Classic){if(h)return;if(v)return g}if(y){d=y,p=!0;break}if(m||(m=g),-1===(f=o.indexOf(e.directorySeparator,f+1))){d=I(m);break}}if(!s||p){var b=r.getGlobalTypingsCacheLocation&&r.getGlobalTypingsCacheLocation(),S=c(d.substring(0,u.topLevelNodeModulesIndex));if(e.startsWith(l,S)||b&&e.startsWith(c(b),S)){var x=d.substring(u.topLevelPackageNameIndex+1),D=e.getPackageNameFromTypesPackageName(x);return e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.Classic&&D===x?void 0:D}}}}function A(n){var t=o.substring(0,n),i=e.combinePaths(t,"package.json"),s=o;if(r.fileExists(i)){var l=JSON.parse(r.readFile(i));if(e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(a)===e.ModuleResolutionKind.NodeNext){var u=l.exports&&"string"==typeof l.name?T(a,o,t,l.name,l.exports,["node","types"]):void 0;if(u){var d=e.hasTSFileExtension(u.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(u.moduleFileToTry)+C(u.moduleFileToTry,a)}:u;return wr(wr({},d),{verbatimFromExports:!0})}if(l.exports)return{moduleFileToTry:o,blockedByExports:!0}}var p=l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):void 0;if(p){var f=o.slice(t.length+1),m=E(e.removeFileExtension(f),L(f,0,a),p.paths);void 0!==m&&(s=e.combinePaths(t,m))}var _=l.typings||l.types||l.main;if(e.isString(_)){var g=e.toPath(_,t,c);if(e.removeFileExtension(g)===e.removeFileExtension(c(s)))return{packageRootPath:t,moduleFileToTry:s}}}return{moduleFileToTry:s}}function I(n){var t=e.removeFileExtension(n);return"/index"!==c(t.substring(u.fileNameIndex))||function(n,t){if(!n.fileExists)return;for(var r=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}])),a=0,i=r;a0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function v(n,t){return void 0===n&&(n=e.sys),{onWatchStatusChange:t||i(n),watchFile:e.maybeBind(n,n.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(n,n.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function b(n,t){var r=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(n.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getNewLine:function(){return n.newLine},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),getDefaultLibLocation:r,getDefaultLibFileName:function(n){return e.combinePaths(r(),e.getDefaultLibFileName(n))},fileExists:function(e){return n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:function(e){return n.directoryExists(e)},getDirectories:function(e){return n.getDirectories(e)},readDirectory:function(e,t,r,a,i){return n.readDirectory(e,t,r,a,i)},realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable),trace:function(e){return n.write(e+n.newLine)},createDirectory:function(e){return n.createDirectory(e)},writeFile:function(e,t,r){return n.writeFile(e,t,r)},createHash:e.maybeBind(n,n.createHash),createProgram:t||e.createEmitAndSemanticDiagnosticsBuilderProgram,disableUseFileVersionAsSignature:n.disableUseFileVersionAsSignature}}function E(n,t,r,a){void 0===n&&(n=e.sys);var i=function(e){return n.write(e+n.newLine)},o=b(n,t);return e.copyProperties(o,v(n,a)),o.afterProgramCreate=function(t){var a=t.getCompilerOptions(),c=e.getNewLineCharacter(a,(function(){return n.newLine}));y(t,r,i,(function(n){return o.onWatchStatusChange(e.createCompilerDiagnostic(s(n),n),c,a,n)}))},o}function T(n,t,r){t(r),n.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=t,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=a,e.createWatchStatusReporter=i,e.parseConfigFileWithSystem=function(n,t,r,a,i,o){var s=i;s.onUnRecoverableConfigFileDiagnostic=function(e){return T(i,o,e)};var c=e.getParsedCommandLineOfConfigFile(n,t,s,r,a);return s.onUnRecoverableConfigFileDiagnostic=void 0,c},e.getErrorCountForSummary=o,e.getWatchErrorSummaryDiagnosticMessage=s,e.getErrorSummaryText=c,e.isBuilderProgram=l,e.listFiles=u,e.explainFiles=d,e.explainIfFileIsRedirect=p,e.getMatchedFileSpec=f,e.getMatchedIncludeSpec=m,e.fileIncludeReasonToDiagnostics=_,e.emitFilesAndReportErrors=y,e.emitFilesAndReportErrorsAndGetExitStatus=h,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher},e.createWatchHost=v,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"},e.createWatchFactory=function(n,t){var r=n.trace?t.extendedDiagnostics?e.WatchLogLevel.Verbose:t.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,a=r!==e.WatchLogLevel.None?function(e){return n.trace(e)}:e.noop,i=e.getWatchFactory(n,r,a);return i.writeLog=a,i},e.createCompilerHostFromProgramHost=function(n,t,r){void 0===r&&(r=n);var a=n.useCaseSensitiveFileNames(),i=e.memoize((function(){return n.getNewLine()}));return{getSourceFile:function(r,a,i){var o;try{e.performance.mark("beforeIORead"),o=n.readFile(r,t().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),o=""}return void 0!==o?e.createSourceFile(r,o,a):void 0},getDefaultLibLocation:e.maybeBind(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:function(t,r,a,i){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(t,r,a,(function(e,t,r){return n.writeFile(e,t,r)}),(function(e){return n.createDirectory(e)}),(function(e){return n.directoryExists(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){i&&i(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory),disableUseFileVersionAsSignature:n.disableUseFileVersionAsSignature}},e.setGetSourceFileAsHashVersioned=function(n,t){var r=n.getSourceFile,a=e.maybeBind(t,t.createHash)||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],t=0;te?n:e}function d(n){return e.fileExtensionIs(n,".d.ts")}function p(e){return!!e&&!!e.buildOrder}function f(e){return p(e)?e.buildOrder:e}function m(n,t){return function(r){var a=t?"[".concat(e.formatColorAndReset(e.getLocaleTimeString(n),e.ForegroundColorEscapeSequences.Grey),"] "):"".concat(e.getLocaleTimeString(n)," - ");a+="".concat(e.flattenDiagnosticMessageText(r.messageText,n.newLine)).concat(n.newLine+n.newLine),n.write(a)}}function _(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||m(n),i.now=e.maybeBind(n,n.now),i}function g(n,t,r,a,i){var o,s,c=t,l=t,u=c.getCurrentDirectory(),d=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),p=(o=a,s={},e.commonOptionsWithBuild.forEach((function(n){e.hasProperty(o,n.name)&&(s[n.name]=o[n.name])})),s),f=e.createCompilerHostFromProgramHost(c,(function(){return x.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(f,c),f.getParsedCommandLine=function(e){return E(x,e,h(x,e))},f.resolveModuleNames=e.maybeBind(c,c.resolveModuleNames),f.resolveTypeReferenceDirectives=e.maybeBind(c,c.resolveTypeReferenceDirectives);var m=f.resolveModuleNames?void 0:e.createModuleResolutionCache(u,d),_=f.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(u,d,void 0,null==m?void 0:m.getPackageJsonInfoCache());if(!f.resolveModuleNames){var g=function(n,t,r,a){return e.resolveModuleName(n,r,x.projectCompilerOptions,f,m,a,t).resolvedModule};f.resolveModuleNames=function(n,t,r,a,i,o){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(n),e.Debug.checkDefined(o),t,a,g)},f.getModuleResolutionCache=function(){return m}}if(!f.resolveTypeReferenceDirectives){var y=function(n,t,r){return e.resolveTypeReferenceDirective(n,t,x.projectCompilerOptions,f,r,x.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};f.resolveTypeReferenceDirectives=function(n,t,r){return e.loadWithLocalCache(e.Debug.checkEachDefined(n),t,r,y)}}var v=e.createWatchFactory(l,a),b=v.watchFile,T=v.watchDirectory,S=v.writeLog,x={host:c,hostWithWatch:l,currentDirectory:u,getCanonicalFileName:d,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(c),write:e.maybeBind(c,c.trace),options:a,baseCompilerOptions:p,rootNames:r,baseWatchOptions:i,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:f,moduleResolutionCache:m,typeReferenceDirectiveResolutionCache:_,buildOrder:void 0,readFileWithCache:function(e){return c.readFile(e)},projectCompilerOptions:p,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:n,currentInvalidatedProject:void 0,watch:n,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:b,watchDirectory:T,writeLog:S};return x}function y(n,t){return e.toPath(t,n.currentDirectory,n.getCanonicalFileName)}function h(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);if(void 0!==r)return r;var a=y(e,n);return t.set(n,a),a}function v(e){return!!e.options}function b(e,n){var t=e.configFileCache.get(n);return t&&v(t)?t:void 0}function E(n,t,r){var a,i=n.configFileCache,o=i.get(r);if(o)return v(o)?o:void 0;var s,c=n.parseConfigFileHost,l=n.baseCompilerOptions,u=n.baseWatchOptions,d=n.extendedConfigCache,p=n.host;return p.getParsedCommandLine?(s=p.getParsedCommandLine(t))||(a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return a=e},s=e.getParsedCommandLineOfConfigFile(t,l,c,d,u),c.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(r,s||a),s}function T(n,t){return e.resolveConfigFileProjectName(e.resolvePath(n.currentDirectory,t))}function S(n,t){for(var r,a,i=new e.Map,o=new e.Map,s=[],c=0,l=t;cc)}}}function w(n,t,r){var a=n.options;return!(t.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!a.force)||(0===r.fileNames.length||!!e.getConfigFileParsingDiagnostics(r).length||!e.isIncrementalCompilation(r.options))}function M(n,t,a){if(n.projectPendingBuild.size&&!p(t)){if(n.currentInvalidatedProject)return e.arrayIsEqualTo(n.currentInvalidatedProject.buildOrder,t)?n.currentInvalidatedProject:void 0;for(var i=n.options,o=n.projectPendingBuild,s=0;so&&(i=m,o=_)}}if(!t.fileNames.length&&!e.canJsonReportNoInputFiles(t.raw))return{type:e.UpToDateStatusType.ContainerOnly};var g,y=e.getAllProjectOutputs(t,!l.useCaseSensitiveFileNames()),v="(none)",b=c,T="(none)",S=s,x=s,L=!1;if(!a)for(var D=0,C=y;DS&&(S=I,T=A),d(A)&&(x=u(x,e.getModifiedTime(l,A)))}var N,k=!1,R=!1;if(t.projectReferences){n.projectStatus.set(r,{type:e.UpToDateStatusType.ComputingUpstream});for(var O=0,w=t.projectReferences;O=0},n.findArgument=function(n){var t=e.sys.args.indexOf(n);return t>=0&&to)return 2;if(46===e.charCodeAt(0))return 3;if(95===e.charCodeAt(0))return 4;if(n){var t=/^@([^/]+)\/([^/]+)$/.exec(e);if(t){var r=s(t[1],!1);if(0!==r)return{name:t[1],isScopeName:!0,result:r};var a=s(t[2],!1);return 0!==a?{name:t[2],isScopeName:!1,result:a}:0}}return encodeURIComponent(e)!==e?5:0}function c(n,t,r,a){var i=a?"Scope":"Package";switch(t){case 1:return"'".concat(n,"':: ").concat(i," name '").concat(r,"' cannot be empty");case 2:return"'".concat(n,"':: ").concat(i," name '").concat(r,"' should be less than ").concat(o," characters");case 3:return"'".concat(n,"':: ").concat(i," name '").concat(r,"' cannot start with '.'");case 4:return"'".concat(n,"':: ").concat(i," name '").concat(r,"' cannot start with '_'");case 5:return"'".concat(n,"':: ").concat(i," name '").concat(r,"' contains non URI safe characters");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(t)}}n.validatePackageName=function(e){return s(e,!0)},n.renderPackageNameValidationFailure=function(e,n){return"object"==typeof e?c(n,e.result,e.name,e.isScopeName):c(n,e,n,!1)}}(e.JsTyping||(e.JsTyping={}))}(Br||(Br={})),function(e){var n,t,r,a,i,o,s,c,l,u,d,p,f,m,_,g,y,h,v,b,E,T;function S(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:u.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:p.Ignore,trimTrailingWhitespace:!0}}n=e.ScriptSnapshot||(e.ScriptSnapshot={}),t=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}(),n.fromString=function(e){return new t(e)},(r=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}))[r.Dependencies=1]="Dependencies",r[r.DevDependencies=2]="DevDependencies",r[r.PeerDependencies=4]="PeerDependencies",r[r.OptionalDependencies=8]="OptionalDependencies",r[r.All=15]="All",(a=e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={}))[a.Off=0]="Off",a[a.On=1]="On",a[a.Auto=2]="Auto",(i=e.LanguageServiceMode||(e.LanguageServiceMode={}))[i.Semantic=0]="Semantic",i[i.PartialSemantic=1]="PartialSemantic",i[i.Syntactic=2]="Syntactic",e.emptyOptions={},(o=e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})).Original="original",o.TwentyTwenty="2020",(s=e.CompletionTriggerKind||(e.CompletionTriggerKind={}))[s.Invoked=1]="Invoked",s[s.TriggerCharacter=2]="TriggerCharacter",s[s.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",(c=e.InlayHintKind||(e.InlayHintKind={})).Type="Type",c.Parameter="Parameter",c.Enum="Enum",(l=e.HighlightSpanKind||(e.HighlightSpanKind={})).none="none",l.definition="definition",l.reference="reference",l.writtenReference="writtenReference",(d=u=e.IndentStyle||(e.IndentStyle={}))[d.None=0]="None",d[d.Block=1]="Block",d[d.Smart=2]="Smart",(f=p=e.SemicolonPreference||(e.SemicolonPreference={})).Ignore="ignore",f.Insert="insert",f.Remove="remove",e.getDefaultFormatCodeSettings=S,e.testFormatSettings=S("\n"),(m=e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={}))[m.aliasName=0]="aliasName",m[m.className=1]="className",m[m.enumName=2]="enumName",m[m.fieldName=3]="fieldName",m[m.interfaceName=4]="interfaceName",m[m.keyword=5]="keyword",m[m.lineBreak=6]="lineBreak",m[m.numericLiteral=7]="numericLiteral",m[m.stringLiteral=8]="stringLiteral",m[m.localName=9]="localName",m[m.methodName=10]="methodName",m[m.moduleName=11]="moduleName",m[m.operator=12]="operator",m[m.parameterName=13]="parameterName",m[m.propertyName=14]="propertyName",m[m.punctuation=15]="punctuation",m[m.space=16]="space",m[m.text=17]="text",m[m.typeParameterName=18]="typeParameterName",m[m.enumMemberName=19]="enumMemberName",m[m.functionName=20]="functionName",m[m.regularExpressionLiteral=21]="regularExpressionLiteral",m[m.link=22]="link",m[m.linkName=23]="linkName",m[m.linkText=24]="linkText",(_=e.OutliningSpanKind||(e.OutliningSpanKind={})).Comment="comment",_.Region="region",_.Code="code",_.Imports="imports",(g=e.OutputFileType||(e.OutputFileType={}))[g.JavaScript=0]="JavaScript",g[g.SourceMap=1]="SourceMap",g[g.Declaration=2]="Declaration",(y=e.EndOfLineState||(e.EndOfLineState={}))[y.None=0]="None",y[y.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",y[y.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",y[y.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",y[y.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",y[y.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",y[y.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",(h=e.TokenClass||(e.TokenClass={}))[h.Punctuation=0]="Punctuation",h[h.Keyword=1]="Keyword",h[h.Operator=2]="Operator",h[h.Comment=3]="Comment",h[h.Whitespace=4]="Whitespace",h[h.Identifier=5]="Identifier",h[h.NumberLiteral=6]="NumberLiteral",h[h.BigIntLiteral=7]="BigIntLiteral",h[h.StringLiteral=8]="StringLiteral",h[h.RegExpLiteral=9]="RegExpLiteral",(v=e.ScriptElementKind||(e.ScriptElementKind={})).unknown="",v.warning="warning",v.keyword="keyword",v.scriptElement="script",v.moduleElement="module",v.classElement="class",v.localClassElement="local class",v.interfaceElement="interface",v.typeElement="type",v.enumElement="enum",v.enumMemberElement="enum member",v.variableElement="var",v.localVariableElement="local var",v.functionElement="function",v.localFunctionElement="local function",v.memberFunctionElement="method",v.memberGetAccessorElement="getter",v.memberSetAccessorElement="setter",v.memberVariableElement="property",v.constructorImplementationElement="constructor",v.callSignatureElement="call",v.indexSignatureElement="index",v.constructSignatureElement="construct",v.parameterElement="parameter",v.typeParameterElement="type parameter",v.primitiveType="primitive type",v.label="label",v.alias="alias",v.constElement="const",v.letElement="let",v.directory="directory",v.externalModuleName="external module name",v.jsxAttribute="JSX attribute",v.string="string",v.link="link",v.linkName="link name",v.linkText="link text",(b=e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})).none="",b.publicMemberModifier="public",b.privateMemberModifier="private",b.protectedMemberModifier="protected",b.exportedModifier="export",b.ambientModifier="declare",b.staticModifier="static",b.abstractModifier="abstract",b.optionalModifier="optional",b.deprecatedModifier="deprecated",b.dtsModifier=".d.ts",b.tsModifier=".ts",b.tsxModifier=".tsx",b.jsModifier=".js",b.jsxModifier=".jsx",b.jsonModifier=".json",b.dmtsModifier=".d.mts",b.mtsModifier=".mts",b.mjsModifier=".mjs",b.dctsModifier=".d.cts",b.ctsModifier=".cts",b.cjsModifier=".cjs",(E=e.ClassificationTypeNames||(e.ClassificationTypeNames={})).comment="comment",E.identifier="identifier",E.keyword="keyword",E.numericLiteral="number",E.bigintLiteral="bigint",E.operator="operator",E.stringLiteral="string",E.whiteSpace="whitespace",E.text="text",E.punctuation="punctuation",E.className="class name",E.enumName="enum name",E.interfaceName="interface name",E.moduleName="module name",E.typeParameterName="type parameter name",E.typeAliasName="type alias name",E.parameterName="parameter name",E.docCommentTagName="doc comment tag name",E.jsxOpenTagName="jsx open tag name",E.jsxCloseTagName="jsx close tag name",E.jsxSelfClosingTagName="jsx self closing tag name",E.jsxAttribute="jsx attribute",E.jsxText="jsx text",E.jsxAttributeStringLiteralValue="jsx attribute string literal value",(T=e.ClassificationType||(e.ClassificationType={}))[T.comment=1]="comment",T[T.identifier=2]="identifier",T[T.keyword=3]="keyword",T[T.numericLiteral=4]="numericLiteral",T[T.operator=5]="operator",T[T.stringLiteral=6]="stringLiteral",T[T.regularExpressionLiteral=7]="regularExpressionLiteral",T[T.whiteSpace=8]="whiteSpace",T[T.text=9]="text",T[T.punctuation=10]="punctuation",T[T.className=11]="className",T[T.enumName=12]="enumName",T[T.interfaceName=13]="interfaceName",T[T.moduleName=14]="moduleName",T[T.typeParameterName=15]="typeParameterName",T[T.typeAliasName=16]="typeAliasName",T[T.parameterName=17]="parameterName",T[T.docCommentTagName=18]="docCommentTagName",T[T.jsxOpenTagName=19]="jsxOpenTagName",T[T.jsxCloseTagName=20]="jsxCloseTagName",T[T.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",T[T.jsxAttribute=22]="jsxAttribute",T[T.jsxText=23]="jsxText",T[T.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",T[T.bigintLiteral=25]="bigintLiteral"}(Br||(Br={})),function(e){var n;function t(n){switch(n.kind){case 253:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?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 void 0===n.name?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 5}return 7}function r(n){for(;160===n.parent.kind;)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function a(e){return e.expression}function i(e){return e.tag}function o(e){return e.tagName}function s(n,t,r,a,i){var o=a?l(n):c(n);return i&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&t(o.parent)&&r(o.parent)===o}function c(e){return p(e)?e.parent:e}function l(e){return p(e)||f(e)?e.parent:e}function u(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isBreakOrContinueStatement))||void 0===t?void 0:t.label)===n}function d(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isLabeledStatement))||void 0===t?void 0:t.label)===n}function p(n){var t;return(null===(t=e.tryCast(n.parent,e.isPropertyAccessExpression))||void 0===t?void 0:t.name)===n}function f(n){var t;return(null===(t=e.tryCast(n.parent,e.isElementAccessExpression))||void 0===t?void 0:t.argumentExpression)===n}e.scanner=e.createScanner(99,!0),(n=e.SemanticMeaning||(e.SemanticMeaning={}))[n.None=0]="None",n[n.Value=1]="Value",n[n.Type=2]="Type",n[n.Namespace=4]="Namespace",n[n.All=7]="All",e.getMeaningFromDeclaration=t,e.getMeaningFromLocation=function(n){var a=(n=R(n)).parent;if(303===n.kind)return 1;if(e.isExportAssignment(a)||e.isExportSpecifier(a)||e.isExternalModuleReference(a)||e.isImportSpecifier(a)||e.isImportClause(a)||e.isImportEqualsDeclaration(a)&&n===a.name){for(var i=a;i;){if(e.isImportEqualsDeclaration(i)||e.isImportClause(i)||e.isExportDeclaration(i))return i.isTypeOnly?2:7;i=i.parent}return 7}return r(n)?function(n){var t=160===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&264===t.parent.kind?7:4}(n):e.isDeclarationName(n)?t(a):e.isEntityName(n)&&e.findAncestor(n,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:function(n){e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent);switch(n.kind){case 108:return!e.isExpressionNode(n);case 191:return!0}switch(n.parent.kind){case 177:return!0;case 199:return!n.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}(n)?2:function(e){return function(e){var n=e,t=!0;if(160===n.parent.kind){for(;n.parent&&160===n.parent.kind;)n=n.parent;t=n.right===e}return 177===n.parent.kind&&!t}(e)||function(e){var n=e,t=!0;if(205===n.parent.kind){for(;n.parent&&205===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&227===n.parent.kind&&290===n.parent.parent.kind){var r=n.parent.parent.parent;return 256===r.kind&&117===n.parent.parent.token||257===r.kind&&94===n.parent.parent.token}return!1}(e)}(n)?4:e.isTypeParameterDeclaration(a)?(e.Debug.assert(e.isJSDocTemplateTag(a.parent)),2):e.isLiteralTypeNode(a)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=r,e.isCallExpressionTarget=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isCallExpression,a,t,r)},e.isNewExpressionTarget=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isNewExpression,a,t,r)},e.isCallOrNewExpressionTarget=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isCallOrNewExpression,a,t,r)},e.isTaggedTemplateTag=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isTaggedTemplateExpression,i,t,r)},e.isDecoratorTarget=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isDecorator,a,t,r)},e.isJsxOpeningLikeElementTagName=function(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(n,e.isJsxOpeningLikeElement,o,t,r)},e.climbPastPropertyAccess=c,e.climbPastPropertyOrElementAccess=l,e.getTargetLabel=function(e,n){for(;e;){if(249===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t},e.isJumpStatementTarget=u,e.isLabelOfLabeledStatement=d,e.isLabelName=function(e){return d(e)||u(e)},e.isTagName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isJSDocTag))||void 0===t?void 0:t.tagName)===n},e.isRightSideOfQualifiedName=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isQualifiedName))||void 0===t?void 0:t.right)===n},e.isRightSideOfPropertyAccess=p,e.isArgumentExpressionOfElementAccess=f,e.isNameOfModuleDeclaration=function(n){var t;return(null===(t=e.tryCast(n.parent,e.isModuleDeclaration))||void 0===t?void 0:t.name)===n},e.isNameOfFunctionDeclaration=function(n){var t;return e.isIdentifier(n)&&(null===(t=e.tryCast(n.parent,e.isFunctionLike))||void 0===t?void 0:t.name)===n},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(n){switch(n.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(n.parent)===n;case 206:return n.parent.argumentExpression===n;case 161:return!0;case 195:return 193===n.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n},e.getContainerNode=function(n){for(e.isJSDocTypeAlias(n)&&(n=n.parent.parent);;){if(!(n=n.parent))return;switch(n.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return n}}},e.getNodeKind=function n(t){switch(t.kind){case 303:return e.isExternalModule(t)?"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 c(t);case 202:return c(e.getRootDeclaration(t));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 r=t.initializer;return e.isFunctionLike(r)?"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(t,16476)?"property":"parameter";case 264:case 269:case 274:case 267:case 273:return"alias";case 220:var a=e.getAssignmentDeclarationKind(t),i=t.right;switch(a){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=n(i);return""===o?"const":o;case 3:case 5:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 6:return"local class";default:return e.assertType(a),""}case 79:return e.isImportClause(t.parent)?"alias":"";case 270:var s=n(t.expression);return""===s?"const":s;default:return""}function c(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}},e.isThis=function(n){switch(n.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(n)&&163===n.parent.kind;default:return!1}};var m,_=/^\/\/\/\s*=t.end}function v(e,n,t,r){return Math.max(e,t)t?1:u(i[e])?i[e-1]&&u(i[e-1])?1:0:a&&s===t&&i[e-1]&&i[e-1].getEnd()===t&&u(i[e-1])?1:-1}));return o?{value:o}:c>=0&&i[c]?(s=i[c],"continue-outer"):{value:s}};;){var l=c();if("object"==typeof l)return l.value}function u(e){if((r?e.getFullStart():e.getStart(n,!0))>t)return!1;var s=e.getEnd();if(tn.end||e.pos===n.end)&&J(e,r)?t(e):void 0}))}(t)}function F(n,t,r,a){var i=function i(o){if(G(o)&&1!==o.kind)return o;var s=o.getChildren(t),c=e.binarySearchKey(s,n,(function(e,n){return n}),(function(e,t){return n=s[e-1].end?0:1:-1}));if(c>=0&&s[c]){var l=s[c];if(n=n||!J(l,t)||V(l)){var u=U(s,c,t,o.kind);return u&&B(u,t)}return i(l)}}e.Debug.assert(void 0!==r||303===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var d=U(s,s.length,t,o.kind);return d&&B(d,t)}(r||t);return e.Debug.assert(!(i&&V(i))),i}function G(n){return e.isToken(n)&&!V(n)}function B(e,n){if(G(e))return e;var t=e.getChildren(n);if(0===t.length)return e;var r=U(t,t.length,n,e.kind);return r&&B(r,n)}function U(n,t,r,a){for(var i=t-1;i>=0;i--){if(V(n[i]))0!==i||11!==a&&278!==a||e.Debug.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(J(n[i],r))return n[i]}}function V(n){return e.isJsxText(n)&&n.containsOnlyTriviaWhiteSpaces}function K(n,t,r){var a=e.tokenToString(n.kind),i=e.tokenToString(t),o=n.getFullStart(),s=r.text.lastIndexOf(i,o);if(-1!==s){if(r.text.lastIndexOf(a,o-1)=t}))}function W(n,t){if(-1!==t.text.lastIndexOf("<",n?n.pos:t.text.length))for(var r=n,a=0,i=0;r;){switch(r.kind){case 29:if((r=F(r.getFullStart(),t))&&28===r.kind&&(r=F(r.getFullStart(),t)),!r||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 49:a=3;break;case 48:a=2;break;case 31:a++;break;case 19:if(!(r=K(r,18,t)))return;break;case 21:if(!(r=K(r,20,t)))return;break;case 23:if(!(r=K(r,22,t)))return;break;case 27:i++;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(r))break;return}r=F(r.getFullStart(),t)}}function z(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function J(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function q(e,n,t){var r=z(e,n,void 0);return!!r&&t===_.test(e.text.substring(r.pos,r.end))}function X(n,t,r){return e.createTextSpanFromBounds(n.getStart(t),(r||n).getEnd())}function Y(n){if(!n.isUnterminated)return e.createTextSpanFromBounds(n.getStart()+1,n.getEnd()-1)}function Q(e,n){return{span:e,newText:n}}function Z(e){return 151===e.kind}function $(n,t){return{fileExists:function(e){return n.fileExists(e)},getCurrentDirectory:function(){return t.getCurrentDirectory()},readFile:e.maybeBind(t,t.readFile),useCaseSensitiveFileNames:e.maybeBind(t,t.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(t,t.getSymlinkCache)||n.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(t,t.getModuleSpecifierCache),getGlobalTypingsCacheLocation:e.maybeBind(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:n.redirectTargetsMap,getProjectReferenceRedirect:function(e){return n.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return n.isSourceOfProjectReferenceRedirect(e)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return n.getFileIncludeReasons()}}}function ee(e,n){return wr(wr({},$(e,n)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function ne(n,t,r,a,i){return e.factory.createImportDeclaration(void 0,void 0,n||t?e.factory.createImportClause(!!i,n,t&&t.length?e.factory.createNamedImports(t):void 0):void 0,"string"==typeof r?te(r,a):r,void 0)}function te(n,t){return e.factory.createStringLiteral(n,0===t)}function re(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function ae(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,(function(n){return e.isStringLiteral(n)&&!e.nodeIsSynthesized(n.parent)}));return r?re(r,n):1}function ie(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&79===t.kind?t.escapedText:void 0}))}function oe(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function se(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function ce(n){var t=n.declarations?e.firstOrUndefined(n.declarations):void 0;return!!e.findAncestor(t,(function(n){return!!e.isParameter(n)||!(e.isBindingElement(n)||e.isObjectBindingPattern(n)||e.isArrayBindingPattern(n))&&"quit"}))}e.getLineStartPositionForPosition=function(n,t){return e.getLineStarts(t)[t.getLineAndCharacterOfPosition(n).line]},e.rangeContainsRange=g,e.rangeContainsRangeExclusive=function(e,n){return y(e,n.pos)&&y(e,n.end)},e.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},e.rangeContainsPositionExclusive=y,e.startEndContainsRange=h,e.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},e.rangeOverlapsWithStartEnd=function(e,n,t){return v(e.pos,e.end,n,t)},e.nodeOverlapsWithStartEnd=function(e,n,t,r){return v(e.getStart(n),e.end,t,r)},e.startEndOverlapsWithStartEnd=v,e.positionBelongsToNode=function(n,t,r){return e.Debug.assert(n.pos<=t),tr.getStart(n)&&tr.getStart(n)},e.isInJSXText=function(n,t){var r=w(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(29!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))},e.isInsideJsxElement=function(e,n){return function(t){for(;t;)if(t.kind>=278&&t.kind<=287||11===t.kind||29===t.kind||31===t.kind||79===t.kind||19===t.kind||18===t.kind||43===t.kind)t=t.parent;else{if(277!==t.kind)return!1;if(n>t.getStart(e))return!0;t=t.parent}return!1}(w(e,n))},e.findPrecedingMatchingToken=K,e.removeOptionality=j,e.isPossiblyTypeArgumentPosition=function n(t,r,a){var i=W(t,r);return void 0!==i&&(e.isPartOfTypeNode(i.called)||0!==H(i.called,i.nTypeArguments,a).length||n(i.called,r,a))},e.getPossibleGenericSignatures=H,e.getPossibleTypeArgumentsInfo=W,e.isInComment=z,e.hasDocComment=function(n,t){var r=w(n,t);return!!e.findAncestor(r,e.isJSDoc)},e.getNodeModifiers=function(n,t){void 0===t&&(t=0);var r=[],a=e.isDeclaration(n)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(n)&~t:0;return 8&a&&r.push("private"),16&a&&r.push("protected"),4&a&&r.push("public"),(32&a||e.isClassStaticBlockDeclaration(n))&&r.push("static"),128&a&&r.push("abstract"),1&a&&r.push("export"),8192&a&&r.push("deprecated"),8388608&n.flags&&r.push("declare"),270===n.kind&&r.push("export"),r.length>0?r.join(","):""},e.getTypeArgumentOrTypeParameterList=function(n){return 177===n.kind||207===n.kind?n.typeArguments:e.isFunctionLike(n)||256===n.kind||257===n.kind?n.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))},e.isPunctuation=function(e){return 18<=e&&e<=78},e.isInsideTemplateLiteral=function(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)=2||!!n.noEmit},e.createModuleSpecifierResolutionHost=$,e.getModuleSpecifierResolverHost=ee,e.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?ne(e,n,t,r):void 0},e.makeImport=ne,e.makeStringLiteral=te,(m=e.QuotePreference||(e.QuotePreference={}))[m.Single=0]="Single",m[m.Double=1]="Double",e.quotePreferenceFromString=re,e.getQuotePreference=ae,e.getQuoteFromPreference=function(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}},e.symbolNameNoDefault=function(n){var t=ie(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)},e.symbolEscapedNameNoDefault=ie,e.isModuleSpecifierLike=function(n){return e.isStringLiteralLike(n)&&(e.isExternalModuleReference(n.parent)||e.isImportDeclaration(n.parent)||e.isRequireCall(n.parent,!1)&&n.parent.arguments[0]===n||e.isImportCall(n.parent)&&n.parent.arguments[0]===n)},e.isObjectBindingElementWithoutPropertyName=function(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName},e.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},e.getParentNodeInSpan=function(n,t,r){if(n)for(;n.parent;){if(e.isSourceFile(n.parent)||!oe(r,n.parent,t))return n;n=n.parent}},e.findModifier=function(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))},e.insertImports=function(n,t,r,a){var i=236===(e.isArray(r)?r[0]:r).kind?e.isRequireVariableStatement:e.isAnyImportSyntax,o=e.filter(t.statements,i),s=e.isArray(r)?e.stableSort(r,e.OrganizeImports.compareImportsOrRequireStatements):[r];if(o.length)if(o&&e.OrganizeImports.importsAreSorted(o))for(var c=0,l=s;ci&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(de(" ",e.SymbolDisplayPartKind.space)),n.push(de("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return c(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return c(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return c(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return c(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return c(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return c(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return c(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){if(a>i)return;s(),a+=e.length,n.push(ue(e,t))},writeLine:function(){if(a>i)return;a+=1,n.push(ye()),t=!0},write:o,writeComment:o,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 r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:l,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function s(){if(!(a>i)&&t){var o=e.getIndentString(r);o&&(a+=o.length,n.push(de(o,e.SymbolDisplayPartKind.space))),t=!1}}function c(e,t){a>i||(s(),a+=e.length,n.push(de(e,t)))}function l(){n=[],t=!0,r=0,a=0}}();function ue(n,t){return de(n,function(n){var t=n.flags;if(3&t)return ce(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;return 4&t||32768&t||65536&t?e.SymbolDisplayPartKind.propertyName:8&t?e.SymbolDisplayPartKind.enumMemberName:16&t?e.SymbolDisplayPartKind.functionName:32&t?e.SymbolDisplayPartKind.className:64&t?e.SymbolDisplayPartKind.interfaceName:384&t?e.SymbolDisplayPartKind.enumName:1536&t?e.SymbolDisplayPartKind.moduleName:8192&t?e.SymbolDisplayPartKind.methodName:262144&t?e.SymbolDisplayPartKind.typeParameterName:524288&t||2097152&t?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}(t))}function de(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function pe(n){return de(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function fe(n){return de(n,e.SymbolDisplayPartKind.text)}function me(n){return de(n,e.SymbolDisplayPartKind.linkText)}function _e(n,t){return{text:n,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(t).fileName,textSpan:X(t)}}}function ge(n){return de(n,e.SymbolDisplayPartKind.link)}e.symbolPart=ue,e.displayPart=de,e.spacePart=function(){return de(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=pe,e.punctuationPart=function(n){return de(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(n){return de(e.tokenToString(n),e.SymbolDisplayPartKind.operator)},e.parameterNamePart=function(n){return de(n,e.SymbolDisplayPartKind.parameterName)},e.propertyNamePart=function(n){return de(n,e.SymbolDisplayPartKind.propertyName)},e.textOrKeywordPart=function(n){var t=e.stringToToken(n);return void 0===t?fe(n):pe(t)},e.textPart=fe,e.typeAliasNamePart=function(n){return de(n,e.SymbolDisplayPartKind.aliasName)},e.typeParameterNamePart=function(n){return de(n,e.SymbolDisplayPartKind.typeParameterName)},e.linkTextPart=me,e.linkNamePart=_e,e.linkPart=ge,e.buildLinkParts=function(n,t){var r,a=e.isJSDocLink(n)?"link":e.isJSDocLinkCode(n)?"linkcode":"linkplain",i=[ge("{@".concat(a," "))];if(n.name){var o=null==t?void 0:t.getSymbolAtLocation(n.name),s=function(e){if(0===e.indexOf("()"))return 2;if("<"!==e[0])return 0;var n=0,t=0;for(;t"===e[t]&&n--,t++,!n)return t;return 0}(n.text),c=e.getTextOfNode(n.name)+n.text.slice(0,s),l=n.text.slice(s),u=(null==o?void 0:o.valueDeclaration)||(null===(r=null==o?void 0:o.declarations)||void 0===r?void 0:r[0]);u?(i.push(_e(c,u)),l&&i.push(me(l))):i.push(me(c+(s?"":" ")+l))}else n.text&&i.push(me(n.text));return i.push(ge("}")),i};function ye(){return de("\n",e.SymbolDisplayPartKind.lineBreak)}function he(e){try{return e(le),le.displayParts()}finally{le.clear()}}function ve(e){return!!(33554432&e.flags)}function be(e){return!!(2097152&e.flags)}function Ee(e,n){void 0===n&&(n=!0);var t=e&&Se(e);return t&&!n&&De(t),t}function Te(n,t,r){var a=r(n);return a?e.setOriginalNode(a,n):a=Se(n,r),a&&!t&&De(a),a}function Se(n,t){var r=t?function(e){return Te(e,!0,t)}:Ee,a=t?function(e){return e&&Le(e,!0,t)}:function(e){return e&&xe(e)},i=e.visitEachChild(n,r,e.nullTransformationContext,a,r);if(i===n){var o=e.isStringLiteral(n)?e.setOriginalNode(e.factory.createStringLiteralFromNode(n),n):e.isNumericLiteral(n)?e.setOriginalNode(e.factory.createNumericLiteral(n.text,n.numericLiteralFlags),n):e.factory.cloneNode(n);return e.setTextRange(o,n)}return i.parent=void 0,i}function xe(n,t){return void 0===t&&(t=!0),n&&e.factory.createNodeArray(n.map((function(e){return Ee(e,t)})),n.hasTrailingComma)}function Le(n,t,r){return e.factory.createNodeArray(n.map((function(e){return Te(e,t,r)})),n.hasTrailingComma)}function De(e){Ce(e),Ae(e)}function Ce(e){Ie(e,512,Ne)}function Ae(n){Ie(n,1024,e.getLastChild)}function Ie(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&Ie(a,t,r)}function Ne(e){return e.forEachChild((function(e){return e}))}function ke(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,we(t,r,a,i,e.addSyntheticLeadingComment))}function Re(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,we(t,r,a,i,e.addSyntheticTrailingComment))}function Oe(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,we(t,r,a,i,e.addSyntheticLeadingComment))}function we(e,n,t,r,a){return function(i,o,s,c){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:c)}}function Me(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function Pe(e,n){var t=e.parent;switch(t.kind){case 208:return n.getContextualType(t);case 220:var r=t,a=r.left,i=r.operatorToken,o=r.right;return Fe(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 288:return t.expression===e?Ge(t,n):void 0;default:return n.getContextualType(e)}}function Fe(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function Ge(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function Be(e){return 173===e||174===e||175===e||165===e||167===e}function Ue(e){return 255===e||170===e||168===e||171===e||172===e}function Ve(e){return 260===e}function Ke(e){return 236===e||237===e||239===e||244===e||245===e||246===e||250===e||252===e||166===e||258===e||265===e||264===e||271===e||263===e||270===e}function je(e,n){return We(e,e.fileExists,n)}function He(e){try{return e()}catch(e){return}}function We(e,n){for(var t=[],r=2;r-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));)t-=1;return t+1},e.getSynthesizedDeepClone=Ee,e.getSynthesizedDeepCloneWithReplacements=Te,e.getSynthesizedDeepClones=xe,e.getSynthesizedDeepClonesWithReplacements=Le,e.suppressLeadingAndTrailingTrivia=De,e.suppressLeadingTrivia=Ce,e.suppressTrailingTrivia=Ae,e.copyComments=function(e,n){var t=e.getSourceFile();!function(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a=0),o},e.copyLeadingComments=ke,e.copyTrailingComments=Re,e.copyTrailingAsLeadingComments=Oe,e.needsParentheses=function(n){return e.isBinaryExpression(n)&&27===n.operatorToken.kind||e.isObjectLiteralExpression(n)||e.isAsExpression(n)&&e.isObjectLiteralExpression(n.expression)},e.getContextualTypeFromParent=Pe,e.quote=function(n,t,r){var a=ae(n,t),i=JSON.stringify(r);return 0===a?"'".concat(e.stripQuotes(i).replace(/'/g,"\\'").replace(/\\"/g,'"'),"'"):i},e.isEqualityOperatorKind=Fe,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=Ge,e.ANONYMOUS="anonymous function",e.getTypeNodeIfAccessible=function(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){return i=!1},s=a.typeToTypeNode(e,n,1,{trackSymbol:function(e,n,t){return!(i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility)},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:ee(t,r)});return i?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Be,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Ue,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Ve,e.syntaxRequiresTrailingSemicolonOrASI=Ke,e.syntaxMayBeASICandidate=e.or(Be,Ue,Ve,Ke),e.positionIsASICandidate=function(n,t,r){var a=e.findAncestor(t,(function(t){return t.end!==n?"quit":e.syntaxMayBeASICandidate(t.kind)}));return!!a&&function(n,t){var r=n.getLastToken(t);if(r&&26===r.kind)return!1;if(Be(n.kind)){if(r&&27===r.kind)return!1}else if(Ve(n.kind)){if((a=e.last(n.getChildren(t)))&&e.isModuleBlock(a))return!1}else if(Ue(n.kind)){var a;if((a=e.last(n.getChildren(t)))&&e.isFunctionBlock(a))return!1}else if(!Ke(n.kind))return!1;if(239===n.kind)return!0;var i=P(n,e.findAncestor(n,(function(e){return!e.parent})),t);return!i||19===i.kind||t.getLineAndCharacterOfPosition(n.getEnd()).line!==t.getLineAndCharacterOfPosition(i.getStart(t)).line}(a,r)},e.probablyUsesSemicolons=function(n){var t=0,r=0;return e.forEachChild(n,(function a(i){if(Ke(i.kind)){var o=i.getLastToken(n);o&&26===o.kind?t++:r++}return t+r>=5||e.forEachChild(i,a)})),0===t&&r<=1||t/r>.2},e.tryGetDirectories=function(e,n){return We(e,e.getDirectories,n)||[]},e.tryReadDirectory=function(n,t,r,a,i){return We(n,n.readDirectory,t,r,a,i)||e.emptyArray},e.tryFileExists=je,e.tryDirectoryExists=function(n,t){return He((function(){return e.directoryProbablyExists(t,n)}))||!1},e.tryAndIgnoreErrors=He,e.tryIOAndConsumeErrors=We,e.findPackageJsons=function(n,t,r){var a=[];return e.forEachAncestorDirectory(n,(function(n){if(n===r)return!0;var i=e.combinePaths(n,"package.json");je(t,i)&&a.push(i)})),a},e.findPackageJson=function(n,t){var r;return e.forEachAncestorDirectory(n,(function(n){return"node_modules"===n||(!!(r=e.findConfigFile(n,(function(e){return je(t,e)}),"package.json"))||void 0)})),r},e.getPackageJsonsVisibleToFile=ze,e.createPackageJsonInfo=Je,e.createPackageJsonImportFilter=function(n,t,r){var a,i=(r.getPackageJsonsVisibleToFile&&r.getPackageJsonsVisibleToFile(n.fileName)||ze(n.fileName,r)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(n,t){if(!i.length||!n.valueDeclaration)return!0;var r=c(n.valueDeclaration.getSourceFile().fileName,t);if(void 0===r)return!0;var a=e.stripQuotes(n.getName());if(s(a))return!0;return o(r)||o(a)},allowsImportingSourceFile:function(e,n){if(!i.length)return!0;var t=c(e.fileName,n);if(!t)return!0;return o(t)},allowsImportingSpecifier:function(n){if(!i.length||s(n))return!0;if(e.pathIsRelative(n)||e.isRootedDiskPath(n))return!0;return o(n)}};function o(n){for(var t=l(n),r=0,a=i;r=0){var i=t[a];return e.Debug.assertEqual(i.file,n.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(i,Xe)}},e.getDiagnosticsWithinSpan=function(n,t){var r,a=e.binarySearchKey(t,n.start,(function(e){return e.start}),e.compareValues);for(a<0&&(a=~a);(null===(r=t[a-1])||void 0===r?void 0:r.start)===n.start;)a--;for(var i=[],o=e.textSpanEnd(n);;){var s=e.tryCast(t[a],Xe);if(!s||s.start>o)break;e.textSpanContainsTextSpan(n,s)&&i.push(s),a++}return i},e.getRefactorContextSpan=function(n){var t=n.startPosition,r=n.endPosition;return e.createTextSpanFromBounds(t,void 0===r?t:r)},e.getFixableErrorSpanExpression=function(n,t){var r=w(n,t.start);return e.findAncestor(r,(function(r){return r.getStart(n)e.textSpanEnd(t)?"quit":e.isExpression(r)&&se(t,X(r,n))}))},e.mapOneOrMany=function(n,t,r){return void 0===r&&(r=e.identity),n?e.isArray(n)?r(e.map(n,t)):t(n,0):void 0},e.firstOrOnly=function(n){return e.isArray(n)?e.first(n):n},e.getNameForExportedSymbol=function(n,t){return 33554432&n.flags||"export="!==n.escapedName&&"default"!==n.escapedName?n.name:e.firstDefined(n.declarations,(function(n){var t;return e.isExportAssignment(n)?null===(t=e.tryCast(e.skipOuterExpressions(n.expression),e.isIdentifier))||void 0===t?void 0:t.text:void 0}))||e.codefix.moduleSymbolToValidIdentifier(function(n){var t;return e.Debug.checkDefined(n.parent,"Symbol parent was undefined. Flags: ".concat(e.Debug.formatSymbolFlags(n.flags),". ")+"Declarations: ".concat(null===(t=n.declarations)||void 0===t?void 0:t.map((function(n){var t=e.Debug.formatSyntaxKind(n.kind),r=e.isInJSFile(n),a=n.expression;return(r?"[JS]":"")+t+(a?" (expression: ".concat(e.Debug.formatSyntaxKind(a.kind),")"):"")})).join(", "),"."))}(n),t)},e.stringContainsAt=function(e,n,t){var r=n.length;if(r+t>e.length)return!1;for(var a=0;a=a.length){var b=t(o,l,e.lastOrUndefined(d));void 0!==b&&(g=b)}}while(1!==l);function E(){switch(l){case 43:case 68:n[u]||13!==o.reScanSlashToken()||(l=13);break;case 29:79===u&&h++;break;case 31:h>0&&h--;break;case 130:case 149:case 146:case 133:case 150:h>0&&!c&&(l=79);break;case 15:d.push(l);break;case 18:d.length>0&&d.push(l);break;case 19:if(d.length>0){var t=e.lastOrUndefined(d);15===t?17===(l=o.reScanTemplateToken(!1))?d.pop():e.Debug.assertEqual(l,16,"Should have been a template middle."):(e.Debug.assertEqual(t,18,"Should have been an open brace"),d.pop())}break;default:if(!e.isKeyword(l))break;(24===u||e.isKeyword(u)&&e.isKeyword(l)&&!function(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 136:case 148:case 134:case 124:return!0;default:return!1}}(u,l))&&(l=79)}}return{endOfLineState:g,spans:y}}return{getClassificationsForLine:function(n,t,r){return function(n,t){for(var r=[],i=n.spans,o=0,s=0;s=0){var d=c-o;d>0&&r.push({length:d,classification:e.TokenClass.Whitespace})}r.push({length:l,classification:a(u)}),o=c+l}var p=t.length-o;p>0&&r.push({length:p,classification:e.TokenClass.Whitespace});return{entries:r,finalLexState:n.endOfLineState}}(s(n,t,r),n)},getEncodedLexicalClassifications:s}};var n=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(e){return e}),(function(){return!0}));function t(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;for(var a=n.getTokenText(),i=a.length-1,o=0;92===a.charCodeAt(i-o);)o++;if(!(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function r(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function a(n){switch(n){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 i(n){if(e.isKeyword(n))return 3;if(function(e){switch(e){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}}(n)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(n))return 5;if(n>=18&&n<=78)return 10;switch(n){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;default:return e.isTemplateLiteralKind(n)?6:2}}function o(e,n){switch(n){case 260:case 256:case 257:case 255:case 225:case 212:case 213:e.throwIfCancellationRequested()}}function s(n,t,r,a,i){var s=[];return r.forEachChild((function l(u){if(u&&e.textSpanIntersectsWith(i,u.pos,u.getFullWidth())){if(o(t,u.kind),e.isIdentifier(u)&&!e.nodeIsMissing(u)&&a.has(u.escapedText)){var d=n.getSymbolAtLocation(u),p=d&&c(d,e.getMeaningFromLocation(u),n);p&&function(n,t,r){var a=t-n;e.Debug.assert(a>0,"Classification had non-positive length of ".concat(a)),s.push(n),s.push(a),s.push(r)}(u.getStart(r),u.getEnd(),p)}u.forEachChild(l)}})),{spans:s,endOfLineState:0}}function c(n,t,r){var a=n.getFlags();return 2885600&a?32&a?11:384&a?12:524288&a?16:1536&a?4&t||1&t&&function(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}(n)?14:void 0:2097152&a?c(r.getAliasedSymbol(n),t,r):2&t?64&a?13:262144&a?15:void 0:void 0:void 0}function l(e){switch(e){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 u(n){e.Debug.assert(n.spans.length%3==0);for(var t=n.spans,r=[],a=0;a])*)(\/>)?)?/im,i=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,o=t.text.substr(n,r),s=a.exec(o);if(!s)return!1;if(!s[3]||!(s[3]in e.commentPragmas))return!1;var c=n;p(c,s[1].length),c+=s[1].length,u(c,s[2].length,10),c+=s[2].length,u(c,s[3].length,21),c+=s[3].length;var l=s[4],d=c;for(;;){var f=i.exec(l);if(!f)break;var m=c+f.index+f[1].length;m>d&&(p(d,m-d),d=m),u(d,f[2].length,22),d+=f[2].length,f[3].length&&(p(d,f[3].length),d+=f[3].length),u(d,f[4].length,5),d+=f[4].length,f[5].length&&(p(d,f[5].length),d+=f[5].length),u(d,f[6].length,24),d+=f[6].length}c+=s[4].length,c>d&&p(d,c-d);s[5]&&(u(c,s[5].length,10),c+=s[5].length);var _=n+r;c<_&&p(c,_-c);return!0}(a,i))return;p(a,i)}function p(e,n){u(e,n,1)}function f(e){for(var n=0,t=e.getChildren();n=0),i>0){var o=r||y(n.kind,n);o&&u(a,i,o)}return!0}function y(n,t){if(e.isKeyword(n))return 3;if((29===n||31===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(63===n&&(253===r.kind||166===r.kind||163===r.kind||284===r.kind))return 5;if(220===r.kind||218===r.kind||219===r.kind||221===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return t&&284===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(79===n){if(t)switch(t.parent.kind){case 256:return t.parent.name===t?11:void 0;case 162:return t.parent.name===t?15:void 0;case 257:return t.parent.name===t?13:void 0;case 259:return t.parent.name===t?12:void 0;case 260:return t.parent.name===t?14:void 0;case 163:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function h(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){o(n,r.kind);for(var s=0,c=r.getChildren(t);s0})))return 0;if(i((function(e){return e.getCallSignatures().length>0}))&&!i((function(e){return e.getProperties().length>0}))||function(n){for(;c(n);)n=n.parent;return e.isCallExpression(n.parent)&&n.parent.expression===n}(t))return 9===r?11:10}}return r}(o,p,_);var y=m.valueDeclaration;if(y){var h=e.getCombinedModifierFlags(y),v=e.getCombinedNodeFlags(y);32&h&&(g|=2),256&h&&(g|=4),0!==_&&2!==_&&(64&h||2&v||8&m.getFlags())&&(g|=8),7!==_&&10!==_||!function(n,t){return e.isBindingElement(n)&&(n=s(n)),e.isVariableDeclaration(n)?(!e.isSourceFile(n.parent.parent.parent)||e.isCatchClause(n.parent))&&n.getSourceFile()===t:!!e.isFunctionDeclaration(n)&&(!e.isSourceFile(n.parent)&&n.getSourceFile()===t)}(y,t)||(g|=32),n.isSourceFileDefaultLibrary(y.getSourceFile())&&(g|=16)}else m.declarations&&m.declarations.some((function(e){return n.isSourceFileDefaultLibrary(e.getSourceFile())}))&&(g|=16);a(p,_,g)}}}e.forEachChild(p,d),u=f}}d(t)}(n,t,r,(function(e,n,r){i.push(e.getStart(t),e.getWidth(t),(n+1<<8)+r)}),a),i}function s(n){for(;;){if(!e.isBindingElement(n.parent.parent))return n.parent.parent;n=n.parent.parent}}function c(n){return e.isQualifiedName(n.parent)&&n.parent.right===n||e.isPropertyAccessExpression(n.parent)&&n.parent.name===n}(t=n.TokenEncodingConsts||(n.TokenEncodingConsts={}))[t.typeOffset=8]="typeOffset",t[t.modifierMask=255]="modifierMask",(r=n.TokenType||(n.TokenType={}))[r.class=0]="class",r[r.enum=1]="enum",r[r.interface=2]="interface",r[r.namespace=3]="namespace",r[r.typeParameter=4]="typeParameter",r[r.type=5]="type",r[r.parameter=6]="parameter",r[r.variable=7]="variable",r[r.enumMember=8]="enumMember",r[r.property=9]="property",r[r.function=10]="function",r[r.member=11]="member",(a=n.TokenModifier||(n.TokenModifier={}))[a.declaration=0]="declaration",a[a.static=1]="static",a[a.async=2]="async",a[a.readonly=3]="readonly",a[a.defaultLibrary=4]="defaultLibrary",a[a.local=5]="local",n.getSemanticClassifications=function(n,t,r,a){var o=i(n,t,r,a);e.Debug.assert(o.spans.length%3==0);for(var s=o.spans,c=[],l=0;li.parameters.length)){var o=t.getParameterType(i,n.argumentIndex);return r=r||!!(4&o.flags),p(o,a)}}));return{kind:2,types:o,isNewIdentifier:r}}(D,i):C()}case 265:case 271:case 276:return{kind:0,paths:g(t,r,o,s,i,c)};default:return C()}function C(){return{kind:2,types:p(e.getContextualTypeFromParent(r,i)),isNewIdentifier:!1}}}function u(n){switch(n.kind){case 190:return e.walkUpParenthesizedTypes(n);case 211:return e.walkUpParenthesizedExpressions(n);default:return n}}function d(n){return n&&{kind:1,symbols:e.filter(n.getApparentProperties(),(function(n){return!(n.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(n.valueDeclaration))})),hasIndexSignature:e.hasIndexSignature(n)}}function p(n,t){return void 0===t&&(t=new e.Map),n?(n=e.skipConstraint(n)).isUnion()?e.flatMap(n.types,(function(e){return p(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]:e.emptyArray}function f(e,n,t){return{name:e,kind:n,extension:t}}function m(e){return f(e,"directory",void 0)}function _(n,t,r){var a=function(n,t){var r=Math.max(n.lastIndexOf(e.directorySeparator),n.lastIndexOf(e.altDirectorySeparator)),a=-1!==r?r+1:0,i=n.length-a;return 0===i||e.isIdentifierText(n.substr(a,i),99)?void 0:e.createTextSpan(t+a,i)}(n,t),i=0===n.length?void 0:e.createTextSpan(t,n.length);return r.map((function(n){var t=n.name,r=n.kind,o=n.extension;return-1!==Math.max(t.indexOf(e.directorySeparator),t.indexOf(e.altDirectorySeparator))?{name:t,kind:r,extension:o,span:i}:{name:t,kind:r,extension:o,span:a}}))}function g(n,t,r,a,i,o){return _(t.text,t.getStart(n)+1,function(n,t,r,a,i,o){var s=e.normalizeSlashes(t.text),c=n.path,l=e.getDirectoryPath(c);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(s)||!r.baseUrl&&(e.isRootedDiskPath(s)||e.isUrl(s))?function(n,t,r,a,i,o){var s=y(r,o);return r.rootDirs?function(n,t,r,a,i,o,s){var c=i.project||o.getCurrentDirectory(),l=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames()),u=function(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var i=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(Or(Or([],n.map((function(n){return e.combinePaths(n,i)})),!0),[r],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(n,c,r,l);return e.flatMap(u,(function(e){return v(t,e,a,o,s)}))}(r.rootDirs,n,t,s,r,a,i):v(n,t,s,a,i)}(s,l,r,a,c,u()):function(n,t,r,a,i){var o=r.baseUrl,s=r.paths,c=[],l=y(r);if(o){var u=r.project||a.getCurrentDirectory(),d=e.normalizePath(e.combinePaths(u,o));v(n,d,l,a,void 0,c),s&&b(c,n,d,l.extensions,s,a)}for(var p=E(n),m=0,_=function(n,t,r){var a=r.getAmbientModules().map((function(n){return e.stripQuotes(n.name)})).filter((function(t){return e.startsWith(t,n)}));if(void 0!==t){var i=e.ensureTrailingDirectorySeparator(t);return a.map((function(n){return e.removePrefix(n,i)}))}return a}(n,p,i);m<_.length;m++){var g=_[m];c.push(f(g,"external module name",void 0))}if(S(a,r,t,p,l,c),e.getEmitModuleResolutionKind(r)===e.ModuleResolutionKind.NodeJs){var h=!1;if(void 0===p)for(var T=function(e){c.some((function(n){return n.name===e}))||(h=!0,c.push(f(e,"external module name",void 0)))},x=0,D=function(n,t){if(!n.readFile||!n.fileExists)return e.emptyArray;for(var r=[],a=0,i=e.findPackageJsons(t,n);a=e.pos&&t<=e.end}));if(s){var c=n.text.slice(s.pos,t),l=x.exec(c);if(l){var u=l[1],d=l[2],p=l[3],f=e.getDirectoryPath(n.path),m="path"===d?v(p,f,y(r,1),a,n.path):"types"===d?S(a,r,f,E(p),y(r)):e.Debug.fail();return _(p,s.pos+u.length,m)}}}(t,a,o,s);return p&&r(p)}if(e.isInString(t,a,i)){if(!i||!e.isStringLiteralLike(i))return;return function(t,a,i,o,s,c,l,u){if(void 0!==t){var d=e.createTextSpanFromStringLiteralLikeContent(a);switch(t.kind){case 0:return r(t.paths);case 1:var p=[];return n.getCompletionEntriesFromSymbols(t.symbols,p,a,a,i,i,o,s,99,c,4,u,l),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,optionalReplacementSpan:d,entries:p};case 2:return p=t.types.map((function(t){return{name:t.value,kindModifiers:"",kind:"string",sortText:n.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(a)}})),{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,optionalReplacementSpan:d,entries:p};default:return e.Debug.assertNever(t)}}}(p=l(t,i,a,c.getTypeChecker(),o,s,d),i,t,s,c,u,o,d)}},t.getStringLiteralCompletionDetails=function(t,r,i,o,s,c,u,d,p){if(o&&e.isStringLiteralLike(o)){var f=l(r,o,i,s,c,u,p);return f&&function(t,r,i,o,s,c){switch(i.kind){case 0:return(l=e.find(i.paths,(function(e){return e.name===t})))&&n.createCompletionDetails(t,a(l.extension),l.kind,[e.textPart(t)]);case 1:var l;return(l=e.find(i.symbols,(function(e){return e.name===t})))&&n.createCompletionDetailsForSymbol(l,s,o,r,c);case 2:return e.find(i.types,(function(e){return e.value===t}))?n.createCompletionDetails(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(i)}}(t,o,f,r,s,d)}},(o=i||(i={}))[o.Paths=0]="Paths",o[o.Properties=1]="Properties",o[o.Types=2]="Types",(c=s||(s={}))[c.Exclude=0]="Exclude",c[c.Include=1]="Include",c[c.ModuleSpecifierCompletion=2]="ModuleSpecifierCompletion";var x=/^(\/\/\/\s*=n.pos;case 24:case 22:return 201===i;case 58:return 202===i;case 20:return 291===i||Ce(i);case 18:return 259===i;case 29:return 256===i||225===i||257===i||258===i||e.isFunctionLikeKind(i);case 124:return 166===i&&!e.isClassLike(r.parent);case 25:return 163===i||!!r.parent&&201===r.parent.kind;case 123:case 121:case 122:return 163===i&&!e.isConstructorDeclaration(r.parent);case 127:return 269===i||274===i||267===i;case 136:case 148:return!ie(n);case 79:if(269===i&&n===r.name&&"type"===n.text)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 269!==i;case 41:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(Z(ee(n))&&ie(n))return!1;if(Le(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(ee(n))||ke(n)))return!1;switch(ee(n)){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(n.parent)}var s=e.findAncestor(n.parent,e.isClassLike);if(s&&n===T&&De(n,o))return!1;var c=e.getAncestor(n.parent,166);if(c&&n!==T&&e.isClassLike(T.parent.parent)&&o<=T.end){if(De(n,T.end))return!1;if(63!==n.kind&&(e.isInitializedProperty(c)||e.hasType(c)))return!0}return e.isDeclarationName(n)&&!e.isShorthandPropertyAssignment(n.parent)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==T||o>T.end))}(C)||function(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(C)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(279===e.parent.kind)return 279!==G.parent.kind;if(280===e.parent.kind||278===e.parent.kind)return!!e.parent.parent&&277===e.parent.parent.kind}return!1}(C)||e.isBigIntLiteral(C),r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-A)),I))return r("Returning an empty list because completion was requested in an invalid position."),B?S(B,v,xe()):void 0;var j=x.parent;if(24===x.kind||28===x.kind)switch(R=24===x.kind,O=28===x.kind,j.kind){case 205:k=(L=j).expression;var W=e.getLeftmostAccessExpression(L);if(e.nodeIsMissing(W)||(e.isCallExpression(k)||e.isFunctionLike(k))&&k.end===x.pos&&k.getChildCount(a)&&21!==e.last(k.getChildren(a)).kind)return;break;case 160:k=j.left;break;case 260:k=j.name;break;case 199:k=j;break;case 230:k=j.getFirstToken(a),e.Debug.assert(100===k.kind||103===k.kind);break;default:return}else if(!D&&1===a.languageVariant){if(j&&205===j.kind&&(x=j,j=j.parent),f.parent===G)switch(f.kind){case 31:277!==f.parent.kind&&279!==f.parent.kind||(G=f);break;case 43:278===f.parent.kind&&(G=f)}switch(j.kind){case 280:43===x.kind&&(M=!0,G=x);break;case 220:if(!oe(j))break;case 278:case 277:case 279:F=!0,29===x.kind&&(w=!0,G=x);break;case 287:case 286:19===T.kind&&31===f.kind&&(F=!0);break;case 284:if(j.initializer===T&&T.end0&&(Y=e.concatenate(Y,function(n,t){if(0===t.length)return n;for(var r=new e.Set,a=new e.Set,i=0,o=t;i");return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:e.createTextSpanFromNode(a.tagName),entries:[{name:o,kind:"class",kindModifiers:void 0,sortText:t.LocationPriority}]}}return}(m,n);if(R)return R}var O=[];if(L(n,i)){var w=F(l,O,void 0,u,m,n,r,a,e.getEmitScriptTarget(i),o,d,c,i,E,_,T,b,C,v,h,N,T,S);!function(n,r,a,i,o){e.getNameTable(n).forEach((function(n,s){if(n!==r){var c=e.unescapeLeadingUnderscores(s);!a.has(c)&&e.isIdentifierText(c,i)&&(a.add(c),o.push({name:c,kind:"warning",kindModifiers:"",sortText:t.JavascriptIdentifiers,isFromUncheckedFile:!0}))}}))}(n,m.pos,w,e.getEmitScriptTarget(i),O)}else{if(!(f||l&&0!==l.length||0!==g))return;F(l,O,void 0,u,m,n,r,a,e.getEmitScriptTarget(i),o,d,c,i,E,_,T,b,C,v,h,N,T,S)}if(0!==g)for(var M=new e.Set(O.map((function(e){return e.name}))),P=0,G=X(g,!I&&e.isSourceFileJS(n));P=0&&!c(t,r[i],115);i--);return e.forEach(a(n.statement),(function(e){o(n,e)&&c(t,e.getFirstToken(),81,86)})),t}function u(e){var n=s(e);if(n)switch(n.kind){case 241:case 242:case 243:case 239:case 240:return l(n);case 248:return d(n)}}function d(n){var t=[];return c(t,n.getFirstToken(),107),e.forEach(n.caseBlock.clauses,(function(r){c(t,r.getFirstToken(),82,88),e.forEach(a(r),(function(e){o(n,e)&&c(t,e.getFirstToken(),81)}))})),t}function p(n,t){var r=[];(c(r,n.getFirstToken(),111),n.catchClause&&c(r,n.catchClause.getFirstToken(),83),n.finallyBlock)&&c(r,e.findChildOfKind(n,96,t),96);return r}function f(n,t){var a=function(n){for(var t=n;t.parent;){var r=t.parent;if(e.isFunctionBlock(r)||303===r.kind)return r;if(e.isTryStatement(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(n);if(a){var i=[];return e.forEach(r(a),(function(n){i.push(e.findChildOfKind(n,109,t))})),e.isFunctionBlock(a)&&e.forEachReturnStatement(a,(function(n){i.push(e.findChildOfKind(n,105,t))})),i}}function m(n,t){var a=e.getContainingFunction(n);if(a){var i=[];return e.forEachReturnStatement(e.cast(a.body,e.isBlock),(function(n){i.push(e.findChildOfKind(n,105,t))})),e.forEach(r(a.body),(function(n){i.push(e.findChildOfKind(n,109,t))})),i}}function _(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){c(r,e,131)})),e.forEachChild(t,(function(n){g(n,(function(n){e.isAwaitExpression(n)&&c(r,n.getFirstToken(),132)}))})),r}}function g(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return g(e,t)}))}n.getDocumentHighlights=function(n,r,a,i,o){var s=e.getTouchingPropertyName(a,i);if(s.parent&&(e.isJsxOpeningElement(s.parent)&&s.parent.tagName===s||e.isJsxClosingElement(s.parent))){var y=s.parent.parent,h=[y.openingElement,y.closingElement].map((function(e){return t(e.tagName,a)}));return[{fileName:a.fileName,highlightSpans:h}]}return function(n,t,r,a,i){var o=new e.Set(i.map((function(e){return e.fileName}))),s=e.FindAllReferences.getReferenceEntriesForNode(n,t,r,i,a,void 0,o);if(!s)return;var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span})),l=e.createGetCanonicalFileName(r.useCaseSensitiveFileNames());return e.mapDefined(e.arrayFrom(c.entries()),(function(n){var t=n[0],a=n[1];if(!o.has(t)){if(!r.redirectTargetsMap.has(e.toPath(t,r.getCurrentDirectory(),l)))return;var s=r.getSourceFile(t);t=e.find(i,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(t))}return{fileName:t,highlightSpans:a}}))}(i,s,n,r,o)||function(n,r){var a=function(n,r){switch(n.kind){case 99:case 91:return e.isIfStatement(n.parent)?function(n,r){for(var a=function(n,t){var r=[];for(;e.isIfStatement(n.parent)&&n.parent.elseStatement===n;)n=n.parent;for(;;){var a=n.getChildren(t);c(r,a[0],99);for(var i=a.length-1;i>=0&&!c(r,a[i],91);i--);if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}(n,r),i=[],o=0;o=s.end;d--)if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(d))){u=!1;break}if(u){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),l.end),kind:"reference"}),o++;continue}}i.push(t(a[o],r))}return i}(n.parent,r):void 0;case 105:return s(n.parent,e.isReturnStatement,m);case 109:return s(n.parent,e.isThrowStatement,f);case 111:case 83:case 96:return s(83===n.kind?n.parent.parent:n.parent,e.isTryStatement,p);case 107:return s(n.parent,e.isSwitchStatement,d);case 82:case 88:return e.isDefaultClause(n.parent)||e.isCaseClause(n.parent)?s(n.parent.parent.parent,e.isSwitchStatement,d):void 0;case 81:case 86:return s(n.parent,e.isBreakOrContinueStatement,u);case 97:case 115:case 90:return s(n.parent,(function(n){return e.isIterationStatement(n,!0)}),l);case 134:return o(e.isConstructorDeclaration,[134]);case 136:case 148:return o(e.isAccessor,[136,148]);case 132:return s(n.parent,e.isAwaitExpression,_);case 131:return y(_(n));case 125:return y(function(n){var t=e.getContainingFunction(n);if(!t)return;var r=[];return e.forEachChild(t,(function(n){g(n,(function(n){e.isYieldExpression(n)&&c(r,n.getFirstToken(),125)}))})),r}(n));default:return e.isModifierKind(n.kind)&&(e.isDeclaration(n.parent)||e.isVariableStatement(n.parent))?y((a=n.kind,i=n.parent,e.mapDefined(function(n,t){var r=n.parent;switch(r.kind){case 261:case 303:case 234:case 288:case 289:return 128&t&&e.isClassDeclaration(n)?Or(Or([],n.members,!0),[n],!1):r.statements;case 170:case 168:case 255:return Or(Or([],r.parameters,!0),e.isClassLike(r.parent)?r.parent.members:[],!0);case 256:case 225:case 257:case 181:var a=r.members;if(92&t){var i=e.find(r.members,e.isConstructorDeclaration);if(i)return Or(Or([],a,!0),i.parameters,!0)}else if(128&t)return Or(Or([],a,!0),[r],!1);return a;case 204:return;default:e.Debug.assertNever(r,"Invalid container kind.")}}(i,e.modifierToFlag(a)),(function(n){return e.findModifier(n,a)})))):void 0}var a,i;function o(t,a){return s(n.parent,t,(function(n){return e.mapDefined(n.symbol.declarations,(function(n){return t(n)?e.find(n.getChildren(r),(function(n){return e.contains(a,n.kind)})):void 0}))}))}function s(e,n,t){return n(e)?y(t(e,r)):void 0}function y(e){return e&&e.map((function(e){return t(e,r)}))}}(n,r);return a&&[{fileName:r.fileName,highlightSpans:a}]}(s,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(Br||(Br={})),function(e){function n(e){return!!e.sourceFile}function t(t,a,i){void 0===a&&(a="");var o=new e.Map,s=e.createGetCanonicalFileName(!!t);function c(e,n,t,r,a,i,o){return d(e,n,t,r,a,i,!0,o)}function l(e,n,t,r,a,i,o){return d(e,n,t,r,a,i,!1,o)}function u(t,r){var a=n(t)?t:t.get(e.Debug.checkDefined(r,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return e.Debug.assert(void 0===r||!a||a.sourceFile.scriptKind===r,"Script kind should match provided ScriptKind:".concat(r," and sourceFile.scriptKind: ").concat(null==a?void 0:a.sourceFile.scriptKind,", !entry: ").concat(!a)),a}function d(t,r,a,s,c,l,d,p){var f=6===(p=e.ensureScriptKind(t,p))?100:e.getEmitScriptTarget(a),m=e.getOrUpdate(o,s,(function(){return new e.Map})),_=m.get(r),g=_&&u(_,p);!g&&i&&((y=i.getDocument(s,r))&&(e.Debug.assert(d),g={sourceFile:y,languageServiceRefCount:0},h()));if(g)g.sourceFile.version!==l&&(g.sourceFile=e.updateLanguageServiceSourceFile(g.sourceFile,c,l,c.getChangeRange(g.sourceFile.scriptSnapshot)),i&&i.setDocument(s,r,g.sourceFile)),d&&g.languageServiceRefCount++;else{var y=e.createLanguageServiceSourceFile(t,c,f,l,!1,p);i&&i.setDocument(s,r,y),g={sourceFile:y,languageServiceRefCount:1},h()}return e.Debug.assert(0!==g.languageServiceRefCount),g.sourceFile;function h(){if(_)if(n(_)){var t=new e.Map;t.set(_.sourceFile.scriptKind,_),t.set(p,g),m.set(r,t)}else _.set(p,g);else m.set(r,g)}}function p(t,r,a){var i=e.Debug.checkDefined(o.get(r)),s=i.get(t),c=u(s,a);c.languageServiceRefCount--,e.Debug.assert(c.languageServiceRefCount>=0),0===c.languageServiceRefCount&&(n(s)?i.delete(t):(s.delete(a),1===s.size&&i.set(t,e.firstDefinedIterator(s.values(),e.identity))))}return{acquireDocument:function(n,t,i,o,l){return c(n,e.toPath(n,a,s),t,r(t),i,o,l)},acquireDocumentWithKey:c,updateDocument:function(n,t,i,o,c){return l(n,e.toPath(n,a,s),t,r(t),i,o,c)},updateDocumentWithKey:l,releaseDocument:function(n,t,i){return p(e.toPath(n,a,s),r(t),i)},releaseDocumentWithKey:p,getLanguageServiceRefCounts:function(n,t){return e.arrayFrom(o.entries(),(function(e){var r=e[0],a=e[1].get(n),i=a&&u(a,t);return[r,i&&i.languageServiceRefCount]}))},reportStats:function(){var t=e.arrayFrom(o.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var t=o.get(e),r=[];return t.forEach((function(e,t){n(e)?r.push({name:t,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach((function(e,n){return r.push({name:t,scriptKind:n,refCount:e.languageServiceRefCount})}))})),r.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:r}}));return JSON.stringify(t,void 0,2)},getKeyForCompilationSettings:r}}function r(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=function(e,n){return t(e,n)},e.createDocumentRegistryInternal=t}(Br||(Br={})),function(e){!function(n){var t,r;function a(n,t){return e.forEach(303===n.kind?n.statements:n.body.statements,(function(n){return t(n)||l(n)&&e.forEach(n.body&&n.body.statements,t)}))}function i(n,t){if(n.externalModuleIndicator||void 0!==n.imports)for(var r=0,i=n.imports;r=0&&!(c>r.end);){var l=c+s;0!==c&&e.isIdentifierPart(i.charCodeAt(c-1),99)||l!==o&&e.isIdentifierPart(i.charCodeAt(l),99)||a.push(c),c=i.indexOf(t,c+s+1)}return a}function x(n,t){var r=n.getSourceFile(),a=t.text,i=e.mapDefined(T(r,a,n),(function(n){return n===t||e.isJumpStatementTarget(n)&&e.getTargetLabel(n,a)===t?o(n):void 0}));return[{definition:{type:1,node:t},references:i}]}function L(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),D(e,e,n,t,r)}function D(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=S(n,t.text,e);i0;o--){T(n,a=r[o])}return[r.length-1,r[0]]}function T(e,n){var t=h(e,n);_(i,t),l.push(i),u.push(o),o=void 0,i=t}function S(){i.children&&(A(i.children,i),w(i.children)),i=l.pop(),o=u.pop()}function x(e,n,t){T(e,t),C(n),S()}function L(n){n.initializer&&function(e){switch(e.kind){case 213:case 212:case 225:return!0;default:return!1}}(n.initializer)?(T(n),e.forEachChild(n.initializer,C),S()):x(n,n.initializer)}function D(n){return!e.hasDynamicName(n)||220!==n.kind&&e.isPropertyAccessExpression(n.name.expression)&&e.isIdentifier(n.name.expression.expression)&&"Symbol"===e.idText(n.name.expression.expression)}function C(n){var t;if(r.throwIfCancellationRequested(),n&&!e.isToken(n))switch(n.kind){case 170:var a=n;x(a,a.body);for(var i=0,s=a.parameters;i0&&(T(U,P),e.forEachChild(U.right,C),S()):e.isFunctionExpression(U.right)||e.isArrowFunction(U.right)?x(n,U.right,P):(T(U,P),x(n,U.right,O.name),S()),void b(M);case 7:case 9:var F=n,G=(P=7===R?F.arguments[0]:F.arguments[0].expression,F.arguments[1]),B=E(n,P);M=B[0];return T(n,B[1]),T(n,e.setTextRange(e.factory.createIdentifier(G.text),G)),C(n.arguments[2]),S(),S(),void b(M);case 5:var U,V=(O=(U=n).left).expression;if(e.isIdentifier(V)&&"prototype"!==e.getElementOrPropertyAccessName(O)&&o&&o.has(V.text))return void(e.isFunctionExpression(U.right)||e.isArrowFunction(U.right)?x(n,U.right,V):e.isBindableStaticAccessExpression(O)&&(T(U,V),x(U.left,U.right,e.getNameOrArgument(O)),S()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(R)}default:e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,(function(n){e.forEach(n.tags,(function(n){e.isJSDocTypeAlias(n)&&y(n)}))})),e.forEachChild(n,C)}}function A(n,t){var r=new e.Map;e.filterMutate(n,(function(n,a){var i=n.name||e.getNameOfDeclaration(n.node),o=i&&f(i);if(!o)return!0;var s=r.get(o);if(!s)return r.set(o,n),!0;if(s instanceof Array){for(var c=0,l=s;c0)return X(r)}switch(n.kind){case 303:var a=n;return e.isExternalModule(a)?'"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName)))),'"'):"";case 270:return e.isExportAssignment(n)&&n.isExportEquals?"export=":"default";case 213:case 255:case 212:case 256:case 225:return 512&e.getSyntacticModifierFlags(n)?"default":J(n);case 170:return"constructor";case 174:return"new()";case 173:return"()";case 175:return"[]";default:return""}}function G(n){return{text:F(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:z(n.node),spans:U(n),nameSpan:n.name&&W(n.name),childItems:e.map(n.children,G)}}function B(n){return{text:F(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:z(n.node),spans:U(n),childItems:e.map(n.children,(function(n){return{text:F(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:e.getNodeModifiers(n.node),spans:U(n),childItems:d,indent:0,bolded:!1,grayed:!1}}))||d,indent:n.indent,bolded:!1,grayed:!1}}function U(e){var n=[W(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t0)return X(e.declarationNameToString(n.name));if(e.isVariableDeclaration(t))return X(e.declarationNameToString(t.name));if(e.isBinaryExpression(t)&&63===t.operatorToken.kind)return f(t.left).replace(s,"");if(e.isPropertyAssignment(t))return f(t.name);if(512&e.getSyntacticModifierFlags(n))return"default";if(e.isClassLike(n))return"";if(e.isCallExpression(t)){var r=q(t.expression);if(void 0!==r){if((r=X(r)).length>c)return"".concat(r," callback");var i=X(e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(a):void 0})).join(", "));return"".concat(r,"(").concat(i,") callback")}}return""}function q(n){if(e.isIdentifier(n))return n.text;if(e.isPropertyAccessExpression(n)){var t=q(n.expression),r=n.name.text;return void 0===t?r:"".concat(t,".").concat(r)}}function X(e){return(e=e.length>c?e.substring(0,c)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(Br||(Br={})),function(e){!function(n){function t(n,t){var r=e.isStringLiteral(t)&&t.text;return e.isString(r)&&e.some(n.moduleAugmentations,(function(n){return e.isStringLiteral(n)&&n.text===r}))}function r(n){return void 0!==n&&e.isStringLiteralLike(n)?n.text:void 0}function a(n){var t;if(0===n.length)return n;var r=function(n){for(var t,r={defaultImports:[],namespaceImports:[],namedImports:[]},a={defaultImports:[],namespaceImports:[],namedImports:[]},i=0,o=n;i0?_[0]:y[0],C=0===L.length?E?void 0:e.factory.createNamedImports(e.emptyArray):0===y.length?e.factory.createNamedImports(L):e.factory.updateNamedImports(y[0].importClause.namedBindings,L);m&&E&&C?(l.push(o(D,E,void 0)),l.push(o(null!==(t=y[0])&&void 0!==t?t:D,void 0,C))):l.push(o(D,E,C))}}else{var A=_[0];l.push(o(A,A.importClause.name,g[0].importClause.namedBindings))}}return l}function i(n){if(0===n.length)return n;var t=function(e){for(var n,t=[],r=[],a=0,i=e;a...")}function d(n){var r=e.createTextSpanFromBounds(n.openingFragment.getStart(t),n.closingFragment.getEnd());return c(r,"code",r,!1,"<>...")}function p(e){if(0!==e.properties.length)return o(e.getStart(t),e.getEnd(),"code")}function f(e){if(14!==e.kind||0!==e.text.length)return o(e.getStart(t),e.getEnd(),"code")}function m(n,t){return void 0===t&&(t=18),_(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function _(r,a,i,o,c){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===o&&(o=18),void 0===c&&(c=18===o?19:23);var l=e.findChildOfKind(n,o,t),u=e.findChildOfKind(n,c,t);return l&&u&&s(l,u,r,t,a,i)}function g(n){return n.length?c(e.createTextSpanFromRange(n),"code"):void 0}}(u,n);p&&r.push(p),l--,e.isCallExpression(u)?(l++,_(u.expression),l--,u.arguments.forEach(_),null===(d=u.typeArguments)||void 0===d||d.forEach(_)):e.isIfStatement(u)&&u.elseStatement&&e.isIfStatement(u.elseStatement)?(_(u.expression),_(u.thenStatement),l++,_(u.elseStatement),l--):u.forEachChild(_),l++}}}(n,t,l),function(n,t){for(var a=[],i=n.getLineStarts(),o=0,s=i;o1&&i.push(o(c,l,"comment"))}}function i(n,t,r,i){e.isJsxText(n)||a(n.pos,t,r,i)}function o(n,t,r){return c(e.createTextSpanFromBounds(n,t),r)}function s(n,t,r,a,i,o){return void 0===i&&(i=!1),void 0===o&&(o=!0),c(e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd()),"code",e.createTextSpanFromNode(r,a),i)}function c(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(Br||(Br={})),function(e){var n,t;function r(e,n){return{kind:e,isCaseSensitive:n}}function a(e,n){var t=n.get(e);return t||n.set(e,t=v(e)),t}function i(t,i,o){var s=function(e,n){for(var t=e.length-n.length,r=function(t){if(D(n,(function(n,r){return f(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"==typeof i)return i.value}return-1}(t,i.textLowerCase);if(0===s)return r(i.text.length===t.length?n.exact:n.prefix,e.startsWith(t,i.text));if(i.isLowerCase){if(-1===s)return;for(var c=0,p=a(t,o);c0)return r(n.substring,!0);if(i.characterSpans.length>0){var _=a(t,o),g=!!u(t,_,i,!1)||!u(t,_,i,!0)&&void 0;if(void 0!==g)return r(n.camelCase,g)}}}function o(e,n,t){if(D(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=i(e,n.totalTextChunk,t);if(r)return r}for(var a,o=0,c=n.subWordTextChunks;o=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function p(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function f(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function m(e){return e>=48&&e<=57}function _(e){return d(e)||p(e)||m(e)||95===e||36===e}function g(e){for(var n=[],t=0,r=0,a=0;a0&&(n.push(y(e.substr(t,r))),r=0)}return r>0&&n.push(y(e.substr(t,r))),n}function y(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:h(e)}}function h(e){return b(e,!1)}function v(e){return b(e,!0)}function b(n,t){for(var r=[],a=0,i=1;in.length)return;for(var l=r.length-2,u=n.length-1;l>=0;l-=1,u-=1)i=s(i,o(n[u],r[l],a));return i}(n,a,r,t)},getMatchForLastSegmentOfPattern:function(n){return o(n,e.last(r),t)},patternContainsDots:r.length>1}},e.breakIntoCharacterSpans=h,e.breakIntoWordSpans=v}(Br||(Br={})),function(e){e.preProcessFile=function(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a,i,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],l=0,u=!1;function d(){return i=o,18===(o=e.scanner.scan())?l++:19===o&&l--,o}function p(){var n=e.scanner.getTokenValue(),t=e.scanner.getTokenPos();return{fileName:n,pos:t,end:t+n.length}}function f(){c.push(p()),m()}function m(){0===l&&(u=!0)}function _(){var n=e.scanner.getToken();return 135===n&&(141===(n=d())&&10===(n=d())&&(a||(a=[]),a.push({ref:p(),depth:l})),!0)}function g(){if(24===i)return!1;var n=e.scanner.getToken();if(100===n){if(20===(n=d())){if(10===(n=d())||14===n)return f(),!0}else{if(10===n)return f(),!0;151===n&&e.scanner.lookAhead((function(){var n=e.scanner.scan();return 155!==n&&(41===n||18===n||79===n||e.isKeyword(n))}))&&(n=d());if(79===n||e.isKeyword(n))if(155===(n=d())){if(10===(n=d()))return f(),!0}else if(63===n){if(h(!0))return!0}else{if(27!==n)return!0;n=d()}if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&155===(n=d())&&10===(n=d())&&f()}else 41===n&&127===(n=d())&&(79===(n=d())||e.isKeyword(n))&&155===(n=d())&&10===(n=d())&&f()}return!0}return!1}function y(){var n=e.scanner.getToken();if(93===n){if(m(),151===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 41===n||18===n}))&&(n=d());if(18===n){for(n=d();19!==n&&1!==n;)n=d();19===n&&155===(n=d())&&10===(n=d())&&f()}else if(41===n)155===(n=d())&&10===(n=d())&&f();else if(100===n){if(151===(n=d()))e.scanner.lookAhead((function(){var n=e.scanner.scan();return 79===n||e.isKeyword(n)}))&&(n=d());if((79===n||e.isKeyword(n))&&63===(n=d())&&h(!0))return!0}return!0}return!1}function h(n,t){void 0===t&&(t=!1);var r=n?d():e.scanner.getToken();return 145===r&&(20===(r=d())&&(10===(r=d())||t&&14===r)&&f(),!0)}function v(){var n=e.scanner.getToken();if(79===n&&"define"===e.scanner.getTokenValue()){if(20!==(n=d()))return!0;if(10===(n=d())||14===n){if(27!==(n=d()))return!0;n=d()}if(22!==n)return!0;for(n=d();23!==n&&1!==n;)10!==n&&14!==n||f(),n=d();return!0}return!1}if(t&&function(){for(e.scanner.setText(n),d();1!==e.scanner.getToken();)_()||g()||y()||r&&(h(!1,!0)||v())||d();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,n),e.processPragmasIntoFields(s,e.noop),u){if(a)for(var b=0,E=a;bn)break e;var y=e.singleOrUndefined(e.getTrailingCommentRanges(r.text,_.end));if(y&&2===y.kind&&T(y.pos,y.end),t(r,n,_)){if(e.isBlock(_)||e.isTemplateSpan(_)||e.isTemplateHead(_)||e.isTemplateTail(_)||m&&e.isTemplateHead(m)||e.isVariableDeclarationList(_)&&e.isVariableStatement(d)||e.isSyntaxList(_)&&e.isVariableDeclarationList(d)||e.isVariableDeclaration(_)&&e.isSyntaxList(d)&&1===p.length||e.isJSDocTypeExpression(_)||e.isJSDocSignature(_)||e.isJSDocTypeLiteral(_)){d=_;break}if(e.isTemplateSpan(d)&&g&&e.isTemplateMiddleOrTemplateTail(g))E(_.getFullStart()-2,g.getStart()+1);var h=e.isSyntaxList(_)&&(s=void 0,18===(s=(o=m)&&o.kind)||22===s||20===s||279===s)&&c(g)&&!e.positionsAreOnSameLine(m.getStart(),g.getStart(),r),v=h?m.getEnd():_.getStart(),b=h?g.getStart():l(r,_);e.hasJSDocNodes(_)&&(null===(i=_.jsDoc)||void 0===i?void 0:i.length)&&E(e.first(_.jsDoc).getStart(),b),E(v,b),(e.isStringLiteral(_)||e.isTemplateLiteral(_))&&E(v+1,b-1),d=_;break}if(f===p.length-1)break e}}return u;function E(t,r){if(t!==r){var a=e.createTextSpanFromBounds(t,r);(!u||!e.textSpansEqual(a,u.textSpan)&&e.textSpanIntersectsWithPosition(a,n))&&(u=wr({textSpan:a},u&&{parent:u}))}}function T(e,n){E(e,n);for(var t=e;47===r.text.charCodeAt(t);)t++;E(t,n)}};var r=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function a(n){if(e.isSourceFile(n))return i(n.getChildAt(0).getChildren(),r);if(e.isMappedTypeNode(n)){var t=n.getChildren(),a=t[0],c=t.slice(1),l=e.Debug.checkDefined(c.pop());e.Debug.assertEqual(a.kind,18),e.Debug.assertEqual(l.kind,19);var u=i(c,(function(e){return e===n.readonlyToken||144===e.kind||e===n.questionToken||57===e.kind}));return[a,s(o(i(u,(function(e){var n=e.kind;return 22===n||162===n||23===n})),(function(e){return 58===e.kind}))),l]}if(e.isPropertySignature(n))return o(c=i(n.getChildren(),(function(t){return t===n.name||e.contains(n.modifiers,t)})),(function(e){return 58===e.kind}));if(e.isParameter(n)){var d=i(n.getChildren(),(function(e){return e===n.dotDotDotToken||e===n.name}));return o(i(d,(function(e){return e===d[0]||e===n.questionToken})),(function(e){return 63===e.kind}))}return e.isBindingElement(n)?o(n.getChildren(),(function(e){return 63===e.kind})):n.getChildren()}function i(e,n){for(var t,r=[],a=0,i=e;a0&&27===e.last(t).kind&&r++;return r}(a);0!==i&&e.Debug.assertLessThan(i,o);var s=function(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}(a,t);return{list:a,argumentIndex:i,argumentCount:o,argumentsSpan:s}}}function c(n,t,r){var a=n.parent;if(e.isCallOrNewExpression(a)){var i=a,o=s(n,r);if(!o)return;var c=o.list,l=o.argumentIndex,u=o.argumentCount,d=o.argumentsSpan;return{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===c.pos,invocation:{kind:0,node:i},argumentsSpan:d,argumentIndex:l,argumentCount:u}}if(e.isNoSubstitutionTemplateLiteral(n)&&e.isTaggedTemplateExpression(a))return e.isInsideTemplateLiteral(n,t,r)?f(a,0,r):void 0;if(e.isTemplateHead(n)&&209===a.parent.kind){var p=a,m=p.parent;return e.Debug.assert(222===p.kind),f(m,l=e.isInsideTemplateLiteral(n,t,r)?0:1,r)}if(e.isTemplateSpan(a)&&e.isTaggedTemplateExpression(a.parent.parent)){var _=a;m=a.parent.parent;if(e.isTemplateTail(n)&&!e.isInsideTemplateLiteral(n,t,r))return;l=function(n,t,r,a){if(e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t))return e.isInsideTemplateLiteral(t,r,a)?0:n+2;return n+1}(_.parent.templateSpans.indexOf(_),n,t,r);return f(m,l,r)}if(e.isJsxOpeningLikeElement(a)){var g=a.attributes.pos,y=e.skipTrivia(r.text,a.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:e.createTextSpan(g,y-g),argumentIndex:0,argumentCount:1}}var h=e.getPossibleTypeArgumentsInfo(n,r);if(h){var v=h.called,b=h.nTypeArguments;return{isTypeParameterList:!0,invocation:i={kind:1,called:v},argumentsSpan:d=e.createTextSpanFromBounds(v.getStart(r),n.end),argumentIndex:b,argumentCount:b+1}}}function l(n){return e.isBinaryExpression(n.parent)?l(n.parent):n}function u(n){return e.isBinaryExpression(n.left)?u(n.left)+1:2}function d(n){return"__type"===n.name&&e.firstDefined(n.declarations,(function(n){return e.isFunctionTypeNode(n)?n.parent.symbol:void 0}))||n}function p(e,n){for(var t=0,r=0,a=e.getChildren();r=0&&a.length>i+1),a[i+1]}function g(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function y(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}(r=t||(t={}))[r.Call=0]="Call",r[r.TypeArgs=1]="TypeArgs",r[r.Contextual=2]="Contextual",n.getSignatureHelpItems=function(n,t,r,a,i){var p=n.getTypeChecker(),f=e.findTokenOnLeftOfPosition(t,r);if(f){var m=!!a&&"characterTyped"===a.kind;if(!m||!e.isInString(t,r,f)&&!e.isInComment(t,r)){var _=!!a&&"invoked"===a.kind,h=function(n,t,r,a,i){for(var o=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: ".concat(e.Debug.formatSyntaxKind(n.kind),", parent: ").concat(e.Debug.formatSyntaxKind(n.parent.kind))}));var i=function(n,t,r,a){return function(n,t,r,a){var i=function(n,t,r){if(20!==n.kind&&27!==n.kind)return;var a=n.parent;switch(a.kind){case 211:case 168:case 212:case 213:var i=s(n,t);if(!i)return;var o=i.argumentIndex,c=i.argumentCount,d=i.argumentsSpan,p=e.isMethodDeclaration(a)?r.getContextualTypeForObjectLiteralElement(a):r.getContextualType(a);return p&&{contextualType:p,argumentIndex:o,argumentCount:c,argumentsSpan:d};case 220:var f=l(a),m=r.getContextualType(f),_=20===n.kind?0:u(a)-1,g=u(f);return m&&{contextualType:m,argumentIndex:_,argumentCount:g,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}(n,r,a);if(!i)return;var o=i.contextualType,c=i.argumentIndex,p=i.argumentCount,f=i.argumentsSpan,m=o.getNonNullableType(),_=m.getCallSignatures();if(1!==_.length)return;var g={kind:2,signature:e.first(_),node:n,symbol:d(m.symbol)};return{isTypeParameterList:!1,invocation:g,argumentsSpan:f,argumentIndex:c,argumentCount:p}}(n,0,r,a)||c(n,t,r)}(n,t,r,a);if(i)return{value:i}},p=n;!e.isSourceFile(p)&&(i||!e.isBlock(p));p=p.parent){var f=o(p);if("object"==typeof f)return f.value}return}(f,r,t,p,_);if(h){i.throwIfCancellationRequested();var E=function(n,t,r,a,i){var s=n.invocation,c=n.argumentCount;switch(s.kind){case 0:if(i&&!function(n,t,r){if(!e.isCallOrNewExpression(t))return!1;var a=t.getChildren(r);switch(n.kind){case 20:return e.contains(a,n);case 27:var i=e.findContainingList(n);return!!i&&e.contains(a,i);case 29:return o(n,r,t.expression);default:return!1}}(a,s.node,r))return;var l=[],u=t.getResolvedSignatureForSignatureHelp(s.node,l,c);return 0===l.length?void 0:{kind:0,candidates:l,resolvedSignature:u};case 1:var d=s.called;if(i&&!o(a,r,e.isIdentifier(d)?d.parent:d))return;if(0!==(l=e.getPossibleGenericSignatures(d,c,t)).length)return{kind:0,candidates:l,resolvedSignature:e.first(l)};var p=t.getSymbolAtLocation(d);return p&&{kind:1,symbol:p};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(h,p,t,f,m);return i.throwIfCancellationRequested(),E?p.runWithCancellationToken(i,(function(e){return 0===E.kind?v(E.candidates,E.resolvedSignature,h,t,e):function(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,c=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(!c)return;var l=[b(e,c,r,y(o),t)];return{items:l,applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}}(E.symbol,h,t,e)})):e.isSourceFileJS(t)?function(n,t,r){if(2===n.invocation.kind)return;var a=g(n.invocation),i=e.isPropertyAccessExpression(a)?a.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:e.firstDefined(t.getSourceFiles(),(function(t){return e.firstDefined(t.getNamedDeclarations().get(i),(function(e){var a=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),i=a&&a.getCallSignatures();if(i&&i.length)return o.runWithCancellationToken(r,(function(e){return v(i,i[0],n,t,e,!0)}))}))}))}(h,n,i):void 0}}}},(i=a||(a={}))[i.Candidate=0]="Candidate",i[i.Type=1]="Type",n.getArgumentInfoForCompletions=function(e,n,t){var r=c(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};var h=70246400;function v(n,t,r,a,i,o){var s,c=r.isTypeParameterList,l=r.argumentCount,u=r.argumentsSpan,d=r.invocation,p=r.argumentIndex,f=y(d),m=2===d.kind?d.symbol:i.getSymbolAtLocation(g(d))||o&&(null===(s=t.declaration)||void 0===s?void 0:s.symbol),_=m?e.symbolToDisplayParts(i,m,o?a:void 0,void 0):e.emptyArray,h=e.map(n,(function(n){return function(n,t,r,a,i,o){var s=(r?T:S)(n,a,i,o);return e.map(s,(function(r){var o=r.isVariadic,s=r.parameters,c=r.prefix,l=r.suffix,u=Or(Or([],t,!0),c,!0),d=Or(Or([],l,!0),function(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}(n,i,a),!0),p=n.getDocumentationComment(a),f=n.getJsDocTags();return{isVariadic:o,prefixDisplayParts:u,suffixDisplayParts:d,separatorDisplayParts:E,parameters:s,documentation:p,tags:f}}))}(n,_,c,i,f,a)}));0!==p&&e.Debug.assertLessThan(p,l);for(var v=0,b=0,x=0;x1))for(var D=0,C=0,A=L;C=l){v=b+D;break}D++}b+=L.length}e.Debug.assert(-1!==v);var N={items:e.flatMapToMutable(h,e.identity),applicableSpan:u,selectedItemIndex:v,argumentIndex:p,argumentCount:l},k=N.items[v];if(k.isVariadic){var R=e.findIndex(k.parameters,(function(e){return!!e.isRest}));-1n?e.substr(0,n-3)+"...":e}function E(n){var t=e.createPrinter({removeComments:!0});return e.usingSingleLineStringWriter((function(a){var i=u.typeToTypeNode(n,void 0,71286784,a);e.Debug.assertIsDefined(i,"should always get typenode"),t.writeNode(4,i,r,a)}))}}}(e.InlayHints||(e.InlayHints={}))}(Br||(Br={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n,t,r){var a=e.tryParseRawSourceMap(t);if(a&&a.sources&&a.file&&a.mappings&&(!a.sourcesContent||!a.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(n,a,r)}e.getSourceMapper=function(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=new e.Map,i=new e.Map;return{tryGetSourcePosition:function n(t){if(!e.isDeclarationFileName(t.fileName))return;if(!c(t.fileName))return;var r=s(t.fileName).getSourcePosition(t);return r&&r!==t?n(r)||r:void 0},tryGetGeneratedPosition:function(a){if(e.isDeclarationFileName(a.fileName))return;var i=c(a.fileName);if(!i)return;var o=n.getProgram();if(o.isSourceOfProjectReferenceRedirect(i.fileName))return;var l=o.getCompilerOptions(),u=e.outFile(l),d=u?e.removeFileExtension(u)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,o.getCompilerOptions(),r,o.getCommonSourceDirectory(),t);if(void 0===d)return;var p=s(d,a.fileName).getGeneratedPosition(a);return p===a?void 0:p},toLineColumnOffset:function(e,n){return u(e).getLineAndCharacterOfPosition(n)},clearCache:function(){a.clear(),i.clear()}};function o(n){return e.toPath(n,r,t)}function s(r,a){var s,c=o(r),l=i.get(c);if(l)return l;if(n.getDocumentPositionMapper)s=n.getDocumentPositionMapper(r,a);else if(n.readFile){var d=u(r);s=d&&e.getDocumentPositionMapper({getSourceFileLike:u,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(d.text,e.getLineStarts(d)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return i.set(c,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function c(e){var t=n.getProgram();if(t){var r=o(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function l(t){var r=o(t),i=a.get(r);if(void 0!==i)return i||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(r))){var s=n.readFile(r),c=!!s&&function(n,t){return{text:n,lineMap:t,getLineAndCharacterOfPosition:function(n){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),n)}}}(s);return a.set(r,c),c||void 0}a.set(r,!1)}function u(e){return n.getSourceFileLike?n.getSourceFileLike(e):c(e)||l(e)}},e.getDocumentPositionMapper=function(r,a,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var c=n.exec(s);if(c){if(c[1]){var l=c[1];return t(r,e.base64decode(e.sys,l),a)}s=void 0}}var u=[];s&&u.push(s),u.push(a+".map");for(var d=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(a)),p=0,f=u;pr)&&(n.arguments.length0?e.arrayFrom(r.values()).join(","):""},n.getSymbolDisplayPartsDocumentationAndSymbolKind=function n(i,o,s,c,l,u,d){var p;void 0===u&&(u=e.getMeaningFromLocation(l));var f,m,_,g,y=[],h=[],v=[],b=e.getCombinedLocalAndExportSymbolFlags(o),E=1&u?a(i,o,l):"",T=!1,S=108===l.kind&&e.isInExpressionContext(l),x=!1;if(108===l.kind&&!S)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==E||32&b||2097152&b){"getter"!==E&&"setter"!==E||(E="property");var L=void 0;if(f=S?i.getTypeAtLocation(l):i.getTypeOfSymbolAtLocation(o,l),l.parent&&205===l.parent.kind){var D=l.parent.name;(D===l||D&&0===D.getFullWidth())&&(l=l.parent)}var C=void 0;if(e.isCallOrNewExpression(l)?C=l:(e.isCallExpressionTarget(l)||e.isNewExpressionTarget(l)||l.parent&&(e.isJsxOpeningLikeElement(l.parent)||e.isTaggedTemplateExpression(l.parent))&&e.isFunctionLike(o.valueDeclaration))&&(C=l.parent),C){L=i.getResolvedSignature(C);var A=208===C.kind||e.isCallExpression(C)&&106===C.expression.kind,I=A?f.getConstructSignatures():f.getCallSignatures();if(!L||e.contains(I,L.target)||e.contains(I,L)||(L=I.length?I[0]:void 0),L){switch(A&&32&b?(E="constructor",Q(f.symbol,E)):2097152&b?(Z(E="alias"),y.push(e.spacePart()),A&&(4&L.flags&&(y.push(e.keywordPart(126)),y.push(e.spacePart())),y.push(e.keywordPart(103)),y.push(e.spacePart())),Y(o)):Q(o,E),E){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":y.push(e.punctuationPart(58)),y.push(e.spacePart()),16&e.getObjectFlags(f)||!f.symbol||(e.addRange(y,e.symbolToDisplayParts(i,f.symbol,c,void 0,5)),y.push(e.lineBreakPart())),A&&(4&L.flags&&(y.push(e.keywordPart(126)),y.push(e.spacePart())),y.push(e.keywordPart(103)),y.push(e.spacePart())),$(L,I,262144);break;default:$(L,I)}T=!0,x=I.length>1}}else if(e.isNameOfFunctionDeclaration(l)&&!(98304&b)||134===l.kind&&170===l.parent.kind){var N=l.parent;if(o.declarations&&e.find(o.declarations,(function(e){return e===(134===l.kind?N.parent:N)}))){I=170===N.kind?f.getNonNullableType().getConstructSignatures():f.getNonNullableType().getCallSignatures();L=i.isImplementationOfOverload(N)?I[0]:i.getSignatureFromDeclaration(N),170===N.kind?(E="constructor",Q(f.symbol,E)):Q(173!==N.kind||2048&f.symbol.flags||4096&f.symbol.flags?o:f.symbol,E),L&&$(L,I),T=!0,x=I.length>1}}}if(32&b&&!T&&!S&&(q(),e.getDeclarationOfKind(o,225)?Z("local class"):y.push(e.keywordPart(84)),y.push(e.spacePart()),Y(o),ee(o,s)),64&b&&2&u&&(J(),y.push(e.keywordPart(118)),y.push(e.spacePart()),Y(o),ee(o,s)),524288&b&&2&u&&(J(),y.push(e.keywordPart(151)),y.push(e.spacePart()),Y(o),ee(o,s),y.push(e.spacePart()),y.push(e.operatorPart(63)),y.push(e.spacePart()),e.addRange(y,e.typeToDisplayParts(i,i.getDeclaredTypeOfSymbol(o),c,8388608))),384&b&&(J(),e.some(o.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(y.push(e.keywordPart(85)),y.push(e.spacePart())),y.push(e.keywordPart(92)),y.push(e.spacePart()),Y(o)),1536&b&&!S){J();var k=(H=e.getDeclarationOfKind(o,260))&&H.name&&79===H.name.kind;y.push(e.keywordPart(k?142:141)),y.push(e.spacePart()),Y(o)}if(262144&b&&2&u)if(J(),y.push(e.punctuationPart(20)),y.push(e.textPart("type parameter")),y.push(e.punctuationPart(21)),y.push(e.spacePart()),Y(o),o.parent)X(),Y(o.parent,c),ee(o.parent,c);else{var R=e.getDeclarationOfKind(o,162);if(void 0===R)return e.Debug.fail();if(H=R.parent)if(e.isFunctionLikeKind(H.kind)){X();L=i.getSignatureFromDeclaration(H);174===H.kind?(y.push(e.keywordPart(103)),y.push(e.spacePart())):173!==H.kind&&H.name&&Y(H.symbol),e.addRange(y,e.signatureToDisplayParts(i,L,s,32))}else 258===H.kind&&(X(),y.push(e.keywordPart(151)),y.push(e.spacePart()),Y(H.symbol),ee(H.symbol,s))}if(8&b&&(E="enum member",Q(o,"enum member"),297===(null==(H=null===(p=o.declarations)||void 0===p?void 0:p[0])?void 0:H.kind))){var O=i.getConstantValue(H);void 0!==O&&(y.push(e.spacePart()),y.push(e.operatorPart(63)),y.push(e.spacePart()),y.push(e.displayPart(e.getTextOfConstantValue(O),"number"==typeof O?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&o.flags){if(J(),!T){var w=i.getAliasedSymbol(o);if(w!==o&&w.declarations&&w.declarations.length>0){var M=w.declarations[0],P=e.getNameOfDeclaration(M);if(P){var F=e.isModuleWithStringLiteralName(M)&&e.hasSyntacticModifier(M,2),G="default"!==o.name&&!F,B=n(i,w,e.getSourceFileOfNode(M),M,P,u,G?o:w);y.push.apply(y,B.displayParts),y.push(e.lineBreakPart()),_=B.documentation,g=B.tags}else _=w.getContextualDocumentationComment(M,i),g=w.getJsDocTags(i)}}if(o.declarations)switch(o.declarations[0].kind){case 263:y.push(e.keywordPart(93)),y.push(e.spacePart()),y.push(e.keywordPart(142));break;case 270:y.push(e.keywordPart(93)),y.push(e.spacePart()),y.push(e.keywordPart(o.declarations[0].isExportEquals?63:88));break;case 274:y.push(e.keywordPart(93));break;default:y.push(e.keywordPart(100))}y.push(e.spacePart()),Y(o),e.forEach(o.declarations,(function(n){if(264===n.kind){var t=n;if(e.isExternalModuleImportEqualsDeclaration(t))y.push(e.spacePart()),y.push(e.operatorPart(63)),y.push(e.spacePart()),y.push(e.keywordPart(145)),y.push(e.punctuationPart(20)),y.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(t)),e.SymbolDisplayPartKind.stringLiteral)),y.push(e.punctuationPart(21));else{var r=i.getSymbolAtLocation(t.moduleReference);r&&(y.push(e.spacePart()),y.push(e.operatorPart(63)),y.push(e.spacePart()),Y(r,c))}return!0}}))}if(!T)if(""!==E){if(f)if(S?(J(),y.push(e.keywordPart(108))):Q(o,E),"property"===E||"JSX attribute"===E||3&b||"local var"===E||S){if(y.push(e.punctuationPart(58)),y.push(e.spacePart()),f.symbol&&262144&f.symbol.flags){var U=e.mapToDisplayParts((function(n){var r=i.typeParameterToDeclaration(f,c,t);z().writeNode(4,r,e.getSourceFileOfNode(e.getParseTreeNode(c)),n)}));e.addRange(y,U)}else e.addRange(y,e.typeToDisplayParts(i,f,c));if(o.target&&o.target.tupleLabelDeclaration){var V=o.target.tupleLabelDeclaration;e.Debug.assertNode(V.name,e.isIdentifier),y.push(e.spacePart()),y.push(e.punctuationPart(20)),y.push(e.textPart(e.idText(V.name))),y.push(e.punctuationPart(21))}}else if(16&b||8192&b||16384&b||131072&b||98304&b||"method"===E){(I=f.getNonNullableType().getCallSignatures()).length&&($(I[0],I),x=I.length>1)}}else E=r(i,o,l);if(0!==h.length||x||(h=o.getContextualDocumentationComment(c,i)),0===h.length&&4&b&&o.parent&&o.declarations&&e.forEach(o.parent.declarations,(function(e){return 303===e.kind})))for(var K=0,j=o.declarations;K0))break}}return 0!==v.length||x||(v=o.getJsDocTags(i)),0===h.length&&_&&(h=_),0===v.length&&g&&(v=g),{displayParts:y,documentation:h,symbolKind:E,tags:0===v.length?void 0:v};function z(){return m||(m=e.createPrinter({removeComments:!0})),m}function J(){y.length&&y.push(e.lineBreakPart()),q()}function q(){d&&(Z("alias"),y.push(e.spacePart()))}function X(){y.push(e.spacePart()),y.push(e.keywordPart(101)),y.push(e.spacePart())}function Y(n,t){d&&n===o&&(n=d);var r=e.symbolToDisplayParts(i,n,t||s,void 0,7);e.addRange(y,r),16777216&o.flags&&y.push(e.punctuationPart(57))}function Q(n,t){J(),t&&(Z(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(y.push(e.spacePart()),Y(n)))}function Z(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void y.push(e.textOrKeywordPart(n));default:return y.push(e.punctuationPart(20)),y.push(e.textOrKeywordPart(n)),void y.push(e.punctuationPart(21))}}function $(n,t,r){void 0===r&&(r=0),e.addRange(y,e.signatureToDisplayParts(i,n,c,32|r)),t.length>1&&(y.push(e.spacePart()),y.push(e.punctuationPart(20)),y.push(e.operatorPart(39)),y.push(e.displayPart((t.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),y.push(e.spacePart()),y.push(e.textPart(2===t.length?"overload":"overloads")),y.push(e.punctuationPart(21))),h=n.getDocumentationComment(i),v=n.getJsDocTags(),t.length>1&&0===h.length&&0===v.length&&(h=t[0].getDocumentationComment(i),v=t[0].getJsDocTags())}function ee(n,r){var a=e.mapToDisplayParts((function(a){var o=i.symbolToTypeParameterDeclarations(n,r,t);z().writeList(53776,o,e.getSourceFileOfNode(e.getParseTreeNode(r)),a)}));e.addRange(y,a)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(Br||(Br={})),function(e){function n(n,t){var a=[],i=t.compilerOptions?r(t.compilerOptions,a):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===i[s]&&(i[s]=o[s]);for(var c=0,l=e.transpileOptionValueCompilerOptions;c>=c;return t}(m,f),0,r),i[s]=(p=1+((u=m)>>(d=f)&l),e.Debug.assert((p&l)===p,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),u&~(l<=t.pos?n.pos:i.end:n.pos}(o,t,r),t.end,(function(s){return m(t,o,n.SmartIndenter.getIndentationForNode(o,t,r,a.options),function(e,t,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}(o,a.options,r),s,a,i,function(n,t){if(!n.length)return i;var r=n.filter((function(n){return e.rangeOverlapsWithStartEnd(t,n.start,n.start+n.length)})).sort((function(e,n){return e.start-n.start}));if(!r.length)return i;var a=0;return function(n){for(;;){if(a>=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}(r.parseDiagnostics,t),r)}))}function m(t,r,a,i,o,s,c,l,u){var d,p,f,m,g=s.options,y=s.getRules,h=s.host,v=new n.FormattingContext(u,c,g),b=-1,E=[];if(o.advance(),o.isOnToken()){var T=u.getLineAndCharacterOfPosition(r.getStart(u)).line,S=T;r.decorators&&(S=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,u)).line),function r(a,i,s,c,_,y){if(!e.rangeOverlapsWithStartEnd(t,a.getStart(u),a.getEnd()))return;var h=D(a,s,_,y),v=i;e.forEachChild(a,(function(e){S(e,-1,a,h,s,c,!1)}),(function(e){x(e,a,s,h)}));for(;o.isOnToken();){var E=o.readTokenInfo(a);if(E.token.end>a.end)break;L(E,a,h,a)}if(!a.parent&&o.isOnEOF()){var T=o.readEOFTokenRange();T.end<=a.end&&d&&N(T,u.getLineAndCharacterOfPosition(T.pos).line,a,d,f,p,i,h)}function S(i,s,c,l,d,p,f,_){var y=i.getStart(u),h=u.getLineAndCharacterOfPosition(y).line,E=h;i.decorators&&(E=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(i,u)).line);var T=-1;if(f&&e.rangeContainsRange(t,c)&&(T=function(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=u.getLineAndCharacterOfPosition(t).line,c=e.getLineStartPositionForPosition(t,u),l=n.SmartIndenter.findFirstNonWhitespaceColumn(c,t,u,g);if(s!==a||t===l){var d=n.SmartIndenter.getBaseIndentation(g);return d>l?d:l}}return-1}(y,i.end,d,t,s),-1!==T&&(s=T)),!e.rangeOverlapsWithStartEnd(t,i.pos,i.end))return i.endy){S.token.pos>y&&o.skipToStartOf(i);break}L(S,a,l,a)}if(!o.isOnToken())return s;if(e.isToken(i)){var S=o.readTokenInfo(i);if(11!==i.kind)return e.Debug.assert(S.token.end===i.end,"Token end is child end"),L(S,a,l,i),s}var x=164===i.kind?h:p,D=function(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(g,e)?g.indentSize:0;return o===t?{indentation:t===m?b:i.getIndentation(),delta:Math.min(g.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===m?{indentation:b,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,u)||n.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(a,e,t,u)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(a,e,t,u)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}(i,h,T,a,l,x);return r(i,v,h,E,D.indentation,D.delta),v=a,_&&203===c.kind&&-1===s&&(s=D.indentation),s}function x(t,r,i,s){e.Debug.assert(e.isNodeArray(t));var c=function(e,n){switch(e.kind){case 170:case 255:case 212:case 168:case 167:case 213:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 207:case 208:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 177:if(e.typeArguments===n)return 29;break;case 181:return 18}return 0}(r,t),l=s,d=i;if(0!==c)for(;o.isOnToken();){if((h=o.readTokenInfo(r)).token.end>t.pos)break;if(h.token.kind===c){d=u.getLineAndCharacterOfPosition(h.token.pos).line,L(h,r,s,r);var p=void 0;if(-1!==b)p=b;else{var f=e.getLineStartPositionForPosition(h.token.pos,u);p=n.SmartIndenter.findFirstNonWhitespaceColumn(f,h.token.pos,u,g)}l=D(r,i,p,g.indentSize)}else L(h,r,s,r)}for(var m=-1,_=0;_0){var S=_(T,g);F(b,E.character,S)}else P(b,E.character)}}}else a||k(t.pos,r,!1)}function O(n,t,r){for(var a=n;ao)){var s=w(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1))),P(s,o+1-s))}}}function w(n,t){for(var r=t;r>=n&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(r));)r--;return r!==t?r+1:-1}function M(e,n,t){O(u.getLineAndCharacterOfPosition(e).line,u.getLineAndCharacterOfPosition(n).line+1,t)}function P(n,t){t&&E.push(e.createTextChangeFromStartLength(n,t,""))}function F(n,t,r){(t||r)&&E.push(e.createTextChangeFromStartLength(n,t,r))}}function _(n,t){if((!o||o.tabSize!==t.tabSize||o.indentSize!==t.indentSize)&&(o={tabSize:t.tabSize,indentSize:t.indentSize},s=c=void 0),t.convertTabsToSpaces){var r=void 0,a=Math.floor(n/t.indentSize),i=n%t.indentSize;return c||(c=[]),void 0===c[a]?(r=e.repeatString(" ",t.indentSize*a),c[a]=r):r=c[a],i?r+e.repeatString(" ",i):r}var l=Math.floor(n/t.tabSize),u=n-l*t.tabSize,d=void 0;return s||(s=[]),void 0===s[l]?s[l]=d=e.repeatString("\t",l):d=s[l],u?d+e.repeatString(" ",u):d}n.createTextRangeWithKind=function(n,t,r){var a={pos:n,end:t,kind:r};return e.Debug.isDebugging&&Object.defineProperty(a,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(r)}}),a},(r=t||(t={}))[r.Unknown=-1]="Unknown",n.formatOnEnter=function(n,t,r){var a=t.getLineAndCharacterOfPosition(n).line;if(0===a)return[];for(var i=e.getEndLinePosition(a,t);e.isWhiteSpaceSingleLine(t.text.charCodeAt(i));)i--;return e.isLineBreak(t.text.charCodeAt(i))&&i--,f({pos:e.getStartPositionOfLine(a-1,t),end:i+1},t,r,2)},n.formatOnSemicolon=function(e,n,t){return p(u(l(e,26,n)),n,t,3)},n.formatOnOpeningCurly=function(n,t,r){var a=l(n,18,t);if(!a)return[];var i=u(a.parent);return f({pos:e.getLineStartPositionForPosition(i.getStart(t),t),end:n},t,r,4)},n.formatOnClosingCurly=function(e,n,t){return p(u(l(e,19,n)),n,t,5)},n.formatDocument=function(e,n){return f({pos:0,end:e.text.length},e,n,0)},n.formatSelection=function(n,t,r,a){return f({pos:e.getLineStartPositionForPosition(n,r),end:t},r,a,1)},n.formatNodeGivenIndentation=function(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return m(s,e,a,i,n,o,1,(function(e){return!1}),t)}))},(i=a||(a={}))[i.None=0]="None",i[i.LineAdded=1]="LineAdded",i[i.LineRemoved=2]="LineRemoved",n.getRangeOfEnclosingComment=function(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);if(i&&(a=i.parent),!(a.getStart(n)<=t&&tt.end}var v=l(d,e,a),b=v.line===n.line||m(d,e,n.line,a);if(g){var E=null===(c=_(e,a))||void 0===c?void 0:c[0],T=h(e,a,o,!!E&&p(E,a).line>v.line);if(-1!==T)return T+r;if(-1!==(T=u(e,d,n,b,a,o)))return T+r}x(o,d,e,a,i)&&!b&&(r+=o.indentSize);var S=f(d,e,n.line,a);d=(e=d).parent,n=S?a.getLineAndCharacterOfPosition(e.getStart(a)):v}return r+s(o)}function l(e,n,t){var r=_(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function u(n,t,r,a,i,o){return!e.isDeclaration(n)&&!e.isStatementButNotDeclaration(n)||303!==t.kind&&a?-1:b(r,i,o)}function d(n,t,r,a){var i=e.findNextToken(n,t,a);return i?18===i.kind?1:19===i.kind&&r===p(i,a).line?2:0:0}function p(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function f(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd();return e.getLineAndCharacterOfPosition(a,i).line===r}function m(n,t,r,a){if(238===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,91,a);return e.Debug.assert(void 0!==i),p(i,a).line===r}return!1}function _(e,n){return e.parent&&g(e.getStart(n),e.getEnd(),e.parent,n)}function g(n,t,r,a){switch(r.kind){case 177:return i(r.typeArguments);case 204:return i(r.properties);case 203:case 268:case 272:case 200:case 201:return i(r.elements);case 181:return i(r.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return i(r.typeParameters)||i(r.parameters);case 256:case 225:case 257:case 258:case 342:return i(r.typeParameters);case 208:case 207:return i(r.typeArguments)||i(r.arguments);case 254:return i(r.declarations)}function i(i){return i&&e.rangeContainsStartEnd(function(e,n,t){for(var r=e.getChildren(t),a=1;a=0&&t=0;o--)if(27!==n[o].kind){if(r.getLineAndCharacterOfPosition(n[o].end).line!==i.line)return b(i,r,a);i=p(n[o],r)}return-1}function b(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return T(r,r+e.character,n,t)}function E(n,t,r,a){for(var i=0,o=0,s=n;sr.text.length)return s(a);if(a.indentStyle===e.IndentStyle.None)return 0;var o=e.findPrecedingToken(t,r,void 0,!0),l=n.getRangeOfEnclosingComment(r,t,o||null);if(l&&3===l.kind)return function(n,t,r,a){var i=e.getLineAndCharacterOfPosition(n,t).line-1,o=e.getLineAndCharacterOfPosition(n,a.pos).line;if(e.Debug.assert(o>=0),i<=o)return T(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),c=E(s,t,n,r),l=c.column,u=c.character;if(0===l)return l;var d=n.text.charCodeAt(s+u);return 42===d?l-1:l}(r,t,a,l);if(!o)return s(a);if(e.isStringOrRegularExpressionOrTemplateLiteral(o.kind)&&o.getStart(r)<=t&&t0;){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}var o=e.getLineStartPositionForPosition(a,n);return T(o,a,n,r)}(r,t,a);if(27===o.kind&&220!==o.parent.kind){var f=function(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?v(a.list.getChildren(),a.listItemIndex-1,t,r):-1}(o,r,a);if(-1!==f)return f}var m=function(e,n,t){return n&&g(e,e,n,t)}(t,o.parent,r);return m&&!e.rangeContainsRange(m,o)?y(m,r,a)+a.indentSize:function(n,t,r,a,i,o){for(var l,u=r;u;){if(e.positionBelongsToNode(u,t,n)&&x(o,u,l,n,!0)){var f=p(u,n),m=d(r,u,a,n);return c(u,f,void 0,0!==m?i&&2===m?o.indentSize:0:a!==f.line?o.indentSize:0,n,!0,o)}var _=h(u,n,o,!0);if(-1!==_)return _;l=u,u=u.parent}return s(o)}(r,t,o,u,i,a)},t.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return c(e,a,n,0,t,!1,r)},t.getBaseIndentation=s,(o=i||(i={}))[o.Unknown=0]="Unknown",o[o.OpenBrace=1]="OpenBrace",o[o.CloseBrace=2]="CloseBrace",t.isArgumentAndStartLineOverlapsExpressionBeingCalled=f,t.childStartsOnTheSameLineWithElseInIfStatement=m,t.childIsUnindentedBranchOfConditionalExpression=function(n,t,r,a){if(e.isConditionalExpression(n)&&(t===n.whenTrue||t===n.whenFalse)){var i=e.getLineAndCharacterOfPosition(a,n.condition.end).line;if(t===n.whenTrue)return r===i;var o=p(n.whenTrue,a).line,s=e.getLineAndCharacterOfPosition(a,n.whenTrue.end).line;return i===o&&s===r}return!1},t.argumentStartsOnSameLineAsPreviousArgument=function(n,t,r,a){if(e.isCallOrNewExpression(n)){if(!n.arguments)return!1;var i=e.find(n.arguments,(function(e){return e.pos===t.pos}));if(!i)return!1;var o=n.arguments.indexOf(i);if(0===o)return!1;var s=n.arguments[o-1];if(r===e.getLineAndCharacterOfPosition(a,s.getEnd()).line)return!0}return!1},t.getContainingList=_,t.findFirstNonWhitespaceCharacterAndColumn=E,t.findFirstNonWhitespaceColumn=T,t.nodeWillIndentChild=S,t.shouldIndentChildNode=x})((n=e.formatting||(e.formatting={})).SmartIndenter||(n.SmartIndenter={}))}(Br||(Br={})),function(e){!function(n){function t(n){var t=n.__pos;return e.Debug.assert("number"==typeof t),t}function r(n,t){e.Debug.assert("number"==typeof t),n.__pos=t}function a(n){var t=n.__end;return e.Debug.assert("number"==typeof t),t}function i(n,t){e.Debug.assert("number"==typeof t),n.__end=t}var o,s,c,l;function u(n,t){return e.skipTrivia(n,t,!1,!0)}(s=o=n.LeadingTriviaOption||(n.LeadingTriviaOption={}))[s.Exclude=0]="Exclude",s[s.IncludeAll=1]="IncludeAll",s[s.JSDoc=2]="JSDoc",s[s.StartLine=3]="StartLine",(l=c=n.TrailingTriviaOption||(n.TrailingTriviaOption={}))[l.Exclude=0]="Exclude",l[l.ExcludeWhitespace=1]="ExcludeWhitespace",l[l.Include=2]="Include";var d,p,f={leadingTriviaOption:o.Exclude,trailingTriviaOption:c.Exclude};function m(e,n,t,r){return{pos:_(e,n,r),end:y(e,t,r)}}function _(n,t,r,a){var i,s;void 0===a&&(a=!1);var c=r.leadingTriviaOption;if(c===o.Exclude)return t.getStart(n);if(c===o.StartLine){var l=t.getStart(n),d=e.getLineStartPositionForPosition(l,n);return e.rangeContainsPosition(t,d)?d:l}if(c===o.JSDoc){var p=e.getJSDocCommentRanges(t,n.text);if(null==p?void 0:p.length)return e.getLineStartPositionForPosition(p[0].pos,n)}var f=t.getFullStart(),m=t.getStart(n);if(f===m)return m;var _=e.getLineStartPositionForPosition(f,n);if(e.getLineStartPositionForPosition(m,n)===_)return c===o.IncludeAll?f:m;if(a){var g=(null===(i=e.getLeadingCommentRanges(n.text,f))||void 0===i?void 0:i[0])||(null===(s=e.getTrailingCommentRanges(n.text,f))||void 0===s?void 0:s[0]);if(g)return e.skipTrivia(n.text,g.end,!0,!0)}var y=f>0?1:0,h=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,_)+y,n);return h=u(n.text,h),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,h),n)}function g(n,t,r){var a=t.end;if(r.trailingTriviaOption===c.Include){var i=e.getTrailingCommentRanges(n.text,a);if(i)for(var o=e.getLineOfLocalPosition(n,t.end),s=0,l=i;so)break;if(e.getLineOfLocalPosition(n,u.end)>o)return e.skipTrivia(n.text,u.end,!0,!0)}}}function y(n,t,r){var a,i=t.end,o=r.trailingTriviaOption;if(o===c.Exclude)return i;if(o===c.ExcludeWhitespace){var s=e.concatenate(e.getTrailingCommentRanges(n.text,i),e.getLeadingCommentRanges(n.text,i)),l=null===(a=null==s?void 0:s[s.length-1])||void 0===a?void 0:a.end;return l||i}var u=g(n,t,r);if(u)return u;var d=e.skipTrivia(n.text,i,!0);return d===i||o!==c.Include&&!e.isLineBreak(n.text.charCodeAt(d-1))?i:d}function h(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&204===e.parent.kind)}(p=d||(d={}))[p.Remove=0]="Remove",p[p.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",p[p.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",p[p.Text=3]="Text",n.isThisTypeAnnotatable=function(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)};var v,b,E=function(){function n(n,t){this.newLineCharacter=n,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return n.fromContext=function(t){return new n(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},n.with=function(e,t){var r=n.fromContext(e);return t(r),r.getChanges()},n.prototype.pushRaw=function(n,t){e.Debug.assertEqual(n.fileName,t.fileName);for(var r=0,a=t.textChanges;r=n.getLineAndCharacterOfPosition(l.range.end).line+2)break}if(n.statements.length)if(void 0===u&&(u=n.getLineAndCharacterOfPosition(n.statements[0].getStart()).line),u",joiner:", "})},n.prototype.getOptionsForInsertNodeBefore=function(n,t,r){return e.isStatement(n)||e.isClassElement(n)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?e.isParameter(t)?{suffix:", "}:{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.isImportSpecifier(n)?{suffix:","+(r?this.newLineCharacter:" ")}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,Or([r],t.body.statements,!0))},n.prototype.insertNodeAtConstructorStartAfterSuperCall=function(n,t,r){var a=e.find(t.body.statements,(function(n){return e.isExpressionStatement(n)&&e.isSuperCall(n.expression)}));a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,Or(Or([],t.body.statements,!0),[r],!1))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,Or(Or([],t.body.statements,!0),[r],!1))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.factory.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=_(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(e,n,t){var r,a=null!==(r=this.guessIndentationFromExistingMembers(e,n))&&void 0!==r?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,S(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,a))},n.prototype.guessIndentationFromExistingMembers=function(n,t){for(var r,a=t,i=0,o=S(t);i=0;r--){var a=t[r],i=a.span,o=a.newText;n="".concat(n.substring(0,i.start)).concat(o).concat(n.substring(e.textSpanEnd(i)))}return n}function L(n){var r=e.visitEachChild(n,L,e.nullTransformationContext,D,L),i=e.nodeIsSynthesized(r)?r:Object.create(r);return e.setTextRangePosEnd(i,t(n),a(n)),i}function D(n,r,i,o,s){var c=e.visitNodes(n,r,i,o,s);if(!c)return c;var l=c===n?e.factory.createNodeArray(c.slice(0)):c;return e.setTextRangePosEnd(l,t(n),a(n)),l}function C(n,t){return!(e.isInComment(n,t)||e.isInString(n,t)||e.isInTemplateString(n,t)||e.isInJSXText(n,t))}function A(e,n,t,r){void 0===r&&(r={leadingTriviaOption:o.IncludeAll});var a=_(n,t,r),i=y(n,t,r);e.deleteRange(n,{pos:a,end:i})}function I(n,t,r,a){var i=e.Debug.checkDefined(e.formatting.SmartIndenter.getContainingList(a,r)),o=e.indexOfNode(i,a);e.Debug.assert(-1!==o),1!==i.length?(e.Debug.assert(!t.has(a),"Deleting a node twice"),t.add(a),n.deleteRange(r,{pos:T(r,a),end:o===i.length-1?y(r,a,{}):T(r,i[o+1])})):A(n,r,a)}n.ChangeTracker=E,n.getNewFileText=function(e,n,t,r){return v.newFileChangesWorker(void 0,n,e,t,r)},function(n){function t(n,t,r,i,o){var s=r.map((function(e){return 4===e?"":a(e,n,i).text})).join(i),c=e.createSourceFile("any file name",s,99,!0,t);return x(s,e.formatting.formatDocument(c,o))+i}function a(n,t,a){var o=function(n){var t=0,a=e.createTextWriter(n),o=function(e){e&&r(e,t)},s=function(e){e&&i(e,t)},c=function(e){e&&r(e,t)},l=function(e){e&&i(e,t)};function u(n,r){if(r||!function(n){return e.skipTrivia(n,0)===n.length}(n)){t=a.getTextPos();for(var i=0;e.isWhiteSpaceLike(n.charCodeAt(n.length-i-1));)i++;t-=i}}function d(e){a.write(e),u(e,!1)}function p(e){a.writeComment(e)}function f(e){a.writeKeyword(e),u(e,!1)}function m(e){a.writeOperator(e),u(e,!1)}function _(e){a.writePunctuation(e),u(e,!1)}function g(e){a.writeTrailingSemicolon(e),u(e,!1)}function y(e){a.writeParameter(e),u(e,!1)}function h(e){a.writeProperty(e),u(e,!1)}function v(e){a.writeSpace(e),u(e,!1)}function b(e){a.writeStringLiteral(e),u(e,!1)}function E(e,n){a.writeSymbol(e,n),u(e,!1)}function T(e){a.writeLine(e)}function S(){a.increaseIndent()}function x(){a.decreaseIndent()}function L(){return a.getText()}function D(e){a.rawWrite(e),u(e,!1)}function C(e){a.writeLiteral(e),u(e,!0)}function A(){return a.getTextPos()}function I(){return a.getLine()}function N(){return a.getColumn()}function k(){return a.getIndent()}function R(){return a.isAtStartOfLine()}function O(){a.clear(),t=0}return{onBeforeEmitNode:o,onAfterEmitNode:s,onBeforeEmitNodeArray:function(e){e&&r(e,t)},onAfterEmitNodeArray:function(e){e&&i(e,t)},onBeforeEmitToken:c,onAfterEmitToken:l,write:d,writeComment:p,writeKeyword:f,writeOperator:m,writePunctuation:_,writeTrailingSemicolon:g,writeParameter:y,writeProperty:h,writeSpace:v,writeStringLiteral:b,writeSymbol:E,writeLine:T,increaseIndent:S,decreaseIndent:x,getText:L,rawWrite:D,writeLiteral:C,getTextPos:A,getLine:I,getColumn:N,getIndent:k,isAtStartOfLine:R,hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:O}}(a),s=e.getNewLineKind(a);return e.createPrinter({newLine:s,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},o).writeNode(4,n,t,o),{text:o.getText(),node:L(n)}}n.getTextChangesFromChanges=function(n,t,r,i){return e.mapDefined(e.group(n,(function(e){return e.sourceFile.path})),(function(n){for(var o=n[0].sourceFile,s=e.stableSort(n,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),c=function(n){e.Debug.assert(s[n].range.end<=s[n+1].range.pos,"Changes overlap",(function(){return"".concat(JSON.stringify(s[n].range)," and ").concat(JSON.stringify(s[n+1].range))}))},l=0;l0?{fileName:o.fileName,textChanges:u}:void 0}))},n.newFileChanges=function(n,r,a,i,o){var s=t(n,e.getScriptKindFromFileName(r),a,i,o);return{fileName:r,textChanges:[e.createTextChange(e.createTextSpan(0,0),s)],isNewFile:!0}},n.newFileChangesWorker=t,n.getNonformattedText=a}(v||(v={})),n.applyChanges=x,n.isValidLocationToAddComment=C,function(n){function t(n,t,r){if(r.parent.name){var a=e.Debug.checkDefined(e.getTokenAtPosition(t,r.pos-1));n.deleteRange(t,{pos:a.getStart(t),end:r.end})}else{A(n,t,e.getAncestor(r,265))}}n.deleteDeclaration=function(n,r,a,i){switch(i.kind){case 163:var s=i.parent;e.isArrowFunction(s)&&1===s.parameters.length&&!e.findChildOfKind(s,20,a)?n.replaceNodeWithText(a,i,"()"):I(n,r,a,i);break;case 265:case 264:A(n,a,i,{leadingTriviaOption:a.imports.length&&i===e.first(a.imports).parent||i===e.find(a.statements,e.isAnyImportSyntax)?o.Exclude:e.hasJSDocNodes(i)?o.JSDoc:o.StartLine});break;case 202:var l=i.parent;201===l.kind&&i!==e.last(l.elements)?A(n,a,i):I(n,r,a,i);break;case 253:!function(n,t,r,a){var i=a.parent;if(291===i.kind)return void n.deleteNodeRange(r,e.findChildOfKind(i,20,r),e.findChildOfKind(i,21,r));if(1!==i.declarations.length)return void I(n,t,r,a);var s=i.parent;switch(s.kind){case 243:case 242:n.replaceNode(r,a,e.factory.createObjectLiteralExpression());break;case 241:A(n,r,i);break;case 236:A(n,r,s,{leadingTriviaOption:e.hasJSDocNodes(s)?o.JSDoc:o.StartLine});break;default:e.Debug.assertNever(s)}}(n,r,a,i);break;case 162:I(n,r,a,i);break;case 269:var u=i.parent;1===u.elements.length?t(n,a,u):I(n,r,a,i);break;case 267:t(n,a,i);break;case 26:A(n,a,i,{trailingTriviaOption:c.Exclude});break;case 98:A(n,a,i,{leadingTriviaOption:o.Exclude});break;case 256:case 255:A(n,a,i,{leadingTriviaOption:e.hasJSDocNodes(i)?o.JSDoc:o.StartLine});break;default:i.parent?e.isImportClause(i.parent)&&i.parent.name===i?function(n,t,r){if(r.namedBindings){var a=r.name.getStart(t),i=e.getTokenAtPosition(t,r.name.end);if(i&&27===i.kind){var o=e.skipTrivia(t.text,i.end,!1,!0);n.deleteRange(t,{pos:a,end:o})}else A(n,t,r.name)}else A(n,t,r.parent)}(n,a,i.parent):e.isCallExpression(i.parent)&&e.contains(i.parent.arguments,i)?I(n,r,a,i):A(n,a,i):A(n,a,i)}}}(b||(b={})),n.deleteNode=A}(e.textChanges||(e.textChanges={}))}(Br||(Br={})),function(e){!function(n){var t=e.createMultiMap(),r=new e.Map;function a(e,n,t,r,a,i){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:a,commands:i?[i]:void 0}}function i(e,n){return{changes:e,commands:n}}function o(n,t,r){for(var a=0,i=s(n);a1)break}var c=a<2;return function(e){var n=e.fixId,t=e.fixAllDescription,r=Fr(e,["fixId","fixAllDescription"]);return c?r:wr(wr({},r),{fixId:n,fixAllDescription:t})}}(t,r))}))},n.getAllFixes=function(n){return r.get(e.cast(n.fixId,e.isString)).getAllCodeActions(n)},n.createCombinedCodeActions=i,n.createFileTextChanges=function(e,n){return{fileName:e,textChanges:n}},n.codeFixAll=function(n,t,r){var a=[];return i(e.textChanges.ChangeTracker.with(n,(function(e){return o(n,t,(function(n){return r(e,n,a)}))})),0===a.length?void 0:a)},n.eachDiagnostic=o}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){var n,t;n=e.refactor||(e.refactor={}),t=new e.Map,n.registerRefactor=function(e,n){t.set(e,n)},n.getApplicableRefactors=function(r){return e.arrayFrom(e.flatMapIterator(t.values(),(function(e){var t;return r.cancellationToken&&r.cancellationToken.isCancellationRequested()||!(null===(t=e.kinds)||void 0===t?void 0:t.some((function(e){return n.refactorKindBeginsWith(e,r.kind)})))?void 0:e.getAvailableActions(r)})))},n.getEditsForRefactor=function(e,n,r){var a=t.get(n);return a&&a.getEditsForAction(e,r)}}(Br||(Br={})),function(e){!function(n){var t="addConvertToUnknownForNonOverlappingTypes",r=[e.Diagnostics.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.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.Debug.checkDefined(e.findAncestor(a,(function(n){return e.isAsExpression(n)||e.isTypeAssertionExpression(n)})),"Expected to find an assertion expression"),o=e.isAsExpression(i)?e.factory.createAsExpression(i.expression,e.factory.createKeywordTypeNode(154)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(154),i.expression);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,t,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){var n;(n=e.codefix||(e.codefix={})).registerCodeFix({errorCodes:[e.Diagnostics.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.code,e.Diagnostics.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.code],getCodeActions:function(t){var r=t.sourceFile,a=e.textChanges.ChangeTracker.with(t,(function(n){var t=e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([]),void 0);n.insertNodeAtEndOfScope(r,r,t)}));return[n.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",a,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})}(Br||(Br={})),function(e){!function(n){var t="addMissingAsync",r=[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_comparable_to_type_1.code];function a(r,a,i,o){var s=i((function(n){return function(n,t,r,a){if(a&&a.has(e.getNodeId(r)))return;null==a||a.add(e.getNodeId(r));var i=e.factory.updateModifiers(e.getSynthesizedDeepClone(r,!0),e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(256|e.getSyntacticModifierFlags(r))));n.replaceNode(t,r,i)}(n,r.sourceFile,a,o)}));return n.createCodeFixAction(t,s,e.Diagnostics.Add_async_modifier_to_containing_function,t,e.Diagnostics.Add_all_missing_async_modifiers)}function i(n,t){if(t){var r=e.getTokenAtPosition(n,t.start);return e.findAncestor(r,(function(r){return r.getStart(n)e.textSpanEnd(t)?"quit":(e.isArrowFunction(r)||e.isMethodDeclaration(r)||e.isFunctionExpression(r)||e.isFunctionDeclaration(r))&&e.textSpansEqual(t,e.createTextSpanFromNode(r,n))}))}}n.registerCodeFix({fixIds:[t],errorCodes:r,getCodeActions:function(n){var t=n.sourceFile,r=n.errorCode,o=n.cancellationToken,s=n.program,c=n.span,l=e.find(s.getDiagnosticsProducingTypeChecker().getDiagnostics(t,o),function(n,t){return function(r){var a=r.start,i=r.length,o=r.relatedInformation,s=r.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},n)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}(c,r)),u=i(t,l&&l.relatedInformation&&e.find(l.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(u){return[a(n,u,(function(t){return e.textChanges.ChangeTracker.with(n,t)}))]}},getAllCodeActions:function(t){var o=t.sourceFile,s=new e.Set;return n.codeFixAll(t,r,(function(n,r){var c=r.relatedInformation&&e.find(r.relatedInformation,(function(n){return n.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})),l=i(o,c);if(l){return a(t,l,(function(e){return e(n),[]}),s)}}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addMissingAwait",r=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],i=Or([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,r],a,!0);function o(n,t,r,a,i){var o=e.getFixableErrorSpanExpression(n,r);return o&&function(n,t,r,a,i){var o=i.getDiagnosticsProducingTypeChecker(),s=o.getDiagnostics(n,a);return e.some(s,(function(n){var a=n.start,i=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},r)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(n,t,r,a,i)&&l(o)?o:void 0}function s(t,r,a,o,s,c){var d=t.sourceFile,p=t.program,f=t.cancellationToken,m=function(n,t,r,a,o){var s=function(n,t){if(e.isPropertyAccessExpression(n.parent)&&e.isIdentifier(n.parent.expression))return{identifiers:[n.parent.expression],isCompleteFix:!0};if(e.isIdentifier(n))return{identifiers:[n],isCompleteFix:!0};if(e.isBinaryExpression(n)){for(var r=void 0,a=!0,i=0,o=[n.left,n.right];i0)return[n.createCodeFixAction(t,i,e.Diagnostics.Add_const_to_unresolved_variable,t,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,t.program,i)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addMissingDeclareProperty",r=[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];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(e.isIdentifier(i)){var o=i.parent;166!==o.kind||a&&!e.tryAddToSet(a,o)||n.insertModifierBefore(t,135,o)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Prefix_with_declare,t,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.Set;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,i)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addMissingInvocationForDecorator",r=[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];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isDecorator);e.Debug.assert(!!i,"Expected position to be owned by a decorator.");var o=e.factory.createCallExpression(i.expression,void 0,void 0);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Call_decorator_expression,t,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addNameToNamelessParameter",r=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=a.parent;if(!e.isParameter(i))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(a.kind));var o=i.parent.parameters.indexOf(i);e.Debug.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.factory.createTypeReferenceNode(i.name,void 0),c=e.factory.createParameterDeclaration(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,i.dotDotDotToken?e.factory.createArrayTypeNode(s):s,i.initializer);n.replaceNode(t,i,c)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addOptionalPropertyUndefined",r=[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];function a(n,t){var r;if(n){if(e.isBinaryExpression(n.parent)&&63===n.parent.operatorToken.kind)return{source:n.parent.right,target:n.parent.left};if(e.isVariableDeclaration(n.parent)&&n.parent.initializer)return{source:n.parent.initializer,target:n.parent.name};if(e.isCallExpression(n.parent)){var i=t.getSymbolAtLocation(n.parent.expression);if(!(null==i?void 0:i.valueDeclaration)||!e.isFunctionLikeKind(i.valueDeclaration.kind))return;if(!e.isExpression(n))return;var o=n.parent.arguments.indexOf(n);if(-1===o)return;var s=i.valueDeclaration.parameters[o].name;if(e.isIdentifier(s))return{source:n,target:s}}else if(e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)||e.isShorthandPropertyAssignment(n.parent)){var c=a(n.parent.parent,t);if(!c)return;var l=t.getPropertyOfType(t.getTypeAtLocation(c.target),n.parent.name.text),u=null===(r=null==l?void 0:l.declarations)||void 0===r?void 0:r[0];if(!u)return;return{source:e.isPropertyAssignment(n.parent)?n.parent.initializer:n.parent.name,target:u}}}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=r.program.getTypeChecker(),o=function(n,t,r){var i,o,s=a(e.getFixableErrorSpanExpression(n,t),r);if(!s)return e.emptyArray;var c=s.source,l=s.target,u=function(n,t,r){return e.isPropertyAccessExpression(t)&&!!r.getExactOptionalProperties(r.getTypeAtLocation(t.expression)).length&&r.getTypeAtLocation(n)===r.getUndefinedType()}(c,l,r)?r.getTypeAtLocation(l.expression):r.getTypeAtLocation(l);if(null===(o=null===(i=u.symbol)||void 0===i?void 0:i.declarations)||void 0===o?void 0:o.some((function(n){return e.getSourceFileOfNode(n).fileName.match(/\.d\.ts$/)})))return e.emptyArray;return r.getExactOptionalProperties(u)}(r.sourceFile,r.span,i);if(o.length){var s=e.textChanges.ChangeTracker.with(r,(function(n){return function(n,t){for(var r=0,a=t;r1?(n.delete(t,u),n.insertNodeAfter(t,p,d)):n.replaceNode(t,p,d)}}function f(r){var a=[];return r.members&&r.members.forEach((function(e,r){if("constructor"===r&&e.valueDeclaration)n.delete(t,e.valueDeclaration.parent);else{var i=l(e,void 0);i&&a.push.apply(a,i)}})),r.exports&&r.exports.forEach((function(n){if("prototype"===n.name&&n.declarations){var t=n.declarations[0];if(1===n.declarations.length&&e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind&&e.isObjectLiteralExpression(t.parent.right))(r=l(t.parent.right.symbol,void 0))&&a.push.apply(a,r)}else{var r;(r=l(n,[e.factory.createToken(124)]))&&a.push.apply(a,r)}})),a;function l(r,a){var l=[];if(!(8192&r.flags||4096&r.flags))return l;var u,d,p=r.valueDeclaration,f=p.parent,m=f.right;if(u=p,d=m,!(e.isAccessExpression(u)?e.isPropertyAccessExpression(u)&&o(u)||e.isFunctionLike(d):e.every(u.properties,(function(n){return!!(e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)||e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)&&n.name||o(n))}))))return l;var _=f.parent&&237===f.parent.kind?f.parent:f;if(n.delete(t,_),!m)return l.push(e.factory.createPropertyDeclaration([],a,r.name,void 0,void 0,void 0)),l;if(e.isAccessExpression(p)&&(e.isFunctionExpression(m)||e.isArrowFunction(m))){var g=e.getQuotePreference(t,s),y=function(n,t,r){if(e.isPropertyAccessExpression(n))return n.name;var a=n.argumentExpression;if(e.isNumericLiteral(a))return a;if(e.isStringLiteralLike(a))return e.isIdentifierText(a.text,e.getEmitScriptTarget(t))?e.factory.createIdentifier(a.text):e.isNoSubstitutionTemplateLiteral(a)?e.factory.createStringLiteral(a.text,0===r):a;return}(p,c,g);return y?v(l,m,y):l}if(e.isObjectLiteralExpression(m))return e.flatMap(m.properties,(function(n){return e.isMethodDeclaration(n)||e.isGetOrSetAccessorDeclaration(n)?l.concat(n):e.isPropertyAssignment(n)&&e.isFunctionExpression(n.initializer)?v(l,n.initializer,n.name):o(n)?l:[]}));if(e.isSourceFileJS(t))return l;if(!e.isPropertyAccessExpression(p))return l;var h=e.factory.createPropertyDeclaration(void 0,a,p.name,void 0,void 0,m);return e.copyLeadingComments(f.parent,h,t),l.push(h),l;function v(n,r,o){return e.isFunctionExpression(r)?function(n,r,o){var s=e.concatenate(a,i(r,131)),c=e.factory.createMethodDeclaration(void 0,s,void 0,o,void 0,void 0,r.parameters,void 0,r.body);return e.copyLeadingComments(f,c,t),n.concat(c)}(n,r,o):function(n,r,o){var s,c=r.body;s=234===c.kind?c:e.factory.createBlock([e.factory.createReturnStatement(c)]);var l=e.concatenate(a,i(r,131)),u=e.factory.createMethodDeclaration(void 0,l,void 0,o,void 0,void 0,r.parameters,void 0,s);return e.copyLeadingComments(f,u,t),n.concat(u)}(n,r,o)}}}}function i(n,t){return e.filter(n.modifiers,(function(e){return e.kind===t}))}function o(n){return!!n.name&&!(!e.isIdentifier(n.name)||"constructor"!==n.name.text)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start,r.program.getTypeChecker(),r.preferences,r.program.getCompilerOptions())}));return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_function_to_an_ES2015_class,t,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return a(n,t.file,t.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t,r,a="convertToAsyncFunction",i=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],o=!0;function s(n,t,r,a){var i,o=e.getTokenAtPosition(t,r);if(i=e.isIdentifier(o)&&e.isVariableDeclaration(o.parent)&&o.parent.initializer&&e.isFunctionLikeDeclaration(o.parent.initializer)?o.parent.initializer:e.tryCast(e.getContainingFunction(e.getTokenAtPosition(t,r)),e.canBeConvertedToAsync)){var s=new e.Map,l=e.isInJSFile(i),u=function(n,t){if(!n.body)return new e.Set;var r=new e.Set;return e.forEachChild(n.body,(function n(a){c(a,t,"then")?(r.add(e.getNodeId(a)),e.forEach(a.arguments,n)):c(a,t,"catch")||c(a,t,"finally")?(r.add(e.getNodeId(a)),e.forEachChild(a,n)):d(a,t)?r.add(e.getNodeId(a)):e.forEachChild(a,n)})),r}(i,a),m=function(n,t,r){var a=new e.Map,i=e.createMultiMap();return e.forEachChild(n,(function n(o){if(e.isIdentifier(o)){var s=t.getSymbolAtLocation(o);if(s){var c=x(t.getTypeAtLocation(o),t),l=e.getSymbolId(s).toString();if(!c||e.isParameter(o.parent)||e.isFunctionLikeDeclaration(o.parent)||r.has(l)){if(o.parent&&(e.isParameter(o.parent)||e.isVariableDeclaration(o.parent)||e.isBindingElement(o.parent))){var u=o.text,d=i.get(u);if(d&&d.some((function(e){return e!==s}))){var f=p(o,i);a.set(l,f.identifier),r.set(l,f),i.add(u,s)}else{var m=e.getSynthesizedDeepClone(o);r.set(l,A(m)),i.add(u,s)}}}else{var _=e.firstOrUndefined(c.parameters),g=(null==_?void 0:_.valueDeclaration)&&e.isParameter(_.valueDeclaration)&&e.tryCast(_.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName("result",16),y=p(g,i);r.set(l,y),i.add(g.text,s)}}}else e.forEachChild(o,n)})),e.getSynthesizedDeepCloneWithReplacements(n,!0,(function(n){if(e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent)){if((i=(r=t.getSymbolAtLocation(n.name))&&a.get(String(e.getSymbolId(r))))&&i.text!==(n.name||n.propertyName).getText())return e.factory.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,i,n.initializer)}else if(e.isIdentifier(n)){var r,i;if(i=(r=t.getSymbolAtLocation(n))&&a.get(String(e.getSymbolId(r))))return e.factory.createIdentifier(i.text)}}))}(i,a,s);if(e.returnsPromise(m,a)){var g=m.body&&e.isBlock(m.body)?function(n,t){var r=[];return e.forEachReturnStatement(n,(function(n){e.isReturnStatementWithFixablePromiseHandler(n,t)&&r.push(n)})),r}(m.body,a):e.emptyArray,y={checker:a,synthNamesMap:s,setOfExpressionsToReturn:u,isInJSFile:l};if(g.length){var h=i.modifiers?i.modifiers.end:i.decorators?e.skipTrivia(t.text,i.decorators.end):i.getStart(t),v=i.modifiers?{prefix:" "}:{suffix:" "};n.insertModifierAt(t,h,131,v);for(var b=function(r){if(e.forEachChild(r,(function a(i){if(e.isCallExpression(i)){var o=_(i,i,y,!1);if(f())return!0;n.replaceNodeWithNodes(t,r,o)}else if(!e.isFunctionLike(i)&&(e.forEachChild(i,a),f()))return!0})),f())return{value:void 0}},E=0,T=g;E0)return k;if(y){A=S(o.checker,y,g);if(w(i,o))return E(A,u(i,n,o.checker));var R=b(r,A,void 0);return r&&r.types.push(o.checker.getAwaitedType(y)||y),R}return m();default:return m()}return e.emptyArray}function S(n,t,r){var a=e.getSynthesizedDeepClone(r);return n.getPromisedTypeOfPromise(t)?e.factory.createAwaitExpression(a):a}function x(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function L(n,t,r,a){var i=[];return e.forEachChild(t,(function t(o){if(e.isCallExpression(o)){var s=_(o,o,n,r,a);if((i=i.concat(s)).length>0)return}else e.isFunctionLike(o)||e.forEachChild(o,t)})),i}function D(n,t){var r,a=[];e.isFunctionLikeDeclaration(n)?n.parameters.length>0&&(r=function n(t){if(e.isIdentifier(t))return i(t);var r=e.flatMap(t.elements,(function(t){return e.isOmittedExpression(t)?[]:[n(t.name)]}));return function(n,t,r){void 0===t&&(t=e.emptyArray);void 0===r&&(r=[]);return{kind:1,bindingPattern:n,elements:t,types:r}}(t,r)}(n.parameters[0].name)):e.isIdentifier(n)?r=i(n):e.isPropertyAccessExpression(n)&&e.isIdentifier(n.name)&&(r=i(n.name));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(n){var r,i=function(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}((r=n).original?r.original:r);return i&&t.synthNamesMap.get(e.getSymbolId(i).toString())||A(n,a)}}function C(n){return!n||(O(n)?!n.identifier.text:e.every(n.elements,C))}function A(e,n){return void 0===n&&(n=[]),{kind:0,identifier:e,types:n,hasBeenDeclared:!1,hasBeenReferenced:!1}}function I(e){return e.hasBeenReferenced=!0,e.identifier}function N(e){return O(e)?R(e):k(e)}function k(e){for(var n=0,t=e.elements;n1?[[o(r),s(r)],!0]:[[s(r)],!0]:[[o(r)],!1]}(d.arguments[0],t):void 0;return f?(a.replaceNodeWithNodes(n,r.parent,f[0]),f[1]):(a.replaceRangeWithText(n,e.createRange(u.getStart(n),d.pos),"export default"),!0)}a.delete(n,r.parent)}else e.isExportsOrModuleExportsOrAlias(n,u.expression)&&function(n,t,r,a){var i=t.left.name.text,o=a.get(i);if(void 0!==o){var s=[_(void 0,o,t.right),g([e.factory.createExportSpecifier(!1,o,i)])];r.replaceNodeWithNodes(n,t.parent,s)}else!function(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.factory.createToken(93),{suffix:" "}),i.name||r.insertName(t,i,s);var c=e.findChildOfKind(o,26,t);c&&r.delete(t,c)}}(t,n,r)}(n,r,a,i);return!1}(n,r,y,a,d,f)}default:return!1}}function i(t,r,a,i,o,s,c){var u,d=r.declarationList,p=!1,g=e.map(d.declarations,(function(r){var a=r.name,u=r.initializer;if(u){if(e.isExportsOrModuleExportsOrAlias(t,u))return p=!0,y([]);if(e.isRequireCall(u,!0))return p=!0,function(t,r,a,i,o,s){switch(t.kind){case 200:var c=e.mapAllOrFail(t.elements,(function(n){return n.dotDotDotToken||n.initializer||n.propertyName&&!e.isIdentifier(n.propertyName)||!e.isIdentifier(n.name)?void 0:m(n.propertyName&&n.propertyName.text,n.name.text)}));if(c)return y([e.makeImport(void 0,c,r,s)]);case 201:var u=l(n.moduleSpecifierToValidIdentifier(r.text,o),i);return y([e.makeImport(e.factory.createIdentifier(u),void 0,r,s),_(void 0,e.getSynthesizedDeepClone(t),e.factory.createIdentifier(u))]);case 79:return function(n,t,r,a,i){for(var o,s=r.getSymbolAtLocation(n),c=new e.Map,u=!1,d=0,p=a.original.get(n.text);d0||c.length>0||u.size>0||d.size>0}};function f(n){var t,r,a=n.fixes,i=n.symbolName,o=e.first(a);switch(o.kind){case 0:s.push(o);break;case 1:c.push(o);break;case 2:var l=o.importClauseOrBindingPattern,p=o.importKind,f=o.addAsTypeOnly,m=String(e.getNodeId(l));if((h=u.get(m))||u.set(m,h={importClauseOrBindingPattern:l,defaultImport:void 0,namedImports:new e.Map}),0===p){var _=null==h?void 0:h.namedImports.get(i);h.namedImports.set(i,v(_,f))}else e.Debug.assert(void 0===h.defaultImport||h.defaultImport.name===i,"(Add to Existing) Default import should be missing or match symbolName"),h.defaultImport={name:i,addAsTypeOnly:v(null===(t=h.defaultImport)||void 0===t?void 0:t.addAsTypeOnly,f)};break;case 3:var g=o.moduleSpecifier,y=(p=o.importKind,o.useRequire),h=function(e,n,t,r){var a=b(e,!0),i=b(e,!1),o=d.get(a),s=d.get(i),c={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:t};if(1===n&&2===r)return o||(d.set(a,c),c);if(1===r&&(o||s))return o||s;if(s)return s;return d.set(i,c),c}(g,p,y,f=o.addAsTypeOnly);switch(e.Debug.assert(h.useRequire===y,"(Add new) Tried to add an `import` and a `require` for the same module"),p){case 1:e.Debug.assert(void 0===h.defaultImport||h.defaultImport.name===i,"(Add new) Default import should be missing or match symbolName"),h.defaultImport={name:i,addAsTypeOnly:v(null===(r=h.defaultImport)||void 0===r?void 0:r.addAsTypeOnly,f)};break;case 0:_=(h.namedImports||(h.namedImports=new e.Map)).get(i);h.namedImports.set(i,v(_,f));break;case 3:case 2:e.Debug.assert(void 0===h.namespaceLikeImport||h.namespaceLikeImport.name===i,"Namespacelike import shoudl be missing or match symbolName"),h.namespaceLikeImport={importKind:p,name:i,addAsTypeOnly:f}}break;default:e.Debug.assertNever(o,"fix wasn't never - got kind ".concat(o.kind))}function v(e,n){return Math.max(null!=e?e:0,n)}function b(e,n){return"".concat(n?1:0,"|").concat(e)}}}function l(n,t,r,a,i,o,s,c,l,u){return e.Debug.assert(t.some((function(e){return e.moduleSymbol===r||e.symbol.parent===r})),"Some exportInfo should match the specified moduleSymbol"),h(f(t,a,o,s,c,i,n,l,u),n,i,l,u)}function u(e){return{description:e.description,changes:e.changes,commands:e.commands}}function d(n,t,r,a){var i,o,s=r.getCompilerOptions(),c=u(r.getTypeChecker(),!1);if(c)return c;var l=null===(o=null===(i=a.getPackageJsonAutoImportProvider)||void 0===i?void 0:i.call(a))||void 0===o?void 0:o.getTypeChecker();return e.Debug.checkDefined(l&&u(l,!0),"Could not find symbol in specified module for code actions");function u(r,a){var i=e.getDefaultLikeExportInfo(t,r,s);if(i&&e.skipAlias(i.symbol,r)===n)return{symbol:i.symbol,moduleSymbol:t,moduleFileName:void 0,exportKind:i.exportKind,targetFlags:e.skipAlias(n,r).flags,isFromPackageJson:a};var o=r.tryGetMemberInModuleExportsAndProperties(n.name,t);return o&&e.skipAlias(o,r)===n?{symbol:o,moduleSymbol:t,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(n,r).flags,isFromPackageJson:a}:void 0}}function p(n,t,r,a,i,o,s,c){var l=[],u=o.getCompilerOptions(),d=e.memoizeOne((function(n){return e.createModuleSpecifierResolutionHost(n?i.getPackageJsonAutoImportProvider():o,i)}));return e.forEachExternalModuleToImportFrom(o,i,c,(function(i,o,s,c){var d=s.getTypeChecker();if(!o||i===r||!e.startsWith(n.fileName,e.getDirectoryPath(o.fileName))){var f=e.getDefaultLikeExportInfo(i,d,u);f&&(f.name===a||k(i,e.getEmitScriptTarget(u))===a)&&e.skipAlias(f.symbol,d)===t&&p(s,o,c)&&l.push({symbol:f.symbol,moduleSymbol:i,moduleFileName:null==o?void 0:o.fileName,exportKind:f.exportKind,targetFlags:e.skipAlias(f.symbol,d).flags,isFromPackageJson:c});for(var m=0,_=d.getExportsAndPropertiesOfModule(i);m<_.length;m++){var g=_[m];g.name===a&&d.getMergedSymbol(e.skipAlias(g,d))===t&&p(s,o,c)&&l.push({symbol:g,moduleSymbol:i,moduleFileName:null==o?void 0:o.fileName,exportKind:0,targetFlags:e.skipAlias(g,d).flags,isFromPackageJson:c})}}})),l;function p(t,r,a){var o;return!r||e.isImportableFile(t,n,r,s,void 0,d(a),null===(o=i.getModuleSpecifierCache)||void 0===o?void 0:o.call(i))}}function f(n,t,r,a,i,o,s,c,l){var u=o.getTypeChecker(),d=e.flatMap(n,(function(n){return function(n,t,r,a){var i=n.moduleSymbol,o=n.exportKind,s=n.targetFlags,c=n.symbol;if(!(111551&s)&&e.isSourceFileJS(r))return e.emptyArray;var l=b(r,o,a);return e.mapDefined(r.imports,(function(n){var r=e.importFromModuleSpecifier(n);return e.isVariableDeclarationInitializedToRequire(r.parent)?t.resolveExternalModuleName(n)===i?{declaration:r.parent,importKind:l,symbol:c,targetFlags:s}:void 0:(265===r.kind||264===r.kind)&&t.getSymbolAtLocation(n)===i?{declaration:r,importKind:l,symbol:c,targetFlags:s}:void 0}))}(n,u,s,o.getCompilerOptions())})),p=void 0===r?void 0:function(n,t,r,a){return e.firstDefined(n,(function(n){var i=n.declaration,o=function(n){var t,r,a;switch(n.kind){case 253:return null===(t=e.tryCast(n.name,e.isIdentifier))||void 0===t?void 0:t.text;case 264:return n.name.text;case 265:return null===(a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport))||void 0===a?void 0:a.name.text;default:return e.Debug.assertNever(n)}}(i),s=e.tryGetModuleSpecifierFromDeclaration(i);if(o&&s){var c=function(n,t){var r;switch(n.kind){case 253:return t.resolveExternalModuleName(n.initializer.arguments[0]);case 264:return t.getAliasedSymbol(n.symbol);case 265:var a=e.tryCast(null===(r=n.importClause)||void 0===r?void 0:r.namedBindings,e.isNamespaceImport);return a&&t.getAliasedSymbol(a.symbol);default:return e.Debug.assertNever(n)}}(i,a);if(c&&c.exports.has(e.escapeLeadingUnderscores(t)))return{kind:0,namespacePrefix:o,position:r,moduleSpecifier:s}}}))}(d,t,r,u),f=function(n,t,r,a){return e.firstDefined(n,(function(n){var i=n.declaration,o=n.importKind,s=n.symbol,c=n.targetFlags;if(3!==o&&2!==o&&264!==i.kind){if(253===i.kind)return 0!==o&&1!==o||200!==i.name.kind?void 0:{kind:2,importClauseOrBindingPattern:i.name,importKind:o,moduleSpecifier:i.initializer.arguments[0].text,addAsTypeOnly:4};var l=i.importClause;if(l&&e.isStringLiteralLike(i.moduleSpecifier)){var u=l.name,d=l.namedBindings;if(!l.isTypeOnly||0===o&&d){var p=m(t,!1,s,c,r,a);if(!(1===o&&(u||2===p&&d)||0===o&&267===(null==d?void 0:d.kind)))return{kind:2,importClauseOrBindingPattern:l,importKind:o,moduleSpecifier:i.moduleSpecifier.text,addAsTypeOnly:p}}}}}))}(d,a,u,o.getCompilerOptions()),_=f?[f]:function(n,t,r,a,i,o,s,c,l){var u=e.firstDefined(t,(function(n){return function(n,t,r,a,i){var o=n.declaration,s=n.importKind,c=n.symbol,l=n.targetFlags,u=e.tryGetModuleSpecifierFromDeclaration(o);if(u){return{kind:3,moduleSpecifier:u,importKind:s,addAsTypeOnly:r?4:m(t,!0,c,l,a,i),useRequire:r}}}(n,o,s,r.getTypeChecker(),r.getCompilerOptions())}));return u?[u]:g(r,a,i,o,s,n,c,l).fixes}(n,d,o,s,r,a,i,c,l);return Or(Or([],p?[p]:e.emptyArray,!0),_,!0)}function m(e,n,t,r,a,i){return e?n&&2===i.importsNotUsedAsValues?2:!i.isolatedModules||!i.preserveValueImports||111551&r&&!a.getTypeOnlyAliasDeclaration(t)?1:2:4}function _(n,t){if(!e.isSourceFileJS(n))return!1;if(n.commonJsModuleIndicator&&!n.externalModuleIndicator)return!0;if(n.externalModuleIndicator&&!n.commonJsModuleIndicator)return!1;var r=t.getCompilerOptions();if(r.configFile)return e.getEmitModuleKind(r)=e.ModuleKind.ES2015)return a?1:2;if(i)return e.isExternalModule(n)||r?a?1:2:3;for(var o=0,s=n.statements;o"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,c?c.text:e.ANONYMOUS]}return n.replaceNode(t,s,e.factory.createToken(85)),n.insertText(t,c.end," = "),n.insertText(t,l.pos," =>"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,c.text]}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i,o=r.sourceFile,s=r.program,c=r.span,l=e.textChanges.ChangeTracker.with(r,(function(e){i=a(e,o,c.start,s.getTypeChecker())}));return i?[n.createCodeFixAction(t,l,i,t,e.Diagnostics.Fix_all_implicit_this_errors)]:e.emptyArray},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){a(n,t.file,t.start,e.program.getTypeChecker())}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){var n,t,r;n=e.codefix||(e.codefix={}),t="fixIncorrectNamedTupleSyntax",r=[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:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=function(n,t){var r=e.getTokenAtPosition(n,t);return e.findAncestor(r,(function(e){return 196===e.kind}))}(a,i.start),s=e.textChanges.ChangeTracker.with(r,(function(n){return function(n,t,r){if(r){for(var a=r.type,i=!1,o=!1;184===a.kind||185===a.kind||190===a.kind;)184===a.kind?i=!0:185===a.kind&&(o=!0),a=a.type;var s=e.factory.updateNamedTupleMember(r,r.dotDotDotToken||(o?e.factory.createToken(25):void 0),r.name,r.questionToken||(i?e.factory.createToken(57):void 0),a);s!==r&&n.replaceNode(t,r,s)}}(n,a,o)}));return[n.createCodeFixAction(t,s,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,t,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[t]})}(Br||(Br={})),function(e){!function(n){var t="fixSpelling",r=[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];function a(n,t,r,a){var i=e.getTokenAtPosition(n,t),o=i.parent;if(a!==e.Diagnostics.No_overload_matches_this_call.code&&a!==e.Diagnostics.Type_0_is_not_assignable_to_type_1.code||e.isJsxAttribute(o)){var s,c=r.program.getTypeChecker();if(e.isPropertyAccessExpression(o)&&o.name===i){e.Debug.assert(e.isMemberName(i),"Expected an identifier for spelling (property access)");var l=c.getTypeAtLocation(o.expression);32&o.flags&&(l=c.getNonNullableType(l)),s=c.getSuggestedSymbolForNonexistentProperty(i,l)}else if(e.isBinaryExpression(o)&&101===o.operatorToken.kind&&o.left===i&&e.isPrivateIdentifier(i)){var u=c.getTypeAtLocation(o.right);s=c.getSuggestedSymbolForNonexistentProperty(i,u)}else if(e.isQualifiedName(o)&&o.right===i){var d=c.getSymbolAtLocation(o.left);d&&1536&d.flags&&(s=c.getSuggestedSymbolForNonexistentModule(o.right,d))}else if(e.isImportSpecifier(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for spelling (import)");var p=function(n,t,r){if(!r||!e.isStringLiteralLike(r.moduleSpecifier))return;var a=e.getResolvedModule(n,r.moduleSpecifier.text,e.getModeForUsageLocation(n,r.moduleSpecifier));return a?t.program.getSourceFile(a.resolvedFileName):void 0}(n,r,e.findAncestor(i,e.isImportDeclaration));p&&p.symbol&&(s=c.getSuggestedSymbolForNonexistentModule(i,p.symbol))}else if(e.isJsxAttribute(o)&&o.name===i){e.Debug.assertNode(i,e.isIdentifier,"Expected an identifier for JSX attribute");var f=e.findAncestor(i,e.isJsxOpeningLikeElement),m=c.getContextualTypeForArgumentAtIndex(f,0);s=c.getSuggestedSymbolForNonexistentJSXAttribute(i,m)}else if(e.hasSyntacticModifier(o,16384)&&e.isClassElement(o)&&o.name===i){var _=e.findAncestor(i,e.isClassLike),g=_?e.getEffectiveBaseTypeNode(_):void 0,y=g?c.getTypeAtLocation(g):void 0;y&&(s=c.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(i),y))}else{var h=e.getMeaningFromLocation(i),v=e.getTextOfNode(i);e.Debug.assert(void 0!==v,"name should be defined"),s=c.getSuggestedSymbolForNonexistentSymbol(i,v,function(e){var n=0;4&e&&(n|=1920);2&e&&(n|=788968);1&e&&(n|=111551);return n}(h))}return void 0===s?void 0:{node:i,suggestedSymbol:s}}}function i(n,t,r,a,i){var o=e.symbolName(a);if(!e.isIdentifierText(o,i)&&e.isPropertyAccessExpression(r.parent)){var s=a.valueDeclaration;s&&e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name)?n.replaceNode(t,r,e.factory.createIdentifier(o)):n.replaceNode(t,r.parent,e.factory.createElementAccessExpression(r.parent.expression,e.factory.createStringLiteral(o)))}else n.replaceNode(t,r,e.factory.createIdentifier(o))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.errorCode,c=a(o,r.span.start,r,s);if(c){var l=c.node,u=c.suggestedSymbol,d=e.getEmitScriptTarget(r.host.getCompilationSettings()),p=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,l,u,d)}));return[n.createCodeFixAction("spelling",p,[e.Diagnostics.Change_spelling_to_0,e.symbolName(u)],t,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[t],getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r){var o=a(r.file,r.start,t,r.code),s=e.getEmitScriptTarget(t.host.getCompilationSettings());o&&i(n,t.sourceFile,o.node,o.suggestedSymbol,s)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t,r,a="returnValueCorrect",i="fixAddReturnStatement",o="fixRemoveBracesFromArrowFunctionBody",s="fixWrapTheBlockWithParen",c=[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];function l(n,t,r){var a=n.createSymbol(4,t.escapedText);a.type=n.getTypeAtLocation(r);var i=e.createSymbolTable([a]);return n.createAnonymousType(void 0,i,[],[],[])}function u(n,r,a,i){if(r.body&&e.isBlock(r.body)&&1===e.length(r.body.statements)){var o=e.first(r.body.statements);if(e.isExpressionStatement(o)&&d(n,r,n.getTypeAtLocation(o.expression),a,i))return{declaration:r,kind:t.MissingReturnStatement,expression:o.expression,statement:o,commentSource:o.expression};if(e.isLabeledStatement(o)&&e.isExpressionStatement(o.statement)){var s=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(o.label,o.statement.expression)]);if(d(n,r,l(n,o.label,o.statement.expression),a,i))return e.isArrowFunction(r)?{declaration:r,kind:t.MissingParentheses,expression:s,statement:o,commentSource:o.statement.expression}:{declaration:r,kind:t.MissingReturnStatement,expression:s,statement:o,commentSource:o.statement.expression}}else if(e.isBlock(o)&&1===e.length(o.statements)){var c=e.first(o.statements);if(e.isLabeledStatement(c)&&e.isExpressionStatement(c.statement)){s=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(c.label,c.statement.expression)]);if(d(n,r,l(n,c.label,c.statement.expression),a,i))return{declaration:r,kind:t.MissingReturnStatement,expression:s,statement:o,commentSource:c}}}}}function d(n,t,r,a,i){if(i){var o=n.getSignatureFromDeclaration(t);if(o){e.hasSyntacticModifier(t,256)&&(r=n.createPromiseType(r));var s=n.createSignature(t,o.typeParameters,o.thisParameter,o.parameters,r,void 0,o.minArgumentCount,o.flags);r=n.createAnonymousType(void 0,e.createSymbolTable(),[s],[],[])}else r=n.getAnyType()}return n.isTypeAssignableTo(r,a)}function p(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(i.parent){var o=e.findAncestor(i.parent,e.isFunctionLikeDeclaration);switch(a){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!(o&&o.body&&o.type&&e.rangeContainsRange(o.type,i)))return;return u(n,o,n.getTypeFromTypeNode(o.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!o||!e.isCallExpression(o.parent)||!o.body)return;var s=o.parent.arguments.indexOf(o),c=n.getContextualTypeForArgumentAtIndex(o.parent,s);if(!c)return;return u(n,o,c,!0);case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(i)||!e.isVariableLike(i.parent)&&!e.isJsxAttribute(i.parent))return;var l=function(n){switch(n.kind){case 253:case 163:case 202:case 166:case 294:return n.initializer;case 284:return n.initializer&&(e.isJsxExpression(n.initializer)?n.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}(i.parent);if(!l||!e.isFunctionLikeDeclaration(l)||!l.body)return;return u(n,l,n.getTypeAtLocation(i.parent),!0)}}}function f(n,t,r,a){e.suppressLeadingAndTrailingTrivia(r);var i=e.probablyUsesSemicolons(t);n.replaceNode(t,a,e.factory.createReturnStatement(r),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function m(n,t,r,a,i,o){var s=o||e.needsParentheses(a)?e.factory.createParenthesizedExpression(a):a;e.suppressLeadingAndTrailingTrivia(i),e.copyComments(i,s),n.replaceNode(t,r.body,s)}function _(n,t,r,a){n.replaceNode(t,r.body,e.factory.createParenthesizedExpression(a))}function g(t,r,o){var s=e.textChanges.ChangeTracker.with(t,(function(e){return f(e,t.sourceFile,r,o)}));return n.createCodeFixAction(a,s,e.Diagnostics.Add_a_return_statement,i,e.Diagnostics.Add_all_missing_return_statement)}function y(t,r,i){var o=e.textChanges.ChangeTracker.with(t,(function(e){return _(e,t.sourceFile,r,i)}));return n.createCodeFixAction(a,o,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,s,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}(r=t||(t={}))[r.MissingReturnStatement=0]="MissingReturnStatement",r[r.MissingParentheses=1]="MissingParentheses",n.registerCodeFix({errorCodes:c,fixIds:[i,o,s],getCodeActions:function(r){var i=r.program,s=r.sourceFile,c=r.span.start,l=r.errorCode,u=p(i.getTypeChecker(),s,c,l);if(u)return u.kind===t.MissingReturnStatement?e.append([g(r,u.expression,u.statement)],e.isArrowFunction(u.declaration)?function(t,r,i,s){var c=e.textChanges.ChangeTracker.with(t,(function(e){return m(e,t.sourceFile,r,i,s,!1)}));return n.createCodeFixAction(a,c,e.Diagnostics.Remove_braces_from_arrow_function_body,o,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(r,u.declaration,u.expression,u.commentSource):void 0):[y(r,u.declaration,u.expression)]},getAllCodeActions:function(t){return n.codeFixAll(t,c,(function(n,r){var a=p(t.program.getTypeChecker(),r.file,r.start,r.code);if(a)switch(t.fixId){case i:f(n,r.file,a.expression,a.statement);break;case o:if(!e.isArrowFunction(a.declaration))return;m(n,r.file,a.declaration,a.expression,a.commentSource,!1);break;case s:if(!e.isArrowFunction(a.declaration))return;_(n,r.file,a.declaration,a.expression);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t,r,a="fixMissingMember",i="fixMissingProperties",o="fixMissingAttributes",s="fixMissingFunctionDeclaration",c=[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];function l(n,t,r,a,i){var o=e.getTokenAtPosition(n,t),s=o.parent;if(r===e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(18!==o.kind||!e.isObjectLiteralExpression(s)||!e.isCallExpression(s.parent))return;var c=e.findIndex(s.parent.arguments,(function(e){return e===s}));if(c<0)return;var l=e.singleOrUndefined(a.getSignaturesOfType(a.getTypeAtLocation(s.parent.expression),0));if(!(l&&l.declaration&&l.parameters[c]))return;var d=l.parameters[c].valueDeclaration;if(!(d&&e.isParameter(d)&&e.isIdentifier(d.name)))return;var p=e.arrayFrom(a.getUnmatchedProperties(a.getTypeAtLocation(s),a.getTypeAtLocation(d),!1,!1));if(!e.length(p))return;return{kind:3,token:d.name,properties:p,indentation:0,parentDeclaration:s}}if(e.isMemberName(o)){if(e.isIdentifier(o)&&e.hasInitializer(s)&&s.initializer&&e.isObjectLiteralExpression(s.initializer)){p=e.arrayFrom(a.getUnmatchedProperties(a.getTypeAtLocation(s.initializer),a.getTypeAtLocation(o),!1,!1));if(!e.length(p))return;return{kind:3,token:o,properties:p,indentation:void 0,parentDeclaration:s.initializer}}if(e.isIdentifier(o)&&e.isJsxOpeningLikeElement(o.parent)){var f=function(n,t){var r=n.getContextualType(t.attributes);if(void 0===r)return e.emptyArray;var a=r.getProperties();if(!e.length(a))return e.emptyArray;for(var i=new e.Set,o=0,s=t.attributes.properties;o=e.ModuleKind.ES2015&&o99)&&(s=e.textChanges.ChangeTracker.with(t,(function(t){if(e.getTsConfigObjectLiteralExpression(a)){var r=[["target",e.factory.createStringLiteral("es2017")]];o===e.ModuleKind.CommonJS&&r.push(["module",e.factory.createStringLiteral("commonjs")]),n.setJsonCompilerOptionValues(t,a,r)}})),i.push(n.createCodeFixActionWithoutFixAll("fixTargetOption",s,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))),i.length?i:void 0}}})}(Br||(Br={})),function(e){!function(n){var t="fixPropertyAssignment",r=[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];function a(n,t,r){n.replaceNode(t,r,e.factory.createPropertyAssignment(r.name,r.objectAssignmentInitializer))}function i(n,t){return e.cast(e.getTokenAtPosition(n,t).parent,e.isShorthandPropertyAssignment)}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var o=i(r.sourceFile,r.span.start),s=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,o)}));return[n.createCodeFixAction(t,s,[e.Diagnostics.Change_0_to_1,"=",":"],t,[e.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,i(n.file,n.start))}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="extendsInterfaceBecomesImplements",r=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.getContainingClass(r).heritageClauses,i=a[0].getFirstToken();return 94===i.kind?{extendsToken:i,heritageClauses:a}:void 0}function i(n,t,r,a){if(n.replaceNode(t,r,e.factory.createToken(117)),2===a.length&&94===a[0].token&&117===a[1].token){var i=a[1].getFirstToken(),o=i.getFullStart();n.replaceRange(t,{pos:o,end:o},e.factory.createToken(27));for(var s=t.text,c=i.end;c":">","}":"}"};function o(n,t,r,a,o){var s=r.getText()[a];if(function(n){return e.hasProperty(i,n)}(s)){var c=o?i[s]:"{".concat(e.quote(r,t,s),"}");n.replaceRangeWithText(r,{pos:a,end:a+1},c)}}}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="unusedIdentifier",r="unusedIdentifier_prefix",a="unusedIdentifier_delete",i="unusedIdentifier_deleteImports",o="unusedIdentifier_infer",s=[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];function c(n,t,r){n.replaceNode(t,r.parent,e.factory.createKeywordTypeNode(154))}function l(r,i){return n.createCodeFixAction(t,r,i,a,e.Diagnostics.Delete_all_unused_declarations)}function u(n,t,r){n.delete(t,e.Debug.checkDefined(e.cast(r.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function d(e){return 100===e.kind||79===e.kind&&(269===e.parent.kind||266===e.parent.kind)}function p(n){return 100===n.kind?e.tryCast(n.parent,e.isImportDeclaration):void 0}function f(n,t){return e.isVariableDeclarationList(t.parent)&&e.first(t.parent.getChildren(n))===t}function m(e,n,t){e.delete(n,236===t.parent.kind?t.parent:t)}function _(n,t,r,a){t!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(137===a.kind&&(a=e.cast(a.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(a)&&function(e){switch(e.parent.kind){case 163:case 162:return!0;case 253:switch(e.parent.parent.parent.kind){case 243:case 242:return!0}}return!1}(a)&&(n.replaceNode(r,a,e.factory.createIdentifier("_".concat(a.text))),e.isParameter(a.parent)&&e.getJSDocParameterTags(a.parent).forEach((function(t){e.isIdentifier(t.name)&&n.replaceNode(r,t.name,e.factory.createIdentifier("_".concat(t.name.text)))}))))}function g(n,t,r,a,i,o,s,c){!function(n,t,r,a,i,o,s,c){var l=n.parent;if(e.isParameter(l))!function(n,t,r,a,i,o,s,c){void 0===c&&(c=!1);(function(n,t,r,a,i,o,s){var c=r.parent;switch(c.kind){case 168:case 170:var l=c.parameters.indexOf(r),u=e.isMethodDeclaration(c)?c.name:c,d=e.FindAllReferences.Core.getReferencedSymbolsForNode(c.pos,u,i,a,o);if(d)for(var p=0,f=d;pl,v=e.isPropertyAccessExpression(g.node.parent)&&e.isSuperKeyword(g.node.parent.expression)&&e.isCallExpression(g.node.parent.parent)&&g.node.parent.parent.arguments.length>l,b=(e.isMethodDeclaration(g.node.parent)||e.isMethodSignature(g.node.parent))&&g.node.parent!==r.parent&&g.node.parent.parameters.length>l;if(y||v||b)return!1}}return!0;case 255:return!c.name||!function(n,t,r){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(r,n,t,(function(n){return e.isIdentifier(n)&&e.isCallExpression(n.parent)&&n.parent.arguments.indexOf(n)>=0}))}(n,t,c.name)||h(c,r,s);case 212:case 213:return h(c,r,s);case 172:return!1;default:return e.Debug.failBadSyntaxKind(c)}})(a,t,r,i,o,s,c)&&(r.modifiers&&r.modifiers.length>0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){return n.deleteModifier(t,e)})):!r.initializer&&y(r,a,i)&&n.delete(t,r))}(t,r,l,a,i,o,s,c);else if(!(c&&e.isIdentifier(n)&&e.FindAllReferences.Core.isSymbolReferencedInFile(n,a,r))){var u=e.isImportClause(l)?n:e.isComputedPropertyName(l)?l.parent:l;e.Debug.assert(u!==r,"should not delete whole source file"),t.delete(r,u)}}(t,r,n,a,i,o,s,c),e.isIdentifier(t)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(t,a,n,(function(t){var a;e.isPropertyAccessExpression(t.parent)&&t.parent.name===t&&(t=t.parent),!c&&(a=t,(e.isBinaryExpression(a.parent)&&a.parent.left===a||(e.isPostfixUnaryExpression(a.parent)||e.isPrefixUnaryExpression(a.parent))&&a.parent.operand===a)&&e.isExpressionStatement(a.parent.parent))&&r.delete(n,t.parent.parent)}))}function y(n,t,r){var a=n.parent.parameters.indexOf(n);return!e.FindAllReferences.Core.someSignatureUsage(n.parent,r,t,(function(e,n){return!n||n.arguments.length>a}))}function h(n,t,r){var a=n.parameters,i=a.indexOf(t);return e.Debug.assert(-1!==i,"The parameter should already be in the list"),r?a.slice(i+1).every((function(n){return e.isIdentifier(n.name)&&!n.symbol.isReferenced})):i===a.length-1}n.registerCodeFix({errorCodes:s,getCodeActions:function(a){var s=a.errorCode,y=a.sourceFile,h=a.program,v=a.cancellationToken,b=h.getTypeChecker(),E=h.getSourceFiles(),T=e.getTokenAtPosition(y,a.span.start);if(e.isJSDocTemplateTag(T))return[l(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(y,T)})),e.Diagnostics.Remove_template_tag)];if(29===T.kind)return[l(x=e.textChanges.ChangeTracker.with(a,(function(e){return u(e,y,T)})),e.Diagnostics.Remove_type_parameters)];var S=p(T);if(S){var x=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(y,S)}));return[n.createCodeFixAction(t,x,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(S)],i,e.Diagnostics.Delete_all_unused_imports)]}if(d(T)&&(I=e.textChanges.ChangeTracker.with(a,(function(e){return g(y,T,e,b,E,h,v,!1)}))).length)return[n.createCodeFixAction(t,I,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,T.getText(y)],i,e.Diagnostics.Delete_all_unused_imports)];if(e.isObjectBindingPattern(T.parent)||e.isArrayBindingPattern(T.parent)){if(e.isParameter(T.parent.parent)){var L=T.parent.elements,D=[L.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(L,(function(e){return e.getText(y)})).join(", ")];return[l(e.textChanges.ChangeTracker.with(a,(function(n){return function(n,t,r){e.forEach(r.elements,(function(e){return n.delete(t,e)}))}(n,y,T.parent)})),D)]}return[l(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(y,T.parent.parent)})),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(f(y,T))return[l(e.textChanges.ChangeTracker.with(a,(function(e){return m(e,y,T.parent)})),e.Diagnostics.Remove_variable_statement)];var C=[];if(137===T.kind){x=e.textChanges.ChangeTracker.with(a,(function(e){return c(e,y,T)}));var A=e.cast(T.parent,e.isInferTypeNode).typeParameter.name.text;C.push(n.createCodeFixAction(t,x,[e.Diagnostics.Replace_infer_0_with_unknown,A],o,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var I;if((I=e.textChanges.ChangeTracker.with(a,(function(e){return g(y,T,e,b,E,h,v,!1)}))).length){A=e.isComputedPropertyName(T.parent)?T.parent:T;C.push(l(I,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,A.getText(y)]))}}var N=e.textChanges.ChangeTracker.with(a,(function(e){return _(e,s,y,T)}));return N.length&&C.push(n.createCodeFixAction(t,N,[e.Diagnostics.Prefix_0_with_an_underscore,T.getText(y)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),C},fixIds:[r,a,i,o],getAllCodeActions:function(t){var l=t.sourceFile,h=t.program,v=t.cancellationToken,b=h.getTypeChecker(),E=h.getSourceFiles();return n.codeFixAll(t,s,(function(n,s){var T=e.getTokenAtPosition(l,s.start);switch(t.fixId){case r:_(n,s.code,l,T);break;case i:var S=p(T);S?n.delete(l,S):d(T)&&g(l,T,n,b,E,h,v,!0);break;case a:if(137===T.kind||d(T))break;if(e.isJSDocTemplateTag(T))n.delete(l,T);else if(29===T.kind)u(n,l,T);else if(e.isObjectBindingPattern(T.parent)){if(T.parent.parent.initializer)break;e.isParameter(T.parent.parent)&&!y(T.parent.parent,b,E)||n.delete(l,T.parent.parent)}else{if(e.isArrayBindingPattern(T.parent.parent)&&T.parent.parent.parent.initializer)break;f(l,T)?m(n,l,T.parent):g(l,T,n,b,E,h,v,!0)}break;case o:137===T.kind&&c(n,l,T);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a,i){var o=e.getTokenAtPosition(t,r),s=e.findAncestor(o,e.isStatement);if(s.getStart(t)!==o.getStart(t)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:i,start:r,length:a});e.Debug.fail("Token and statement should start at the same point. "+c)}var l=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(l.kind){case 238:if(l.elseStatement){if(e.isBlock(s.parent))break;return void n.replaceNode(t,s,e.factory.createBlock(e.emptyArray))}case 240:case 241:return void n.delete(t,l)}if(e.isBlock(s.parent)){var u=r+a,d=e.Debug.checkDefined(function(e,n){for(var t,r=0,a=e;rB.length)K(C,h.getSignatureFromDeclaration(y[y.length-1]),S,E,p||c(C));else e.Debug.assert(y.length===B.length,"Declarations and signatures should match count"),d(function(n,r,a,i,o,l,u,d,p){for(var f=i[0],m=i[0].minArgumentCount,_=!1,g=0,y=i;g=f.parameters.length&&(!e.signatureHasRestParameter(h)||e.signatureHasRestParameter(f))&&(f=h)}var v=f.parameters.length-(e.signatureHasRestParameter(f)?1:0),b=f.parameters.map((function(e){return e.name})),E=s(v,b,void 0,m,!1);if(_){var T=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),S=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),b[v]||"rest",v>=m?e.factory.createToken(57):void 0,T,void 0);E.push(S)}return function(n,t,r,a,i,o,s,l){return e.factory.createMethodDeclaration(void 0,n,void 0,t,r?e.factory.createToken(57):void 0,a,i,o,l||c(s))}(u,o,l,void 0,E,function(n,r,a,i){if(e.length(n)){var o=r.getUnionType(e.map(n,r.getReturnTypeOfSignature));return r.typeToTypeNode(o,i,void 0,t(a))}}(i,n,r,a),d,p)}(h,o,r,B,E,L&&!!(1&m),S,C,p))}}function K(e,n,t,a,s){var c=i(168,o,e,n,s,a,t,L&&!!(1&m),r,u);c&&d(c)}}function i(n,r,a,i,o,s,c,l,u,d){var p=r.program,m=p.getTypeChecker(),g=e.getEmitScriptTarget(p.getCompilerOptions()),y=1073742081|(0===a?268435456:0),h=m.signatureToSignatureDeclaration(i,n,u,y,t(r));if(h){var v=h.typeParameters,b=h.parameters,E=h.type;if(d){if(v){var T=e.sameMap(v,(function(n){var t,r=n.constraint,a=n.default;r&&((t=f(r,g))&&(r=t.typeNode,_(d,t.symbols)));a&&((t=f(a,g))&&(a=t.typeNode,_(d,t.symbols)));return e.factory.updateTypeParameterDeclaration(n,n.name,r,a)}));v!==T&&(v=e.setTextRange(e.factory.createNodeArray(T,v.hasTrailingComma),v))}var S=e.sameMap(b,(function(n){var t=f(n.type,g),r=n.type;return t&&(r=t.typeNode,_(d,t.symbols)),e.factory.updateParameterDeclaration(n,n.decorators,n.modifiers,n.dotDotDotToken,n.name,n.questionToken,r,n.initializer)}));if(b!==S&&(b=e.setTextRange(e.factory.createNodeArray(S,b.hasTrailingComma),b)),E){var x=f(E,g);x&&(E=x.typeNode,_(d,x.symbols))}}var L=l?e.factory.createToken(57):void 0,D=h.asteriskToken;return e.isFunctionExpression(h)?e.factory.updateFunctionExpression(h,c,h.asteriskToken,e.tryCast(s,e.isIdentifier),v,b,E,null!=o?o:h.body):e.isArrowFunction(h)?e.factory.updateArrowFunction(h,c,v,b,E,h.equalsGreaterThanToken,null!=o?o:h.body):e.isMethodDeclaration(h)?e.factory.updateMethodDeclaration(h,void 0,c,D,null!=s?s:e.factory.createIdentifier(""),L,v,b,E,o):void 0}}function o(n,t,r,a,i,o,s){var c=n.typeToTypeNode(r,a,o,s);if(c&&e.isImportTypeNode(c)){var l=f(c,i);l&&(_(t,l.symbols),c=l.typeNode)}return e.getSynthesizedDeepClone(c)}function s(n,t,r,a,i){for(var o=[],s=0;s=a?e.factory.createToken(57):void 0,i?void 0:r&&r[s]||e.factory.createKeywordTypeNode(130),void 0);o.push(c)}return o}function c(n){return l(e.Diagnostics.Method_not_implemented.message,n)}function l(n,t){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier("Error"),void 0,[e.factory.createStringLiteral(n,0===t)]))],!0)}function u(n,t,r){var a=e.getTsConfigObjectLiteralExpression(t);if(a){var i=p(a,"compilerOptions");if(void 0!==i){var o=i.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,c=r;s0)return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,t,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="fixAddModuleReferTypeMissingTypeof",r=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(100===r.kind,"This token should be an ImportKeyword"),e.Debug.assert(199===r.parent.kind,"Token parent should be an ImportType"),r.parent}function i(n,t,r){var a=e.factory.updateImportTypeNode(r,r.argument,r.qualifier,r.typeArguments,!0);n.replaceNode(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start),l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Add_missing_typeof,t,e.Diagnostics.Add_missing_typeof)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="wrapJsxInFragment",r=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];function a(n,t){var r=e.getTokenAtPosition(n,t).parent.parent;if((e.isBinaryExpression(r)||(r=r.parent,e.isBinaryExpression(r)))&&e.nodeIsMissing(r.operatorToken))return r}function i(n,t,r){var a=function(n){var t=[],r=n;for(;;){if(e.isBinaryExpression(r)&&e.nodeIsMissing(r.operatorToken)&&27===r.operatorToken.kind){if(t.push(r.left),e.isJsxChild(r.right))return t.push(r.right),t;if(e.isBinaryExpression(r.right)){r=r.right;continue}return}return}}(r);a&&n.replaceNode(t,r,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),a,e.factory.createJsxJsxClosingFragment()))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Wrap_in_JSX_fragment,t,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(e.sourceFile,t.start);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="fixConvertToMappedObjectType",r=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.cast(r.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(a.parent))return{indexSignature:a,container:e.isInterfaceDeclaration(a.parent)?a.parent:e.cast(a.parent.parent,e.isTypeAliasDeclaration)}}function i(n,t,r){var a,i,o=r.indexSignature,s=r.container,c=(e.isInterfaceDeclaration(s)?s.members:s.type.members).filter((function(n){return!e.isIndexSignatureDeclaration(n)})),l=e.first(o.parameters),u=e.factory.createTypeParameterDeclaration(e.cast(l.name,e.isIdentifier),l.type),d=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(o)?e.factory.createModifier(144):void 0,u,void 0,o.questionToken,o.type,void 0),p=e.factory.createIntersectionTypeNode(Or(Or(Or([],e.getAllSuperTypeNodes(s),!0),[d],!1),c.length?[e.factory.createTypeLiteralNode(c)]:e.emptyArray,!0));n.replaceNode(t,s,(a=s,i=p,e.factory.createTypeAliasDeclaration(a.decorators,a.modifiers,a.name,a.typeParameters,i)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,c=a(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,c)})),u=e.idText(c.container.name);return[n.createCodeFixAction(t,l,[e.Diagnostics.Convert_0_to_mapped_object_type,u],t,[e.Diagnostics.Convert_0_to_mapped_object_type,u])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){var n,t,r;n=e.codefix||(e.codefix={}),t="removeAccidentalCallParentheses",r=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=e.findAncestor(e.getTokenAtPosition(r.sourceFile,r.span.start),e.isCallExpression);if(a){var i=e.textChanges.ChangeTracker.with(r,(function(e){e.deleteRange(r.sourceFile,{pos:a.expression.end,end:a.end})}));return[n.createCodeFixActionWithoutFixAll(t,i,e.Diagnostics.Remove_parentheses)]}},fixIds:[t]})}(Br||(Br={})),function(e){!function(n){var t="removeUnnecessaryAwait",r=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),(function(e){return 132===e.kind})),i=a&&e.tryCast(a.parent,e.isAwaitExpression);if(i){var o=i;if(e.isParenthesizedExpression(i.parent)){var s=e.getLeftmostExpression(i.expression,!1);if(e.isIdentifier(s)){var c=e.findPrecedingToken(i.parent.pos,t);c&&103!==c.kind&&(o=i.parent)}}n.replaceNode(t,o,i.expression)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unnecessary_await,t,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],r="splitTypeOnlyImport";function a(n,t){return e.findAncestor(e.getTokenAtPosition(n,t.start),e.isImportDeclaration)}function i(n,t,r){if(t){var a=e.Debug.checkDefined(t.importClause);n.replaceNode(r.sourceFile,t,e.factory.updateImportDeclaration(t,t.decorators,t.modifiers,e.factory.updateImportClause(a,a.isTypeOnly,a.name,void 0),t.moduleSpecifier,t.assertClause)),n.insertNodeAfter(r.sourceFile,t,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(a,a.isTypeOnly,void 0,a.namedBindings),t.moduleSpecifier,t.assertClause))}}n.registerCodeFix({errorCodes:t,fixIds:[r],getCodeActions:function(t){var o=e.textChanges.ChangeTracker.with(t,(function(e){return i(e,a(t.sourceFile,t.span),t)}));if(o.length)return[n.createCodeFixAction(r,o,e.Diagnostics.Split_into_two_separate_import_declarations,r,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return n.codeFixAll(e,t,(function(n,t){i(n,a(e.sourceFile,t),e)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){var n,t,r;n=e.codefix||(e.codefix={}),t="fixConvertConstToLet",r=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code],n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=r.program,s=function(n,t,r){var a,i=r.getTypeChecker(),o=i.getSymbolAtLocation(e.getTokenAtPosition(n,t)),s=e.tryCast(null===(a=null==o?void 0:o.valueDeclaration)||void 0===a?void 0:a.parent,e.isVariableDeclarationList);if(void 0!==s){var c=e.findChildOfKind(s,85,n);if(void 0!==c)return e.createRange(c.pos,c.end)}}(a,i.start,o);if(void 0!==s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return function(e,n,t){e.replaceRangeWithText(n,t,"let")}(e,a,s)}));return[n.createCodeFixAction(t,c,e.Diagnostics.Convert_const_to_let,t,e.Diagnostics.Convert_const_to_let)]}},fixIds:[t]})}(Br||(Br={})),function(e){!function(n){var t="fixExpectedComma",r=[e.Diagnostics._0_expected.code];function a(n,t,r){var a=e.getTokenAtPosition(n,t);return 26===a.kind&&a.parent&&(e.isObjectLiteralExpression(a.parent)||e.isArrayLiteralExpression(a.parent))?{node:a}:void 0}function i(n,t,r){var a=r.node,i=e.factory.createToken(27);n.replaceNode(t,a,i)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=a(o,r.span.start,r.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,s)}));return[n.createCodeFixAction(t,c,[e.Diagnostics.Change_0_to_1,";",","],t,[e.Diagnostics.Change_0_to_1,";",","])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){var r=a(t.file,t.start,t.code);r&&i(n,e.sourceFile,r)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="addVoidToPromise",r=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];function a(n,t,r,a,i){var o=e.getTokenAtPosition(t,r.start);if(e.isIdentifier(o)&&e.isCallExpression(o.parent)&&o.parent.expression===o&&0===o.parent.arguments.length){var s=a.getTypeChecker(),c=s.getSymbolAtLocation(o),l=null==c?void 0:c.valueDeclaration;if(l&&e.isParameter(l)&&e.isNewExpression(l.parent.parent)&&!(null==i?void 0:i.has(l))){null==i||i.add(l);var u=function(n){var t;if(!e.isInJSFile(n))return n.typeArguments;if(e.isParenthesizedExpression(n.parent)){var r=null===(t=e.getJSDocTypeTag(n.parent))||void 0===t?void 0:t.typeExpression.type;if(r&&e.isTypeReferenceNode(r)&&e.isIdentifier(r.typeName)&&"Promise"===e.idText(r.typeName))return r.typeArguments}}(l.parent.parent);if(e.some(u)){var d=u[0],p=!e.isUnionTypeNode(d)&&!e.isParenthesizedTypeNode(d)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([d,e.factory.createKeywordTypeNode(114)]).types[0]);p&&n.insertText(t,d.pos,"("),n.insertText(t,d.end,p?") | void":" | void")}else{var f=s.getResolvedSignature(o.parent),m=null==f?void 0:f.parameters[0],_=m&&s.getTypeOfSymbolAtLocation(m,l.parent.parent);e.isInJSFile(l)?(!_||3&_.flags)&&(n.insertText(t,l.parent.parent.end,")"),n.insertText(t,e.skipTrivia(t.text,l.parent.parent.pos),"/** @type {Promise} */(")):(!_||2&_.flags)&&n.insertText(t,l.parent.parent.expression.end,"")}}}}n.registerCodeFix({errorCodes:r,fixIds:[t],getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span,r.program)}));if(i.length>0)return[n.createCodeFixAction("addVoidToPromise",i,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,t,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(t){return n.codeFixAll(t,r,(function(n,r){return a(n,r.file,r,t.program,new e.Set)}))}})}(e.codefix||(e.codefix={}))}(Br||(Br={})),function(e){!function(n){var t="Convert export",r={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"};function i(n,t){void 0===t&&(t=!0);var r=n.file,a=n.program,i=e.getRefactorContextSpan(n),o=e.getTokenAtPosition(r,i.start),s=o.parent&&1&e.getSyntacticModifierFlags(o.parent)&&t?o.parent:e.getParentNodeInSpan(o,r,i);if(!(s&&(e.isSourceFile(s.parent)||e.isModuleBlock(s.parent)&&e.isAmbientModule(s.parent.parent))))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var c=e.isSourceFile(s.parent)?s.parent.symbol:s.parent.parent.symbol,l=e.getSyntacticModifierFlags(s)||(e.isExportAssignment(s)&&!s.isExportEquals?513:0),u=!!(512&l);if(!(1&l)||!u&&c.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var d=a.getTypeChecker(),p=function(n){return e.isIdentifier(n)&&d.getSymbolAtLocation(n)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(s.kind){case 255:case 256:case 257:case 259:case 258:case 260:if(!(_=s).name)return;return p(_.name)||{exportNode:_,exportName:_.name,wasDefault:u,exportingModuleSymbol:c};case 236:var f=s;if(!(2&f.declarationList.flags)||1!==f.declarationList.declarations.length)return;var m=e.first(f.declarationList.declarations);if(!m.initializer)return;return e.Debug.assert(!u,"Can't have a default flag here"),p(m.name)||{exportNode:f,exportName:m.name,wasDefault:u,exportingModuleSymbol:c};case 270:var _;if((_=s).isExportEquals)return;return p(_.expression)||{exportNode:_,exportName:_.expression,wasDefault:u,exportingModuleSymbol:c};default:return}}function o(n,t){return e.factory.createImportSpecifier(!1,n===t?void 0:e.factory.createIdentifier(n),e.factory.createIdentifier(t))}function s(n,t){return e.factory.createExportSpecifier(!1,n===t?void 0:e.factory.createIdentifier(n),e.factory.createIdentifier(t))}n.registerRefactor(t,{kinds:[r.kind,a.kind],getAvailableActions:function(o){var s=i(o,"invoked"===o.triggerReason);if(!s)return e.emptyArray;if(!n.isRefactorErrorInfo(s)){var c=s.wasDefault?r:a;return[{name:t,description:c.description,actions:[c]}]}return o.preferences.provideRefactorNotApplicableReason?[{name:t,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[wr(wr({},r),{notApplicableReason:s.error}),wr(wr({},a),{notApplicableReason:s.error})]}]:e.emptyArray},getEditsForAction:function(t,c){e.Debug.assert(c===r.name||c===a.name,"Unexpected action name");var l=i(t);e.Debug.assert(l&&!n.isRefactorErrorInfo(l),"Expected applicable refactor info");var u=e.textChanges.ChangeTracker.with(t,(function(n){return function(n,t,r,a,i){(function(n,t,r,a){var i=t.wasDefault,o=t.exportNode,c=t.exportName;if(i)if(e.isExportAssignment(o)&&!o.isExportEquals){var l=o.expression,u=s(l.text,l.text);r.replaceNode(n,o,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([u])))}else r.delete(n,e.Debug.checkDefined(e.findModifier(o,88),"Should find a default keyword in modifier list"));else{var d=e.Debug.checkDefined(e.findModifier(o,93),"Should find an export keyword in modifier list");switch(o.kind){case 255:case 256:case 257:r.insertNodeAfter(n,d,e.factory.createToken(88));break;case 236:var p=e.first(o.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(c,a,n)&&!p.type){r.replaceNode(n,o,e.factory.createExportDefault(e.Debug.checkDefined(p.initializer,"Initializer was previously known to be present")));break}case 259:case 258:case 260:r.deleteModifier(n,d),r.insertNodeAfter(n,o,e.factory.createExportDefault(e.factory.createIdentifier(c.text)));break;default:e.Debug.fail("Unexpected exportNode kind ".concat(o.kind))}}})(n,r,a,t.getTypeChecker()),function(n,t,r,a){var i=t.wasDefault,c=t.exportName,l=t.exportingModuleSymbol,u=n.getTypeChecker(),d=e.Debug.checkDefined(u.getSymbolAtLocation(c),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(n.getSourceFiles(),u,a,d,l,c.text,i,(function(n){var t=n.getSourceFile();i?function(n,t,r,a){var i=t.parent;switch(i.kind){case 205:r.replaceNode(n,t,e.factory.createIdentifier(a));break;case 269:case 274:var s=i;r.replaceNode(n,s,o(a,s.name.text));break;case 266:var c=i;e.Debug.assert(c.name===t,"Import clause name should match provided ref");s=o(a,t.text);var l=c.namedBindings;if(l)if(267===l.kind){r.deleteRange(n,{pos:t.getStart(n),end:l.getStart(n)});var u=e.isStringLiteral(c.parent.moduleSpecifier)?e.quotePreferenceFromString(c.parent.moduleSpecifier,n):1,d=e.makeImport(void 0,[o(a,t.text)],c.parent.moduleSpecifier,u);r.insertNodeAfter(n,c.parent,d)}else r.delete(n,t),r.insertNodeAtEndOfList(n,l.elements,s);else r.replaceNode(n,t,e.factory.createNamedImports([s]));break;default:e.Debug.failBadSyntaxKind(i)}}(t,n,r,c.text):function(n,t,r){var a=t.parent;switch(a.kind){case 205:r.replaceNode(n,t,e.factory.createIdentifier("default"));break;case 269:var i=e.factory.createIdentifier(a.name.text);1===a.parent.elements.length?r.replaceNode(n,a.parent,i):(r.delete(n,a),r.insertNodeBefore(n,a.parent,i));break;case 274:r.replaceNode(n,a,s("default",a.name.text));break;default:e.Debug.assertNever(a,"Unexpected parent kind ".concat(a.kind))}}(t,n,r)}))}(t,r,a,i)}(t.file,t.program,l,n,t.cancellationToken)}));return{edits:u,renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(Br||(Br={})),function(e){!function(n){var t="Convert import",r={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"};function i(n,t){void 0===t&&(t=!0);var r=n.file,a=e.getRefactorContextSpan(n),i=e.getTokenAtPosition(r,a.start),o=t?e.findAncestor(i,e.isImportDeclaration):e.getParentNodeInSpan(i,r,a);if(!o||!e.isImportDeclaration(o))return{error:"Selection is not an import declaration."};var s=a.start+a.length,c=e.findNextToken(o,o.parent,r);if(!(c&&s>c.getStart())){var l=o.importClause;return l?l.namedBindings?l.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 o(n){return e.isPropertyAccessExpression(n)?n.name:n.right}function s(n,t,r){return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,t,r&&r.length?e.factory.createNamedImports(r):void 0),n.moduleSpecifier,void 0)}n.registerRefactor(t,{kinds:[r.kind,a.kind],getAvailableActions:function(o){var s=i(o,"invoked"===o.triggerReason);if(!s)return e.emptyArray;if(!n.isRefactorErrorInfo(s)){var c=267===s.kind?r:a;return[{name:t,description:c.description,actions:[c]}]}return o.preferences.provideRefactorNotApplicableReason?[{name:t,description:r.description,actions:[wr(wr({},r),{notApplicableReason:s.error})]},{name:t,description:a.description,actions:[wr(wr({},a),{notApplicableReason:s.error})]}]:e.emptyArray},getEditsForAction:function(t,c){e.Debug.assert(c===r.name||c===a.name,"Unexpected action name");var l=i(t);e.Debug.assert(l&&!n.isRefactorErrorInfo(l),"Expected applicable refactor info");var u=e.textChanges.ChangeTracker.with(t,(function(n){return r=t.file,a=t.program,i=n,c=l,u=a.getTypeChecker(),void(267===c.kind?function(n,t,r,a,i){var c=!1,l=[],u=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(a.name,t,n,(function(n){if(e.isPropertyAccessOrQualifiedName(n.parent)){var r=o(n.parent).text;t.resolveName(r,n,67108863,!0)&&u.set(r,!0),e.Debug.assert(function(n){return e.isPropertyAccessExpression(n)?n.expression:n.left}(n.parent)===n,"Parent expression should match id"),l.push(n.parent)}else c=!0}));for(var d=new e.Map,p=0,f=l;p=p.pos?f.getEnd():p.getEnd()),_=u?function(e){for(;e.parent;){if(o(e)&&!o(e.parent))return e;e=e.parent}}(p):function(e,n){for(;e.parent;){if(o(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}}(p,m),g=_&&o(_)?function(n){if(i(n))return n;if(e.isVariableStatement(n)){var t=e.getSingleVariableOfVariableStatement(n),r=null==t?void 0:t.initializer;return r&&i(r)?r:void 0}return n.expression&&i(n.expression)?n.expression:void 0}(_):void 0;if(!g)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var y=a.getTypeChecker();return e.isConditionalExpression(g)?function(n,t){var r=n.condition,a=d(n.whenTrue);if(!a||t.isNullableType(t.getTypeAtLocation(a)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(r)||e.isIdentifier(r))&&l(r,a.expression))return{finalExpression:a,occurrences:[r],expression:n};if(e.isBinaryExpression(r)){var i=c(a.expression,r);return i?{finalExpression:a,occurrences:i,expression:n}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}(g,y):function(n){if(55!==n.operatorToken.kind)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var t=d(n.right);if(!t)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var r=c(t.expression,n.left);return r?{finalExpression:t,occurrences:r,expression:n}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}(g)}}function c(n,t){for(var r=[];e.isBinaryExpression(t)&&55===t.operatorToken.kind;){var a=l(e.skipParentheses(n),e.skipParentheses(t.right));if(!a)break;r.push(a),n=a,t=t.left}var i=l(n,t);return i&&r.push(i),r.length>0?r:void 0}function l(n,t){if(e.isIdentifier(t)||e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t))return function(n,t){for(;(e.isCallExpression(n)||e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n))&&u(n)!==u(t);)n=n.expression;for(;e.isPropertyAccessExpression(n)&&e.isPropertyAccessExpression(t)||e.isElementAccessExpression(n)&&e.isElementAccessExpression(t);){if(u(n)!==u(t))return!1;n=n.expression,t=t.expression}return e.isIdentifier(n)&&e.isIdentifier(t)&&n.getText()===t.getText()}(n,t)?t:void 0}function u(n){return e.isIdentifier(n)||e.isStringOrNumericLiteralLike(n)?n.getText():e.isPropertyAccessExpression(n)?u(n.name):e.isElementAccessExpression(n)?u(n.argumentExpression):void 0}function d(n){return n=e.skipParentheses(n),e.isBinaryExpression(n)?d(n.left):(e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)||e.isCallExpression(n))&&!e.isOptionalChain(n)?n:void 0}function p(n,t,r){if(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)||e.isCallExpression(t)){var a=p(n,t.expression,r),i=r.length>0?r[r.length-1]:void 0,o=(null==i?void 0:i.getText())===t.expression.getText();if(o&&r.pop(),e.isCallExpression(t))return o?e.factory.createCallChain(a,e.factory.createToken(28),t.typeArguments,t.arguments):e.factory.createCallChain(a,t.questionDotToken,t.typeArguments,t.arguments);if(e.isPropertyAccessExpression(t))return o?e.factory.createPropertyAccessChain(a,e.factory.createToken(28),t.name):e.factory.createPropertyAccessChain(a,t.questionDotToken,t.name);if(e.isElementAccessExpression(t))return o?e.factory.createElementAccessChain(a,e.factory.createToken(28),t.argumentExpression):e.factory.createElementAccessChain(a,t.questionDotToken,t.argumentExpression)}return t}n.registerRefactor(t,{kinds:[a.kind],getAvailableActions:function(i){var o=s(i,"invoked"===i.triggerReason);return o?n.isRefactorErrorInfo(o)?i.preferences.provideRefactorNotApplicableReason?[{name:t,description:r,actions:[wr(wr({},a),{notApplicableReason:o.error})]}]:e.emptyArray:[{name:t,description:r,actions:[a]}]:e.emptyArray},getEditsForAction:function(t,r){var a=s(t);return e.Debug.assert(a&&!n.isRefactorErrorInfo(a),"Expected applicable refactor info"),{edits:e.textChanges.ChangeTracker.with(t,(function(n){return function(n,t,r,a){var i=a.finalExpression,o=a.occurrences,s=a.expression,c=o[o.length-1],l=p(t,i,o);l&&(e.isPropertyAccessExpression(l)||e.isElementAccessExpression(l)||e.isCallExpression(l))&&(e.isBinaryExpression(s)?r.replaceNodeRange(n,c,i,l):e.isConditionalExpression(s)&&r.replaceNode(n,s,e.factory.createBinaryExpression(l,e.factory.createToken(60),s.whenFalse)))}(t.file,t.program.getTypeChecker(),n,a)})),renameFilename:void 0,renameLocation:void 0}}})})((n=e.refactor||(e.refactor={})).convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))}(Br||(Br={})),function(e){var n;(function(){var t="Convert overload list to single signature",r=e.Diagnostics.Convert_overload_list_to_single_signature.message,a={name:t,description:r,kind:"refactor.rewrite.function.overloadList"};function i(e){switch(e.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function o(n,t,r){var a=e.getTokenAtPosition(n,t),o=e.findAncestor(a,i);if(o){var s=r.getTypeChecker(),c=o.symbol;if(c){var l=c.declarations;if(!(e.length(l)<=1)&&e.every(l,(function(t){return e.getSourceFileOfNode(t)===n}))&&i(l[0])){var u=l[0].kind;if(e.every(l,(function(e){return e.kind===u}))){var d=l;if(!e.some(d,(function(n){return!!n.typeParameters||e.some(n.parameters,(function(n){return!!n.decorators||!!n.modifiers||!e.isIdentifier(n.name)}))}))){var p=e.mapDefined(d,(function(e){return s.getSignatureFromDeclaration(e)}));if(e.length(p)===e.length(l)){var f=s.getReturnTypeOfSignature(p[0]);if(e.every(p,(function(e){return s.getReturnTypeOfSignature(e)===f})))return d}}}}}}}n.registerRefactor(t,{kinds:[a.kind],getEditsForAction:function(n){var t=n.file,r=n.startPosition,a=n.program,i=o(t,r,a);if(i){var s=a.getTypeChecker(),c=i[i.length-1],l=c;switch(c.kind){case 167:l=e.factory.updateMethodSignature(c,c.modifiers,c.name,c.questionToken,c.typeParameters,u(i),c.type);break;case 168:l=e.factory.updateMethodDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.questionToken,c.typeParameters,u(i),c.type,c.body);break;case 173:l=e.factory.updateCallSignature(c,c.typeParameters,u(i),c.type);break;case 170:l=e.factory.updateConstructorDeclaration(c,c.decorators,c.modifiers,u(i),c.body);break;case 174:l=e.factory.updateConstructSignature(c,c.typeParameters,u(i),c.type);break;case 255:l=e.factory.updateFunctionDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.typeParameters,u(i),c.type,c.body);break;default:return e.Debug.failBadSyntaxKind(c,"Unhandled signature kind in overload list conversion refactoring")}if(l!==c)return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(n,(function(e){e.replaceNodeRange(t,i[0],i[i.length-1],l)}))}}function u(n){var t=n[n.length-1];return e.isFunctionLikeDeclaration(t)&&t.body&&(n=n.slice(0,n.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),"args",void 0,e.factory.createUnionTypeNode(e.map(n,d)))])}function d(n){var t=e.map(n.parameters,p);return e.setEmitFlags(e.factory.createTupleTypeNode(t),e.some(t,(function(n){return!!e.length(e.getSyntheticLeadingComments(n))}))?0:1)}function p(n){e.Debug.assert(e.isIdentifier(n.name));var t=e.setTextRange(e.factory.createNamedTupleMember(n.dotDotDotToken,n.name,n.questionToken,n.type||e.factory.createKeywordTypeNode(130)),n),r=n.symbol&&n.symbol.getDocumentationComment(s);if(r){var a=e.displayPartsToString(r);a.length&&e.setSyntheticLeadingComments(t,[{text:"*\n".concat(a.split("\n").map((function(e){return" * ".concat(e)})).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return t}},getAvailableActions:function(n){var i=n.file,s=n.startPosition,c=n.program;return o(i,s,c)?[{name:t,description:r,actions:[a]}]:e.emptyArray}})})((n=e.refactor||(e.refactor={})).addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))}(Br||(Br={})),function(e){var n;(function(t){var r,a,i,o,s,c,l,u="Extract Symbol",d={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"};function f(t){var r=t.kind,a=_(t.file,e.getRefactorContextSpan(t),"invoked"===t.triggerReason),i=a.targetRange;if(void 0===i){if(!a.errors||0===a.errors.length||!t.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var o=[];return n.refactorKindBeginsWith(p.kind,r)&&o.push({name:u,description:p.description,actions:[wr(wr({},p),{notApplicableReason:A(a.errors)})]}),n.refactorKindBeginsWith(d.kind,r)&&o.push({name:u,description:d.description,actions:[wr(wr({},d),{notApplicableReason:A(a.errors)})]}),o}var s=function(n,t){var r=h(n,t),a=r.scopes,i=r.readsAndWrites,o=i.functionErrorsPerScope,s=i.constantErrorsPerScope,c=a.map((function(n,t){var r,a,i=function(n){return e.isFunctionLikeDeclaration(n)?"inner function":e.isClassLike(n)?"method":"function"}(n),c=function(n){return e.isClassLike(n)?"readonly field":"constant"}(n),l=e.isFunctionLikeDeclaration(n)?function(n){switch(n.kind){case 170:return"constructor";case 212:case 255:return n.name?"function '".concat(n.name.text,"'"):e.ANONYMOUS;case 213:return"arrow function";case 168:return"method '".concat(n.name.getText(),"'");case 171:return"'get ".concat(n.name.getText(),"'");case 172:return"'set ".concat(n.name.getText(),"'");default:throw e.Debug.assertNever(n,"Unexpected scope kind ".concat(n.kind))}}(n):e.isClassLike(n)?function(e){return 256===e.kind?e.name?"class '".concat(e.name.text,"'"):"anonymous class declaration":e.name?"class expression '".concat(e.name.text,"'"):"anonymous class expression"}(n):function(e){return 261===e.kind?"namespace '".concat(e.parent.name.getText(),"'"):e.externalModuleIndicator?0:1}(n);return 1===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"global"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===l?(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[i,"module"]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(r=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[i,l]),a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,l])),0!==t||e.isClassLike(n)||(a=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])),{functionExtraction:{description:r,errors:o[t]},constantExtraction:{description:a,errors:s[t]}}}));return c}(i,t);if(void 0===s)return e.emptyArray;for(var c,l,f=[],m=new e.Map,g=[],y=new e.Map,v=0,b=0,E=s;b0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.factory.createBlock(n.statements,!0),returnValueProperty:void 0};var c=!1,l=e.factory.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.factory.createReturnStatement(e.skipParentheses(n))]);if(s||a.size){var u=e.visitNodes(l,p).slice();if(s&&!i&&e.isStatement(n)){var d=E(t,r);1===d.length?u.push(e.factory.createReturnStatement(d[0].name)):u.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(d)))}return{body:e.factory.createBlock(u,!0),returnValueProperty:o}}return{body:e.factory.createBlock(l,!0),returnValueProperty:void 0};function p(n){if(!c&&e.isReturnStatement(n)&&s){var i=E(t,r);return n.expression&&(o||(o="__return"),i.unshift(e.factory.createPropertyAssignment(o,e.visitNode(n.expression,p)))),1===i.length?e.factory.createReturnStatement(i[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(i))}var l=c;c=c||e.isFunctionLikeDeclaration(n)||e.isClassLike(n);var u=a.get(e.getNodeId(n).toString()),d=u?e.getSynthesizedDeepClone(u):e.visitEachChild(n,p,e.nullTransformationContext);return c=l,d}}(n,i,l,p,!!(o.facts&a.HasReturn)),O=R.body,w=R.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(O),e.isClassLike(t)){var M=h?[]:[e.factory.createModifier(121)];o.facts&a.InStaticRegion&&M.push(e.factory.createModifier(124)),o.facts&a.IsAsyncFunction&&M.push(e.factory.createModifier(131)),k=e.factory.createMethodDeclaration(void 0,M.length?M:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,S,void 0,A,x,c,O)}else k=e.factory.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.factory.createToken(131)]:void 0,o.facts&a.IsGenerator?e.factory.createToken(41):void 0,S,A,x,c,O);var P=e.textChanges.ChangeTracker.fromContext(s),F=function(n,t){return e.find(function(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}((T(o.range)?e.last(o.range):o.range).end,t);F?P.insertNodeBefore(s.file,F,k,!0):P.insertNodeAtEndOfScope(s.file,t,k),_.writeFixes(P);var G=[],B=function(n,t,r){var i=e.factory.createIdentifier(r);if(e.isClassLike(n)){var o=t.facts&a.InStaticRegion?e.factory.createIdentifier(n.name.text):e.factory.createThis();return e.factory.createPropertyAccessExpression(o,i)}return i}(t,o,y),U=e.factory.createCallExpression(B,I,D);if(o.facts&a.IsGenerator&&(U=e.factory.createYieldExpression(e.factory.createToken(41),U)),o.facts&a.IsAsyncFunction&&(U=e.factory.createAwaitExpression(U)),L(n)&&(U=e.factory.createJsxExpression(void 0,U)),i.length&&!l)if(e.Debug.assert(!w,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===i.length){var V=i[0];G.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(V.name),void 0,e.getSynthesizedDeepClone(V.type),U)],V.parent.flags)))}else{for(var K=[],j=[],H=i[0].parent.flags,W=!1,z=0,J=i;z0,"Found no members");for(var i=!0,o=0,s=a;on)return r||a[0];if(i&&!e.isPropertyDeclaration(c)){if(void 0!==r)return c;i=!1}r=c}return void 0===r?e.Debug.fail():r}(n.pos,t);_.insertNodeBefore(o.file,b,h,!0),_.replaceNode(o.file,n,v)}else{var E=e.factory.createVariableDeclaration(d,void 0,f,m),T=function(n,t){for(var r;void 0!==n&&n!==t;){if(e.isVariableDeclaration(n)&&n.initializer===r&&e.isVariableDeclarationList(n.parent)&&n.parent.declarations.length>1)return n;r=n,n=n.parent}}(n,t);if(T)_.insertNodeBefore(o.file,T,E),v=e.factory.createIdentifier(d),_.replaceNode(o.file,n,v);else if(237===n.parent.kind&&t===e.findAncestor(n,y)){var S=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([E],2));_.replaceNode(o.file,n.parent,S)}else S=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([E],2)),b=function(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)y(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(x(a)){for(var i=void 0,o=0,s=a.statements;on.pos)break;i=c}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):e.Debug.checkDefined(i,"prevStatement failed to get set")}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(n,t),0===b.pos?_.insertNodeAtTopOfFile(o.file,S,!1):_.insertNodeBefore(o.file,b,S,!1),237===n.parent.kind?_.delete(o.file,n.parent):(v=e.factory.createIdentifier(d),L(n)&&(v=e.factory.createJsxExpression(void 0,v)),_.replaceNode(o.file,n,v))}var D=_.getChanges(),C=n.getSourceFile().fileName,A=e.getRenameLocation(D,C,d,!0);return{renameFilename:C,renameLocation:A,edits:D};function I(r,a){if(void 0===r)return{variableType:r,initializer:a};if(!e.isFunctionExpression(a)&&!e.isArrowFunction(a)||a.typeParameters)return{variableType:r,initializer:a};var i=l.getTypeAtLocation(n),o=e.singleOrUndefined(l.getSignaturesOfType(i,0));if(!o)return{variableType:r,initializer:a};if(o.getTypeParameters())return{variableType:r,initializer:a};for(var s=[],c=!1,u=0,d=a.parameters;u=t.start+t.length)return(s||(s=[])).push(e.createDiagnosticForNode(i,r.cannotExtractSuper)),!0}else m|=a.UsesThis;break;case 213:e.forEachChild(i,(function n(t){if(e.isThis(t))m|=a.UsesThis;else{if(e.isClassLike(t)||e.isFunctionLike(t)&&!e.isArrowFunction(t))return!1;e.forEachChild(t,n)}}));case 256:case 255:e.isSourceFile(i.parent)&&void 0===i.parent.externalModuleIndicator&&(s||(s=[])).push(e.createDiagnosticForNode(i,r.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var d=u;switch(i.kind){case 238:case 251:u=0;break;case 234:i.parent&&251===i.parent.kind&&i.parent.finallyBlock===i&&(u=4);break;case 289:case 288:u|=1;break;default:e.isIterationStatement(i,!1)&&(u|=3)}switch(i.kind){case 191:case 108:m|=a.UsesThis;break;case 249:var p=i.label;(l||(l=[])).push(p.escapedText),e.forEachChild(i,n),l.pop();break;case 245:case 244:(p=i.label)?e.contains(l,p.escapedText)||(s||(s=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):u&(245===i.kind?1:2)||(s||(s=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 217:m|=a.IsAsyncFunction;break;case 223:m|=a.IsGenerator;break;case 246:4&u?m|=a.HasReturn:(s||(s=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(i,n)}u=d}(n),s}}function g(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function y(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function h(n,t){var i=t.file,o=function(n){var t=T(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}for(var o=[];;)if(163===(t=t.parent).kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),y(t)&&(o.push(t),303===t.kind))return o}(n),s=function(n,t){return T(n.range)?{pos:e.first(n.range).getStart(t),end:e.last(n.range).getEnd()}:n.range}(n,i),c=function(n,t,i,o,s,c){var l,u,d=new e.Map,p=[],f=[],m=[],_=[],g=[],y=new e.Map,h=[],v=T(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===v){var b=n.range,E=e.first(b).getStart(),S=e.last(b).end;u=e.createFileDiagnostic(o,E,S-E,r.expressionExpected)}else 147456&s.getTypeAtLocation(v).flags&&(u=e.createDiagnosticForNode(v,r.uselessConstantType));for(var x=0,L=t;x0){for(var R=new e.Map,O=0,w=N;void 0!==w&&O0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=T(n.range)?n.range[0]:n.range;_[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasEffectiveModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(T(n.range)||0===h.length,"No variable declarations expected if something was extracted"),s&&!T(n.range)){var c=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);m[t].push(c),_[t].push(c)}else o&&t>0?(c=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor),m[t].push(c),_[t].push(c)):l&&(c=e.createDiagnosticForNode(l,r.cannotExtractExportedEntity),m[t].push(c),_[t].push(c))},V=0;V=l)return g;if(A.set(g,l),y){for(var h=0,v=p;h=0)){var r=e.isIdentifier(t)?q(t):s.getSymbolAtLocation(t);if(r){var a=e.find(g,(function(e){return e.symbol===r}));if(a)if(e.isVariableDeclaration(a)){var i=a.symbol.id.toString();y.has(i)||(h.push(a),y.set(i,!0))}else l=l||a}e.forEachChild(t,J)}}function q(n){return n.parent&&e.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n?s.getShorthandAssignmentValueSymbol(n.parent):s.getSymbolAtLocation(n)}function X(n,t,r){if(n){var a=n.getDeclarations();if(a&&a.some((function(e){return e.parent===t})))return e.factory.createIdentifier(n.name);var i=X(n.parent,t,r);if(void 0!==i)return r?e.factory.createQualifiedName(i,e.factory.createIdentifier(n.name)):e.factory.createPropertyAccessExpression(i,n.name)}}}(n,o,s,i,t.program.getTypeChecker(),t.cancellationToken);return{scopes:o,readsAndWrites:c}}function v(e){var n,t=e.symbol;if(t&&t.declarations)for(var r=0,a=t.declarations;rr.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)=r&&e.every(n,(function(n){return function(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}(n,t)}))}(n.parameters,t))return!1;switch(n.kind){case 255:return _(n)&&m(n,t);case 168:if(e.isObjectLiteralExpression(n.parent)){var i=o(n.name,t);return 1===(null===(a=null==i?void 0:i.declarations)||void 0===a?void 0:a.length)&&m(n,t)}return m(n,t);case 170:return e.isClassDeclaration(n.parent)?_(n.parent)&&m(n,t):g(n.parent.parent)&&m(n,t);case 212:case 213:return g(n.parent)}return!1}(s,a)&&e.rangeContainsRange(s,i))||s.body&&e.rangeContainsRange(s.body,i)?void 0:s}function f(n){return e.isMethodSignature(n)&&(e.isInterfaceDeclaration(n.parent)||e.isTypeLiteralNode(n.parent))}function m(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function _(n){return!!n.name||!!e.findModifier(n,88)}function g(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function y(n){return n.length>0&&e.isThis(n[0].name)}function h(n){return y(n)&&(n=e.factory.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function v(n,t){var r=h(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a,i,o=E(r[t]),s=(a=o,i=n,e.isIdentifier(i)&&e.getTextOfIdentifierOrLiteral(i)===a?e.factory.createShorthandPropertyAssignment(a):e.factory.createPropertyAssignment(a,i));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),e.copyComments(n,s),s}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),c=e.factory.createPropertyAssignment(E(e.last(r)),e.factory.createArrayLiteralExpression(s));o.push(c)}return e.factory.createObjectLiteralExpression(o,!1)}function b(n,t,r){var a,i,o,s=t.getTypeChecker(),c=h(n.parameters),l=e.map(c,(function(n){var t=e.factory.createBindingElement(void 0,void 0,E(n),e.isRestParameter(n)&&g(n)?e.factory.createArrayLiteralExpression():n.initializer);return e.suppressLeadingAndTrailingTrivia(t),n.initializer&&t.initializer&&e.copyComments(n.initializer,t.initializer),t})),u=e.factory.createObjectBindingPattern(l),d=(a=c,i=e.map(a,_),e.addEmitFlags(e.factory.createTypeLiteralNode(i),1));e.every(c,g)&&(o=e.factory.createObjectLiteralExpression());var p=e.factory.createParameterDeclaration(void 0,void 0,void 0,u,void 0,d,o);if(y(n.parameters)){var f=n.parameters[0],m=e.factory.createParameterDeclaration(void 0,void 0,void 0,f.name,void 0,f.type);return e.suppressLeadingAndTrailingTrivia(m.name),e.copyComments(f.name,m.name),f.type&&(e.suppressLeadingAndTrailingTrivia(m.type),e.copyComments(f.type,m.type)),e.factory.createNodeArray([m,p])}return e.factory.createNodeArray([p]);function _(n){var a,i,o=n.type;o||!n.initializer&&!e.isRestParameter(n)||(a=n,i=s.getTypeAtLocation(a),o=e.getTypeNodeIfAccessible(i,a,t,r));var c=e.factory.createPropertySignature(void 0,E(n),g(n)?e.factory.createToken(57):n.questionToken,o);return e.suppressLeadingAndTrailingTrivia(c),e.copyComments(n.name,c.name),n.type&&c.type&&e.copyComments(n.type,c.type),c}function g(n){if(e.isRestParameter(n)){var t=s.getTypeAtLocation(n);return!s.isTupleType(t)}return s.isOptionalParameter(n)}}function E(n){return e.getTextOfIdentifierOrLiteral(n.name)}n.registerRefactor(t,{kinds:[i.kind],getEditsForAction:function(n,r){e.Debug.assert(r===t,"Unexpected action name");var a=n.file,i=n.startPosition,m=n.program,_=n.cancellationToken,g=n.host,y=p(a,i,m.getTypeChecker());if(y&&_){var h=function(n,t,r){var a=function(n){switch(n.kind){case 255:return n.name?[n.name]:[e.Debug.checkDefined(e.findModifier(n,88),"Nameless function declaration should be a default export")];case 168:return[n.name];case 170:var t=e.Debug.checkDefined(e.findChildOfKind(n,134,n.getSourceFile()),"Constructor declaration should have constructor keyword");return 225===n.parent.kind?[n.parent.parent.name,t]:[t];case 213:return[n.parent.name];case 212:return n.name?[n.name,n.parent.name]:[n.parent.name];default:return e.Debug.assertNever(n,"Unexpected function declaration kind ".concat(n.kind))}}(n),i=e.isConstructorDeclaration(n)?function(n){switch(n.parent.kind){case 256:var t=n.parent;return t.name?[t.name]:[e.Debug.checkDefined(e.findModifier(t,88),"Nameless class declaration should be a default export")];case 225:var r=n.parent,a=n.parent.parent,i=r.name;return i?[i,a.name]:[a.name]}}(n):[],p=e.deduplicate(Or(Or([],a,!0),i,!0),e.equateValues),m=t.getTypeChecker(),_=e.flatMap(p,(function(n){return e.FindAllReferences.getReferenceEntriesForNode(-1,n,t,t.getSourceFiles(),r)})),g=y(_);return e.every(g.declarations,(function(n){return e.contains(p,n)}))||(g.valid=!1),g;function y(t){for(var r={accessExpressions:[],typeUsages:[]},p={functionCalls:[],declarations:[],classReferences:r,valid:!0},_=e.map(a,h),g=e.map(i,h),y=e.isConstructorDeclaration(n),v=e.map(a,(function(e){return o(e,m)})),b=0,E=t;b0;){var o=a.shift();e.copyTrailingComments(n[o],i,t,3,!1),r(o,i)}}};function d(n){var t=e.isTemplateHead(n)||e.isTemplateMiddle(n)?-2:-1;return e.getTextOfNode(n).slice(1,t)}function p(n,t){for(var r=[],a="",i="";n1)return n.getUnionType(e.mapDefined(r,(function(e){return e.getReturnType()})))}var a=n.getSignatureFromDeclaration(t);if(a)return n.getReturnTypeOfSignature(a)}(o,i);if(!s)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_determine_function_return_type)};var c=o.typeToTypeNode(s,i,1);return c?{declaration:i,returnTypeNode:c}:void 0}}n.registerRefactor(t,{kinds:[a.kind],getEditsForAction:function(t){var r=i(t);if(r&&!n.isRefactorErrorInfo(r))return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(t,(function(n){return a=t.file,i=n,o=r.declaration,s=r.returnTypeNode,c=e.findChildOfKind(o,21,a),l=e.isArrowFunction(o)&&void 0===c,void((u=l?e.first(o.parameters):c)&&(l&&(i.insertNodeBefore(a,u,e.factory.createToken(20)),i.insertNodeAfter(a,u,e.factory.createToken(21))),i.insertNodeAt(a,u.end,s,{prefix:": "})));var a,i,o,s,c,l,u}))}},getAvailableActions:function(o){var s=i(o);return s?n.isRefactorErrorInfo(s)?o.preferences.provideRefactorNotApplicableReason?[{name:t,description:r,actions:[wr(wr({},a),{notApplicableReason:s.error})]}]:e.emptyArray:[{name:t,description:r,actions:[a]}]:e.emptyArray}})})((n=e.refactor||(e.refactor={})).inferFunctionReturnType||(n.inferFunctionReturnType={}))}(Br||(Br={})),function(e){function n(n,r,a,i){var l=e.isNodeKind(n)?new t(n,r,a):79===n?new s(79,r,a):80===n?new c(80,r,a):new o(n,r,a);return l.parent=i,l.flags=25358336&i.flags,l}e.servicesVersion="0.8";var t=function(){function t(e,n,t){this.pos=n,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}return t.prototype.assertHasRealPosition=function(n){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),n||"Node must have a real position for this operation")},t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(n,t){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,n,t)},t.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},t.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},t.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(e){return this.getChildren(e).length},t.prototype.getChildAt=function(e,n){return this.getChildren(n)[e]},t.prototype.getChildren=function(t){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=function(t,a){if(!e.isNodeKind(t.kind))return e.emptyArray;var i=[];if(e.isJSDocCommentContainingNode(t))return t.forEachChild((function(e){i.push(e)})),i;e.scanner.setText((a||t.getSourceFile()).text);var o=t.pos,s=function(e){r(i,o,e.pos,t),i.push(e),o=e.end},c=function(e){r(i,o,e.pos,t),i.push(function(e,t){var a=n(346,e.pos,e.end,t);a._children=[];for(var i=e.pos,o=0,s=e;o345}));return r.kind<160?r:r.getFirstToken(n)}},t.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<160?r:r.getLastToken(n)},t.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},t}();function r(t,r,a,i){for(e.scanner.setTextPos(r);r=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild((function a(i){switch(i.kind){case 255:case 212:case 168:case 167:var o=i,s=r(o);if(s){var c=function(e){var t=n.get(e);t||n.set(e,t=[]);return t}(s),l=e.lastOrUndefined(c);l&&o.parent===l.parent&&o.symbol===l.symbol?o.body&&!l.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(i,a);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:t(i),e.forEachChild(i,a);break;case 163:if(!e.hasSyntacticModifier(i,16476))break;case 253:case 202:var u=i;if(e.isBindingPattern(u.name)){e.forEachChild(u.name,a);break}u.initializer&&a(u.initializer);case 297:case 166:case 165:t(i);break;case 271:var d=i;d.exportClause&&(e.isNamedExports(d.exportClause)?e.forEach(d.exportClause.elements,a):a(d.exportClause.name));break;case 265:var p=i.importClause;p&&(p.name&&t(p.name),p.namedBindings&&(267===p.namedBindings.kind?t(p.namedBindings):e.forEach(p.namedBindings.elements,a)));break;case 220:0!==e.getAssignmentDeclarationKind(i)&&t(i);default:e.forEachChild(i,a)}})),n;function t(e){var t=r(e);t&&n.add(t,e)}function r(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}},t}(t),_=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function g(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!y(r)){t=!1;break}if(t)return n;var a={};for(var r in n){if(e.hasProperty(n,r))a[y(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=n[r]}return a}function y(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function h(){return{target:1,jsx:1}}e.toEditorSettings=g,e.displayPartsToString=function(n){return n?e.map(n,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=h,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var v=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var r=0,a=n.getScriptFileNames();r=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null===e.tracing||void 0===e.tracing||e.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new e.OperationCanceledException},n}();e.ThrottledCancellationToken=D;var C=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],A=Or(Or([],C,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function I(n){var t=function(n){switch(n.kind){case 10:case 14:case 8:if(161===n.parent.kind)return e.isObjectLiteralElement(n.parent.parent)?n.parent.parent:void 0;case 79:return!e.isObjectLiteralElement(n.parent)||204!==n.parent.parent.kind&&285!==n.parent.parent.kind||n.parent.name!==n?void 0:n.parent}return}(n);return t&&(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))?t:void 0}function N(n,t,r,a){var i=e.getNameFromPropertyName(n.name);if(!i)return e.emptyArray;if(!r.isUnion())return(o=r.getProperty(i))?[o]:e.emptyArray;var o,s=e.mapDefined(r.types,(function(r){return(e.isObjectLiteralExpression(n.parent)||e.isJsxAttributes(n.parent))&&t.isTypeInvalidDueToUnionDiscriminant(r,n.parent)?void 0:r.getProperty(i)}));if(a&&(0===s.length||s.length===r.types.length)&&(o=r.getProperty(i)))return[o];return 0===s.length?e.mapDefined(r.types,(function(e){return e.getProperty(i)})):s}e.createLanguageService=function(n,t,r){var a,i;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),i=void 0===r?e.LanguageServiceMode.Semantic:"boolean"==typeof r?r?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:r;var o,s,c=new b(n),l=0,u=n.getCancellationToken?new L(n.getCancellationToken()):x,d=n.getCurrentDirectory();function p(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(n.getLocalizedDiagnosticMessages());var f=e.hostUsesCaseSensitiveFileNames(n),m=e.createGetCanonicalFileName(f),_=e.getSourceMapper({useCaseSensitiveFileNames:function(){return f},getCurrentDirectory:function(){return d},getProgram:E,fileExists:e.maybeBind(n,n.fileExists),readFile:e.maybeBind(n,n.readFile),getDocumentPositionMapper:e.maybeBind(n,n.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(n,n.getSourceFileLike),log:p});function y(e){var n=o.getSourceFile(e);if(!n){var t=new Error("Could not find source file: '".concat(e,"'."));throw t.ProgramFiles=o.getSourceFiles().map((function(e){return e.fileName})),t}return n}function h(){var r,a,c;if(e.Debug.assert(i!==e.LanguageServiceMode.Syntactic),n.getProjectVersion){var g=n.getProjectVersion();if(g){if(s===g&&!(null===(r=n.hasChangedAutomaticTypeDirectiveNames)||void 0===r?void 0:r.call(n)))return;s=g}}var y=n.getTypeRootsVersion?n.getTypeRootsVersion():0;l!==y&&(p("TypeRoots version has changed; provide new program"),o=void 0,l=y);var h,b=new v(n,m),E=b.getRootFileNames(),T=n.getCompilationSettings()||{target:1,jsx:1},S=n.hasInvalidatedResolution||e.returnFalse,x=e.maybeBind(n,n.hasChangedAutomaticTypeDirectiveNames),L=null===(a=n.getProjectReferences)||void 0===a?void 0:a.call(n),D={useCaseSensitiveFileNames:f,fileExists:k,readFile:R,readDirectory:O,trace:e.maybeBind(n,n.trace),getCurrentDirectory:function(){return d},onUnRecoverableConfigFileDiagnostic:e.noop};if(!e.isProgramUptoDate(o,E,T,(function(e,t){return n.getScriptVersion(t)}),k,S,x,N,L)){var C={getSourceFile:M,getSourceFileByPath:P,getCancellationToken:function(){return u},getCanonicalFileName:m,useCaseSensitiveFileNames:function(){return f},getNewLine:function(){return e.getNewLineCharacter(T,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return d},fileExists:k,readFile:R,getSymlinkCache:e.maybeBind(n,n.getSymlinkCache),realpath:e.maybeBind(n,n.realpath),directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:O,onReleaseOldSourceFile:w,onReleaseParsedCommandLine:function(e,t,r){var a;n.getParsedCommandLine?null===(a=n.onReleaseParsedCommandLine)||void 0===a||a.call(n,e,t,r):t&&w(t.sourceFile,r)},hasInvalidatedResolution:S,hasChangedAutomaticTypeDirectiveNames:x,trace:D.trace,resolveModuleNames:e.maybeBind(n,n.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(n,n.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(n,n.useSourceOfProjectReferenceRedirect),getParsedCommandLine:N};null===(c=n.setCompilerHost)||void 0===c||c.call(n,C);var A=t.getKeyForCompilationSettings(T),I={rootNames:E,options:T,host:C,oldProgram:o,projectReferences:L};return o=e.createProgram(I),b=void 0,h=void 0,_.clearCache(),void o.getTypeChecker()}function N(t){var r=e.toPath(t,d,m),a=null==h?void 0:h.get(r);if(void 0!==a)return a||void 0;var i=n.getParsedCommandLine?n.getParsedCommandLine(t):function(n){var t=M(n,100);return t?(t.path=e.toPath(n,d,m),t.resolvedPath=t.path,t.originalFileName=t.fileName,e.parseJsonSourceFileConfigFileContent(t,D,e.getNormalizedAbsolutePath(e.getDirectoryPath(n),d),void 0,e.getNormalizedAbsolutePath(n,d))):void 0}(t);return(h||(h=new e.Map)).set(r,i||!1),i}function k(t){var r=e.toPath(t,d,m),a=b&&b.getEntryByPath(r);return a?!e.isString(a):!!n.fileExists&&n.fileExists(t)}function R(t){var r=e.toPath(t,d,m),a=b&&b.getEntryByPath(r);return a?e.isString(a)?void 0:e.getSnapshotText(a.scriptSnapshot):n.readFile&&n.readFile(t)}function O(t,r,a,i,o){return e.Debug.checkDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)}function w(e,n){var r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r,e.scriptKind)}function M(n,t,r,a){return P(n,e.toPath(n,d,m),t,r,a)}function P(n,r,a,i,s){e.Debug.assert(void 0!==b,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var c=b&&b.getOrCreateEntryByPath(n,r);if(c){if(!s){var l=o&&o.getSourceFileByPath(r);if(l){if(c.scriptKind===l.scriptKind)return t.updateDocumentWithKey(n,r,T,A,c.scriptSnapshot,c.version,c.scriptKind);t.releaseDocumentWithKey(l.resolvedPath,t.getKeyForCompilationSettings(o.getCompilerOptions()),l.scriptKind)}}return t.acquireDocumentWithKey(n,r,T,A,c.scriptSnapshot,c.version,c.scriptKind)}}}function E(){if(i!==e.LanguageServiceMode.Syntactic)return h(),o;e.Debug.assert(void 0===o)}function T(n,t,r){var a=e.normalizePath(n);e.Debug.assert(r.some((function(n){return e.normalizePath(n)===a}))),h();var i=e.mapDefined(r,(function(e){return o.getSourceFile(e)})),s=y(n);return e.DocumentHighlights.getDocumentHighlights(o,u,s,t,i)}function S(n,t,r,a){h();var i=r&&2===r.use?o.getSourceFiles().filter((function(e){return!o.isSourceFileDefaultLibrary(e)})):o.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(o,u,i,n,t,r,a)}var D=new e.Map(e.getEntries(((a={})[18]=19,a[20]=21,a[22]=23,a[31]=29,a)));function k(t){var r;return e.Debug.assertEqual(t.type,"install package"),n.installPackage?n.installPackage({fileName:(r=t.file,e.toPath(r,d,m)),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function R(e,n){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(n.pos).line,lastLine:e.getLineAndCharacterOfPosition(n.end).line}}function O(n,t,r){for(var a=c.getCurrentSourceFile(n),i=[],o=R(a,t),s=o.lineStarts,l=o.firstLine,u=o.lastLine,d=r||!1,p=Number.MAX_VALUE,f=new e.Map,m=new RegExp(/\S/),_=e.isInsideJsxElement(a,s[l]),g=_?"{/*":"//",y=l;y<=u;y++){var h=a.text.substring(s[y],a.getLineEndOfPosition(s[y])),v=m.exec(h);v&&(p=Math.min(p,v.index),f.set(y.toString(),v.index),h.substr(v.index,g.length)!==g&&(d=void 0===r||r))}for(y=l;y<=u;y++)if(l===u||s[y]!==t.end){var b=f.get(y.toString());void 0!==b&&(_?i.push.apply(i,w(n,{pos:s[y]+p,end:a.getLineEndOfPosition(s[y])},d,_)):d?i.push({newText:g,span:{length:0,start:s[y]+p}}):a.text.substr(s[y]+b,g.length)===g&&i.push({newText:"",span:{length:g.length,start:s[y]+b}}))}return i}function w(n,t,r,a){for(var i,o=c.getCurrentSourceFile(n),s=[],l=o.text,u=!1,d=r||!1,p=[],f=t.pos,m=void 0!==a?a:e.isInsideJsxElement(o,f),_=m?"{/*":"/*",g=m?"*/}":"*/",y=m?"\\{\\/\\*":"\\/\\*",h=m?"\\*\\/\\}":"\\*\\/";f<=t.end;){var v=l.substr(f,_.length)===_?_.length:0,b=e.isInComment(o,f+v);if(b)m&&(b.pos--,b.end++),p.push(b.pos),3===b.kind&&p.push(b.end),u=!0,f=b.end+1;else{var E=l.substring(f,t.end).search("(".concat(y,")|(").concat(h,")"));d=void 0!==r?r:d||!e.isTextWhiteSpaceLike(l,f,-1===E?t.end:f+E),f=-1===E?t.end+1:f+E+g.length}}if(d||!u){2!==(null===(i=e.isInComment(o,t.pos))||void 0===i?void 0:i.kind)&&e.insertSorted(p,t.pos,e.compareValues),e.insertSorted(p,t.end,e.compareValues);var T=p[0];l.substr(T,_.length)!==_&&s.push({newText:_,span:{length:0,start:T}});for(var S=1;S0?D-g.length:0;v=l.substr(C,g.length)===g?g.length:0;s.push({newText:"",span:{length:_.length,start:D-v}})}return s}function M(n){var t=n.openingElement,r=n.closingElement,a=n.parent;return!e.tagNamesAreEquivalent(t.tagName,r.tagName)||e.isJsxElement(a)&&e.tagNamesAreEquivalent(t.tagName,a.openingElement.tagName)&&M(a)}function P(n){var t=n.closingFragment,r=n.parent;return!!(65536&t.flags)||e.isJsxFragment(r)&&P(r)}function F(t,r,a,i,o,s){var c="number"==typeof r?[r,void 0]:[r.pos,r.end];return{file:t,startPosition:c[0],endPosition:c[1],program:E(),host:n,formatContext:e.formatting.getFormatContext(i,n),cancellationToken:u,preferences:a,triggerReason:o,kind:s}}D.forEach((function(e,n){return D.set(e.toString(),Number(n))}));var G={dispose:function(){if(o){var r=t.getKeyForCompilationSettings(o.getCompilerOptions());e.forEach(o.getSourceFiles(),(function(e){return t.releaseDocumentWithKey(e.resolvedPath,r,e.scriptKind)})),o=void 0}n=void 0},cleanupSemanticCache:function(){o=void 0},getSyntacticDiagnostics:function(e){return h(),o.getSyntacticDiagnostics(y(e),u).slice()},getSemanticDiagnostics:function(n){h();var t=y(n),r=o.getSemanticDiagnostics(t,u);if(!e.getEmitDeclarations(o.getCompilerOptions()))return r.slice();var a=o.getDeclarationDiagnostics(t,u);return Or(Or([],r,!0),a,!0)},getSuggestionDiagnostics:function(n){return h(),e.computeSuggestionDiagnostics(y(n),o,u)},getCompilerOptionsDiagnostics:function(){return h(),Or(Or([],o.getOptionsDiagnostics(u),!0),o.getGlobalDiagnostics(u),!0)},getSyntacticClassifications:function(n,t){return e.getSyntacticClassifications(u,c.getCurrentSourceFile(n),t)},getSemanticClassifications:function(n,t,r){return h(),"2020"===(r||"original")?e.classifier.v2020.getSemanticClassifications(o,u,y(n),t):e.getSemanticClassifications(o.getTypeChecker(),u,y(n),o.getClassifiableNames(),t)},getEncodedSyntacticClassifications:function(n,t){return e.getEncodedSyntacticClassifications(u,c.getCurrentSourceFile(n),t)},getEncodedSemanticClassifications:function(n,t,r){return h(),"original"===(r||"original")?e.getEncodedSemanticClassifications(o.getTypeChecker(),u,y(n),o.getClassifiableNames(),t):e.classifier.v2020.getEncodedSemanticClassifications(o,u,y(n),t)},getCompletionsAtPosition:function(t,r,a){void 0===a&&(a=e.emptyOptions);var i=wr(wr({},e.identity(a)),{includeCompletionsForModuleExports:a.includeCompletionsForModuleExports||a.includeExternalModuleExports,includeCompletionsWithInsertText:a.includeCompletionsWithInsertText||a.includeInsertTextCompletions});return h(),e.Completions.getCompletionsAtPosition(n,o,p,y(t),r,i,a.triggerCharacter,a.triggerKind,u)},getCompletionEntryDetails:function(t,r,a,i,s,c,l){return void 0===c&&(c=e.emptyOptions),h(),e.Completions.getCompletionEntryDetails(o,p,y(t),r,{name:a,source:s,data:l},n,i&&e.formatting.getFormatContext(i,n),c,u)},getCompletionEntrySymbol:function(t,r,a,i,s){return void 0===s&&(s=e.emptyOptions),h(),e.Completions.getCompletionEntrySymbol(o,p,y(t),r,{name:a,source:i},n,s)},getSignatureHelpItems:function(n,t,r){var a=(void 0===r?e.emptyOptions:r).triggerReason;h();var i=y(n);return e.SignatureHelp.getSignatureHelpItems(o,i,t,a,u)},getQuickInfoAtPosition:function(n,t){h();var r=y(n),a=e.getTouchingPropertyName(r,t);if(a!==r){var i=o.getTypeChecker(),s=function(n){if(e.isNewExpression(n.parent)&&n.pos===n.parent.pos)return n.parent.expression;if(e.isNamedTupleMember(n.parent)&&n.pos===n.parent.pos)return n.parent;return n}(a),c=function(n,t){var r=I(n);if(r){var a=t.getContextualType(r.parent),i=a&&N(r,t,a,!1);if(i&&1===i.length)return e.first(i)}return t.getSymbolAtLocation(n)}(s,i);if(!c||i.isUnknownSymbol(c)){var l=function(n,t,r){switch(t.kind){case 79:return!e.isLabelName(t)&&!e.isTagName(t)&&!e.isConstTypeReference(t.parent);case 205:case 160:return!e.isInComment(n,r);case 108:case 191:case 106:case 196:return!0;default:return!1}}(r,s,t)?i.getTypeAtLocation(s):void 0;return l&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(s,r),displayParts:i.runWithCancellationToken(u,(function(n){return e.typeToDisplayParts(n,l,e.getContainerNode(s))})),documentation:l.symbol?l.symbol.getDocumentationComment(i):void 0,tags:l.symbol?l.symbol.getJsDocTags(i):void 0}}var d=i.runWithCancellationToken(u,(function(n){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,c,r,e.getContainerNode(s),s)})),p=d.symbolKind,f=d.displayParts,m=d.documentation,_=d.tags;return{kind:p,kindModifiers:e.SymbolDisplay.getSymbolModifiers(i,c),textSpan:e.createTextSpanFromNode(s,r),displayParts:f,documentation:m,tags:_}}},getDefinitionAtPosition:function(n,t){return h(),e.GoToDefinition.getDefinitionAtPosition(o,y(n),t)},getDefinitionAndBoundSpan:function(n,t){return h(),e.GoToDefinition.getDefinitionAndBoundSpan(o,y(n),t)},getImplementationAtPosition:function(n,t){return h(),e.FindAllReferences.getImplementationsAtPosition(o,u,o.getSourceFiles(),y(n),t)},getTypeDefinitionAtPosition:function(n,t){return h(),e.GoToDefinition.getTypeDefinitionAtPosition(o.getTypeChecker(),y(n),t)},getReferencesAtPosition:function(n,t){return h(),S(e.getTouchingPropertyName(y(n),t),t,{use:1},(function(n,t,r){return e.FindAllReferences.toReferenceEntry(n,r.getSymbolAtLocation(t))}))},findReferences:function(n,t){return h(),e.FindAllReferences.findReferencedSymbols(o,u,o.getSourceFiles(),y(n),t)},getFileReferences:function(n){var t;h();var r=null===(t=o.getSourceFile(n))||void 0===t?void 0:t.symbol;return e.FindAllReferences.Core.getReferencesForFileName(n,o,o.getSourceFiles()).map((function(n){return e.FindAllReferences.toReferenceEntry(n,r)}))},getOccurrencesAtPosition:function(n,t){return e.flatMap(T(n,t,[n]),(function(e){return e.highlightSpans.map((function(n){return wr(wr({fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,isDefinition:!1},n.isInString&&{isInString:!0}),n.contextSpan&&{contextSpan:n.contextSpan})}))}))},getDocumentHighlights:T,getNameOrDottedNameSpan:function(n,t,r){var a=c.getCurrentSourceFile(n),i=e.getTouchingPropertyName(a,t);if(i!==a){switch(i.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 o=i;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(260!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),i.getEnd())}},getBreakpointStatementAtPosition:function(n,t){var r=c.getCurrentSourceFile(n);return e.BreakpointResolver.spanInSourceFileAtLocation(r,t)},getNavigateToItems:function(n,t,r,a){void 0===a&&(a=!1),h();var i=r?[y(r)]:o.getSourceFiles();return e.NavigateTo.getNavigateToItems(i,o.getTypeChecker(),u,n,t,a)},getRenameInfo:function(n,t,r){return h(),e.Rename.getRenameInfo(o,y(n),t,r)},getSmartSelectionRange:function(n,t){return e.SmartSelectionRange.getSmartSelectionRange(t,c.getCurrentSourceFile(n))},findRenameLocations:function(n,t,r,a,i){h();var o=y(n),s=e.getAdjustedRenameLocation(e.getTouchingPropertyName(o,t));if(e.Rename.nodeIsEligibleForRename(s)){if(e.isIdentifier(s)&&(e.isJsxOpeningElement(s.parent)||e.isJsxClosingElement(s.parent))&&e.isIntrinsicJsxName(s.escapedText)){var c=s.parent.parent;return[c.openingElement,c.closingElement].map((function(n){var t=e.createTextSpanFromNode(n.tagName,o);return wr({fileName:o.fileName,textSpan:t},e.FindAllReferences.toContextSpan(t,o,n.parent))}))}return S(s,t,{findInStrings:r,findInComments:a,providePrefixAndSuffixTextForRename:i,use:2},(function(n,t,r){return e.FindAllReferences.toRenameLocation(n,t,r,i||!1)}))}},getNavigationBarItems:function(n){return e.NavigationBar.getNavigationBarItems(c.getCurrentSourceFile(n),u)},getNavigationTree:function(n){return e.NavigationBar.getNavigationTree(c.getCurrentSourceFile(n),u)},getOutliningSpans:function(n){var t=c.getCurrentSourceFile(n);return e.OutliningElementsCollector.collectElements(t,u)},getTodoComments:function(n,t){h();var r=y(n);u.throwIfCancellationRequested();var a,i,o,s,c=r.text,l=[];if(t.length>0&&(s=r.fileName,!e.stringContains(s,"/node_modules/")))for(var d=(i="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",o="(?:"+e.map(t,(function(e){return"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")"})).join("|")+")",new RegExp(i+"("+o+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")),p=void 0;p=d.exec(c);){u.throwIfCancellationRequested();e.Debug.assert(p.length===t.length+3);var f=p[1],m=p.index+f.length;if(e.isInComment(r,m)){for(var _=void 0,g=0;g=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)){var v=p[2];l.push({descriptor:_,message:v,position:m})}}}return l},getBraceMatchingAtPosition:function(n,t){var r=c.getCurrentSourceFile(n),a=e.getTouchingToken(r,t),i=a.getStart(r)===t?D.get(a.kind.toString()):void 0,o=i&&e.findChildOfKind(a.parent,i,r);return o?[e.createTextSpanFromNode(a,r),e.createTextSpanFromNode(o,r)].sort((function(e,n){return e.start-n.start})):e.emptyArray},getIndentationAtPosition:function(n,t,r){var a=e.timestamp(),i=g(r),o=c.getCurrentSourceFile(n);p("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-a)),a=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(t,o,i);return p("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-a)),s},getFormattingEditsForRange:function(t,r,a,i){var o=c.getCurrentSourceFile(t);return e.formatting.formatSelection(r,a,o,e.formatting.getFormatContext(g(i),n))},getFormattingEditsForDocument:function(t,r){return e.formatting.formatDocument(c.getCurrentSourceFile(t),e.formatting.getFormatContext(g(r),n))},getFormattingEditsAfterKeystroke:function(t,r,a,i){var o=c.getCurrentSourceFile(t),s=e.formatting.getFormatContext(g(i),n);if(!e.isInComment(o,r))switch(a){case"{":return e.formatting.formatOnOpeningCurly(r,o,s);case"}":return e.formatting.formatOnClosingCurly(r,o,s);case";":return e.formatting.formatOnSemicolon(r,o,s);case"\n":return e.formatting.formatOnEnter(r,o,s)}return[]},getDocCommentTemplateAtPosition:function(t,r,a){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(n),c.getCurrentSourceFile(t),r,a)},isValidBraceCompletionAtPosition:function(n,t,r){if(60===r)return!1;var a=c.getCurrentSourceFile(n);if(e.isInString(a,t))return!1;if(e.isInsideJsxElementOrAttribute(a,t))return 123===r;if(e.isInTemplateString(a,t))return!1;switch(r){case 39:case 34:case 96:return!e.isInComment(a,t)}return!0},getJsxClosingTagAtPosition:function(n,t){var r=c.getCurrentSourceFile(n),a=e.findPrecedingToken(t,r);if(a){var i=31===a.kind&&e.isJsxOpeningElement(a.parent)?a.parent.parent:e.isJsxText(a)&&e.isJsxElement(a.parent)?a.parent:void 0;if(i&&M(i))return{newText:"")};var o=31===a.kind&&e.isJsxOpeningFragment(a.parent)?a.parent.parent:e.isJsxText(a)&&e.isJsxFragment(a.parent)?a.parent:void 0;return o&&P(o)?{newText:""}:void 0}},getSpanOfEnclosingComment:function(n,t,r){var a=c.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)},getCodeFixesAtPosition:function(t,r,a,i,s,c){void 0===c&&(c=e.emptyOptions),h();var l=y(t),d=e.createTextSpanFromBounds(r,a),p=e.formatting.getFormatContext(s,n);return e.flatMap(e.deduplicate(i,e.equateValues,e.compareValues),(function(t){return u.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:t,sourceFile:l,span:d,program:o,host:n,cancellationToken:u,formatContext:p,preferences:c})}))},getCombinedCodeFix:function(t,r,a,i){void 0===i&&(i=e.emptyOptions),h(),e.Debug.assert("file"===t.type);var s=y(t.fileName),c=e.formatting.getFormatContext(a,n);return e.codefix.getAllFixes({fixId:r,sourceFile:s,program:o,host:n,cancellationToken:u,formatContext:c,preferences:i})},applyCodeActionCommand:function(n,t){var r="string"==typeof n?t:n;return e.isArray(r)?Promise.all(r.map((function(e){return k(e)}))):k(r)},organizeImports:function(t,r,a){void 0===a&&(a=e.emptyOptions),h(),e.Debug.assert("file"===t.type);var i=y(t.fileName),s=e.formatting.getFormatContext(r,n);return e.OrganizeImports.organizeImports(i,s,n,o,a,t.skipDestructiveCodeActions)},getEditsForFileRename:function(t,r,a,i){return void 0===i&&(i=e.emptyOptions),e.getEditsForFileRename(E(),t,r,n,e.formatting.getFormatContext(a,n),i,_)},getEmitOutput:function(t,r,a){h();var i=y(t),s=n.getCustomTransformers&&n.getCustomTransformers();return e.getFileEmitOutput(o,i,!!r,u,s,a)},getNonBoundSourceFile:function(e){return c.getCurrentSourceFile(e)},getProgram:E,getAutoImportProvider:function(){var e;return null===(e=n.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(n)},getApplicableRefactors:function(n,t,r,a,i){void 0===r&&(r=e.emptyOptions),h();var o=y(n);return e.refactor.getApplicableRefactors(F(o,t,r,e.emptyOptions,a,i))},getEditsForRefactor:function(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),h();var s=y(n);return e.refactor.getEditsForRefactor(F(s,r,o,t),a,i)},toLineColumnOffset:function(e,n){return 0===n?{line:0,character:0}:_.toLineColumnOffset(e,n)},getSourceMapper:function(){return _},clearSourceMapperCache:function(){return _.clearCache()},prepareCallHierarchy:function(n,t){h();var r=e.CallHierarchy.resolveCallHierarchyDeclaration(o,e.getTouchingPropertyName(y(n),t));return r&&e.mapOneOrMany(r,(function(n){return e.CallHierarchy.createCallHierarchyItem(o,n)}))},provideCallHierarchyIncomingCalls:function(n,t){h();var r=y(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(o,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getIncomingCalls(o,a,u):[]},provideCallHierarchyOutgoingCalls:function(n,t){h();var r=y(n),a=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(o,0===t?r:e.getTouchingPropertyName(r,t)));return a?e.CallHierarchy.getOutgoingCalls(o,a):[]},toggleLineComment:O,toggleMultilineComment:w,commentSelection:function(e,n){var t=R(c.getCurrentSourceFile(e),n);return t.firstLine===t.lastLine&&n.pos!==n.end?w(e,n,!0):O(e,n,!0)},uncommentSelection:function(n,t){var r=c.getCurrentSourceFile(n),a=[],i=t.pos,o=t.end;i===o&&(o+=e.isInsideJsxElement(r,i)?2:1);for(var s=i;s<=o;s++){var l=e.isInComment(r,s);if(l){switch(l.kind){case 2:a.push.apply(a,O(n,{end:l.end,pos:l.pos+1},!1));break;case 3:a.push.apply(a,w(n,{end:l.end,pos:l.pos+1},!1))}s=l.end+1}}return a},provideInlayHints:function(t,r,a){void 0===a&&(a=e.emptyOptions),h();var i=y(t);return e.InlayHints.provideInlayHints(function(e,t,r){return{file:e,program:E(),host:n,span:t,preferences:r,cancellationToken:u}}(i,r,a))}};switch(i){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:C.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.PartialSemantic"))}}));break;case e.LanguageServiceMode.Syntactic:A.forEach((function(e){return G[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.Syntactic"))}}));break;default:e.Debug.assertNever(i)}return G},e.getNameTable=function(n){return n.nameTable||function(n){var t=n.nameTable=new e.Map;n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&function(n){return e.isDeclarationName(n)||276===n.parent.kind||function(e){return e&&e.parent&&206===e.parent.kind&&e.parent.argumentExpression===e}(n)||e.isLiteralComputedPropertyDeclarationName(n)}(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}else if(e.isPrivateIdentifier(r)){a=r.escapedText;t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;ia){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(8388608&r.flags))return d(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function c(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?d(e):d(t)}function l(t){return d(e.findPrecedingToken(t.pos,n))}function u(t){return d(e.findNextToken(t,t.parent,n))}function d(t){if(t){var r=t.parent;switch(t.kind){case 236:return T(t.declarationList.declarations[0]);case 253:case 166:case 165:return T(t);case 163:return function n(t){if(e.isBindingPattern(t.name))return D(t.name);if(function(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasSyntacticModifier(n,12)}(t))return o(t);var r=t.parent,a=r.parameters.indexOf(t);return e.Debug.assert(-1!==a),0!==a?n(r.parameters[a-1]):d(r.body)}(t);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return function(e){if(e.body)return S(e)?o(e):d(e.body)}(t);case 234:if(e.isFunctionBlock(t))return v=(h=t).statements.length?h.statements[0]:h.getLastToken(),S(h.parent)?c(h.parent,v):d(v);case 261:return x(t);case 291:return x(t.block);case 237:return o(t.expression);case 246:return o(t.getChildAt(0),t.expression);case 240:return s(t,t.expression);case 239:return d(t.statement);case 252:return o(t.getChildAt(0));case 238:return s(t,t.expression);case 249:return d(t.statement);case 245:case 244:return o(t.getChildAt(0),t.label);case 241:return(y=t).initializer?L(y):y.condition?o(y.condition):y.incrementor?o(y.incrementor):void 0;case 242:return s(t,t.expression);case 243:return L(t);case 248:return s(t,t.expression);case 288:case 289:return d(t.statements[0]);case 251:return x(t.tryBlock);case 250:case 270:return o(t,t.expression);case 264:return o(t,t.moduleReference);case 265:case 271:return o(t,t.moduleSpecifier);case 260:if(1!==e.getModuleInstanceState(t))return;case 256:case 259:case 297:case 202:return o(t);case 247:return d(t.statement);case 164:return b=r.decorators,e.createTextSpanFromBounds(e.skipTrivia(n.text,b.pos),b.end);case 200:case 201:return D(t);case 257:case 258:return;case 26:case 1:return c(e.findPrecedingToken(t.pos,n));case 27:return l(t);case 18:return function(t){switch(t.parent.kind){case 259:var r=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 256:var a=t.parent;return c(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 262:return c(t.parent.parent,t.parent.clauses[0])}return d(t.parent)}(t);case 19:return function(n){switch(n.parent.kind){case 261:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 259:case 256:return o(n);case 234:if(e.isFunctionBlock(n.parent))return o(n);case 291:return d(e.lastOrUndefined(n.parent.statements));case 262:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?d(e.lastOrUndefined(r.statements)):void 0;case 200:var a=n.parent;return d(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return d(n.parent)}}(t);case 23:return function(n){if(201===n.parent.kind){var t=n.parent;return o(e.lastOrUndefined(t.elements)||t)}if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return d(n.parent)}(t);case 20:return 239===(g=t).parent.kind||207===g.parent.kind||208===g.parent.kind?l(g):211===g.parent.kind?u(g):d(g.parent);case 21:return function(e){switch(e.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 l(e);default:return d(e.parent)}}(t);case 58:return function(n){return e.isFunctionLike(n.parent)||294===n.parent.kind||163===n.parent.kind?l(n):d(n.parent)}(t);case 31:case 29:return function(e){return 210===e.parent.kind?u(e):d(e.parent)}(t);case 115:return function(e){return 239===e.parent.kind?s(e,e.parent.expression):d(e.parent)}(t);case 91:case 83:case 96:return u(t);case 159:return function(e){return 243===e.parent.kind?u(e):d(e.parent)}(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return C(t);if((79===t.kind||224===t.kind||294===t.kind||295===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(220===t.kind){var a=t,i=a.left,p=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return C(i);if(63===p.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===p.kind)return d(i)}if(e.isExpressionNode(t))switch(r.kind){case 239:return l(t);case 164:return d(t.parent);case 241:case 243:return o(t);case 220:if(27===t.parent.operatorToken.kind)return o(t);break;case 213:if(t.parent.body===t)return o(t)}switch(t.parent.kind){case 294:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return d(t.parent.initializer);break;case 210:if(t.parent.type===t)return u(t.parent.type);break;case 253:case 163:var f=t.parent,m=f.initializer,_=f.type;if(m===t||_===t||e.isAssignmentOperator(t.kind))return l(t);break;case 220:if(i=t.parent.left,e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return l(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return l(t)}return d(t.parent)}}var g,y,h,v,b;function E(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function T(t){if(242===t.parent.parent.kind)return d(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?D(t.name):t.initializer||e.hasSyntacticModifier(t,1)||243===r.parent.kind?E(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?d(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function S(n){return e.hasSyntacticModifier(n,1)||256===n.parent.kind&&170!==n.kind}function x(t){switch(t.parent.kind){case 260:if(1!==e.getModuleInstanceState(t.parent))return;case 240:case 238:case 242:return c(t.parent,t.statements[0]);case 241:case 243:return c(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return d(t.statements[0])}function L(e){if(254!==e.initializer.kind)return d(e.initializer);var n=e.initializer;return n.declarations.length>0?d(n.declarations[0]):void 0}function D(n){var t=e.forEach(n.elements,(function(e){return 226!==e.kind?e:void 0}));return t?d(t):202===n.parent.kind?o(n.parent):E(n.parent)}function C(n){e.Debug.assert(201!==n.kind&&200!==n.kind);var t=203===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 226!==e.kind?e:void 0}));return r?d(r):o(220===n.parent.kind?n.parent:n)}}}}(Br||(Br={})),function(e){e.transform=function(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,e.factory,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}}(Br||(Br={}));var Br,Ur=function(){return this}();!function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var a=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function i(e,n,t,r){return o(e,n,!0,t,r)}function o(t,r,a,i,o){try{var s=function(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log("".concat(t," completed in ").concat(s-i," msec")),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),n.log(" result.length=".concat(c.length,", result='").concat(JSON.stringify(c),"'"))}}return o}(t,r,i,o);return a?JSON.stringify({result:s}):s}catch(a){return a instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,a),a.description=r,JSON.stringify({error:a}))}}e.CoreServicesShimHostAdapter=a;var s=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function c(n,t){return n.map((function(n){return function(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}(n,t)}))}e.realizeDiagnostics=c;var l=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return Gr(t,n),t.prototype.forwardJSONCall=function(e,n){return i(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,Ur&&Ur.CollectGarbage&&(Ur.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh(".concat(e,")"),(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){return c(n,e.getNewLineOrDefaultFromHost(this.host))},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('".concat(n,"', ").concat(t,", ").concat(r,")"),(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('".concat(n,"', ").concat(t,", ").concat(r,")"),(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('".concat(n,"', ").concat(t,", ").concat(r,")"),(function(){return u(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('".concat(n,"', ").concat(t,", ").concat(r,")"),(function(){return u(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('".concat(e,"')"),(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('".concat(e,"')"),(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('".concat(e,"')"),(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('".concat(e,"', ").concat(n,", ").concat(t,")"),(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('".concat(e,"', ").concat(n,")"),(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('".concat(e,"', ").concat(n,")"),(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('".concat(e,"', ").concat(n,", ").concat(t,", ").concat(r,", ").concat(a,")"),(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('".concat(e,"', ").concat(n,", ").concat(t,")"),(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('".concat(e,"', ").concat(n,")"),(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('".concat(e,"', ").concat(n,")"),(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getFileReferences=function(e){var n=this;return this.forwardJSONCall("getFileReferences('".concat(e,")"),(function(){return n.languageService.getFileReferences(e)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('".concat(n,"', ").concat(t,")"),(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.toFileNameLowerCase(e.normalizeSlashes(n));return e.filter(i,(function(n){return e.toFileNameLowerCase(e.normalizeSlashes(n.fileName))===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('".concat(e,"', ").concat(n,", ").concat(t,")"),(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i,o){var s=this;return this.forwardJSONCall("getCompletionEntryDetails('".concat(e,"', ").concat(n,", '").concat(t,"')"),(function(){var c=void 0===r?void 0:JSON.parse(r);return s.languageService.getCompletionEntryDetails(e,n,t,c,a,i,o)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('".concat(e,"', ").concat(n,", ").concat(t,")"),(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('".concat(e,"')"),(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('".concat(e,"', ").concat(n,", '").concat(t,"')"),(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('".concat(e,"', ").concat(n,")"),(function(){return r.languageService.getDocCommentTemplateAtPosition(e,n,t)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('".concat(e,"', ").concat(n,", ").concat(t,")"),(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('".concat(e,"')"),(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('".concat(e,"')"),(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('".concat(e,"')"),(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('".concat(e,"')"),(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.prepareCallHierarchy=function(e,n){var t=this;return this.forwardJSONCall("prepareCallHierarchy('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.prepareCallHierarchy(e,n)}))},t.prototype.provideCallHierarchyIncomingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.provideCallHierarchyIncomingCalls(e,n)}))},t.prototype.provideCallHierarchyOutgoingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('".concat(e,"', ").concat(n,")"),(function(){return t.languageService.provideCallHierarchyOutgoingCalls(e,n)}))},t.prototype.provideInlayHints=function(e,n,t){var r=this;return this.forwardJSONCall("provideInlayHints('".concat(e,"', '").concat(JSON.stringify(n),"', ").concat(JSON.stringify(t),")"),(function(){return r.languageService.provideInlayHints(e,n,t)}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('".concat(e,"')"),(function(){var t=n.languageService.getEmitOutput(e),r=t.diagnostics,a=Fr(t,["diagnostics"]);return wr(wr({},a),{diagnostics:n.realizeDiagnostics(r)})}))},t.prototype.getEmitOutputObject=function(e){var n=this;return o(this.logger,"getEmitOutput('".concat(e,"')"),!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t.prototype.toggleLineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleLineComment('".concat(e,"', '").concat(JSON.stringify(n),"')"),(function(){return t.languageService.toggleLineComment(e,n)}))},t.prototype.toggleMultilineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleMultilineComment('".concat(e,"', '").concat(JSON.stringify(n),"')"),(function(){return t.languageService.toggleMultilineComment(e,n)}))},t.prototype.commentSelection=function(e,n){var t=this;return this.forwardJSONCall("commentSelection('".concat(e,"', '").concat(JSON.stringify(n),"')"),(function(){return t.languageService.commentSelection(e,n)}))},t.prototype.uncommentSelection=function(e,n){var t=this;return this.forwardJSONCall("uncommentSelection('".concat(e,"', '").concat(JSON.stringify(n),"')"),(function(){return t.languageService.uncommentSelection(e,n)}))},t}(s);function u(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var d=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return Gr(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),i(this.logger,"getEncodedLexicalClassifications",(function(){return u(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;i=1&&arguments.length<=3?e.factory.createVariableDeclaration(n,void 0,t,r):e.Debug.fail("Argument count mismatch")}),n),e.updateVariableDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return 5===arguments.length?e.factory.updateVariableDeclaration(n,t,r,a,i):4===arguments.length?e.factory.updateVariableDeclaration(n,t,n.exclamationToken,r,a):e.Debug.fail("Argument count mismatch")}),n),e.createImportClause=e.Debug.deprecate((function(n,t,r){return void 0===r&&(r=!1),e.factory.createImportClause(r,n,t)}),n),e.updateImportClause=e.Debug.deprecate((function(n,t,r,a){return e.factory.updateImportClause(n,a,t,r)}),n),e.createExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i){return void 0===i&&(i=!1),e.factory.createExportDeclaration(n,t,i,r,a)}),n),e.updateExportDeclaration=e.Debug.deprecate((function(n,t,r,a,i,o){return e.factory.updateExportDeclaration(n,t,r,o,a,i,n.assertClause)}),n),e.createJSDocParamTag=e.Debug.deprecate((function(n,t,r,a){return e.factory.createJSDocParameterTag(void 0,n,t,r,!1,a?e.factory.createNodeArray([e.factory.createJSDocText(a)]):void 0)}),n),e.createComma=e.Debug.deprecate((function(n,t){return e.factory.createComma(n,t)}),n),e.createLessThan=e.Debug.deprecate((function(n,t){return e.factory.createLessThan(n,t)}),n),e.createAssignment=e.Debug.deprecate((function(n,t){return e.factory.createAssignment(n,t)}),n),e.createStrictEquality=e.Debug.deprecate((function(n,t){return e.factory.createStrictEquality(n,t)}),n),e.createStrictInequality=e.Debug.deprecate((function(n,t){return e.factory.createStrictInequality(n,t)}),n),e.createAdd=e.Debug.deprecate((function(n,t){return e.factory.createAdd(n,t)}),n),e.createSubtract=e.Debug.deprecate((function(n,t){return e.factory.createSubtract(n,t)}),n),e.createLogicalAnd=e.Debug.deprecate((function(n,t){return e.factory.createLogicalAnd(n,t)}),n),e.createLogicalOr=e.Debug.deprecate((function(n,t){return e.factory.createLogicalOr(n,t)}),n),e.createPostfixIncrement=e.Debug.deprecate((function(n){return e.factory.createPostfixIncrement(n)}),n),e.createLogicalNot=e.Debug.deprecate((function(n){return e.factory.createLogicalNot(n)}),n),e.createNode=e.Debug.deprecate((function(n,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),e.setTextRangePosEnd(303===n?e.parseBaseNodeFactory.createBaseSourceFileNode(n):79===n?e.parseBaseNodeFactory.createBaseIdentifierNode(n):80===n?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(n):e.isNodeKind(n)?e.parseBaseNodeFactory.createBaseNode(n):e.parseBaseNodeFactory.createBaseTokenNode(n),t,r)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),e.getMutableClone=e.Debug.deprecate((function(n){var t=e.factory.cloneNode(n);return e.setTextRange(t,n),e.setParent(t,n.parent),t}),{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(e){return 210===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate((function(n){return e.isMemberName(n)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})}(Br||(Br={}));var Vr=Br.createClassifier,Kr=Br.createLanguageService,jr=Br.displayPartsToString,Hr=Br.EndOfLineState,Wr=Br.flattenDiagnosticMessageText,zr=Br.IndentStyle,Jr=Br.ScriptKind,qr=Br.ScriptTarget,Xr=Br.TokenClass,Yr=Br,Qr={};function Zr(e){return"string"==typeof e?!!/^file:\/\/\//.test(e)&&!!Qr[e.substr(8)]:0===e.path.indexOf("/lib.")&&!!Qr[e.path.slice(1)]}Qr["lib.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/// \n/// \n/// \n/// \n',Qr["lib.dom.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// Window APIs\n/////////////////////////////\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n signal?: AbortSignal;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: BufferSource;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: BufferSource;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: BufferSource;\n iv: BufferSource;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: CSSNumberish | null;\n timelineTime?: CSSNumberish | null;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioConfiguration {\n bitrate?: number;\n channels?: string;\n contentType: string;\n samplerate?: number;\n spatialRendering?: boolean;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: DOMHighResTimeStamp;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n appidExclude?: string;\n credProps?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n credProps?: CredentialPropertiesOutput;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n residentKey?: ResidentKeyRequirement;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobEventInit {\n data: Blob;\n timecode?: DOMHighResTimeStamp;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CSSStyleSheetInit {\n baseURL?: string;\n disabled?: boolean;\n media?: MediaList | string;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n colorSpace?: PredefinedColorSpace;\n desynchronized?: boolean;\n willReadFrequently?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface ClipboardItemOptions {\n presentationStyle?: PresentationStyle;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: CSSNumberish;\n currentIteration?: number | null;\n endTime?: CSSNumberish;\n localTime?: CSSNumberish | null;\n progress?: CSSNumberish | null;\n startTime?: CSSNumberish;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialPropertiesOutput {\n rk?: boolean;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CryptoKeyPair {\n privateKey?: CryptoKey;\n publicKey?: CryptoKey;\n}\n\ninterface CustomEventInit extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DisplayMediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface DocumentTimelineOptions {\n originTime?: DOMHighResTimeStamp;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n playbackRate?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FileSystemFlags {\n create?: boolean;\n exclusive?: boolean;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FontFaceDescriptors {\n display?: string;\n featureSettings?: string;\n stretch?: string;\n style?: string;\n unicodeRange?: string;\n variant?: string;\n weight?: string;\n}\n\ninterface FontFaceSetLoadEventInit extends EventInit {\n fontfaces?: FontFace[];\n}\n\ninterface FormDataEventInit extends EventInit {\n formData: FormData;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetAnimationsOptions {\n subtree?: boolean;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: BufferSource;\n salt: BufferSource;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBDatabaseInfo {\n name?: string;\n version?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface IdleRequestOptions {\n timeout?: number;\n}\n\ninterface ImageBitmapOptions {\n colorSpaceConversion?: ColorSpaceConversion;\n imageOrientation?: ImageOrientation;\n premultiplyAlpha?: PremultiplyAlpha;\n resizeHeight?: number;\n resizeQuality?: ResizeQuality;\n resizeWidth?: number;\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageDataSettings {\n colorSpace?: PredefinedColorSpace;\n}\n\ninterface ImportMeta {\n url: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n dataTransfer?: DataTransfer | null;\n inputType?: string;\n isComposing?: boolean;\n targetRanges?: StaticRange[];\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: DOMHighResTimeStamp;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | Document | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n /** @deprecated */\n charCode?: number;\n code?: string;\n isComposing?: boolean;\n key?: string;\n /** @deprecated */\n keyCode?: number;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n pseudoElement?: string | null;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaDecodingConfiguration;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n configuration?: MediaEncodingConfiguration;\n}\n\ninterface MediaCapabilitiesInfo {\n powerEfficient: boolean;\n smooth: boolean;\n supported: boolean;\n}\n\ninterface MediaConfiguration {\n audio?: AudioConfiguration;\n video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n type: MediaDecodingType;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n type: MediaEncodingType;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaImage {\n sizes?: string;\n src: string;\n type?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n encryptionScheme?: string | null;\n robustness?: string;\n}\n\ninterface MediaMetadataInit {\n album?: string;\n artist?: string;\n artwork?: MediaImage[];\n title?: string;\n}\n\ninterface MediaPositionState {\n duration?: number;\n playbackRate?: number;\n position?: number;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaRecorderErrorEventInit extends EventInit {\n error: DOMException;\n}\n\ninterface MediaRecorderOptions {\n audioBitsPerSecond?: number;\n bitsPerSecond?: number;\n mimeType?: string;\n videoBitsPerSecond?: number;\n}\n\ninterface MediaSessionActionDetails {\n action: MediaSessionAction;\n fastSeek?: boolean | null;\n seekOffset?: number | null;\n seekTime?: number | null;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n preferCurrentTab?: boolean;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n cursor?: string[];\n deviceId?: string;\n displaySurface?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n logicalSurface?: boolean;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n suppressLocalAudioPlayback?: ConstrainBoolean;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n noiseSuppression?: boolean;\n restrictOwnAudio?: boolean;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n noiseSuppression?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n suppressLocalAudioPlayback?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit extends EventInit {\n data?: T;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /** 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. */\n attributeFilter?: string[];\n /** Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded. */\n attributeOldValue?: boolean;\n /** Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */\n attributes?: boolean;\n /** Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified. */\n characterData?: boolean;\n /** Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded. */\n characterDataOldValue?: boolean;\n /** Set to true if mutations to target\'s children are to be observed. */\n childList?: boolean;\n /** Set to true if mutations to not just target, but also target\'s descendants are to be observed. */\n subtree?: boolean;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: DOMTimeStamp;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n playbackRate?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PageTransitionEventInit extends EventInit {\n persisted?: boolean;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string;\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n paymentMethodErrors?: any;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit {\n methodDetails?: any;\n methodName?: string;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentValidationErrors {\n error?: string;\n paymentMethod?: any;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: BufferSource;\n}\n\ninterface PerformanceMarkOptions {\n detail?: any;\n startTime?: DOMHighResTimeStamp;\n}\n\ninterface PerformanceMeasureOptions {\n detail?: any;\n duration?: DOMHighResTimeStamp;\n end?: string | DOMHighResTimeStamp;\n start?: string | DOMHighResTimeStamp;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n coalescedEvents?: PointerEvent[];\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n predictedEvents?: PointerEvent[];\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: DOMTimeStamp | null;\n keys?: Record;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy {\n highWaterMark?: number;\n size?: QueuingStrategySize;\n}\n\ninterface QueuingStrategyInit {\n /**\n * Creates a new ByteLengthQueuingStrategy with the provided high water mark.\n *\n * 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.\n */\n highWaterMark: number;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: DOMTimeStamp;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone?: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string | null;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n currentRoundTripTime?: number;\n localCandidateId: string;\n nominated?: boolean;\n remoteCandidateId: string;\n requestsReceived?: number;\n requestsSent?: number;\n responsesReceived?: number;\n responsesSent?: number;\n state: RTCStatsIceCandidatePairState;\n totalRoundTripTime?: number;\n transportId: string;\n}\n\ninterface RTCIceServer {\n credential?: string;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {\n firCount?: number;\n framesDecoded?: number;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n}\n\ninterface RTCLocalSessionDescriptionInit {\n sdp?: string;\n type?: RTCSdpType;\n}\n\ninterface RTCOfferAnswerOptions {\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {\n firCount?: number;\n framesEncoded?: number;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n address?: string | null;\n errorCode: number;\n errorText?: string;\n port?: number | null;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {\n jitter?: number;\n packetsDiscarded?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n rtpTimestamp: number;\n source: number;\n timestamp: DOMHighResTimeStamp;\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n maxBitrate?: number;\n priority?: RTCPriorityType;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n transactionId: string;\n}\n\ninterface RTCRtpStreamStats extends RTCStats {\n codecId?: string;\n kind: string;\n ssrc: number;\n transportId?: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCSentRtpStreamStats extends RTCRtpStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type: RTCSdpType;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: DOMHighResTimeStamp;\n type: RTCStatsType;\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n bytesReceived?: number;\n bytesSent?: number;\n dtlsCipher?: string;\n dtlsState: RTCDtlsTransportState;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n srtpCipher?: string;\n tlsVersion?: string;\n}\n\ninterface ReadableStreamDefaultReadDoneResult {\n done: true;\n value?: undefined;\n}\n\ninterface ReadableStreamDefaultReadValueResult {\n done: false;\n value: T;\n}\n\ninterface ReadableWritablePair {\n readable: ReadableStream;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n */\n writable: WritableStream;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /** A BodyInit object or null to set request\'s body. */\n body?: BodyInit | null;\n /** A string indicating how the request will interact with the browser\'s cache to set request\'s cache. */\n cache?: RequestCache;\n /** 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. */\n credentials?: RequestCredentials;\n /** A Headers object, an object literal, or an array of two-item arrays to set request\'s headers. */\n headers?: HeadersInit;\n /** A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity. */\n integrity?: string;\n /** A boolean to set request\'s keepalive. */\n keepalive?: boolean;\n /** A string to set request\'s method. */\n method?: string;\n /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode. */\n mode?: RequestMode;\n /** 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. */\n redirect?: RequestRedirect;\n /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer. */\n referrer?: string;\n /** A referrer policy to set request\'s referrerPolicy. */\n referrerPolicy?: ReferrerPolicy;\n /** An AbortSignal to set request\'s signal. */\n signal?: AbortSignal | null;\n /** Can only be null. Used to disassociate request from any Window. */\n window?: null;\n}\n\ninterface ResizeObserverOptions {\n box?: ResizeObserverBoxOptions;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: BufferSource;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n disposition: SecurityPolicyViolationEventDisposition;\n documentURI: string;\n effectiveDirective: string;\n lineNumber?: number;\n originalPolicy: string;\n referrer?: string;\n sample?: string;\n sourceFile?: string;\n statusCode: number;\n violatedDirective: string;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n slotAssignment?: SlotAssignmentMode;\n}\n\ninterface ShareData {\n files?: File[];\n text?: string;\n title?: string;\n url?: string;\n}\n\ninterface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {\n error: SpeechSynthesisErrorCode;\n}\n\ninterface SpeechSynthesisEventInit extends EventInit {\n charIndex?: number;\n charLength?: number;\n elapsedTime?: number;\n name?: string;\n utterance: SpeechSynthesisUtterance;\n}\n\ninterface StaticRangeInit {\n endContainer: Node;\n endOffset: number;\n startContainer: Node;\n startOffset: number;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StreamPipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n /**\n * 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.\n *\n * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.\n *\n * Errors and closures of the source and destination streams propagate as follows:\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * 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.\n */\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface StructuredSerializeOptions {\n transfer?: any[];\n}\n\ninterface SubmitEventInit extends EventInit {\n submitter?: HTMLElement | null;\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: TextTrack | null;\n}\n\ninterface Transformer {\n flush?: TransformerFlushCallback;\n readableType?: undefined;\n start?: TransformerStartCallback;\n transform?: TransformerTransformCallback;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n /** @deprecated */\n which?: number;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingSink {\n abort?: UnderlyingSinkAbortCallback;\n close?: UnderlyingSinkCloseCallback;\n start?: UnderlyingSinkStartCallback;\n type?: undefined;\n write?: UnderlyingSinkWriteCallback;\n}\n\ninterface UnderlyingSource {\n cancel?: UnderlyingSourceCancelCallback;\n pull?: UnderlyingSourcePullCallback;\n start?: UnderlyingSourceStartCallback;\n type?: undefined;\n}\n\ninterface VideoConfiguration {\n bitrate: number;\n colorGamut?: ColorGamut;\n contentType: string;\n framerate: number;\n hdrMetadataType?: HdrMetadataType;\n height: number;\n scalabilityMode?: string;\n transferFunction?: TransferFunction;\n width: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WindowPostMessageOptions extends StructuredSerializeOptions {\n targetOrigin?: string;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ntype NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; };\n\ndeclare var NodeFilter: {\n readonly FILTER_ACCEPT: number;\n readonly FILTER_REJECT: number;\n readonly FILTER_SKIP: number;\n readonly SHOW_ALL: number;\n readonly SHOW_ATTRIBUTE: number;\n readonly SHOW_CDATA_SECTION: number;\n readonly SHOW_COMMENT: number;\n readonly SHOW_DOCUMENT: number;\n readonly SHOW_DOCUMENT_FRAGMENT: number;\n readonly SHOW_DOCUMENT_TYPE: number;\n readonly SHOW_ELEMENT: number;\n readonly SHOW_ENTITY: number;\n readonly SHOW_ENTITY_REFERENCE: number;\n readonly SHOW_NOTATION: number;\n readonly SHOW_PROCESSING_INSTRUCTION: number;\n readonly SHOW_TEXT: number;\n};\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** 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. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\ninterface ARIAMixin {\n ariaAtomic: string;\n ariaAutoComplete: string;\n ariaBusy: string;\n ariaChecked: string;\n ariaColCount: string;\n ariaColIndex: string;\n ariaColSpan: string;\n ariaCurrent: string;\n ariaDisabled: string;\n ariaExpanded: string;\n ariaHasPopup: string;\n ariaHidden: string;\n ariaKeyShortcuts: string;\n ariaLabel: string;\n ariaLevel: string;\n ariaLive: string;\n ariaModal: string;\n ariaMultiLine: string;\n ariaMultiSelectable: string;\n ariaOrientation: string;\n ariaPlaceholder: string;\n ariaPosInSet: string;\n ariaPressed: string;\n ariaReadOnly: string;\n ariaRequired: string;\n ariaRoleDescription: string;\n ariaRowCount: string;\n ariaRowIndex: string;\n ariaRowSpan: string;\n ariaSelected: string;\n ariaSetSize: string;\n ariaSort: string;\n ariaValueMax: string;\n ariaValueMin: string;\n ariaValueNow: string;\n ariaValueText: string;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /** Returns the AbortSignal object associated with this object. */\n readonly signal: AbortSignal;\n /** 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. */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** 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. */\ninterface AbortSignal extends EventTarget {\n /** Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise. */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n // abort(): AbortSignal; - To be re-added in the future\n};\n\ninterface AbstractRange {\n /** Returns true if range is collapsed, and false otherwise. */\n readonly collapsed: boolean;\n /** Returns range\'s end node. */\n readonly endContainer: Node;\n /** Returns range\'s end offset. */\n readonly endOffset: number;\n /** Returns range\'s start node. */\n readonly startContainer: Node;\n /** Returns range\'s start offset. */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** 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. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(options?: GetAnimationsOptions): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n "remove": Event;\n}\n\ninterface Animation extends EventTarget {\n currentTime: CSSNumberish | null;\n effect: AnimationEffect | null;\n readonly finished: Promise;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onremove: ((this: Animation, ev: Event) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise;\n readonly replaceState: AnimationReplaceState;\n startTime: CSSNumberish | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n commitStyles(): void;\n finish(): void;\n pause(): void;\n persist(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: CSSNumberish | null;\n readonly timelineTime: CSSNumberish | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\n/** 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. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerDocument: Document;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** 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. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** 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. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n close(): Promise;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise;\n suspend(): Promise;\n addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** 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. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** 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. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/**\n * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed.\n * @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.\n */\ninterface AudioProcessingEvent extends Event {\n /** @deprecated */\n readonly inputBuffer: AudioBuffer;\n /** @deprecated */\n readonly outputBuffer: AudioBuffer;\n /** @deprecated */\n readonly playbackTime: number;\n}\n\n/** @deprecated */\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\n/** Available only in secure contexts. */\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": Event;\n}\n\n/** Available only in secure contexts. */\ninterface AudioWorkletNode extends AudioNode {\n onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;\n readonly parameters: AudioParamMap;\n readonly port: MessagePort;\n addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioWorkletNode: {\n prototype: AudioWorkletNode;\n new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n readonly authenticatorData: ArrayBuffer;\n readonly signature: ArrayBuffer;\n readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n prototype: AuthenticatorAssertionResponse;\n new(): AuthenticatorAssertionResponse;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n readonly attestationObject: ArrayBuffer;\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\n/** Available only in secure contexts. */\ninterface AuthenticatorResponse {\n readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n prototype: AuthenticatorResponse;\n new(): AuthenticatorResponse;\n};\n\ninterface BarProp {\n readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n prototype: BarProp;\n new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n "statechange": Event;\n}\n\ninterface BaseAudioContext extends EventTarget {\n /** Available only in secure contexts. */\n readonly audioWorklet: AudioWorklet;\n readonly currentTime: number;\n readonly destination: AudioDestinationNode;\n readonly listener: AudioListener;\n onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n readonly sampleRate: number;\n readonly state: AudioContextState;\n createAnalyser(): AnalyserNode;\n createBiquadFilter(): BiquadFilterNode;\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n createBufferSource(): AudioBufferSourceNode;\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n createConstantSource(): ConstantSourceNode;\n createConvolver(): ConvolverNode;\n createDelay(maxDelayTime?: number): DelayNode;\n createDynamicsCompressor(): DynamicsCompressorNode;\n createGain(): GainNode;\n createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n createOscillator(): OscillatorNode;\n createPanner(): PannerNode;\n createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n /** @deprecated */\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n createStereoPanner(): StereoPannerNode;\n createWaveShaper(): WaveShaperNode;\n decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise;\n addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BaseAudioContext: {\n prototype: BaseAudioContext;\n new(): BaseAudioContext;\n};\n\n/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */\ninterface BeforeUnloadEvent extends Event {\n returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n prototype: BeforeUnloadEvent;\n new(): BeforeUnloadEvent;\n};\n\n/** 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. */\ninterface BiquadFilterNode extends AudioNode {\n readonly Q: AudioParam;\n readonly detune: AudioParam;\n readonly frequency: AudioParam;\n readonly gain: AudioParam;\n type: BiquadFilterType;\n getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;\n}\n\ndeclare var BiquadFilterNode: {\n prototype: BiquadFilterNode;\n new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/** 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. */\ninterface Blob {\n readonly size: number;\n readonly type: string;\n arrayBuffer(): Promise;\n slice(start?: number, end?: number, contentType?: string): Blob;\n stream(): ReadableStream;\n text(): Promise;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface BlobEvent extends Event {\n readonly data: Blob;\n readonly timecode: DOMHighResTimeStamp;\n}\n\ndeclare var BlobEvent: {\n prototype: BlobEvent;\n new(type: string, eventInitDict: BlobEventInit): BlobEvent;\n};\n\ninterface Body {\n readonly body: ReadableStream | null;\n readonly bodyUsed: boolean;\n arrayBuffer(): Promise;\n blob(): Promise;\n formData(): Promise;\n json(): Promise;\n text(): Promise;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface BroadcastChannel extends EventTarget {\n /** Returns the channel name (as passed to the constructor). */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /** Closes the BroadcastChannel object, opening it up to garbage collection. */\n close(): void;\n /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */\n postMessage(message: any): void;\n addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n prototype: CDATASection;\n new(): CDATASection;\n};\n\ninterface CSSAnimation extends Animation {\n readonly animationName: string;\n addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSAnimation: {\n prototype: CSSAnimation;\n new(): CSSAnimation;\n};\n\n/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */\ninterface CSSConditionRule extends CSSGroupingRule {\n conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\ninterface CSSCounterStyleRule extends CSSRule {\n additiveSymbols: string;\n fallback: string;\n name: string;\n negative: string;\n pad: string;\n prefix: string;\n range: string;\n speakAs: string;\n suffix: string;\n symbols: string;\n system: string;\n}\n\ndeclare var CSSCounterStyleRule: {\n prototype: CSSCounterStyleRule;\n new(): CSSCounterStyleRule;\n};\n\ninterface CSSFontFaceRule extends CSSRule {\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSFontFaceRule: {\n prototype: CSSFontFaceRule;\n new(): CSSFontFaceRule;\n};\n\n/** Any CSS at-rule that contains other rules nested within it. */\ninterface CSSGroupingRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n prototype: CSSGroupingRule;\n new(): CSSGroupingRule;\n};\n\ninterface CSSImportRule extends CSSRule {\n readonly href: string;\n readonly media: MediaList;\n readonly styleSheet: CSSStyleSheet;\n}\n\ndeclare var CSSImportRule: {\n prototype: CSSImportRule;\n new(): CSSImportRule;\n};\n\n/** 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). */\ninterface CSSKeyframeRule extends CSSRule {\n keyText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSKeyframeRule: {\n prototype: CSSKeyframeRule;\n new(): CSSKeyframeRule;\n};\n\n/** 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). */\ninterface CSSKeyframesRule extends CSSRule {\n readonly cssRules: CSSRuleList;\n name: string;\n appendRule(rule: string): void;\n deleteRule(select: string): void;\n findRule(select: string): CSSKeyframeRule | null;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\n/** 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). */\ninterface CSSMediaRule extends CSSConditionRule {\n readonly media: MediaList;\n}\n\ndeclare var CSSMediaRule: {\n prototype: CSSMediaRule;\n new(): CSSMediaRule;\n};\n\n/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */\ninterface CSSNamespaceRule extends CSSRule {\n readonly namespaceURI: string;\n readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n prototype: CSSNamespaceRule;\n new(): CSSNamespaceRule;\n};\n\n/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */\ninterface CSSPageRule extends CSSGroupingRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSPageRule: {\n prototype: CSSPageRule;\n new(): CSSPageRule;\n};\n\n/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */\ninterface CSSRule {\n cssText: string;\n readonly parentRule: CSSRule | null;\n readonly parentStyleSheet: CSSStyleSheet | null;\n /** @deprecated */\n readonly type: number;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n}\n\ndeclare var CSSRule: {\n prototype: CSSRule;\n new(): CSSRule;\n readonly CHARSET_RULE: number;\n readonly FONT_FACE_RULE: number;\n readonly IMPORT_RULE: number;\n readonly KEYFRAMES_RULE: number;\n readonly KEYFRAME_RULE: number;\n readonly MEDIA_RULE: number;\n readonly NAMESPACE_RULE: number;\n readonly PAGE_RULE: number;\n readonly STYLE_RULE: number;\n readonly SUPPORTS_RULE: number;\n};\n\n/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */\ninterface CSSRuleList {\n readonly length: number;\n item(index: number): CSSRule | null;\n [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n prototype: CSSRuleList;\n new(): CSSRuleList;\n};\n\n/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */\ninterface CSSStyleDeclaration {\n accentColor: string;\n alignContent: string;\n alignItems: string;\n alignSelf: string;\n alignmentBaseline: string;\n all: string;\n animation: string;\n animationDelay: string;\n animationDirection: string;\n animationDuration: string;\n animationFillMode: string;\n animationIterationCount: string;\n animationName: string;\n animationPlayState: string;\n animationTimingFunction: string;\n appearance: string;\n aspectRatio: string;\n backfaceVisibility: string;\n background: string;\n backgroundAttachment: string;\n backgroundBlendMode: string;\n backgroundClip: string;\n backgroundColor: string;\n backgroundImage: string;\n backgroundOrigin: string;\n backgroundPosition: string;\n backgroundPositionX: string;\n backgroundPositionY: string;\n backgroundRepeat: string;\n backgroundSize: string;\n baselineShift: string;\n blockSize: string;\n border: string;\n borderBlock: string;\n borderBlockColor: string;\n borderBlockEnd: string;\n borderBlockEndColor: string;\n borderBlockEndStyle: string;\n borderBlockEndWidth: string;\n borderBlockStart: string;\n borderBlockStartColor: string;\n borderBlockStartStyle: string;\n borderBlockStartWidth: string;\n borderBlockStyle: string;\n borderBlockWidth: string;\n borderBottom: string;\n borderBottomColor: string;\n borderBottomLeftRadius: string;\n borderBottomRightRadius: string;\n borderBottomStyle: string;\n borderBottomWidth: string;\n borderCollapse: string;\n borderColor: string;\n borderEndEndRadius: string;\n borderEndStartRadius: string;\n borderImage: string;\n borderImageOutset: string;\n borderImageRepeat: string;\n borderImageSlice: string;\n borderImageSource: string;\n borderImageWidth: string;\n borderInline: string;\n borderInlineColor: string;\n borderInlineEnd: string;\n borderInlineEndColor: string;\n borderInlineEndStyle: string;\n borderInlineEndWidth: string;\n borderInlineStart: string;\n borderInlineStartColor: string;\n borderInlineStartStyle: string;\n borderInlineStartWidth: string;\n borderInlineStyle: string;\n borderInlineWidth: string;\n borderLeft: string;\n borderLeftColor: string;\n borderLeftStyle: string;\n borderLeftWidth: string;\n borderRadius: string;\n borderRight: string;\n borderRightColor: string;\n borderRightStyle: string;\n borderRightWidth: string;\n borderSpacing: string;\n borderStartEndRadius: string;\n borderStartStartRadius: string;\n borderStyle: string;\n borderTop: string;\n borderTopColor: string;\n borderTopLeftRadius: string;\n borderTopRightRadius: string;\n borderTopStyle: string;\n borderTopWidth: string;\n borderWidth: string;\n bottom: string;\n boxShadow: string;\n boxSizing: string;\n breakAfter: string;\n breakBefore: string;\n breakInside: string;\n captionSide: string;\n caretColor: string;\n clear: string;\n /** @deprecated */\n clip: string;\n clipPath: string;\n clipRule: string;\n color: string;\n colorInterpolation: string;\n colorInterpolationFilters: string;\n colorScheme: string;\n columnCount: string;\n columnFill: string;\n columnGap: string;\n columnRule: string;\n columnRuleColor: string;\n columnRuleStyle: string;\n columnRuleWidth: string;\n columnSpan: string;\n columnWidth: string;\n columns: string;\n contain: string;\n content: string;\n counterIncrement: string;\n counterReset: string;\n counterSet: string;\n cssFloat: string;\n cssText: string;\n cursor: string;\n direction: string;\n display: string;\n dominantBaseline: string;\n emptyCells: string;\n fill: string;\n fillOpacity: string;\n fillRule: string;\n filter: string;\n flex: string;\n flexBasis: string;\n flexDirection: string;\n flexFlow: string;\n flexGrow: string;\n flexShrink: string;\n flexWrap: string;\n float: string;\n floodColor: string;\n floodOpacity: string;\n font: string;\n fontFamily: string;\n fontFeatureSettings: string;\n fontKerning: string;\n fontOpticalSizing: string;\n fontSize: string;\n fontSizeAdjust: string;\n fontStretch: string;\n fontStyle: string;\n fontSynthesis: string;\n fontVariant: string;\n /** @deprecated */\n fontVariantAlternates: string;\n fontVariantCaps: string;\n fontVariantEastAsian: string;\n fontVariantLigatures: string;\n fontVariantNumeric: string;\n fontVariantPosition: string;\n fontVariationSettings: string;\n fontWeight: string;\n gap: string;\n grid: string;\n gridArea: string;\n gridAutoColumns: string;\n gridAutoFlow: string;\n gridAutoRows: string;\n gridColumn: string;\n gridColumnEnd: string;\n /** @deprecated This is a legacy alias of `columnGap`. */\n gridColumnGap: string;\n gridColumnStart: string;\n /** @deprecated This is a legacy alias of `gap`. */\n gridGap: string;\n gridRow: string;\n gridRowEnd: string;\n /** @deprecated This is a legacy alias of `rowGap`. */\n gridRowGap: string;\n gridRowStart: string;\n gridTemplate: string;\n gridTemplateAreas: string;\n gridTemplateColumns: string;\n gridTemplateRows: string;\n height: string;\n hyphens: string;\n /** @deprecated */\n imageOrientation: string;\n imageRendering: string;\n inlineSize: string;\n inset: string;\n insetBlock: string;\n insetBlockEnd: string;\n insetBlockStart: string;\n insetInline: string;\n insetInlineEnd: string;\n insetInlineStart: string;\n isolation: string;\n justifyContent: string;\n justifyItems: string;\n justifySelf: string;\n left: string;\n readonly length: number;\n letterSpacing: string;\n lightingColor: string;\n lineBreak: string;\n lineHeight: string;\n listStyle: string;\n listStyleImage: string;\n listStylePosition: string;\n listStyleType: string;\n margin: string;\n marginBlock: string;\n marginBlockEnd: string;\n marginBlockStart: string;\n marginBottom: string;\n marginInline: string;\n marginInlineEnd: string;\n marginInlineStart: string;\n marginLeft: string;\n marginRight: string;\n marginTop: string;\n marker: string;\n markerEnd: string;\n markerMid: string;\n markerStart: string;\n mask: string;\n maskType: string;\n maxBlockSize: string;\n maxHeight: string;\n maxInlineSize: string;\n maxWidth: string;\n minBlockSize: string;\n minHeight: string;\n minInlineSize: string;\n minWidth: string;\n mixBlendMode: string;\n objectFit: string;\n objectPosition: string;\n offset: string;\n offsetAnchor: string;\n offsetDistance: string;\n offsetPath: string;\n offsetRotate: string;\n opacity: string;\n order: string;\n orphans: string;\n outline: string;\n outlineColor: string;\n outlineOffset: string;\n outlineStyle: string;\n outlineWidth: string;\n overflow: string;\n overflowAnchor: string;\n overflowWrap: string;\n overflowX: string;\n overflowY: string;\n overscrollBehavior: string;\n overscrollBehaviorBlock: string;\n overscrollBehaviorInline: string;\n overscrollBehaviorX: string;\n overscrollBehaviorY: string;\n padding: string;\n paddingBlock: string;\n paddingBlockEnd: string;\n paddingBlockStart: string;\n paddingBottom: string;\n paddingInline: string;\n paddingInlineEnd: string;\n paddingInlineStart: string;\n paddingLeft: string;\n paddingRight: string;\n paddingTop: string;\n pageBreakAfter: string;\n pageBreakBefore: string;\n pageBreakInside: string;\n paintOrder: string;\n readonly parentRule: CSSRule | null;\n perspective: string;\n perspectiveOrigin: string;\n placeContent: string;\n placeItems: string;\n placeSelf: string;\n pointerEvents: string;\n position: string;\n quotes: string;\n resize: string;\n right: string;\n rotate: string;\n rowGap: string;\n rubyPosition: string;\n scale: string;\n scrollBehavior: string;\n scrollMargin: string;\n scrollMarginBlock: string;\n scrollMarginBlockEnd: string;\n scrollMarginBlockStart: string;\n scrollMarginBottom: string;\n scrollMarginInline: string;\n scrollMarginInlineEnd: string;\n scrollMarginInlineStart: string;\n scrollMarginLeft: string;\n scrollMarginRight: string;\n scrollMarginTop: string;\n scrollPadding: string;\n scrollPaddingBlock: string;\n scrollPaddingBlockEnd: string;\n scrollPaddingBlockStart: string;\n scrollPaddingBottom: string;\n scrollPaddingInline: string;\n scrollPaddingInlineEnd: string;\n scrollPaddingInlineStart: string;\n scrollPaddingLeft: string;\n scrollPaddingRight: string;\n scrollPaddingTop: string;\n scrollSnapAlign: string;\n scrollSnapStop: string;\n scrollSnapType: string;\n shapeImageThreshold: string;\n shapeMargin: string;\n shapeOutside: string;\n shapeRendering: string;\n stopColor: string;\n stopOpacity: string;\n stroke: string;\n strokeDasharray: string;\n strokeDashoffset: string;\n strokeLinecap: string;\n strokeLinejoin: string;\n strokeMiterlimit: string;\n strokeOpacity: string;\n strokeWidth: string;\n tabSize: string;\n tableLayout: string;\n textAlign: string;\n textAlignLast: string;\n textAnchor: string;\n textCombineUpright: string;\n textDecoration: string;\n textDecorationColor: string;\n textDecorationLine: string;\n textDecorationSkipInk: string;\n textDecorationStyle: string;\n textDecorationThickness: string;\n textEmphasis: string;\n textEmphasisColor: string;\n textEmphasisPosition: string;\n textEmphasisStyle: string;\n textIndent: string;\n textOrientation: string;\n textOverflow: string;\n textRendering: string;\n textShadow: string;\n textTransform: string;\n textUnderlineOffset: string;\n textUnderlinePosition: string;\n top: string;\n touchAction: string;\n transform: string;\n transformBox: string;\n transformOrigin: string;\n transformStyle: string;\n transition: string;\n transitionDelay: string;\n transitionDuration: string;\n transitionProperty: string;\n transitionTimingFunction: string;\n translate: string;\n unicodeBidi: string;\n userSelect: string;\n verticalAlign: string;\n visibility: string;\n /** @deprecated This is a legacy alias of `alignContent`. */\n webkitAlignContent: string;\n /** @deprecated This is a legacy alias of `alignItems`. */\n webkitAlignItems: string;\n /** @deprecated This is a legacy alias of `alignSelf`. */\n webkitAlignSelf: string;\n /** @deprecated This is a legacy alias of `animation`. */\n webkitAnimation: string;\n /** @deprecated This is a legacy alias of `animationDelay`. */\n webkitAnimationDelay: string;\n /** @deprecated This is a legacy alias of `animationDirection`. */\n webkitAnimationDirection: string;\n /** @deprecated This is a legacy alias of `animationDuration`. */\n webkitAnimationDuration: string;\n /** @deprecated This is a legacy alias of `animationFillMode`. */\n webkitAnimationFillMode: string;\n /** @deprecated This is a legacy alias of `animationIterationCount`. */\n webkitAnimationIterationCount: string;\n /** @deprecated This is a legacy alias of `animationName`. */\n webkitAnimationName: string;\n /** @deprecated This is a legacy alias of `animationPlayState`. */\n webkitAnimationPlayState: string;\n /** @deprecated This is a legacy alias of `animationTimingFunction`. */\n webkitAnimationTimingFunction: string;\n /** @deprecated This is a legacy alias of `appearance`. */\n webkitAppearance: string;\n /** @deprecated This is a legacy alias of `backfaceVisibility`. */\n webkitBackfaceVisibility: string;\n /** @deprecated This is a legacy alias of `backgroundClip`. */\n webkitBackgroundClip: string;\n /** @deprecated This is a legacy alias of `backgroundOrigin`. */\n webkitBackgroundOrigin: string;\n /** @deprecated This is a legacy alias of `backgroundSize`. */\n webkitBackgroundSize: string;\n /** @deprecated This is a legacy alias of `borderBottomLeftRadius`. */\n webkitBorderBottomLeftRadius: string;\n /** @deprecated This is a legacy alias of `borderBottomRightRadius`. */\n webkitBorderBottomRightRadius: string;\n /** @deprecated This is a legacy alias of `borderRadius`. */\n webkitBorderRadius: string;\n /** @deprecated This is a legacy alias of `borderTopLeftRadius`. */\n webkitBorderTopLeftRadius: string;\n /** @deprecated This is a legacy alias of `borderTopRightRadius`. */\n webkitBorderTopRightRadius: string;\n /** @deprecated This is a legacy alias of `boxAlign`. */\n webkitBoxAlign: string;\n /** @deprecated This is a legacy alias of `boxFlex`. */\n webkitBoxFlex: string;\n /** @deprecated This is a legacy alias of `boxOrdinalGroup`. */\n webkitBoxOrdinalGroup: string;\n /** @deprecated This is a legacy alias of `boxOrient`. */\n webkitBoxOrient: string;\n /** @deprecated This is a legacy alias of `boxPack`. */\n webkitBoxPack: string;\n /** @deprecated This is a legacy alias of `boxShadow`. */\n webkitBoxShadow: string;\n /** @deprecated This is a legacy alias of `boxSizing`. */\n webkitBoxSizing: string;\n /** @deprecated This is a legacy alias of `filter`. */\n webkitFilter: string;\n /** @deprecated This is a legacy alias of `flex`. */\n webkitFlex: string;\n /** @deprecated This is a legacy alias of `flexBasis`. */\n webkitFlexBasis: string;\n /** @deprecated This is a legacy alias of `flexDirection`. */\n webkitFlexDirection: string;\n /** @deprecated This is a legacy alias of `flexFlow`. */\n webkitFlexFlow: string;\n /** @deprecated This is a legacy alias of `flexGrow`. */\n webkitFlexGrow: string;\n /** @deprecated This is a legacy alias of `flexShrink`. */\n webkitFlexShrink: string;\n /** @deprecated This is a legacy alias of `flexWrap`. */\n webkitFlexWrap: string;\n /** @deprecated This is a legacy alias of `justifyContent`. */\n webkitJustifyContent: string;\n webkitLineClamp: string;\n /** @deprecated This is a legacy alias of `mask`. */\n webkitMask: string;\n /** @deprecated This is a legacy alias of `maskBorder`. */\n webkitMaskBoxImage: string;\n /** @deprecated This is a legacy alias of `maskBorderOutset`. */\n webkitMaskBoxImageOutset: string;\n /** @deprecated This is a legacy alias of `maskBorderRepeat`. */\n webkitMaskBoxImageRepeat: string;\n /** @deprecated This is a legacy alias of `maskBorderSlice`. */\n webkitMaskBoxImageSlice: string;\n /** @deprecated This is a legacy alias of `maskBorderSource`. */\n webkitMaskBoxImageSource: string;\n /** @deprecated This is a legacy alias of `maskBorderWidth`. */\n webkitMaskBoxImageWidth: string;\n /** @deprecated This is a legacy alias of `maskClip`. */\n webkitMaskClip: string;\n webkitMaskComposite: string;\n /** @deprecated This is a legacy alias of `maskImage`. */\n webkitMaskImage: string;\n /** @deprecated This is a legacy alias of `maskOrigin`. */\n webkitMaskOrigin: string;\n /** @deprecated This is a legacy alias of `maskPosition`. */\n webkitMaskPosition: string;\n /** @deprecated This is a legacy alias of `maskRepeat`. */\n webkitMaskRepeat: string;\n /** @deprecated This is a legacy alias of `maskSize`. */\n webkitMaskSize: string;\n /** @deprecated This is a legacy alias of `order`. */\n webkitOrder: string;\n /** @deprecated This is a legacy alias of `perspective`. */\n webkitPerspective: string;\n /** @deprecated This is a legacy alias of `perspectiveOrigin`. */\n webkitPerspectiveOrigin: string;\n webkitTextFillColor: string;\n webkitTextStroke: string;\n webkitTextStrokeColor: string;\n webkitTextStrokeWidth: string;\n /** @deprecated This is a legacy alias of `transform`. */\n webkitTransform: string;\n /** @deprecated This is a legacy alias of `transformOrigin`. */\n webkitTransformOrigin: string;\n /** @deprecated This is a legacy alias of `transformStyle`. */\n webkitTransformStyle: string;\n /** @deprecated This is a legacy alias of `transition`. */\n webkitTransition: string;\n /** @deprecated This is a legacy alias of `transitionDelay`. */\n webkitTransitionDelay: string;\n /** @deprecated This is a legacy alias of `transitionDuration`. */\n webkitTransitionDuration: string;\n /** @deprecated This is a legacy alias of `transitionProperty`. */\n webkitTransitionProperty: string;\n /** @deprecated This is a legacy alias of `transitionTimingFunction`. */\n webkitTransitionTimingFunction: string;\n /** @deprecated This is a legacy alias of `userSelect`. */\n webkitUserSelect: string;\n whiteSpace: string;\n widows: string;\n width: string;\n willChange: string;\n wordBreak: string;\n wordSpacing: string;\n /** @deprecated */\n wordWrap: string;\n writingMode: string;\n zIndex: string;\n getPropertyPriority(property: string): string;\n getPropertyValue(property: string): string;\n item(index: number): string;\n removeProperty(property: string): string;\n setProperty(property: string, value: string | null, priority?: string): void;\n [index: number]: string;\n}\n\ndeclare var CSSStyleDeclaration: {\n prototype: CSSStyleDeclaration;\n new(): CSSStyleDeclaration;\n};\n\n/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */\ninterface CSSStyleRule extends CSSRule {\n selectorText: string;\n readonly style: CSSStyleDeclaration;\n}\n\ndeclare var CSSStyleRule: {\n prototype: CSSStyleRule;\n new(): CSSStyleRule;\n};\n\n/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */\ninterface CSSStyleSheet extends StyleSheet {\n readonly cssRules: CSSRuleList;\n readonly ownerRule: CSSRule | null;\n /** @deprecated */\n readonly rules: CSSRuleList;\n /** @deprecated */\n addRule(selector?: string, style?: string, index?: number): number;\n deleteRule(index: number): void;\n insertRule(rule: string, index?: number): number;\n /** @deprecated */\n removeRule(index?: number): void;\n}\n\ndeclare var CSSStyleSheet: {\n prototype: CSSStyleSheet;\n new(options?: CSSStyleSheetInit): CSSStyleSheet;\n};\n\n/** 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). */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n prototype: CSSSupportsRule;\n new(): CSSSupportsRule;\n};\n\ninterface CSSTransition extends Animation {\n readonly transitionProperty: string;\n addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CSSTransition: {\n prototype: CSSTransition;\n new(): CSSTransition;\n};\n\n/**\n * 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.\n * Available only in secure contexts.\n */\ninterface Cache {\n add(request: RequestInfo): Promise;\n addAll(requests: RequestInfo[]): Promise;\n delete(request: RequestInfo, options?: CacheQueryOptions): Promise;\n keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>;\n match(request: RequestInfo, options?: CacheQueryOptions): Promise;\n matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>;\n put(request: RequestInfo, response: Response): Promise;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/**\n * The storage for Cache objects.\n * Available only in secure contexts.\n */\ninterface CacheStorage {\n delete(cacheName: string): Promise;\n has(cacheName: string): Promise;\n keys(): Promise;\n match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise;\n open(cacheName: string): Promise;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: string;\n}\n\ninterface CanvasDrawImage {\n drawImage(image: CanvasImageSource, dx: number, dy: number): void;\n drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;\n drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;\n}\n\ninterface CanvasDrawPath {\n beginPath(): void;\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n fillStyle: string | CanvasGradient | CanvasPattern;\n strokeStyle: string | CanvasGradient | CanvasPattern;\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n filter: string;\n}\n\n/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */\ninterface CanvasGradient {\n /**\n * 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.\n *\n * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n createImageData(imagedata: ImageData): ImageData;\n getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n putImageData(imagedata: ImageData, dx: number, dy: number): void;\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;\n}\n\ninterface CanvasImageSmoothing {\n imageSmoothingEnabled: boolean;\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n closePath(): void;\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n lineTo(x: number, y: number): void;\n moveTo(x: number, y: number): void;\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n rect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasPathDrawingStyles {\n lineCap: CanvasLineCap;\n lineDashOffset: number;\n lineJoin: CanvasLineJoin;\n lineWidth: number;\n miterLimit: number;\n getLineDash(): number[];\n setLineDash(segments: number[]): void;\n}\n\n/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */\ninterface CanvasPattern {\n /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n clearRect(x: number, y: number, w: number, h: number): void;\n fillRect(x: number, y: number, w: number, h: number): void;\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/** 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. */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n readonly canvas: HTMLCanvasElement;\n getContextAttributes(): CanvasRenderingContext2DSettings;\n}\n\ndeclare var CanvasRenderingContext2D: {\n prototype: CanvasRenderingContext2D;\n new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasShadowStyles {\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n restore(): void;\n save(): void;\n}\n\ninterface CanvasText {\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n measureText(text: string): TextMetrics;\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n direction: CanvasDirection;\n font: string;\n textAlign: CanvasTextAlign;\n textBaseline: CanvasTextBaseline;\n}\n\ninterface CanvasTransform {\n getTransform(): DOMMatrix;\n resetTransform(): void;\n rotate(angle: number): void;\n scale(x: number, y: number): void;\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n drawFocusIfNeeded(element: Element): void;\n drawFocusIfNeeded(path: Path2D, element: Element): void;\n}\n\n/** 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. */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n prototype: ChannelMergerNode;\n new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\n\n/** 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. */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n prototype: ChannelSplitterNode;\n new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/** 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. */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n data: string;\n readonly length: number;\n readonly ownerDocument: Document;\n appendData(data: string): void;\n deleteData(offset: number, count: number): void;\n insertData(offset: number, data: string): void;\n replaceData(offset: number, count: number, data: string): void;\n substringData(offset: number, count: number): string;\n}\n\ndeclare var CharacterData: {\n prototype: CharacterData;\n new(): CharacterData;\n};\n\ninterface ChildNode extends Node {\n /**\n * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n after(...nodes: (Node | string)[]): void;\n /**\n * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n before(...nodes: (Node | string)[]): void;\n /** Removes node. */\n remove(): void;\n /**\n * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n */\n replaceWith(...nodes: (Node | string)[]): void;\n}\n\n/** @deprecated */\ninterface ClientRect extends DOMRect {\n}\n\n/** Available only in secure contexts. */\ninterface Clipboard extends EventTarget {\n read(): Promise;\n readText(): Promise;\n write(data: ClipboardItems): Promise;\n writeText(data: string): Promise;\n}\n\ndeclare var Clipboard: {\n prototype: Clipboard;\n new(): Clipboard;\n};\n\n/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */\ninterface ClipboardEvent extends Event {\n readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n prototype: ClipboardEvent;\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\ninterface ClipboardItem {\n readonly types: ReadonlyArray;\n getType(type: string): Promise;\n}\n\ndeclare var ClipboardItem: {\n prototype: ClipboardItem;\n new(items: Record>, options?: ClipboardItemOptions): ClipboardItem;\n};\n\n/** 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. */\ninterface CloseEvent extends Event {\n /** Returns the WebSocket connection close code provided by the server. */\n readonly code: number;\n /** Returns the WebSocket connection close reason provided by the server. */\n readonly reason: string;\n /** Returns true if the connection closed cleanly; false otherwise. */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n prototype: Comment;\n new(data?: string): Comment;\n};\n\n/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */\ninterface CompositionEvent extends UIEvent {\n readonly data: string;\n /** @deprecated */\n initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void;\n}\n\ndeclare var CompositionEvent: {\n prototype: CompositionEvent;\n new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;\n};\n\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n readonly offset: AudioParam;\n addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ConstantSourceNode: {\n prototype: ConstantSourceNode;\n new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode;\n};\n\n/** 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. */\ninterface ConvolverNode extends AudioNode {\n buffer: AudioBuffer | null;\n normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n prototype: ConvolverNode;\n new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */\ninterface CountQueuingStrategy extends QueuingStrategy {\n readonly highWaterMark: number;\n readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/** Available only in secure contexts. */\ninterface Credential {\n readonly id: string;\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\n/** Available only in secure contexts. */\ninterface CredentialsContainer {\n create(options?: CredentialCreationOptions): Promise;\n get(options?: CredentialRequestOptions): Promise;\n preventSilentAccess(): Promise;\n store(credential: Credential): Promise;\n}\n\ndeclare var CredentialsContainer: {\n prototype: CredentialsContainer;\n new(): CredentialsContainer;\n};\n\n/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */\ninterface Crypto {\n /** Available only in secure contexts. */\n readonly subtle: SubtleCrypto;\n getRandomValues(array: T): T;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/**\n * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.\n * Available only in secure contexts.\n */\ninterface CryptoKey {\n readonly algorithm: KeyAlgorithm;\n readonly extractable: boolean;\n readonly type: KeyType;\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\ninterface CustomElementRegistry {\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n get(name: string): CustomElementConstructor | undefined;\n upgrade(root: Node): void;\n whenDefined(name: string): Promise;\n}\n\ndeclare var CustomElementRegistry: {\n prototype: CustomElementRegistry;\n new(): CustomElementRegistry;\n};\n\ninterface CustomEvent extends Event {\n /** Returns any custom data event was created with. Typically used for synthetic events. */\n readonly detail: T;\n /** @deprecated */\n initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;\n}\n\ndeclare var CustomEvent: {\n prototype: CustomEvent;\n new(type: string, eventInitDict?: CustomEventInit): CustomEvent;\n};\n\n/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */\ninterface DOMException extends Error {\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly ABORT_ERR: number;\n readonly DATA_CLONE_ERR: number;\n readonly DOMSTRING_SIZE_ERR: number;\n readonly HIERARCHY_REQUEST_ERR: number;\n readonly INDEX_SIZE_ERR: number;\n readonly INUSE_ATTRIBUTE_ERR: number;\n readonly INVALID_ACCESS_ERR: number;\n readonly INVALID_CHARACTER_ERR: number;\n readonly INVALID_MODIFICATION_ERR: number;\n readonly INVALID_NODE_TYPE_ERR: number;\n readonly INVALID_STATE_ERR: number;\n readonly NAMESPACE_ERR: number;\n readonly NETWORK_ERR: number;\n readonly NOT_FOUND_ERR: number;\n readonly NOT_SUPPORTED_ERR: number;\n readonly NO_DATA_ALLOWED_ERR: number;\n readonly NO_MODIFICATION_ALLOWED_ERR: number;\n readonly QUOTA_EXCEEDED_ERR: number;\n readonly SECURITY_ERR: number;\n readonly SYNTAX_ERR: number;\n readonly TIMEOUT_ERR: number;\n readonly TYPE_MISMATCH_ERR: number;\n readonly URL_MISMATCH_ERR: number;\n readonly VALIDATION_ERR: number;\n readonly WRONG_DOCUMENT_ERR: number;\n};\n\n/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */\ninterface DOMImplementation {\n createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;\n createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\n createHTMLDocument(title?: string): Document;\n /** @deprecated */\n hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n prototype: DOMImplementation;\n new(): DOMImplementation;\n};\n\ninterface DOMMatrix extends DOMMatrixReadOnly {\n a: number;\n b: number;\n c: number;\n d: number;\n e: number;\n f: number;\n m11: number;\n m12: number;\n m13: number;\n m14: number;\n m21: number;\n m22: number;\n m23: number;\n m24: number;\n m31: number;\n m32: number;\n m33: number;\n m34: number;\n m41: number;\n m42: number;\n m43: number;\n m44: number;\n invertSelf(): DOMMatrix;\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n setMatrixValue(transformList: string): DOMMatrix;\n skewXSelf(sx?: number): DOMMatrix;\n skewYSelf(sy?: number): DOMMatrix;\n translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;\n}\n\ndeclare var DOMMatrix: {\n prototype: DOMMatrix;\n new(init?: string | number[]): DOMMatrix;\n fromFloat32Array(array32: Float32Array): DOMMatrix;\n fromFloat64Array(array64: Float64Array): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\ntype SVGMatrix = DOMMatrix;\ndeclare var SVGMatrix: typeof DOMMatrix;\n\ntype WebKitCSSMatrix = DOMMatrix;\ndeclare var WebKitCSSMatrix: typeof DOMMatrix;\n\ninterface DOMMatrixReadOnly {\n readonly a: number;\n readonly b: number;\n readonly c: number;\n readonly d: number;\n readonly e: number;\n readonly f: number;\n readonly is2D: boolean;\n readonly isIdentity: boolean;\n readonly m11: number;\n readonly m12: number;\n readonly m13: number;\n readonly m14: number;\n readonly m21: number;\n readonly m22: number;\n readonly m23: number;\n readonly m24: number;\n readonly m31: number;\n readonly m32: number;\n readonly m33: number;\n readonly m34: number;\n readonly m41: number;\n readonly m42: number;\n readonly m43: number;\n readonly m44: number;\n flipX(): DOMMatrix;\n flipY(): DOMMatrix;\n inverse(): DOMMatrix;\n multiply(other?: DOMMatrixInit): DOMMatrix;\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n skewX(sx?: number): DOMMatrix;\n skewY(sy?: number): DOMMatrix;\n toFloat32Array(): Float32Array;\n toFloat64Array(): Float64Array;\n toJSON(): any;\n transformPoint(point?: DOMPointInit): DOMPoint;\n translate(tx?: number, ty?: number, tz?: number): DOMMatrix;\n toString(): string;\n}\n\ndeclare var DOMMatrixReadOnly: {\n prototype: DOMMatrixReadOnly;\n new(init?: string | number[]): DOMMatrixReadOnly;\n fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n toString(): string;\n};\n\n/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */\ninterface DOMParser {\n /**\n * 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).\n *\n * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.\n *\n * Note that script elements are not evaluated during parsing, and the resulting document\'s encoding will always be UTF-8.\n *\n * Values other than the above for type will cause a TypeError exception to be thrown.\n */\n parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n prototype: DOMParser;\n new(): DOMParser;\n};\n\ninterface DOMPoint extends DOMPointReadOnly {\n w: number;\n x: number;\n y: number;\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\ninterface DOMPointReadOnly {\n readonly w: number;\n readonly x: number;\n readonly y: number;\n readonly z: number;\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\ninterface DOMQuad {\n readonly p1: DOMPoint;\n readonly p2: DOMPoint;\n readonly p3: DOMPoint;\n readonly p4: DOMPoint;\n getBounds(): DOMRect;\n toJSON(): any;\n}\n\ndeclare var DOMQuad: {\n prototype: DOMQuad;\n new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;\n fromQuad(other?: DOMQuadInit): DOMQuad;\n fromRect(other?: DOMRectInit): DOMQuad;\n};\n\ninterface DOMRect extends DOMRectReadOnly {\n height: number;\n width: number;\n x: number;\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\ninterface DOMRectList {\n readonly length: number;\n item(index: number): DOMRect | null;\n [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n prototype: DOMRectList;\n new(): DOMRectList;\n};\n\ninterface DOMRectReadOnly {\n readonly bottom: number;\n readonly height: number;\n readonly left: number;\n readonly right: number;\n readonly top: number;\n readonly width: number;\n readonly x: number;\n readonly y: number;\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/** A type returned by some APIs which contains a list of DOMString (strings). */\ninterface DOMStringList {\n /** Returns the number of strings in strings. */\n readonly length: number;\n /** Returns true if strings contains string, and false otherwise. */\n contains(string: string): boolean;\n /** Returns the string with index index from strings. */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */\ninterface DOMStringMap {\n [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n prototype: DOMStringMap;\n new(): DOMStringMap;\n};\n\n/** 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. */\ninterface DOMTokenList {\n /** Returns the number of tokens. */\n readonly length: number;\n /**\n * Returns the associated set as string.\n *\n * Can be set, to change the associated attribute.\n */\n value: string;\n toString(): string;\n /**\n * Adds all arguments passed, except those already present.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n add(...tokens: string[]): void;\n /** Returns true if token is present, and false otherwise. */\n contains(token: string): boolean;\n /** Returns the token with index index. */\n item(index: number): string | null;\n /**\n * Removes arguments passed, if they are present.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n remove(...tokens: string[]): void;\n /**\n * Replaces token with newToken.\n *\n * Returns true if token was replaced with newToken, and false otherwise.\n *\n * Throws a "SyntaxError" DOMException if one of the arguments is the empty string.\n *\n * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.\n */\n replace(token: string, newToken: string): boolean;\n /**\n * Returns true if token is in the associated attribute\'s supported tokens. Returns false otherwise.\n *\n * Throws a TypeError if the associated attribute has no supported tokens defined.\n */\n supports(token: string): boolean;\n /**\n * 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()).\n *\n * Returns true if token is now present, and false otherwise.\n *\n * Throws a "SyntaxError" DOMException if token is empty.\n *\n * Throws an "InvalidCharacterError" DOMException if token contains any spaces.\n */\n toggle(token: string, force?: boolean): boolean;\n forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;\n [index: number]: string;\n}\n\ndeclare var DOMTokenList: {\n prototype: DOMTokenList;\n new(): DOMTokenList;\n};\n\n/** 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. */\ninterface DataTransfer {\n /**\n * 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.\n *\n * Can be set, to change the selected operation.\n *\n * The possible values are "none", "copy", "link", and "move".\n */\n dropEffect: "none" | "copy" | "link" | "move";\n /**\n * Returns the kinds of operations that are to be allowed.\n *\n * Can be set (during the dragstart event), to change the allowed operations.\n *\n * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",\n */\n effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";\n /** Returns a FileList of the files being dragged, if any. */\n readonly files: FileList;\n /** Returns a DataTransferItemList object, with the drag data. */\n readonly items: DataTransferItemList;\n /** 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". */\n readonly types: ReadonlyArray;\n /** Removes the data of the specified formats. Removes all data if the argument is omitted. */\n clearData(format?: string): void;\n /** Returns the specified data. If there is no such data, returns the empty string. */\n getData(format: string): string;\n /** Adds the specified data. */\n setData(format: string, data: string): void;\n /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */\n setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n prototype: DataTransfer;\n new(): DataTransfer;\n};\n\n/** 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. */\ninterface DataTransferItem {\n /** Returns the drag data item kind, one of: "string", "file". */\n readonly kind: string;\n /** Returns the drag data item type string. */\n readonly type: string;\n /** Returns a File object, if the drag data item kind is File. */\n getAsFile(): File | null;\n /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */\n getAsString(callback: FunctionStringCallback | null): void;\n webkitGetAsEntry(): FileSystemEntry | null;\n}\n\ndeclare var DataTransferItem: {\n prototype: DataTransferItem;\n new(): DataTransferItem;\n};\n\n/** 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. */\ninterface DataTransferItemList {\n /** Returns the number of items in the drag data store. */\n readonly length: number;\n /** 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. */\n add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /** Removes all the entries in the drag data store. */\n clear(): void;\n /** Removes the indexth entry in the drag data store. */\n remove(index: number): void;\n [index: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n prototype: DataTransferItemList;\n new(): DataTransferItemList;\n};\n\n/** 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. */\ninterface DelayNode extends AudioNode {\n readonly delayTime: AudioParam;\n}\n\ndeclare var DelayNode: {\n prototype: DelayNode;\n new(context: BaseAudioContext, options?: DelayOptions): DelayNode;\n};\n\n/**\n * The DeviceMotionEvent provides web developers with information about the speed of changes for the device\'s position and orientation.\n * Available only in secure contexts.\n */\ninterface DeviceMotionEvent extends Event {\n readonly acceleration: DeviceMotionEventAcceleration | null;\n readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n readonly interval: number;\n readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n prototype: DeviceMotionEvent;\n new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n};\n\n/** Available only in secure contexts. */\ninterface DeviceMotionEventAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\n/** Available only in secure contexts. */\ninterface DeviceMotionEventRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\n/**\n * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.\n * Available only in secure contexts.\n */\ninterface DeviceOrientationEvent extends Event {\n readonly absolute: boolean;\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\ndeclare var DeviceOrientationEvent: {\n prototype: DeviceOrientationEvent;\n new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;\n};\n\ninterface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n "pointerlockchange": Event;\n "pointerlockerror": Event;\n "readystatechange": Event;\n "visibilitychange": Event;\n}\n\n/** Any web page loaded in the browser and serves as an entry point into the web page\'s content, which is the DOM tree. */\ninterface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /** Sets or gets the URL for the current document. */\n readonly URL: string;\n /**\n * Sets or gets the color of all active links in the document.\n * @deprecated\n */\n alinkColor: string;\n /**\n * Returns a reference to the collection of elements contained by the object.\n * @deprecated\n */\n readonly all: HTMLAllCollection;\n /**\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\n * @deprecated\n */\n readonly anchors: HTMLCollectionOf;\n /**\n * Retrieves a collection of all applet objects in the document.\n * @deprecated\n */\n readonly applets: HTMLCollection;\n /**\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object.\n * @deprecated\n */\n bgColor: string;\n /** Specifies the beginning and end of the document body. */\n body: HTMLElement;\n /** Returns document\'s encoding. */\n readonly characterSet: string;\n /**\n * Gets or sets the character set used to encode the object.\n * @deprecated This is a legacy alias of `characterSet`.\n */\n readonly charset: string;\n /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */\n readonly compatMode: string;\n /** Returns document\'s content type. */\n readonly contentType: string;\n /**\n * 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.\n *\n * Can be set, to add a new cookie to the element\'s set of HTTP cookies.\n *\n * 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.\n */\n cookie: string;\n /**\n * 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.\n *\n * 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.\n */\n readonly currentScript: HTMLOrSVGScriptElement | null;\n /** Returns the Window object of the active document. */\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /** Sets or gets a value that indicates whether the document can be edited. */\n designMode: string;\n /** Sets or retrieves a value that indicates the reading order of the object. */\n dir: string;\n /** Gets an object representing the document type declaration associated with the current document. */\n readonly doctype: DocumentType | null;\n /** Gets a reference to the root node of the document. */\n readonly documentElement: HTMLElement;\n /** Returns document\'s URL. */\n readonly documentURI: string;\n /** Sets or gets the security domain of the document. */\n domain: string;\n /** Retrieves a collection of all embed objects in the document. */\n readonly embeds: HTMLCollectionOf;\n /**\n * Sets or gets the foreground (text) color of the document.\n * @deprecated\n */\n fgColor: string;\n /** Retrieves a collection, in source order, of all form objects in the document. */\n readonly forms: HTMLCollectionOf;\n /** @deprecated */\n readonly fullscreen: boolean;\n /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */\n readonly fullscreenEnabled: boolean;\n /** Returns the head element. */\n readonly head: HTMLHeadElement;\n readonly hidden: boolean;\n /** Retrieves a collection, in source order, of img objects in the document. */\n readonly images: HTMLCollectionOf;\n /** Gets the implementation object of the current document. */\n readonly implementation: DOMImplementation;\n /**\n * Returns the character encoding used to create the webpage that is loaded into the document object.\n * @deprecated This is a legacy alias of `characterSet`.\n */\n readonly inputEncoding: string;\n /** Gets the date that the page was last modified, if the page supplies one. */\n readonly lastModified: string;\n /**\n * Sets or gets the color of the document links.\n * @deprecated\n */\n linkColor: string;\n /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */\n readonly links: HTMLCollectionOf;\n /** Contains information about the current URL. */\n get location(): Location;\n set location(href: string | Location);\n onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n /**\n * Fires when the state of the object has changed.\n * @param ev The event\n */\n onreadystatechange: ((this: Document, ev: Event) => any) | null;\n onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n readonly ownerDocument: null;\n readonly pictureInPictureEnabled: boolean;\n /** Return an HTMLCollection of the embed elements in the Document. */\n readonly plugins: HTMLCollectionOf;\n /** Retrieves a value that indicates the current state of the object. */\n readonly readyState: DocumentReadyState;\n /** Gets the URL of the location that referred the user to the current page. */\n readonly referrer: string;\n /** @deprecated */\n readonly rootElement: SVGSVGElement | null;\n /** Retrieves a collection of all script objects in the document. */\n readonly scripts: HTMLCollectionOf;\n readonly scrollingElement: Element | null;\n readonly timeline: DocumentTimeline;\n /** Contains the title of the document. */\n title: string;\n readonly visibilityState: VisibilityState;\n /**\n * Sets or gets the color of the links that the user has visited.\n * @deprecated\n */\n vlinkColor: string;\n /**\n * Moves node from another document and returns it.\n *\n * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.\n */\n adoptNode(node: T): T;\n /** @deprecated */\n captureEvents(): void;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range | null;\n /** @deprecated */\n clear(): void;\n /** Closes an output stream and forces the sent data to display. */\n close(): void;\n /**\n * Creates an attribute object with a specified name.\n * @param name String that sets the attribute object\'s name.\n */\n createAttribute(localName: string): Attr;\n createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n /** Returns a CDATASection node whose data is data. */\n createCDATASection(data: string): CDATASection;\n /**\n * Creates a comment object with the specified data.\n * @param data Sets the comment object\'s data.\n */\n createComment(data: string): Comment;\n /** Creates a new document. */\n createDocumentFragment(): DocumentFragment;\n /**\n * Creates an instance of the element for the specified tag.\n * @param tagName The name of an element.\n */\n createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K];\n /** @deprecated */\n createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];\n createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;\n /**\n * 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.\n *\n * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.\n *\n * If one of the following conditions is true a "NamespaceError" DOMException will be thrown:\n *\n * localName does not match the QName production.\n * Namespace prefix is not null and namespace is the empty string.\n * Namespace prefix is "xml" and namespace is not the XML namespace.\n * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.\n * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".\n *\n * When supplied, options\'s is can be used to create a customized built-in element.\n */\n createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;\n createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K];\n createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement;\n createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;\n createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;\n createEvent(eventInterface: "AnimationEvent"): AnimationEvent;\n createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;\n createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;\n createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;\n createEvent(eventInterface: "BlobEvent"): BlobEvent;\n createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;\n createEvent(eventInterface: "CloseEvent"): CloseEvent;\n createEvent(eventInterface: "CompositionEvent"): CompositionEvent;\n createEvent(eventInterface: "CustomEvent"): CustomEvent;\n createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;\n createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;\n createEvent(eventInterface: "DragEvent"): DragEvent;\n createEvent(eventInterface: "ErrorEvent"): ErrorEvent;\n createEvent(eventInterface: "FocusEvent"): FocusEvent;\n createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;\n createEvent(eventInterface: "FormDataEvent"): FormDataEvent;\n createEvent(eventInterface: "GamepadEvent"): GamepadEvent;\n createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;\n createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;\n createEvent(eventInterface: "InputEvent"): InputEvent;\n createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\n createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;\n createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;\n createEvent(eventInterface: "MessageEvent"): MessageEvent;\n createEvent(eventInterface: "MouseEvent"): MouseEvent;\n createEvent(eventInterface: "MouseEvents"): MouseEvent;\n createEvent(eventInterface: "MutationEvent"): MutationEvent;\n createEvent(eventInterface: "MutationEvents"): MutationEvent;\n createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;\n createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;\n createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;\n createEvent(eventInterface: "PointerEvent"): PointerEvent;\n createEvent(eventInterface: "PopStateEvent"): PopStateEvent;\n createEvent(eventInterface: "ProgressEvent"): ProgressEvent;\n createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;\n createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;\n createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;\n createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;\n createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;\n createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;\n createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;\n createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;\n createEvent(eventInterface: "StorageEvent"): StorageEvent;\n createEvent(eventInterface: "SubmitEvent"): SubmitEvent;\n createEvent(eventInterface: "TouchEvent"): TouchEvent;\n createEvent(eventInterface: "TrackEvent"): TrackEvent;\n createEvent(eventInterface: "TransitionEvent"): TransitionEvent;\n createEvent(eventInterface: "UIEvent"): UIEvent;\n createEvent(eventInterface: "UIEvents"): UIEvent;\n createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;\n createEvent(eventInterface: "WheelEvent"): WheelEvent;\n createEvent(eventInterface: string): Event;\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\n */\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n /** 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. */\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */\n createRange(): Range;\n /**\n * Creates a text string from the specified value.\n * @param data String that specifies the nodeValue property of the text node.\n */\n createTextNode(data: string): Text;\n /**\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\n * @param root The root element or node to start traversing on.\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\n * @param filter A custom NodeFilter function to use.\n */\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n /**\n * Executes a command on the current document, current selection, or the given range.\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\n * @param showUI Display the user interface, defaults to false.\n * @param value Value to assign.\n * @deprecated\n */\n execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n /** Stops document\'s fullscreen element from being displayed fullscreen and resolves promise when done. */\n exitFullscreen(): Promise;\n exitPictureInPicture(): Promise;\n exitPointerLock(): void;\n /**\n * Returns a reference to the first object with the specified value of the ID attribute.\n * @param elementId String that specifies the ID value.\n */\n getElementById(elementId: string): HTMLElement | null;\n /** 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. */\n getElementsByClassName(classNames: string): HTMLCollectionOf;\n /**\n * Gets a collection of objects based on the value of the NAME or ID attribute.\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\n */\n getElementsByName(elementName: string): NodeListOf;\n /**\n * Retrieves a collection of objects based on the specified element name.\n * @param name Specifies the name of an element.\n */\n getElementsByTagName(qualifiedName: K): HTMLCollectionOf;\n getElementsByTagName(qualifiedName: K): HTMLCollectionOf;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf;\n /**\n * If namespace and localName are "*" returns a HTMLCollection of all descendant elements.\n *\n * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.\n *\n * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.\n *\n * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.\n */\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf;\n /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */\n getSelection(): Selection | null;\n /** Gets a value indicating whether the object currently has focus. */\n hasFocus(): boolean;\n hasStorageAccess(): Promise;\n /**\n * Returns a copy of node. If deep is true, the copy also includes the node\'s descendants.\n *\n * If node is a document or a shadow root, throws a "NotSupportedError" DOMException.\n */\n importNode(node: T, deep?: boolean): T;\n /**\n * 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.\n * @param url Specifies a MIME type for the document.\n * @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.\n * @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.\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\n */\n open(unused1?: string, unused2?: string): Document;\n open(url: string | URL, name: string, features: string): WindowProxy | null;\n /**\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\n * @param commandId Specifies a command identifier.\n * @deprecated\n */\n queryCommandEnabled(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandIndeterm(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates the current state of the command.\n * @param commandId String that specifies a command identifier.\n * @deprecated\n */\n queryCommandState(commandId: string): boolean;\n /**\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\n * @param commandId Specifies a command identifier.\n * @deprecated\n */\n queryCommandSupported(commandId: string): boolean;\n /**\n * Returns the current value of the document, range, or current selection for the given command.\n * @param commandId String that specifies a command identifier.\n */\n queryCommandValue(commandId: string): string;\n /** @deprecated */\n releaseEvents(): void;\n requestStorageAccess(): Promise;\n /**\n * Writes one or more HTML expressions to a document in the specified window.\n * @param content Specifies the text and HTML tags to write.\n */\n write(...text: string[]): void;\n /**\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.\n * @param content The text and HTML tags to write.\n */\n writeln(...text: string[]): void;\n addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Document: {\n prototype: Document;\n new(): Document;\n};\n\ninterface DocumentAndElementEventHandlersEventMap {\n "copy": ClipboardEvent;\n "cut": ClipboardEvent;\n "paste": ClipboardEvent;\n}\n\ninterface DocumentAndElementEventHandlers {\n oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\n/** 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. */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n readonly ownerDocument: Document;\n getElementById(elementId: string): HTMLElement | null;\n}\n\ndeclare var DocumentFragment: {\n prototype: DocumentFragment;\n new(): DocumentFragment;\n};\n\ninterface DocumentOrShadowRoot {\n /**\n * 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.\n *\n * 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.\n *\n * 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.\n */\n readonly activeElement: Element | null;\n /** Returns document\'s fullscreen element. */\n readonly fullscreenElement: Element | null;\n readonly pictureInPictureElement: Element | null;\n readonly pointerLockElement: Element | null;\n /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */\n readonly styleSheets: StyleSheetList;\n /**\n * Returns the element for the specified x coordinate and the specified y coordinate.\n * @param x The x-offset\n * @param y The y-offset\n */\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n getAnimations(): Animation[];\n}\n\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n prototype: DocumentTimeline;\n new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/** A Node containing a doctype. */\ninterface DocumentType extends Node, ChildNode {\n readonly name: string;\n readonly ownerDocument: Document;\n readonly publicId: string;\n readonly systemId: string;\n}\n\ndeclare var DocumentType: {\n prototype: DocumentType;\n new(): DocumentType;\n};\n\n/** 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. */\ninterface DragEvent extends MouseEvent {\n /** Returns the DataTransfer object for the event. */\n readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n prototype: DragEvent;\n new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/** Inherits properties from its parent, AudioNode. */\ninterface DynamicsCompressorNode extends AudioNode {\n readonly attack: AudioParam;\n readonly knee: AudioParam;\n readonly ratio: AudioParam;\n readonly reduction: number;\n readonly release: AudioParam;\n readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n prototype: DynamicsCompressorNode;\n new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\ninterface EXT_blend_minmax {\n readonly MAX_EXT: GLenum;\n readonly MIN_EXT: GLenum;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n readonly RGB16F_EXT: GLenum;\n readonly RGBA16F_EXT: GLenum;\n readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface EXT_float_blend {\n}\n\n/** 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. */\ninterface EXT_frag_depth {\n}\n\ninterface EXT_sRGB {\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n readonly SRGB8_ALPHA8_EXT: GLenum;\n readonly SRGB_ALPHA_EXT: GLenum;\n readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_rgtc {\n readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_RED_RGTC1_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;\n readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;\n}\n\n/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */\ninterface EXT_texture_filter_anisotropic {\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n}\n\ninterface ElementEventMap {\n "fullscreenchange": Event;\n "fullscreenerror": Event;\n}\n\n/** 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. */\ninterface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {\n readonly attributes: NamedNodeMap;\n /** Allows for manipulation of element\'s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */\n readonly classList: DOMTokenList;\n /** Returns the value of element\'s class content attribute. Can be set to change it. */\n className: string;\n readonly clientHeight: number;\n readonly clientLeft: number;\n readonly clientTop: number;\n readonly clientWidth: number;\n /** Returns the value of element\'s id content attribute. Can be set to change it. */\n id: string;\n /** Returns the local name. */\n readonly localName: string;\n /** Returns the namespace. */\n readonly namespaceURI: string | null;\n onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n outerHTML: string;\n readonly ownerDocument: Document;\n readonly part: DOMTokenList;\n /** Returns the namespace prefix. */\n readonly prefix: string | null;\n readonly scrollHeight: number;\n scrollLeft: number;\n scrollTop: number;\n readonly scrollWidth: number;\n /** Returns element\'s shadow root, if any, and if shadow root\'s mode is "open", and null otherwise. */\n readonly shadowRoot: ShadowRoot | null;\n /** Returns the value of element\'s slot content attribute. Can be set to change it. */\n slot: string;\n /** Returns the HTML-uppercased qualified name. */\n readonly tagName: string;\n /** Creates a shadow root for element and returns it. */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */\n closest(selector: K): HTMLElementTagNameMap[K] | null;\n closest(selector: K): SVGElementTagNameMap[K] | null;\n closest(selectors: string): E | null;\n /** Returns element\'s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */\n getAttribute(qualifiedName: string): string | null;\n /** Returns element\'s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /** Returns the qualified names of all element\'s attributes. Can contain duplicates. */\n getAttributeNames(): string[];\n getAttributeNode(qualifiedName: string): Attr | null;\n getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;\n getBoundingClientRect(): DOMRect;\n getClientRects(): DOMRectList;\n /** 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. */\n getElementsByClassName(classNames: string): HTMLCollectionOf;\n getElementsByTagName(qualifiedName: K): HTMLCollectionOf;\n getElementsByTagName(qualifiedName: K): HTMLCollectionOf;\n getElementsByTagName(qualifiedName: string): HTMLCollectionOf;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf;\n getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf;\n /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */\n hasAttribute(qualifiedName: string): boolean;\n /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /** Returns true if element has attributes, and false otherwise. */\n hasAttributes(): boolean;\n hasPointerCapture(pointerId: number): boolean;\n insertAdjacentElement(where: InsertPosition, element: Element): Element | null;\n insertAdjacentHTML(position: InsertPosition, text: string): void;\n insertAdjacentText(where: InsertPosition, data: string): void;\n /** Returns true if matching selectors against element\'s root yields element, and false otherwise. */\n matches(selectors: string): boolean;\n releasePointerCapture(pointerId: number): void;\n /** Removes element\'s first attribute whose qualified name is qualifiedName. */\n removeAttribute(qualifiedName: string): void;\n /** Removes element\'s attribute whose namespace is namespace and local name is localName. */\n removeAttributeNS(namespace: string | null, localName: string): void;\n removeAttributeNode(attr: Attr): Attr;\n /**\n * Displays element fullscreen and resolves promise when done.\n *\n * 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.\n */\n requestFullscreen(options?: FullscreenOptions): Promise;\n requestPointerLock(): void;\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /** Sets the value of element\'s first attribute whose qualified name is qualifiedName to value. */\n setAttribute(qualifiedName: string, value: string): void;\n /** Sets the value of element\'s attribute whose namespace is namespace and local name is localName to value. */\n setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n setAttributeNode(attr: Attr): Attr | null;\n setAttributeNodeNS(attr: Attr): Attr | null;\n setPointerCapture(pointerId: number): void;\n /**\n * 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.\n *\n * Returns true if qualifiedName is now present, and false otherwise.\n */\n toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n /** @deprecated This is a legacy alias of `matches`. */\n webkitMatchesSelector(selectors: string): boolean;\n addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Element: {\n prototype: Element;\n new(): Element;\n};\n\ninterface ElementCSSInlineStyle {\n readonly style: CSSStyleDeclaration;\n}\n\ninterface ElementContentEditable {\n contentEditable: string;\n enterKeyHint: string;\n inputMode: string;\n readonly isContentEditable: boolean;\n}\n\ninterface ElementInternals extends ARIAMixin {\n /** Returns the ShadowRoot for internals\'s target element, if the target element is a shadow host, or null otherwise. */\n readonly shadowRoot: ShadowRoot | null;\n}\n\ndeclare var ElementInternals: {\n prototype: ElementInternals;\n new(): ElementInternals;\n};\n\n/** Events providing information related to errors in scripts or in files. */\ninterface ErrorEvent extends Event {\n readonly colno: number;\n readonly error: any;\n readonly filename: string;\n readonly lineno: number;\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/** An event which takes place in the DOM. */\ninterface Event {\n /** 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. */\n readonly bubbles: boolean;\n cancelBubble: boolean;\n /** 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. */\n readonly cancelable: boolean;\n /** 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. */\n readonly composed: boolean;\n /** Returns the object whose event listener\'s callback is currently being invoked. */\n readonly currentTarget: EventTarget | null;\n /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */\n readonly defaultPrevented: boolean;\n /** Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */\n readonly eventPhase: number;\n /** Returns true if event was dispatched by the user agent, and false otherwise. */\n readonly isTrusted: boolean;\n /** @deprecated */\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /** Returns the object to which event is dispatched (its target). */\n readonly target: EventTarget | null;\n /** Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin. */\n readonly timeStamp: DOMHighResTimeStamp;\n /** Returns the type of event, e.g. "click", "hashchange", or "submit". */\n readonly type: string;\n /** 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. */\n composedPath(): EventTarget[];\n /** @deprecated */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /** 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. */\n preventDefault(): void;\n /** 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. */\n stopImmediatePropagation(): void;\n /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */\n stopPropagation(): void;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly AT_TARGET: number;\n readonly BUBBLING_PHASE: number;\n readonly CAPTURING_PHASE: number;\n readonly NONE: number;\n};\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ninterface EventListenerObject {\n handleEvent(object: Event): void;\n}\n\ninterface EventSourceEventMap {\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\ninterface EventSource extends EventTarget {\n onerror: ((this: EventSource, ev: Event) => any) | null;\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /** Returns the state of this EventSource object\'s connection. It can have the values described below. */\n readonly readyState: number;\n /** Returns the URL providing the event stream. */\n readonly url: string;\n /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */\n readonly withCredentials: boolean;\n /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */\n close(): void;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n prototype: EventSource;\n new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n readonly CLOSED: number;\n readonly CONNECTING: number;\n readonly OPEN: number;\n};\n\n/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */\ninterface EventTarget {\n /**\n * 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.\n *\n * 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.\n *\n * 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.\n *\n * When set to true, options\'s passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.\n *\n * When set to true, options\'s once indicates that the callback will only be invoked once after which the event listener will be removed.\n *\n * If an AbortSignal is passed for options\'s signal, then the event listener will be removed when signal is aborted.\n *\n * The event listener is appended to target\'s event listener list and is not appended if it has the same type, callback, and capture.\n */\n addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n /** 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. */\n dispatchEvent(event: Event): boolean;\n /** Removes the event listener in target\'s event listener list with the same type, callback, and options. */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** @deprecated */\ninterface External {\n /** @deprecated */\n AddSearchProvider(): void;\n /** @deprecated */\n IsSearchProviderInstalled(): void;\n}\n\n/** @deprecated */\ndeclare var External: {\n prototype: External;\n new(): External;\n};\n\n/** Provides information about files and allows JavaScript in a web page to access their content. */\ninterface File extends Blob {\n readonly lastModified: number;\n readonly name: string;\n readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/** 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. */\ninterface FileList {\n readonly length: number;\n item(index: number): File | null;\n [index: number]: File;\n}\n\ndeclare var FileList: {\n prototype: FileList;\n new(): FileList;\n};\n\ninterface FileReaderEventMap {\n "abort": ProgressEvent;\n "error": ProgressEvent;\n "load": ProgressEvent;\n "loadend": ProgressEvent;\n "loadstart": ProgressEvent;\n "progress": ProgressEvent;\n}\n\n/** 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. */\ninterface FileReader extends EventTarget {\n readonly error: DOMException | null;\n onabort: ((this: FileReader, ev: ProgressEvent) => any) | null;\n onerror: ((this: FileReader, ev: ProgressEvent) => any) | null;\n onload: ((this: FileReader, ev: ProgressEvent) => any) | null;\n onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null;\n onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null;\n onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null;\n readonly readyState: number;\n readonly result: string | ArrayBuffer | null;\n abort(): void;\n readAsArrayBuffer(blob: Blob): void;\n readAsBinaryString(blob: Blob): void;\n readAsDataURL(blob: Blob): void;\n readAsText(blob: Blob, encoding?: string): void;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FileReader: {\n prototype: FileReader;\n new(): FileReader;\n readonly DONE: number;\n readonly EMPTY: number;\n readonly LOADING: number;\n};\n\ninterface FileSystem {\n readonly name: string;\n readonly root: FileSystemDirectoryEntry;\n}\n\ndeclare var FileSystem: {\n prototype: FileSystem;\n new(): FileSystem;\n};\n\ninterface FileSystemDirectoryEntry extends FileSystemEntry {\n createReader(): FileSystemDirectoryReader;\n getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryEntry: {\n prototype: FileSystemDirectoryEntry;\n new(): FileSystemDirectoryEntry;\n};\n\ninterface FileSystemDirectoryReader {\n readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryReader: {\n prototype: FileSystemDirectoryReader;\n new(): FileSystemDirectoryReader;\n};\n\ninterface FileSystemEntry {\n readonly filesystem: FileSystem;\n readonly fullPath: string;\n readonly isDirectory: boolean;\n readonly isFile: boolean;\n readonly name: string;\n getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemEntry: {\n prototype: FileSystemEntry;\n new(): FileSystemEntry;\n};\n\ninterface FileSystemFileEntry extends FileSystemEntry {\n file(successCallback: FileCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemFileEntry: {\n prototype: FileSystemFileEntry;\n new(): FileSystemFileEntry;\n};\n\n/** Focus-related events like focus, blur, focusin, or focusout. */\ninterface FocusEvent extends UIEvent {\n readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n prototype: FocusEvent;\n new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\ninterface FontFace {\n ascentOverride: string;\n descentOverride: string;\n display: string;\n family: string;\n featureSettings: string;\n lineGapOverride: string;\n readonly loaded: Promise;\n readonly status: FontFaceLoadStatus;\n stretch: string;\n style: string;\n unicodeRange: string;\n variant: string;\n variationSettings: string;\n weight: string;\n load(): Promise;\n}\n\ndeclare var FontFace: {\n prototype: FontFace;\n new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n "loading": Event;\n "loadingdone": Event;\n "loadingerror": Event;\n}\n\ninterface FontFaceSet extends EventTarget {\n onloading: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null;\n onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null;\n readonly ready: Promise;\n readonly status: FontFaceSetLoadStatus;\n check(font: string, text?: string): boolean;\n load(font: string, text?: string): Promise;\n forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void;\n addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var FontFaceSet: {\n prototype: FontFaceSet;\n new(initialFaces: FontFace[]): FontFaceSet;\n};\n\ninterface FontFaceSetLoadEvent extends Event {\n readonly fontfaces: ReadonlyArray;\n}\n\ndeclare var FontFaceSetLoadEvent: {\n prototype: FontFaceSetLoadEvent;\n new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent;\n};\n\ninterface FontFaceSource {\n readonly fonts: FontFaceSet;\n}\n\n/** 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". */\ninterface FormData {\n append(name: string, value: string | Blob, fileName?: string): void;\n delete(name: string): void;\n get(name: string): FormDataEntryValue | null;\n getAll(name: string): FormDataEntryValue[];\n has(name: string): boolean;\n set(name: string, value: string | Blob, fileName?: string): void;\n forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;\n}\n\ndeclare var FormData: {\n prototype: FormData;\n new(form?: HTMLFormElement): FormData;\n};\n\ninterface FormDataEvent extends Event {\n /** 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. */\n readonly formData: FormData;\n}\n\ndeclare var FormDataEvent: {\n prototype: FormDataEvent;\n new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;\n};\n\n/** 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. */\ninterface GainNode extends AudioNode {\n readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n prototype: GainNode;\n new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/**\n * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.\n * Available only in secure contexts.\n */\ninterface Gamepad {\n readonly axes: ReadonlyArray;\n readonly buttons: ReadonlyArray;\n readonly connected: boolean;\n readonly hapticActuators: ReadonlyArray;\n readonly id: string;\n readonly index: number;\n readonly mapping: GamepadMappingType;\n readonly timestamp: DOMHighResTimeStamp;\n}\n\ndeclare var Gamepad: {\n prototype: Gamepad;\n new(): Gamepad;\n};\n\n/**\n * 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.\n * Available only in secure contexts.\n */\ninterface GamepadButton {\n readonly pressed: boolean;\n readonly touched: boolean;\n readonly value: number;\n}\n\ndeclare var GamepadButton: {\n prototype: GamepadButton;\n new(): GamepadButton;\n};\n\n/**\n * 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.\n * Available only in secure contexts.\n */\ninterface GamepadEvent extends Event {\n readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n prototype: GamepadEvent;\n new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */\ninterface GamepadHapticActuator {\n readonly type: GamepadHapticActuatorType;\n}\n\ndeclare var GamepadHapticActuator: {\n prototype: GamepadHapticActuator;\n new(): GamepadHapticActuator;\n};\n\ninterface GenericTransformStream {\n readonly readable: ReadableStream;\n readonly writable: WritableStream;\n}\n\n/** 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. */\ninterface Geolocation {\n clearWatch(watchId: number): void;\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void;\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number;\n}\n\ndeclare var Geolocation: {\n prototype: Geolocation;\n new(): Geolocation;\n};\n\n/** Available only in secure contexts. */\ninterface GeolocationCoordinates {\n readonly accuracy: number;\n readonly altitude: number | null;\n readonly altitudeAccuracy: number | null;\n readonly heading: number | null;\n readonly latitude: number;\n readonly longitude: number;\n readonly speed: number | null;\n}\n\ndeclare var GeolocationCoordinates: {\n prototype: GeolocationCoordinates;\n new(): GeolocationCoordinates;\n};\n\n/** Available only in secure contexts. */\ninterface GeolocationPosition {\n readonly coords: GeolocationCoordinates;\n readonly timestamp: DOMTimeStamp;\n}\n\ndeclare var GeolocationPosition: {\n prototype: GeolocationPosition;\n new(): GeolocationPosition;\n};\n\ninterface GeolocationPositionError {\n readonly code: number;\n readonly message: string;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n}\n\ndeclare var GeolocationPositionError: {\n prototype: GeolocationPositionError;\n new(): GeolocationPositionError;\n readonly PERMISSION_DENIED: number;\n readonly POSITION_UNAVAILABLE: number;\n readonly TIMEOUT: number;\n};\n\ninterface GlobalEventHandlersEventMap {\n "abort": UIEvent;\n "animationcancel": AnimationEvent;\n "animationend": AnimationEvent;\n "animationiteration": AnimationEvent;\n "animationstart": AnimationEvent;\n "auxclick": MouseEvent;\n "beforeinput": InputEvent;\n "blur": FocusEvent;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": MouseEvent;\n "close": Event;\n "compositionend": CompositionEvent;\n "compositionstart": CompositionEvent;\n "compositionupdate": CompositionEvent;\n "contextmenu": MouseEvent;\n "cuechange": Event;\n "dblclick": MouseEvent;\n "drag": DragEvent;\n "dragend": DragEvent;\n "dragenter": DragEvent;\n "dragleave": DragEvent;\n "dragover": DragEvent;\n "dragstart": DragEvent;\n "drop": DragEvent;\n "durationchange": Event;\n "emptied": Event;\n "ended": Event;\n "error": ErrorEvent;\n "focus": FocusEvent;\n "focusin": FocusEvent;\n "focusout": FocusEvent;\n "formdata": FormDataEvent;\n "gotpointercapture": PointerEvent;\n "input": Event;\n "invalid": Event;\n "keydown": KeyboardEvent;\n "keypress": KeyboardEvent;\n "keyup": KeyboardEvent;\n "load": Event;\n "loadeddata": Event;\n "loadedmetadata": Event;\n "loadstart": Event;\n "lostpointercapture": PointerEvent;\n "mousedown": MouseEvent;\n "mouseenter": MouseEvent;\n "mouseleave": MouseEvent;\n "mousemove": MouseEvent;\n "mouseout": MouseEvent;\n "mouseover": MouseEvent;\n "mouseup": MouseEvent;\n "pause": Event;\n "play": Event;\n "playing": Event;\n "pointercancel": PointerEvent;\n "pointerdown": PointerEvent;\n "pointerenter": PointerEvent;\n "pointerleave": PointerEvent;\n "pointermove": PointerEvent;\n "pointerout": PointerEvent;\n "pointerover": PointerEvent;\n "pointerup": PointerEvent;\n "progress": ProgressEvent;\n "ratechange": Event;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "securitypolicyviolation": SecurityPolicyViolationEvent;\n "seeked": Event;\n "seeking": Event;\n "select": Event;\n "selectionchange": Event;\n "selectstart": Event;\n "stalled": Event;\n "submit": SubmitEvent;\n "suspend": Event;\n "timeupdate": Event;\n "toggle": Event;\n "touchcancel": TouchEvent;\n "touchend": TouchEvent;\n "touchmove": TouchEvent;\n "touchstart": TouchEvent;\n "transitioncancel": TransitionEvent;\n "transitionend": TransitionEvent;\n "transitionrun": TransitionEvent;\n "transitionstart": TransitionEvent;\n "volumechange": Event;\n "waiting": Event;\n "webkitanimationend": Event;\n "webkitanimationiteration": Event;\n "webkitanimationstart": Event;\n "webkittransitionend": Event;\n "wheel": WheelEvent;\n}\n\ninterface GlobalEventHandlers {\n /**\n * Fires when the user aborts the download.\n * @param ev The event.\n */\n onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the object loses the input focus.\n * @param ev The focus event.\n */\n onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n /**\n * Occurs when playback is possible, but would require further buffering.\n * @param ev The event.\n */\n oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the contents of the object or selection have changed.\n * @param ev The event.\n */\n onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the left mouse button on the object\n * @param ev The mouse event.\n */\n onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user clicks the right mouse button in the client area, opening the context menu.\n * @param ev The mouse event.\n */\n oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user double-clicks the object.\n * @param ev The mouse event.\n */\n ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires on the source object continuously during a drag operation.\n * @param ev The event.\n */\n ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\n * @param ev The event.\n */\n ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element when the user drags the object to a valid drop target.\n * @param ev The drag event.\n */\n ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\n * @param ev The drag event.\n */\n ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the target element continuously while the user drags the object over a valid drop target.\n * @param ev The event.\n */\n ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Fires on the source object when the user starts to drag a text selection or selected object.\n * @param ev The event.\n */\n ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /**\n * Occurs when the duration attribute is updated.\n * @param ev The event.\n */\n ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the media element is reset to its initial state.\n * @param ev The event.\n */\n onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the end of playback is reached.\n * @param ev The event\n */\n onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when an error occurs during object loading.\n * @param ev The event.\n */\n onerror: OnErrorEventHandler;\n /**\n * Fires when the object receives focus.\n * @param ev The event.\n */\n onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;\n ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user presses a key.\n * @param ev The keyboard event\n */\n onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user presses an alphanumeric key.\n * @param ev The event.\n * @deprecated\n */\n onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires when the user releases a key.\n * @param ev The keyboard event\n */\n onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * Fires immediately after the browser loads the object.\n * @param ev The event.\n */\n onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when media data is loaded at the current playback position.\n * @param ev The event.\n */\n onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the duration and dimensions of the media have been determined.\n * @param ev The event.\n */\n onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when Internet Explorer begins looking for media data.\n * @param ev The event.\n */\n onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Fires when the user clicks the object with either mouse button.\n * @param ev The mouse event.\n */\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse over the object.\n * @param ev The mouse event.\n */\n onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer outside the boundaries of the object.\n * @param ev The mouse event.\n */\n onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user moves the mouse pointer into the object.\n * @param ev The mouse event.\n */\n onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Fires when the user releases a mouse button while the mouse is over the object.\n * @param ev The mouse event.\n */\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /**\n * Occurs when playback is paused.\n * @param ev The event.\n */\n onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the play method is requested.\n * @param ev The event.\n */\n onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the audio or video has started playing.\n * @param ev The event.\n */\n onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Occurs to indicate progress while downloading media data.\n * @param ev The event.\n */\n onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n /**\n * Occurs when the playback rate is increased or decreased.\n * @param ev The event.\n */\n onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the user resets a form.\n * @param ev The event.\n */\n onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /**\n * Fires when the user repositions the scroll box in the scroll bar on the object.\n * @param ev The event.\n */\n onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the seek operation ends.\n * @param ev The event.\n */\n onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the current playback position is moved.\n * @param ev The event.\n */\n onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Fires when the current selection changes.\n * @param ev The event.\n */\n onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when the download has stopped.\n * @param ev The event.\n */\n onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;\n /**\n * Occurs if the load operation has been intentionally halted.\n * @param ev The event.\n */\n onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs to indicate the current playback position.\n * @param ev The event.\n */\n ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /**\n * Occurs when the volume is changed, or playback is muted or unmuted.\n * @param ev The event.\n */\n onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * Occurs when playback stops because the next frame of a video resource is not available.\n * @param ev The event.\n */\n onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `onanimationend`. */\n onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `onanimationiteration`. */\n onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `onanimationstart`. */\n onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `ontransitionend`. */\n onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;\n addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface HTMLAllCollection {\n /** Returns the number of elements in the collection. */\n readonly length: number;\n /** Returns the item with index index from the collection (determined by tree order). */\n item(nameOrIndex?: string): HTMLCollection | Element | null;\n /**\n * Returns the item with ID or name name from the collection.\n *\n * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.\n *\n * 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.\n */\n namedItem(name: string): HTMLCollection | Element | null;\n [index: number]: Element;\n}\n\ndeclare var HTMLAllCollection: {\n prototype: HTMLAllCollection;\n new(): HTMLAllCollection;\n};\n\n/** 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. */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * Sets or retrieves the character set used to encode the object.\n * @deprecated\n */\n charset: string;\n /**\n * Sets or retrieves the coordinates of the object.\n * @deprecated\n */\n coords: string;\n download: string;\n /** Sets or retrieves the language code of the object. */\n hreflang: string;\n /**\n * Sets or retrieves the shape of the object.\n * @deprecated\n */\n name: string;\n ping: string;\n referrerPolicy: string;\n /** Sets or retrieves the relationship between the object and the destination of the link. */\n rel: string;\n readonly relList: DOMTokenList;\n /**\n * Sets or retrieves the relationship between the object and the destination of the link.\n * @deprecated\n */\n rev: string;\n /**\n * Sets or retrieves the shape of the object.\n * @deprecated\n */\n shape: string;\n /** Sets or retrieves the window or frame at which to target content. */\n target: string;\n /** Retrieves or sets the text of the object as a string. */\n text: string;\n type: string;\n addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAnchorElement: {\n prototype: HTMLAnchorElement;\n new(): HTMLAnchorElement;\n};\n\n/** 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. */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /** Sets or retrieves a text alternative to the graphic. */\n alt: string;\n /** Sets or retrieves the coordinates of the object. */\n coords: string;\n download: string;\n /**\n * Sets or gets whether clicks in this region cause action.\n * @deprecated\n */\n noHref: boolean;\n ping: string;\n referrerPolicy: string;\n rel: string;\n readonly relList: DOMTokenList;\n /** Sets or retrieves the shape of the object. */\n shape: string;\n /** Sets or retrieves the window or frame at which to target content. */\n target: string;\n addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n prototype: HTMLAreaElement;\n new(): HTMLAreaElement;\n};\n\n/** Provides access to the properties of