From 5e568309f55b04aee2ff36f9f7684349ee960d39 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 19:24:55 -0400 Subject: [PATCH 01/10] Update vulnerable dependencies and test-generated typings --- baselines/module-fs.d.ts | 5523 ++++++++++++++++++++++++++++++++--- baselines/module-yargs.d.ts | 94 +- package.json | 10 +- 3 files changed, 5178 insertions(+), 449 deletions(-) diff --git a/baselines/module-fs.d.ts b/baselines/module-fs.d.ts index 624e009..8edd0e4 100644 --- a/baselines/module-fs.d.ts +++ b/baselines/module-fs.d.ts @@ -41,16 +41,22 @@ export class FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -68,14 +74,20 @@ export class FileWriteStream { open(): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -93,16 +105,22 @@ export class ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -127,14 +145,20 @@ export class WriteStream { open(): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -158,16 +182,15 @@ export const constants: { F_OK: number; O_APPEND: number; O_CREAT: number; - O_DIRECT: number; O_DIRECTORY: number; O_DSYNC: number; O_EXCL: number; - O_NOATIME: number; O_NOCTTY: number; O_NOFOLLOW: number; O_NONBLOCK: number; O_RDONLY: number; O_RDWR: number; + O_SYMLINK: number; O_SYNC: number; O_TRUNC: number; O_WRONLY: number; @@ -210,10 +233,6 @@ export const constants: { X_OK: number; }; -export const lchmod: any; - -export const lchmodSync: any; - export function access(path: any, mode: any, callback: any): void; export function accessSync(path: any, mode: any): void; @@ -274,6 +293,10 @@ export function futimes(fd: any, atime: any, mtime: any, callback: any): void; export function futimesSync(fd: any, atime: any, mtime: any): void; +export function lchmod(path: any, mode: any, callback: any): void; + +export function lchmodSync(path: any, mode: any): any; + export function lchown(path: any, uid: any, gid: any, callback: any): void; export function lchownSync(path: any, uid: any, gid: any): void; @@ -386,16 +409,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -405,7 +434,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -439,12 +468,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -458,16 +493,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -515,16 +556,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -534,20 +581,26 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -565,16 +618,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -602,14 +661,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -620,7 +685,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -654,12 +719,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -675,16 +746,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -734,16 +811,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -753,7 +836,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -761,14 +844,20 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -788,16 +877,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -827,14 +922,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -845,7 +946,7 @@ export namespace FileReadStream { namespace PassThrough { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -879,12 +980,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -942,6 +1049,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -952,6 +1063,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -961,7 +1074,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -979,6 +1092,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -987,6 +1104,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1016,6 +1135,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1026,6 +1149,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1067,6 +1192,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1075,6 +1204,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1087,7 +1218,7 @@ export namespace FileReadStream { namespace Readable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -1121,12 +1252,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -1152,6 +1289,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1162,6 +1303,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1171,7 +1314,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -1189,6 +1332,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1197,6 +1344,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1226,6 +1375,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1236,6 +1389,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1277,6 +1432,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1285,6 +1444,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1297,7 +1458,7 @@ export namespace FileReadStream { namespace Stream { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -1331,12 +1492,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -1362,6 +1529,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1372,6 +1543,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1431,6 +1604,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1441,6 +1618,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1470,6 +1649,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1480,6 +1663,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1521,6 +1706,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1529,6 +1718,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1541,7 +1732,7 @@ export namespace FileReadStream { namespace Transform { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -1575,12 +1766,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -1606,6 +1803,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1616,6 +1817,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1675,6 +1878,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1685,6 +1892,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1694,7 +1903,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -1712,6 +1921,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1720,6 +1933,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1761,6 +1976,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1769,6 +1988,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1781,7 +2002,7 @@ export namespace FileReadStream { namespace Writable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -1815,12 +2036,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -1846,6 +2073,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1856,6 +2087,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1915,6 +2148,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1925,6 +2162,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1934,7 +2173,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -1952,6 +2191,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1960,6 +2203,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -1989,6 +2234,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -1999,6 +2248,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2038,16 +2289,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -2057,7 +2314,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -2091,12 +2348,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -2144,16 +2407,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -2163,7 +2432,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -2171,14 +2440,20 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -2198,16 +2473,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -2237,14 +2518,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -2255,7 +2542,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -2289,12 +2576,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -2352,6 +2645,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2362,6 +2659,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2371,7 +2670,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -2389,6 +2688,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2397,6 +2700,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2426,6 +2731,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2436,6 +2745,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2477,6 +2788,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2485,6 +2800,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2525,6 +2842,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2535,6 +2856,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2544,7 +2867,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -2578,12 +2901,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -2591,7 +2920,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -2609,6 +2938,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2617,6 +2950,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2646,6 +2981,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2656,6 +2995,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2697,6 +3038,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2705,6 +3050,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2745,6 +3092,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2755,6 +3106,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2764,7 +3117,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -2798,12 +3151,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -2861,6 +3220,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2871,6 +3234,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2900,6 +3265,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2910,6 +3279,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2951,6 +3322,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -2959,6 +3334,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -2999,6 +3376,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3009,6 +3390,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3018,7 +3401,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -3052,12 +3435,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -3115,6 +3504,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3125,6 +3518,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3134,7 +3529,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -3152,6 +3547,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3160,6 +3559,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3201,6 +3602,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3209,6 +3614,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3249,6 +3656,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3259,6 +3670,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3268,7 +3681,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -3302,12 +3715,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -3365,6 +3784,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3375,6 +3798,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3384,7 +3809,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -3402,6 +3827,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3410,6 +3839,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3439,6 +3870,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3449,6 +3884,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3488,16 +3925,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -3507,7 +3950,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -3541,12 +3984,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -3562,16 +4011,22 @@ export namespace FileReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -3581,7 +4036,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -3589,14 +4044,20 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -3616,16 +4077,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -3655,14 +4122,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -3673,7 +4146,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -3707,12 +4180,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -3738,6 +4217,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3748,6 +4231,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3757,7 +4242,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -3775,6 +4260,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3783,6 +4272,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3812,6 +4303,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3822,6 +4317,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3863,6 +4360,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3871,6 +4372,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3911,6 +4414,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -3921,6 +4428,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -3930,7 +4439,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -3964,12 +4473,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -3977,7 +4492,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -3995,6 +4510,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4003,6 +4522,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4032,6 +4553,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4042,6 +4567,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4083,6 +4610,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4091,6 +4622,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4131,6 +4664,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4141,6 +4678,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4150,7 +4689,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -4184,12 +4723,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -4215,6 +4760,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4225,6 +4774,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4254,6 +4805,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4264,6 +4819,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4305,6 +4862,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4313,6 +4874,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4353,6 +4916,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4363,6 +4930,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4372,7 +4941,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -4406,12 +4975,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -4437,6 +5012,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4447,6 +5026,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4456,7 +5037,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -4474,6 +5055,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4482,6 +5067,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4523,6 +5110,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4531,6 +5122,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4571,6 +5164,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4581,6 +5178,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4590,7 +5189,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -4624,12 +5223,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -4655,6 +5260,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4665,6 +5274,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4674,7 +5285,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -4692,6 +5303,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4700,6 +5315,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4729,6 +5346,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -4739,6 +5360,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -4778,16 +5401,22 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -4797,7 +5426,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -4831,12 +5460,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -4852,16 +5487,22 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -4911,16 +5552,22 @@ export namespace FileReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -4940,16 +5587,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -4979,14 +5632,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -4997,7 +5656,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -5031,12 +5690,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -5062,6 +5727,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5072,6 +5741,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5131,6 +5802,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5141,6 +5816,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5170,6 +5847,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5180,6 +5861,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5221,6 +5904,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5229,6 +5916,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5269,6 +5958,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5279,6 +5972,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5288,7 +5983,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -5322,12 +6017,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -5385,6 +6086,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5395,6 +6100,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5424,6 +6131,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5434,6 +6145,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5475,6 +6188,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5483,6 +6200,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5523,6 +6242,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5533,6 +6256,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5542,7 +6267,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -5576,12 +6301,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -5607,6 +6338,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5617,6 +6352,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5646,6 +6383,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5656,6 +6397,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5697,6 +6440,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5705,6 +6452,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5745,6 +6494,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5755,6 +6508,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5764,7 +6519,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -5798,12 +6553,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -5829,6 +6590,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5839,6 +6604,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5898,6 +6665,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5908,6 +6679,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5949,6 +6722,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -5957,6 +6734,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -5997,6 +6776,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6007,6 +6790,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6016,7 +6801,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -6050,12 +6835,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -6081,6 +6872,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6091,6 +6886,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6150,6 +6947,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6160,6 +6961,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6189,6 +6992,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6199,6 +7006,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6238,16 +7047,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -6257,7 +7072,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -6291,12 +7106,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -6312,16 +7133,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -6371,16 +7198,22 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -6390,7 +7223,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -6398,14 +7231,20 @@ export namespace FileReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -6435,14 +7274,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -6453,7 +7298,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -6487,12 +7332,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -6518,6 +7369,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6528,6 +7383,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6587,6 +7444,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6597,6 +7458,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6606,7 +7469,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -6624,6 +7487,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6632,6 +7499,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6673,6 +7542,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6681,6 +7554,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6721,6 +7596,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6731,6 +7610,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6740,7 +7621,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -6774,12 +7655,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -6837,6 +7724,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6847,6 +7738,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6856,7 +7749,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -6874,6 +7767,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6882,6 +7779,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6923,6 +7822,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6931,6 +7834,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6971,6 +7876,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -6981,6 +7890,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -6990,7 +7901,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -7024,12 +7935,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -7055,6 +7972,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7065,6 +7986,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7074,7 +7997,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -7092,6 +8015,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7100,6 +8027,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7141,6 +8070,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7149,6 +8082,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7189,6 +8124,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7199,6 +8138,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7208,7 +8149,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -7242,12 +8183,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -7273,6 +8220,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7283,6 +8234,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7342,6 +8295,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7352,6 +8309,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7393,6 +8352,10 @@ export namespace FileReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7401,6 +8364,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7441,6 +8406,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7451,6 +8420,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7460,7 +8431,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -7494,12 +8465,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -7525,6 +8502,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7535,6 +8516,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7594,6 +8577,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7604,6 +8591,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7613,7 +8602,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -7631,6 +8620,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7639,6 +8632,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -7678,16 +8673,22 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -7697,7 +8698,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -7731,12 +8732,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -7752,16 +8759,22 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -7811,16 +8824,22 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -7830,7 +8849,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -7838,14 +8857,20 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -7865,16 +8890,22 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -7892,7 +8923,7 @@ export namespace FileReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -7926,12 +8957,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -7957,6 +8994,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -7967,6 +9008,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8026,6 +9069,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8036,6 +9083,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8045,7 +9094,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -8063,6 +9112,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8071,6 +9124,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8100,6 +9155,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8110,6 +9169,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8150,6 +9211,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8160,6 +9225,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8169,7 +9236,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -8203,12 +9270,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -8266,6 +9339,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8276,6 +9353,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8285,7 +9364,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -8303,6 +9382,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8311,6 +9394,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8340,6 +9425,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8350,6 +9439,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8390,6 +9481,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8400,6 +9495,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8409,7 +9506,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -8443,12 +9540,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -8474,6 +9577,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8484,6 +9591,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8493,7 +9602,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -8511,6 +9620,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8519,6 +9632,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8548,6 +9663,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8558,6 +9677,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8598,6 +9719,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8608,6 +9733,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8617,7 +9744,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -8651,12 +9778,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -8682,6 +9815,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8692,6 +9829,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8751,6 +9890,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8761,6 +9904,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8790,6 +9935,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8800,6 +9949,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8840,6 +9991,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8850,6 +10005,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8859,7 +10016,7 @@ export namespace FileReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -8893,12 +10050,18 @@ export namespace FileReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -8924,6 +10087,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -8934,6 +10101,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -8993,6 +10162,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9003,6 +10176,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9012,7 +10187,7 @@ export namespace FileReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -9030,6 +10205,10 @@ export namespace FileReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9038,6 +10217,8 @@ export namespace FileReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9070,16 +10251,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9089,7 +10276,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -9123,12 +10310,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -9142,16 +10335,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9199,16 +10398,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9218,20 +10423,26 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9249,16 +10460,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9286,14 +10503,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9311,7 +10534,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -9345,12 +10568,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -9366,16 +10595,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9425,16 +10660,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9444,7 +10685,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -9452,14 +10693,20 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9479,16 +10726,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9518,14 +10771,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -9536,7 +10795,7 @@ export namespace FileWriteStream { namespace PassThrough { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -9570,12 +10829,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -9633,6 +10898,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9643,6 +10912,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9652,7 +10923,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -9670,6 +10941,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9678,6 +10953,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9707,6 +10984,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9717,6 +10998,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9758,6 +11041,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9766,6 +11053,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9778,7 +11067,7 @@ export namespace FileWriteStream { namespace Readable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -9812,12 +11101,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -9843,6 +11138,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9853,6 +11152,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9862,7 +11163,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -9880,6 +11181,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9888,6 +11193,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9917,6 +11224,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9927,6 +11238,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9968,6 +11281,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -9976,6 +11293,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -9988,7 +11307,7 @@ export namespace FileWriteStream { namespace Stream { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -10022,12 +11341,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -10053,6 +11378,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10063,6 +11392,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10122,6 +11453,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10132,6 +11467,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10161,6 +11498,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10171,6 +11512,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10212,6 +11555,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10220,6 +11567,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10232,7 +11581,7 @@ export namespace FileWriteStream { namespace Transform { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -10266,12 +11615,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -10297,6 +11652,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10307,6 +11666,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10366,6 +11727,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10376,6 +11741,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10385,7 +11752,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -10403,6 +11770,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10411,6 +11782,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10452,6 +11825,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10460,6 +11837,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10472,7 +11851,7 @@ export namespace FileWriteStream { namespace Writable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -10506,12 +11885,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -10537,6 +11922,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10547,6 +11936,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10606,6 +11997,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10616,6 +12011,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10625,7 +12022,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -10643,6 +12040,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10651,6 +12052,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10680,6 +12083,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -10690,6 +12097,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -10729,16 +12138,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -10748,7 +12163,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -10782,12 +12197,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -10835,16 +12256,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -10854,7 +12281,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -10862,14 +12289,20 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -10889,16 +12322,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -10928,14 +12367,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -10946,7 +12391,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -10980,12 +12425,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -11043,6 +12494,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11053,6 +12508,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11062,7 +12519,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -11080,6 +12537,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11088,6 +12549,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11117,6 +12580,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11127,6 +12594,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11168,6 +12637,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11176,6 +12649,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11216,6 +12691,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11226,6 +12705,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11235,7 +12716,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -11269,12 +12750,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -11282,7 +12769,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -11300,6 +12787,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11308,6 +12799,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11337,6 +12830,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11347,6 +12844,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11388,6 +12887,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11396,6 +12899,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11436,6 +12941,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11446,6 +12955,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11455,7 +12966,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -11489,12 +13000,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -11552,6 +13069,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11562,6 +13083,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11591,6 +13114,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11601,6 +13128,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11642,6 +13171,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11650,6 +13183,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11690,6 +13225,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11700,6 +13239,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11709,7 +13250,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -11743,12 +13284,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -11806,6 +13353,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11816,6 +13367,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11825,7 +13378,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -11843,6 +13396,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11851,6 +13408,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11892,6 +13451,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11900,6 +13463,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11940,6 +13505,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -11950,6 +13519,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -11959,7 +13530,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -11993,12 +13564,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -12056,6 +13633,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12066,6 +13647,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12075,7 +13658,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -12093,6 +13676,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12101,6 +13688,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12130,6 +13719,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12140,6 +13733,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12179,16 +13774,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -12198,7 +13799,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -12232,12 +13833,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -12253,16 +13860,22 @@ export namespace FileWriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -12272,7 +13885,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -12280,14 +13893,20 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -12307,16 +13926,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -12346,14 +13971,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -12364,7 +13995,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -12398,12 +14029,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -12429,6 +14066,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12439,6 +14080,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12448,7 +14091,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -12466,6 +14109,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12474,6 +14121,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12503,6 +14152,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12513,6 +14166,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12554,6 +14209,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12562,6 +14221,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12602,6 +14263,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12612,6 +14277,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12621,7 +14288,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -12655,12 +14322,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -12668,7 +14341,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -12686,6 +14359,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12694,6 +14371,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12723,6 +14402,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12733,6 +14416,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12774,6 +14459,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12782,6 +14471,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12822,6 +14513,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12832,6 +14527,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12841,7 +14538,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -12875,12 +14572,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -12906,6 +14609,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12916,6 +14623,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12945,6 +14654,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -12955,6 +14668,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -12996,6 +14711,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13004,6 +14723,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13044,6 +14765,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13054,6 +14779,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13063,7 +14790,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -13097,12 +14824,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -13128,6 +14861,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13138,6 +14875,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13147,7 +14886,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -13165,6 +14904,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13173,6 +14916,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13214,6 +14959,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13222,6 +14971,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13262,6 +15013,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13272,6 +15027,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13281,7 +15038,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -13315,12 +15072,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -13346,6 +15109,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13356,6 +15123,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13365,7 +15134,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -13383,6 +15152,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13391,6 +15164,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13420,6 +15195,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13430,6 +15209,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13469,16 +15250,22 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -13488,7 +15275,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -13522,12 +15309,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -13543,16 +15336,22 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -13602,16 +15401,22 @@ export namespace FileWriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -13631,16 +15436,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -13670,14 +15481,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -13688,7 +15505,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -13722,12 +15539,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -13753,6 +15576,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13763,6 +15590,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13822,6 +15651,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13832,6 +15665,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13861,6 +15696,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13871,6 +15710,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13912,6 +15753,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13920,6 +15765,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13960,6 +15807,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -13970,6 +15821,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -13979,7 +15832,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -14013,12 +15866,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -14076,6 +15935,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14086,6 +15949,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14115,6 +15980,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14125,6 +15994,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14166,6 +16037,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14174,6 +16049,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14214,6 +16091,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14224,6 +16105,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14233,7 +16116,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -14267,12 +16150,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -14298,6 +16187,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14308,6 +16201,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14337,6 +16232,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14347,6 +16246,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14388,6 +16289,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14396,6 +16301,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14436,6 +16343,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14446,6 +16357,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14455,7 +16368,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -14489,12 +16402,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -14520,6 +16439,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14530,6 +16453,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14589,6 +16514,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14599,6 +16528,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14640,6 +16571,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14648,6 +16583,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14688,6 +16625,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14698,6 +16639,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14707,7 +16650,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -14741,12 +16684,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -14772,6 +16721,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14782,6 +16735,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14841,6 +16796,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14851,6 +16810,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14880,6 +16841,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -14890,6 +16855,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -14929,16 +16896,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -14948,7 +16921,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -14982,12 +16955,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -15003,16 +16982,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -15062,16 +17047,22 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -15081,7 +17072,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -15089,14 +17080,20 @@ export namespace FileWriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -15126,14 +17123,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -15144,7 +17147,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -15178,12 +17181,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -15209,6 +17218,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15219,6 +17232,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15278,6 +17293,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15288,6 +17307,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15297,7 +17318,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -15315,6 +17336,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15323,6 +17348,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15364,6 +17391,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15372,6 +17403,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15412,6 +17445,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15422,6 +17459,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15431,7 +17470,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -15465,12 +17504,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -15528,6 +17573,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15538,6 +17587,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15547,7 +17598,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -15565,6 +17616,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15573,6 +17628,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15614,6 +17671,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15622,6 +17683,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15662,6 +17725,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15672,6 +17739,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15681,7 +17750,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -15715,12 +17784,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -15746,6 +17821,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15756,6 +17835,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15765,7 +17846,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -15783,6 +17864,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15791,6 +17876,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15832,6 +17919,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15840,6 +17931,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15880,6 +17973,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15890,6 +17987,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -15899,7 +17998,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -15933,12 +18032,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -15964,6 +18069,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -15974,6 +18083,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16033,6 +18144,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16043,6 +18158,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16084,6 +18201,10 @@ export namespace FileWriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16092,6 +18213,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16132,6 +18255,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16142,6 +18269,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16151,7 +18280,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -16185,12 +18314,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -16216,6 +18351,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16226,6 +18365,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16285,6 +18426,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16295,6 +18440,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16304,7 +18451,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -16322,6 +18469,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16330,6 +18481,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16369,16 +18522,22 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -16388,7 +18547,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -16422,12 +18581,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -16443,16 +18608,22 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -16502,16 +18673,22 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -16521,7 +18698,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -16529,14 +18706,20 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -16556,16 +18739,22 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -16583,7 +18772,7 @@ export namespace FileWriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -16617,12 +18806,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -16648,6 +18843,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16658,6 +18857,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16717,6 +18918,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16727,6 +18932,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16736,7 +18943,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -16754,6 +18961,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16762,6 +18973,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16791,6 +19004,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16801,6 +19018,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16841,6 +19060,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16851,6 +19074,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16860,7 +19085,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -16894,12 +19119,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -16957,6 +19188,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -16967,6 +19202,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -16976,7 +19213,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -16994,6 +19231,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17002,6 +19243,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17031,6 +19274,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17041,6 +19288,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17081,6 +19330,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17091,6 +19344,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17100,7 +19355,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -17134,12 +19389,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -17165,6 +19426,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17175,6 +19440,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17184,7 +19451,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -17202,6 +19469,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17210,6 +19481,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17239,6 +19512,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17249,6 +19526,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17289,6 +19568,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17299,6 +19582,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17308,7 +19593,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -17342,12 +19627,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -17373,6 +19664,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17383,6 +19678,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17442,6 +19739,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17452,6 +19753,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17481,6 +19784,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17491,6 +19798,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17531,6 +19840,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17541,6 +19854,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17550,7 +19865,7 @@ export namespace FileWriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -17584,12 +19899,18 @@ export namespace FileWriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -17615,6 +19936,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17625,6 +19950,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17684,6 +20011,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17694,6 +20025,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17703,7 +20036,7 @@ export namespace FileWriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -17721,6 +20054,10 @@ export namespace FileWriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -17729,6 +20066,8 @@ export namespace FileWriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -17761,16 +20100,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17780,7 +20125,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -17814,12 +20159,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -17833,16 +20184,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17890,16 +20247,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17909,20 +20272,26 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17940,16 +20309,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17977,14 +20352,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -17995,7 +20376,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -18029,12 +20410,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -18050,16 +20437,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -18109,16 +20502,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -18128,7 +20527,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -18136,14 +20535,20 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -18163,16 +20568,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -18202,14 +20613,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -18220,7 +20637,7 @@ export namespace ReadStream { namespace PassThrough { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -18254,12 +20671,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -18317,6 +20740,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18327,6 +20754,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18336,7 +20765,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -18354,6 +20783,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18362,6 +20795,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18391,6 +20826,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18401,6 +20840,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18442,6 +20883,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18450,6 +20895,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18462,7 +20909,7 @@ export namespace ReadStream { namespace Readable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -18496,12 +20943,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -18527,6 +20980,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18537,6 +20994,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18546,7 +21005,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -18564,6 +21023,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18572,6 +21035,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18601,6 +21066,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18611,6 +21080,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18652,6 +21123,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18660,6 +21135,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18672,7 +21149,7 @@ export namespace ReadStream { namespace Stream { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -18706,12 +21183,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -18737,6 +21220,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18747,6 +21234,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18806,6 +21295,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18816,6 +21309,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18845,6 +21340,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18855,6 +21354,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18896,6 +21397,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18904,6 +21409,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -18916,7 +21423,7 @@ export namespace ReadStream { namespace Transform { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -18950,12 +21457,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -18981,6 +21494,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -18991,6 +21508,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19050,6 +21569,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19060,6 +21583,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19069,7 +21594,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -19087,6 +21612,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19095,6 +21624,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19136,6 +21667,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19144,6 +21679,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19156,7 +21693,7 @@ export namespace ReadStream { namespace Writable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -19190,12 +21727,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -19221,6 +21764,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19231,6 +21778,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19290,6 +21839,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19300,6 +21853,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19309,7 +21864,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -19327,6 +21882,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19335,6 +21894,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19364,6 +21925,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19374,6 +21939,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19413,16 +21980,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -19432,7 +22005,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -19466,12 +22039,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -19519,16 +22098,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -19538,7 +22123,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -19546,14 +22131,20 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -19573,16 +22164,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -19612,14 +22209,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -19630,7 +22233,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -19664,12 +22267,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -19727,6 +22336,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19737,6 +22350,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19746,7 +22361,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -19764,6 +22379,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19772,6 +22391,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19801,6 +22422,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19811,6 +22436,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19852,6 +22479,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19860,6 +22491,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19900,6 +22533,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19910,6 +22547,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -19919,7 +22558,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -19953,12 +22592,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -19966,7 +22611,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -19984,6 +22629,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -19992,6 +22641,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20021,6 +22672,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20031,6 +22686,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20072,6 +22729,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20080,6 +22741,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20120,6 +22783,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20130,6 +22797,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20139,7 +22808,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -20173,12 +22842,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -20236,6 +22911,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20246,6 +22925,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20275,6 +22956,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20285,6 +22970,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20326,6 +23013,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20334,6 +23025,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20374,6 +23067,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20384,6 +23081,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20393,7 +23092,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -20427,12 +23126,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -20490,6 +23195,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20500,6 +23209,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20509,7 +23220,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -20527,6 +23238,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20535,6 +23250,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20576,6 +23293,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20584,6 +23305,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20624,6 +23347,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20634,6 +23361,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20643,7 +23372,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -20677,12 +23406,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -20740,6 +23475,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20750,6 +23489,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20759,7 +23500,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -20777,6 +23518,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20785,6 +23530,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20814,6 +23561,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -20824,6 +23575,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -20863,16 +23616,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -20882,7 +23641,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -20916,12 +23675,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -20937,16 +23702,22 @@ export namespace ReadStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -20956,7 +23727,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -20964,14 +23735,20 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -20991,16 +23768,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -21030,14 +23813,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -21048,7 +23837,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -21082,12 +23871,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -21113,6 +23908,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21123,6 +23922,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21132,7 +23933,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -21150,6 +23951,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21158,6 +23963,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21187,6 +23994,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21197,6 +24008,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21238,6 +24051,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21246,6 +24063,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21286,6 +24105,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21296,6 +24119,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21305,7 +24130,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -21339,12 +24164,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -21352,7 +24183,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -21370,6 +24201,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21378,6 +24213,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21407,6 +24244,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21417,6 +24258,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21458,6 +24301,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21466,6 +24313,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21506,6 +24355,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21516,6 +24369,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21525,7 +24380,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -21559,12 +24414,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -21590,6 +24451,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21600,6 +24465,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21629,6 +24496,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21639,6 +24510,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21680,6 +24553,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21688,6 +24565,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21728,6 +24607,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21738,6 +24621,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21747,7 +24632,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -21781,12 +24666,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -21812,6 +24703,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21822,6 +24717,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21831,7 +24728,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -21849,6 +24746,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21857,6 +24758,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21898,6 +24801,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21906,6 +24813,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21946,6 +24855,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -21956,6 +24869,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -21965,7 +24880,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -21999,12 +24914,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -22030,6 +24951,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22040,6 +24965,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22049,7 +24976,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -22067,6 +24994,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22075,6 +25006,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22104,6 +25037,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22114,6 +25051,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22153,16 +25092,22 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -22172,7 +25117,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -22206,12 +25151,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -22227,16 +25178,22 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -22286,16 +25243,22 @@ export namespace ReadStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -22315,16 +25278,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -22354,14 +25323,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -22372,7 +25347,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -22406,12 +25381,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -22437,6 +25418,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22447,6 +25432,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22506,6 +25493,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22516,6 +25507,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22545,6 +25538,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22555,6 +25552,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22596,6 +25595,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22604,6 +25607,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22644,6 +25649,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22654,6 +25663,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22663,7 +25674,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -22697,12 +25708,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -22760,6 +25777,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22770,6 +25791,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22799,6 +25822,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22809,6 +25836,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22850,6 +25879,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22858,6 +25891,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22898,6 +25933,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22908,6 +25947,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -22917,7 +25958,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -22951,12 +25992,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -22982,6 +26029,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -22992,6 +26043,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23021,6 +26074,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23031,6 +26088,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23072,6 +26131,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23080,6 +26143,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23120,6 +26185,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23130,6 +26199,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23139,7 +26210,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -23173,12 +26244,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -23204,6 +26281,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23214,6 +26295,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23273,6 +26356,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23283,6 +26370,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23324,6 +26413,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23332,6 +26425,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23372,6 +26467,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23382,6 +26481,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23391,7 +26492,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -23425,12 +26526,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -23456,6 +26563,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23466,6 +26577,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23525,6 +26638,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23535,6 +26652,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23564,6 +26683,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23574,6 +26697,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23613,16 +26738,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -23632,7 +26763,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -23666,12 +26797,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -23687,16 +26824,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -23746,16 +26889,22 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -23765,7 +26914,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -23773,14 +26922,20 @@ export namespace ReadStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -23810,14 +26965,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -23828,7 +26989,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -23862,12 +27023,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -23893,6 +27060,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23903,6 +27074,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23962,6 +27135,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -23972,6 +27149,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -23981,7 +27160,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -23999,6 +27178,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24007,6 +27190,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24048,6 +27233,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24056,6 +27245,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24096,6 +27287,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24106,6 +27301,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24115,7 +27312,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -24149,12 +27346,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -24212,6 +27415,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24222,6 +27429,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24231,7 +27440,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -24249,6 +27458,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24257,6 +27470,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24298,6 +27513,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24306,6 +27525,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24346,6 +27567,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24356,6 +27581,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24365,7 +27592,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -24399,12 +27626,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -24430,6 +27663,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24440,6 +27677,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24449,7 +27688,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -24467,6 +27706,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24475,6 +27718,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24516,6 +27761,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24524,6 +27773,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24564,6 +27815,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24574,6 +27829,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24583,7 +27840,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -24617,12 +27874,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -24648,6 +27911,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24658,6 +27925,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24717,6 +27986,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24727,6 +28000,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24768,6 +28043,10 @@ export namespace ReadStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24776,6 +28055,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24816,6 +28097,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24826,6 +28111,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24835,7 +28122,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -24869,12 +28156,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -24900,6 +28193,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24910,6 +28207,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24969,6 +28268,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -24979,6 +28282,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -24988,7 +28293,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -25006,6 +28311,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25014,6 +28323,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25053,16 +28364,22 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -25072,7 +28389,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -25106,12 +28423,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -25127,16 +28450,22 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -25186,16 +28515,22 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -25205,7 +28540,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -25213,14 +28548,20 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -25240,16 +28581,22 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -25267,7 +28614,7 @@ export namespace ReadStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -25301,12 +28648,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -25332,6 +28685,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25342,6 +28699,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25401,6 +28760,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25411,6 +28774,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25420,7 +28785,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -25438,6 +28803,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25446,6 +28815,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25475,6 +28846,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25485,6 +28860,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25525,6 +28902,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25535,6 +28916,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25544,7 +28927,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -25578,12 +28961,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -25641,6 +29030,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25651,6 +29044,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25660,7 +29055,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -25678,6 +29073,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25686,6 +29085,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25715,6 +29116,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25725,6 +29130,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25765,6 +29172,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25775,6 +29186,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25784,7 +29197,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -25818,12 +29231,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -25849,6 +29268,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25859,6 +29282,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25868,7 +29293,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -25886,6 +29311,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25894,6 +29323,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25923,6 +29354,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25933,6 +29368,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25973,6 +29410,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -25983,6 +29424,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -25992,7 +29435,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -26026,12 +29469,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -26057,6 +29506,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26067,6 +29520,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26126,6 +29581,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26136,6 +29595,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26165,6 +29626,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26175,6 +29640,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26215,6 +29682,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26225,6 +29696,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26234,7 +29707,7 @@ export namespace ReadStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -26268,12 +29741,18 @@ export namespace ReadStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -26299,6 +29778,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26309,6 +29792,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26368,6 +29853,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26378,6 +29867,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26387,7 +29878,7 @@ export namespace ReadStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -26405,6 +29896,10 @@ export namespace ReadStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -26413,6 +29908,8 @@ export namespace ReadStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -26445,16 +29942,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26464,7 +29967,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -26498,12 +30001,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -26517,16 +30026,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26574,16 +30089,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26593,20 +30114,26 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26624,16 +30151,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26661,14 +30194,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26686,7 +30225,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -26720,12 +30259,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -26741,16 +30286,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26800,16 +30351,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26819,7 +30376,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -26827,14 +30384,20 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26854,16 +30417,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26893,14 +30462,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -26911,7 +30486,7 @@ export namespace WriteStream { namespace PassThrough { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -26945,12 +30520,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -27008,6 +30589,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27018,6 +30603,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27027,7 +30614,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -27045,6 +30632,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27053,6 +30644,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27082,6 +30675,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27092,6 +30689,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27133,6 +30732,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27141,6 +30744,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27153,7 +30758,7 @@ export namespace WriteStream { namespace Readable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -27187,12 +30792,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -27218,6 +30829,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27228,6 +30843,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27237,7 +30854,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -27255,6 +30872,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27263,6 +30884,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27292,6 +30915,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27302,6 +30929,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27343,6 +30972,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27351,6 +30984,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27363,7 +30998,7 @@ export namespace WriteStream { namespace Stream { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -27397,12 +31032,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -27428,6 +31069,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27438,6 +31083,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27497,6 +31144,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27507,6 +31158,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27536,6 +31189,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27546,6 +31203,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27587,6 +31246,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27595,6 +31258,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27607,7 +31272,7 @@ export namespace WriteStream { namespace Transform { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -27641,12 +31306,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -27672,6 +31343,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27682,6 +31357,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27741,6 +31418,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27751,6 +31432,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27760,7 +31443,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -27778,6 +31461,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27786,6 +31473,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27827,6 +31516,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27835,6 +31528,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27847,7 +31542,7 @@ export namespace WriteStream { namespace Writable { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -27881,12 +31576,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -27912,6 +31613,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27922,6 +31627,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -27981,6 +31688,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -27991,6 +31702,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28000,7 +31713,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -28018,6 +31731,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28026,6 +31743,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28055,6 +31774,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28065,6 +31788,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28104,16 +31829,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -28123,7 +31854,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -28157,12 +31888,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -28210,16 +31947,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -28229,7 +31972,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -28237,14 +31980,20 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -28264,16 +32013,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -28303,14 +32058,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -28321,7 +32082,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -28355,12 +32116,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -28418,6 +32185,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28428,6 +32199,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28437,7 +32210,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -28455,6 +32228,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28463,6 +32240,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28492,6 +32271,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28502,6 +32285,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28543,6 +32328,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28551,6 +32340,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28591,6 +32382,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28601,6 +32396,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28610,7 +32407,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -28644,12 +32441,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -28657,7 +32460,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -28675,6 +32478,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28683,6 +32490,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28712,6 +32521,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28722,6 +32535,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28763,6 +32578,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28771,6 +32590,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28811,6 +32632,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28821,6 +32646,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28830,7 +32657,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -28864,12 +32691,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -28927,6 +32760,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28937,6 +32774,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -28966,6 +32805,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -28976,6 +32819,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29017,6 +32862,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29025,6 +32874,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29065,6 +32916,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29075,6 +32930,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29084,7 +32941,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -29118,12 +32975,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -29181,6 +33044,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29191,6 +33058,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29200,7 +33069,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -29218,6 +33087,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29226,6 +33099,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29267,6 +33142,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29275,6 +33154,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29315,6 +33196,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29325,6 +33210,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29334,7 +33221,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -29368,12 +33255,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -29431,6 +33324,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29441,6 +33338,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29450,7 +33349,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -29468,6 +33367,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29476,6 +33379,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29505,6 +33410,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29515,6 +33424,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29554,16 +33465,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -29573,7 +33490,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -29607,12 +33524,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -29628,16 +33551,22 @@ export namespace WriteStream { static ReadableState(options: any, stream: any, isDuplex: any): void; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -29647,7 +33576,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -29655,14 +33584,20 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -29682,16 +33617,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -29721,14 +33662,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -29739,7 +33686,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -29773,12 +33720,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -29804,6 +33757,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29814,6 +33771,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29823,7 +33782,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -29841,6 +33800,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29849,6 +33812,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29878,6 +33843,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29888,6 +33857,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29929,6 +33900,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29937,6 +33912,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29977,6 +33954,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -29987,6 +33968,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -29996,7 +33979,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -30030,12 +34013,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -30043,7 +34032,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -30061,6 +34050,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30069,6 +34062,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30098,6 +34093,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30108,6 +34107,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30149,6 +34150,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30157,6 +34162,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30197,6 +34204,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30207,6 +34218,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30216,7 +34229,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -30250,12 +34263,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -30281,6 +34300,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30291,6 +34314,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30320,6 +34345,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30330,6 +34359,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30371,6 +34402,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30379,6 +34414,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30419,6 +34456,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30429,6 +34470,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30438,7 +34481,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -30472,12 +34515,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -30503,6 +34552,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30513,6 +34566,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30522,7 +34577,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -30540,6 +34595,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30548,6 +34607,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30589,6 +34650,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30597,6 +34662,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30637,6 +34704,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30647,6 +34718,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30656,7 +34729,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -30690,12 +34763,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -30721,6 +34800,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30731,6 +34814,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30740,7 +34825,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -30758,6 +34843,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30766,6 +34855,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30795,6 +34886,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -30805,6 +34900,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -30844,16 +34941,22 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -30863,7 +34966,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -30897,12 +35000,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -30918,16 +35027,22 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -30977,16 +35092,22 @@ export namespace WriteStream { static Stream: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -31006,16 +35127,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -31045,14 +35172,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -31063,7 +35196,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -31097,12 +35230,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -31128,6 +35267,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31138,6 +35281,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31197,6 +35342,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31207,6 +35356,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31236,6 +35387,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31246,6 +35401,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31287,6 +35444,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31295,6 +35456,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31335,6 +35498,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31345,6 +35512,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31354,7 +35523,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -31388,12 +35557,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -31451,6 +35626,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31461,6 +35640,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31490,6 +35671,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31500,6 +35685,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31541,6 +35728,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31549,6 +35740,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31589,6 +35782,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31599,6 +35796,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31608,7 +35807,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -31642,12 +35841,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -31673,6 +35878,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31683,6 +35892,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31712,6 +35923,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31722,6 +35937,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31763,6 +35980,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31771,6 +35992,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31811,6 +36034,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31821,6 +36048,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31830,7 +36059,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -31864,12 +36093,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -31895,6 +36130,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31905,6 +36144,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -31964,6 +36205,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -31974,6 +36219,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32015,6 +36262,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32023,6 +36274,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32063,6 +36316,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32073,6 +36330,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32082,7 +36341,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -32116,12 +36375,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -32147,6 +36412,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32157,6 +36426,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32216,6 +36487,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32226,6 +36501,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32255,6 +36532,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32265,6 +36546,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32304,16 +36587,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -32323,7 +36612,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -32357,12 +36646,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -32378,16 +36673,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -32437,16 +36738,22 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -32456,7 +36763,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -32464,14 +36771,20 @@ export namespace WriteStream { static Transform: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -32501,14 +36814,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -32519,7 +36838,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -32553,12 +36872,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -32584,6 +36909,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32594,6 +36923,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32653,6 +36984,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32663,6 +36998,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32672,7 +37009,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -32690,6 +37027,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32698,6 +37039,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32739,6 +37082,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32747,6 +37094,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32787,6 +37136,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32797,6 +37150,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32806,7 +37161,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -32840,12 +37195,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -32903,6 +37264,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32913,6 +37278,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32922,7 +37289,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -32940,6 +37307,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32948,6 +37319,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -32989,6 +37362,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -32997,6 +37374,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33037,6 +37416,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33047,6 +37430,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33056,7 +37441,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -33090,12 +37475,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -33121,6 +37512,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33131,6 +37526,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33140,7 +37537,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -33158,6 +37555,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33166,6 +37567,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33207,6 +37610,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33215,6 +37622,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33255,6 +37664,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33265,6 +37678,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33274,7 +37689,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -33308,12 +37723,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -33339,6 +37760,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33349,6 +37774,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33408,6 +37835,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33418,6 +37849,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33459,6 +37892,10 @@ export namespace WriteStream { static WritableState: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33467,6 +37904,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33507,6 +37946,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33517,6 +37960,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33526,7 +37971,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -33560,12 +38005,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -33591,6 +38042,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33601,6 +38056,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33660,6 +38117,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33670,6 +38131,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33679,7 +38142,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -33697,6 +38160,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -33705,6 +38172,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -33744,16 +38213,22 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -33763,7 +38238,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -33797,12 +38272,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static usingDomains: boolean; @@ -33818,16 +38299,22 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -33877,16 +38364,22 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -33896,7 +38389,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -33904,14 +38397,20 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -33931,16 +38430,22 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: boolean; + static defaultMaxListeners: number; static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; - static init(): void; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; + static on(emitter: any, event: any): any; + static once(emitter: any, name: any): any; static pipeline(streams: any): any; @@ -33958,7 +38463,7 @@ export namespace WriteStream { namespace Duplex { class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -33992,12 +38497,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -34023,6 +38534,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34033,6 +38548,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34092,6 +38609,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34102,6 +38623,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34111,7 +38634,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -34129,6 +38652,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34137,6 +38664,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34166,6 +38695,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34176,6 +38709,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34216,6 +38751,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34226,6 +38765,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34235,7 +38776,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -34269,12 +38810,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -34332,6 +38879,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34342,6 +38893,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34351,7 +38904,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -34369,6 +38922,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34377,6 +38934,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34406,6 +38965,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34416,6 +38979,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34456,6 +39021,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34466,6 +39035,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34475,7 +39046,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -34509,12 +39080,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -34540,6 +39117,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34550,6 +39131,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34559,7 +39142,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -34577,6 +39160,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34585,6 +39172,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34614,6 +39203,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34624,6 +39217,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34664,6 +39259,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34674,6 +39273,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34683,7 +39284,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -34717,12 +39318,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -34748,6 +39355,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34758,6 +39369,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34817,6 +39430,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34827,6 +39444,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34856,6 +39475,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34866,6 +39489,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34906,6 +39531,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -34916,6 +39545,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -34925,7 +39556,7 @@ export namespace WriteStream { } class EventEmitter { - constructor(); + constructor(opts: any); addListener(type: any, listener: any): any; @@ -34959,12 +39590,18 @@ export namespace WriteStream { static EventEmitter: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static init: any; static listenerCount: any; + static on: any; + static once: any; static usingDomains: any; @@ -34990,6 +39627,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -35000,6 +39641,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -35059,6 +39702,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -35069,6 +39716,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; @@ -35078,7 +39727,7 @@ export namespace WriteStream { } class Stream { - constructor(); + constructor(opts: any); pipe(dest: any, options: any): any; @@ -35096,6 +39745,10 @@ export namespace WriteStream { static Writable: any; + static captureRejectionSymbol: any; + + static captureRejections: any; + static defaultMaxListeners: any; static finished: any; @@ -35104,6 +39757,8 @@ export namespace WriteStream { static listenerCount: any; + static on: any; + static once: any; static pipeline: any; diff --git a/baselines/module-yargs.d.ts b/baselines/module-yargs.d.ts index 6f971f7..f5bb99a 100644 --- a/baselines/module-yargs.d.ts +++ b/baselines/module-yargs.d.ts @@ -9,19 +9,55 @@ declare namespace yargs { $0: string; }; - const parsed: boolean; + const parsed: { + aliases: { + help: any[]; + version: any[]; + }; + argv: { + $0: string; + }; + configuration: { + "boolean-negation": boolean; + "camel-case-expansion": boolean; + "combine-arrays": boolean; + "dot-notation": boolean; + "duplicate-arguments-array": boolean; + "flatten-duplicate-arrays": boolean; + "greedy-arrays": boolean; + "halt-at-non-option": boolean; + "nargs-eats-options": boolean; + "negation-prefix": string; + "parse-numbers": boolean; + "populate--": boolean; + "set-placeholder-key": boolean; + "short-option-groups": boolean; + "strip-aliased": boolean; + "strip-dashed": boolean; + "unknown-options-as-args": boolean; + }; + defaulted: { + }; + error: any; + newAliases: { + }; + }; function addHelpOpt(p0: any, p1: any): any; + function addShowHiddenOpt(p0: any, p1: any): any; + function alias(p0: any, p1: any): any; function array(p0: any): any; - function check(p0: any): any; + function check(p0: any, p1: any): any; function choices(p0: any, p1: any): any; - function command(p0: any, p1: any, p2: any, p3: any): any; + function coerce(p0: any, p1: any): any; + + function command(p0: any, p1: any, p2: any, p3: any, p4: any): any; function commandDir(p0: any, p1: any): any; @@ -29,12 +65,20 @@ declare namespace yargs { function config(p0: any, p1: any, p2: any): any; + function conflicts(p0: any, p1: any): any; + function count(p0: any): any; function defaults(p0: any, p1: any, p2: any): any; function demand(p0: any, p1: any, p2: any): any; + function demandCommand(p0: any, p1: any, p2: any, p3: any): any; + + function demandOption(p0: any, p1: any): any; + + function deprecateOption(p0: any, p1: any): any; + function describe(p0: any, p1: any): any; function detectLocale(p0: any): any; @@ -47,6 +91,8 @@ declare namespace yargs { function example(p0: any, p1: any): any; + function exit(p0: any, p1: any): any; + function exitProcess(p0: any): any; function fail(p0: any): any; @@ -57,7 +103,11 @@ declare namespace yargs { function getContext(): any; - function getDemanded(): any; + function getDemandedCommands(): any; + + function getDemandedOptions(): any; + + function getDeprecatedOptions(): any; function getDetectLocale(): any; @@ -65,57 +115,81 @@ declare namespace yargs { function getGroups(): any; + function getHandlerFinishCommand(): any; + function getOptions(): any; + function getParserConfiguration(): any; + function getStrict(): any; + function getStrictCommands(): any; + function getUsageInstance(): any; function getValidationInstance(): any; - function global(p0: any): any; + function global(p0: any, p1: any): any; function group(p0: any, p1: any): any; function help(p0: any, p1: any): any; + function hide(p0: any): any; + function implies(p0: any, p1: any): any; function locale(p0: any): any; + function middleware(p0: any): any; + function nargs(p0: any, p1: any): any; function normalize(p0: any): any; function number(p0: any): any; + function onFinishCommand(p0: any): any; + function option(p0: any, p1: any): any; function options(p0: any, p1: any): any; - function parse(p0: any, p1: any): any; + function parse(p0: any, p1: any, p2: any): any; + + function parserConfiguration(p0: any): any; function pkgConf(p0: any, p1: any): any; + function positional(p0: any, p1: any): any; + + function recommendCommands(p0: any): any; + function require(p0: any, p1: any, p2: any): any; function required(p0: any, p1: any, p2: any): any; - function requiresArg(p0: any): any; + function requiresArg(p0: any, p1: any): any; function reset(p0: any): any; function resetOptions(p0: any): any; - function showCompletionScript(p0: any): any; + function scriptName(p0: any): any; + + function showCompletionScript(p0: any, p1: any): any; function showHelp(p0: any): any; function showHelpOnFail(p0: any, p1: any): any; + function showHidden(p0: any, p1: any): any; + function skipValidation(p0: any): any; - function strict(): any; + function strict(p0: any): any; + + function strictCommands(p0: any): any; function string(p0: any): any; @@ -125,7 +199,7 @@ declare namespace yargs { function updateStrings(p0: any): any; - function usage(p0: any, p1: any): any; + function usage(p0: any, p1: any, p2: any, p3: any): any; function version(p0: any, p1: any, p2: any): any; diff --git a/package.json b/package.json index 004356a..8379744 100644 --- a/package.json +++ b/package.json @@ -10,20 +10,20 @@ "dts-dom": "latest", "parse-git-config": "^1.1.1", "typescript": "^3.5.1", - "yargs": "^4.8.1" + "yargs": "^15.3.1" }, "devDependencies": { "@types/mocha": "latest", "@types/node": "latest", "@types/parse-git-config": "^1.1.0", - "@types/yargs": "latest", - "ecurve": "1.0.5", + "@types/yargs": "^15.0.4", + "ecurve": "1.0.6", "jquery": "latest", "lodash": "latest", - "mocha": "^3.0.2", + "mocha": "^7.1.2", "react": "latest", "tslint": "^5.1.0", - "webpack": "^1.13.1" + "webpack": "^4.43.0" }, "keywords": [ "typescript" From 99e48abab356c3376ce0bbe6176214aab3b8234d Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 19:25:49 -0400 Subject: [PATCH 02/10] Add node as a devDependency to keep baseline typings consistent Instead of accessing the system-wide node, access a local, pinned version for testing. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8379744..81ac300 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,14 @@ }, "devDependencies": { "@types/mocha": "latest", - "@types/node": "latest", + "@types/node": "^12.0.0", "@types/parse-git-config": "^1.1.0", "@types/yargs": "^15.0.4", "ecurve": "1.0.6", "jquery": "latest", "lodash": "latest", "mocha": "^7.1.2", + "node": "12.16.3", "react": "latest", "tslint": "^5.1.0", "webpack": "^4.43.0" From 626e57a16d2cc8afdda20c183f9c5ef29e41d800 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 19:49:20 -0400 Subject: [PATCH 03/10] Add missing webpack-cli dep --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 81ac300..1e1e6da 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "node": "12.16.3", "react": "latest", "tslint": "^5.1.0", - "webpack": "^4.43.0" + "webpack": "^4.43.0", + "webpack-cli": "^3.3.11" }, "keywords": [ "typescript" From 6cb25c5cba00dee3de652d03962cdcd5e655e4f5 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 19:50:07 -0400 Subject: [PATCH 04/10] Refactor test name --- lib/index.ts | 5 ++--- tests/{test.ts => generator.spec.ts} | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename tests/{test.ts => generator.spec.ts} (100%) diff --git a/lib/index.ts b/lib/index.ts index c5c0e8b..ce4418a 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -370,11 +370,10 @@ function inferParameterType(_fn: ts.FunctionExpression, _param: ts.ParameterDecl function parseFunctionBody(fn: any): ts.FunctionExpression { const setup = `const myFn = ${fn.toString()};`; - const srcFile = ts.createSourceFile('test.ts', setup, ts.ScriptTarget.Latest, true); + const srcFile = ts.createSourceFile('', setup, ts.ScriptTarget.Latest, true); const statement = srcFile.statements[0] as ts.VariableStatement; const decl = statement.declarationList.declarations[0]; - const init = decl.initializer as ts.FunctionExpression; - return init; + return decl.initializer as ts.FunctionExpression; } function isNativeFunction(fn: any) { diff --git a/tests/test.ts b/tests/generator.spec.ts similarity index 100% rename from tests/test.ts rename to tests/generator.spec.ts From ab7401d100cd9a15f83db7fb66afc7cbb7a0a702 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 19:50:36 -0400 Subject: [PATCH 05/10] Remove uglify webpack plugin, use optimization.minimize --- webpack.config.js | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 516c2f4..264f991 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,19 +1,13 @@ -const webpack = require('webpack'); +const path = require('path'); +const webpack = require("webpack"); - module.exports = { - entry: './bin/browser/browser.js', - output: { - path: './docs', - filename: 'browser-bundle.js' - }, - plugins: [ - new webpack.optimize.UglifyJsPlugin({ - compress: { - warnings: false, - }, - output: { - comments: false, - }, - }), - ] - }; +module.exports = { + entry: "./bin/browser/browser.js", + output: { + path: path.join(__dirname, "docs"), + filename: "browser-bundle.js", + }, + optimization: { + minimize: true, + }, +}; From 1869409d338cbf5e7b89d4d767a4f7e7bbffe0b6 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 21:13:50 -0400 Subject: [PATCH 06/10] Properly escape scoped module names --- lib/definitely-typed.ts | 4 ++-- lib/index.ts | 4 ++-- lib/names.ts | 2 +- lib/run.ts | 3 ++- package.json | 4 +++- tests/fileNames.spec.ts | 12 ++++++++++++ 6 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 tests/fileNames.spec.ts diff --git a/lib/definitely-typed.ts b/lib/definitely-typed.ts index e2cd325..1e9492f 100644 --- a/lib/definitely-typed.ts +++ b/lib/definitely-typed.ts @@ -4,11 +4,11 @@ import { homedir } from 'os'; import parseGitConfig = require('parse-git-config'); import { join as joinPaths } from "path"; import { format as formatUrl, parse as parseUrl } from 'url'; -import { getDTName } from './names'; +import { escapeModuleName } from './names'; export default function writeDefinitelyTypedPackage( indexDtsContent: string, packageName: string, overwrite: boolean): void { - const dtName = getDTName(packageName); + const dtName = escapeModuleName(packageName); const packageDir = joinPaths("types", dtName); // Check for overwrite diff --git a/lib/index.ts b/lib/index.ts index ce4418a..583e8a7 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,6 +1,6 @@ import * as dom from 'dts-dom'; import { create, reservedWords } from 'dts-dom'; -import { getDTName } from './names'; +import { escapeModuleName } from './names'; import * as ts from 'typescript'; const enum ValueTypes { @@ -22,7 +22,7 @@ const builtins: { [name: string]: (new (...args: any[]) => any) | undefined } = function forceAsIdentifier(s: string): string { // TODO: Make this more comprehensive - return getDTName(s.replace(/-/g, '_')); + return escapeModuleName(s.replace(/-/g, '_')); } function getValueTypes(value: any): ValueTypes { diff --git a/lib/names.ts b/lib/names.ts index 689e78f..2cc0510 100644 --- a/lib/names.ts +++ b/lib/names.ts @@ -1,4 +1,4 @@ -export function getDTName(s: string) { +export function escapeModuleName(s: string) { if (s.indexOf('@') === 0 && s.indexOf('/') !== -1) { // we have a scoped module, e.g. @bla/foo // which should be converted to bla__foo diff --git a/lib/run.ts b/lib/run.ts index 95ef897..b4ba9d8 100644 --- a/lib/run.ts +++ b/lib/run.ts @@ -6,6 +6,7 @@ import * as yargs from 'yargs'; import * as guess from './'; import writeDefinitelyTypedPackage from './definitely-typed'; +import { escapeModuleName } from "./names"; const templatesDirectory = path.join(__dirname, "..", "..", "templates"); @@ -105,7 +106,7 @@ try { console.log(result); } else { let filename = - typeof args.file === 'boolean' || args.file === undefined ? name + '.d.ts' : args.file; + typeof args.file === 'boolean' || args.file === undefined ? escapeModuleName(name) + '.d.ts' : args.file; if (!filename.endsWith('.d.ts')) { filename = filename + '.d.ts'; } diff --git a/package.json b/package.json index 1e1e6da..1ba07f5 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,8 @@ "yargs": "^15.3.1" }, "devDependencies": { + "chai": "^4.2.0", + "@types/chai": "^4.2.11", "@types/mocha": "latest", "@types/node": "^12.0.0", "@types/parse-git-config": "^1.1.0", @@ -32,7 +34,7 @@ ], "preferGlobal": true, "scripts": { - "test": "mocha bin/tests/test.js", + "test": "mocha bin/tests/", "build": "tsc", "build-browser": "tsc -p browser && webpack", "lint": "tslint --project tsconfig.json --format stylish" diff --git a/tests/fileNames.spec.ts b/tests/fileNames.spec.ts new file mode 100644 index 0000000..b72aef9 --- /dev/null +++ b/tests/fileNames.spec.ts @@ -0,0 +1,12 @@ +import { escapeModuleName } from "../lib/names"; +import { expect } from "chai"; + +const testModuleNames = ["@vue/devtools", "@test/legal_package_name", "also.legal", "still-legal"]; +const expectedNames = ["vue__devtools", "test__legal_package_name", "also.legal", "still-legal"]; + +describe("Module names", () => { + it("Escapes scoped modules", () => { + const result = testModuleNames.map(escapeModuleName); + expect(result).to.deep.equal(expectedNames); + }); +}); \ No newline at end of file From a116892cbc55a0c1876198101ee42fae07f284db Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 21:15:57 -0400 Subject: [PATCH 07/10] Build bundle --- docs/browser-bundle.js | 60 +++++++++++------------------------------- 1 file changed, 16 insertions(+), 44 deletions(-) diff --git a/docs/browser-bundle.js b/docs/browser-bundle.js index 5049d4a..697a7dc 100644 --- a/docs/browser-bundle.js +++ b/docs/browser-bundle.js @@ -1,44 +1,16 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(module,exports,__webpack_require__){"use strict";var guess=__webpack_require__(1);!function(){var css="position: fixed;\n\tdisplay: inline-block;\n\tleft: 10%;\n\ttop: 10%;\n\twidth: auto;\n\theight: auto;\n\tpadding: 2em;\n\tmargin-left: auto;\n\tmargin-right: auto;\n\tborder: solid black 2px;\n\tz-index: 100000;\n\tbackground-color: #294E80;\n color: white;\n\ttext-align: center;",displayWindow=document.createElement("div");displayWindow.setAttribute("id","tsguess-window"),displayWindow.setAttribute("style",css),displayWindow.innerHTML='\n\t\t
tsguess Browser Type Guesser
\n\t\t
\n
\n \n \n
\n\t\t
\n\t\t \n \n\t',window.setTimeout(function(){var button=document.getElementById("tsguess-generate"),input=document.getElementById("tsguess-input"),output=document.getElementById("tsguess-output");button.addEventListener("click",function(){output.value=guess.generateIdentifierDeclarationFile(input.value,eval(input.value))}),window.infer=function(e){input.value=e,button.click()}},10),document.body.appendChild(displayWindow)}()},function(e,t,n){"use strict";function r(e){return e.replace(/-/g,"_")}function a(e){return"object"==typeof e?4:"string"==typeof e||"number"==typeof e||"boolean"==typeof e?8:null===e||void 0===e?16:"function"==typeof e?d(e)?1|(i(e)?4:0):2|(o(e)?4:0):32}function i(e){return u(e).some(function(t){return d(e[t])})}function o(e){return u(e).some(function(e){return void 0===Function[e]})}function s(e,t){var n=r(e),a=f(n,t);if(1===a.length&&"namespace"===a[0].kind){for(var i=a[0].members,o=0,s=i;o1)}function f(e,t){function n(){if("function"==typeof t){var n,r=v(t,k(t)),i=C.create.namespace(e);if(d(t)){var o=C.create.class(e);y(t).forEach(function(e){return o.members.push(e)}),g(t).forEach(function(e){return o.members.push(e)}),o.members.push(C.create.constructor(r[0])),o.members.sort(h),n=o}else{var s=k(t),c=v(t,s);n=C.create.function(e,c[0],c[1])}for(var _=u(t),l=0,m=_;l0?[n,i]:[n]}if("object"==typeof t){var x=p(t);if("string"==typeof x||"name"===x.kind||"array"===x.kind){var S=C.create.const(e,x);return"string"===x&&(S.comment='Value of string: "'+x.substr(0,100)+(x.length>100?"...":"")+'"'),[S]}for(var _=(a(t),u(t)),D=0,T=0,w=_;T4){var r=E.create.const(e,C.type.any);return r.comment=(w.has(t)?"Circular reference":"Too-deep object hierarchy")+" from "+A.join("."),[r]}if(!l(e))return[];w.set(t),A.push(e);var i=n();return A.pop(),w.delete(t),i}function p(e){function t(){for(var t in T)if(T[t]&&e instanceof T[t])return E.create.namedTypeReference(t);if(Array.isArray(e))return e.length>0?E.create.array(p(e[0])):E.create.array(C.type.any);switch(typeof e){case"string":case"number":case"boolean":return typeof e;case"undefined":return C.type.any;case"object":if(null===e)return C.type.any;w.set(e);var n=m(e);w.delete(e),n.sort(h);var r=C.create.objectType(n);return r;default:return C.type.any}}var n=t();return n}function m(e){function t(t){return w.has(e[t])?E.create.property(t,C.type.any):E.create.property(t,p(e[t]))}w.set(e);var n=u(e),r=n.map(t);return w.delete(e),r}function g(e){function t(e,t){if("function"==typeof t){var n=v(t,k(t)),r=E.create.method(e,n[0],n[1]);return x(t)&&(r.comment="Native method; no parameter or return type inference available"),r}}function n(e){return"constructor"===e||"_"===e[0]}var r=Object.getOwnPropertyNames(e.prototype),a=r.filter(function(e){return!n(e)}).map(function(n){return t(n,e.prototype[n])}).filter(function(e){return void 0!==e});return a.sort(),a}function y(e){if(x(e))return[];var t=(k(e),[]);return t}function h(e,t){return e.kind===t.kind?e.name>t.name?1:e.namet.kind?1:e.kind0}var S=n(2),D=n(65),C=n(66),E=n(66),T={Date:Date,RegExp:RegExp,Map:"undefined"!=typeof Map?Map:void 0,HTMLElement:"undefined"!=typeof HTMLElement?HTMLElement:void 0};t.generateModuleDeclarationFile=s,t.generateIdentifierDeclarationFile=c;var w=new Map,N=Object.getOwnPropertyNames(function(){}),A=[]},function(e,t,n){(function(t,r,a,i){var o,s=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)};!function(e){var t;!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.StringLiteral=9]="StringLiteral",e[e.JsxText=10]="JsxText",e[e.RegularExpressionLiteral=11]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=12]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=13]="TemplateHead",e[e.TemplateMiddle=14]="TemplateMiddle",e[e.TemplateTail=15]="TemplateTail",e[e.OpenBraceToken=16]="OpenBraceToken",e[e.CloseBraceToken=17]="CloseBraceToken",e[e.OpenParenToken=18]="OpenParenToken",e[e.CloseParenToken=19]="CloseParenToken",e[e.OpenBracketToken=20]="OpenBracketToken",e[e.CloseBracketToken=21]="CloseBracketToken",e[e.DotToken=22]="DotToken",e[e.DotDotDotToken=23]="DotDotDotToken",e[e.SemicolonToken=24]="SemicolonToken",e[e.CommaToken=25]="CommaToken",e[e.LessThanToken=26]="LessThanToken",e[e.LessThanSlashToken=27]="LessThanSlashToken",e[e.GreaterThanToken=28]="GreaterThanToken",e[e.LessThanEqualsToken=29]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=30]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=31]="EqualsEqualsToken",e[e.ExclamationEqualsToken=32]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=33]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=34]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=35]="EqualsGreaterThanToken",e[e.PlusToken=36]="PlusToken",e[e.MinusToken=37]="MinusToken",e[e.AsteriskToken=38]="AsteriskToken",e[e.AsteriskAsteriskToken=39]="AsteriskAsteriskToken",e[e.SlashToken=40]="SlashToken",e[e.PercentToken=41]="PercentToken",e[e.PlusPlusToken=42]="PlusPlusToken",e[e.MinusMinusToken=43]="MinusMinusToken",e[e.LessThanLessThanToken=44]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=45]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=46]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=47]="AmpersandToken",e[e.BarToken=48]="BarToken",e[e.CaretToken=49]="CaretToken",e[e.ExclamationToken=50]="ExclamationToken",e[e.TildeToken=51]="TildeToken",e[e.AmpersandAmpersandToken=52]="AmpersandAmpersandToken",e[e.BarBarToken=53]="BarBarToken",e[e.QuestionToken=54]="QuestionToken",e[e.ColonToken=55]="ColonToken",e[e.AtToken=56]="AtToken",e[e.EqualsToken=57]="EqualsToken",e[e.PlusEqualsToken=58]="PlusEqualsToken",e[e.MinusEqualsToken=59]="MinusEqualsToken",e[e.AsteriskEqualsToken=60]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=61]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=62]="SlashEqualsToken",e[e.PercentEqualsToken=63]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=64]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=65]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=66]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=67]="AmpersandEqualsToken",e[e.BarEqualsToken=68]="BarEqualsToken",e[e.CaretEqualsToken=69]="CaretEqualsToken",e[e.Identifier=70]="Identifier",e[e.BreakKeyword=71]="BreakKeyword",e[e.CaseKeyword=72]="CaseKeyword",e[e.CatchKeyword=73]="CatchKeyword",e[e.ClassKeyword=74]="ClassKeyword",e[e.ConstKeyword=75]="ConstKeyword",e[e.ContinueKeyword=76]="ContinueKeyword",e[e.DebuggerKeyword=77]="DebuggerKeyword",e[e.DefaultKeyword=78]="DefaultKeyword",e[e.DeleteKeyword=79]="DeleteKeyword",e[e.DoKeyword=80]="DoKeyword",e[e.ElseKeyword=81]="ElseKeyword",e[e.EnumKeyword=82]="EnumKeyword",e[e.ExportKeyword=83]="ExportKeyword",e[e.ExtendsKeyword=84]="ExtendsKeyword",e[e.FalseKeyword=85]="FalseKeyword",e[e.FinallyKeyword=86]="FinallyKeyword",e[e.ForKeyword=87]="ForKeyword",e[e.FunctionKeyword=88]="FunctionKeyword",e[e.IfKeyword=89]="IfKeyword",e[e.ImportKeyword=90]="ImportKeyword",e[e.InKeyword=91]="InKeyword",e[e.InstanceOfKeyword=92]="InstanceOfKeyword",e[e.NewKeyword=93]="NewKeyword",e[e.NullKeyword=94]="NullKeyword",e[e.ReturnKeyword=95]="ReturnKeyword",e[e.SuperKeyword=96]="SuperKeyword",e[e.SwitchKeyword=97]="SwitchKeyword",e[e.ThisKeyword=98]="ThisKeyword",e[e.ThrowKeyword=99]="ThrowKeyword",e[e.TrueKeyword=100]="TrueKeyword",e[e.TryKeyword=101]="TryKeyword",e[e.TypeOfKeyword=102]="TypeOfKeyword",e[e.VarKeyword=103]="VarKeyword",e[e.VoidKeyword=104]="VoidKeyword",e[e.WhileKeyword=105]="WhileKeyword",e[e.WithKeyword=106]="WithKeyword",e[e.ImplementsKeyword=107]="ImplementsKeyword",e[e.InterfaceKeyword=108]="InterfaceKeyword",e[e.LetKeyword=109]="LetKeyword",e[e.PackageKeyword=110]="PackageKeyword",e[e.PrivateKeyword=111]="PrivateKeyword",e[e.ProtectedKeyword=112]="ProtectedKeyword",e[e.PublicKeyword=113]="PublicKeyword",e[e.StaticKeyword=114]="StaticKeyword",e[e.YieldKeyword=115]="YieldKeyword",e[e.AbstractKeyword=116]="AbstractKeyword",e[e.AsKeyword=117]="AsKeyword",e[e.AnyKeyword=118]="AnyKeyword",e[e.AsyncKeyword=119]="AsyncKeyword",e[e.AwaitKeyword=120]="AwaitKeyword",e[e.BooleanKeyword=121]="BooleanKeyword",e[e.ConstructorKeyword=122]="ConstructorKeyword",e[e.DeclareKeyword=123]="DeclareKeyword",e[e.GetKeyword=124]="GetKeyword",e[e.IsKeyword=125]="IsKeyword",e[e.KeyOfKeyword=126]="KeyOfKeyword",e[e.ModuleKeyword=127]="ModuleKeyword",e[e.NamespaceKeyword=128]="NamespaceKeyword",e[e.NeverKeyword=129]="NeverKeyword",e[e.ReadonlyKeyword=130]="ReadonlyKeyword",e[e.RequireKeyword=131]="RequireKeyword",e[e.NumberKeyword=132]="NumberKeyword",e[e.SetKeyword=133]="SetKeyword",e[e.StringKeyword=134]="StringKeyword",e[e.SymbolKeyword=135]="SymbolKeyword",e[e.TypeKeyword=136]="TypeKeyword",e[e.UndefinedKeyword=137]="UndefinedKeyword",e[e.FromKeyword=138]="FromKeyword",e[e.GlobalKeyword=139]="GlobalKeyword",e[e.OfKeyword=140]="OfKeyword",e[e.QualifiedName=141]="QualifiedName",e[e.ComputedPropertyName=142]="ComputedPropertyName",e[e.TypeParameter=143]="TypeParameter",e[e.Parameter=144]="Parameter",e[e.Decorator=145]="Decorator",e[e.PropertySignature=146]="PropertySignature",e[e.PropertyDeclaration=147]="PropertyDeclaration",e[e.MethodSignature=148]="MethodSignature",e[e.MethodDeclaration=149]="MethodDeclaration",e[e.Constructor=150]="Constructor",e[e.GetAccessor=151]="GetAccessor",e[e.SetAccessor=152]="SetAccessor",e[e.CallSignature=153]="CallSignature",e[e.ConstructSignature=154]="ConstructSignature",e[e.IndexSignature=155]="IndexSignature",e[e.TypePredicate=156]="TypePredicate",e[e.TypeReference=157]="TypeReference",e[e.FunctionType=158]="FunctionType",e[e.ConstructorType=159]="ConstructorType",e[e.TypeQuery=160]="TypeQuery",e[e.TypeLiteral=161]="TypeLiteral",e[e.ArrayType=162]="ArrayType",e[e.TupleType=163]="TupleType",e[e.UnionType=164]="UnionType",e[e.IntersectionType=165]="IntersectionType",e[e.ParenthesizedType=166]="ParenthesizedType",e[e.ThisType=167]="ThisType",e[e.TypeOperator=168]="TypeOperator",e[e.IndexedAccessType=169]="IndexedAccessType",e[e.MappedType=170]="MappedType",e[e.LiteralType=171]="LiteralType",e[e.ObjectBindingPattern=172]="ObjectBindingPattern",e[e.ArrayBindingPattern=173]="ArrayBindingPattern",e[e.BindingElement=174]="BindingElement",e[e.ArrayLiteralExpression=175]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=176]="ObjectLiteralExpression",e[e.PropertyAccessExpression=177]="PropertyAccessExpression",e[e.ElementAccessExpression=178]="ElementAccessExpression",e[e.CallExpression=179]="CallExpression",e[e.NewExpression=180]="NewExpression",e[e.TaggedTemplateExpression=181]="TaggedTemplateExpression",e[e.TypeAssertionExpression=182]="TypeAssertionExpression",e[e.ParenthesizedExpression=183]="ParenthesizedExpression",e[e.FunctionExpression=184]="FunctionExpression",e[e.ArrowFunction=185]="ArrowFunction",e[e.DeleteExpression=186]="DeleteExpression",e[e.TypeOfExpression=187]="TypeOfExpression",e[e.VoidExpression=188]="VoidExpression",e[e.AwaitExpression=189]="AwaitExpression",e[e.PrefixUnaryExpression=190]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=191]="PostfixUnaryExpression",e[e.BinaryExpression=192]="BinaryExpression",e[e.ConditionalExpression=193]="ConditionalExpression",e[e.TemplateExpression=194]="TemplateExpression",e[e.YieldExpression=195]="YieldExpression",e[e.SpreadElement=196]="SpreadElement",e[e.ClassExpression=197]="ClassExpression",e[e.OmittedExpression=198]="OmittedExpression",e[e.ExpressionWithTypeArguments=199]="ExpressionWithTypeArguments";e[e.AsExpression=200]="AsExpression";e[e.NonNullExpression=201]="NonNullExpression",e[e.TemplateSpan=202]="TemplateSpan",e[e.SemicolonClassElement=203]="SemicolonClassElement",e[e.Block=204]="Block",e[e.VariableStatement=205]="VariableStatement",e[e.EmptyStatement=206]="EmptyStatement",e[e.ExpressionStatement=207]="ExpressionStatement",e[e.IfStatement=208]="IfStatement",e[e.DoStatement=209]="DoStatement",e[e.WhileStatement=210]="WhileStatement",e[e.ForStatement=211]="ForStatement",e[e.ForInStatement=212]="ForInStatement",e[e.ForOfStatement=213]="ForOfStatement",e[e.ContinueStatement=214]="ContinueStatement",e[e.BreakStatement=215]="BreakStatement",e[e.ReturnStatement=216]="ReturnStatement",e[e.WithStatement=217]="WithStatement",e[e.SwitchStatement=218]="SwitchStatement",e[e.LabeledStatement=219]="LabeledStatement",e[e.ThrowStatement=220]="ThrowStatement",e[e.TryStatement=221]="TryStatement",e[e.DebuggerStatement=222]="DebuggerStatement",e[e.VariableDeclaration=223]="VariableDeclaration",e[e.VariableDeclarationList=224]="VariableDeclarationList",e[e.FunctionDeclaration=225]="FunctionDeclaration",e[e.ClassDeclaration=226]="ClassDeclaration",e[e.InterfaceDeclaration=227]="InterfaceDeclaration",e[e.TypeAliasDeclaration=228]="TypeAliasDeclaration",e[e.EnumDeclaration=229]="EnumDeclaration",e[e.ModuleDeclaration=230]="ModuleDeclaration",e[e.ModuleBlock=231]="ModuleBlock",e[e.CaseBlock=232]="CaseBlock",e[e.NamespaceExportDeclaration=233]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=234]="ImportEqualsDeclaration",e[e.ImportDeclaration=235]="ImportDeclaration",e[e.ImportClause=236]="ImportClause",e[e.NamespaceImport=237]="NamespaceImport",e[e.NamedImports=238]="NamedImports",e[e.ImportSpecifier=239]="ImportSpecifier",e[e.ExportAssignment=240]="ExportAssignment",e[e.ExportDeclaration=241]="ExportDeclaration",e[e.NamedExports=242]="NamedExports",e[e.ExportSpecifier=243]="ExportSpecifier",e[e.MissingDeclaration=244]="MissingDeclaration",e[e.ExternalModuleReference=245]="ExternalModuleReference",e[e.JsxElement=246]="JsxElement",e[e.JsxSelfClosingElement=247]="JsxSelfClosingElement",e[e.JsxOpeningElement=248]="JsxOpeningElement",e[e.JsxClosingElement=249]="JsxClosingElement",e[e.JsxAttribute=250]="JsxAttribute",e[e.JsxSpreadAttribute=251]="JsxSpreadAttribute",e[e.JsxExpression=252]="JsxExpression",e[e.CaseClause=253]="CaseClause",e[e.DefaultClause=254]="DefaultClause",e[e.HeritageClause=255]="HeritageClause",e[e.CatchClause=256]="CatchClause",e[e.PropertyAssignment=257]="PropertyAssignment",e[e.ShorthandPropertyAssignment=258]="ShorthandPropertyAssignment",e[e.SpreadAssignment=259]="SpreadAssignment",e[e.EnumMember=260]="EnumMember",e[e.SourceFile=261]="SourceFile",e[e.JSDocTypeExpression=262]="JSDocTypeExpression",e[e.JSDocAllType=263]="JSDocAllType",e[e.JSDocUnknownType=264]="JSDocUnknownType",e[e.JSDocArrayType=265]="JSDocArrayType",e[e.JSDocUnionType=266]="JSDocUnionType",e[e.JSDocTupleType=267]="JSDocTupleType",e[e.JSDocNullableType=268]="JSDocNullableType",e[e.JSDocNonNullableType=269]="JSDocNonNullableType",e[e.JSDocRecordType=270]="JSDocRecordType",e[e.JSDocRecordMember=271]="JSDocRecordMember",e[e.JSDocTypeReference=272]="JSDocTypeReference",e[e.JSDocOptionalType=273]="JSDocOptionalType",e[e.JSDocFunctionType=274]="JSDocFunctionType",e[e.JSDocVariadicType=275]="JSDocVariadicType",e[e.JSDocConstructorType=276]="JSDocConstructorType",e[e.JSDocThisType=277]="JSDocThisType",e[e.JSDocComment=278]="JSDocComment",e[e.JSDocTag=279]="JSDocTag",e[e.JSDocAugmentsTag=280]="JSDocAugmentsTag",e[e.JSDocParameterTag=281]="JSDocParameterTag",e[e.JSDocReturnTag=282]="JSDocReturnTag",e[e.JSDocTypeTag=283]="JSDocTypeTag",e[e.JSDocTemplateTag=284]="JSDocTemplateTag",e[e.JSDocTypedefTag=285]="JSDocTypedefTag",e[e.JSDocPropertyTag=286]="JSDocPropertyTag",e[e.JSDocTypeLiteral=287]="JSDocTypeLiteral",e[e.JSDocLiteralType=288]="JSDocLiteralType",e[e.JSDocNullKeyword=289]="JSDocNullKeyword",e[e.JSDocUndefinedKeyword=290]="JSDocUndefinedKeyword",e[e.JSDocNeverKeyword=291]="JSDocNeverKeyword",e[e.SyntaxList=292]="SyntaxList",e[e.NotEmittedStatement=293]="NotEmittedStatement",e[e.PartiallyEmittedExpression=294]="PartiallyEmittedExpression",e[e.MergeDeclarationMarker=295]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=296]="EndOfDeclarationMarker",e[e.RawExpression=297]="RawExpression",e[e.Count=298]="Count",e[e.FirstAssignment=57]="FirstAssignment",e[e.LastAssignment=69]="LastAssignment",e[e.FirstCompoundAssignment=58]="FirstCompoundAssignment",e[e.LastCompoundAssignment=69]="LastCompoundAssignment",e[e.FirstReservedWord=71]="FirstReservedWord",e[e.LastReservedWord=106]="LastReservedWord",e[e.FirstKeyword=71]="FirstKeyword",e[e.LastKeyword=140]="LastKeyword",e[e.FirstFutureReservedWord=107]="FirstFutureReservedWord",e[e.LastFutureReservedWord=115]="LastFutureReservedWord",e[e.FirstTypeNode=156]="FirstTypeNode",e[e.LastTypeNode=171]="LastTypeNode",e[e.FirstPunctuation=16]="FirstPunctuation",e[e.LastPunctuation=69]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=140]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=12]="LastLiteralToken",e[e.FirstTemplateToken=12]="FirstTemplateToken",e[e.LastTemplateToken=15]="LastTemplateToken",e[e.FirstBinaryOperator=26]="FirstBinaryOperator",e[e.LastBinaryOperator=69]="LastBinaryOperator",e[e.FirstNode=141]="FirstNode",e[e.FirstJSDocNode=262]="FirstJSDocNode",e[e.LastJSDocNode=288]="LastJSDocNode",e[e.FirstJSDocTagNode=278]="FirstJSDocTagNode",e[e.LastJSDocTagNode=291]="LastJSDocTagNode"}(t=e.SyntaxKind||(e.SyntaxKind={}));var n;!function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.ExportContext=32]="ExportContext",e[e.ContainsThis=64]="ContainsThis",e[e.HasImplicitReturn=128]="HasImplicitReturn",e[e.HasExplicitReturn=256]="HasExplicitReturn",e[e.GlobalAugmentation=512]="GlobalAugmentation",e[e.HasAsyncFunctions=1024]="HasAsyncFunctions",e[e.DisallowInContext=2048]="DisallowInContext",e[e.YieldContext=4096]="YieldContext",e[e.DecoratorContext=8192]="DecoratorContext",e[e.AwaitContext=16384]="AwaitContext",e[e.ThisNodeHasError=32768]="ThisNodeHasError",e[e.JavaScriptFile=65536]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=131072]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=262144]="HasAggregatedChildData",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=384]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=1408]="ReachabilityAndEmitFlags",e[e.ContextFlags=96256]="ContextFlags",e[e.TypeExcludesFlags=20480]="TypeExcludesFlags"}(n=e.NodeFlags||(e.NodeFlags={}));var r;!function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault"}(r=e.ModifierFlags||(e.ModifierFlags={}));var a;!function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(a=e.JsxFlags||(e.JsxFlags={}));var i;!function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.FailedAndReported=3]="FailedAndReported"}(i=e.RelationComparisonResult||(e.RelationComparisonResult={}));var o;!function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node"}(o=e.GeneratedIdentifierKind||(e.GeneratedIdentifierKind={}));var s;!function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Referenced=512]="Referenced",e[e.Shared=1024]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(s=e.FlowFlags||(e.FlowFlags={}));var c=function(){function e(){}return e}();e.OperationCanceledException=c;var u;!function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated"}(u=e.ExitStatus||(e.ExitStatus={}));var _;!function(e){e[e.None=0]="None",e[e.WriteArrayAsGenericType=1]="WriteArrayAsGenericType",e[e.UseTypeOfFunction=2]="UseTypeOfFunction",e[e.NoTruncation=4]="NoTruncation",e[e.WriteArrowStyleSignature=8]="WriteArrowStyleSignature",e[e.WriteOwnNameForAnyLike=16]="WriteOwnNameForAnyLike",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.InElementType=64]="InElementType",e[e.UseFullyQualifiedType=128]="UseFullyQualifiedType",e[e.InFirstTypeArgument=256]="InFirstTypeArgument",e[e.InTypeAlias=512]="InTypeAlias",e[e.UseTypeAliasValue=1024]="UseTypeAliasValue"}(_=e.TypeFormatFlags||(e.TypeFormatFlags={}));var l;!function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing"}(l=e.SymbolFormatFlags||(e.SymbolFormatFlags={}));var d;!function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(d=e.SymbolAccessibility||(e.SymbolAccessibility={}));var f;!function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(f=e.SyntheticSymbolKind||(e.SyntheticSymbolKind={}));var p;!function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier"}(p=e.TypePredicateKind||(e.TypePredicateKind={}));var m;!function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.StringLikeType=4]="StringLikeType",e[e.BooleanType=5]="BooleanType",e[e.ArrayLikeType=6]="ArrayLikeType",e[e.ESSymbolType=7]="ESSymbolType",e[e.Promise=8]="Promise",e[e.TypeWithCallSignature=9]="TypeWithCallSignature",e[e.ObjectType=10]="ObjectType"}(m=e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={}));var g;!function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.ExportType=2097152]="ExportType",e[e.ExportNamespace=4194304]="ExportNamespace",e[e.Alias=8388608]="Alias",e[e.Instantiated=16777216]="Instantiated",e[e.Merged=33554432]="Merged",e[e.Transient=67108864]="Transient",e[e.Prototype=134217728]="Prototype",e[e.SyntheticProperty=268435456]="SyntheticProperty",e[e.Optional=536870912]="Optional",e[e.ExportStar=1073741824]="ExportStar",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=107455]="Value",e[e.Type=793064]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=107454]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=107455]="BlockScopedVariableExcludes",e[e.ParameterExcludes=107455]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=106927]="FunctionExcludes",e[e.ClassExcludes=899519]="ClassExcludes",e[e.InterfaceExcludes=792968]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=106639]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=99263]="MethodExcludes",e[e.GetAccessorExcludes=41919]="GetAccessorExcludes",e[e.SetAccessorExcludes=74687]="SetAccessorExcludes",e[e.TypeParameterExcludes=530920]="TypeParameterExcludes",e[e.TypeAliasExcludes=793064]="TypeAliasExcludes",e[e.AliasExcludes=8388608]="AliasExcludes",e[e.ModuleMember=8914931]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.HasExports=1952]="HasExports",e[e.HasMembers=6240]="HasMembers",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.Export=7340032]="Export",e[e.ClassMember=106500]="ClassMember",e[e.Classifiable=788448]="Classifiable"}(g=e.SymbolFlags||(e.SymbolFlags={}));var y;!function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.CapturedBlockScopedBinding=131072]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=262144]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=524288]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=1048576]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=2097152]="NeedsLoopOutParameter",e[e.AssignmentsMarked=4194304]="AssignmentsMarked",e[e.ClassWithConstructorReference=8388608]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=16777216]="ConstructorReferenceInClass"}(y=e.NodeCheckFlags||(e.NodeCheckFlags={}));var h;!function(e){e[e.Any=1]="Any",e[e.String=2]="String",e[e.Number=4]="Number",e[e.Boolean=8]="Boolean",e[e.Enum=16]="Enum",e[e.StringLiteral=32]="StringLiteral",e[e.NumberLiteral=64]="NumberLiteral",e[e.BooleanLiteral=128]="BooleanLiteral",e[e.EnumLiteral=256]="EnumLiteral",e[e.ESSymbol=512]="ESSymbol",e[e.Void=1024]="Void",e[e.Undefined=2048]="Undefined",e[e.Null=4096]="Null",e[e.Never=8192]="Never",e[e.TypeParameter=16384]="TypeParameter",e[e.Object=32768]="Object",e[e.Union=65536]="Union",e[e.Intersection=131072]="Intersection",e[e.Index=262144]="Index",e[e.IndexedAccess=524288]="IndexedAccess",e[e.FreshLiteral=1048576]="FreshLiteral",e[e.ContainsWideningType=2097152]="ContainsWideningType",e[e.ContainsObjectLiteral=4194304]="ContainsObjectLiteral",e[e.ContainsAnyFunctionType=8388608]="ContainsAnyFunctionType",e[e.Nullable=6144]="Nullable",e[e.Literal=480]="Literal",e[e.StringOrNumberLiteral=96]="StringOrNumberLiteral",e[e.DefinitelyFalsy=7392]="DefinitelyFalsy",e[e.PossiblyFalsy=7406]="PossiblyFalsy",e[e.Intrinsic=16015]="Intrinsic",e[e.Primitive=8190]="Primitive",e[e.StringLike=262178]="StringLike",e[e.NumberLike=340]="NumberLike", -e[e.BooleanLike=136]="BooleanLike",e[e.EnumLike=272]="EnumLike",e[e.UnionOrIntersection=196608]="UnionOrIntersection",e[e.StructuredType=229376]="StructuredType",e[e.StructuredOrTypeParameter=507904]="StructuredOrTypeParameter",e[e.TypeVariable=540672]="TypeVariable",e[e.Narrowable=1033215]="Narrowable",e[e.NotUnionOrUnit=33281]="NotUnionOrUnit",e[e.RequiresWidening=6291456]="RequiresWidening",e[e.PropagatingFlags=14680064]="PropagatingFlags"}(h=e.TypeFlags||(e.TypeFlags={}));var v;!function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ClassOrInterface=3]="ClassOrInterface"}(v=e.ObjectFlags||(e.ObjectFlags={}));var b;!function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(b=e.SignatureKind||(e.SignatureKind={}));var k;!function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(k=e.IndexKind||(e.IndexKind={}));var x;!function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty"}(x=e.SpecialPropertyAssignmentKind||(e.SpecialPropertyAssignmentKind={}));var S;!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Message=2]="Message"}(S=e.DiagnosticCategory||(e.DiagnosticCategory={}));var D;!function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(D=e.ModuleResolutionKind||(e.ModuleResolutionKind={}));var C;!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015"}(C=e.ModuleKind||(e.ModuleKind={}));var E;!function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React"}(E=e.JsxEmit||(e.JsxEmit={}));var T;!function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(T=e.NewLineKind||(e.NewLineKind={}));var w;!function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX"}(w=e.ScriptKind||(e.ScriptKind={}));var N;!function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ESNext=5]="ESNext",e[e.Latest=5]="Latest"}(N=e.ScriptTarget||(e.ScriptTarget={}));var A;!function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(A=e.LanguageVariant||(e.LanguageVariant={}));var P;!function(e){e[e.Simple=0]="Simple",e[e.Pretty=1]="Pretty"}(P=e.DiagnosticStyle||(e.DiagnosticStyle={}));var O;!function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(O=e.WatchDirectoryFlags||(e.WatchDirectoryFlags={}));var F;!function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(F=e.CharacterCodes||(e.CharacterCodes={}));var R;!function(e){e[e.Ts=0]="Ts",e[e.Tsx=1]="Tsx",e[e.Dts=2]="Dts",e[e.Js=3]="Js",e[e.Jsx=4]="Jsx",e[e.LastTypeScriptExtension=2]="LastTypeScriptExtension"}(R=e.Extension||(e.Extension={}));var I;!function(e){e[e.None=0]="None",e[e.TypeScript=1]="TypeScript",e[e.ContainsTypeScript=2]="ContainsTypeScript",e[e.ContainsJsx=4]="ContainsJsx",e[e.ContainsESNext=8]="ContainsESNext",e[e.ContainsES2017=16]="ContainsES2017",e[e.ContainsES2016=32]="ContainsES2016",e[e.ES2015=64]="ES2015",e[e.ContainsES2015=128]="ContainsES2015",e[e.Generator=256]="Generator",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.DestructuringAssignment=1024]="DestructuringAssignment",e[e.ContainsDestructuringAssignment=2048]="ContainsDestructuringAssignment",e[e.ContainsDecorators=4096]="ContainsDecorators",e[e.ContainsPropertyInitializer=8192]="ContainsPropertyInitializer",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsCapturedLexicalThis=32768]="ContainsCapturedLexicalThis",e[e.ContainsLexicalThisInComputedPropertyName=65536]="ContainsLexicalThisInComputedPropertyName",e[e.ContainsDefaultValueAssignments=131072]="ContainsDefaultValueAssignments",e[e.ContainsParameterPropertyAssignments=262144]="ContainsParameterPropertyAssignments",e[e.ContainsSpread=524288]="ContainsSpread",e[e.ContainsObjectSpread=1048576]="ContainsObjectSpread",e[e.ContainsRest=524288]="ContainsRest",e[e.ContainsObjectRest=1048576]="ContainsObjectRest",e[e.ContainsComputedPropertyName=2097152]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=4194304]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=8388608]="ContainsBindingPattern",e[e.ContainsYield=16777216]="ContainsYield",e[e.ContainsHoistedDeclarationOrCompletion=33554432]="ContainsHoistedDeclarationOrCompletion",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=3]="AssertTypeScript",e[e.AssertJsx=4]="AssertJsx",e[e.AssertESNext=8]="AssertESNext",e[e.AssertES2017=16]="AssertES2017",e[e.AssertES2016=32]="AssertES2016",e[e.AssertES2015=192]="AssertES2015",e[e.AssertGenerator=768]="AssertGenerator",e[e.AssertDestructuringAssignment=3072]="AssertDestructuringAssignment",e[e.NodeExcludes=536872257]="NodeExcludes",e[e.ArrowFunctionExcludes=601249089]="ArrowFunctionExcludes",e[e.FunctionExcludes=601281857]="FunctionExcludes",e[e.ConstructorExcludes=601015617]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=601015617]="MethodOrAccessorExcludes",e[e.ClassExcludes=539358529]="ClassExcludes",e[e.ModuleExcludes=574674241]="ModuleExcludes",e[e.TypeExcludes=-3]="TypeExcludes",e[e.ObjectLiteralExcludes=540087617]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=537396545]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=546309441]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536872257]="ParameterExcludes",e[e.CatchClauseExcludes=537920833]="CatchClauseExcludes",e[e.BindingPatternExcludes=537396545]="BindingPatternExcludes",e[e.TypeScriptClassSyntaxMask=274432]="TypeScriptClassSyntaxMask",e[e.ES2015FunctionSyntaxMask=163840]="ES2015FunctionSyntaxMask"}(I=e.TransformFlags||(e.TransformFlags={}));var L;!function(e){e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.Indented=32768]="Indented",e[e.NoIndentation=65536]="NoIndentation",e[e.AsyncFunctionBody=131072]="AsyncFunctionBody",e[e.ReuseTempVariableScope=262144]="ReuseTempVariableScope",e[e.CustomPrologue=524288]="CustomPrologue",e[e.NoHoisting=1048576]="NoHoisting",e[e.HasEndOfDeclarationMarker=2097152]="HasEndOfDeclarationMarker"}(L=e.EmitFlags||(e.EmitFlags={}));var M;!function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=128]="LastEmitHelper"}(M=e.ExternalEmitHelpers||(e.ExternalEmitHelpers={}));var B;!function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.Unspecified=3]="Unspecified"}(B=e.EmitContext||(e.EmitContext={}))}(o||(o={}));var o;!function(e){e.timestamp="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:Date.now?Date.now:function(){return+new Date}}(o||(o={})),function(e){var t;!function(t){function n(t){f&&(_[t]=e.timestamp(),u[t]=(u[t]||0)+1,d(t))}function r(t,n,r){if(f){var a=r&&_[r]||e.timestamp(),i=n&&_[n]||p;l[t]=(l[t]||0)+(a-i)}}function a(e){return u&&u[e]||0}function i(e){return l&&l[e]||0}function o(e){for(var t in l)e(t,l[t])}function s(){u=e.createMap(),_=e.createMap(),l=e.createMap(),f=!0,p=e.timestamp()}function c(){f=!1}var u,_,l,d="function"==typeof onProfilerEvent&&onProfilerEvent.profiler===!0?onProfilerEvent:function(e){},f=!1,p=0;t.mark=n,t.measure=r,t.getCount=a,t.getDuration=i,t.forEachMeasure=o,t.enable=s,t.disable=c}(t=e.performance||(e.performance={}))}(o||(o={}));var o;!function(e){e.version="2.1.4"}(o||(o={})),function(e){function t(e){var t=Qt(null);t.__=void 0,delete t.__;for(var n in e)$t.call(e,n)&&(t[n]=e[n]);return t}function n(e){function n(e){for(var t in _)e(t,_[t])}function r(){var e=[];for(var t in _)e.push(t);return e}function a(e){return _[u(e)]}function i(e,t){_[u(e)]=t}function o(e){return u(e)in _}function s(e){var t=u(e);delete _[t]}function c(){_=t()}function u(t){return e?e(t):t}var _=t();return{get:a,set:i,contains:o,remove:s,forEachValue:n,getKeys:r,clear:c}}function r(e,t,n){var r=Ke(e)?Oe(e):qe(e,t);return n(r)}function a(e,t){if(e)for(var n=0,r=e.length;n0;for(var n=0,r=e;n0?e[0]:void 0}function L(e){return e&&e.length>0?e[e.length-1]:void 0}function M(e){return e&&1===e.length?e[0]:void 0}function B(e){return e&&1===e.length?e[0]:e}function j(e,t,n){var r=e.slice(0);return r[t]=n,r}function z(e,t,n,r){if(!e||0===e.length)return-1;var a=r||0,i=e.length-1;for(n=void 0!==n?n:function(e,t){return et?1:0};a<=i;){var o=a+(i-a>>1),s=e[o];if(0===n(s,t))return o;n(s,t)>0?i=o-1:a=o+1}return~a}function K(e,t,n,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=n;o<=s;)c=t(c,e[o],o),o++;return c}}return n}function J(e,t,n,r,a){if(e){var i=e.length;if(i>0){var o=void 0===r||r>i-1?i-1:r,s=void 0===a||o-a<0?0:o-a,c=void 0;for(arguments.length<=2?(c=e[o],o--):c=n;o>=s;)c=t(c,e[o],o),o--;return c}}return n}function U(e,t){return $t.call(e,t)}function V(e,t){return $t.call(e,t)?e[t]:void 0}function q(e){var t=[];for(var n in e)$t.call(e,n)&&t.push(n);return t}function W(e,t){var n;for(var r in e)if(n=t(e[r],r))break;return n}function H(e,t){for(var n in e)if(!t||t(e[n],n))return!0;return!1}function G(e,t){for(var n in e)t[n]=e[n]}function X(e,n,r){return void 0===n||void 0===r?e:(void 0===e&&(e=t()),e[n]=r,e)}function Y(e){for(var t=[],n=1;n=0,"start must be non-negative, is "+t),_n.assert(n>=0,"length must be non-negative, is "+n),e&&(_n.assert(t<=e.text.length,"start must be within the bounds of the file. "+t+" > "+e.text.length),_n.assert(a<=e.text.length,"end must be the bounds of the file. "+a+" > "+e.text.length));var i=pe(r);return arguments.length>4&&(i=fe(i,arguments,4)),{file:e,start:t,length:n,messageText:i,category:r.category,code:r.code}}function ge(e,t){var n=pe(t);return arguments.length>2&&(n=fe(n,arguments,2)),n}function ye(e){var t=pe(e);return arguments.length>1&&(t=fe(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code}}function he(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}function ve(e,t){var n=pe(t);return arguments.length>2&&(n=fe(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e}}function be(e,t){for(var n=e;n.next;)n=n.next;return n.next=t,e}function ke(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e0?1:0}if(t=t.toUpperCase(),n=n.toUpperCase(),t===n)return 0}return t0&&".."!==L(a)?a.pop():s&&a.push(s))}return a}function Oe(t){t=Ne(t);var n=Ae(t),r=t.substr(0,n),a=Pe(t,n);if(a.length){var i=r+a.join(e.directorySeparator);return Fe(t)?i+e.directorySeparator:i}return r}function Fe(e){return e.charCodeAt(e.length-1)===en}function Re(t){return t.substr(0,Math.max(Ae(t),t.lastIndexOf(e.directorySeparator)))}function Ie(e){return e&&!Ke(e)&&e.indexOf("://")!==-1}function Le(e){return/^\.\.?($|[\\/])/.test(e)}function Me(e){return e.target||0}function Be(t){return"number"==typeof t.module?t.module:Me(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function je(t){var n=t.moduleResolution;return void 0===n&&(n=Be(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),n}function ze(e){for(var t=!1,n=0;n1&&""===L(s)&&s.length--;var c;for(c=0;c=0&&e.indexOf(t,n)===n}function at(e){return Ye(e).indexOf(".")>=0}function it(e,t){return e.length>t.length&&rt(e,t)}function ot(e,t){for(var n=0,r=t;n0;)s+=")?",d--;return s}}function _t(e){return dt(e,rn)}function lt(e){return dt(e,an)}function dt(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function ft(e,t,n,r,a){e=Oe(e),a=Oe(a);var i=Qe(a,e);return{includeFilePattern:st(n,i,"files"),includeDirectoryPattern:st(n,i,"directories"),excludePattern:st(t,i,"exclude"),basePaths:mt(e,n,r)}}function pt(e,t,n,r,a,i,o){function s(e,n){for(var r=o(e),a=r.files,i=r.directories,c=0,u=a;c=0;n--)if(it(e,t[n]))return Dt(n);return 0}function Dt(e){return e<2?0:e<5?2:5}function Ct(e){return e<2?2:5}function Et(e){for(var t=0,n=cn;ta&&(a=c.prefix.length,r=s)}return r}function Vt(e,t){var n=e.prefix,r=e.suffix;return t.length>=n.length+r.length&&nt(t,n)&&rt(t,r)}function qt(e){_n.assert(ze(e));var t=e.indexOf("*");return t===-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function Wt(e){return!(e>=0)}function Ht(t){return t<=e.Extension.LastTypeScriptExtension}function Gt(e){var t=Xt(e);return void 0!==t?t:void _n.fail("File "+e+" has unknown extension.")}function Xt(t){return it(t,".d.ts")?e.Extension.Dts:it(t,".ts")?e.Extension.Ts:it(t,".tsx")?e.Extension.Tsx:it(t,".js")?e.Extension.Js:it(t,".jsx")?e.Extension.Jsx:void 0}var Yt;!function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(Yt=e.Ternary||(e.Ternary={}));var Qt=Object.create;e.collator="object"==typeof Intl&&"function"==typeof Intl.Collator?new Intl.Collator:void 0,e.createMap=t,e.createFileMap=n,e.toPath=r;var Zt;!function(e){e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan"}(Zt=e.Comparison||(e.Comparison={})),e.forEach=a,e.zipWith=i,e.every=o,e.find=s,e.findMap=c,e.contains=u,e.indexOf=_,e.indexOfAnyCharCode=l,e.countWhere=d,e.filter=f,e.removeWhere=p,e.filterMutate=m,e.map=g,e.sameMap=y,e.flatten=h,e.flatMap=v,e.span=b,e.spanMap=k,e.mapObject=x,e.some=S,e.concatenate=D,e.deduplicate=C,e.arrayIsEqualTo=E,e.changesAffectModuleResolution=T,e.compact=w,e.relativeComplement=N,e.sum=A,e.append=P,e.addRange=O,e.stableSort=F,e.rangeEquals=R,e.firstOrUndefined=I,e.lastOrUndefined=L,e.singleOrUndefined=M,e.singleOrMany=B,e.replaceElement=j,e.binarySearch=z,e.reduceLeft=K,e.reduceRight=J;var $t=Object.prototype.hasOwnProperty;e.hasProperty=U,e.getProperty=V,e.getOwnKeys=q,e.forEachProperty=W,e.someProperties=H,e.copyProperties=G,e.appendProperty=X,e.assign=Y,e.reduceProperties=Q,e.reduceOwnProperties=Z,e.equalOwnProperties=$,e.arrayToMap=ee,e.isEmpty=te,e.cloneMap=ne,e.clone=re,e.extend=ae,e.multiMapAdd=ie,e.multiMapRemove=oe,e.isArray=se,e.noop=ce,e.notImplemented=ue,e.memoize=_e,e.chain=le,e.compose=de,e.localizedDiagnosticMessages=void 0,e.getLocaleSpecificMessage=pe,e.createFileDiagnostic=me,e.formatMessage=ge,e.createCompilerDiagnostic=ye,e.createCompilerDiagnosticFromMessageChain=he,e.chainDiagnosticMessages=ve,e.concatenateDiagnosticMessageChains=be,e.compareValues=ke,e.compareStrings=xe,e.compareStringsCaseInsensitive=Se,e.compareDiagnostics=Ce,e.sortAndDeduplicateDiagnostics=Te,e.deduplicateSortedDiagnostics=we,e.normalizeSlashes=Ne,e.getRootLength=Ae,e.directorySeparator="/";var en=47;e.normalizePath=Oe,e.pathEndsWithDirectorySeparator=Fe,e.getDirectoryPath=Re,e.isUrl=Ie,e.isExternalModuleNameRelative=Le,e.getEmitScriptTarget=Me,e.getEmitModuleKind=Be,e.getEmitModuleResolutionKind=je,e.hasZeroOrOneAsteriskCharacter=ze,e.isRootedDiskPath=Ke,e.convertToRelativePath=Je,e.getNormalizedPathComponents=Ve,e.getNormalizedAbsolutePath=qe,e.getNormalizedPathFromPathComponents=We,e.getRelativePathToDirectoryOrUrl=Xe,e.getBaseFileName=Ye,e.combinePaths=Qe,e.removeTrailingDirectorySeparator=Ze,e.ensureTrailingDirectorySeparator=$e,e.comparePaths=et,e.containsPath=tt,e.startsWith=nt,e.endsWith=rt,e.hasExtension=at,e.fileExtensionIs=it, -e.fileExtensionIsAny=ot;var tn=/[^\w\s\/]/g,nn=[42,63],rn="([^./]|(\\.(?!min\\.js$))?)*",an="[^/]*";e.getRegularExpressionForWildcard=st,e.isImplicitGlob=ct,e.getFileMatcherPatterns=ft,e.matchFiles=pt,e.ensureScriptKind=yt,e.getScriptKindFromFileName=ht,e.supportedTypeScriptExtensions=[".ts",".tsx",".d.ts"],e.supportedTypescriptExtensionsForExtractExtension=[".d.ts",".ts",".tsx"],e.supportedJavascriptExtensions=[".js",".jsx"];var on=e.supportedTypeScriptExtensions.concat(e.supportedJavascriptExtensions);e.getSupportedExtensions=vt,e.hasJavaScriptFileExtension=bt,e.hasTypeScriptFileExtension=kt,e.isSupportedSourceFileName=xt;var sn;!function(e){e[e.TypeScriptFiles=0]="TypeScriptFiles",e[e.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",e[e.Limit=5]="Limit",e[e.Highest=0]="Highest",e[e.Lowest=2]="Lowest"}(sn=e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=St,e.adjustExtensionPriority=Dt,e.getNextLowestExtensionPriority=Ct;var cn=[".d.ts",".ts",".js",".tsx",".jsx"];e.removeFileExtension=Et,e.tryRemoveExtension=Tt,e.removeExtension=wt,e.changeExtension=Nt,e.objectAllocator={getNodeConstructor:function(){return Ft},getTokenConstructor:function(){return Ft},getIdentifierConstructor:function(){return Ft},getSourceFileConstructor:function(){return Ft},getSymbolConstructor:function(){return At},getTypeConstructor:function(){return Pt},getSignatureConstructor:function(){return Ot}};var un;!function(e){e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive"}(un=e.AssertionLevel||(e.AssertionLevel={}));var _n;!function(e){function t(t){return e.currentAssertionLevel>=t}function n(e,t,n){if(!e){var r="";throw n&&(r="\r\nVerbose Debug Information: "+n()),new Error("Debug Failure. False expression: "+(t||"")+r)}}function r(t){e.assert(!1,t)}e.currentAssertionLevel=0,e.shouldAssert=t,e.assert=n,e.fail=r}(_n=e.Debug||(e.Debug={})),e.orderedRemoveItem=Rt,e.orderedRemoveItemAt=It,e.unorderedRemoveItemAt=Lt,e.unorderedRemoveItem=Mt,e.createGetCanonicalFileName=jt,e.matchPatternOrExact=zt,e.patternText=Kt,e.matchedText=Jt,e.findBestPatternMatch=Ut,e.tryParsePattern=qt,e.positionIsSynthesized=Wt,e.extensionIsTypeScript=Ht,e.extensionFromPath=Gt,e.tryGetExtensionFromPath=Xt}(o||(o={}));var o;!function(e){e.sys=function(){function i(){function t(e,t){if(s.FileExists(e)){u.Open();try{if(t)u.Charset=t,u.LoadFromFile(e);else{u.Charset="x-ansi",u.LoadFromFile(e);var n=u.ReadText(2)||"";u.Position=0,u.Charset=n.length>=2&&(255===n.charCodeAt(0)&&254===n.charCodeAt(1)||254===n.charCodeAt(0)&&255===n.charCodeAt(1))?"unicode":"utf-8"}return u.ReadText()}catch(e){throw e}finally{u.Close()}}}function n(e,t,n){u.Open(),_.Open();try{u.Charset="utf-8",u.WriteText(t),n?u.Position=0:u.Position=3,u.CopyTo(_),_.SaveToFile(e,2)}finally{_.Close(),u.Close()}}function r(e){for(var t=[],n=new Enumerator(e);!n.atEnd();n.moveNext())t.push(n.item().Name);return t.sort()}function a(e){var t=s.GetFolder(e);return r(t.subfolders)}function i(e){try{var t=s.GetFolder(e||"."),n=r(t.files),a=r(t.subfolders);return{files:n,directories:a}}catch(e){return{files:[],directories:[]}}}function o(t,n,r,a){return e.matchFiles(t,n,r,a,!1,c.CurrentDirectory,i)}var s=new ActiveXObject("Scripting.FileSystemObject"),c=new ActiveXObject("WScript.Shell"),u=new ActiveXObject("ADODB.Stream");u.Type=2;var _=new ActiveXObject("ADODB.Stream");_.Type=1;for(var l=[],d=0;d=4}function s(){return"win32"!==S&&"win64"!==S&&(!f(r.toUpperCase())||!f(r.toLowerCase()))}function c(e,t){if(f(e)){var n=y.readFileSync(e),r=n.length;if(r>=2&&254===n[0]&&255===n[1]){r&=-2;for(var a=0;a=2&&255===n[0]&&254===n[1]?n.toString("utf16le",2):r>=3&&239===n[0]&&187===n[1]&&191===n[2]?n.toString("utf8",3):n.toString("utf8")}}function u(e,t,n){n&&(t="\ufeff"+t);var r;try{r=y.openSync(e,"w"),y.writeSync(r,t,void 0,"utf8")}finally{void 0!==r&&y.closeSync(r)}}function _(t){try{for(var n=y.readdirSync(t||".").sort(),r=[],a=[],i=0,o=n;i type."},In_ambient_enum_declarations_member_initializer_must_be_constant_expression:{code:1066,category:e.DiagnosticCategory.Error,key:"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066",message:"In ambient enum declarations member initializer must be constant expression."},Unexpected_token_A_constructor_method_accessor_or_property_was_expected:{code:1068,category:e.DiagnosticCategory.Error,key:"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068",message:"Unexpected token. A constructor, method, accessor, or property was expected."},_0_modifier_cannot_appear_on_a_type_member:{code:1070,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_type_member_1070",message:"'{0}' modifier cannot appear on a type member."},_0_modifier_cannot_appear_on_an_index_signature:{code:1071,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_an_index_signature_1071",message:"'{0}' modifier cannot appear on an index signature."},A_0_modifier_cannot_be_used_with_an_import_declaration:{code:1079,category:e.DiagnosticCategory.Error,key:"A_0_modifier_cannot_be_used_with_an_import_declaration_1079",message:"A '{0}' modifier cannot be used with an import declaration."},Invalid_reference_directive_syntax:{code:1084,category:e.DiagnosticCategory.Error,key:"Invalid_reference_directive_syntax_1084",message:"Invalid 'reference' directive syntax."},Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher:{code:1085,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_1085",message:"Octal literals are not available when targeting ECMAScript 5 and higher."},An_accessor_cannot_be_declared_in_an_ambient_context:{code:1086,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_be_declared_in_an_ambient_context_1086",message:"An accessor cannot be declared in an ambient context."},_0_modifier_cannot_appear_on_a_constructor_declaration:{code:1089,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_constructor_declaration_1089",message:"'{0}' modifier cannot appear on a constructor declaration."},_0_modifier_cannot_appear_on_a_parameter:{code:1090,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_parameter_1090",message:"'{0}' modifier cannot appear on a parameter."},Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:{code:1091,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091",message:"Only a single variable declaration is allowed in a 'for...in' statement."},Type_parameters_cannot_appear_on_a_constructor_declaration:{code:1092,category:e.DiagnosticCategory.Error,key:"Type_parameters_cannot_appear_on_a_constructor_declaration_1092",message:"Type parameters cannot appear on a constructor declaration."},Type_annotation_cannot_appear_on_a_constructor_declaration:{code:1093,category:e.DiagnosticCategory.Error,key:"Type_annotation_cannot_appear_on_a_constructor_declaration_1093",message:"Type annotation cannot appear on a constructor declaration."},An_accessor_cannot_have_type_parameters:{code:1094,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_have_type_parameters_1094",message:"An accessor cannot have type parameters."},A_set_accessor_cannot_have_a_return_type_annotation:{code:1095,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_a_return_type_annotation_1095",message:"A 'set' accessor cannot have a return type annotation."},An_index_signature_must_have_exactly_one_parameter:{code:1096,category:e.DiagnosticCategory.Error,key:"An_index_signature_must_have_exactly_one_parameter_1096",message:"An index signature must have exactly one parameter."},_0_list_cannot_be_empty:{code:1097,category:e.DiagnosticCategory.Error,key:"_0_list_cannot_be_empty_1097",message:"'{0}' list cannot be empty."},Type_parameter_list_cannot_be_empty:{code:1098,category:e.DiagnosticCategory.Error,key:"Type_parameter_list_cannot_be_empty_1098",message:"Type parameter list cannot be empty."},Type_argument_list_cannot_be_empty:{code:1099,category:e.DiagnosticCategory.Error,key:"Type_argument_list_cannot_be_empty_1099",message:"Type argument list cannot be empty."},Invalid_use_of_0_in_strict_mode:{code:1100,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_in_strict_mode_1100",message:"Invalid use of '{0}' in strict mode."},with_statements_are_not_allowed_in_strict_mode:{code:1101,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_strict_mode_1101",message:"'with' statements are not allowed in strict mode."},delete_cannot_be_called_on_an_identifier_in_strict_mode:{code:1102,category:e.DiagnosticCategory.Error,key:"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102",message:"'delete' cannot be called on an identifier in strict mode."},A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:{code:1104,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104",message:"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:{code:1105,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105",message:"A 'break' statement can only be used within an enclosing iteration or switch statement."},Jump_target_cannot_cross_function_boundary:{code:1107,category:e.DiagnosticCategory.Error,key:"Jump_target_cannot_cross_function_boundary_1107",message:"Jump target cannot cross function boundary."},A_return_statement_can_only_be_used_within_a_function_body:{code:1108,category:e.DiagnosticCategory.Error,key:"A_return_statement_can_only_be_used_within_a_function_body_1108",message:"A 'return' statement can only be used within a function body."},Expression_expected:{code:1109,category:e.DiagnosticCategory.Error,key:"Expression_expected_1109",message:"Expression expected."},Type_expected:{code:1110,category:e.DiagnosticCategory.Error,key:"Type_expected_1110",message:"Type expected."},A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:{code:1113,category:e.DiagnosticCategory.Error,key:"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113",message:"A 'default' clause cannot appear more than once in a 'switch' statement."},Duplicate_label_0:{code:1114,category:e.DiagnosticCategory.Error,key:"Duplicate_label_0_1114",message:"Duplicate label '{0}'"},A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:{code:1115,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115",message:"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:{code:1116,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116",message:"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:{code:1117,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117",message:"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:{code:1118,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118",message:"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:{code:1119,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119",message:"An object literal cannot have property and accessor with the same name."},An_export_assignment_cannot_have_modifiers:{code:1120,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_have_modifiers_1120",message:"An export assignment cannot have modifiers."},Octal_literals_are_not_allowed_in_strict_mode:{code:1121,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_allowed_in_strict_mode_1121",message:"Octal literals are not allowed in strict mode."},A_tuple_type_element_list_cannot_be_empty:{code:1122,category:e.DiagnosticCategory.Error,key:"A_tuple_type_element_list_cannot_be_empty_1122",message:"A tuple type element list cannot be empty."},Variable_declaration_list_cannot_be_empty:{code:1123,category:e.DiagnosticCategory.Error,key:"Variable_declaration_list_cannot_be_empty_1123",message:"Variable declaration list cannot be empty."},Digit_expected:{code:1124,category:e.DiagnosticCategory.Error,key:"Digit_expected_1124",message:"Digit expected."},Hexadecimal_digit_expected:{code:1125,category:e.DiagnosticCategory.Error,key:"Hexadecimal_digit_expected_1125",message:"Hexadecimal digit expected."},Unexpected_end_of_text:{code:1126,category:e.DiagnosticCategory.Error,key:"Unexpected_end_of_text_1126",message:"Unexpected end of text."},Invalid_character:{code:1127,category:e.DiagnosticCategory.Error,key:"Invalid_character_1127",message:"Invalid character."},Declaration_or_statement_expected:{code:1128,category:e.DiagnosticCategory.Error,key:"Declaration_or_statement_expected_1128",message:"Declaration or statement expected."},Statement_expected:{code:1129,category:e.DiagnosticCategory.Error,key:"Statement_expected_1129",message:"Statement expected."},case_or_default_expected:{code:1130,category:e.DiagnosticCategory.Error,key:"case_or_default_expected_1130",message:"'case' or 'default' expected."},Property_or_signature_expected:{code:1131,category:e.DiagnosticCategory.Error,key:"Property_or_signature_expected_1131",message:"Property or signature expected."},Enum_member_expected:{code:1132,category:e.DiagnosticCategory.Error,key:"Enum_member_expected_1132",message:"Enum member expected."},Variable_declaration_expected:{code:1134,category:e.DiagnosticCategory.Error,key:"Variable_declaration_expected_1134",message:"Variable declaration expected."},Argument_expression_expected:{code:1135,category:e.DiagnosticCategory.Error,key:"Argument_expression_expected_1135",message:"Argument expression expected."},Property_assignment_expected:{code:1136,category:e.DiagnosticCategory.Error,key:"Property_assignment_expected_1136",message:"Property assignment expected."},Expression_or_comma_expected:{code:1137,category:e.DiagnosticCategory.Error,key:"Expression_or_comma_expected_1137",message:"Expression or comma expected."},Parameter_declaration_expected:{code:1138, -category:e.DiagnosticCategory.Error,key:"Parameter_declaration_expected_1138",message:"Parameter declaration expected."},Type_parameter_declaration_expected:{code:1139,category:e.DiagnosticCategory.Error,key:"Type_parameter_declaration_expected_1139",message:"Type parameter declaration expected."},Type_argument_expected:{code:1140,category:e.DiagnosticCategory.Error,key:"Type_argument_expected_1140",message:"Type argument expected."},String_literal_expected:{code:1141,category:e.DiagnosticCategory.Error,key:"String_literal_expected_1141",message:"String literal expected."},Line_break_not_permitted_here:{code:1142,category:e.DiagnosticCategory.Error,key:"Line_break_not_permitted_here_1142",message:"Line break not permitted here."},or_expected:{code:1144,category:e.DiagnosticCategory.Error,key:"or_expected_1144",message:"'{' or ';' expected."},Declaration_expected:{code:1146,category:e.DiagnosticCategory.Error,key:"Declaration_expected_1146",message:"Declaration expected."},Import_declarations_in_a_namespace_cannot_reference_a_module:{code:1147,category:e.DiagnosticCategory.Error,key:"Import_declarations_in_a_namespace_cannot_reference_a_module_1147",message:"Import declarations in a namespace cannot reference a module."},Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:{code:1148,category:e.DiagnosticCategory.Error,key:"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148",message:"Cannot use imports, exports, or module augmentations when '--module' is 'none'."},File_name_0_differs_from_already_included_file_name_1_only_in_casing:{code:1149,category:e.DiagnosticCategory.Error,key:"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149",message:"File name '{0}' differs from already included file name '{1}' only in casing"},new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:{code:1150,category:e.DiagnosticCategory.Error,key:"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150",message:"'new T[]' cannot be used to create an array. Use 'new Array()' instead."},const_declarations_must_be_initialized:{code:1155,category:e.DiagnosticCategory.Error,key:"const_declarations_must_be_initialized_1155",message:"'const' declarations must be initialized"},const_declarations_can_only_be_declared_inside_a_block:{code:1156,category:e.DiagnosticCategory.Error,key:"const_declarations_can_only_be_declared_inside_a_block_1156",message:"'const' declarations can only be declared inside a block."},let_declarations_can_only_be_declared_inside_a_block:{code:1157,category:e.DiagnosticCategory.Error,key:"let_declarations_can_only_be_declared_inside_a_block_1157",message:"'let' declarations can only be declared inside a block."},Unterminated_template_literal:{code:1160,category:e.DiagnosticCategory.Error,key:"Unterminated_template_literal_1160",message:"Unterminated template literal."},Unterminated_regular_expression_literal:{code:1161,category:e.DiagnosticCategory.Error,key:"Unterminated_regular_expression_literal_1161",message:"Unterminated regular expression literal."},An_object_member_cannot_be_declared_optional:{code:1162,category:e.DiagnosticCategory.Error,key:"An_object_member_cannot_be_declared_optional_1162",message:"An object member cannot be declared optional."},A_yield_expression_is_only_allowed_in_a_generator_body:{code:1163,category:e.DiagnosticCategory.Error,key:"A_yield_expression_is_only_allowed_in_a_generator_body_1163",message:"A 'yield' expression is only allowed in a generator body."},Computed_property_names_are_not_allowed_in_enums:{code:1164,category:e.DiagnosticCategory.Error,key:"Computed_property_names_are_not_allowed_in_enums_1164",message:"Computed property names are not allowed in enums."},A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol:{code:1165,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165",message:"A computed property name in an ambient context must directly refer to a built-in symbol."},A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol:{code:1166,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166",message:"A computed property name in a class property declaration must directly refer to a built-in symbol."},A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol:{code:1168,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168",message:"A computed property name in a method overload must directly refer to a built-in symbol."},A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol:{code:1169,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169",message:"A computed property name in an interface must directly refer to a built-in symbol."},A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol:{code:1170,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170",message:"A computed property name in a type literal must directly refer to a built-in symbol."},A_comma_expression_is_not_allowed_in_a_computed_property_name:{code:1171,category:e.DiagnosticCategory.Error,key:"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171",message:"A comma expression is not allowed in a computed property name."},extends_clause_already_seen:{code:1172,category:e.DiagnosticCategory.Error,key:"extends_clause_already_seen_1172",message:"'extends' clause already seen."},extends_clause_must_precede_implements_clause:{code:1173,category:e.DiagnosticCategory.Error,key:"extends_clause_must_precede_implements_clause_1173",message:"'extends' clause must precede 'implements' clause."},Classes_can_only_extend_a_single_class:{code:1174,category:e.DiagnosticCategory.Error,key:"Classes_can_only_extend_a_single_class_1174",message:"Classes can only extend a single class."},implements_clause_already_seen:{code:1175,category:e.DiagnosticCategory.Error,key:"implements_clause_already_seen_1175",message:"'implements' clause already seen."},Interface_declaration_cannot_have_implements_clause:{code:1176,category:e.DiagnosticCategory.Error,key:"Interface_declaration_cannot_have_implements_clause_1176",message:"Interface declaration cannot have 'implements' clause."},Binary_digit_expected:{code:1177,category:e.DiagnosticCategory.Error,key:"Binary_digit_expected_1177",message:"Binary digit expected."},Octal_digit_expected:{code:1178,category:e.DiagnosticCategory.Error,key:"Octal_digit_expected_1178",message:"Octal digit expected."},Unexpected_token_expected:{code:1179,category:e.DiagnosticCategory.Error,key:"Unexpected_token_expected_1179",message:"Unexpected token. '{' expected."},Property_destructuring_pattern_expected:{code:1180,category:e.DiagnosticCategory.Error,key:"Property_destructuring_pattern_expected_1180",message:"Property destructuring pattern expected."},Array_element_destructuring_pattern_expected:{code:1181,category:e.DiagnosticCategory.Error,key:"Array_element_destructuring_pattern_expected_1181",message:"Array element destructuring pattern expected."},A_destructuring_declaration_must_have_an_initializer:{code:1182,category:e.DiagnosticCategory.Error,key:"A_destructuring_declaration_must_have_an_initializer_1182",message:"A destructuring declaration must have an initializer."},An_implementation_cannot_be_declared_in_ambient_contexts:{code:1183,category:e.DiagnosticCategory.Error,key:"An_implementation_cannot_be_declared_in_ambient_contexts_1183",message:"An implementation cannot be declared in ambient contexts."},Modifiers_cannot_appear_here:{code:1184,category:e.DiagnosticCategory.Error,key:"Modifiers_cannot_appear_here_1184",message:"Modifiers cannot appear here."},Merge_conflict_marker_encountered:{code:1185,category:e.DiagnosticCategory.Error,key:"Merge_conflict_marker_encountered_1185",message:"Merge conflict marker encountered."},A_rest_element_cannot_have_an_initializer:{code:1186,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_have_an_initializer_1186",message:"A rest element cannot have an initializer."},A_parameter_property_may_not_be_declared_using_a_binding_pattern:{code:1187,category:e.DiagnosticCategory.Error,key:"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187",message:"A parameter property may not be declared using a binding pattern."},Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:{code:1188,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188",message:"Only a single variable declaration is allowed in a 'for...of' statement."},The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:{code:1189,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189",message:"The variable declaration of a 'for...in' statement cannot have an initializer."},The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:{code:1190,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190",message:"The variable declaration of a 'for...of' statement cannot have an initializer."},An_import_declaration_cannot_have_modifiers:{code:1191,category:e.DiagnosticCategory.Error,key:"An_import_declaration_cannot_have_modifiers_1191",message:"An import declaration cannot have modifiers."},Module_0_has_no_default_export:{code:1192,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_default_export_1192",message:"Module '{0}' has no default export."},An_export_declaration_cannot_have_modifiers:{code:1193,category:e.DiagnosticCategory.Error,key:"An_export_declaration_cannot_have_modifiers_1193",message:"An export declaration cannot have modifiers."},Export_declarations_are_not_permitted_in_a_namespace:{code:1194,category:e.DiagnosticCategory.Error,key:"Export_declarations_are_not_permitted_in_a_namespace_1194",message:"Export declarations are not permitted in a namespace."},Catch_clause_variable_cannot_have_a_type_annotation:{code:1196,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_a_type_annotation_1196",message:"Catch clause variable cannot have a type annotation."},Catch_clause_variable_cannot_have_an_initializer:{code:1197,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_an_initializer_1197",message:"Catch clause variable cannot have an initializer."},An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:{code:1198,category:e.DiagnosticCategory.Error,key:"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198",message:"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."},Unterminated_Unicode_escape_sequence:{code:1199,category:e.DiagnosticCategory.Error,key:"Unterminated_Unicode_escape_sequence_1199",message:"Unterminated Unicode escape sequence."},Line_terminator_not_permitted_before_arrow:{code:1200,category:e.DiagnosticCategory.Error,key:"Line_terminator_not_permitted_before_arrow_1200",message:"Line terminator not permitted before arrow."},Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:{code:1202,category:e.DiagnosticCategory.Error,key:"Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asteri_1202",message:"Import assignment cannot be used when targeting ECMAScript 2015 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_2015_modules_Consider_using_export_default_or_another_module_format_instead:{code:1203,category:e.DiagnosticCategory.Error,key:"Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_defaul_1203",message:"Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead."},Decorators_are_not_valid_here:{code:1206,category:e.DiagnosticCategory.Error,key:"Decorators_are_not_valid_here_1206",message:"Decorators are not valid here."},Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:{code:1207,category:e.DiagnosticCategory.Error,key:"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207",message:"Decorators cannot be applied to multiple get/set accessors of the same name."},Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:{code:1208,category:e.DiagnosticCategory.Error,key:"Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208",message:"Cannot compile namespaces when the '--isolatedModules' flag is provided."},Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:{code:1209,category:e.DiagnosticCategory.Error,key:"Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209",message:"Ambient const enums are not allowed when the '--isolatedModules' flag is provided."},Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:{code:1210,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210",message:"Invalid use of '{0}'. Class definitions are automatically in strict mode."},A_class_declaration_without_the_default_modifier_must_have_a_name:{code:1211,category:e.DiagnosticCategory.Error,key:"A_class_declaration_without_the_default_modifier_must_have_a_name_1211",message:"A class declaration without the 'default' modifier must have a name"},Identifier_expected_0_is_a_reserved_word_in_strict_mode:{code:1212,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212",message:"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:{code:1213,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213",message:"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:{code:1214,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214",message:"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:{code:1215,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215",message:"Invalid use of '{0}'. Modules are automatically in strict mode."},Export_assignment_is_not_supported_when_module_flag_is_system:{code:1218,category:e.DiagnosticCategory.Error,key:"Export_assignment_is_not_supported_when_module_flag_is_system_1218",message:"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_to_remove_this_warning:{code:1219,category:e.DiagnosticCategory.Error,key:"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219",message:"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning."},Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:{code:1220,category:e.DiagnosticCategory.Error,key:"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220",message:"Generators are only available when targeting ECMAScript 2015 or higher."},Generators_are_not_allowed_in_an_ambient_context:{code:1221,category:e.DiagnosticCategory.Error,key:"Generators_are_not_allowed_in_an_ambient_context_1221",message:"Generators are not allowed in an ambient context."},An_overload_signature_cannot_be_declared_as_a_generator:{code:1222,category:e.DiagnosticCategory.Error,key:"An_overload_signature_cannot_be_declared_as_a_generator_1222",message:"An overload signature cannot be declared as a generator."},_0_tag_already_specified:{code:1223,category:e.DiagnosticCategory.Error,key:"_0_tag_already_specified_1223",message:"'{0}' tag already specified."},Signature_0_must_have_a_type_predicate:{code:1224,category:e.DiagnosticCategory.Error,key:"Signature_0_must_have_a_type_predicate_1224",message:"Signature '{0}' must have a type predicate."},Cannot_find_parameter_0:{code:1225,category:e.DiagnosticCategory.Error,key:"Cannot_find_parameter_0_1225",message:"Cannot find parameter '{0}'."},Type_predicate_0_is_not_assignable_to_1:{code:1226,category:e.DiagnosticCategory.Error,key:"Type_predicate_0_is_not_assignable_to_1_1226",message:"Type predicate '{0}' is not assignable to '{1}'."},Parameter_0_is_not_in_the_same_position_as_parameter_1:{code:1227,category:e.DiagnosticCategory.Error,key:"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227",message:"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:{code:1228,category:e.DiagnosticCategory.Error,key:"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228",message:"A type predicate is only allowed in return type position for functions and methods."},A_type_predicate_cannot_reference_a_rest_parameter:{code:1229,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_a_rest_parameter_1229",message:"A type predicate cannot reference a rest parameter."},A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:{code:1230,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230",message:"A type predicate cannot reference element '{0}' in a binding pattern."},An_export_assignment_can_only_be_used_in_a_module:{code:1231,category:e.DiagnosticCategory.Error,key:"An_export_assignment_can_only_be_used_in_a_module_1231",message:"An export assignment can only be used in a module."},An_import_declaration_can_only_be_used_in_a_namespace_or_module:{code:1232,category:e.DiagnosticCategory.Error,key:"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232",message:"An import declaration can only be used in a namespace or module."},An_export_declaration_can_only_be_used_in_a_module:{code:1233,category:e.DiagnosticCategory.Error,key:"An_export_declaration_can_only_be_used_in_a_module_1233",message:"An export declaration can only be used in a module."},An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:{code:1234,category:e.DiagnosticCategory.Error,key:"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234",message:"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:{code:1235,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235",message:"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:{code:1236,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236",message:"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:{code:1237,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237",message:"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:{code:1238,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238",message:"Unable to resolve signature of class decorator when called as an expression."},Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:{code:1239,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239",message:"Unable to resolve signature of parameter decorator when called as an expression."},Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:{code:1240,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240",message:"Unable to resolve signature of property decorator when called as an expression."},Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:{code:1241,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241",message:"Unable to resolve signature of method decorator when called as an expression."},abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:{code:1242,category:e.DiagnosticCategory.Error,key:"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242",message:"'abstract' modifier can only appear on a class, method, or property declaration."},_0_modifier_cannot_be_used_with_1_modifier:{code:1243,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_with_1_modifier_1243",message:"'{0}' modifier cannot be used with '{1}' modifier."},Abstract_methods_can_only_appear_within_an_abstract_class:{code:1244,category:e.DiagnosticCategory.Error,key:"Abstract_methods_can_only_appear_within_an_abstract_class_1244",message:"Abstract methods can only appear within an abstract class."},Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:{code:1245,category:e.DiagnosticCategory.Error,key:"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245",message:"Method '{0}' cannot have an implementation because it is marked abstract."},An_interface_property_cannot_have_an_initializer:{code:1246,category:e.DiagnosticCategory.Error,key:"An_interface_property_cannot_have_an_initializer_1246",message:"An interface property cannot have an initializer."},A_type_literal_property_cannot_have_an_initializer:{code:1247,category:e.DiagnosticCategory.Error,key:"A_type_literal_property_cannot_have_an_initializer_1247",message:"A type literal property cannot have an initializer."},A_class_member_cannot_have_the_0_keyword:{code:1248,category:e.DiagnosticCategory.Error,key:"A_class_member_cannot_have_the_0_keyword_1248",message:"A class member cannot have the '{0}' keyword."},A_decorator_can_only_decorate_a_method_implementation_not_an_overload:{code:1249,category:e.DiagnosticCategory.Error,key:"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249",message:"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:{code:1250,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250",message:"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:{code:1251,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251",message:"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:{code:1252,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."},_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:{code:1253,category:e.DiagnosticCategory.Error,key:"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253",message:"'{0}' tag cannot be used independently as a top level JSDoc tag."},A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal:{code:1254,category:e.DiagnosticCategory.Error,key:"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254",message:"A 'const' initializer in an ambient context must be a string or numeric literal."},with_statements_are_not_allowed_in_an_async_function_block:{code:1300,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_an_async_function_block_1300",message:"'with' statements are not allowed in an async function block."},await_expression_is_only_allowed_within_an_async_function:{code:1308,category:e.DiagnosticCategory.Error,key:"await_expression_is_only_allowed_within_an_async_function_1308",message:"'await' expression is only allowed within an async function."},can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:{code:1312,category:e.DiagnosticCategory.Error,key:"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312",message:"'=' can only be used in an object literal property inside a destructuring assignment."},The_body_of_an_if_statement_cannot_be_the_empty_statement:{code:1313,category:e.DiagnosticCategory.Error,key:"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313",message:"The body of an 'if' statement cannot be the empty statement."},Global_module_exports_may_only_appear_in_module_files:{code:1314,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_module_files_1314",message:"Global module exports may only appear in module files."},Global_module_exports_may_only_appear_in_declaration_files:{code:1315,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_declaration_files_1315",message:"Global module exports may only appear in declaration files."},Global_module_exports_may_only_appear_at_top_level:{code:1316,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_at_top_level_1316",message:"Global module exports may only appear at top level."},A_parameter_property_cannot_be_declared_using_a_rest_parameter:{code:1317,category:e.DiagnosticCategory.Error,key:"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317",message:"A parameter property cannot be declared using a rest parameter."},An_abstract_accessor_cannot_have_an_implementation:{code:1318,category:e.DiagnosticCategory.Error,key:"An_abstract_accessor_cannot_have_an_implementation_1318",message:"An abstract accessor cannot have an implementation."},Duplicate_identifier_0:{code:2300,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_2300",message:"Duplicate identifier '{0}'."},Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:{code:2301,category:e.DiagnosticCategory.Error,key:"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301",message:"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."},Static_members_cannot_reference_class_type_parameters:{code:2302,category:e.DiagnosticCategory.Error,key:"Static_members_cannot_reference_class_type_parameters_2302",message:"Static members cannot reference class type parameters."},Circular_definition_of_import_alias_0:{code:2303,category:e.DiagnosticCategory.Error,key:"Circular_definition_of_import_alias_0_2303",message:"Circular definition of import alias '{0}'."},Cannot_find_name_0:{code:2304,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_2304",message:"Cannot find name '{0}'."},Module_0_has_no_exported_member_1:{code:2305,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_exported_member_1_2305",message:"Module '{0}' has no exported member '{1}'."},File_0_is_not_a_module:{code:2306,category:e.DiagnosticCategory.Error,key:"File_0_is_not_a_module_2306",message:"File '{0}' is not a module."},Cannot_find_module_0:{code:2307,category:e.DiagnosticCategory.Error,key:"Cannot_find_module_0_2307",message:"Cannot find module '{0}'."},Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:{code:2308,category:e.DiagnosticCategory.Error,key:"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308",message:"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:{code:2309,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309",message:"An export assignment cannot be used in a module with other exported elements."},Type_0_recursively_references_itself_as_a_base_type:{code:2310,category:e.DiagnosticCategory.Error,key:"Type_0_recursively_references_itself_as_a_base_type_2310",message:"Type '{0}' recursively references itself as a base type."},A_class_may_only_extend_another_class:{code:2311,category:e.DiagnosticCategory.Error,key:"A_class_may_only_extend_another_class_2311",message:"A class may only extend another class."},An_interface_may_only_extend_a_class_or_another_interface:{code:2312,category:e.DiagnosticCategory.Error,key:"An_interface_may_only_extend_a_class_or_another_interface_2312",message:"An interface may only extend a class or another interface."},Type_parameter_0_has_a_circular_constraint:{code:2313,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_has_a_circular_constraint_2313",message:"Type parameter '{0}' has a circular constraint."},Generic_type_0_requires_1_type_argument_s:{code:2314,category:e.DiagnosticCategory.Error,key:"Generic_type_0_requires_1_type_argument_s_2314",message:"Generic type '{0}' requires {1} type argument(s)."},Type_0_is_not_generic:{code:2315,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_generic_2315",message:"Type '{0}' is not generic."},Global_type_0_must_be_a_class_or_interface_type:{code:2316,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_be_a_class_or_interface_type_2316",message:"Global type '{0}' must be a class or interface type."},Global_type_0_must_have_1_type_parameter_s:{code:2317,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_have_1_type_parameter_s_2317",message:"Global type '{0}' must have {1} type parameter(s)."},Cannot_find_global_type_0:{code:2318,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_type_0_2318",message:"Cannot find global type '{0}'."},Named_property_0_of_types_1_and_2_are_not_identical:{code:2319,category:e.DiagnosticCategory.Error,key:"Named_property_0_of_types_1_and_2_are_not_identical_2319",message:"Named property '{0}' of types '{1}' and '{2}' are not identical."},Interface_0_cannot_simultaneously_extend_types_1_and_2:{code:2320,category:e.DiagnosticCategory.Error, -key:"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320",message:"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."},Excessive_stack_depth_comparing_types_0_and_1:{code:2321,category:e.DiagnosticCategory.Error,key:"Excessive_stack_depth_comparing_types_0_and_1_2321",message:"Excessive stack depth comparing types '{0}' and '{1}'."},Type_0_is_not_assignable_to_type_1:{code:2322,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_2322",message:"Type '{0}' is not assignable to type '{1}'."},Cannot_redeclare_exported_variable_0:{code:2323,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_exported_variable_0_2323",message:"Cannot redeclare exported variable '{0}'."},Property_0_is_missing_in_type_1:{code:2324,category:e.DiagnosticCategory.Error,key:"Property_0_is_missing_in_type_1_2324",message:"Property '{0}' is missing in type '{1}'."},Property_0_is_private_in_type_1_but_not_in_type_2:{code:2325,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_in_type_1_but_not_in_type_2_2325",message:"Property '{0}' is private in type '{1}' but not in type '{2}'."},Types_of_property_0_are_incompatible:{code:2326,category:e.DiagnosticCategory.Error,key:"Types_of_property_0_are_incompatible_2326",message:"Types of property '{0}' are incompatible."},Property_0_is_optional_in_type_1_but_required_in_type_2:{code:2327,category:e.DiagnosticCategory.Error,key:"Property_0_is_optional_in_type_1_but_required_in_type_2_2327",message:"Property '{0}' is optional in type '{1}' but required in type '{2}'."},Types_of_parameters_0_and_1_are_incompatible:{code:2328,category:e.DiagnosticCategory.Error,key:"Types_of_parameters_0_and_1_are_incompatible_2328",message:"Types of parameters '{0}' and '{1}' are incompatible."},Index_signature_is_missing_in_type_0:{code:2329,category:e.DiagnosticCategory.Error,key:"Index_signature_is_missing_in_type_0_2329",message:"Index signature is missing in type '{0}'."},Index_signatures_are_incompatible:{code:2330,category:e.DiagnosticCategory.Error,key:"Index_signatures_are_incompatible_2330",message:"Index signatures are incompatible."},this_cannot_be_referenced_in_a_module_or_namespace_body:{code:2331,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_module_or_namespace_body_2331",message:"'this' cannot be referenced in a module or namespace body."},this_cannot_be_referenced_in_current_location:{code:2332,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_current_location_2332",message:"'this' cannot be referenced in current location."},this_cannot_be_referenced_in_constructor_arguments:{code:2333,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_constructor_arguments_2333",message:"'this' cannot be referenced in constructor arguments."},this_cannot_be_referenced_in_a_static_property_initializer:{code:2334,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_static_property_initializer_2334",message:"'this' cannot be referenced in a static property initializer."},super_can_only_be_referenced_in_a_derived_class:{code:2335,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_a_derived_class_2335",message:"'super' can only be referenced in a derived class."},super_cannot_be_referenced_in_constructor_arguments:{code:2336,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_constructor_arguments_2336",message:"'super' cannot be referenced in constructor arguments."},Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:{code:2337,category:e.DiagnosticCategory.Error,key:"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337",message:"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:{code:2338,category:e.DiagnosticCategory.Error,key:"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338",message:"'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:{code:2339,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_type_1_2339",message:"Property '{0}' does not exist on type '{1}'."},Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:{code:2340,category:e.DiagnosticCategory.Error,key:"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340",message:"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:{code:2341,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_and_only_accessible_within_class_1_2341",message:"Property '{0}' is private and only accessible within class '{1}'."},An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:{code:2342,category:e.DiagnosticCategory.Error,key:"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342",message:"An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."},This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:{code:2343,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343",message:"This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."},Type_0_does_not_satisfy_the_constraint_1:{code:2344,category:e.DiagnosticCategory.Error,key:"Type_0_does_not_satisfy_the_constraint_1_2344",message:"Type '{0}' does not satisfy the constraint '{1}'."},Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:{code:2345,category:e.DiagnosticCategory.Error,key:"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345",message:"Argument of type '{0}' is not assignable to parameter of type '{1}'."},Supplied_parameters_do_not_match_any_signature_of_call_target:{code:2346,category:e.DiagnosticCategory.Error,key:"Supplied_parameters_do_not_match_any_signature_of_call_target_2346",message:"Supplied parameters do not match any signature of call target."},Untyped_function_calls_may_not_accept_type_arguments:{code:2347,category:e.DiagnosticCategory.Error,key:"Untyped_function_calls_may_not_accept_type_arguments_2347",message:"Untyped function calls may not accept type arguments."},Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:{code:2348,category:e.DiagnosticCategory.Error,key:"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348",message:"Value of type '{0}' is not callable. Did you mean to include 'new'?"},Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:{code:2349,category:e.DiagnosticCategory.Error,key:"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349",message:"Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures."},Only_a_void_function_can_be_called_with_the_new_keyword:{code:2350,category:e.DiagnosticCategory.Error,key:"Only_a_void_function_can_be_called_with_the_new_keyword_2350",message:"Only a void function can be called with the 'new' keyword."},Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:{code:2351,category:e.DiagnosticCategory.Error,key:"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351",message:"Cannot use 'new' with an expression whose type lacks a call or construct signature."},Type_0_cannot_be_converted_to_type_1:{code:2352,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_converted_to_type_1_2352",message:"Type '{0}' cannot be converted to type '{1}'."},Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:{code:2353,category:e.DiagnosticCategory.Error,key:"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353",message:"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:{code:2354,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354",message:"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:{code:2355,category:e.DiagnosticCategory.Error,key:"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355",message:"A function whose declared type is neither 'void' nor 'any' must return a value."},An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type:{code:2356,category:e.DiagnosticCategory.Error,key:"An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356",message:"An arithmetic operand must be of type 'any', 'number' or an enum type."},The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:{code:2357,category:e.DiagnosticCategory.Error,key:"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357",message:"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:{code:2358,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358",message:"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:{code:2359,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359",message:"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_of_type_any_string_number_or_symbol:{code:2360,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360",message:"The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."},The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2361,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361",message:"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter"},The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2362,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362",message:"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2363,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363",message:"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:{code:2364,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364",message:"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:{code:2365,category:e.DiagnosticCategory.Error,key:"Operator_0_cannot_be_applied_to_types_1_and_2_2365",message:"Operator '{0}' cannot be applied to types '{1}' and '{2}'."},Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:{code:2366,category:e.DiagnosticCategory.Error,key:"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366",message:"Function lacks ending return statement and return type does not include 'undefined'."},Type_parameter_name_cannot_be_0:{code:2368,category:e.DiagnosticCategory.Error,key:"Type_parameter_name_cannot_be_0_2368",message:"Type parameter name cannot be '{0}'"},A_parameter_property_is_only_allowed_in_a_constructor_implementation:{code:2369,category:e.DiagnosticCategory.Error,key:"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369",message:"A parameter property is only allowed in a constructor implementation."},A_rest_parameter_must_be_of_an_array_type:{code:2370,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_must_be_of_an_array_type_2370",message:"A rest parameter must be of an array type."},A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:{code:2371,category:e.DiagnosticCategory.Error,key:"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371",message:"A parameter initializer is only allowed in a function or constructor implementation."},Parameter_0_cannot_be_referenced_in_its_initializer:{code:2372,category:e.DiagnosticCategory.Error,key:"Parameter_0_cannot_be_referenced_in_its_initializer_2372",message:"Parameter '{0}' cannot be referenced in its initializer."},Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:{code:2373,category:e.DiagnosticCategory.Error,key:"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373",message:"Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."},Duplicate_string_index_signature:{code:2374,category:e.DiagnosticCategory.Error,key:"Duplicate_string_index_signature_2374",message:"Duplicate string index signature."},Duplicate_number_index_signature:{code:2375,category:e.DiagnosticCategory.Error,key:"Duplicate_number_index_signature_2375",message:"Duplicate number index signature."},A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:{code:2376,category:e.DiagnosticCategory.Error,key:"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376",message:"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties."},Constructors_for_derived_classes_must_contain_a_super_call:{code:2377,category:e.DiagnosticCategory.Error,key:"Constructors_for_derived_classes_must_contain_a_super_call_2377",message:"Constructors for derived classes must contain a 'super' call."},A_get_accessor_must_return_a_value:{code:2378,category:e.DiagnosticCategory.Error,key:"A_get_accessor_must_return_a_value_2378",message:"A 'get' accessor must return a value."},Getter_and_setter_accessors_do_not_agree_in_visibility:{code:2379,category:e.DiagnosticCategory.Error,key:"Getter_and_setter_accessors_do_not_agree_in_visibility_2379",message:"Getter and setter accessors do not agree in visibility."},get_and_set_accessor_must_have_the_same_type:{code:2380,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_type_2380",message:"'get' and 'set' accessor must have the same type."},A_signature_with_an_implementation_cannot_use_a_string_literal_type:{code:2381,category:e.DiagnosticCategory.Error,key:"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381",message:"A signature with an implementation cannot use a string literal type."},Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:{code:2382,category:e.DiagnosticCategory.Error,key:"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382",message:"Specialized overload signature is not assignable to any non-specialized signature."},Overload_signatures_must_all_be_exported_or_non_exported:{code:2383,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_exported_or_non_exported_2383",message:"Overload signatures must all be exported or non-exported."},Overload_signatures_must_all_be_ambient_or_non_ambient:{code:2384,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_ambient_or_non_ambient_2384",message:"Overload signatures must all be ambient or non-ambient."},Overload_signatures_must_all_be_public_private_or_protected:{code:2385,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_public_private_or_protected_2385",message:"Overload signatures must all be public, private or protected."},Overload_signatures_must_all_be_optional_or_required:{code:2386,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_optional_or_required_2386",message:"Overload signatures must all be optional or required."},Function_overload_must_be_static:{code:2387,category:e.DiagnosticCategory.Error,key:"Function_overload_must_be_static_2387",message:"Function overload must be static."},Function_overload_must_not_be_static:{code:2388,category:e.DiagnosticCategory.Error,key:"Function_overload_must_not_be_static_2388",message:"Function overload must not be static."},Function_implementation_name_must_be_0:{code:2389,category:e.DiagnosticCategory.Error,key:"Function_implementation_name_must_be_0_2389",message:"Function implementation name must be '{0}'."},Constructor_implementation_is_missing:{code:2390,category:e.DiagnosticCategory.Error,key:"Constructor_implementation_is_missing_2390",message:"Constructor implementation is missing."},Function_implementation_is_missing_or_not_immediately_following_the_declaration:{code:2391,category:e.DiagnosticCategory.Error,key:"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391",message:"Function implementation is missing or not immediately following the declaration."},Multiple_constructor_implementations_are_not_allowed:{code:2392,category:e.DiagnosticCategory.Error,key:"Multiple_constructor_implementations_are_not_allowed_2392",message:"Multiple constructor implementations are not allowed."},Duplicate_function_implementation:{code:2393,category:e.DiagnosticCategory.Error,key:"Duplicate_function_implementation_2393",message:"Duplicate function implementation."},Overload_signature_is_not_compatible_with_function_implementation:{code:2394,category:e.DiagnosticCategory.Error,key:"Overload_signature_is_not_compatible_with_function_implementation_2394",message:"Overload signature is not compatible with function implementation."},Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:{code:2395,category:e.DiagnosticCategory.Error,key:"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395",message:"Individual declarations in merged declaration '{0}' must be all exported or all local."},Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:{code:2396,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396",message:"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."},Declaration_name_conflicts_with_built_in_global_identifier_0:{code:2397,category:e.DiagnosticCategory.Error,key:"Declaration_name_conflicts_with_built_in_global_identifier_0_2397",message:"Declaration name conflicts with built-in global identifier '{0}'."},Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:{code:2399,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399",message:"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:{code:2400,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400",message:"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."},Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:{code:2401,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401",message:"Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."},Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:{code:2402,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402",message:"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:{code:2403,category:e.DiagnosticCategory.Error,key:"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403",message:"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:{code:2404,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404",message:"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:{code:2405,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405",message:"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:{code:2406,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406",message:"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:{code:2407,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_2407",message:"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter."},Setters_cannot_return_a_value:{code:2408,category:e.DiagnosticCategory.Error,key:"Setters_cannot_return_a_value_2408",message:"Setters cannot return a value."},Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:{code:2409,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409",message:"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:{code:2410,category:e.DiagnosticCategory.Error,key:"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410",message:"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."},Property_0_of_type_1_is_not_assignable_to_string_index_type_2:{code:2411,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411",message:"Property '{0}' of type '{1}' is not assignable to string index type '{2}'."},Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:{code:2412,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412",message:"Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."},Numeric_index_type_0_is_not_assignable_to_string_index_type_1:{code:2413,category:e.DiagnosticCategory.Error,key:"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413",message:"Numeric index type '{0}' is not assignable to string index type '{1}'."},Class_name_cannot_be_0:{code:2414,category:e.DiagnosticCategory.Error,key:"Class_name_cannot_be_0_2414",message:"Class name cannot be '{0}'"},Class_0_incorrectly_extends_base_class_1:{code:2415,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_extends_base_class_1_2415",message:"Class '{0}' incorrectly extends base class '{1}'."},Class_static_side_0_incorrectly_extends_base_class_static_side_1:{code:2417,category:e.DiagnosticCategory.Error,key:"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417",message:"Class static side '{0}' incorrectly extends base class static side '{1}'."},Class_0_incorrectly_implements_interface_1:{code:2420,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_implements_interface_1_2420",message:"Class '{0}' incorrectly implements interface '{1}'."},A_class_may_only_implement_another_class_or_interface:{code:2422,category:e.DiagnosticCategory.Error,key:"A_class_may_only_implement_another_class_or_interface_2422",message:"A class may only implement another class or interface."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:{code:2423,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:{code:2424,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property."},Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:{code:2425,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425",message:"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:{code:2426,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426",message:"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."},Interface_name_cannot_be_0:{code:2427,category:e.DiagnosticCategory.Error,key:"Interface_name_cannot_be_0_2427",message:"Interface name cannot be '{0}'"},All_declarations_of_0_must_have_identical_type_parameters:{code:2428,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_type_parameters_2428",message:"All declarations of '{0}' must have identical type parameters."},Interface_0_incorrectly_extends_interface_1:{code:2430,category:e.DiagnosticCategory.Error,key:"Interface_0_incorrectly_extends_interface_1_2430",message:"Interface '{0}' incorrectly extends interface '{1}'."},Enum_name_cannot_be_0:{code:2431,category:e.DiagnosticCategory.Error,key:"Enum_name_cannot_be_0_2431",message:"Enum name cannot be '{0}'"},In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:{code:2432,category:e.DiagnosticCategory.Error,key:"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432",message:"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:{code:2433,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433",message:"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:{code:2434,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434",message:"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:{code:2435,category:e.DiagnosticCategory.Error,key:"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435",message:"Ambient modules cannot be nested in other modules or namespaces."},Ambient_module_declaration_cannot_specify_relative_module_name:{code:2436,category:e.DiagnosticCategory.Error,key:"Ambient_module_declaration_cannot_specify_relative_module_name_2436",message:"Ambient module declaration cannot specify relative module name."},Module_0_is_hidden_by_a_local_declaration_with_the_same_name:{code:2437,category:e.DiagnosticCategory.Error,key:"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437",message:"Module '{0}' is hidden by a local declaration with the same name"},Import_name_cannot_be_0:{code:2438,category:e.DiagnosticCategory.Error,key:"Import_name_cannot_be_0_2438",message:"Import name cannot be '{0}'"},Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:{code:2439,category:e.DiagnosticCategory.Error,key:"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439",message:"Import or export declaration in an ambient module declaration cannot reference module through relative module name."},Import_declaration_conflicts_with_local_declaration_of_0:{code:2440,category:e.DiagnosticCategory.Error,key:"Import_declaration_conflicts_with_local_declaration_of_0_2440",message:"Import declaration conflicts with local declaration of '{0}'"},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:{code:2441,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."},Types_have_separate_declarations_of_a_private_property_0:{code:2442,category:e.DiagnosticCategory.Error,key:"Types_have_separate_declarations_of_a_private_property_0_2442",message:"Types have separate declarations of a private property '{0}'."},Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:{code:2443,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443",message:"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:{code:2444,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_in_type_1_but_public_in_type_2_2444",message:"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:{code:2445,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445",message:"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:{ -code:2446,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446",message:"Property '{0}' is protected and only accessible through an instance of class '{1}'."},The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:{code:2447,category:e.DiagnosticCategory.Error,key:"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447",message:"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."},Block_scoped_variable_0_used_before_its_declaration:{code:2448,category:e.DiagnosticCategory.Error,key:"Block_scoped_variable_0_used_before_its_declaration_2448",message:"Block-scoped variable '{0}' used before its declaration."},Cannot_redeclare_block_scoped_variable_0:{code:2451,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_block_scoped_variable_0_2451",message:"Cannot redeclare block-scoped variable '{0}'."},An_enum_member_cannot_have_a_numeric_name:{code:2452,category:e.DiagnosticCategory.Error,key:"An_enum_member_cannot_have_a_numeric_name_2452",message:"An enum member cannot have a numeric name."},The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:{code:2453,category:e.DiagnosticCategory.Error,key:"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453",message:"The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."},Variable_0_is_used_before_being_assigned:{code:2454,category:e.DiagnosticCategory.Error,key:"Variable_0_is_used_before_being_assigned_2454",message:"Variable '{0}' is used before being assigned."},Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:{code:2455,category:e.DiagnosticCategory.Error,key:"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455",message:"Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."},Type_alias_0_circularly_references_itself:{code:2456,category:e.DiagnosticCategory.Error,key:"Type_alias_0_circularly_references_itself_2456",message:"Type alias '{0}' circularly references itself."},Type_alias_name_cannot_be_0:{code:2457,category:e.DiagnosticCategory.Error,key:"Type_alias_name_cannot_be_0_2457",message:"Type alias name cannot be '{0}'"},An_AMD_module_cannot_have_multiple_name_assignments:{code:2458,category:e.DiagnosticCategory.Error,key:"An_AMD_module_cannot_have_multiple_name_assignments_2458",message:"An AMD module cannot have multiple name assignments."},Type_0_has_no_property_1_and_no_string_index_signature:{code:2459,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_and_no_string_index_signature_2459",message:"Type '{0}' has no property '{1}' and no string index signature."},Type_0_has_no_property_1:{code:2460,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_2460",message:"Type '{0}' has no property '{1}'."},Type_0_is_not_an_array_type:{code:2461,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_2461",message:"Type '{0}' is not an array type."},A_rest_element_must_be_last_in_a_destructuring_pattern:{code:2462,category:e.DiagnosticCategory.Error,key:"A_rest_element_must_be_last_in_a_destructuring_pattern_2462",message:"A rest element must be last in a destructuring pattern"},A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:{code:2463,category:e.DiagnosticCategory.Error,key:"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463",message:"A binding pattern parameter cannot be optional in an implementation signature."},A_computed_property_name_must_be_of_type_string_number_symbol_or_any:{code:2464,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464",message:"A computed property name must be of type 'string', 'number', 'symbol', or 'any'."},this_cannot_be_referenced_in_a_computed_property_name:{code:2465,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_computed_property_name_2465",message:"'this' cannot be referenced in a computed property name."},super_cannot_be_referenced_in_a_computed_property_name:{code:2466,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_a_computed_property_name_2466",message:"'super' cannot be referenced in a computed property name."},A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:{code:2467,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467",message:"A computed property name cannot reference a type parameter from its containing type."},Cannot_find_global_value_0:{code:2468,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_value_0_2468",message:"Cannot find global value '{0}'."},The_0_operator_cannot_be_applied_to_type_symbol:{code:2469,category:e.DiagnosticCategory.Error,key:"The_0_operator_cannot_be_applied_to_type_symbol_2469",message:"The '{0}' operator cannot be applied to type 'symbol'."},Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:{code:2470,category:e.DiagnosticCategory.Error,key:"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470",message:"'Symbol' reference does not refer to the global Symbol constructor object."},A_computed_property_name_of_the_form_0_must_be_of_type_symbol:{code:2471,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471",message:"A computed property name of the form '{0}' must be of type 'symbol'."},Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:{code:2472,category:e.DiagnosticCategory.Error,key:"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472",message:"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."},Enum_declarations_must_all_be_const_or_non_const:{code:2473,category:e.DiagnosticCategory.Error,key:"Enum_declarations_must_all_be_const_or_non_const_2473",message:"Enum declarations must all be const or non-const."},In_const_enum_declarations_member_initializer_must_be_constant_expression:{code:2474,category:e.DiagnosticCategory.Error,key:"In_const_enum_declarations_member_initializer_must_be_constant_expression_2474",message:"In 'const' enum declarations member initializer must be constant expression."},const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment:{code:2475,category:e.DiagnosticCategory.Error,key:"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475",message:"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment."},A_const_enum_member_can_only_be_accessed_using_a_string_literal:{code:2476,category:e.DiagnosticCategory.Error,key:"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476",message:"A const enum member can only be accessed using a string literal."},const_enum_member_initializer_was_evaluated_to_a_non_finite_value:{code:2477,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477",message:"'const' enum member initializer was evaluated to a non-finite value."},const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:{code:2478,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478",message:"'const' enum member initializer was evaluated to disallowed value 'NaN'."},Property_0_does_not_exist_on_const_enum_1:{code:2479,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_const_enum_1_2479",message:"Property '{0}' does not exist on 'const' enum '{1}'."},let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:{code:2480,category:e.DiagnosticCategory.Error,key:"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480",message:"'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:{code:2481,category:e.DiagnosticCategory.Error,key:"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481",message:"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:{code:2483,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483",message:"The left-hand side of a 'for...of' statement cannot use a type annotation."},Export_declaration_conflicts_with_exported_declaration_of_0:{code:2484,category:e.DiagnosticCategory.Error,key:"Export_declaration_conflicts_with_exported_declaration_of_0_2484",message:"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:{code:2487,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487",message:"The left-hand side of a 'for...of' statement must be a variable or a property access."},Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2488,category:e.DiagnosticCategory.Error,key:"Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488",message:"Type must have a '[Symbol.iterator]()' method that returns an iterator."},An_iterator_must_have_a_next_method:{code:2489,category:e.DiagnosticCategory.Error,key:"An_iterator_must_have_a_next_method_2489",message:"An iterator must have a 'next()' method."},The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:{code:2490,category:e.DiagnosticCategory.Error,key:"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490",message:"The type returned by the 'next()' method of an iterator must have a 'value' property."},The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:{code:2491,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491",message:"The left-hand side of a 'for...in' statement cannot be a destructuring pattern."},Cannot_redeclare_identifier_0_in_catch_clause:{code:2492,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_identifier_0_in_catch_clause_2492",message:"Cannot redeclare identifier '{0}' in catch clause"},Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2:{code:2493,category:e.DiagnosticCategory.Error,key:"Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493",message:"Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'."},Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:{code:2494,category:e.DiagnosticCategory.Error,key:"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494",message:"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:{code:2495,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_a_string_type_2495",message:"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:{code:2496,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496",message:"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."},Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct:{code:2497,category:e.DiagnosticCategory.Error,key:"Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497",message:"Module '{0}' resolves to a non-module entity and cannot be imported using this construct."},Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:{code:2498,category:e.DiagnosticCategory.Error,key:"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498",message:"Module '{0}' uses 'export =' and cannot be used with 'export *'."},An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:{code:2499,category:e.DiagnosticCategory.Error,key:"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499",message:"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:{code:2500,category:e.DiagnosticCategory.Error,key:"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500",message:"A class can only implement an identifier/qualified-name with optional type arguments."},A_rest_element_cannot_contain_a_binding_pattern:{code:2501,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_contain_a_binding_pattern_2501",message:"A rest element cannot contain a binding pattern."},_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:{code:2502,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502",message:"'{0}' is referenced directly or indirectly in its own type annotation."},Cannot_find_namespace_0:{code:2503,category:e.DiagnosticCategory.Error,key:"Cannot_find_namespace_0_2503",message:"Cannot find namespace '{0}'."},A_generator_cannot_have_a_void_type_annotation:{code:2505,category:e.DiagnosticCategory.Error,key:"A_generator_cannot_have_a_void_type_annotation_2505",message:"A generator cannot have a 'void' type annotation."},_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:{code:2506,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506",message:"'{0}' is referenced directly or indirectly in its own base expression."},Type_0_is_not_a_constructor_function_type:{code:2507,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_a_constructor_function_type_2507",message:"Type '{0}' is not a constructor function type."},No_base_constructor_has_the_specified_number_of_type_arguments:{code:2508,category:e.DiagnosticCategory.Error,key:"No_base_constructor_has_the_specified_number_of_type_arguments_2508",message:"No base constructor has the specified number of type arguments."},Base_constructor_return_type_0_is_not_a_class_or_interface_type:{code:2509,category:e.DiagnosticCategory.Error,key:"Base_constructor_return_type_0_is_not_a_class_or_interface_type_2509",message:"Base constructor return type '{0}' is not a class or interface type."},Base_constructors_must_all_have_the_same_return_type:{code:2510,category:e.DiagnosticCategory.Error,key:"Base_constructors_must_all_have_the_same_return_type_2510",message:"Base constructors must all have the same return type."},Cannot_create_an_instance_of_the_abstract_class_0:{code:2511,category:e.DiagnosticCategory.Error,key:"Cannot_create_an_instance_of_the_abstract_class_0_2511",message:"Cannot create an instance of the abstract class '{0}'."},Overload_signatures_must_all_be_abstract_or_non_abstract:{code:2512,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_abstract_or_non_abstract_2512",message:"Overload signatures must all be abstract or non-abstract."},Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:{code:2513,category:e.DiagnosticCategory.Error,key:"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513",message:"Abstract method '{0}' in class '{1}' cannot be accessed via super expression."},Classes_containing_abstract_methods_must_be_marked_abstract:{code:2514,category:e.DiagnosticCategory.Error,key:"Classes_containing_abstract_methods_must_be_marked_abstract_2514",message:"Classes containing abstract methods must be marked abstract."},Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:{code:2515,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515",message:"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."},All_declarations_of_an_abstract_method_must_be_consecutive:{code:2516,category:e.DiagnosticCategory.Error,key:"All_declarations_of_an_abstract_method_must_be_consecutive_2516",message:"All declarations of an abstract method must be consecutive."},Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:{code:2517,category:e.DiagnosticCategory.Error,key:"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517",message:"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:{code:2518,category:e.DiagnosticCategory.Error,key:"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518",message:"A 'this'-based type guard is not compatible with a parameter-based type guard."},Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:{code:2520,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520",message:"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."},Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:{code:2521,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521",message:"Expression resolves to variable declaration '{0}' that compiler uses 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:{code:2522,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522",message:"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:{code:2523,category:e.DiagnosticCategory.Error,key:"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523",message:"'yield' expressions cannot be used in a parameter initializer."},await_expressions_cannot_be_used_in_a_parameter_initializer:{code:2524,category:e.DiagnosticCategory.Error,key:"await_expressions_cannot_be_used_in_a_parameter_initializer_2524",message:"'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:{code:2525,category:e.DiagnosticCategory.Error,key:"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525",message:"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:{code:2526,category:e.DiagnosticCategory.Error,key:"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526",message:"A 'this' type is available only in a non-static member of a class or interface."},The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary:{code:2527,category:e.DiagnosticCategory.Error,key:"The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527",message:"The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary."},A_module_cannot_have_multiple_default_exports:{code:2528,category:e.DiagnosticCategory.Error,key:"A_module_cannot_have_multiple_default_exports_2528",message:"A module cannot have multiple default exports."},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:{code:2529,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."},Property_0_is_incompatible_with_index_signature:{code:2530,category:e.DiagnosticCategory.Error,key:"Property_0_is_incompatible_with_index_signature_2530",message:"Property '{0}' is incompatible with index signature."},Object_is_possibly_null:{code:2531,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_2531",message:"Object is possibly 'null'."},Object_is_possibly_undefined:{code:2532,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_undefined_2532",message:"Object is possibly 'undefined'."},Object_is_possibly_null_or_undefined:{code:2533,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_or_undefined_2533",message:"Object is possibly 'null' or 'undefined'."},A_function_returning_never_cannot_have_a_reachable_end_point:{code:2534,category:e.DiagnosticCategory.Error,key:"A_function_returning_never_cannot_have_a_reachable_end_point_2534",message:"A function returning 'never' cannot have a reachable end point."},Enum_type_0_has_members_with_initializers_that_are_not_literals:{code:2535,category:e.DiagnosticCategory.Error,key:"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535",message:"Enum type '{0}' has members with initializers that are not literals."},Type_0_cannot_be_used_to_index_type_1:{code:2536,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_to_index_type_1_2536",message:"Type '{0}' cannot be used to index type '{1}'."},Type_0_has_no_matching_index_signature_for_type_1:{code:2537,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_matching_index_signature_for_type_1_2537",message:"Type '{0}' has no matching index signature for type '{1}'."},Type_0_cannot_be_used_as_an_index_type:{code:2538,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_as_an_index_type_2538",message:"Type '{0}' cannot be used as an index type."},Cannot_assign_to_0_because_it_is_not_a_variable:{code:2539,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_not_a_variable_2539",message:"Cannot assign to '{0}' because it is not a variable."},Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property:{code:2540,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property_2540",message:"Cannot assign to '{0}' because it is a constant or a read-only property."},The_target_of_an_assignment_must_be_a_variable_or_a_property_access:{code:2541,category:e.DiagnosticCategory.Error,key:"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541",message:"The target of an assignment must be a variable or a property access."},Index_signature_in_type_0_only_permits_reading:{code:2542,category:e.DiagnosticCategory.Error,key:"Index_signature_in_type_0_only_permits_reading_2542",message:"Index signature in type '{0}' only permits reading."},JSX_element_attributes_type_0_may_not_be_a_union_type:{code:2600,category:e.DiagnosticCategory.Error,key:"JSX_element_attributes_type_0_may_not_be_a_union_type_2600",message:"JSX element attributes type '{0}' may not be a union type."},The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:{code:2601,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601",message:"The return type of a JSX element constructor must return an object type."},JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:{code:2602,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602",message:"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:{code:2603,category:e.DiagnosticCategory.Error,key:"Property_0_in_type_1_is_not_assignable_to_type_2_2603",message:"Property '{0}' in type '{1}' is not assignable to type '{2}'"},JSX_element_type_0_does_not_have_any_construct_or_call_signatures:{code:2604,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604",message:"JSX element type '{0}' does not have any construct or call signatures."},JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:{code:2605,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605",message:"JSX element type '{0}' is not a constructor function for JSX elements."},Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:{code:2606,category:e.DiagnosticCategory.Error,key:"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606",message:"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:{code:2607,category:e.DiagnosticCategory.Error,key:"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607",message:"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:{code:2608,category:e.DiagnosticCategory.Error,key:"The_global_type_JSX_0_may_not_have_more_than_one_property_2608",message:"The global type 'JSX.{0}' may not have more than one property"},Cannot_emit_namespaced_JSX_elements_in_React:{code:2650,category:e.DiagnosticCategory.Error,key:"Cannot_emit_namespaced_JSX_elements_in_React_2650",message:"Cannot emit namespaced JSX elements in React"},A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:{code:2651,category:e.DiagnosticCategory.Error,key:"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651",message:"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:{code:2652,category:e.DiagnosticCategory.Error,key:"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652",message:"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:{code:2653,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653",message:"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."},Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:{code:2654,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654",message:"Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."},Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:{code:2656,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656",message:"Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."},JSX_expressions_must_have_one_parent_element:{code:2657,category:e.DiagnosticCategory.Error,key:"JSX_expressions_must_have_one_parent_element_2657",message:"JSX expressions must have one parent element"},Type_0_provides_no_match_for_the_signature_1:{code:2658,category:e.DiagnosticCategory.Error,key:"Type_0_provides_no_match_for_the_signature_1_2658",message:"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:{code:2659,category:e.DiagnosticCategory.Error,key:"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659",message:"'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:{code:2660,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660",message:"'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:{code:2661,category:e.DiagnosticCategory.Error,key:"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661",message:"Cannot export '{0}'. Only local declarations can be exported from a module."},Cannot_find_name_0_Did_you_mean_the_static_member_1_0:{code:2662,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662",message:"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"},Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:{code:2663,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663",message:"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"},Invalid_module_name_in_augmentation_module_0_cannot_be_found:{code:2664,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664",message:"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:{code:2665,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665",message:"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:{code:2666,category:e.DiagnosticCategory.Error,key:"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666",message:"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:{code:2667,category:e.DiagnosticCategory.Error,key:"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667",message:"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:{code:2668,category:e.DiagnosticCategory.Error,key:"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668", -message:"'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:{code:2669,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669",message:"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:{code:2670,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670",message:"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:{code:2671,category:e.DiagnosticCategory.Error,key:"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671",message:"Cannot augment module '{0}' because it resolves to a non-module entity."},Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:{code:2672,category:e.DiagnosticCategory.Error,key:"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672",message:"Cannot assign a '{0}' constructor type to a '{1}' constructor type."},Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:{code:2673,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673",message:"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:{code:2674,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674",message:"Constructor of class '{0}' is protected and only accessible within the class declaration."},Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:{code:2675,category:e.DiagnosticCategory.Error,key:"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675",message:"Cannot extend a class '{0}'. Class constructor is marked as private."},Accessors_must_both_be_abstract_or_non_abstract:{code:2676,category:e.DiagnosticCategory.Error,key:"Accessors_must_both_be_abstract_or_non_abstract_2676",message:"Accessors must both be abstract or non-abstract."},A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:{code:2677,category:e.DiagnosticCategory.Error,key:"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677",message:"A type predicate's type must be assignable to its parameter's type."},Type_0_is_not_comparable_to_type_1:{code:2678,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_comparable_to_type_1_2678",message:"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:{code:2679,category:e.DiagnosticCategory.Error,key:"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679",message:"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."},A_this_parameter_must_be_the_first_parameter:{code:2680,category:e.DiagnosticCategory.Error,key:"A_this_parameter_must_be_the_first_parameter_2680",message:"A 'this' parameter must be the first parameter."},A_constructor_cannot_have_a_this_parameter:{code:2681,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_have_a_this_parameter_2681",message:"A constructor cannot have a 'this' parameter."},get_and_set_accessor_must_have_the_same_this_type:{code:2682,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_this_type_2682",message:"'get' and 'set' accessor must have the same 'this' type."},this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:{code:2683,category:e.DiagnosticCategory.Error,key:"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683",message:"'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:{code:2684,category:e.DiagnosticCategory.Error,key:"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684",message:"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."},The_this_types_of_each_signature_are_incompatible:{code:2685,category:e.DiagnosticCategory.Error,key:"The_this_types_of_each_signature_are_incompatible_2685",message:"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:{code:2686,category:e.DiagnosticCategory.Error,key:"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686",message:"'{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:{code:2687,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_modifiers_2687",message:"All declarations of '{0}' must have identical modifiers."},Cannot_find_type_definition_file_for_0:{code:2688,category:e.DiagnosticCategory.Error,key:"Cannot_find_type_definition_file_for_0_2688",message:"Cannot find type definition file for '{0}'."},Cannot_extend_an_interface_0_Did_you_mean_implements:{code:2689,category:e.DiagnosticCategory.Error,key:"Cannot_extend_an_interface_0_Did_you_mean_implements_2689",message:"Cannot extend an interface '{0}'. Did you mean 'implements'?"},A_class_must_be_declared_after_its_base_class:{code:2690,category:e.DiagnosticCategory.Error,key:"A_class_must_be_declared_after_its_base_class_2690",message:"A class must be declared after its base class."},An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:{code:2691,category:e.DiagnosticCategory.Error,key:"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691",message:"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:{code:2692,category:e.DiagnosticCategory.Error,key:"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692",message:"'{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:{code:2693,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693",message:"'{0}' only refers to a type, but is being used as a value here."},Namespace_0_has_no_exported_member_1:{code:2694,category:e.DiagnosticCategory.Error,key:"Namespace_0_has_no_exported_member_1_2694",message:"Namespace '{0}' has no exported member '{1}'."},Left_side_of_comma_operator_is_unused_and_has_no_side_effects:{code:2695,category:e.DiagnosticCategory.Error,key:"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695",message:"Left side of comma operator is unused and has no side effects."},The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:{code:2696,category:e.DiagnosticCategory.Error,key:"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696",message:"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:{code:2697,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697",message:"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:{code:2698,category:e.DiagnosticCategory.Error,key:"Spread_types_may_only_be_created_from_object_types_2698",message:"Spread types may only be created from object types."},Rest_types_may_only_be_created_from_object_types:{code:2700,category:e.DiagnosticCategory.Error,key:"Rest_types_may_only_be_created_from_object_types_2700",message:"Rest types may only be created from object types."},The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:{code:2701,category:e.DiagnosticCategory.Error,key:"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701",message:"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:{code:2702,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702",message:"'{0}' only refers to a type, but is being used as a namespace here."},Import_declaration_0_is_using_private_name_1:{code:4e3,category:e.DiagnosticCategory.Error,key:"Import_declaration_0_is_using_private_name_1_4000",message:"Import declaration '{0}' is using private name '{1}'."},Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:{code:4002,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002",message:"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:{code:4004,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004",message:"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:{code:4006,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006",message:"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:{code:4008,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008",message:"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:{code:4010,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010",message:"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:{code:4012,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012",message:"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:{code:4014,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014",message:"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:{code:4016,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016",message:"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:{code:4019,category:e.DiagnosticCategory.Error,key:"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019",message:"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:{code:4020,category:e.DiagnosticCategory.Error,key:"Extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020",message:"Extends clause of exported class '{0}' has or is using private name '{1}'."},Extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:{code:4022,category:e.DiagnosticCategory.Error,key:"Extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022",message:"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:{code:4023,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023",message:"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:{code:4024,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024",message:"Exported variable '{0}' has or is using name '{1}' from private module '{2}'."},Exported_variable_0_has_or_is_using_private_name_1:{code:4025,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_private_name_1_4025",message:"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:{code:4026,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026",message:"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:{code:4027,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027",message:"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:{code:4028,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028",message:"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:{code:4029,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029",message:"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:{code:4030,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030",message:"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:{code:4031,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031",message:"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:{code:4032,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032",message:"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:{code:4033,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033",message:"Property '{0}' of exported interface has or is using private name '{1}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4034,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_4034",message:"Parameter '{0}' of public static property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4035,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1_4035",message:"Parameter '{0}' of public static property setter from exported class has or is using private name '{1}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4036,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_4036",message:"Parameter '{0}' of public property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4037,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1_4037",message:"Parameter '{0}' of public property setter from exported class has or is using private name '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4038,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_externa_4038",message:"Return type of public static property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4039,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_4039",message:"Return type of public static property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4040,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0_4040",message:"Return type of public static property getter from exported class has or is using private name '{0}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4041,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_modul_4041",message:"Return type of public property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4042,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_4042",message:"Return type of public property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4043,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0_4043",message:"Return type of public property getter from exported class has or is using private name '{0}'."},Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4044,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044",message:"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:{code:4045,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045",message:"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:{code:4046,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046",message:"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:{code:4047,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047",message:"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:{code:4048,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048",message:"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:{code:4049,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049",message:"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:{code:4050,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050",message:"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:{code:4051,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051",message:"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:{code:4052,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052",message:"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:{code:4053,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053",message:"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:{code:4054,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054",message:"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:{code:4055,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055",message:"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:{code:4056,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056",message:"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:{code:4057,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057",message:"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:{code:4058,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058",message:"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:{code:4059,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059",message:"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:{code:4060,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_private_name_0_4060",message:"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:{code:4061,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061",message:"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:{code:4062,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062",message:"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:{code:4063,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063",message:"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:{code:4064,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064",message:"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:{code:4065,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065",message:"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:{code:4066,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066",message:"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:{code:4067,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067",message:"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:{code:4068,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068",message:"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:{code:4069,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069",message:"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:{code:4070,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070",message:"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:{code:4071,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071",message:"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:{code:4072,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072",message:"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:{code:4073,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073",message:"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:{code:4074,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074",message:"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:{code:4075,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075",message:"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:{code:4076,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076",message:"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:{code:4077,category:e.DiagnosticCategory.Error, -key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077",message:"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:{code:4078,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078",message:"Parameter '{0}' of exported function has or is using private name '{1}'."},Exported_type_alias_0_has_or_is_using_private_name_1:{code:4081,category:e.DiagnosticCategory.Error,key:"Exported_type_alias_0_has_or_is_using_private_name_1_4081",message:"Exported type alias '{0}' has or is using private name '{1}'."},Default_export_of_the_module_has_or_is_using_private_name_0:{code:4082,category:e.DiagnosticCategory.Error,key:"Default_export_of_the_module_has_or_is_using_private_name_0_4082",message:"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:{code:4083,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083",message:"Type parameter '{0}' of exported type alias has or is using private name '{1}'."},Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:{code:4090,category:e.DiagnosticCategory.Message,key:"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090",message:"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:{code:4091,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091",message:"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:{code:4092,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092",message:"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."},The_current_host_does_not_support_the_0_option:{code:5001,category:e.DiagnosticCategory.Error,key:"The_current_host_does_not_support_the_0_option_5001",message:"The current host does not support the '{0}' option."},Cannot_find_the_common_subdirectory_path_for_the_input_files:{code:5009,category:e.DiagnosticCategory.Error,key:"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009",message:"Cannot find the common subdirectory path for the input files."},File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:{code:5010,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010",message:"File specification cannot end in a recursive directory wildcard ('**'): '{0}'."},File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0:{code:5011,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0_5011",message:"File specification cannot contain multiple recursive directory wildcards ('**'): '{0}'."},Cannot_read_file_0_Colon_1:{code:5012,category:e.DiagnosticCategory.Error,key:"Cannot_read_file_0_Colon_1_5012",message:"Cannot read file '{0}': {1}"},Unsupported_file_encoding:{code:5013,category:e.DiagnosticCategory.Error,key:"Unsupported_file_encoding_5013",message:"Unsupported file encoding."},Failed_to_parse_file_0_Colon_1:{code:5014,category:e.DiagnosticCategory.Error,key:"Failed_to_parse_file_0_Colon_1_5014",message:"Failed to parse file '{0}': {1}."},Unknown_compiler_option_0:{code:5023,category:e.DiagnosticCategory.Error,key:"Unknown_compiler_option_0_5023",message:"Unknown compiler option '{0}'."},Compiler_option_0_requires_a_value_of_type_1:{code:5024,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_requires_a_value_of_type_1_5024",message:"Compiler option '{0}' requires a value of type {1}."},Could_not_write_file_0_Colon_1:{code:5033,category:e.DiagnosticCategory.Error,key:"Could_not_write_file_0_Colon_1_5033",message:"Could not write file '{0}': {1}"},Option_project_cannot_be_mixed_with_source_files_on_a_command_line:{code:5042,category:e.DiagnosticCategory.Error,key:"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042",message:"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:{code:5047,category:e.DiagnosticCategory.Error,key:"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047",message:"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."},Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:{code:5051,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051",message:"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."},Option_0_cannot_be_specified_without_specifying_option_1:{code:5052,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_without_specifying_option_1_5052",message:"Option '{0}' cannot be specified without specifying option '{1}'."},Option_0_cannot_be_specified_with_option_1:{code:5053,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_with_option_1_5053",message:"Option '{0}' cannot be specified with option '{1}'."},A_tsconfig_json_file_is_already_defined_at_Colon_0:{code:5054,category:e.DiagnosticCategory.Error,key:"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054",message:"A 'tsconfig.json' file is already defined at: '{0}'."},Cannot_write_file_0_because_it_would_overwrite_input_file:{code:5055,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_overwrite_input_file_5055",message:"Cannot write file '{0}' because it would overwrite input file."},Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:{code:5056,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056",message:"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:{code:5057,category:e.DiagnosticCategory.Error,key:"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057",message:"Cannot find a tsconfig.json file at the specified directory: '{0}'"},The_specified_path_does_not_exist_Colon_0:{code:5058,category:e.DiagnosticCategory.Error,key:"The_specified_path_does_not_exist_Colon_0_5058",message:"The specified path does not exist: '{0}'"},Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:{code:5059,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059",message:"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."},Option_paths_cannot_be_used_without_specifying_baseUrl_option:{code:5060,category:e.DiagnosticCategory.Error,key:"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060",message:"Option 'paths' cannot be used without specifying '--baseUrl' option."},Pattern_0_can_have_at_most_one_Asterisk_character:{code:5061,category:e.DiagnosticCategory.Error,key:"Pattern_0_can_have_at_most_one_Asterisk_character_5061",message:"Pattern '{0}' can have at most one '*' character"},Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:{code:5062,category:e.DiagnosticCategory.Error,key:"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062",message:"Substitution '{0}' in pattern '{1}' in can have at most one '*' character"},Substitutions_for_pattern_0_should_be_an_array:{code:5063,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_should_be_an_array_5063",message:"Substitutions for pattern '{0}' should be an array."},Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:{code:5064,category:e.DiagnosticCategory.Error,key:"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064",message:"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:{code:5065,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065",message:"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:{code:5066,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066",message:"Substitutions for pattern '{0}' shouldn't be an empty array."},Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:{code:5067,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067",message:"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."},Concatenate_and_emit_output_to_single_file:{code:6001,category:e.DiagnosticCategory.Message,key:"Concatenate_and_emit_output_to_single_file_6001",message:"Concatenate and emit output to single file."},Generates_corresponding_d_ts_file:{code:6002,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_d_ts_file_6002",message:"Generates corresponding '.d.ts' file."},Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:{code:6003,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003",message:"Specify the location where debugger should locate map files instead of generated locations."},Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:{code:6004,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004",message:"Specify the location where debugger should locate TypeScript files instead of source locations."},Watch_input_files:{code:6005,category:e.DiagnosticCategory.Message,key:"Watch_input_files_6005",message:"Watch input files."},Redirect_output_structure_to_the_directory:{code:6006,category:e.DiagnosticCategory.Message,key:"Redirect_output_structure_to_the_directory_6006",message:"Redirect output structure to the directory."},Do_not_erase_const_enum_declarations_in_generated_code:{code:6007,category:e.DiagnosticCategory.Message,key:"Do_not_erase_const_enum_declarations_in_generated_code_6007",message:"Do not erase const enum declarations in generated code."},Do_not_emit_outputs_if_any_errors_were_reported:{code:6008,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_if_any_errors_were_reported_6008",message:"Do not emit outputs if any errors were reported."},Do_not_emit_comments_to_output:{code:6009,category:e.DiagnosticCategory.Message,key:"Do_not_emit_comments_to_output_6009",message:"Do not emit comments to output."},Do_not_emit_outputs:{code:6010,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_6010",message:"Do not emit outputs."},Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:{code:6011,category:e.DiagnosticCategory.Message,key:"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011",message:"Allow default imports from modules with no default export. This does not affect code emit, just typechecking."},Skip_type_checking_of_declaration_files:{code:6012,category:e.DiagnosticCategory.Message,key:"Skip_type_checking_of_declaration_files_6012",message:"Skip type checking of declaration files."},Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT:{code:6015,category:e.DiagnosticCategory.Message,key:"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT_6015",message:"Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'"},Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015:{code:6016,category:e.DiagnosticCategory.Message,key:"Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015_6016",message:"Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'"},Print_this_message:{code:6017,category:e.DiagnosticCategory.Message,key:"Print_this_message_6017",message:"Print this message."},Print_the_compiler_s_version:{code:6019,category:e.DiagnosticCategory.Message,key:"Print_the_compiler_s_version_6019",message:"Print the compiler's version."},Compile_the_project_in_the_given_directory:{code:6020,category:e.DiagnosticCategory.Message,key:"Compile_the_project_in_the_given_directory_6020",message:"Compile the project in the given directory."},Syntax_Colon_0:{code:6023,category:e.DiagnosticCategory.Message,key:"Syntax_Colon_0_6023",message:"Syntax: {0}"},options:{code:6024,category:e.DiagnosticCategory.Message,key:"options_6024",message:"options"},file:{code:6025,category:e.DiagnosticCategory.Message,key:"file_6025",message:"file"},Examples_Colon_0:{code:6026,category:e.DiagnosticCategory.Message,key:"Examples_Colon_0_6026",message:"Examples: {0}"},Options_Colon:{code:6027,category:e.DiagnosticCategory.Message,key:"Options_Colon_6027",message:"Options:"},Version_0:{code:6029,category:e.DiagnosticCategory.Message,key:"Version_0_6029",message:"Version {0}"},Insert_command_line_options_and_files_from_a_file:{code:6030,category:e.DiagnosticCategory.Message,key:"Insert_command_line_options_and_files_from_a_file_6030",message:"Insert command line options and files from a file."},File_change_detected_Starting_incremental_compilation:{code:6032,category:e.DiagnosticCategory.Message,key:"File_change_detected_Starting_incremental_compilation_6032",message:"File change detected. Starting incremental compilation..."},KIND:{code:6034,category:e.DiagnosticCategory.Message,key:"KIND_6034",message:"KIND"},FILE:{code:6035,category:e.DiagnosticCategory.Message,key:"FILE_6035",message:"FILE"},VERSION:{code:6036,category:e.DiagnosticCategory.Message,key:"VERSION_6036",message:"VERSION"},LOCATION:{code:6037,category:e.DiagnosticCategory.Message,key:"LOCATION_6037",message:"LOCATION"},DIRECTORY:{code:6038,category:e.DiagnosticCategory.Message,key:"DIRECTORY_6038",message:"DIRECTORY"},STRATEGY:{code:6039,category:e.DiagnosticCategory.Message,key:"STRATEGY_6039",message:"STRATEGY"},Compilation_complete_Watching_for_file_changes:{code:6042,category:e.DiagnosticCategory.Message,key:"Compilation_complete_Watching_for_file_changes_6042",message:"Compilation complete. Watching for file changes."},Generates_corresponding_map_file:{code:6043,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_map_file_6043",message:"Generates corresponding '.map' file."},Compiler_option_0_expects_an_argument:{code:6044,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_expects_an_argument_6044",message:"Compiler option '{0}' expects an argument."},Unterminated_quoted_string_in_response_file_0:{code:6045,category:e.DiagnosticCategory.Error,key:"Unterminated_quoted_string_in_response_file_0_6045",message:"Unterminated quoted string in response file '{0}'."},Argument_for_0_option_must_be_Colon_1:{code:6046,category:e.DiagnosticCategory.Error,key:"Argument_for_0_option_must_be_Colon_1_6046",message:"Argument for '{0}' option must be: {1}"},Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:{code:6048,category:e.DiagnosticCategory.Error,key:"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048",message:"Locale must be of the form or -. For example '{0}' or '{1}'."},Unsupported_locale_0:{code:6049,category:e.DiagnosticCategory.Error,key:"Unsupported_locale_0_6049",message:"Unsupported locale '{0}'."},Unable_to_open_file_0:{code:6050,category:e.DiagnosticCategory.Error,key:"Unable_to_open_file_0_6050",message:"Unable to open file '{0}'."},Corrupted_locale_file_0:{code:6051,category:e.DiagnosticCategory.Error,key:"Corrupted_locale_file_0_6051",message:"Corrupted locale file {0}."},Raise_error_on_expressions_and_declarations_with_an_implied_any_type:{code:6052,category:e.DiagnosticCategory.Message,key:"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052",message:"Raise error on expressions and declarations with an implied 'any' type."},File_0_not_found:{code:6053,category:e.DiagnosticCategory.Error,key:"File_0_not_found_6053",message:"File '{0}' not found."},File_0_has_unsupported_extension_The_only_supported_extensions_are_1:{code:6054,category:e.DiagnosticCategory.Error,key:"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054",message:"File '{0}' has unsupported extension. The only supported extensions are {1}."},Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:{code:6055,category:e.DiagnosticCategory.Message,key:"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055",message:"Suppress noImplicitAny errors for indexing objects lacking index signatures."},Do_not_emit_declarations_for_code_that_has_an_internal_annotation:{code:6056,category:e.DiagnosticCategory.Message,key:"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056",message:"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:{code:6058,category:e.DiagnosticCategory.Message,key:"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058",message:"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:{code:6059,category:e.DiagnosticCategory.Error,key:"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059",message:"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:{code:6060,category:e.DiagnosticCategory.Message,key:"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060",message:"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."},NEWLINE:{code:6061,category:e.DiagnosticCategory.Message,key:"NEWLINE_6061",message:"NEWLINE"},Option_0_can_only_be_specified_in_tsconfig_json_file:{code:6064,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_specified_in_tsconfig_json_file_6064",message:"Option '{0}' can only be specified in 'tsconfig.json' file."},Enables_experimental_support_for_ES7_decorators:{code:6065,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_decorators_6065",message:"Enables experimental support for ES7 decorators."},Enables_experimental_support_for_emitting_type_metadata_for_decorators:{code:6066,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066",message:"Enables experimental support for emitting type metadata for decorators."},Enables_experimental_support_for_ES7_async_functions:{code:6068,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_async_functions_6068",message:"Enables experimental support for ES7 async functions."},Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:{code:6069,category:e.DiagnosticCategory.Message,key:"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069",message:"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."},Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:{code:6070,category:e.DiagnosticCategory.Message,key:"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070",message:"Initializes a TypeScript project and creates a tsconfig.json file."},Successfully_created_a_tsconfig_json_file:{code:6071,category:e.DiagnosticCategory.Message,key:"Successfully_created_a_tsconfig_json_file_6071",message:"Successfully created a tsconfig.json file."},Suppress_excess_property_checks_for_object_literals:{code:6072,category:e.DiagnosticCategory.Message,key:"Suppress_excess_property_checks_for_object_literals_6072",message:"Suppress excess property checks for object literals."},Stylize_errors_and_messages_using_color_and_context_experimental:{code:6073,category:e.DiagnosticCategory.Message,key:"Stylize_errors_and_messages_using_color_and_context_experimental_6073",message:"Stylize errors and messages using color and context. (experimental)"},Do_not_report_errors_on_unused_labels:{code:6074,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unused_labels_6074",message:"Do not report errors on unused labels."},Report_error_when_not_all_code_paths_in_function_return_a_value:{code:6075,category:e.DiagnosticCategory.Message,key:"Report_error_when_not_all_code_paths_in_function_return_a_value_6075",message:"Report error when not all code paths in function return a value."},Report_errors_for_fallthrough_cases_in_switch_statement:{code:6076,category:e.DiagnosticCategory.Message,key:"Report_errors_for_fallthrough_cases_in_switch_statement_6076",message:"Report errors for fallthrough cases in switch statement."},Do_not_report_errors_on_unreachable_code:{code:6077,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unreachable_code_6077",message:"Do not report errors on unreachable code."},Disallow_inconsistently_cased_references_to_the_same_file:{code:6078,category:e.DiagnosticCategory.Message,key:"Disallow_inconsistently_cased_references_to_the_same_file_6078",message:"Disallow inconsistently-cased references to the same file."},Specify_library_files_to_be_included_in_the_compilation_Colon:{code:6079,category:e.DiagnosticCategory.Message,key:"Specify_library_files_to_be_included_in_the_compilation_Colon_6079",message:"Specify library files to be included in the compilation: "},Specify_JSX_code_generation_Colon_preserve_or_react:{code:6080,category:e.DiagnosticCategory.Message,key:"Specify_JSX_code_generation_Colon_preserve_or_react_6080",message:"Specify JSX code generation: 'preserve' or 'react'"},Only_amd_and_system_modules_are_supported_alongside_0:{code:6082,category:e.DiagnosticCategory.Error,key:"Only_amd_and_system_modules_are_supported_alongside_0_6082",message:"Only 'amd' and 'system' modules are supported alongside --{0}."},Base_directory_to_resolve_non_absolute_module_names:{code:6083,category:e.DiagnosticCategory.Message,key:"Base_directory_to_resolve_non_absolute_module_names_6083",message:"Base directory to resolve non-absolute module names."},Specify_the_object_invoked_for_createElement_and_spread_when_targeting_react_JSX_emit:{code:6084,category:e.DiagnosticCategory.Message,key:"Specify_the_object_invoked_for_createElement_and_spread_when_targeting_react_JSX_emit_6084",message:"Specify the object invoked for createElement and __spread when targeting 'react' JSX emit"},Enable_tracing_of_the_name_resolution_process:{code:6085,category:e.DiagnosticCategory.Message,key:"Enable_tracing_of_the_name_resolution_process_6085",message:"Enable tracing of the name resolution process."},Resolving_module_0_from_1:{code:6086,category:e.DiagnosticCategory.Message,key:"Resolving_module_0_from_1_6086",message:"======== Resolving module '{0}' from '{1}'. ========"},Explicitly_specified_module_resolution_kind_Colon_0:{code:6087,category:e.DiagnosticCategory.Message,key:"Explicitly_specified_module_resolution_kind_Colon_0_6087",message:"Explicitly specified module resolution kind: '{0}'."},Module_resolution_kind_is_not_specified_using_0:{code:6088,category:e.DiagnosticCategory.Message,key:"Module_resolution_kind_is_not_specified_using_0_6088",message:"Module resolution kind is not specified, using '{0}'."},Module_name_0_was_successfully_resolved_to_1:{code:6089,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_successfully_resolved_to_1_6089",message:"======== Module name '{0}' was successfully resolved to '{1}'. ========"},Module_name_0_was_not_resolved:{code:6090,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_not_resolved_6090",message:"======== Module name '{0}' was not resolved. ========"},paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:{code:6091,category:e.DiagnosticCategory.Message,key:"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091",message:"'paths' option is specified, looking for a pattern to match module name '{0}'."},Module_name_0_matched_pattern_1:{code:6092,category:e.DiagnosticCategory.Message,key:"Module_name_0_matched_pattern_1_6092",message:"Module name '{0}', matched pattern '{1}'."},Trying_substitution_0_candidate_module_location_Colon_1:{code:6093,category:e.DiagnosticCategory.Message,key:"Trying_substitution_0_candidate_module_location_Colon_1_6093",message:"Trying substitution '{0}', candidate module location: '{1}'."},Resolving_module_name_0_relative_to_base_url_1_2:{code:6094,category:e.DiagnosticCategory.Message,key:"Resolving_module_name_0_relative_to_base_url_1_2_6094",message:"Resolving module name '{0}' relative to base url '{1}' - '{2}'."},Loading_module_as_file_Slash_folder_candidate_module_location_0:{code:6095,category:e.DiagnosticCategory.Message,key:"Loading_module_as_file_Slash_folder_candidate_module_location_0_6095",message:"Loading module as file / folder, candidate module location '{0}'."},File_0_does_not_exist:{code:6096,category:e.DiagnosticCategory.Message,key:"File_0_does_not_exist_6096",message:"File '{0}' does not exist."},File_0_exist_use_it_as_a_name_resolution_result:{code:6097,category:e.DiagnosticCategory.Message,key:"File_0_exist_use_it_as_a_name_resolution_result_6097",message:"File '{0}' exist - use it as a name resolution result."},Loading_module_0_from_node_modules_folder:{code:6098,category:e.DiagnosticCategory.Message,key:"Loading_module_0_from_node_modules_folder_6098",message:"Loading module '{0}' from 'node_modules' folder."},Found_package_json_at_0:{code:6099,category:e.DiagnosticCategory.Message,key:"Found_package_json_at_0_6099",message:"Found 'package.json' at '{0}'."},package_json_does_not_have_a_types_or_main_field:{code:6100,category:e.DiagnosticCategory.Message,key:"package_json_does_not_have_a_types_or_main_field_6100",message:"'package.json' does not have a 'types' or 'main' field."},package_json_has_0_field_1_that_references_2:{code:6101,category:e.DiagnosticCategory.Message,key:"package_json_has_0_field_1_that_references_2_6101",message:"'package.json' has '{0}' field '{1}' that references '{2}'."},Allow_javascript_files_to_be_compiled:{code:6102,category:e.DiagnosticCategory.Message,key:"Allow_javascript_files_to_be_compiled_6102",message:"Allow javascript files to be compiled."},Option_0_should_have_array_of_strings_as_a_value:{code:6103,category:e.DiagnosticCategory.Error,key:"Option_0_should_have_array_of_strings_as_a_value_6103",message:"Option '{0}' should have array of strings as a value."},Checking_if_0_is_the_longest_matching_prefix_for_1_2:{code:6104,category:e.DiagnosticCategory.Message,key:"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104",message:"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."},Expected_type_of_0_field_in_package_json_to_be_string_got_1:{code:6105,category:e.DiagnosticCategory.Message,key:"Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105",message:"Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'."},baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:{code:6106,category:e.DiagnosticCategory.Message,key:"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106",message:"'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:{code:6107,category:e.DiagnosticCategory.Message,key:"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107",message:"'rootDirs' option is set, using it to resolve relative module name '{0}'"},Longest_matching_prefix_for_0_is_1:{code:6108,category:e.DiagnosticCategory.Message,key:"Longest_matching_prefix_for_0_is_1_6108",message:"Longest matching prefix for '{0}' is '{1}'"},Loading_0_from_the_root_dir_1_candidate_location_2:{code:6109,category:e.DiagnosticCategory.Message,key:"Loading_0_from_the_root_dir_1_candidate_location_2_6109",message:"Loading '{0}' from the root dir '{1}', candidate location '{2}'"},Trying_other_entries_in_rootDirs:{code:6110,category:e.DiagnosticCategory.Message,key:"Trying_other_entries_in_rootDirs_6110",message:"Trying other entries in 'rootDirs'"},Module_resolution_using_rootDirs_has_failed:{code:6111,category:e.DiagnosticCategory.Message,key:"Module_resolution_using_rootDirs_has_failed_6111",message:"Module resolution using 'rootDirs' has failed"},Do_not_emit_use_strict_directives_in_module_output:{code:6112,category:e.DiagnosticCategory.Message,key:"Do_not_emit_use_strict_directives_in_module_output_6112",message:"Do not emit 'use strict' directives in module output."},Enable_strict_null_checks:{code:6113,category:e.DiagnosticCategory.Message,key:"Enable_strict_null_checks_6113",message:"Enable strict null checks."},Unknown_option_excludes_Did_you_mean_exclude:{code:6114,category:e.DiagnosticCategory.Error,key:"Unknown_option_excludes_Did_you_mean_exclude_6114",message:"Unknown option 'excludes'. Did you mean 'exclude'?"},Raise_error_on_this_expressions_with_an_implied_any_type:{code:6115,category:e.DiagnosticCategory.Message,key:"Raise_error_on_this_expressions_with_an_implied_any_type_6115",message:"Raise error on 'this' expressions with an implied 'any' type."},Resolving_type_reference_directive_0_containing_file_1_root_directory_2:{code:6116,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"},Resolving_using_primary_search_paths:{code:6117,category:e.DiagnosticCategory.Message,key:"Resolving_using_primary_search_paths_6117",message:"Resolving using primary search paths..."},Resolving_from_node_modules_folder:{code:6118,category:e.DiagnosticCategory.Message,key:"Resolving_from_node_modules_folder_6118",message:"Resolving from node_modules folder..."},Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:{code:6119,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119",message:"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"},Type_reference_directive_0_was_not_resolved:{code:6120,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_not_resolved_6120", -message:"======== Type reference directive '{0}' was not resolved. ========"},Resolving_with_primary_search_path_0:{code:6121,category:e.DiagnosticCategory.Message,key:"Resolving_with_primary_search_path_0_6121",message:"Resolving with primary search path '{0}'"},Root_directory_cannot_be_determined_skipping_primary_search_paths:{code:6122,category:e.DiagnosticCategory.Message,key:"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122",message:"Root directory cannot be determined, skipping primary search paths."},Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:{code:6123,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"},Type_declaration_files_to_be_included_in_compilation:{code:6124,category:e.DiagnosticCategory.Message,key:"Type_declaration_files_to_be_included_in_compilation_6124",message:"Type declaration files to be included in compilation."},Looking_up_in_node_modules_folder_initial_location_0:{code:6125,category:e.DiagnosticCategory.Message,key:"Looking_up_in_node_modules_folder_initial_location_0_6125",message:"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:{code:6126,category:e.DiagnosticCategory.Message,key:"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126",message:"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:{code:6127,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127",message:"======== 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:{code:6128,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128",message:"======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"},The_config_file_0_found_doesn_t_contain_any_source_files:{code:6129,category:e.DiagnosticCategory.Error,key:"The_config_file_0_found_doesn_t_contain_any_source_files_6129",message:"The config file '{0}' found doesn't contain any source files."},Resolving_real_path_for_0_result_1:{code:6130,category:e.DiagnosticCategory.Message,key:"Resolving_real_path_for_0_result_1_6130",message:"Resolving real path for '{0}', result '{1}'"},Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:{code:6131,category:e.DiagnosticCategory.Error,key:"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131",message:"Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."},File_name_0_has_a_1_extension_stripping_it:{code:6132,category:e.DiagnosticCategory.Message,key:"File_name_0_has_a_1_extension_stripping_it_6132",message:"File name '{0}' has a '{1}' extension - stripping it"},_0_is_declared_but_never_used:{code:6133,category:e.DiagnosticCategory.Error,key:"_0_is_declared_but_never_used_6133",message:"'{0}' is declared but never used."},Report_errors_on_unused_locals:{code:6134,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_locals_6134",message:"Report errors on unused locals."},Report_errors_on_unused_parameters:{code:6135,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_parameters_6135",message:"Report errors on unused parameters."},The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:{code:6136,category:e.DiagnosticCategory.Message,key:"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136",message:"The maximum dependency depth to search under node_modules and load JavaScript files"},No_types_specified_in_package_json_so_returning_main_value_of_0:{code:6137,category:e.DiagnosticCategory.Message,key:"No_types_specified_in_package_json_so_returning_main_value_of_0_6137",message:"No types specified in 'package.json', so returning 'main' value of '{0}'"},Property_0_is_declared_but_never_used:{code:6138,category:e.DiagnosticCategory.Error,key:"Property_0_is_declared_but_never_used_6138",message:"Property '{0}' is declared but never used."},Import_emit_helpers_from_tslib:{code:6139,category:e.DiagnosticCategory.Message,key:"Import_emit_helpers_from_tslib_6139",message:"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:{code:6140,category:e.DiagnosticCategory.Error,key:"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140",message:"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:{code:6141,category:e.DiagnosticCategory.Message,key:"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",message:'Parse in strict mode and emit "use strict" for each source file'},Module_0_was_resolved_to_1_but_jsx_is_not_set:{code:6142,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142",message:"Module '{0}' was resolved to '{1}', but '--jsx' is not set."},Module_0_was_resolved_to_1_but_allowJs_is_not_set:{code:6143,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_allowJs_is_not_set_6143",message:"Module '{0}' was resolved to '{1}', but '--allowJs' is not set."},Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:{code:6144,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144",message:"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:{code:6145,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145",message:"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:{code:6146,category:e.DiagnosticCategory.Message,key:"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146",message:"Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."},Variable_0_implicitly_has_an_1_type:{code:7005,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_an_1_type_7005",message:"Variable '{0}' implicitly has an '{1}' type."},Parameter_0_implicitly_has_an_1_type:{code:7006,category:e.DiagnosticCategory.Error,key:"Parameter_0_implicitly_has_an_1_type_7006",message:"Parameter '{0}' implicitly has an '{1}' type."},Member_0_implicitly_has_an_1_type:{code:7008,category:e.DiagnosticCategory.Error,key:"Member_0_implicitly_has_an_1_type_7008",message:"Member '{0}' implicitly has an '{1}' type."},new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:{code:7009,category:e.DiagnosticCategory.Error,key:"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009",message:"'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:{code:7010,category:e.DiagnosticCategory.Error,key:"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010",message:"'{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:{code:7011,category:e.DiagnosticCategory.Error,key:"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011",message:"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:{code:7013,category:e.DiagnosticCategory.Error,key:"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013",message:"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."},Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:{code:7015,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015",message:"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:{code:7016,category:e.DiagnosticCategory.Error,key:"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016",message:"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:{code:7017,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017",message:"Element implicitly has an 'any' type because type '{0}' has no index signature."},Object_literal_s_property_0_implicitly_has_an_1_type:{code:7018,category:e.DiagnosticCategory.Error,key:"Object_literal_s_property_0_implicitly_has_an_1_type_7018",message:"Object literal's property '{0}' implicitly has an '{1}' type."},Rest_parameter_0_implicitly_has_an_any_type:{code:7019,category:e.DiagnosticCategory.Error,key:"Rest_parameter_0_implicitly_has_an_any_type_7019",message:"Rest parameter '{0}' implicitly has an 'any[]' type."},Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:{code:7020,category:e.DiagnosticCategory.Error,key:"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020",message:"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:{code:7022,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022",message:"'{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:{code:7023,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023",message:"'{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:{code:7024,category:e.DiagnosticCategory.Error,key:"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024",message:"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_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type:{code:7025,category:e.DiagnosticCategory.Error,key:"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025",message:"Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type."},JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:{code:7026,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026",message:"JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists"},Unreachable_code_detected:{code:7027,category:e.DiagnosticCategory.Error,key:"Unreachable_code_detected_7027",message:"Unreachable code detected."},Unused_label:{code:7028,category:e.DiagnosticCategory.Error,key:"Unused_label_7028",message:"Unused label."},Fallthrough_case_in_switch:{code:7029,category:e.DiagnosticCategory.Error,key:"Fallthrough_case_in_switch_7029",message:"Fallthrough case in switch."},Not_all_code_paths_return_a_value:{code:7030,category:e.DiagnosticCategory.Error,key:"Not_all_code_paths_return_a_value_7030",message:"Not all code paths return a value."},Binding_element_0_implicitly_has_an_1_type:{code:7031,category:e.DiagnosticCategory.Error,key:"Binding_element_0_implicitly_has_an_1_type_7031",message:"Binding element '{0}' implicitly has an '{1}' type."},Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:{code:7032,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032",message:"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:{code:7033,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033",message:"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:{code:7034,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034",message:"Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."},You_cannot_rename_this_element:{code:8e3,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_this_element_8000",message:"You cannot rename this element."},You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:{code:8001,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001",message:"You cannot rename elements that are defined in the standard TypeScript library."},import_can_only_be_used_in_a_ts_file:{code:8002,category:e.DiagnosticCategory.Error,key:"import_can_only_be_used_in_a_ts_file_8002",message:"'import ... =' can only be used in a .ts file."},export_can_only_be_used_in_a_ts_file:{code:8003,category:e.DiagnosticCategory.Error,key:"export_can_only_be_used_in_a_ts_file_8003",message:"'export=' can only be used in a .ts file."},type_parameter_declarations_can_only_be_used_in_a_ts_file:{code:8004,category:e.DiagnosticCategory.Error,key:"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004",message:"'type parameter declarations' can only be used in a .ts file."},implements_clauses_can_only_be_used_in_a_ts_file:{code:8005,category:e.DiagnosticCategory.Error,key:"implements_clauses_can_only_be_used_in_a_ts_file_8005",message:"'implements clauses' can only be used in a .ts file."},interface_declarations_can_only_be_used_in_a_ts_file:{code:8006,category:e.DiagnosticCategory.Error,key:"interface_declarations_can_only_be_used_in_a_ts_file_8006",message:"'interface declarations' can only be used in a .ts file."},module_declarations_can_only_be_used_in_a_ts_file:{code:8007,category:e.DiagnosticCategory.Error,key:"module_declarations_can_only_be_used_in_a_ts_file_8007",message:"'module declarations' can only be used in a .ts file."},type_aliases_can_only_be_used_in_a_ts_file:{code:8008,category:e.DiagnosticCategory.Error,key:"type_aliases_can_only_be_used_in_a_ts_file_8008",message:"'type aliases' can only be used in a .ts file."},_0_can_only_be_used_in_a_ts_file:{code:8009,category:e.DiagnosticCategory.Error,key:"_0_can_only_be_used_in_a_ts_file_8009",message:"'{0}' can only be used in a .ts file."},types_can_only_be_used_in_a_ts_file:{code:8010,category:e.DiagnosticCategory.Error,key:"types_can_only_be_used_in_a_ts_file_8010",message:"'types' can only be used in a .ts file."},type_arguments_can_only_be_used_in_a_ts_file:{code:8011,category:e.DiagnosticCategory.Error,key:"type_arguments_can_only_be_used_in_a_ts_file_8011",message:"'type arguments' can only be used in a .ts file."},parameter_modifiers_can_only_be_used_in_a_ts_file:{code:8012,category:e.DiagnosticCategory.Error,key:"parameter_modifiers_can_only_be_used_in_a_ts_file_8012",message:"'parameter modifiers' can only be used in a .ts file."},enum_declarations_can_only_be_used_in_a_ts_file:{code:8015,category:e.DiagnosticCategory.Error,key:"enum_declarations_can_only_be_used_in_a_ts_file_8015",message:"'enum declarations' can only be used in a .ts file."},type_assertion_expressions_can_only_be_used_in_a_ts_file:{code:8016,category:e.DiagnosticCategory.Error,key:"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016",message:"'type assertion expressions' can only be used in a .ts file."},Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clauses:{code:9002,category:e.DiagnosticCategory.Error,key:"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002",message:"Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses."},class_expressions_are_not_currently_supported:{code:9003,category:e.DiagnosticCategory.Error,key:"class_expressions_are_not_currently_supported_9003",message:"'class' expressions are not currently supported."},Language_service_is_disabled:{code:9004,category:e.DiagnosticCategory.Error,key:"Language_service_is_disabled_9004",message:"Language service is disabled."},JSX_attributes_must_only_be_assigned_a_non_empty_expression:{code:17e3,category:e.DiagnosticCategory.Error,key:"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000",message:"JSX attributes must only be assigned a non-empty 'expression'."},JSX_elements_cannot_have_multiple_attributes_with_the_same_name:{code:17001,category:e.DiagnosticCategory.Error,key:"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001",message:"JSX elements cannot have multiple attributes with the same name."},Expected_corresponding_JSX_closing_tag_for_0:{code:17002,category:e.DiagnosticCategory.Error,key:"Expected_corresponding_JSX_closing_tag_for_0_17002",message:"Expected corresponding JSX closing tag for '{0}'."},JSX_attribute_expected:{code:17003,category:e.DiagnosticCategory.Error,key:"JSX_attribute_expected_17003",message:"JSX attribute expected."},Cannot_use_JSX_unless_the_jsx_flag_is_provided:{code:17004,category:e.DiagnosticCategory.Error,key:"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004",message:"Cannot use JSX unless the '--jsx' flag is provided."},A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:{code:17005,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005",message:"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:{code:17006,category:e.DiagnosticCategory.Error,key:"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006",message:"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:{code:17007,category:e.DiagnosticCategory.Error,key:"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007",message:"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:{code:17008,category:e.DiagnosticCategory.Error,key:"JSX_element_0_has_no_corresponding_closing_tag_17008",message:"JSX element '{0}' has no corresponding closing tag."},super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:{code:17009,category:e.DiagnosticCategory.Error,key:"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009",message:"'super' must be called before accessing 'this' in the constructor of a derived class."},Unknown_type_acquisition_option_0:{code:17010,category:e.DiagnosticCategory.Error,key:"Unknown_type_acquisition_option_0_17010",message:"Unknown type acquisition option '{0}'."},Circularity_detected_while_resolving_configuration_Colon_0:{code:18e3,category:e.DiagnosticCategory.Error,key:"Circularity_detected_while_resolving_configuration_Colon_0_18000",message:"Circularity detected while resolving configuration: {0}"},A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:{code:18001,category:e.DiagnosticCategory.Error,key:"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001",message:"A path in an 'extends' option must be relative or rooted, but '{0}' is not."},The_files_list_in_config_file_0_is_empty:{code:18002,category:e.DiagnosticCategory.Error,key:"The_files_list_in_config_file_0_is_empty_18002",message:"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:{code:18003,category:e.DiagnosticCategory.Error,key:"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003",message:"No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."},Add_missing_super_call:{code:90001,category:e.DiagnosticCategory.Message,key:"Add_missing_super_call_90001",message:"Add missing 'super()' call."},Make_super_call_the_first_statement_in_the_constructor:{code:90002,category:e.DiagnosticCategory.Message,key:"Make_super_call_the_first_statement_in_the_constructor_90002",message:"Make 'super()' call the first statement in the constructor."},Change_extends_to_implements:{code:90003,category:e.DiagnosticCategory.Message,key:"Change_extends_to_implements_90003",message:"Change 'extends' to 'implements'"},Remove_unused_identifiers:{code:90004,category:e.DiagnosticCategory.Message,key:"Remove_unused_identifiers_90004",message:"Remove unused identifiers"},Implement_interface_on_reference:{code:90005,category:e.DiagnosticCategory.Message,key:"Implement_interface_on_reference_90005",message:"Implement interface on reference"},Implement_interface_on_class:{code:90006,category:e.DiagnosticCategory.Message,key:"Implement_interface_on_class_90006",message:"Implement interface on class"},Implement_inherited_abstract_class:{code:90007,category:e.DiagnosticCategory.Message,key:"Implement_inherited_abstract_class_90007",message:"Implement inherited abstract class"},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:{code:90009,category:e.DiagnosticCategory.Error,key:"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__90009",message:"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig"},Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:{code:90010,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_90010",message:"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."},Import_0_from_1:{code:90013,category:e.DiagnosticCategory.Message,key:"Import_0_from_1_90013",message:"Import {0} from {1}"},Change_0_to_1:{code:90014,category:e.DiagnosticCategory.Message,key:"Change_0_to_1_90014",message:"Change {0} to {1}"},Add_0_to_existing_import_declaration_from_1:{code:90015,category:e.DiagnosticCategory.Message,key:"Add_0_to_existing_import_declaration_from_1_90015",message:"Add {0} to existing import declaration from {1}"}}}(o||(o={}));var o;!function(e){function t(e){return e>=70}function n(e,t){if(e=1?n(e,K):n(e,j)}function a(e,t){return t>=1?n(e,J):n(e,z)}function i(e){var t=[];for(var n in e)t[e[n]]=n;return t}function o(e){return U[e]}function s(e){return B[e]}function c(e){for(var t=new Array,n=0,r=0;n127&&g(a)&&(t.push(r),r=n)}}return t.push(r),t}function u(e,t,n){return _(l(e),t,n)}function _(t,n,r){return e.Debug.assert(n>=0&&n=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function g(e){return 10===e||13===e||8232===e||8233===e}function y(e){return e>=48&&e<=57}function h(e){return e>=48&&e<=55}function v(e,t){var n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function b(t,n,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(n))return n;for(;;){var i=t.charCodeAt(n);switch(i){case 13:10===t.charCodeAt(n+1)&&n++;case 10:if(n++,r)return n;continue;case 9:case 11:case 12:case 32:n++;continue;case 47:if(a)break;if(47===t.charCodeAt(n+1)){for(n+=2;n127&&p(i)){n++;continue}}return n}}function k(t,n){if(e.Debug.assert(n>=0),0===n||g(t.charCodeAt(n-1))){var r=t.charCodeAt(n);if(n+q=0&&n127&&p(m)){l&&g(m)&&(_=!0),n++;continue}break e}}return l&&(f=a(s,c,u,_,i,f)),f}function E(e,t,n,r){return C(!1,e,t,!1,n,r)}function T(e,t,n,r){return C(!1,e,t,!0,n,r)}function w(e,t,n,r,a){return C(!0,e,t,!1,n,r,a)}function N(e,t,n,r,a){return C(!0,e,t,!0,n,r,a)}function A(e,t,n,r,a,i){return i||(i=[]),i.push({pos:e,end:t,hasTrailingNewLine:r,kind:n}),i}function P(e,t){return w(e,t,A,void 0,void 0)}function O(e,t){return N(e,t,A,void 0,void 0)}function F(e){return W.test(e)?W.exec(e)[0]:void 0}function R(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&r(e,t)}function I(e,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&a(e,t)}function L(e,t){if(!R(e.charCodeAt(0),t))return!1;for(var n=1,r=e.length;n=48&&a<=57)r=16*r+a-48;else if(a>=65&&a<=70)r=16*r+a-65+10;else{if(!(a>=97&&a<=102))break;r=16*r+a-97+10}ne++,n++}return n=re){r+=i.substring(a,ne),_e=!0,u(e.Diagnostics.Unterminated_string_literal);break}var o=i.charCodeAt(ne);if(o===n){r+=i.substring(a,ne),ne++;break}if(92===o&&t)r+=i.substring(a,ne),r+=C(),a=ne;else{if(g(o)){r+=i.substring(a,ne),_e=!0,u(e.Diagnostics.Unterminated_string_literal);break}ne++}}return r}function b(){var t=96===i.charCodeAt(ne);ne++;for(var n,r=ne,a="";;){if(ne>=re){a+=i.substring(r,ne),_e=!0,u(e.Diagnostics.Unterminated_template_literal),n=t?12:15;break}var o=i.charCodeAt(ne);if(96===o){a+=i.substring(r,ne),ne++,n=t?12:15;break}if(36===o&&ne+1=re)return u(e.Diagnostics.Unexpected_end_of_text),"";var t=i.charCodeAt(ne);switch(ne++,t){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return ne=0?String.fromCharCode(n):(u(e.Diagnostics.Hexadecimal_digit_expected),"")}function T(){var t=f(1),n=!1;return t<0?(u(e.Diagnostics.Hexadecimal_digit_expected),n=!0):t>1114111&&(u(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),ne>=re?(u(e.Diagnostics.Unexpected_end_of_text),n=!0):125===i.charCodeAt(ne)?ne++:(u(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":w(t)}function w(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var n=Math.floor((t-65536)/1024)+55296,r=(t-65536)%1024+56320;return String.fromCharCode(n,r)}function N(){if(ne+5=0&&I(r,n)))break;e+=i.substring(t,ne),e+=String.fromCharCode(r),ne+=6,t=ne}}return e+=i.substring(t,ne)}function P(){var e=se.length;if(e>=2&&e<=11){var t=se.charCodeAt(0);if(t>=97&&t<=122&&V.call(B,se))return oe=B[se]}return oe=70}function O(t){e.Debug.assert(2===t||8===t,"Expected either base 2 or base 8");for(var n=0,r=0;;){var a=i.charCodeAt(ne),o=a-48;if(!y(a)||o>=t)break;n=n*t+o,ne++,r++}return 0===r?-1:n}function F(){for(ae=ne,ue=!1,ce=!1,_e=!1;;){if(ie=ne,ne>=re)return oe=1;var t=i.charCodeAt(ne);if(35===t&&0===ne&&S(i,ne)){if(ne=D(i,ne),r)continue;return oe=6}switch(t){case 10:case 13:if(ce=!0,r){ne++;continue}return 13===t&&ne+1=0&&R(d,n)?(ne+=6,se=String.fromCharCode(d)+A(),oe=P()):(u(e.Diagnostics.Invalid_character),ne++,oe=0);default:if(R(t,n)){for(ne++;ne=re){_e=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}var o=i.charCodeAt(t);if(g(o)){_e=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===o&&!a){t++;break}91===o?a=!0:92===o?r=!0:93===o&&(a=!1)}t++}for(;t=re)return oe=1;var e=i.charCodeAt(ne);if(60===e)return 47===i.charCodeAt(ne+1)?(ne+=2,oe=27):(ne++,oe=26);if(123===e)return ne++,oe=16;for(;ne=re)return oe=1;ae=ne,ie=ne;var e=i.charCodeAt(ne);switch(e){case 9:case 11:case 12:case 32:for(;ne=0),ne=t,ae=t,ie=t,oe=0,ce=!1,se=void 0,ue=!1,_e=!1}void 0===a&&(a=0);var ne,re,ae,ie,oe,se,ce,ue,_e;return Q(i,s,c),{getStartPos:function(){return ae},getTextPos:function(){return ne},getToken:function(){return oe},getTokenPos:function(){return ie},getTokenText:function(){return i.substring(ie,ne)},getTokenValue:function(){return se},hasExtendedUnicodeEscape:function(){return ue},hasPrecedingLineBreak:function(){return ce},isIdentifier:function(){return 70===oe||oe>106},isReservedWord:function(){return oe>=71&&oe<=106},isUnterminated:function(){return _e},reScanGreaterToken:L,reScanSlashToken:M,reScanTemplateToken:j,scanJsxIdentifier:J,scanJsxAttributeValue:U,reScanJsxToken:z,scanJsxToken:K,scanJSDocToken:q,scan:F,getText:Y,setText:Q,setScriptTarget:$,setLanguageVariant:ee,setOnError:Z,setTextPos:te,tryScan:X,lookAhead:G,scanRange:H}}e.tokenIsIdentifierOrKeyword=t;var B=e.createMap({abstract:116,any:118,as:117,boolean:121,break:71,case:72,catch:73,class:74,continue:76,const:75,constructor:122,debugger:77,declare:123,default:78,delete:79,do:80,else:81,enum:82,export:83,extends:84,false:85,finally:86,for:87,from:138,function:88,get:124,if:89,implements:107,import:90,in:91,instanceof:92,interface:108,is:125,keyof:126,let:109,module:127,namespace:128,never:129,new:93,null:94,number:132,package:110,private:111,protected:112,public:113,readonly:130,require:131,global:139,return:95,set:133,static:114,string:134,super:96,switch:97,symbol:135,this:98,throw:99,true:100,try:101,type:136,typeof:102,undefined:137,var:103,void:104,while:105,with:106,yield:115,async:119,await:120,of:140,"{":16,"}":17,"(":18,")":19,"[":20,"]":21,".":22,"...":23,";":24,",":25,"<":26,">":28,"<=":29,">=":30,"==":31,"!=":32,"===":33,"!==":34,"=>":35,"+":36,"-":37,"**":39,"*":38,"/":40,"%":41,"++":42,"--":43,"<<":44,">":45,">>>":46,"&":47,"|":48,"^":49,"!":50,"~":51,"&&":52,"||":53,"?":54,":":55,"=":57,"+=":58,"-=":59,"*=":60,"**=":61,"/=":62,"%=":63,"<<=":64,">>=":65,">>>=":66,"&=":67,"|=":68,"^=":69,"@":56}),j=[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],z=[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],K=[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],J=[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];e.isUnicodeIdentifierStart=r;var U=i(B);e.tokenToString=o,e.stringToToken=s,e.computeLineStarts=c,e.getPositionOfLineAndCharacter=u,e.computePositionOfLineAndCharacter=_,e.getLineStarts=l,e.computeLineAndCharacterOfPosition=d,e.getLineAndCharacterOfPosition=f;var V=Object.prototype.hasOwnProperty;e.isWhiteSpace=p,e.isWhiteSpaceSingleLine=m,e.isLineBreak=g,e.isOctalDigit=h,e.couldStartTrivia=v,e.skipTrivia=b;var q="<<<<<<<".length,W=/^#!.*/;e.forEachLeadingCommentRange=E,e.forEachTrailingCommentRange=T,e.reduceEachLeadingCommentRange=w,e.reduceEachTrailingCommentRange=N,e.getLeadingCommentRanges=P,e.getTrailingCommentRanges=O,e.getShebang=F,e.isIdentifierStart=R,e.isIdentifierPart=I,e.isIdentifierText=L,e.createScanner=M}(o||(o={}));var o;!function(e){function t(e,t){var n=e.declarations;if(n)for(var r=0,a=n;r=0),e.getLineStarts(n)[t]}function y(t){var n=p(t),r=e.getLineAndCharacterOfPosition(n,t.pos);return n.fileName+"("+(r.line+1)+","+(r.character+1)+")"}function h(e){return e.pos}function v(e){return void 0!==e}function b(t,n){e.Debug.assert(t>=0);var r=e.getLineStarts(n),a=t,i=n.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 k(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function x(e){return!k(e)}function S(t,n,r){return k(t)?t.pos:D(t)?e.skipTrivia((n||p(t)).text,t.pos,!1,!0):r&&t.jsDoc&&t.jsDoc.length>0?S(t.jsDoc[0]):292===t.kind&&t._children.length>0?S(t._children[0],n,r):e.skipTrivia((n||p(t)).text,t.pos)}function D(e){return e.kind>=262&&e.kind<=288}function C(e){return e.kind>=278&&e.kind<=291}function E(t,n){return k(t)||!t.decorators?S(t,n):e.skipTrivia((n||p(t)).text,t.decorators.end)}function T(t,n,r){if(void 0===r&&(r=!1),k(n))return"";var a=t.text;return a.substring(r?n.pos:e.skipTrivia(a,n.pos),n.end)}function w(t,n){return k(n)?"":t.substring(e.skipTrivia(t,n.pos),n.end)}function N(e,t){return void 0===t&&(t=!1),T(p(e),e,t)}function A(t,n,r){if(r<2&&(Gr(t.kind)||t.hasExtendedUnicodeEscape))return O('"',t.text,'"');if(!Ht(t)&&t.parent){var a=T(n,t);return r<2&&P(t,a)?t.text:a}switch(t.kind){case 9:return O('"',t.text,'"');case 12:return O("`",t.text,"`");case 13:return O("`",t.text,"${");case 14:return O("}",t.text,"${");case 15:return O("}",t.text,"`");case 8:return t.text}e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.")}function P(e,t){if(8===e.kind&&t.length>1)switch(t.charCodeAt(1)){case 98:case 66:case 111:case 79:return!0}return!1}function O(e,t,n){return e+un(on(t))+n}function F(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function R(e){return e.length>=3&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function I(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function L(t){return 0!==(3&e.getCombinedNodeFlags(t))||M(t)}function M(e){var t=qt(e);return 223===t.kind&&256===t.parent.kind}function B(e){return e&&230===e.kind&&(9===e.name.kind||J(e))}function j(e){return z(e.valueDeclaration)}function z(e){return 230===e.kind&&!e.body}function K(e){return 261===e.kind||230===e.kind||he(e)}function J(e){return!!(512&e.flags)}function U(t){if(!t||!B(t))return!1;switch(t.parent.kind){case 261:return e.isExternalModule(t.parent);case 231:return B(t.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function V(t,n){return e.isExternalModule(t)||n.isolatedModules}function q(e,t){switch(e.kind){case 261:case 232:case 256:case 230:case 211:case 212:case 213:case 150:case 149:case 151:case 152:case 225:case 184:case 185:return!0;case 204:return t&&!he(t)}return!1}function W(e){for(var t=e.parent;t;){if(q(t,t.parent))return t;t=t.parent}}function H(e){return 0===a(e)?"(Missing)":N(e)}function G(e){switch(e.kind){case 70:return e.text;case 9:case 8:return e.text;case 142:if(It(e.expression))return e.expression.text}}function X(e){switch(e.kind){case 70:return 0===a(e)?R(e.text):N(e);case 141:return X(e.left)+"."+X(e.right);case 177:return X(e.expression)+"."+X(e.name)}}function Y(e,t,n,r,a){var i=p(e);return Q(i,e,t,n,r,a)}function Q(t,n,r,a,i,o){var s=te(t,n);return e.createFileDiagnostic(t,s.start,s.length,r,a,i,o)}function Z(e,t){var n=p(e),r=te(n,e);return{file:n,start:r.start,length:r.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText}}function $(t,n){var r=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,n);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function ee(t,n){var r=e.skipTrivia(t.text,n.pos);if(n.body&&204===n.body.kind){var a=e.getLineAndCharacterOfPosition(t,n.body.pos).line,i=e.getLineAndCharacterOfPosition(t,n.body.end).line;if(a=0;case 181:return!1}}return!1}function fe(t,n){function r(t){switch(t.kind){case 216:return n(t);case 232:case 204:case 208:case 209:case 210:case 211:case 212:case 213:case 217:case 218:case 253:case 254:case 219:case 221:case 256:return e.forEachChild(t,r)}}return r(t)}function pe(t,n){function r(t){switch(t.kind){case 195:n(t);var a=t.expression;a&&r(a);case 229:case 227:case 230:case 228:case 226:case 197:return;default:if(he(t)){var i=t.name;if(i&&142===i.kind)return void r(i.expression)}else de(t)||e.forEachChild(t,r)}}return r(t); -}function me(e){if(e)switch(e.kind){case 174:case 260:case 144:case 257:case 147:case 146:case 258:case 223:return!0}return!1}function ge(e){return e&&(151===e.kind||152===e.kind)}function ye(e){return e&&(226===e.kind||197===e.kind)}function he(e){return e&&ve(e.kind)}function ve(e){switch(e){case 150:case 184:case 225:case 185:case 149:case 148:case 151:case 152:case 153:case 154:case 155:case 158:case 159:return!0}return!1}function be(e){switch(e.kind){case 149:case 148:case 150:case 151:case 152:case 225:case 184:return!0}return!1}function ke(e,t){switch(e.kind){case 211:case 212:case 213:case 209:case 210:return!0;case 219:return t&&ke(e.statement,t)}return!1}function xe(e){return e&&204===e.kind&&he(e.parent)}function Se(e){return e&&149===e.kind&&176===e.parent.kind}function De(e){return 149===e.kind&&(176===e.parent.kind||197===e.parent.kind)}function Ce(e){return e&&1===e.kind}function Ee(e){return e&&0===e.kind}function Te(e){for(;;)if(e=e.parent,!e||he(e))return e}function we(e){for(;;)if(e=e.parent,!e||ye(e))return e}function Ne(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 142:if(ye(e.parent.parent))return e;e=e.parent;break;case 145:144===e.parent.kind&&_a(e.parent.parent)?e=e.parent.parent:_a(e.parent)&&(e=e.parent);break;case 185:if(!t)continue;case 225:case 184:case 230:case 147:case 146:case 149:case 148:case 150:case 151:case 152:case 153:case 154:case 155:case 229:case 261:return e}}}function Ae(e,t){for(;;){if(e=e.parent,!e)return e;switch(e.kind){case 142:e=e.parent;break;case 225:case 184:case 185:if(!t)continue;case 147:case 146:case 149:case 148:case 150:case 151:case 152:return e;case 145:144===e.parent.kind&&_a(e.parent.parent)?e=e.parent.parent:_a(e.parent)&&(e=e.parent)}}}function Pe(e){if(184===e.kind||185===e.kind){for(var t=e,n=e.parent;183===n.kind;)t=n,n=n.parent;if(179===n.kind&&n.expression===t)return n}}function Oe(e){var t=e.kind;return(177===t||178===t)&&96===e.expression.kind}function Fe(e){switch(e.kind){case 157:case 272:return e.typeName;case 199:return rr(e.expression)?e.expression:void 0;case 70:case 141:return e}}function Re(e){switch(e.kind){case 179:case 180:case 181:case 145:return!0;default:return!1}}function Ie(e){return 181===e.kind?e.tag:e.expression}function Le(e){switch(e.kind){case 226:return!0;case 147:return 226===e.parent.kind;case 151:case 152:case 149:return void 0!==e.body&&226===e.parent.kind;case 144:return void 0!==e.parent.body&&(150===e.parent.kind||149===e.parent.kind||152===e.parent.kind)&&226===e.parent.parent.kind}return!1}function Me(e){return void 0!==e.decorators&&Le(e)}function Be(e){return Me(e)||je(e)}function je(t){switch(t.kind){case 226:return e.forEach(t.members,Be);case 149:case 152:return e.forEach(t.parameters,Me)}}function ze(e){var t=e.parent;return(248===t.kind||247===t.kind||249===t.kind)&&t.tagName===e}function Ke(e){switch(e.kind){case 98:case 96:case 94:case 100:case 85:case 11:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 200:case 182:case 201:case 183:case 184:case 197:case 185:case 188:case 186:case 187:case 190:case 191:case 192:case 193:case 196:case 194:case 12:case 198:case 246:case 247:case 195:case 189:return!0;case 141:for(;141===e.parent.kind;)e=e.parent;return 160===e.parent.kind||ze(e);case 70:if(160===e.parent.kind||ze(e))return!0;case 8:case 9:case 98:var t=e.parent;switch(t.kind){case 223:case 144:case 147:case 146:case 260:case 257:case 174:return t.initializer===e;case 207:case 208:case 209:case 210:case 216:case 217:case 218:case 253:case 220:case 218:return t.expression===e;case 211:var n=t;return n.initializer===e&&224!==n.initializer.kind||n.condition===e||n.incrementor===e;case 212:case 213:var r=t;return r.initializer===e&&224!==r.initializer.kind||r.expression===e;case 182:case 200:return e===t.expression;case 202:return e===t.expression;case 142:return e===t.expression;case 145:case 252:case 251:case 259:return!0;case 199:return t.expression===e&&nr(t);default:if(Ke(t))return!0}}return!1}function Je(t,n){var r=e.getModuleInstanceState(t);return 1===r||n&&2===r}function Ue(e){return 234===e.kind&&245===e.moduleReference.kind}function Ve(t){return e.Debug.assert(Ue(t)),t.moduleReference.expression}function qe(e){return 234===e.kind&&245!==e.moduleReference.kind}function We(e){return He(e)}function He(e){return e&&!!(65536&e.flags)}function Ge(e,t){var n=179===e.kind&&70===e.expression.kind&&"require"===e.expression.text&&1===e.arguments.length;return n&&(!t||9===e.arguments[0].kind)}function Xe(e){return 39===e||34===e}function Ye(e){if(e.valueDeclaration&&223===e.valueDeclaration.kind){var t=e.valueDeclaration;return t.initializer&&184===t.initializer.kind}return!1}function Qe(e){if(!He(e))return 0;if(192!==e.kind)return 0;var t=e;if(57!==t.operatorToken.kind||177!==t.left.kind)return 0;var n=t.left;if(70===n.expression.kind){var r=n.expression;if("exports"===r.text)return 1;if("module"===r.text&&"exports"===n.name.text)return 2}else{if(98===n.expression.kind)return 4;if(177===n.expression.kind){var a=n.expression;if(70===a.expression.kind){var i=a.expression;if("module"===i.text&&"exports"===a.name.text)return 1;if("prototype"===a.name.text)return 3}}}return 0}function Ze(e){if(235===e.kind)return e.moduleSpecifier;if(234===e.kind){var t=e.moduleReference;if(245===t.kind)return t.expression}return 241===e.kind?e.moduleSpecifier:230===e.kind&&9===e.name.kind?e.name:void 0}function $e(e){if(234===e.kind)return e;var t=e.importClause;return t&&t.namedBindings&&237===t.namedBindings.kind?t.namedBindings:void 0}function et(e){return 235===e.kind&&e.importClause&&!!e.importClause.name}function tt(e){if(e)switch(e.kind){case 144:case 149:case 148:case 258:case 257:case 147:case 146:return void 0!==e.questionToken}return!1}function nt(e){return 274===e.kind&&e.parameters.length>0&&276===e.parameters[0].type.kind}function rt(t){return e.map(ot(t),function(e){return e.comment})}function at(t,n){var r=ot(t);if(r){for(var a=[],i=0,o=r;i0?t.types[0]:void 0}function Et(e){var t=wt(e.heritageClauses,107);return t?t.types:void 0}function Tt(e){var t=wt(e.heritageClauses,84);return t?t.types:void 0}function wt(e,t){if(e)for(var n=0,r=e;n/gim;if(r.test(t)){if(a.test(t))return{isNoDefaultLib:!0};var i=e.fullTripleSlashReferencePathRegEx.exec(t),o=!i&&e.fullTripleSlashReferenceTypeReferenceDirectiveRegEx.exec(t);if(i||o){var s=n.pos,c=n.end;return{fileReference:{pos:s,end:c,fileName:(i||o)[3]},isNoDefaultLib:!1,isTypeReferenceDirective:!!o}}return{diagnosticMessage:e.Diagnostics.Invalid_reference_directive_syntax,isNoDefaultLib:!1}}}function Ot(e){return 71<=e&&e<=140}function Ft(e){return 2<=e&&e<=7}function Rt(e){return he(e)&&Wn(e,256)&&!ge(e)}function It(e){var t=e.kind;return 9===t||8===t}function Lt(e){return e.name&&Mt(e.name)}function Mt(e){return 142===e.kind&&!It(e.expression)&&!Bt(e.expression)}function Bt(e){return Ea(e)&&Kt(e.expression)}function jt(e){if(70===e.kind||9===e.kind||8===e.kind||144===e.kind)return e.text;if(142===e.kind){var t=e.expression;if(Bt(t)){var n=t.name.text;return zt(n)}if(9===t.kind||8===t.kind)return t.text}}function zt(e){return"__@"+e}function Kt(e){return 70===e.kind&&"Symbol"===e.text}function Jt(e){return"push"===e.text||"unshift"===e.text}function Ut(e){switch(e){case 116:case 119:case 75:case 123:case 78:case 83:case 113:case 111:case 112:case 130:case 114:return!0}return!1}function Vt(e){var t=qt(e);return 144===t.kind}function qt(e){for(;174===e.kind;)e=e.parent.parent;return e}function Wt(e){var t=e.kind;return 150===t||184===t||225===t||185===t||149===t||151===t||152===t||230===t||261===t}function Ht(t){return e.positionIsSynthesized(t.pos)||e.positionIsSynthesized(t.end)}function Gt(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!t||t(e)?e:void 0}function Xt(e){return 0===(8&e.flags)}function Yt(e,t){return Xt(e)?e:(e=Gt(e),!Xt(e)||t&&!t(e)?void 0:e)}function Qt(e){for(var t=[],n=0,r=e;n1&&(l=l+r.length-1,d=c.length-t.length+e.lastOrUndefined(r))}}function o(){_||(c+=t,l++,d=c.length,_=!0)}function s(e,t){n(w(e,t))}var c,u,_,l,d;return r(),{write:n,rawWrite:a,writeTextOfNode:s,writeLiteral:i,writeLine:o,increaseIndent:function(){u++},decreaseIndent:function(){u--},getIndent:function(){return u},getTextPos:function(){return c.length},getLine:function(){return l+1},getColumn:function(){return _?u*ln()+1:c.length-d+1},getText:function(){return c},isAtStartOfLine:function(){return _},reset:r}}function fn(e,t){return t.moduleName||mn(e,t.fileName)}function pn(e,t,n){var r=t.getExternalModuleFileFromDeclaration(n);if(r&&!re(r))return fn(e,r)}function mn(t,n){var r=function(e){return t.getCanonicalFileName(e)},a=e.toPath(t.getCommonSourceDirectory(),t.getCurrentDirectory(),r),i=e.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),o=e.getRelativePathToDirectoryOrUrl(a,i,a,r,!1);return e.removeFileExtension(o)}function gn(t,n,r){var a,i=n.getCompilerOptions();return a=i.outDir?e.removeFileExtension(En(t,n,i.outDir)):e.removeFileExtension(t.fileName),a+r}function yn(t,n){var r=n.getCompilerOptions(),a=r.declarationDir||r.outDir,i=a?En(t,n,a):t.fileName;return e.removeFileExtension(i)+".d.ts"}function hn(t,n){function r(){return a.noEmitForJsFiles?e.filter(t.getSourceFiles(),function(e){return!We(e)}):t.getSourceFiles()}var a=t.getCompilerOptions();if(a.outFile||a.out){var i=e.getEmitModuleKind(a),o=i===e.ModuleKind.AMD||i===e.ModuleKind.System,s=r();return e.filter(s,o?bn:xn)}var s=void 0===n?r():[n];return vn(s,function(e){return t.isSourceFileFromExternalLibrary(e)})}function vn(t,n){return e.filter(t,function(e){return kn(e,n)})}function bn(e){return!re(e)}function kn(e,t){return bn(e)&&!t(e)}function xn(t){return bn(t)&&!e.isExternalModule(t)}function Sn(t,n,r,a){function i(t,n){var i=".js";1===s.jsx&&(We(n)?e.fileExtensionIs(n.fileName,".jsx")&&(i=".jsx"):1===n.languageVariant&&(i=".jsx"));var o=gn(n,t,i),c=Dn(o,s),u=We(n)||!s.declaration&&!a?void 0:yn(n,t);r(o,c,u,[n],!1)}function o(t){if(t.length){var n=s.outFile||s.out,a=Dn(n,s),i=s.declaration?e.removeFileExtension(n)+".d.ts":void 0;r(n,a,i,t,!0)}}var s=t.getCompilerOptions();if(s.outFile||s.out)o(n);else for(var c=0,u=n;c0){var t=2===e.parameters.length&&Fn(e.parameters[0]);return e.parameters[t?1:0].type}}function On(e){if(e.parameters.length){var t=e.parameters[0];if(Fn(t))return t}}function Fn(e){return Rn(e.name)}function Rn(e){return e&&70===e.kind&&In(e)}function In(e){return 98===e.originalKeywordKind}function Ln(t,n){var r,a,i,o;return Lt(n)?(r=n,151===n.kind?i=n:152===n.kind?o=n:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,function(e){if((151===e.kind||152===e.kind)&&Wn(e,32)===Wn(n,32)){var t=jt(e.name),s=jt(n.name);t===s&&(r?a||(a=e):r=e,151!==e.kind||i||(i=e),152!==e.kind||o||(o=e))}}),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}}function Mn(e,t,n,r){Bn(e,t,n.pos,r)}function Bn(e,t,n,r){r&&r.length&&n!==r[0].pos&&Nn(e,n)!==Nn(e,r[0].pos)&&t.writeLine()}function jn(e,t,n,r){n!==r&&Nn(e,n)!==Nn(e,r)&&t.writeLine()}function zn(e,t,n,r,a,i,o,s){if(r&&r.length>0){a&&n.write(" ");for(var c=!1,u=0,_=r;u<_.length;u++){var l=_[u];c&&(n.write(" "),c=!1),s(e,t,n,l.pos,l.end,o),l.hasTrailingNewLine?n.writeLine():c=!0}c&&i&&n.write(" ")}}function Kn(t,n,r,a,i,o,s){function c(e){return 42===t.charCodeAt(e.pos+1)&&33===t.charCodeAt(e.pos+2)}var u,_;if(s?0===i.pos&&(u=e.filter(e.getLeadingCommentRanges(t,i.pos),c)):u=e.getLeadingCommentRanges(t,i.pos),u){for(var l=[],d=void 0,f=0,p=u;f=g+2)break}l.push(m),d=m}if(l.length){var g=Nn(n,e.lastOrUndefined(l).end),h=Nn(n,e.skipTrivia(t,i.pos));h>=g+2&&(Mn(n,r,i,u),zn(t,n,r,l,!1,!0,o,a),_={nodePos:i.pos,detachedCommentEndPos:e.lastOrUndefined(l).end})}}return _}function Jn(t,n,r,a,i,o){if(42===t.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(n,a),c=n.length,u=void 0,_=a,l=s.line;_0){var m=p%ln(),g=_n((p-m)/ln());for(r.rawWrite(g);m;)r.rawWrite(" "),m--}else r.rawWrite("")}Un(t,i,r,o,_,d),_=d}else r.write(t.substring(a,i))}function Un(e,t,n,r,a,i){var o=Math.min(t,i-1),s=e.substring(a,o).replace(/^\s+|\s+$/g,"");s?(n.write(s),o!==t&&n.writeLine()):n.writeLiteral(r)}function Vn(t,n,r){for(var a=0;n=57&&e<=69}function Qn(e){if(199===e.kind&&84===e.parent.token&&ye(e.parent.parent))return e.parent.parent}function Zn(e,t){return wa(e)&&(t?57===e.operatorToken.kind:Yn(e.operatorToken.kind))&&Ia(e.left)}function $n(e){if(Zn(e,!0)){var t=e.left.kind;return 176===t||175===t}return!1}function er(e){return tr(e.expression)}function tr(e){return 70===e.kind||!!Ea(e)&&tr(e.expression)}function nr(e){return void 0!==Qn(e)}function rr(e){return 70===e.kind||177===e.kind&&rr(e.expression)}function ar(e){return 141===e.parent.kind&&e.parent.right===e||177===e.parent.kind&&e.parent.name===e}function ir(e){var t=e.kind;return 176===t?0===e.properties.length:175===t&&0===e.elements.length}function or(e){return e&&e.valueDeclaration&&Wn(e.valueDeclaration,512)?e.valueDeclaration.localSymbol:void 0}function sr(t){return e.find(e.supportedTypescriptExtensionsForExtractExtension,function(n){return e.fileExtensionIs(t,n)})}function cr(t){for(var n=[],r=t.length,a=0;a>6|192),n.push(63&i|128)):i<65536?(n.push(i>>12|224),n.push(i>>6&63|128),n.push(63&i|128)):i<131072?(n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return n}function ur(e){return void 0===e?void 0:_r(e)}function _r(t){return"string"==typeof t?'"'+on(t)+'"':"number"==typeof t?isFinite(t)?String(t):"null":"boolean"==typeof t?t?"true":"false":"object"==typeof t&&t?e.isArray(t)?lr(dr,t):lr(pr,t):"null"}function lr(t,n){e.Debug.assert(!n.hasOwnProperty("__cycle"),"Converting circular structure to JSON"),n.__cycle=!0;var r=t(n);return delete n.__cycle,r}function dr(t){return"["+e.reduceLeft(t,fr,"")+"]"}function fr(e,t){return(e?e+",":e)+_r(t)}function pr(t){return"{"+e.reduceOwnProperties(t,mr,"")+"}"}function mr(e,t,n){return void 0===t||"function"==typeof t||"__cycle"===n?e:(e?e+",":e)+('"'+on(n)+'":'+_r(t))}function gr(e){for(var t,n,r,a,i="",o=cr(e),s=0,c=o.length;s>2,n=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,a=63&o[s+2],s+1>=c?r=a=64:s+2>=c&&(a=64),i+=Bi.charAt(t)+Bi.charAt(n)+Bi.charAt(r)+Bi.charAt(a),s+=3;return i}function yr(t){return 0===t.newLine?ji:1===t.newLine?zi:e.sys?e.sys.newLine:ji}function hr(e){return vr(e,0)}function vr(e,t){if(t<=5){var n=e.kind;if(9===n||8===n||11===n||12===n||70===n||98===n||96===n||100===n||85===n||94===n)return!0;if(177===n)return vr(e.expression,t+1);if(178===n)return vr(e.expression,t+1)&&vr(e.argumentExpression,t+1);if(190===n||191===n)return vr(e.operand,t+1);if(192===n)return 39!==e.operatorToken.kind&&vr(e.left,t+1)&&vr(e.right,t+1);if(193===n)return vr(e.condition,t+1)&&vr(e.whenTrue,t+1)&&vr(e.whenFalse,t+1);if(188===n||187===n||186===n)return vr(e.expression,t+1);if(175===n)return 0===e.elements.length;if(176===n)return 0===e.properties.length;if(179===n){if(!vr(e.expression,t+1))return!1;for(var r=0,a=e.arguments;r0?Dr(e,e.decorators.end):e}function Er(e){return e.modifiers&&e.modifiers.length>0?Dr(e,e.modifiers.end):Cr(e)}function Tr(e){return e.pos===e.end}function wr(e){return Tr(e)?e:Sr(e,e.pos)}function Nr(e){return Tr(e)?e:Dr(e,e.end)}function Ar(t,n){return xr(t,t+e.tokenToString(n).length)}function Pr(e,t){return Rr(e,e,t)}function Or(e,t,n){return Lr(Mr(e,n),Mr(t,n),n)}function Fr(e,t,n){return Lr(e.end,t.end,n)}function Rr(e,t,n){return Lr(Mr(e,n),t.end,n)}function Ir(e,t,n){return Lr(e.end,Mr(t,n),n)}function Lr(e,t,n){return e===t||wn(n,e)===wn(n,t)}function Mr(t,n){return e.positionIsSynthesized(t.pos)?-1:e.skipTrivia(n.text,t.pos)}function Br(e){var t=Yt(e);if(t)switch(t.parent.kind){case 229:case 230:return t===t.parent.name}return!1}function jr(t){return e.filter(t.declarations,zr)}function zr(e){return void 0!==e.initializer}function Kr(e){if(e.symbol)for(var t=0,n=e.symbol.declarations;t0}function $r(e){return Ut(e.kind)}function ea(e){return 141===e.kind}function ta(e){return 142===e.kind}function na(e){var t=e.kind;return 141===t||70===t}function ra(e){var t=e.kind;return 70===t||9===t||8===t||142===t}function aa(e){var t=e.kind;return 70===t||9===t}function ia(e){var t=e.kind;return 70===t||172===t||173===t}function oa(e){return 143===e.kind}function sa(e){return 144===e.kind}function ca(e){return 145===e.kind}function ua(e){return 149===e.kind}function _a(e){var t=e.kind;return 150===t||147===t||149===t||151===t||152===t||155===t||203===t}function la(e){var t=e.kind;return 257===t||258===t||259===t||149===t||151===t||152===t||244===t}function da(e){return e>=156&&e<=171||118===e||132===e||121===e||134===e||135===e||104===e||129===e||199===e}function fa(e){return da(e.kind)}function pa(e){return 173===e.kind}function ma(e){return 172===e.kind}function ga(e){if(e){var t=e.kind;return 173===t||172===t}return!1}function ya(e){var t=e.kind;return 175===t||176===t}function ha(e){return 174===e.kind}function va(e){var t=e.kind;return 174===t||198===t}function ba(e){switch(e.kind){case 223:case 144:case 174:return!0}return!1}function ka(e){return xa(e)||Sa(e)}function xa(e){switch(e.kind){case 172:case 176:return!0}return!1}function Sa(e){switch(e.kind){case 173:case 175:return!0}return!1}function Da(e){return 175===e.kind}function Ca(e){return 176===e.kind}function Ea(e){return 177===e.kind}function Ta(e){return 178===e.kind}function wa(e){return 192===e.kind}function Na(e){return 193===e.kind}function Aa(e){return 179===e.kind}function Pa(e){var t=e.kind;return 194===t||12===t}function Oa(e){return 196===e.kind}function Fa(e){return 199===e.kind}function Ra(e){return 177===e||178===e||180===e||179===e||246===e||247===e||181===e||175===e||183===e||176===e||197===e||184===e||70===e||11===e||8===e||9===e||12===e||194===e||85===e||94===e||98===e||100===e||96===e||201===e||297===e}function Ia(t){return Ra(e.skipPartiallyEmittedExpressions(t).kind)}function La(e){return 190===e||191===e||186===e||187===e||188===e||189===e||182===e||Ra(e)}function Ma(t){return La(e.skipPartiallyEmittedExpressions(t).kind)}function Ba(e){return 193===e||195===e||185===e||192===e||196===e||200===e||198===e||297===e||La(e)}function ja(t){return Ba(e.skipPartiallyEmittedExpressions(t).kind)}function za(e){var t=e.kind;return 182===t||200===t}function Ka(e){return 294===e.kind}function Ja(e){return 293===e.kind}function Ua(e){return Ja(e)||Ka(e)}function Va(e){return 198===e.kind}function qa(e){return 202===e.kind}function Wa(e){return 204===e.kind}function Ha(e){return Wa(e)||ja(e)}function Ga(e){return Wa(e)}function Xa(e){return Qa(e)||ja(e)}function Ya(e){return 223===e.kind}function Qa(e){return 224===e.kind}function Za(e){return 232===e.kind}function $a(e){var t=e.kind;return 231===t||230===t}function ei(e){return 234===e.kind}function ti(e){return 236===e.kind}function ni(e){var t=e.kind;return 238===t||237===t}function ri(e){return 239===e.kind}function ai(e){return 242===e.kind}function ii(e){return 243===e.kind}function oi(e){return 230===e.kind||229===e.kind}function si(e){return 185===e||174===e||226===e||197===e||150===e||229===e||260===e||243===e||225===e||184===e||151===e||236===e||234===e||239===e||227===e||149===e||148===e||230===e||233===e||237===e||144===e||257===e||147===e||146===e||152===e||258===e||228===e||143===e||223===e||285===e}function ci(e){return 225===e||244===e||226===e||227===e||228===e||229===e||230===e||235===e||234===e||241===e||240===e||233===e}function ui(e){return 215===e||214===e||222===e||209===e||207===e||206===e||212===e||213===e||211===e||208===e||219===e||216===e||218===e||220===e||221===e||205===e||210===e||217===e||293===e||296===e||295===e}function _i(e){return si(e.kind)}function li(e){return ci(e.kind)}function di(e){return ui(e.kind)}function fi(e){var t=e.kind;return ui(t)||ci(t)||204===t}function pi(e){var t=e.kind;return 245===t||141===t||70===t}function mi(e){return 248===e.kind}function gi(e){return 249===e.kind}function yi(e){var t=e.kind;return 98===t||70===t||177===t}function hi(e){var t=e.kind;return 246===t||252===t||247===t||10===t}function vi(e){var t=e.kind;return 250===t||251===t}function bi(e){return 251===e.kind}function ki(e){return 250===e.kind}function xi(e){var t=e.kind;return 9===t||252===t}function Si(e){var t=e.kind;return 253===t||254===t}function Di(e){return 255===e.kind}function Ci(e){return 256===e.kind}function Ei(e){return 257===e.kind}function Ti(e){return 258===e.kind}function wi(e){return 260===e.kind}function Ni(e){return 261===e.kind}function Ai(e){return e.watch&&e.hasOwnProperty("watch")}e.externalHelpersModuleNameText="tslib",e.getDeclarationOfKind=t;var Pi=[];e.getSingleLineStringWriter=n,e.releaseStringWriter=r,e.getFullWidth=a,e.hasResolvedModule=i,e.getResolvedModule=o,e.setResolvedModule=s,e.setResolvedTypeReferenceDirective=c,e.moduleResolutionIsEqualTo=u,e.typeDirectiveIsEqualTo=_,e.hasChangesInResolutions=l,e.containsParseError=d,e.getSourceFileOfNode=p,e.isStatementWithLocals=m,e.getStartPositionOfLine=g,e.nodePosToString=y,e.getStartPosOfNode=h,e.isDefined=v,e.getEndLinePosition=b,e.nodeIsMissing=k,e.nodeIsPresent=x,e.getTokenPosOfNode=S,e.isJSDocNode=D,e.isJSDocTag=C,e.getNonDecoratorTokenPosOfNode=E,e.getSourceTextOfNodeFromSourceFile=T,e.getTextOfNodeFromSourceText=w,e.getTextOfNode=N,e.getLiteralText=A,e.isBinaryOrOctalIntegerLiteral=P,e.escapeIdentifier=F,e.unescapeIdentifier=R,e.makeIdentifierFromModuleName=I,e.isBlockOrCatchScoped=L,e.isCatchClauseVariableDeclarationOrBindingElement=M,e.isAmbientModule=B,e.isShorthandAmbientModuleSymbol=j,e.isBlockScopedContainerTopLevel=K,e.isGlobalScopeAugmentation=J,e.isExternalModuleAugmentation=U,e.isEffectiveExternalModule=V,e.isBlockScope=q,e.getEnclosingBlockScopeContainer=W,e.declarationNameToString=H,e.getTextOfPropertyName=G,e.entityNameToString=X,e.createDiagnosticForNode=Y,e.createDiagnosticForNodeInSourceFile=Q,e.createDiagnosticForNodeFromMessageChain=Z,e.getSpanOfTokenAtPosition=$,e.getErrorSpanForNode=te,e.isExternalOrCommonJsModule=ne,e.isDeclarationFile=re,e.isConstEnumDeclaration=ae,e.isConst=ie,e.isLet=oe,e.isSuperCall=se,e.isPrologueDirective=ce,e.getLeadingCommentRangesOfNode=ue, -e.getLeadingCommentRangesOfNodeFromText=_e,e.getJSDocCommentRanges=le,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/,e.fullTripleSlashReferenceTypeReferenceDirectiveRegEx=/^(\/\/\/\s*/,e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/,e.isPartOfTypeNode=de,e.forEachReturnStatement=fe,e.forEachYieldExpression=pe,e.isVariableLike=me,e.isAccessor=ge,e.isClassLike=ye,e.isFunctionLike=he,e.isFunctionLikeKind=ve,e.introducesArgumentsExoticObject=be,e.isIterationStatement=ke,e.isFunctionBlock=xe,e.isObjectLiteralMethod=Se,e.isObjectLiteralOrClassExpressionMethod=De,e.isIdentifierTypePredicate=Ce,e.isThisTypePredicate=Ee,e.getContainingFunction=Te,e.getContainingClass=we,e.getThisContainer=Ne,e.getSuperContainer=Ae,e.getImmediatelyInvokedFunctionExpression=Pe,e.isSuperProperty=Oe,e.getEntityNameFromTypeNode=Fe,e.isCallLikeExpression=Re,e.getInvokedExpression=Ie,e.nodeCanBeDecorated=Le,e.nodeIsDecorated=Me,e.nodeOrChildIsDecorated=Be,e.childIsDecorated=je,e.isJSXTagName=ze,e.isPartOfExpression=Ke,e.isInstantiatedModule=Je,e.isExternalModuleImportEqualsDeclaration=Ue,e.getExternalModuleImportEqualsDeclarationExpression=Ve,e.isInternalModuleImportEqualsDeclaration=qe,e.isSourceFileJavaScript=We,e.isInJavaScriptFile=He,e.isRequireCall=Ge,e.isSingleOrDoubleQuote=Xe,e.isDeclarationOfFunctionExpression=Ye,e.getSpecialPropertyAssignmentKind=Qe,e.getExternalModuleName=Ze,e.getNamespaceDeclarationNode=$e,e.isDefaultImport=et,e.hasQuestionToken=tt,e.isJSDocConstructSignature=nt,e.getCommentsFromJSDoc=rt,e.getJSDocParameterTags=st,e.getJSDocType=ct,e.getJSDocAugmentsTag=ut,e.getJSDocReturnTag=_t,e.getJSDocTemplateTag=lt,e.hasRestParameter=dt,e.hasDeclaredRestParameter=ft,e.isRestParameter=pt,e.isDeclaredRestParam=mt;var Oi;!function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(Oi=e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=gt,e.isAssignmentTarget=yt,e.isNodeDescendantOf=ht,e.isInAmbientContext=vt,e.isDeclarationName=bt,e.isLiteralComputedPropertyDeclarationName=kt,e.isIdentifierName=xt,e.isAliasSymbolDeclaration=St,e.exportAssignmentIsAlias=Dt,e.getClassExtendsHeritageClauseElement=Ct,e.getClassImplementsHeritageClauseElements=Et,e.getInterfaceBaseTypeNodes=Tt,e.getHeritageClause=wt,e.tryResolveScriptReference=Nt,e.getAncestor=At,e.getFileReferenceFromReferencePath=Pt,e.isKeyword=Ot,e.isTrivia=Ft,e.isAsyncFunctionLike=Rt,e.isStringOrNumericLiteral=It,e.hasDynamicName=Lt,e.isDynamicName=Mt,e.isWellKnownSymbolSyntactically=Bt,e.getPropertyNameForPropertyNameNode=jt,e.getPropertyNameForKnownSymbolName=zt,e.isESSymbolIdentifier=Kt,e.isPushOrUnshiftIdentifier=Jt,e.isModifierKind=Ut,e.isParameterDeclaration=Vt,e.getRootDeclaration=qt,e.nodeStartsNewLexicalEnvironment=Wt,e.nodeIsSynthesized=Ht,e.getOriginalNode=Gt,e.isParseTreeNode=Xt,e.getParseTreeNode=Yt,e.getOriginalSourceFiles=Qt,e.getOriginalNodeId=Zt;var Fi;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(Fi=e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=$t,e.getOperatorAssociativity=en,e.getExpressionPrecedence=tn,e.getOperator=nn,e.getOperatorPrecedence=rn,e.createDiagnosticCollection=an;var Ri=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Ii=e.createMap({"\0":"\\0","\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029","Â…":"\\u0085"});e.escapeString=on,e.isIntrinsicJsxName=sn;var Li=/[^\u0000-\u007F]/g;e.escapeNonAsciiCharacters=un;var Mi=[""," "];e.getIndentString=_n,e.getIndentSize=ln,e.createTextWriter=dn,e.getResolvedExternalModuleName=fn,e.getExternalModuleNameFromDeclaration=pn,e.getExternalModuleNameFromPath=mn,e.getOwnEmitOutputFilePath=gn,e.getDeclarationEmitOutputFilePath=yn,e.getSourceFilesToEmit=hn,e.filterSourceFilesInDirectory=vn,e.forEachTransformedEmitFile=Sn,e.forEachExpectedEmitFile=Cn,e.getSourceFilePathInNewDir=En,e.writeFile=Tn,e.getLineOfLocalPosition=wn,e.getLineOfLocalPositionFromLineMap=Nn,e.getFirstConstructorWithBody=An,e.getSetAccessorTypeAnnotationNode=Pn,e.getThisParameter=On,e.parameterIsThisKeyword=Fn,e.isThisIdentifier=Rn,e.identifierIsThisKeyword=In,e.getAllAccessorDeclarations=Ln,e.emitNewLineBeforeLeadingComments=Mn,e.emitNewLineBeforeLeadingCommentsOfPosition=Bn,e.emitNewLineBeforeLeadingCommentOfPosition=jn,e.emitComments=zn,e.emitDetachedComments=Kn,e.writeCommentRange=Jn,e.hasModifiers=qn,e.hasModifier=Wn,e.getModifierFlags=Hn,e.modifierToFlag=Gn,e.isLogicalOperator=Xn,e.isAssignmentOperator=Yn,e.tryGetClassExtendingExpressionWithTypeArguments=Qn,e.isAssignmentExpression=Zn,e.isDestructuringAssignment=$n,e.isSupportedExpressionWithTypeArguments=er,e.isExpressionWithTypeArgumentsInClassExtendsClause=nr,e.isEntityNameExpression=rr,e.isRightSideOfQualifiedNameOrPropertyAccess=ar,e.isEmptyObjectLiteralOrArrayLiteral=ir,e.getLocalSymbolForExportDefault=or,e.tryExtractTypeScriptExtension=sr,e.stringify="undefined"!=typeof JSON&&JSON.stringify?JSON.stringify:ur;var Bi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.convertToBase64=gr;var ji="\r\n",zi="\n";e.getNewLineCharacter=yr,e.isSimpleExpression=hr;var Ki=e.createMap();e.formatSyntaxKind=br,e.movePos=kr,e.createRange=xr,e.moveRangeEnd=Sr,e.moveRangePos=Dr,e.moveRangePastDecorators=Cr,e.moveRangePastModifiers=Er,e.isCollapsedRange=Tr,e.collapseRangeToStart=wr,e.collapseRangeToEnd=Nr,e.createTokenRange=Ar,e.rangeIsOnSingleLine=Pr,e.rangeStartPositionsAreOnSameLine=Or,e.rangeEndPositionsAreOnSameLine=Fr,e.rangeStartIsOnSameLineAsRangeEnd=Rr,e.rangeEndIsOnSameLineAsRangeStart=Ir,e.positionsAreOnSameLine=Lr,e.getStartPositionOfRange=Mr,e.isDeclarationNameOfEnumOrNamespace=Br,e.getInitializedVariables=jr,e.isMergedWithClass=Kr,e.isFirstDeclarationOfKind=Jr,e.isNodeArray=Ur,e.isNoSubstitutionTemplateLiteral=Vr,e.isLiteralKind=qr,e.isTextualLiteralKind=Wr,e.isLiteralExpression=Hr,e.isTemplateLiteralKind=Gr,e.isTemplateHead=Xr,e.isTemplateMiddleOrTemplateTail=Yr,e.isIdentifier=Qr,e.isGeneratedIdentifier=Zr,e.isModifier=$r,e.isQualifiedName=ea,e.isComputedPropertyName=ta,e.isEntityName=na,e.isPropertyName=ra,e.isModuleName=aa,e.isBindingName=ia,e.isTypeParameter=oa,e.isParameter=sa,e.isDecorator=ca,e.isMethodDeclaration=ua,e.isClassElement=_a,e.isObjectLiteralElementLike=la,e.isTypeNode=fa,e.isArrayBindingPattern=pa,e.isObjectBindingPattern=ma,e.isBindingPattern=ga,e.isAssignmentPattern=ya,e.isBindingElement=ha,e.isArrayBindingElement=va,e.isDeclarationBindingElement=ba,e.isBindingOrAssignmentPattern=ka,e.isObjectBindingOrAssignmentPattern=xa,e.isArrayBindingOrAssignmentPattern=Sa,e.isArrayLiteralExpression=Da,e.isObjectLiteralExpression=Ca,e.isPropertyAccessExpression=Ea,e.isElementAccessExpression=Ta,e.isBinaryExpression=wa,e.isConditionalExpression=Na,e.isCallExpression=Aa,e.isTemplateLiteral=Pa,e.isSpreadExpression=Oa,e.isExpressionWithTypeArguments=Fa,e.isLeftHandSideExpression=Ia,e.isUnaryExpression=Ma,e.isExpression=ja,e.isAssertionExpression=za,e.isPartiallyEmittedExpression=Ka,e.isNotEmittedStatement=Ja,e.isNotEmittedOrPartiallyEmittedNode=Ua,e.isOmittedExpression=Va,e.isTemplateSpan=qa,e.isBlock=Wa,e.isConciseBody=Ha,e.isFunctionBody=Ga,e.isForInitializer=Xa,e.isVariableDeclaration=Ya,e.isVariableDeclarationList=Qa,e.isCaseBlock=Za,e.isModuleBody=$a,e.isImportEqualsDeclaration=ei,e.isImportClause=ti,e.isNamedImportBindings=ni,e.isImportSpecifier=ri,e.isNamedExports=ai,e.isExportSpecifier=ii,e.isModuleOrEnumDeclaration=oi,e.isDeclaration=_i,e.isDeclarationStatement=li,e.isStatementButNotDeclaration=di,e.isStatement=fi,e.isModuleReference=pi,e.isJsxOpeningElement=mi,e.isJsxClosingElement=gi,e.isJsxTagNameExpression=yi,e.isJsxChild=hi,e.isJsxAttributeLike=vi,e.isJsxSpreadAttribute=bi,e.isJsxAttribute=ki,e.isStringLiteralOrJsxExpression=xi,e.isCaseOrDefaultClause=Si,e.isHeritageClause=Di,e.isCatchClause=Ci,e.isPropertyAssignment=Ei,e.isShorthandPropertyAssignment=Ti,e.isEnumMember=wi,e.isSourceFile=Ni,e.isWatchSet=Ai}(o||(o={})),function(e){function t(e){switch(e.target){case 5:case 4:return"lib.es2017.d.ts";case 3:return"lib.es2016.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function n(e){return e.start+e.length}function r(e){return 0===e.length}function a(e,t){return t>=e.start&&t=e.start&&n(t)<=n(e)}function o(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r=e.start}function u(e,t,r){var a=t+r;return t<=n(e)&&a>=e.start}function _(e,t,n,r){var a=e+t,i=n+r;return n<=a&&i>=e}function l(e,t){return t<=n(e)&&t>=e.start}function d(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));if(r<=a)return p(r,a)}function f(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function p(e,t){return f(e,t-e)}function m(e){return f(e.span.start,e.newLength)}function g(e){return r(e.span)&&0===e.newLength}function y(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function h(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,s=1;s0)if(r||s.push(y()),a.length>1)for(var c=0,u=a;c0;default:return!0}}function er(t,n,r,a){var i,o,s=Br(t,7);if(e.isSuperProperty(s))i=g(),o=s;else if(96===s.kind)i=g(),o=r<2?u("_super",s):s;else switch(s.kind){case 177:$n(s.expression,a)?(i=_(n),o=J(En(i,s.expression,s.expression),s.name,s)):(i=s.expression,o=s);break;case 178:$n(s.expression,a)?(i=_(n),o=V(En(i,s.expression,s.expression),s.argumentExpression,s)):(i=s.expression,o=s);break;default:i=In(),o=Nr(t)}return{target:o,thisArg:i}}function tr(t){return e.reduceLeft(t,Dn)}function nr(t){if(e.isQualifiedName(t)){var n=nr(t.left),r=s(t.right);return J(n,r,t)}return s(t)}function rr(t){return e.isIdentifier(t)?c(t,void 0):s(e.isComputedPropertyName(t)?t.expression:t)}function ar(e,t,n){switch(t.kind){case 151:case 152:return ir(e.properties,t,n,e.multiLine);case 257:return or(t,n);case 258:return sr(t,n);case 149:return cr(t,n)}}function ir(t,n,r,a){var i=e.getAllAccessorDeclarations(t,n),o=i.firstAccessor,s=i.getAccessor,_=i.setAccessor;if(n===o){var l=[];if(s){var d=ee(s.modifiers,void 0,void 0,void 0,s.parameters,void 0,s.body,s);Ur(d,s);var f=ln("get",d);l.push(f)}if(_){var p=ee(_.modifiers,void 0,void 0,void 0,_.parameters,void 0,_.body,_);Ur(p,_);var m=ln("set",p);l.push(m)}l.push(ln("enumerable",c(!0))),l.push(ln("configurable",c(!0)));var g=W(J(u("Object"),"defineProperty"),void 0,[r,rr(n.name),z(l,void 0,a)],o);return e.aggregateTransformFlags(g)}}function or(t,n){return e.aggregateTransformFlags(Ur(En(Mn(n,t.name,t.name),t.initializer,t),t))}function sr(t,n){return e.aggregateTransformFlags(Ur(En(Mn(n,t.name,t.name),o(t.name),t),t))}function cr(t,n){return e.aggregateTransformFlags(Ur(En(Mn(n,t.name,t.name),Ur(ee(t.modifiers,t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body,t),t),t),t))}function ur(e,t,n){return pr(e,t,n,16384)}function _r(e){return 0!==(16384&Gr(e))}function lr(e,t,n){return pr(e,t,n,8192)}function dr(e){return 0!==(8192&Gr(e))}function fr(e,t,n){return pr(e,t,n)}function pr(t,n,r,a){if(t.name&&e.isIdentifier(t.name)&&!e.isGeneratedIdentifier(t.name)){var i=s(t.name);return a|=Gr(t.name),r||(a|=48),n||(a|=1536),a&&Xr(i,a),i}return f(t)}function mr(t,n,r,a){return t&&e.hasModifier(n,1)?gr(t,pr(n),r,a):lr(n,r,a)}function gr(t,n,r,a){var i,s=J(t,e.nodeIsSynthesized(n)?n:o(n),n);return a||(i|=48),r||(i|=1536),i&&Xr(s,i),s}function yr(t,n){return e.isBlock(t)?t:Fe([ot(t,t)],t,n)}function hr(e){return"use strict"===e.expression.text}function vr(t,n,r,a){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var i=!1,o=0,s=n.length;oa?t:Z(t,t)}function Rr(t){var n=Kr(t);if(e.isCallExpression(n)){var r=n.expression,a=Kr(r).kind;if(184===a||185===a){var i=s(n);return i.expression=Z(r,r),Ir(t,i)}}else{var o=Lr(n).kind;if(176===o||184===o)return Z(t,t)}return t}function Ir(t,n){if(e.isPartiallyEmittedExpression(t)){var r=s(t);return r.expression=Ir(r.expression,n),r}return n}function Lr(e){for(;;){switch(e.kind){case 191:e=e.operand;continue;case 192:e=e.left;continue;case 193:e=e.condition;continue;case 179:case 178:case 177:e=e.expression;continue;case 294:e=e.expression;continue}return e}}function Mr(e){var t=Kr(e);return 176===t.kind?Z(e,e):e}function Br(e,t){void 0===t&&(t=7);var n;do n=e,1&t&&(e=jr(e)),2&t&&(e=zr(e)),4&t&&(e=Kr(e));while(n!==e);return e}function jr(e){for(;183===e.kind;)e=e.expression;return e}function zr(t){for(;e.isAssertionExpression(t);)t=t.expression;return t}function Kr(e){for(;294===e.kind;)e=e.expression;return e}function Jr(e){return e.startsOnNewLine=!0,e}function Ur(e,t){if(e.original=t,t){var n=t.emitNode;n&&(e.emitNode=Vr(n,e.emitNode))}return e}function Vr(t,n){var r=t.flags,a=t.commentRange,i=t.sourceMapRange,o=t.tokenSourceMapRanges,s=t.constantValue,c=t.helpers;return n||(n={}),r&&(n.flags=r),a&&(n.commentRange=a),i&&(n.sourceMapRange=i),o&&(n.tokenSourceMapRanges=qr(o,n.tokenSourceMapRanges)),void 0!==s&&(n.constantValue=s),c&&(n.helpers=e.addRange(n.helpers,c)),n}function qr(t,n){return n||(n=e.createMap()),e.copyProperties(t,n),n}function Wr(t){t=e.getSourceFileOfNode(e.getParseTreeNode(t));var n=t&&t.emitNode,r=n&&n.annotatedNodes;if(r)for(var a=0,i=r;a0&&(i[c-s]=u)}s>0&&(i.length-=s)}}function la(t,n){return t===n?0:t.priority===n.priority?0:void 0===t.priority?1:void 0===n.priority?-1:e.compareValues(t.priority,n.priority)}function da(e,t){return t&&(e.pos=t.pos,e.end=t.end),e}function fa(e,t){return e.flags=t,e}function pa(e,t){return e.multiLine=t,e}function ma(e,t){return e.hasTrailingComma=t,e}function ga(t,n){var r=e.getNamespaceDeclarationNode(t);if(r&&!e.isDefaultImport(t)){var a=r.name;return e.isGeneratedIdentifier(a)?a:u(e.getSourceTextOfNodeFromSourceFile(n,r.name))}return 235===t.kind&&t.importClause?f(t):241===t.kind&&t.moduleSpecifier?f(t):void 0}function ya(t,n,r,a,i){var s=e.getExternalModuleName(t);if(9===s.kind)return ba(t,r,a,i)||ha(s,n)||o(s)}function ha(t,n){if(n.renamedDependencies&&e.hasProperty(n.renamedDependencies,t.text))return c(n.renamedDependencies[t.text])}function va(t,n,r){if(t)return t.moduleName?c(t.moduleName):e.isDeclarationFile(t)||!r.out&&!r.outFile?void 0:c(e.getExternalModuleNameFromPath(n,t.fileName))}function ba(e,t,n,r){return va(n.getExternalModuleFileFromDeclaration(e),t,r)}function ka(t){return e.isDeclarationBindingElement(t)?t.initializer:e.isPropertyAssignment(t)?e.isAssignmentExpression(t.initializer,!0)?t.initializer.right:void 0:e.isShorthandPropertyAssignment(t)?t.objectAssignmentInitializer:e.isAssignmentExpression(t,!0)?t.right:e.isSpreadExpression(t)?ka(t.expression):void 0}function xa(t){if(e.isDeclarationBindingElement(t))return t.name;{if(!e.isObjectLiteralElementLike(t))return e.isAssignmentExpression(t,!0)?xa(t.left):e.isSpreadExpression(t)?xa(t.expression):t;switch(t.kind){case 257:return xa(t.initializer);case 258:return t.name;case 259:return xa(t.expression)}}}function Sa(e){switch(e.kind){case 144:case 174:return e.dotDotDotToken;case 196:case 259:return e}}function Da(t){switch(t.kind){case 174:if(t.propertyName){var n=t.propertyName;return e.isComputedPropertyName(n)&&e.isStringOrNumericLiteral(n.expression)?n.expression:n}break;case 257:if(t.name){var n=t.name;return e.isComputedPropertyName(n)&&e.isStringOrNumericLiteral(n.expression)?n.expression:n}break;case 259:return t.name}var r=xa(t);return r&&e.isPropertyName(r)?e.isComputedPropertyName(r)&&e.isStringOrNumericLiteral(r.expression)?r.expression:r:void e.Debug.fail("Invalid property name for binding element.")}function Ca(e){switch(e.kind){case 172:case 173:case 175:return e.elements;case 176:return e.properties}}function Ea(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),Ur(De(t.name,t),t);var n=Pa(t.name);return t.initializer?Ur(En(n,t.initializer,t),t):n}return e.Debug.assertNode(t,e.isExpression),t}function Ta(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),Ur(pn(t.name,t),t);if(t.propertyName){var n=Pa(t.name);return Ur(ln(t.propertyName,t.initializer?En(n,t.initializer):n,t),t)}return e.Debug.assertNode(t.name,e.isIdentifier),Ur(fn(t.name,t.initializer,t),t)}return e.Debug.assertNode(t,e.isObjectLiteralElementLike),t}function wa(e){switch(e.kind){case 173:case 175:return Aa(e);case 172:case 176:return Na(e)}}function Na(t){return e.isObjectBindingPattern(t)?Ur(z(e.map(t.elements,Ta),t),t):(e.Debug.assertNode(t,e.isObjectLiteralExpression),t)}function Aa(t){return e.isArrayBindingPattern(t)?Ur(B(e.map(t.elements,Ea),t),t):(e.Debug.assertNode(t,e.isArrayLiteralExpression),t)}function Pa(t){return e.isBindingPattern(t)?wa(t):(e.Debug.assertNode(t,e.isExpression),t)}function Oa(t,n,r){var a,i=[],o=e.createMap(),s=e.createMap(),u=e.createMap(),_=!1,l=void 0,d=!1,f=ia(t,r),p=f&&Dt(void 0,void 0,Et(void 0,wt(f)),c(e.externalHelpersModuleNameText));p&&i.push(p);for(var m=0,g=t.statements;m106)}function G(t,n,r){return void 0===r&&(r=!0),L()===t?(r&&M(),!0):(n?P(n):P(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function X(e){ -return L()===e&&(M(),!0)}function Y(e){if(L()===e)return Z()}function Q(e,t,n,r){return Y(e)||ae(e,t,n,r)}function Z(){var e=te(L());return M(),re(e)}function $(){return 24===L()||(17===L()||1===L()||ci.hasPrecedingLineBreak())}function ee(){return $()?(24===L()&&M(),!0):G(24)}function te(e,t){return ri++,t>=0||(t=ci.getStartPos()),e>=141?new Ga(e,t,t):70===e?new Ya(e,t,t):new Xa(e,t,t)}function ne(e,t){var n=e||[];return t>=0||(t=R()),n.pos=t,n.end=t,n}function re(e,t){return e.end=void 0===t?ci.getStartPos():t,si&&(e.flags|=si),_i&&(_i=!1,e.flags|=32768),e}function ae(e,t,n,r){t?O(ci.getStartPos(),0,n,r):P(n,r);var a=te(e,ci.getStartPos());return a.text="",re(a)}function ie(t){return t=e.escapeIdentifier(t),ai[t]||(ai[t]=t)}function oe(t,n){if(ii++,t){var r=te(70);return 70!==L()&&(r.originalKeywordKind=L()),r.text=ie(ci.getTokenValue()),M(),re(r)}return ae(70,!1,n||e.Diagnostics.Identifier_expected)}function se(e){return oe(H(),e)}function ce(){return oe(e.tokenIsIdentifierOrKeyword(L()))}function ue(){return e.tokenIsIdentifierOrKeyword(L())||9===L()||8===L()}function _e(e){return 9===L()||8===L()?Qe(!0):e&&20===L()?pe():ce()}function le(){return _e(!0)}function de(){return _e(!1)}function fe(){return 9===L()||8===L()||e.tokenIsIdentifierOrKeyword(L())}function pe(){var e=te(142);return G(20),e.expression=v(en),G(21),re(e)}function me(e){return L()===e&&W(ye)}function ge(){return M(),!ci.hasPrecedingLineBreak()&&ve()}function ye(){return 75===L()?82===M():83===L()?(M(),78===L()?q(be):38!==L()&&117!==L()&&16!==L()&&ve()):78===L()?be():114===L()?(M(),ve()):ge()}function he(){return e.isModifierKind(L())&&W(ye)}function ve(){return 20===L()||16===L()||38===L()||23===L()||ue()}function be(){return M(),74===L()||88===L()||119===L()&&q(Or)}function ke(t,n){var r=Oe(t);if(r)return!0;switch(t){case 0:case 1:case 3:return!(24===L()&&n)&&Lr();case 2:return 72===L()||78===L();case 4:return q(bt);case 5:return q(sa)||24===L()&&!n;case 6:return 20===L()||ue();case 12:return 20===L()||38===L()||23===L()||ue();case 17:return ue();case 9:return 20===L()||23===L()||ue();case 7:return 16===L()?q(xe):n?H()&&!Ce():Qt()&&!Ce();case 8:return Hr();case 10:return 25===L()||23===L()||Hr();case 18:return H();case 11:case 15:return 25===L()||23===L()||Zt();case 16:return ct();case 19:case 20:return 25===L()||It();case 21:return ba();case 22:return e.tokenIsIdentifierOrKeyword(L());case 13:return e.tokenIsIdentifierOrKeyword(L())||16===L();case 14:return!0;case 23:case 24:case 26:return fi.isJSDocType();case 25:return fe()}e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function xe(){if(e.Debug.assert(16===L()),17===M()){var t=M();return 25===t||16===t||84===t||107===t}return!0}function Se(){return M(),H()}function De(){return M(),e.tokenIsIdentifierOrKeyword(L())}function Ce(){return(107===L()||84===L())&&q(Ee)}function Ee(){return M(),Zt()}function Te(e){if(1===L())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 22:return 17===L();case 3:return 17===L()||72===L()||78===L();case 7:return 16===L()||84===L()||107===L();case 8:return we();case 18:return 28===L()||18===L()||16===L()||84===L()||107===L();case 11:return 19===L()||24===L();case 15:case 20:case 10:return 21===L();case 16:case 17:return 19===L()||21===L();case 19:return 25!==L();case 21:return 16===L()||17===L();case 13:return 28===L()||40===L();case 14:return 26===L()&&q(Oa);case 23:return 19===L()||55===L()||17===L();case 24:return 28===L()||17===L();case 26:return 21===L()||17===L();case 25:return 17===L()}}function we(){return!!$()||(!!hn(L())||35===L())}function Ne(){for(var e=0;e<27;e++)if(oi&1<=0&&(a.hasTrailingComma=!0),a.end=I(),oi=r,a}function qe(){return ne()}function We(e,t,n,r){if(G(n)){var a=Ve(e,t);return G(r),a}return qe()}function He(e,t){for(var n=se(t);X(22);){var r=te(141,n.pos);r.left=n,r.right=Ge(e),n=re(r)}return n}function Ge(t){if(ci.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(L())){var n=q(Pr);if(n)return ae(70,!0,e.Diagnostics.Identifier_expected)}return t?ce():se()}function Xe(){var t=te(194);t.head=Ze(),e.Debug.assert(13===t.head.kind,"Template head has wrong token kind");var n=ne();do n.push(Ye());while(14===e.lastOrUndefined(n).literal.kind);return n.end=I(),t.templateSpans=n,re(t)}function Ye(){var t=te(202);t.expression=v(en);var n;return 17===L()?(z(),n=$e()):n=Q(15,!1,e.Diagnostics._0_expected,e.tokenToString(17)),t.literal=n,re(t)}function Qe(e){return et(L(),e)}function Ze(){var t=et(L(),!1);return e.Debug.assert(13===t.kind,"Template head has wrong token kind"),t}function $e(){var t=et(L(),!1);return e.Debug.assert(14===t.kind||15===t.kind,"Template fragment has wrong token kind"),t}function et(t,n){var r=te(t),a=ci.getTokenValue();r.text=n?ie(a):a,ci.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),ci.isUnterminated()&&(r.isUnterminated=!0);var i=ci.getTokenPos();return M(),re(r),8===r.kind&&48===ni.charCodeAt(i)&&e.isOctalDigit(ni.charCodeAt(i+1))&&(r.isOctalLiteral=!0),r}function tt(){var t=He(!1,e.Diagnostics.Type_expected),n=te(157,t.pos);return n.typeName=t,ci.hasPrecedingLineBreak()||26!==L()||(n.typeArguments=We(19,Gt,26,28)),re(n)}function nt(e){M();var t=te(156,e.pos);return t.parameterName=e,t.type=Gt(),re(t)}function rt(){var e=te(167);return M(),re(e)}function at(){var e=te(160);return G(102),e.exprName=He(!0),re(e)}function it(){var e=te(143);return e.name=se(),X(84)&&(It()||!Zt()?e.constraint=Gt():e.expression=An()),re(e)}function ot(){if(26===L())return We(18,it,26,28)}function st(){if(X(55))return Gt()}function ct(){return 23===L()||Hr()||e.isModifierKind(L())||56===L()||98===L()}function ut(){var t=te(144);return 98===L()?(t.name=oe(!0,void 0),t.type=st(),re(t)):(t.decorators=ca(),t.modifiers=ua(),t.dotDotDotToken=Y(23),t.name=Gr(),0===e.getFullWidth(t.name)&&!e.hasModifiers(t)&&e.isModifierKind(L())&&M(),t.questionToken=Y(54),t.type=st(),t.initializer=_t(!0),u(re(t)))}function _t(e){return e?lt():aa()}function lt(){return tn(!0)}function dt(e,t,n,r,a){var i=35===e;a.typeParameters=ot(),a.parameters=ft(t,n,r),i?(G(e),a.type=Wt()):X(e)&&(a.type=Wt())}function ft(e,t,n){if(G(18)){var r=T(),a=A();p(e),g(t);var i=Ve(16,ut);if(p(r),g(a),!G(19)&&n)return;return i}return n?void 0:qe()}function pt(){X(25)||ee()}function mt(e){var t=te(e);return 154===e&&G(93),dt(55,!1,!1,!1,t),pt(),u(re(t))}function gt(){return 20===L()&&q(yt)}function yt(){if(M(),23===L()||21===L())return!0;if(e.isModifierKind(L())){if(M(),H())return!0}else{if(!H())return!1;M()}return 55===L()||25===L()||54===L()&&(M(),55===L()||25===L()||21===L())}function ht(e,t,n){var r=te(155,e);return r.decorators=t,r.modifiers=n,r.parameters=We(16,ut,20,21),r.type=Yt(),pt(),re(r)}function vt(e,t){var n=le(),r=Y(54);if(18===L()||26===L()){var a=te(148,e);return a.modifiers=t,a.name=n,a.questionToken=r,dt(55,!1,!1,!1,a),pt(),u(re(a))}var i=te(146,e);return i.modifiers=t,i.name=n,i.questionToken=r,i.type=Yt(),57===L()&&(i.initializer=aa()),pt(),u(re(i))}function bt(){var t;if(18===L()||26===L())return!0;for(;e.isModifierKind(L());)t=L(),M();return 20===L()||(ue()&&(t=L(),M()),!!t&&(18===L()||26===L()||54===L()||55===L()||25===L()||$()))}function kt(){if(18===L()||26===L())return mt(153);if(93===L()&&q(xt))return mt(154);var e=R(),t=ua();return gt()?ht(e,void 0,t):vt(e,t)}function xt(){return M(),18===L()||26===L()}function St(){var e=te(161);return e.members=Dt(),re(e)}function Dt(){var e;return G(16)?(e=Ae(4,kt),G(17)):e=qe(),e}function Ct(){return M(),130===L()&&M(),20===L()&&Se()&&91===M()}function Et(){var e=te(143);return e.name=se(),G(91),e.constraint=Gt(),re(e)}function Tt(){var e=te(170);return G(16),e.readonlyToken=Y(130),G(20),e.typeParameter=Et(),G(21),e.questionToken=Y(54),e.type=Yt(),ee(),G(17),re(e)}function wt(){var e=te(163);return e.elementTypes=We(20,Gt,20,21),re(e)}function Nt(){var e=te(166);return G(18),e.type=Gt(),G(19),re(e)}function At(e){var t=te(e);return 159===e&&G(93),dt(35,!1,!1,!1,t),re(t)}function Pt(){var e=Z();return 22===L()?void 0:e}function Ot(){var e=te(171);return e.literal=Pn(),re(e),e}function Ft(){return 8===M()}function Rt(){switch(L()){case 118:case 134:case 132:case 121:case 135:case 137:case 129:var e=W(Pt);return e||tt();case 9:case 8:case 100:case 85:return Ot();case 37:return q(Ft)?Ot():tt();case 104:case 94:return Z();case 98:var t=rt();return 125!==L()||ci.hasPrecedingLineBreak()?t:nt(t);case 102:return at();case 16:return q(Ct)?Tt():St();case 20:return wt();case 18:return Nt();default:return tt()}}function It(){switch(L()){case 118:case 134:case 132:case 121:case 135:case 104:case 137:case 94:case 98:case 102:case 129:case 16:case 20:case 26:case 48:case 47:case 93:case 9:case 8:case 100:case 85:return!0;case 37:return q(Ft);case 18:return q(Lt);default:return H()}}function Lt(){return M(),19===L()||ct()||It()}function Mt(){for(var e=Rt();!ci.hasPrecedingLineBreak()&&X(20);)if(It()){var t=te(169,e.pos);t.objectType=e,t.indexType=Gt(),G(21),e=re(t)}else{var t=te(162,e.pos);t.elementType=e,G(21),e=re(t)}return e}function Bt(e){var t=te(168);return G(e),t.operator=e,t.type=jt(),re(t)}function jt(){switch(L()){case 126:return Bt(126)}return Mt()}function zt(e,t,n){X(n);var r=t();if(L()===n){for(var a=ne([r],r.pos);X(n);)a.push(t());a.end=I();var i=te(e,r.pos);i.types=a,r=re(i)}return r}function Kt(){return zt(165,jt,47)}function Jt(){return zt(164,Kt,48)}function Ut(){return 26===L()||18===L()&&q(qt)}function Vt(){if(e.isModifierKind(L())&&ua(),H()||98===L())return M(),!0;if(20===L()||16===L()){var t=$a.length;return Gr(),t===$a.length}return!1}function qt(){if(M(),19===L()||23===L())return!0;if(Vt()){if(55===L()||25===L()||54===L()||57===L())return!0;if(19===L()&&(M(),35===L()))return!0}return!1}function Wt(){var e=H()&&W(Ht),t=Gt();if(e){var n=te(156,e.pos);return n.parameterName=e,n.type=t,re(n)}return t}function Ht(){var e=se();if(125===L()&&!ci.hasPrecedingLineBreak())return M(),e}function Gt(){return y(20480,Xt)}function Xt(){return Ut()?At(158):93===L()?At(159):Jt()}function Yt(){return X(55)?Gt():void 0}function Qt(){switch(L()){case 98:case 96:case 94:case 100:case 85:case 8:case 9:case 12:case 13:case 18:case 20:case 16:case 88:case 74:case 93:case 40:case 62:case 70:return!0;default:return H()}}function Zt(){if(Qt())return!0;switch(L()){case 36:case 37:case 51:case 50:case 79:case 102:case 104:case 42:case 43:case 26:case 120:case 115:return!0;default:return!!bn()||H()}}function $t(){return 16!==L()&&88!==L()&&74!==L()&&56!==L()&&Zt()}function en(){var e=N();e&&m(!1);for(var t,n=nn();t=Y(25);)n=xn(n,t,nn());return e&&m(!0),n}function tn(e){if(57===L()||!(ci.hasPrecedingLineBreak()||e&&16===L())&&Zt())return G(57),nn()}function nn(){if(rn())return on();var t=cn()||dn();if(t)return t;var n=yn(0);return 70===n.kind&&35===L()?sn(n):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator(B())?xn(n,Z(),nn()):gn(n)}function rn(){return 115===L()&&(!!T()||q(Fr))}function an(){return M(),!ci.hasPrecedingLineBreak()&&H()}function on(){var e=te(195);return M(),ci.hasPrecedingLineBreak()||38!==L()&&!Zt()?re(e):(e.asteriskToken=Y(38),e.expression=nn(),re(e))}function sn(t,n){e.Debug.assert(35===L(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var r;n?(r=te(185,n.pos),r.modifiers=n):r=te(185,t.pos);var a=te(144,t.pos);return a.name=t,re(a),r.parameters=ne([a],a.pos),r.parameters.end=a.end,r.equalsGreaterThanToken=Q(35,!1,e.Diagnostics._0_expected,"=>"),r.body=mn(!!n),u(re(r))}function cn(){var t=un();if(0!==t){var n=1===t?pn(!0):W(ln);if(n){var r=!!(256&e.getModifierFlags(n)),a=L();return n.equalsGreaterThanToken=Q(35,!1,e.Diagnostics._0_expected,"=>"),n.body=35===a||16===a?mn(r):se(),u(re(n))}}}function un(){return 18===L()||26===L()||119===L()?q(_n):35===L()?1:0}function _n(){if(119===L()){if(M(),ci.hasPrecedingLineBreak())return 0;if(18!==L()&&26!==L())return 0}var t=L(),n=M();if(18===t){if(19===n){var r=M();switch(r){case 35:case 55:case 16:return 1;default:return 0}}return 20===n||16===n?2:23===n?1:H()?55===M()?1:2:0}if(e.Debug.assert(26===t),!H())return 0;if(1===Za.languageVariant){var a=q(function(){var e=M();if(84===e){var t=M();switch(t){case 57:case 28:return!1;default:return!0}}else if(25===e)return!0;return!1});return a?1:0}return 2}function ln(){return pn(!1)}function dn(){if(119===L()){var e=q(fn);if(1===e){var t=_a(),n=yn(0);return sn(n,t)}}}function fn(){if(119===L()){if(M(),ci.hasPrecedingLineBreak()||35===L())return 0;var e=yn(0);if(!ci.hasPrecedingLineBreak()&&70===e.kind&&35===L())return 1}return 0}function pn(t){var n=te(185);n.modifiers=_a();var r=!!(256&e.getModifierFlags(n));if(dt(55,!1,r,!t,n),n.parameters&&(t||35===L()||16===L()))return n}function mn(e){return 16===L()?fr(!1,e,!1):24!==L()&&88!==L()&&74!==L()&&Lr()&&!$t()?fr(!1,e,!0):e?S(nn):D(nn)}function gn(t){var n=Y(54);if(!n)return t;var r=te(193,t.pos);return r.condition=t,r.questionToken=n,r.whenTrue=y(ui,nn),r.colonToken=Q(55,!1,e.Diagnostics._0_expected,e.tokenToString(55)),r.whenFalse=nn(),re(r)}function yn(e){var t=An();return vn(e,t)}function hn(e){return 91===e||140===e}function vn(e,t){for(;;){B();var n=kn(),r=39===L()?n>=e:n>e;if(!r)break;if(91===L()&&w())break;if(117===L()){if(ci.hasPrecedingLineBreak())break;M(),t=Sn(t,Gt())}else t=xn(t,Z(),yn(n))}return t}function bn(){return(!w()||91!==L())&&kn()>0}function kn(){switch(L()){case 53:return 1;case 52:return 2;case 48:return 3;case 49:return 4;case 47:return 5;case 31:case 32:case 33:case 34:return 6;case 26:case 28:case 29:case 30:case 92:case 91:case 117:return 7;case 44:case 45:case 46:return 8;case 36:case 37:return 9;case 38:case 40:case 41:return 10;case 39:return 11}return-1}function xn(e,t,n){var r=te(192,e.pos);return r.left=e,r.operatorToken=t,r.right=n,re(r)}function Sn(e,t){var n=te(200,e.pos);return n.expression=e,n.type=t,re(n)}function Dn(){var e=te(190);return e.operator=L(),M(),e.operand=Pn(),re(e)}function Cn(){var e=te(186);return M(),e.expression=Pn(),re(e)}function En(){var e=te(187);return M(),e.expression=Pn(),re(e)}function Tn(){var e=te(188);return M(),e.expression=Pn(),re(e)}function wn(){return 120===L()&&(!!A()||q(an))}function Nn(){var e=te(189);return M(),e.expression=Pn(),re(e)}function An(){if(On()){var t=Fn();return 39===L()?vn(kn(),t):t}var n=L(),r=Pn();if(39===L()){var a=e.skipTrivia(ni,r.pos);182===r.kind?O(a,r.end-a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):O(a,r.end-a,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(n))}return r}function Pn(){switch(L()){case 36:case 37:case 51:case 50:return Dn();case 79:return Cn();case 102:return En();case 104:return Tn();case 26:return Gn();case 120:if(wn())return Nn();default:return Fn()}}function On(){switch(L()){case 36:case 37:case 51:case 50:case 79:case 102:case 104:case 120:return!1;case 26:if(1!==Za.languageVariant)return!1;default:return!0}}function Fn(){if(42===L()||43===L()){var t=te(190);return t.operator=L(),M(),t.operand=Rn(),re(t)}if(1===Za.languageVariant&&26===L()&&q(De))return Bn(!0);var n=Rn();if(e.Debug.assert(e.isLeftHandSideExpression(n)),(42===L()||43===L())&&!ci.hasPrecedingLineBreak()){var t=te(191,n.pos);return t.operand=n,t.operator=L(),M(),re(t)}return n}function Rn(){var e=96===L()?Ln():In();return Yn(e)}function In(){var e=er();return Xn(e)}function Ln(){var t=Z();if(18===L()||22===L()||20===L())return t;var n=te(177,t.pos);return n.expression=t,Q(22,!1,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),n.name=Ge(!0),re(n)}function Mn(e,t){return e.kind===t.kind&&(70===e.kind?e.text===t.text:98===e.kind||e.name.text===t.name.text&&Mn(e.expression,t.expression))}function Bn(t){var n,r=Jn(t);if(248===r.kind){var a=te(246,r.pos);a.openingElement=r,a.children=Kn(a.openingElement.tagName),a.closingElement=Hn(t),Mn(a.openingElement.tagName,a.closingElement.tagName)||O(a.closingElement.pos,a.closingElement.end-a.closingElement.pos,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(ni,a.openingElement.tagName)),n=re(a)}else e.Debug.assert(247===r.kind),n=r;if(t&&26===L()){var i=W(function(){return Bn(!0)});if(i){P(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=te(192,n.pos);return o.end=i.end,o.left=n,o.right=i,o.operatorToken=ae(25,!1,void 0),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return n}function jn(){var e=te(10,ci.getStartPos());return ti=ci.scanJsxToken(),re(e)}function zn(){switch(L()){case 10:return jn();case 16:return Vn(!1);case 26:return Bn(!1)}e.Debug.fail("Unknown JSX child kind "+L())}function Kn(t){var n=ne(),r=oi;for(oi|=16384;;){if(ti=ci.reScanJsxToken(),27===L())break;if(1===L()){O(t.pos,t.end-t.pos,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(ni,t));break}n.push(zn())}return n.end=ci.getTokenPos(),oi=r,n}function Jn(e){var t=ci.getStartPos();G(26);var n,r=Un(),a=Ae(13,qn);return 28===L()?(n=te(248,t),J()):(G(40),e?G(28):(G(28,void 0,!1),J()),n=te(247,t)),n.tagName=r,n.attributes=a,re(n)}function Un(){K();for(var e=98===L()?Z():ce();X(22);){var t=te(177,e.pos);t.expression=e,t.name=Ge(!0),e=re(t)}return e}function Vn(e){var t=te(252);return G(16),17!==L()&&(t.expression=nn()),e?G(17):(G(17,void 0,!1),J()),re(t)}function qn(){if(16===L())return Wn();K();var e=te(250);if(e.name=ce(),57===L())switch(U()){case 9:e.initializer=Qe();break;default:e.initializer=Vn(!0)}return re(e)}function Wn(){var e=te(251);return G(16),G(23),e.expression=en(),G(17),re(e)}function Hn(e){var t=te(249);return G(27),t.tagName=Un(),e?G(28):(G(28,void 0,!1),J()),re(t)}function Gn(){var e=te(182);return G(26),e.type=Gt(),G(28),e.expression=Pn(),re(e)}function Xn(e){for(;;){var t=Y(22);if(t){var n=te(177,e.pos);n.expression=e,n.name=Ge(!0),e=re(n)}else if(50!==L()||ci.hasPrecedingLineBreak())if(N()||!X(20)){if(12!==L()&&13!==L())return e;var r=te(181,e.pos);r.tag=e,r.template=12===L()?Qe():Xe(),e=re(r)}else{var a=te(178,e.pos);if(a.expression=e,21!==L()&&(a.argumentExpression=v(en),9===a.argumentExpression.kind||8===a.argumentExpression.kind)){var i=a.argumentExpression;i.text=ie(i.text)}G(21),e=re(a)}else{M();var o=te(201,e.pos);o.expression=e,e=re(o)}}}function Yn(e){for(;;)if(e=Xn(e),26!==L()){if(18!==L())return e;var t=te(179,e.pos);t.expression=e,t.arguments=Qn(),e=re(t)}else{var n=W(Zn);if(!n)return e;var t=te(179,e.pos);t.expression=e,t.typeArguments=n,t.arguments=Qn(),e=re(t)}}function Qn(){G(18);var e=Ve(11,ar);return G(19),e}function Zn(){if(X(26)){var e=Ve(19,Gt);if(G(28))return e&&$n()?e:void 0}}function $n(){switch(L()){case 18:case 22:case 19:case 21:case 55:case 24:case 54:case 31:case 33:case 32:case 34:case 52:case 53:case 49:case 47:case 48:case 17:case 1:return!0;case 25:case 16:default:return!1}}function er(){switch(L()){case 8:case 9:case 12:return Qe();case 98:case 96:case 94:case 100:case 85:return Z();case 18:return tr();case 20:return ir();case 16:return cr();case 119:if(!q(Or))break;return ur();case 74:return da();case 88:return ur();case 93:return lr();case 40:case 62:if(11===j())return Qe();break;case 13:return Xe()}return se(e.Diagnostics.Expression_expected)}function tr(){var e=te(183);return G(18),e.expression=v(en),G(19),re(e)}function nr(){var e=te(196);return G(23),e.expression=nn(),re(e)}function rr(){return 23===L()?nr():25===L()?te(198):nn()}function ar(){return y(ui,rr)}function ir(){var e=te(175);return G(20),ci.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Ve(15,rr),G(21),re(e)}function or(e,t,n){return me(124)?ia(151,e,t,n):me(133)?ia(152,e,t,n):void 0}function sr(){var e=ci.getStartPos(),t=Y(23);if(t){var n=te(259,e);return n.expression=nn(),u(re(n))}var r=ca(),a=ua(),i=or(e,r,a);if(i)return i;var o=Y(38),s=H(),c=le(),_=Y(54);if(o||18===L()||26===L())return ta(e,r,a,o,c,_);var l=s&&(25===L()||17===L()||57===L());if(l){var d=te(258,e);d.name=c,d.questionToken=_;var f=Y(57);return f&&(d.equalsToken=f,d.objectAssignmentInitializer=v(nn)),u(re(d))}var p=te(257,e);return p.modifiers=a,p.name=c,p.questionToken=_,G(55),p.initializer=v(nn),u(re(p))}function cr(){var e=te(176);return G(16),ci.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Ve(12,sr,!0),G(17),re(e)}function ur(){var t=N();t&&m(!1);var n=te(184);n.modifiers=ua(),G(88),n.asteriskToken=Y(38);var r=!!n.asteriskToken,a=!!(256&e.getModifierFlags(n));return n.name=r&&a?C(_r):r?k(_r):a?S(_r):_r(),dt(55,r,a,!1,n),n.body=fr(r,a,!1),t&&m(!0),u(re(n))}function _r(){return H()?se():void 0}function lr(){var e=te(180);return G(93),e.expression=In(),e.typeArguments=W(Zn),(e.typeArguments||18===L())&&(e.arguments=Qn()),re(e)}function dr(e,t){var n=te(204);return G(16,t)||e?(ci.hasPrecedingLineBreak()&&(n.multiLine=!0),n.statements=Ae(1,jr),G(17)):n.statements=qe(),re(n)}function fr(e,t,n,r){var a=T();p(e);var i=A();g(t);var o=N();o&&m(!1);var s=dr(n,r);return o&&m(!0),p(a),g(i),s}function pr(){var e=te(206);return G(24),re(e)}function mr(){var e=te(208);return G(89),G(18),e.expression=v(en),G(19),e.thenStatement=jr(),e.elseStatement=X(81)?jr():void 0,re(e)}function gr(){var e=te(209);return G(80),e.statement=jr(),G(105),G(18),e.expression=v(en),G(19),X(24),re(e)}function yr(){var e=te(210);return G(105),G(18),e.expression=v(en),G(19),e.statement=jr(),re(e)}function hr(){var e=R();G(87),G(18);var t=void 0;24!==L()&&(t=103===L()||109===L()||75===L()?Yr(!0):b(en));var n;if(X(91)){var r=te(212,e);r.initializer=t,r.expression=v(en),G(19),n=r}else if(X(140)){var a=te(213,e);a.initializer=t,a.expression=v(nn),G(19),n=a}else{var i=te(211,e);i.initializer=t,G(24),24!==L()&&19!==L()&&(i.condition=v(en)),G(24),19!==L()&&(i.incrementor=v(en)),G(19),n=i}return n.statement=jr(),re(n)}function vr(e){var t=te(e);return G(215===e?71:76),$()||(t.label=se()),ee(),re(t)}function br(){var e=te(216);return G(95),$()||(e.expression=v(en)),ee(),re(e)}function kr(){var e=te(217);return G(106),G(18),e.expression=v(en),G(19),e.statement=jr(),re(e)}function xr(){var e=te(253);return G(72),e.expression=v(en),G(55),e.statements=Ae(3,jr),re(e)}function Sr(){var e=te(254);return G(78),G(55),e.statements=Ae(3,jr),re(e)}function Dr(){return 72===L()?xr():Sr()}function Cr(){var e=te(218);G(97),G(18),e.expression=v(en),G(19);var t=te(232,ci.getStartPos());return G(16),t.clauses=Ae(2,Dr),G(17),e.caseBlock=re(t),re(e)}function Er(){var e=te(220);return G(99),e.expression=ci.hasPrecedingLineBreak()?void 0:v(en),ee(),re(e)}function Tr(){var e=te(221);return G(101),e.tryBlock=dr(!1),e.catchClause=73===L()?wr():void 0,e.catchClause&&86!==L()||(G(86),e.finallyBlock=dr(!1)),re(e)}function wr(){var e=te(256);return G(73),G(18)&&(e.variableDeclaration=Xr()),G(19),e.block=dr(!1),re(e)}function Nr(){var e=te(222);return G(77),ee(),re(e)}function Ar(){var e=ci.getStartPos(),t=v(en);if(70===t.kind&&X(55)){var n=te(219,e);return n.label=t,n.statement=jr(),u(re(n))}var r=te(207,e);return r.expression=t,ee(),u(re(r))}function Pr(){return M(),e.tokenIsIdentifierOrKeyword(L())&&!ci.hasPrecedingLineBreak()}function Or(){return M(),88===L()&&!ci.hasPrecedingLineBreak()}function Fr(){return M(),(e.tokenIsIdentifierOrKeyword(L())||8===L())&&!ci.hasPrecedingLineBreak()}function Rr(){for(;;)switch(L()){case 103:case 109:case 75:case 88:case 74:case 82:return!0;case 108:case 136:return an();case 127:case 128:return Kr();case 116:case 119:case 123:case 111:case 112:case 113:case 130:if(M(),ci.hasPrecedingLineBreak())return!1;continue;case 139:return M(),16===L()||70===L()||83===L();case 90:return M(),9===L()||38===L()||16===L()||e.tokenIsIdentifierOrKeyword(L());case 83:if(M(),57===L()||38===L()||16===L()||78===L()||117===L())return!0;continue;case 114:M();continue;default:return!1}}function Ir(){return q(Rr)}function Lr(){switch(L()){case 56:case 24:case 16:case 103:case 109:case 88:case 74:case 82:case 89:case 80:case 105:case 87:case 76:case 71:case 95:case 106:case 97:case 99:case 101:case 77:case 73:case 86:return!0;case 75:case 83:case 90:return Ir();case 119:case 123:case 108:case 127:case 128:case 136:case 139:return!0;case 113:case 111:case 112:case 114:case 130:return Ir()||!q(Pr);default:return Zt()}}function Mr(){return M(),H()||16===L()||20===L()}function Br(){return q(Mr)}function jr(){switch(L()){case 24:return pr();case 16:return dr(!1);case 103:return Zr(ci.getStartPos(),void 0,void 0);case 109:if(Br())return Zr(ci.getStartPos(),void 0,void 0);break;case 88:return $r(ci.getStartPos(),void 0,void 0);case 74:return fa(ci.getStartPos(),void 0,void 0);case 89:return mr();case 80:return gr();case 105:return yr();case 87:return hr();case 76:return vr(214);case 71:return vr(215);case 95:return br();case 106:return kr();case 97:return Cr();case 99:return Er();case 101:case 73:case 86:return Tr();case 77:return Nr();case 56:return zr();case 119:case 108:case 136:case 127:case 128:case 123:case 75:case 82:case 83:case 90:case 111:case 112:case 113:case 116:case 114:case 130:case 139:if(Ir())return zr()}return Ar()}function zr(){var t=R(),n=ca(),r=ua();switch(L()){case 103:case 109:case 75:return Zr(t,n,r);case 88:return $r(t,n,r);case 74:return fa(t,n,r);case 108:return xa(t,n,r);case 136:return Sa(t,n,r);case 82:return Ca(t,n,r);case 139:case 127:case 128:return Na(t,n,r);case 90:return Ra(t,n,r);case 83:switch(M(),L()){case 78:case 57:return qa(t,n,r);case 117:return Fa(t,n,r);default:return Va(t,n,r)}default:if(n||r){var a=ae(244,!0,e.Diagnostics.Declaration_expected);return a.pos=t,a.decorators=n,a.modifiers=r,re(a)}}}function Kr(){return M(),!ci.hasPrecedingLineBreak()&&(H()||9===L())}function Jr(e,t,n){return 16!==L()&&$()?void ee():fr(e,t,!1,n)}function Ur(){if(25===L())return te(198);var e=te(174);return e.dotDotDotToken=Y(23),e.name=Gr(),e.initializer=_t(!1),re(e)}function Vr(){var e=te(174);e.dotDotDotToken=Y(23);var t=H(),n=le();return t&&55!==L()?e.name=n:(G(55),e.propertyName=n,e.name=Gr()),e.initializer=_t(!1),re(e)}function qr(){var e=te(172);return G(16),e.elements=Ve(9,Vr),G(17),re(e)}function Wr(){var e=te(173);return G(20),e.elements=Ve(10,Ur),G(21),re(e)}function Hr(){return 16===L()||20===L()||H()}function Gr(){return 20===L()?Wr():16===L()?qr():se()}function Xr(){var e=te(223);return e.name=Gr(),e.type=Yt(),hn(L())||(e.initializer=tn(!1)),re(e)}function Yr(t){var n=te(224);switch(L()){case 103:break;case 109:n.flags|=1;break;case 75:n.flags|=2;break;default:e.Debug.fail()}if(M(),140===L()&&q(Qr))n.declarations=qe();else{var r=w();f(t),n.declarations=Ve(8,Xr),f(r)}return re(n)}function Qr(){return Se()&&19===M()}function Zr(e,t,n){var r=te(205,e);return r.decorators=t,r.modifiers=n,r.declarationList=Yr(!1),ee(),u(re(r))}function $r(t,n,r){var a=te(225,t);a.decorators=n,a.modifiers=r,G(88),a.asteriskToken=Y(38),a.name=e.hasModifier(a,512)?_r():se();var i=!!a.asteriskToken,o=e.hasModifier(a,256);return dt(55,i,o,!1,a),a.body=Jr(i,o,e.Diagnostics.or_expected),u(re(a))}function ea(t,n,r){var a=te(150,t);return a.decorators=n,a.modifiers=r,G(122),dt(55,!1,!1,!1,a),a.body=Jr(!1,!1,e.Diagnostics.or_expected),u(re(a))}function ta(t,n,r,a,i,o,s){var c=te(149,t);c.decorators=n,c.modifiers=r,c.asteriskToken=a,c.name=i,c.questionToken=o;var _=!!a,l=e.hasModifier(c,256);return dt(55,_,l,!1,c),c.body=Jr(_,l,s),u(re(c))}function na(t,n,r,a,i){var o=te(147,t);return o.decorators=n,o.modifiers=r,o.name=a,o.questionToken=i,o.type=Yt(),o.initializer=e.hasModifier(o,32)?v(aa):y(6144,aa),ee(),u(re(o))}function ra(t,n,r){var a=Y(38),i=le(),o=Y(54);return a||18===L()||26===L()?ta(t,n,r,a,i,o,e.Diagnostics.or_expected):na(t,n,r,i,o)}function aa(){return tn(!1)}function ia(e,t,n,r){var a=te(e,t);return a.decorators=n,a.modifiers=r,a.name=le(),dt(55,!1,!1,!1,a),a.body=Jr(!1,!1),u(re(a))}function oa(e){switch(e){case 113:case 111:case 112:case 114:case 130:return!0;default:return!1}}function sa(){var t;if(56===L())return!0;for(;e.isModifierKind(L());){if(t=L(),oa(t))return!0;M()}if(38===L())return!0;if(ue()&&(t=L(),M()),20===L())return!0;if(void 0!==t){if(!e.isKeyword(t)||133===t||124===t)return!0;switch(L()){case 18:case 26:case 55:case 57:case 54:return!0;default:return $()}}return!1}function ca(){for(var e;;){var t=R();if(!X(56))break;var n=te(145,t);n.expression=x(Rn),re(n),e?e.push(n):e=ne([n],t)}return e&&(e.end=I()),e}function ua(e){for(var t;;){var n=ci.getStartPos(),r=L();if(75===L()&&e){if(!W(ge))break}else if(!he())break;var a=re(te(r,n));t?t.push(a):t=ne([a],n)}return t&&(t.end=ci.getStartPos()),t} -function _a(){var e;if(119===L()){var t=ci.getStartPos(),n=L();M();var r=re(te(n,t));e=ne([r],t),e.end=ci.getStartPos()}return e}function la(){if(24===L()){var t=te(203);return M(),re(t)}var n=R(),r=ca(),a=ua(!0),i=or(n,r,a);if(i)return i;if(122===L())return ea(n,r,a);if(gt())return ht(n,r,a);if(e.tokenIsIdentifierOrKeyword(L())||9===L()||8===L()||38===L()||20===L())return ra(n,r,a);if(r||a){var o=ae(70,!0,e.Diagnostics.Declaration_expected);return na(n,r,a,o,void 0)}e.Debug.fail("Should not have attempted to parse class member declaration.")}function da(){return pa(ci.getStartPos(),void 0,void 0,197)}function fa(e,t,n){return pa(e,t,n,226)}function pa(e,t,n,r){var a=te(r,e);return a.decorators=t,a.modifiers=n,G(74),a.name=ma(),a.typeParameters=ot(),a.heritageClauses=ya(),G(16)?(a.members=ka(),G(17)):a.members=qe(),u(re(a))}function ma(){return H()&&!ga()?se():void 0}function ga(){return 107===L()&&q(De)}function ya(){if(ba())return Ae(21,ha)}function ha(){if(84===L()||107===L()){var e=te(255);return e.token=L(),M(),e.types=Ve(7,va),re(e)}}function va(){var e=te(199);return e.expression=Rn(),26===L()&&(e.typeArguments=We(19,Gt,26,28)),re(e)}function ba(){return 84===L()||107===L()}function ka(){return Ae(5,la)}function xa(e,t,n){var r=te(227,e);return r.decorators=t,r.modifiers=n,G(108),r.name=se(),r.typeParameters=ot(),r.heritageClauses=ya(),r.members=Dt(),u(re(r))}function Sa(e,t,n){var r=te(228,e);return r.decorators=t,r.modifiers=n,G(136),r.name=se(),r.typeParameters=ot(),G(57),r.type=Gt(),ee(),u(re(r))}function Da(){var e=te(260,ci.getStartPos());return e.name=le(),e.initializer=v(aa),u(re(e))}function Ca(e,t,n){var r=te(229,e);return r.decorators=t,r.modifiers=n,G(82),r.name=se(),G(16)?(r.members=Ve(6,Da),G(17)):r.members=qe(),u(re(r))}function Ea(){var e=te(231,ci.getStartPos());return G(16)?(e.statements=Ae(1,jr),G(17)):e.statements=qe(),re(e)}function Ta(e,t,n,r){var a=te(230,e),i=16&r;return a.decorators=t,a.modifiers=n,a.flags|=r,a.name=se(),a.body=X(22)?Ta(R(),void 0,void 0,4|i):Ea(),u(re(a))}function wa(e,t,n){var r=te(230,e);return r.decorators=t,r.modifiers=n,139===L()?(r.name=se(),r.flags|=512):r.name=Qe(!0),16===L()?r.body=Ea():ee(),re(r)}function Na(e,t,n){var r=0;if(139===L())return wa(e,t,n);if(X(128))r|=16;else if(G(127),9===L())return wa(e,t,n);return Ta(e,t,n,r)}function Aa(){return 131===L()&&q(Pa)}function Pa(){return 18===M()}function Oa(){return 40===M()}function Fa(e,t,n){var r=te(233,e);return r.decorators=t,r.modifiers=n,G(117),G(128),r.name=se(),ee(),re(r)}function Ra(e,t,n){G(90);var r,a=ci.getStartPos();if(H()&&(r=se(),25!==L()&&138!==L())){var i=te(234,e);return i.decorators=t,i.modifiers=n,i.name=r,G(57),i.moduleReference=La(),ee(),u(re(i))}var o=te(235,e);return o.decorators=t,o.modifiers=n,(r||38===L()||16===L())&&(o.importClause=Ia(r,a),G(138)),o.moduleSpecifier=Ba(),ee(),re(o)}function Ia(e,t){var n=te(236,t);return e&&(n.name=e),n.name&&!X(25)||(n.namedBindings=38===L()?ja():za(238)),re(n)}function La(){return Aa()?Ma():He(!1)}function Ma(){var e=te(245);return G(131),G(18),e.expression=Ba(),G(19),re(e)}function Ba(){if(9===L()){var e=Qe();return ie(e.text),e}return en()}function ja(){var e=te(237);return G(38),G(117),e.name=se(),re(e)}function za(e){var t=te(e);return t.elements=We(22,238===e?Ja:Ka,16,17),re(t)}function Ka(){return Ua(243)}function Ja(){return Ua(239)}function Ua(t){var n=te(t),r=e.isKeyword(L())&&!H(),a=ci.getTokenPos(),i=ci.getTextPos(),o=ce();return 117===L()?(n.propertyName=o,G(117),r=e.isKeyword(L())&&!H(),a=ci.getTokenPos(),i=ci.getTextPos(),n.name=ce()):n.name=o,239===t&&r&&O(a,i-a,e.Diagnostics.Identifier_expected),re(n)}function Va(e,t,n){var r=te(241,e);return r.decorators=t,r.modifiers=n,X(38)?(G(138),r.moduleSpecifier=Ba()):(r.exportClause=za(242),(138===L()||9===L()&&!ci.hasPrecedingLineBreak())&&(G(138),r.moduleSpecifier=Ba())),ee(),re(r)}function qa(e,t,n){var r=te(240,e);return r.decorators=t,r.modifiers=n,X(57)?r.isExportEquals=!0:G(78),r.expression=nn(),ee(),re(r)}function Wa(t){for(var n,r=e.createScanner(t.languageVersion,!1,0,ni),a=[],i=[],o=[];;){var s=r.scan();if(2!==s){if(e.isTrivia(s))continue;break}var c={pos:r.getTokenPos(),end:r.getTextPos(),kind:r.getToken()},u=ni.substring(c.pos,c.end),_=e.getFileReferenceFromReferencePath(u,c);if(_){var l=_.fileReference;t.hasNoDefaultLib=_.isNoDefaultLib;var d=_.diagnosticMessage;l&&(_.isTypeReferenceDirective?i.push(l):a.push(l)),d&&$a.push(e.createFileDiagnostic(t,c.pos,c.end-c.pos,d))}else{var f=/^\/\/\/\s*".length;return O(n,r-n,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function b(e){var t=te(141,e.pos);return t.left=e,t.right=ce(),re(t)}function k(){var e=te(270);return e.literal=St(),re(e)}function x(){var e=te(269);return M(),e.type=c(),re(e)}function S(){var e=te(267);return M(),e.types=Ve(26,c),D(e.types),G(21),re(e)}function D(t){if(0===$a.length&&t.hasTrailingComma){var n=t.end-",".length;O(n,",".length,e.Diagnostics.Trailing_comma_not_allowed)}}function C(){var e=te(266);return M(),e.types=E(c()),G(19),re(e)}function E(t){e.Debug.assert(!!t);for(var n=ne([t],t.pos);X(48);)n.push(c());return n.end=ci.getStartPos(),n}function T(){var e=te(263);return M(),re(e)}function w(){var e=te(288);return e.literal=Ot(),re(e)}function N(){var e=ci.getStartPos();if(M(),25===L()||17===L()||19===L()||28===L()||57===L()||48===L()){var t=te(264,e);return re(t)}var t=te(268,e);return t.type=c(),re(t)}function A(e,t,n){o(e,5,void 0,1),Za={languageVariant:0,text:e};var r=R(t,n),a=$a;return s(),r?{jsDoc:r,diagnostics:a}:void 0}function F(e,t,n){var r=ti,a=$a.length,i=_i,o=R(t,n);return o&&(o.parent=e),ti=r,$a.length=a,_i=i,o}function R(t,n){function r(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function i(e){for(;e.length&&("\n"===e[e.length-1]||"\r"===e[e.length-1]);)e.pop()}function o(e,t){return 47===e.charCodeAt(t)&&42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&42!==e.charCodeAt(t+3)}function s(){var e=te(278,t);return e.tags=T,e.comment=N.length?N.join(""):void 0,re(e,E)}function c(){for(;5===L()||4===L();)x()}function u(t){e.Debug.assert(56===L());var n=te(56,ci.getTokenPos());n.end=ci.getTextPos(),x();var r=S();if(c(),r){var a;if(r)switch(r.text){case"augments":a=h(n,r);break;case"param":a=p(n,r);break;case"return":case"returns":a=m(n,r);break;case"template":a=k(n,r);break;case"type":a=g(n,r);break;case"typedef":a=v(n,r);break;default:a=l(n,r)}else a=l(n,r);a&&d(a,_(t+a.end-a.pos))}}function _(e){function t(t){n||(n=e),a.push(t),e+=t.length}for(var n,a=[],o=1;56!==L()&&1!==L();){switch(L()){case 4:o>=1&&(o=0,a.push(ci.getTokenText())),e=0;break;case 56:break;case 5:if(2===o)t(ci.getTokenText());else{var s=ci.getTokenText();void 0!==n&&e+s.length>n&&a.push(s.slice(n-e-1)),e+=s.length}break;case 38:if(0===o){o=1,e+=ci.getTokenText().length;break}default:o=2,t(ci.getTokenText())}if(56===L())break;x()}return r(a),i(a),a}function l(e,t){var n=te(279,e.pos);return n.atToken=e,n.tagName=t,re(n)}function d(e,t){e.comment=t.join(""),T?T.push(e):T=ne([e],e.pos),T.end=e.end}function f(){return W(function(){if(c(),16===L())return a()})}function p(t,n){var r=f();c();var a,i;if(Y(20)?(a=S(),c(),i=!0,Y(57)&&en(),G(21)):e.tokenIsIdentifierOrKeyword(L())&&(a=S()),!a)return void O(ci.getStartPos(),0,e.Diagnostics.Identifier_expected);var o,s;r?s=a:o=a,r||(r=f());var u=te(281,t.pos);return u.atToken=t,u.tagName=n,u.preParameterName=o,u.typeExpression=r,u.postParameterName=s,u.parameterName=s||o,u.isBracketed=i,re(u)}function m(t,n){e.forEach(T,function(e){return 282===e.kind})&&O(n.pos,ci.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);var r=te(282,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=f(),re(r)}function g(t,n){e.forEach(T,function(e){return 283===e.kind})&&O(n.pos,ci.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);var r=te(283,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=f(),re(r)}function y(t,n){var r=f();c();var a=S();if(c(),!a)return void O(ci.getStartPos(),0,e.Diagnostics.Identifier_expected);var i=te(286,t.pos);return i.atToken=t,i.tagName=n,i.name=a,i.typeExpression=r,re(i)}function h(e,t){var n=f(),r=te(280,e.pos);return r.atToken=e,r.tagName=t,r.typeExpression=n,re(r)}function v(e,t){function n(){for(var e=te(287,ci.getStartPos()),t=ci.getStartPos(),n=!0,r=!1,a=!1;1!==L()&&!a;)switch(x(),L()){case 56:n&&(a=!b(e),a||(t=ci.getStartPos())),r=!1;break;case 4:t=ci.getStartPos()-1,n=!0,r=!1;break;case 38:r&&(n=!1),r=!0;break;case 70:n=!1;case 1:}return ci.setTextPos(t),re(e)}function r(e){var t=ci.getTokenPos(),n=S();if(n&&X(22)){var a=te(230,t);return a.flags|=e,a.name=n,a.body=r(4),a}return n&&4&e&&(n.isInJSDocNamespace=!0),n}var a=f();c();var i=te(285,e.pos);if(i.atToken=e,i.tagName=t,i.fullName=r(0),i.fullName){for(var o=i.fullName;70!==o.kind;)o=o.body;i.name=o}if(i.typeExpression=a,c(),a){if(272===a.type.kind){var s=a.type;if(70===s.name.kind){var u=s.name;"Object"===u.text&&(i.jsDocTypeLiteral=n())}}i.jsDocTypeLiteral||(i.jsDocTypeLiteral=a.type)}else i.jsDocTypeLiteral=n();return re(i)}function b(t){e.Debug.assert(56===L());var n=te(56,ci.getStartPos());n.end=ci.getTextPos(),x();var r=S();if(c(),!r)return!1;switch(r.text){case"type":return!t.jsDocTypeTag&&(t.jsDocTypeTag=g(n,r),!0);case"prop":case"property":var a=y(n,r);return!!a&&(t.jsDocPropertyTags||(t.jsDocPropertyTags=[]),t.jsDocPropertyTags.push(a),!0)}return!1}function k(t,n){e.forEach(T,function(e){return 284===e.kind})&&O(n.pos,ci.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.text);for(var r=ne();;){var a=S();if(c(),!a)return void O(ci.getStartPos(),0,e.Diagnostics.Identifier_expected);var i=te(143,a.pos);if(i.name=a,re(i),r.push(i),25!==L())break;x(),c()}var o=te(284,t.pos);return o.atToken=t,o.tagName=n,o.typeParameters=r,re(o),r.end=o.end,o}function x(){return ti=ci.scanJSDocToken()}function S(){return D(e.tokenIsIdentifierOrKeyword(L()))}function D(t){if(!t)return void P(e.Diagnostics.Identifier_expected);var n=ci.getTokenPos(),r=ci.getTextPos(),a=te(70,n);return a.text=C.substring(n,r),re(a,r),x(),a}var C=ni;t=t||0;var E=void 0===n?C.length:t+n;n=E-t,e.Debug.assert(t>=0),e.Debug.assert(t<=E),e.Debug.assert(E<=C.length);var T,w,N=[];return o(C,t)?(ci.scanRange(t+3,n-5,function(){function e(e){o||(o=c),N.push(e),c+=e.length}var n=!0,a=1,o=void 0,c=t-Math.max(C.lastIndexOf("\n",t),0)+4;for(x();5===L();)x();for(4===L()&&(a=0,c=0,x());1!==L();){switch(L()){case 56:0===a||1===a?(i(N),u(c),a=0,n=!1,o=void 0,c++):e(ci.getTokenText());break;case 4:N.push(ci.getTokenText()),a=0,c=0;break;case 38:var _=ci.getTokenText();1===a?(a=2,e(_)):(a=1,c+=_.length);break;case 70:e(ci.getTokenText()),a=2;break;case 5:var l=ci.getTokenText();(2===a||void 0!==o&&c+l.length>o)&&N.push(l.slice(o-c-1)),c+=l.length;break;case 1:break;default:e(ci.getTokenText())}n?x():n=!0}r(N),i(N),w=s()}),w):w}t.isJSDocType=n,t.parseJSDocTypeExpressionForTests=r,t.parseJSDocTypeExpression=a,t.parseIsolatedJSDocComment=A,t.parseJSDocComment=F;var I;!function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments"}(I||(I={})),t.parseJSDocCommentWorker=R}(fi=t.JSDocParser||(t.JSDocParser={}))}(g||(g={}));var y;!function(t){function n(t,n,r,a){if(a=a||e.Debug.shouldAssert(2),l(t,n,r,a),e.textChangeRangeIsUnchanged(r))return t;if(0===t.statements.length)return g.parseSourceFile(t.fileName,n,t.languageVersion,void 0,!0,t.scriptKind);var i=t;e.Debug.assert(!i.hasBeenIncrementallyParsed),i.hasBeenIncrementallyParsed=!0;var o=t.text,s=d(t),_=u(t,r);l(t,n,_,a),e.Debug.assert(_.span.start<=r.span.start),e.Debug.assert(e.textSpanEnd(_.span)===e.textSpanEnd(r.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(_))===e.textSpanEnd(e.textChangeRangeNewSpan(r)));var f=e.textChangeRangeNewSpan(_).length-_.span.length;c(i,_.span.start,e.textSpanEnd(_.span),e.textSpanEnd(e.textChangeRangeNewSpan(_)),f,o,n,a);var p=g.parseSourceFile(t.fileName,n,t.languageVersion,s,!0,t.scriptKind);return p}function r(t,n,r,o,c,u){function _(t){var n="";if(u&&a(t)&&(n=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=r,t.end+=r,u&&a(t)&&e.Debug.assert(n===c.substring(t.pos,t.end)),i(t,_,l),t.jsDoc)for(var d=0,f=t.jsDoc;d=n,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end),t.pos=Math.min(t.pos,a),t.end>=r?t.end+=i:t.end=Math.min(t.end,a),e.Debug.assert(t.pos<=t.end),t.parent&&(e.Debug.assert(t.pos>=t.parent.pos),e.Debug.assert(t.end<=t.parent.end))}function s(t,n){if(n){var r=t.pos;i(t,function(t){e.Debug.assert(t.pos>=r),r=t.end}),e.Debug.assert(r<=t.end)}}function c(t,n,a,c,u,_,l,d){function f(t){if(e.Debug.assert(t.pos<=t.end),t.pos>a)return void r(t,!1,u,_,l,d);var m=t.end;return m>=n?(t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u),i(t,f,p),void s(t,d)):void e.Debug.assert(ma)return void r(t,!0,u,_,l,d);var i=t.end;if(i>=n){t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u);for(var s=0,p=t;s0&&i<=r;i++){var o=_(t,a);e.Debug.assert(o.pos<=a);var s=o.pos;a=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(a,e.textSpanEnd(n.span)),u=n.newLength+(n.span.start-a);return e.createTextChangeRange(c,u)}function _(t,n){function r(e){for(;;){var t=a(e);if(!t)return e;e=t}}function a(t){var n=void 0;return i(t,function(t){e.nodeIsPresent(t)&&(n=t)}),n}function o(t){if(!e.nodeIsMissing(t))return t.pos<=n?(t.pos>=c.pos&&(c=t),nn),!0)}var s,c=t;if(i(t,o),s){var u=r(s);u.pos>c.pos&&(c=u)}return c}function l(t,n,r,a){var i=t.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===n.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=n.substr(0,r.span.start);e.Debug.assert(o===s);var c=i.substring(e.textSpanEnd(r.span),i.length),u=n.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),n.length);e.Debug.assert(c===u)}}function d(t){function n(e){function n(t){return e>=t.pos&&e=t.pos&&e0){var s=i.declarationList.declarations[0].name;70===s.kind&&(o=s.text)}return o}}function c(t){return t.name?e.declarationNameToString(t.name):s(t)}function u(t,n,r,a,u){e.Debug.assert(!e.hasDynamicName(r));var _,l=e.hasModifier(r,512),d=l&&n?"default":s(r);if(void 0===d)_=i(0,"__missing");else if(_=t[d]||(t[d]=i(0,d)),d&&788448&a&&(Rt[d]=d),_.flags&u)if(_.isReplaceableByMethod)_=t[d]=i(0,d);else{r.name&&(r.name.parent=r);var f=2&_.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;_.declarations&&_.declarations.length&&(l?f=e.Diagnostics.A_module_cannot_have_multiple_default_exports:_.declarations&&_.declarations.length&&(l||240===r.kind&&!r.isExportEquals)&&(f=e.Diagnostics.A_module_cannot_have_multiple_default_exports)),e.forEach(_.declarations,function(t){pt.bindDiagnostics.push(e.createDiagnosticForNode(t.name||t,f,c(t)))}),pt.bindDiagnostics.push(e.createDiagnosticForNode(r.name||r,f,c(r))),_=i(0,d)}return o(_,r,a),_.parent=n,_}function _(t,n,r){var a=1&e.getCombinedModifierFlags(t);if(8388608&n)return 243===t.kind||234===t.kind&&a?u(ht.symbol.exports,ht.symbol,t,n,r):u(ht.locals,void 0,t,n,r);var i=285===t.kind&&t.name&&70===t.name.kind&&t.name.isInJSDocNamespace;if(!e.isAmbientModule(t)&&(a||32&ht.flags)||i){var o=(107455&n?1048576:0)|(793064&n?2097152:0)|(1920&n?4194304:0),s=u(ht.locals,void 0,t,o,r);return s.exportSymbol=u(ht.symbol.exports,ht.symbol,t,n,r),t.localSymbol=s,s}return u(ht.locals,void 0,t,n,r)}function l(t,n){var r=ht,a=vt;if(1&n?(ht=vt=t,32&n&&(ht.locals=e.createMap()),le(ht)):2&n&&(vt=t,vt.locals=void 0),4&n){var i=xt,o=St,s=Dt,c=Ct,u=Nt,_=At,l=16&n&&!e.hasModifier(t,256)&&!!e.getImmediatelyInvokedFunctionExpression(t);l?Ct=x():(xt={flags:2},144&n&&(xt.container=t),Ct=void 0),St=void 0,Dt=void 0,Nt=void 0,At=!1,d(t),t.flags&=-1409,!(1&xt.flags)&&8&n&&e.nodeIsPresent(t.body)&&(t.flags|=128,At&&(t.flags|=256)),261===t.kind&&(t.flags|=Pt),l?(C(Ct,xt),xt=A(Ct)):xt=i,St=o,Dt=s,Ct=c,Nt=u,At=_}else 64&n?(kt=!1,d(t),t.flags=kt?64|t.flags:t.flags&-65):d(t);ht=r,vt=a}function d(e){if(It)m(e);else if(536870912&e.transformFlags)It=!0,m(e),It=!1,jt|=e.transformFlags&~O(e.kind);else{var t=jt;jt=0,m(e),jt=t|a(e,jt)}}function f(t){if(void 0!==t)if(It)e.forEach(t,Ke);else{var n=jt;jt=0;for(var r=0,a=0,i=t;a=107&&t.originalKeywordKind<=115&&!e.isIdentifierName(t)&&!e.isInAmbientContext(t)&&(pt.parseDiagnostics.length||pt.bindDiagnostics.push(e.createDiagnosticForNode(t,Ce(t),e.declarationNameToString(t))))}function Ce(t){return e.getContainingClass(t)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:pt.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Ee(t){Ot&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Ae(t,t.left)}function Te(e){Ot&&e.variableDeclaration&&Ae(e,e.variableDeclaration.name)}function we(t){if(Ot&&70===t.expression.kind){var n=e.getErrorSpanForNode(pt,t.expression);pt.bindDiagnostics.push(e.createFileDiagnostic(pt,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Ne(e){return 70===e.kind&&("eval"===e.text||"arguments"===e.text)}function Ae(t,n){if(n&&70===n.kind){var r=n;if(Ne(r)){var a=e.getErrorSpanForNode(pt,n);pt.bindDiagnostics.push(e.createFileDiagnostic(pt,a.start,a.length,Pe(t),r.text))}}}function Pe(t){return e.getContainingClass(t)?e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:pt.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Oe(e){Ot&&Ae(e,e.name)}function Fe(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:pt.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Re(t){if(gt<2&&261!==vt.kind&&230!==vt.kind&&!e.isFunctionLike(vt)){var n=e.getErrorSpanForNode(pt,t);pt.bindDiagnostics.push(e.createFileDiagnostic(pt,n.start,n.length,Fe(t)))}}function Ie(t){Ot&&t.isOctalLiteral&&pt.bindDiagnostics.push(e.createDiagnosticForNode(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Le(e){Ot&&Ae(e,e.operand)}function Me(e){Ot&&(42!==e.operator&&43!==e.operator||Ae(e,e.operand))}function Be(t){Ot&&je(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function je(t,n,r,a,i){var o=e.getSpanOfTokenAtPosition(pt,t.pos);pt.bindDiagnostics.push(e.createFileDiagnostic(pt,o.start,o.length,n,r,a,i))}function ze(t){return"__"+e.indexOf(t.parent.parameters,t)}function Ke(e){if(e){e.parent=yt;var t=Ot;if(Ve(e),e.kind>140){var n=yt;yt=e;var r=_e(e);0===r?d(e):l(e,r),yt=n}else It||0!==(536870912&e.transformFlags)||(jt|=a(e,0));Ot=t}}function Je(t){if(!Ot)for(var n=0,r=t;n=156&&e<=171)return-3;switch(e){case 179:case 180:case 175:return 537396545;case 230:return 574674241;case 144:return 536872257;case 185:return 601249089;case 184:case 225:return 601281857;case 224:return 546309441;case 226:case 197:return 539358529;case 150:return 601015617;case 149:case 151:case 152:return 601015617;case 118:case 132:case 129:case 134:case 121:case 135:case 104:case 143:case 146:case 148:case 153:case 154:case 155:case 227:case 228:return-3;case 176:return 540087617;case 256:return 537920833;case 172:case 173:return 537396545;default:return 536872257}}var F;!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(F=e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t;var R;!function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(R||(R={}));var I=r();e.bindSourceFile=n,e.computeTransformFlagsForNode=a,e.getTransformFlagsSubtreeExclusions=O}(o||(o={}));var o;!function(e){function t(t){t.trace(e.formatMessage.apply(void 0,arguments))}function n(e,t){return e.traceResolution&&void 0!==t.trace}function r(t){if(t)return e.Debug.assert(e.extensionIsTypeScript(t.extension)),t.path}function a(t){return{path:t,extension:e.extensionFromPath(t)}}function i(e,t){var n=e.path,r=e.extension;return{resolvedFileName:n,extension:r,isExternalLibraryImport:t}}function o(e,t,n){return{resolvedModule:e&&i(e,t),failedLookupLocations:n}}function s(t){return!(e.isRootedDiskPath(t)||e.isExternalModuleNameRelative(t))}function c(n,r,a,i){function o(n){if(e.hasProperty(s,n)){var r=s[n];if("string"==typeof r){var o=e.normalizePath(e.combinePaths(a,r));return i.traceEnabled&&t(i.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,n,r,o),o}i.traceEnabled&&t(i.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_string_got_1,n,typeof r)}}var s=u(r,i.host);switch(n){case 2:case 0:return o("typings")||o("types");case 1:if("string"==typeof s.main)return i.traceEnabled&&t(i.host,e.Diagnostics.No_types_specified_in_package_json_so_returning_main_value_of_0,s.main),e.normalizePath(e.combinePaths(a,s.main));return}}function u(e,t){try{var n=t.readFile(e);return n?JSON.parse(n):{}}catch(e){return{}}}function _(t,n){if(t.typeRoots)return t.typeRoots;var r;return t.configFilePath?r=e.getDirectoryPath(t.configFilePath):n.getCurrentDirectory&&(r=n.getCurrentDirectory()),void 0!==r?l(r,n):void 0}function l(t,n){if(!n.directoryExists)return[e.combinePaths(t,L)];var r;return R(t,function(t){var a=e.combinePaths(t,L);n.directoryExists(a)&&(r||(r=[])).push(a)}),r}function d(a,i,o,s){function c(){return f&&f.length?(l&&t(s,e.Diagnostics.Resolving_with_primary_search_path_0,f.join(", ")),e.forEach(f,function(t){var n=e.combinePaths(t,a),i=e.getDirectoryPath(n);return r(C(2,n,p,!k(i,s),d))})):void(l&&t(s,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths))}function u(){var n,o=i&&e.getDirectoryPath(i);return void 0!==o?(l&&t(s,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,o),n=r(w(2,a,o,p,d)),!n&&l&&t(s,e.Diagnostics.Type_reference_directive_0_was_not_resolved,a),n):void(l&&t(s,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder))}var l=n(o,s),d={compilerOptions:o,host:s,traceEnabled:l},f=_(o,s);l&&(void 0===i?void 0===f?t(s,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,a):t(s,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,a,f):void 0===f?t(s,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,a,i):t(s,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,a,i,f));var p=[],m=c(),g=!0;m||(m=u(),g=!1);var y;return m&&(m=v(m,s,l),l&&t(s,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,a,m,g),y={primary:g,resolvedFileName:m}),{resolvedTypeReferenceDirective:y,failedLookupLocations:p}}function f(t,n){if(t.types)return t.types;var r=[];if(n.directoryExists&&n.getDirectories){var a=_(t,n);if(a)for(var i=0,o=a;i1);if(e.isGlobalScopeAugmentation(n))g(Iy,n.symbol.exports);else{ -var r=e.isInAmbientContext(t.parent.parent)?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,a=ne(t,t,r,!0);if(!a)return;a=ae(a),1920&a.flags?(a=33554432&a.flags?a:p(a),m(a,n.symbol)):_(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}}function h(t,n,r){function a(t,n){return function(r){return th.add(e.createDiagnosticForNode(r,n,t))}}for(var i in n)t[i]?e.forEach(t[i].declarations,a(i,r)):t[i]=n[i]}function v(e){if(67108864&e.flags)return e;var t=n(e);return qy[t]||(qy[t]={})}function b(e){var n=t(e);return Wy[n]||(Wy[n]={flags:0})}function k(e){return 32768&e.flags?e.objectFlags:0}function x(t){return 261===t.kind&&!e.isExternalOrCommonJsModule(t)}function S(t,n,r){if(r){var a=t[n];if(a){if(e.Debug.assert(0===(16777216&a.flags),"Should never get an instantiated symbol here."),a.flags&r)return a;if(8388608&a.flags){var i=X(a);if(i===Cg||i.flags&r)return a}}}}function D(t,n){var r=t.parent,a=t.parent.parent,i=S(r.locals,n,107455),o=S(a.symbol.members,n,107455);return i&&o?[i,o]:void e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function C(t,n){function a(t,n){var r=e.getEnclosingBlockScopeContainer(t);switch(t.parent.parent.kind){case 205:case 211:case 213:if(F(n,t,r))return!0}switch(t.parent.parent.kind){case 212:case 213:if(F(n,t.parent.parent.expression,r))return!0}return!1}function i(t,n){for(var r=t;r;){if(r===n)return!1;if(e.isFunctionLike(r))return!0;var a=r.parent&&147===r.parent.kind&&0===(32&e.getModifierFlags(r.parent))&&r.parent.initializer===r;if(a)return!0;r=r.parent}return!1}var o=e.getSourceFileOfNode(t),s=e.getSourceFileOfNode(n);if(o!==s){if(_g&&(o.externalModuleIndicator||s.externalModuleIndicator)||!cg.outFile&&!cg.out)return!0;if(i(n))return!0;var c=r.getSourceFiles();return e.indexOf(c,o)<=e.indexOf(c,s)}if(t.pos<=n.pos)return 223!==t.kind||!a(t,n);var u=e.getEnclosingBlockScopeContainer(t);return i(n,u)}function E(t,n,r,a,i){var o,s,c,u,l=t,d=!1;e:for(;t;){if(t.locals&&!x(t)&&(o=S(t.locals,n,r))){var f=!0;if(e.isFunctionLike(t)&&s&&s!==t.body&&(r&o.flags&793064&&278!==s.kind&&(f=!!(262144&o.flags)&&(s===t.type||144===s.kind||143===s.kind)),107455&r&&1&o.flags&&(f=144===s.kind||s===t.type&&144===o.valueDeclaration.kind)),f)break e;o=void 0}switch(t.kind){case 261:if(!e.isExternalOrCommonJsModule(t))break;d=!0;case 230:var p=pe(t).exports;if(261===t.kind||e.isAmbientModule(t)){if(o=p.default){var m=e.getLocalSymbolForExportDefault(o);if(m&&o.flags&r&&m.name===n)break e;o=void 0}if(p[n]&&8388608===p[n].flags&&e.getDeclarationOfKind(p[n],243))break}if(o=S(p,n,8914931&r))break e;break;case 229:if(o=S(pe(t).exports,n,8&r))break e;break;case 147:case 146:if(e.isClassLike(t.parent)&&!(32&e.getModifierFlags(t))){var g=he(t.parent);g&&g.locals&&S(g.locals,n,107455&r)&&(c=t)}break;case 226:case 197:case 227:if(o=S(pe(t).members,n,793064&r)){if(s&&32&e.getModifierFlags(s))return void _(l,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(197===t.kind&&32&r){var y=t.name;if(y&&n===y.text){o=t.symbol;break e}}break;case 142:if(u=t.parent.parent,(e.isClassLike(u)||227===u.kind)&&(o=S(pe(u).members,n,793064&r)))return void _(l,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 149:case 148:case 150:case 151:case 152:case 225:case 185:if(3&r&&"arguments"===n){o=gg;break e}break;case 184:if(3&r&&"arguments"===n){o=gg;break e}if(16&r){var h=t.name;if(h&&n===h.text){o=t.symbol;break e}}break;case 145:t.parent&&144===t.parent.kind&&(t=t.parent),t.parent&&e.isClassElement(t.parent)&&(t=t.parent)}s=t,t=t.parent}if(o&&a&&lg&&(o.isReferenced=!0),o||(o=S(Iy,n,r)),!o)return void(a&&(l&&(T(l,n,i)||w(l)||A(l,n,r)||P(l,n,r))||_(l,a,"string"==typeof i?i:e.declarationNameToString(i))));if(a){if(c){var v=c.name;return void _(l,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(v),"string"==typeof i?i:e.declarationNameToString(i))}if(2&r){var b=ge(o);2&b.flags&&O(b,l)}if(o&&d&&107455===(107455&r)){var k=o.declarations;k&&1===k.length&&233===k[0].kind&&_(l,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,n)}}return o}function T(t,n,r){if(70===t.kind&&ep(t)||Ko(t))return!1;for(var a=e.getThisContainer(t,!0),i=a;i;){if(e.isClassLike(i.parent)){var o=pe(i.parent);if(!o)break;var s=At(o);if(Xn(s,n))return _(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,"string"==typeof r?r:e.declarationNameToString(r),je(o)),!0;if(i===a&&!(32&e.getModifierFlags(i))){var c=rn(o).thisType;if(Xn(c,n))return _(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,"string"==typeof r?r:e.declarationNameToString(r)),!0}}i=i.parent}return!1}function w(t){var n=N(t),r=!(!n||!ee(n,64,!0));return r&&_(t,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(n)),r}function N(t){switch(t.kind){case 70:case 177:return t.parent?N(t.parent):void 0;case 199:return e.Debug.assert(e.isEntityNameExpression(t.expression)),t.expression;default:return}}function A(t,n,r){if(1920===r){var a=G(E(t,n,792640,void 0,void 0));if(a)return _(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,n),!0}return!1}function P(t,n,r){if(107455&r){var a=G(E(t,n,792640,void 0,void 0));if(a&&!(1024&a.flags))return _(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,n),!0}return!1}function O(t,n){e.Debug.assert(0!==(2&t.flags));var r=e.forEach(t.declarations,function(t){return e.isBlockOrCatchScoped(t)?t:void 0});e.Debug.assert(void 0!==r,"Block-scoped variable declaration is undefined"),e.isInAmbientContext(r)||C(e.getAncestor(r,223),n)||_(n,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,e.declarationNameToString(r.name))}function F(t,n,r){if(!n)return!1;for(var a=t;a&&a!==r&&!e.isFunctionLike(a);a=a.parent)if(a===n)return!0;return!1}function R(t){if(e.isAliasSymbolDeclaration(t)){if(234===t.kind)return t;for(;t&&235!==t.kind;)t=t.parent;return t}}function I(t){return e.forEach(t.declarations,function(t){return e.isAliasSymbolDeclaration(t)?t:void 0})}function L(t){return 245===t.moduleReference.kind?ae(te(t,e.getExternalModuleImportEqualsDeclarationExpression(t))):Z(t.moduleReference)}function M(t){var n=te(t,t.parent.moduleSpecifier);if(n){var r=e.isShorthandAmbientModuleSymbol(n)?n:n.exports["export="]?Xn(At(n.exports["export="]),"default"):G(n.exports.default);if(r||dg){if(!r&&dg)return ae(n)||G(n)}else _(t.name,e.Diagnostics.Module_0_has_no_default_export,je(n));return r}}function B(e){var t=e.parent.parent.moduleSpecifier;return ie(te(e,t),t)}function j(t,n){if(794600&t.flags)return t;var r=l(t.flags|n.flags,t.name);return r.declarations=e.concatenate(t.declarations,n.declarations),r.parent=t.parent||n.parent,t.valueDeclaration&&(r.valueDeclaration=t.valueDeclaration),n.members&&(r.members=n.members),t.exports&&(r.exports=t.exports),r}function z(e,t){if(1536&e.flags){var n=ue(e)[t];if(n)return G(n)}}function K(e,t){if(3&e.flags){var n=e.valueDeclaration.type;if(n)return G(Xn(Wa(n),t))}}function J(t,n){var r=te(t,t.moduleSpecifier),a=ie(r,t.moduleSpecifier);if(a){var i=n.propertyName||n.name;if(i.text){if(e.isShorthandAmbientModuleSymbol(r))return r;var o=void 0;o=r&&r.exports&&r.exports["export="]?Xn(At(a),i.text):K(a,i.text),o=G(o);var s=z(a,i.text);!s&&dg&&"default"===i.text&&(s=ae(r)||G(r));var c=s&&o?j(o,s):s||o;return c||_(i,e.Diagnostics.Module_0_has_no_exported_member_1,$(r),e.declarationNameToString(i)),c}}}function U(e){return J(e.parent.parent.parent,e)}function V(e){return ae(e.parent.symbol)}function q(e){return e.parent.parent.moduleSpecifier?J(e.parent.parent,e):ee(e.propertyName||e.name,901119)}function W(e){return ee(e.expression,901119)}function H(e){switch(e.kind){case 234:return L(e);case 236:return M(e);case 237:return B(e);case 239:return U(e);case 243:return q(e);case 240:return W(e);case 233:return V(e)}}function G(e){return e&&8388608&e.flags&&!(901119&e.flags)?X(e):e}function X(t){e.Debug.assert(0!==(8388608&t.flags),"Should only get Alias here.");var n=v(t);if(n.target)n.target===Eg&&(n.target=Cg);else{n.target=Eg;var r=I(t);e.Debug.assert(!!r);var a=H(r);n.target===Eg?n.target=a||Cg:_(r,e.Diagnostics.Circular_definition_of_import_alias_0,je(t))}return n.target}function Y(e){var t=pe(e),n=X(t);if(n){var r=n===Cg||107455&n.flags&&!wp(n);r&&Q(t)}}function Q(t){var n=v(t);if(!n.referenced){n.referenced=!0;var r=I(t);e.Debug.assert(!!r),240===r.kind?_l(r.expression):243===r.kind?_l(r.propertyName||r.name):e.isInternalModuleImportEqualsDeclaration(r)&&_l(r.moduleReference)}}function Z(t,n){return 70===t.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),70===t.kind||141===t.parent.kind?ee(t,1920,!1,n):(e.Debug.assert(234===t.parent.kind),ee(t,901119,!1,n))}function $(e){return e.parent?$(e.parent)+"."+je(e):je(e)}function ee(t,n,r,a,i){if(!e.nodeIsMissing(t)){var o;if(70===t.kind){var s=1920===n?e.Diagnostics.Cannot_find_namespace_0:e.Diagnostics.Cannot_find_name_0;if(o=E(i||t,t.text,n,r?void 0:s,t),!o)return}else if(141===t.kind||177===t.kind){var c=141===t.kind?t.left:t.expression,u=141===t.kind?t.right:t.name,l=ee(c,1920,r,!1,i);if(!l||e.nodeIsMissing(u))return;if(l===Cg)return l;if(o=S(ue(l),u.text,n),!o)return void(r||_(u,e.Diagnostics.Namespace_0_has_no_exported_member_1,$(l),e.declarationNameToString(u)))}else e.Debug.fail("Unknown entity name kind.");return e.Debug.assert(0===(16777216&o.flags),"Should never get an instantiated symbol here."),o.flags&n||a?o:X(o)}}function te(t,n){return ne(t,n,e.Diagnostics.Cannot_find_module_0)}function ne(e,t,n,r){if(void 0===r&&(r=!1),9===t.kind){var a=t;return re(e,a.text,n,a,r)}}function re(t,n,a,i,o){void 0===o&&(o=!1);var s=e.escapeIdentifier(n);if(void 0!==s){var c=sr(s,!0);if(c)return c;var u=e.isExternalModuleNameRelative(s),l=e.getResolvedModule(e.getSourceFileOfNode(t),n),d=l&&e.getResolutionDiagnostic(cg,l),f=l&&!d&&r.getSourceFile(l.resolvedFileName);if(f)return f.symbol?fe(f.symbol):void(a&&_(i,e.Diagnostics.File_0_is_not_a_module,f.fileName));if(Gg){var p=e.findBestPatternMatch(Gg,function(e){return e.pattern},s);if(p)return fe(p.symbol)}if(u||!l||e.extensionIsTypeScript(l.extension)){if(a)if(d)_(i,d,s,l.resolvedFileName);else{var m=e.tryExtractTypeScriptExtension(s);if(m){var g=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;_(i,g,m,e.removeExtension(s,m))}else _(i,a,s)}}else if(o){e.Debug.assert(!!a);var g=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;_(i,g,s,l.resolvedFileName)}else cg.noImplicitAny&&a&&_(i,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,n,l.resolvedFileName)}}function ae(e){return e&&fe(G(e.exports["export="]))||e}function ie(t,n){var r=ae(t);return!r||1539&r.flags||(_(n,e.Diagnostics.Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct,je(t)),r=void 0),r}function oe(e){return void 0!==e.exports["export="]}function se(e){return ir(_e(e))}function ce(e,t){var n=_e(t);if(n)return n[e]}function ue(e){return 1536&e.flags?_e(e):e.exports||sg}function _e(e){var t=v(e);return t.resolvedExports||(t.resolvedExports=de(e))}function le(t,n,r,a){for(var i in n)"default"===i||t[i]?r&&a&&"default"!==i&&t[i]&&G(t[i])!==G(n[i])&&(r[i].exportsWithDuplicate?r[i].exportsWithDuplicate.push(a):r[i].exportsWithDuplicate=[a]):(t[i]=n[i],r&&a&&(r[i]={specifierText:e.getTextOfNode(a.moduleSpecifier)}))}function de(t){function n(t){if(t&&1952&t.flags&&!e.contains(r,t)){r.push(t);var a=e.cloneMap(t.exports),i=t.exports.__export;if(i){for(var o=e.createMap(),s=e.createMap(),c=0,u=i.declarations;c=o&&(i=i.substr(0,o-"...".length)+"..."),i}function Je(t,n,r){var a=e.getSingleLineStringWriter();Ge().buildTypePredicateDisplay(t,a,n,r);var i=a.string();return e.releaseStringWriter(a),i}function Ue(e){for(var t=[],n=0,r=0;r0&&(25!==t&&Be(r),Me(r,t),Be(r)),c(e[n],25===t?0:64)}function _(e,t,n,o,s){if((32&e.flags||!Se(e.name))&&a(e,r,i,793064,0,s),n0&&(Me(t,25),Be(t)),n(e[r])}function f(e,t,n,r){if(e&&e.length){Me(n,26);for(var a=256,o=0;o0&&(Me(n,25),Be(n),a=0),i(t(e[o]),n,r,a);Me(n,28)}}function p(e,t,n,r,a,i){Me(n,18),e&&c(e,n,r,a,i);for(var o=0;o0||e)&&(Me(n,25),Be(n)),c(t[o],n,r,a,i);Me(n,19)}function m(t,n,r,a,o){e.isIdentifierTypePredicate(t)?n.writeParameter(t.parameterName):Le(n,98),Be(n),Le(n,125),Be(n),i(t.type,n,r,a,o)}function g(e,t,n,r,a){if(8&r?(Be(t),Me(t,35)):Me(t,55),Be(t),e.typePredicate)m(e.typePredicate,t,n,r,a);else{var o=mr(e);i(o,t,n,r,a)}}function y(e,t,n,r,a,i){1===a&&(Le(t,93),Be(t)),e.target&&32&r?f(e.target.typeParameters,e.mapper,t,n):l(e.typeParameters,t,n,r,i),p(e.thisParameter,e.parameters,t,n,r,i),g(e,t,n,r,i)}return ih||(ih={buildSymbolDisplay:a,buildTypeDisplay:i,buildTypeParameterDisplay:s,buildTypePredicateDisplay:m,buildParameterDisplay:c,buildDisplayForParametersAndDelimiters:p,buildDisplayForTypeParametersAndDelimiters:l,buildTypeParameterDisplayFromSymbol:o,buildSignatureDisplay:y,buildReturnTypeDisplay:g})}function Xe(t){function n(){switch(t.kind){case 174:return Xe(t.parent.parent);case 223:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 230:case 226:case 227:case 228:case 225:case 229:case 234:if(e.isExternalModuleAugmentation(t))return!0;var n=tt(t);return 1&e.getCombinedModifierFlags(t)||234!==t.kind&&261!==n.kind&&e.isInAmbientContext(n)?Xe(n):x(n);case 147:case 146:case 151:case 152:case 149:case 148:if(24&e.getModifierFlags(t))return!1;case 150:case 154:case 153:case 155:case 144:case 231:case 158:case 159:case 161:case 157:case 162:case 163:case 164:case 165:case 166:return Xe(t.parent);case 236:case 237:case 239:return!1;case 143:case 261:case 233:return!0;case 240:return!1;default:return!1}}if(t){var r=b(t);return void 0===r.isVisible&&(r.isVisible=!!n()),r.isVisible}return!1}function Ye(t){function n(t){e.forEach(t,function(t){b(t).isVisible=!0;var r=R(t)||t;if(e.contains(i,r)||i.push(r),e.isInternalModuleImportEqualsDeclaration(t)){var a=t.moduleReference,o=Nf(a),s=E(t,o.text,901119,void 0,void 0);s&&n(s.declarations)}})}var r;if(t.parent&&240===t.parent.kind)r=E(t.parent,t.text,9289727,e.Diagnostics.Cannot_find_name_0,t);else if(243===t.parent.kind){var a=t.parent;r=a.parent.parent.moduleSpecifier?J(a.parent.parent,a):ee(a.propertyName||a.name,9289727)}var i=[];return r&&n(r.declarations),i}function Qe(e,t){var n=Ze(e,t);if(n>=0){for(var r=Ky.length,a=n;a=0;n--){if($e(Ky[n],Uy[n]))return-1;if(Ky[n]===e&&Uy[n]===t)return n}return-1}function $e(t,n){return 0===n?v(t).type:2===n?v(t).declaredType:1===n?t.resolvedBaseConstructorType:3===n?t.resolvedReturnType:void e.Debug.fail("Unhandled TypeSystemPropertyName "+n)}function et(){return Ky.pop(),Uy.pop(),Jy.pop()}function tt(t){for(t=e.getRootDeclaration(t);t;)switch(t.kind){case 223:case 224:case 239:case 238:case 237:case 236:t=t.parent;break;default:return t.parent}}function nt(t){var n=rn(me(t));return n.typeParameters?Pr(n,e.map(n.typeParameters,function(e){return Tg})):n}function rt(e,t){var n=Xn(e,t);return n?At(n):void 0}function at(e){return e&&0!==(1&e.flags)}function it(e){return e&&0!==(8192&e.flags)}function ot(e){var t=pe(e);return t&&v(t).type||pt(e,!1)}function st(t){return 142===t.kind&&!e.isStringOrNumericLiteral(t.expression)}function ct(t,n,r){if(t=Ts(t,function(e){return!(6144&e.flags)}),8192&t.flags)return Ug;if(65536&t.flags)return ws(t,function(e){return ct(e,n,r)});for(var a=e.createMap(),i=e.createMap(),o=0,s=n;o=2?Qr(Tg):oy;var o=e.map(a,function(t){return e.isOmittedExpression(t)?Tg:mt(t,n,r)}),s=ra(o);return n&&(s=Or(s),s.pattern=t),s}function ht(e,t,n){return 172===e.kind?gt(e,t,n):yt(e,t,n)}function vt(e,t){var n=pt(e,!0);return n?(t&&Do(e,n),257===e.kind?n:ko(n)):(n=e.dotDotDotToken?oy:Tg,t&&cg.noImplicitAny&&(bt(e)||So(e,n)),n)}function bt(t){var n=e.getRootDeclaration(t),r=144===n.kind?n.parent:n;return Gl(r)}function kt(t){var n=v(t);if(!n.type){if(134217728&t.flags)return n.type=nt(t);var r=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(r))return n.type=Tg;if(240===r.kind)return n.type=vl(r.expression);if(65536&r.flags&&286===r.kind&&r.typeExpression)return n.type=Wa(r.typeExpression.type);if(!Qe(t,0))return Ng;var a=void 0;if(192===r.kind||177===r.kind&&192===r.parent.kind){if(65536&r.flags){var i=e.getJSDocType(r.parent);if(i)return n.type=Wa(i)}var o=e.map(t.declarations,function(e){return _l(192===e.kind?e.right:e.parent.right)});a=pa(o,!0)}else a=vt(r,!0);et()||(t.valueDeclaration.type?(a=Ng,_(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,je(t))):(a=Tg,cg.noImplicitAny&&_(t.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,je(t)))),n.type=a}return n.type}function xt(t){if(t){if(151===t.kind)return t.type&&Wa(t.type);var n=e.getSetAccessorTypeAnnotationNode(t);return n&&Wa(n)}}function St(e){var t=Tm(e);return t&&t.symbol}function Dt(e){return pr(_r(e))}function Ct(t){var n=v(t);if(!n.type){var r=e.getDeclarationOfKind(t,151),a=e.getDeclarationOfKind(t,152);if(r&&65536&r.flags){var i=_t(r);if(i)return n.type=i}if(!Qe(t,0))return Ng;var o=void 0,s=xt(r);if(s)o=s;else{var c=xt(a);c?o=c:r&&r.body?o=x_(r):(cg.noImplicitAny&&(a?_(a,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,je(t)):(e.Debug.assert(!!r,"there must existed getter as we are current checking either setter or getter in this function"), -_(r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,je(t)))),o=Tg)}if(!et()&&(o=Tg,cg.noImplicitAny)){var u=e.getDeclarationOfKind(t,151);_(u,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,je(t))}n.type=o}return n.type}function Et(t){var n=v(t);if(!n.type)if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))n.type=Tg;else{var r=xe(16,t);n.type=fg&&536870912&t.flags?lo(r,2048):r}return n.type}function Tt(e){var t=v(e);return t.type||(t.type=en(e)),t.type}function wt(e){var t=v(e);if(!t.type){var n=X(e);t.type=107455&n.flags?At(n):Ng}return t.type}function Nt(e){var t=v(e);return t.type||(t.type=mi(At(t.target),t.mapper)),t.type}function At(e){return 16777216&e.flags?Nt(e):7&e.flags?kt(e):9136&e.flags?Et(e):8&e.flags?Tt(e):98304&e.flags?Ct(e):8388608&e.flags?wt(e):Ng}function Pt(e){return 4&k(e)?e.target:e}function Ot(t,n){function r(t){var a=Pt(t);return a===n||e.forEach(Ut(a),r)}return r(t)}function Ft(t,n){for(var r=0,a=n;r0}function jt(t){return e.getClassExtendsHeritageClauseElement(t.symbol.valueDeclaration)}function zt(t,n){var r=n?n.length:0;return e.filter(Qn(t,1),function(e){return(e.typeParameters?e.typeParameters.length:0)===r})}function Kt(t,n){var r=zt(t,n);if(n){var a=e.map(n,Wa);r=e.map(r,function(e){return yr(e,a)})}return r}function Jt(t){if(!t.resolvedBaseConstructorType){var n=jt(t);if(!n)return t.resolvedBaseConstructorType=Ag;if(!Qe(t,1))return Ng;var r=vl(n.expression);if(32768&r.flags&&Bn(r),!et())return _(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,je(t.symbol)),t.resolvedBaseConstructorType=Ng;if(r!==Ng&&r!==Fg&&!Bt(r))return _(n.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Ke(r)),t.resolvedBaseConstructorType=Ng;t.resolvedBaseConstructorType=r}return t.resolvedBaseConstructorType}function Ut(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[$r(pa(t.typeParameters))]:96&t.symbol.flags?(32&t.symbol.flags&&Vt(t),64&t.symbol.flags&&Wt(t)):e.Debug.fail("type must be class or interface")),t.resolvedBaseTypes}function Vt(t){t.resolvedBaseTypes=t.resolvedBaseTypes||og;var n=Jt(t);if(32768&n.flags){var r,a=jt(t),i=n&&n.symbol?rn(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&qt(i))r=Rr(a,n.symbol);else{var o=Kt(n,a.typeArguments);if(!o.length)return void _(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);r=mr(o[0])}var s=t.symbol.valueDeclaration;if(s&&e.isInJavaScriptFile(s)){var c=e.getJSDocAugmentsTag(t.symbol.valueDeclaration);c&&(r=Wa(c.typeExpression.type))}if(r!==Ng)return 3&k(Pt(r))?t===r||Ot(r,t)?void _(s,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Ke(t,void 0,1)):void(t.resolvedBaseTypes===og?t.resolvedBaseTypes=[r]:t.resolvedBaseTypes.push(r)):void _(a.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_a_class_or_interface_type,Ke(r))}}function qt(e){var t=e.outerTypeParameters;if(t){var n=t.length-1,r=e.typeArguments;return t[n].symbol!==r[n].symbol}return!0}function Wt(t){t.resolvedBaseTypes=t.resolvedBaseTypes||og;for(var n=0,r=t.symbol.declarations;n1&&(r.flags|=65536,r.types=a,vg[Nr(a)]=r)}}return n.declaredType}function en(e){var t=v(e);if(!t.declaredType){var n=$t(me(e));t.declaredType=65536&n.flags?n.memberTypes[Op(e.valueDeclaration)]:n}return t.declaredType}function tn(t){var n=v(t);if(!n.declaredType){var r=ve(16384);r.symbol=t,e.getDeclarationOfKind(t,143).constraint||(r.constraint=Ny),n.declaredType=r}return n.declaredType}function nn(e){var t=v(e);return t.declaredType||(t.declaredType=rn(X(e))),t.declaredType}function rn(t){return e.Debug.assert(0===(16777216&t.flags)),96&t.flags?Gt(t):524288&t.flags?Xt(t):262144&t.flags?tn(t):384&t.flags?$t(t):8&t.flags?en(t):8388608&t.flags?nn(t):Ng}function an(e){if(e.typeArguments)for(var t=0,n=e.typeArguments;t0)return;for(var a=1;a1){if(_=vn(c),e.forEach(u,function(e){return e.thisParameter})){var l=pa(e.map(u,function(e){return At(e.thisParameter)||Tg}),!0);_.thisParameter=go(c.thisParameter,l)}_.resolvedReturnType=void 0,_.unionSignatures=u}(a||(a=[])).push(_)}}}return a||og}function Dn(e,t){for(var n=[],r=!1,a=0,i=e;a=0),a>=r.minArgumentCount}return!1}function ur(e){if(70===e.parameterName.kind){var t=e.parameterName;return{kind:1,parameterName:t?t.text:void 0,parameterIndex:t?Dl(e.parent.parameters,t):void 0,type:Wa(e.type)}}return{kind:0,type:Wa(e.type)}}function _r(t){var n=b(t);if(!n.resolvedSignature){for(var r=[],a=!1,i=-1,o=void 0,s=void 0,c=e.isJSDocConstructSignature(t),u=c?1:0,_=t.parameters.length;u<_;u++){var l=t.parameters[u],d=l.symbol;if(d&&4&d.flags&&!e.isBindingPattern(l.name)){var f=E(l,d.name,107455,void 0,void 0);d=f}0===u&&"this"===d.name?(s=!0,o=l.symbol):r.push(d),l.type&&171===l.type.kind&&(a=!0),l.initializer||l.questionToken||l.dotDotDotToken||or(l)?i<0&&(i=u-(s?1:0)):i=-1}if(!(151!==t.kind&&152!==t.kind||e.hasDynamicName(t)||s&&o)){var p=151===t.kind?152:151,m=e.getDeclarationOfKind(t.symbol,p);m&&(o=St(m))}i<0&&(i=t.parameters.length-(s?1:0)),c&&i--;var g=150===t.kind?Gt(fe(t.parent.symbol)):void 0,y=g?g.localTypeParameters:t.typeParameters?ar(t.typeParameters):rr(t),h=lr(t,c,g),v=t.type&&156===t.type.kind?ur(t.type):void 0;n.resolvedSignature=hn(t,y,o,r,h,v,i,e.hasRestParameter(t),a)}return n.resolvedSignature}function lr(t,n,r){if(n)return Wa(t.parameters[0].type);if(r)return r;if(t.type)return Wa(t.type);if(65536&t.flags){var a=v_(t);if(a&&a!==Ng)return a}if(151===t.kind&&!e.hasDynamicName(t)){var i=e.getDeclarationOfKind(t.symbol,152);return xt(i)}return e.nodeIsMissing(t.body)?Tg:void 0}function dr(e){if(!e)return og;for(var t=[],n=0,r=e.declarations.length;n0&&a.body){var i=e.declarations[n-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)break}t.push(_r(a))}}return t}function fr(e){var t=te(e,e);if(t){var n=ae(t);if(n)return At(n)}return Tg}function pr(e){if(e.thisParameter)return At(e.thisParameter)}function mr(t){if(!t.resolvedReturnType){if(!Qe(t,3))return Ng;var n=void 0;if(n=t.target?mi(mr(t.target),t.mapper):t.unionSignatures?pa(e.map(t.unionSignatures,mr),!0):x_(t.declaration),!et()&&(n=Tg,cg.noImplicitAny)){var r=t.declaration;r.name?_(r.name,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(r.name)):_(r,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}t.resolvedReturnType=n}return t.resolvedReturnType}function gr(t){if(t.hasRestParameter){var n=At(e.lastOrUndefined(t.parameters));if(4&k(n)&&n.target===ey)return n.typeArguments[0]}return Tg}function yr(t,n){var r=t.instantiations||(t.instantiations=e.createMap()),a=Nr(n);return r[a]||(r[a]=hr(t,n))}function hr(e,t){return si(e,ei(e.typeParameters,t),!0)}function vr(e){return e.typeParameters?(e.erasedSignatureCache||(e.erasedSignatureCache=si(e,ti(e.typeParameters),!0)),e.erasedSignatureCache):e}function br(e){if(!e.isolatedSignatureType){var t=150===e.declaration.kind||154===e.declaration.kind,n=xe(16);n.members=sg,n.properties=og,n.callSignatures=t?og:[e],n.constructSignatures=t?[e]:og,e.isolatedSignatureType=n}return e.isolatedSignatureType}function kr(e){return e.members.__index}function xr(e,t){var n=1===t?132:134,r=kr(e);if(r)for(var a=0,i=r.declarations;a1&&(t+=":"+i),r+=i}return t}function Ar(e,t){for(var n=0,r=0,a=e;r>1),o=e[i].id;if(o===a)return i;o>a?r=i-1:n=i+1}return~n}function oa(e,t){return ia(e,t)>=0}function sa(e,t){var n=t.flags;if(65536&n)ca(e,t.types);else if(1&n)e.containsAny=!0;else if(!fg&&6144&n)2048&n&&(e.containsUndefined=!0),4096&n&&(e.containsNull=!0),2097152&n||(e.containsNonWideningType=!0);else if(!(8192&n)){2&n&&(e.containsString=!0),4&n&&(e.containsNumber=!0),96&n&&(e.containsStringOrNumberLiteral=!0);var r=e.length,a=r&&t.id>e[r-1].id?~r:ia(e,t);a<0&&(32768&n&&16&t.objectFlags&&t.symbol&&8208&t.symbol.flags&&ua(e,t)||e.splice(~a,0,t))}}function ca(e,t){for(var n=0,r=t;n0;)n--,_a(t[n],t)&&e.orderedRemoveItemAt(t,n)}function fa(t){for(var n=t.length;n>0;){n--;var r=t[n],a=32&r.flags&&t.containsString||64&r.flags&&t.containsNumber||96&r.flags&&1048576&r.flags&&oa(t,r.regularType);a&&e.orderedRemoveItemAt(t,n)}}function pa(e,t,n,r){if(0===e.length)return Kg;if(1===e.length)return e[0];var a=[];return ca(a,e),a.containsAny?Tg:(t?da(a):a.containsStringOrNumberLiteral&&fa(a),0===a.length?a.containsNull?a.containsNonWideningType?Og:Fg:a.containsUndefined?a.containsNonWideningType?Ag:Pg:Kg:ma(a,n,r))}function ma(e,t,n){if(0===e.length)return Kg;if(1===e.length)return e[0];var r=Nr(e),a=vg[r];if(!a){var i=Ar(e,6144);a=vg[r]=ve(65536|i),a.types=e,a.aliasSymbol=t,a.aliasTypeArguments=n}return a}function ga(t){var n=b(t);return n.resolvedType||(n.resolvedType=pa(e.map(t.types,Wa),!1,Ra(t),Ia(t))),n.resolvedType}function ya(t,n){131072&n.flags?ha(t,n.types):1&n.flags?t.containsAny=!0:8192&n.flags||!fg&&6144&n.flags||e.contains(t,n)||(65536&n.flags&&void 0===t.unionIndex&&(t.unionIndex=t.length),t.push(n))}function ha(e,t){for(var n=0,r=t;nn.parameters.length)return 0;t=vr(t),n=vr(n);var s=-1,c=pr(t);if(c&&c!==zg){var u=pr(n);if(u){var _=o(c,u,!1)||o(u,c,a);if(!_)return a&&i(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;s&=_}}for(var l=Mi(t),d=Mi(n),f=Bi(t,l,n,d),p=t.parameters,m=n.parameters,g=0;g0){for(var c=0;c=5)for(var r=e.symbol,a=0,i=0;i=5))return!0}return!1}function qi(e,t){return 0!==Wi(e,t,Si)}function Wi(e,t,n){if(e===t)return-1;var r=24&gu(e),a=24&gu(t);if(r!==a)return 0;if(r){if(mf(e)!==mf(t))return 0}else if((536870912&e.flags)!==(536870912&t.flags))return 0;return P_(e)!==P_(t)?0:n(At(e),At(t))}function Hi(e,t,n){if(e.parameters.length===t.parameters.length&&e.minArgumentCount===t.minArgumentCount&&e.hasRestParameter===t.hasRestParameter)return!0;var r=e.hasRestParameter?1:0,a=t.hasRestParameter?1:0;return!!(n&&e.minArgumentCount<=t.minArgumentCount&&(r>a||r===a&&e.parameters.length>=t.parameters.length))}function Gi(e,t,n,r,a,i){if(e===t)return-1;if(!Hi(e,t,n))return 0;if((e.typeParameters?e.typeParameters.length:0)!==(t.typeParameters?t.typeParameters.length:0))return 0;e=vr(e),t=vr(t);var o=-1;if(!r){var s=pr(e);if(s){var c=pr(t);if(c){var u=i(s,c);if(!u)return 0;o&=u}}}for(var _=t.parameters.length,l=0;l<_;l++){var d=Xi(e,l)?gr(e):p_(e.parameters[l]),f=Xi(t,l)?gr(t):p_(t.parameters[l]),u=i(d,f);if(!u)return 0;o&=u}return a||(o&=i(mr(e),mr(t))),o}function Xi(e,t){return e.hasRestParameter&&t>=e.parameters.length-1}function Yi(e,t){for(var n=0,r=t;no&&(a=t[s],i=u,o=c),o===t.length-1)break}Ai(i,a,n,e.Diagnostics.Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0,r)}function to(e){return 4&k(e)&&e.target===ey}function no(e){return 4&k(e)&&(e.target===ey||e.target===ty)||!(6144&e.flags)&&Ei(e,cy)}function ro(e){return!!Xn(e,"0")}function ao(e){return 0!==(6624&e.flags)}function io(t){return!!(8&t.flags)||(65536&t.flags?!!(16&t.flags)||!e.forEach(t.types,function(e){return!ao(e)}):ao(t))}function oo(t){return 32&t.flags?Rg:64&t.flags?Ig:128&t.flags?Bg:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?pa(e.sameMap(t.types,oo)):t}function so(t){return 32&t.flags&&1048576&t.flags?Rg:64&t.flags&&1048576&t.flags?Ig:128&t.flags?Bg:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?pa(e.sameMap(t.types,so)):t}function co(e){return!!(4&k(e)&&8&e.target.objectFlags)}function uo(e){for(var t=0,n=0,r=e;n=0&&!n[s].isFixed){var _=Po(r,a);_&&(g++,o(_,t[s]),g--)}return}if(16384&i.flags)return o(Da(r),i),void o(pa(e.map(Jn(r),At)),Rn(a))}c(r,a),u(r,a,0),u(r,a,1),d(r,a)}function c(e,t){for(var n=jn(t),r=0,a=n;rn)&&(t.failedTypeParameterIndex=n)}return a}function jo(e){for(var t=0;t=2||0===(34&n.flags)||256===n.valueDeclaration.parent.kind)){for(var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration),a=ec(t.parent,r),i=r,o=!1;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}o&&(a&&(b(i).flags|=65536),211===r.kind&&e.getAncestor(n.valueDeclaration,224).parent===r&&nc(t,r)&&(b(n.valueDeclaration).flags|=2097152),b(n.valueDeclaration).flags|=262144),a&&(b(n.valueDeclaration).flags|=131072)}}function nc(t,n){for(var r=t;183===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(190===r.parent.kind||191===r.parent.kind){var i=r.parent;a=42===i.operator||43===i.operator}if(!a)return!1;for(;r!==n;){if(r===n.statement)return!0;r=r.parent}return!1}function rc(e,t){if(b(e).flags|=2,147===t.kind||150===t.kind){var n=t.parent;b(n).flags|=4}else b(t).flags|=4}function ac(t){if(e.isSuperCall(t))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,ac)}function ic(e){var t=b(e);return void 0===t.hasSuperCall&&(t.superCall=ac(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function oc(e){var t=pe(e),n=rn(t),r=Jt(n);return r===Fg}function sc(t){var n=e.getThisContainer(t,!0),r=!1;if(150===n.kind){var a=n.parent,i=e.getClassExtendsHeritageClauseElement(a);if(i&&!oc(a)){var o=ic(n);(!o||o.end>t.pos)&&_(t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}}switch(185===n.kind&&(n=e.getThisContainer(n,!1),r=ug<2),n.kind){case 230:_(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 229:_(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 150:uc(t,n)&&_(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 147:case 146:32&e.getModifierFlags(n)&&_(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 142:_(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}if(r&&rc(t,n),e.isFunctionLike(n)&&(!gc(t)||e.getThisParameter(n))){if(184===n.kind&&e.isInJavaScriptFile(n.parent)&&3===e.getSpecialPropertyAssignmentKind(n.parent)){var s=n.parent.left.expression.expression,c=vl(s).symbol;if(c&&c.members&&16&c.flags)return c_(c)}var u=Dt(n)||lc(n);if(u)return u}if(e.isClassLike(n.parent)){var l=pe(n.parent),d=e.hasModifier(n,32)?At(l):rn(l).thisType;return Ws(t,d,!0,void 0)}if(e.isInJavaScriptFile(t)){var d=cc(n);if(d&&d!==Ng)return d}return cg.noImplicitThis&&_(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),Tg}function cc(t){var n=e.getJSDocType(t);if(n&&274===n.kind){var r=n;if(r.parameters.length>0&&277===r.parameters[0].type.kind)return Wa(r.parameters[0].type)}}function uc(e,t){for(var n=e;n&&n!==t;n=n.parent)if(144===n.kind)return!0;return!1}function _c(t){function n(t){return!!t&&(r?150===t.kind:!(!e.isClassLike(t.parent)&&176!==t.parent.kind)&&(32&e.getModifierFlags(t)?149===t.kind||148===t.kind||151===t.kind||152===t.kind:149===t.kind||148===t.kind||151===t.kind||152===t.kind||147===t.kind||146===t.kind||150===t.kind))}var r=179===t.parent.kind&&t.parent.expression===t,a=e.getSuperContainer(t,!0),i=!1;if(!r)for(;a&&185===a.kind;)a=e.getSuperContainer(a,!0),i=ug<2;var o=n(a),s=0;if(!o){for(var c=t;c&&c!==a&&142!==c.kind;)c=c.parent;return c&&142===c.kind?_(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?_(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):a&&a.parent&&(e.isClassLike(a.parent)||176===a.parent.kind)?_(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):_(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Ng}if(s=32&e.getModifierFlags(a)||r?512:256,b(t).flags|=s,149===a.kind&&256&e.getModifierFlags(a)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?b(a).flags|=4096:b(a).flags|=2048),i&&rc(t.parent,a),176===a.parent.kind)return ug<2?(_(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Ng):Tg;var u=a.parent,l=rn(pe(u)),d=l&&Ut(l)[0];return d?150===a.kind&&uc(t,a)?(_(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Ng):512===s?Jt(l):pn(d,l.thisType):(e.getClassExtendsHeritageClauseElement(u)||_(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Ng)}function lc(e){if(bi(e)&&185!==e.kind){var t=Mc(e);if(t){var n=t.thisParameter;if(n)return At(n)}}}function dc(t){var n=t.parent;if(bi(n)){var r=e.getImmediatelyInvokedFunctionExpression(n);if(r){var a=e.indexOf(n.parameters,t);if(r.arguments&&a=0){var i=s_(t);return m_(i,a)}}function vc(e,t){if(181===e.parent.kind)return hc(e.parent,t)}function bc(t){var n=t.parent,r=n.operatorToken.kind;if(r>=57&&r<=69){if(0!==e.getSpecialPropertyAssignmentKind(n))return;if(t===n.right)return hl(n.left)}else{if(53===r){var a=Pc(n);return a||t!==n.right||(a=hl(n.left)),a}if((52===r||25===r)&&t===n.right)return Pc(n)}}function kc(e,t){if(!(65536&e.flags))return t(e);for(var n,r,a=e.types,i=0,o=a;i=2?Wd(r,void 0):void 0)}}function wc(e){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Pc(t):void 0}function Nc(t){var n=t.kind,r=t.parent,a=cu(r);if(250===t.kind){if(!a||at(a))return;return rt(a,t.name.text)}return 251===t.kind?a:void e.Debug.fail("Expected JsxAttribute or JsxSpreadAttribute, got ts.SyntaxKind["+n+"]")}function Ac(e){var t=Pc(e);return t&&qn(t)}function Pc(t){if(!Yf(t)){if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 223:case 144:case 147:case 146:case 174:return fc(t);case 185:case 216:return pc(t);case 195:return mc(n);case 179:case 180:return hc(n,t);case 182:case 200:return Wa(n.type);case 192:return bc(t);case 257:case 258:return Ec(n);case 175:return Tc(t);case 193:return wc(t);case 202:return e.Debug.assert(194===n.parent.kind),vc(n.parent,t);case 183:return Pc(n);case 252:return Pc(n);case 250:case 251:return Nc(n)}}}function Oc(e,t){var n=Yn(e,0);if(1===n.length){var r=n[0];if(!r.typeParameters&&!Fc(r,t))return r}}function Fc(t,n){for(var r=0;r=2?Wd(l,void 0):void 0);d&&i.push(d)}else{var f=pl(u,n);i.push(f)}a=a||196===u.kind}if(!a){if(o&&i.length){var f=Or(ra(i));return f.pattern=t,f}var p=Ac(t);if(p&&Dc(p)){var m=p.pattern;if(m&&(173===m.kind||175===m.kind))for(var g=m.elements,y=i.length;y0&&(s=La(s,r(),!0),o=[],i=e.createMap(),m=!1,g=!1,f=0);var x=vl(v.expression);if(!Yc(x))return _(v,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),Ng;s=La(s,x,!1),y=h+1;continue}e.Debug.assert(151===v.kind||152===v.kind),Il(v)}e.hasDynamicName(v)?Jc(v.name)?g=!0:m=!0:i[b.name]=b,o.push(b)}if(d)for(var E=0,T=Jn(u);E0&&(s=La(s,r(),!0)),s.flags|=c,s.symbol=t.symbol,s):r()}function Yc(t){return!!(6145&t.flags||32768&t.flags&&!Mn(t)||196608&t.flags&&!e.forEach(t.types,function(e){return!Yc(e)}))}function Qc(e){return fu(e),nh||Tg}function Zc(e){fu(e.openingElement),eu(e.closingElement.tagName)?au(e.closingElement):vl(e.closingElement.tagName);for(var t=0,n=e.children;t0&&l[0],f=d&&mr(d),p=f&&(0===d.parameters.length?Ug:At(d.parameters[0]));if(f&&Ei(f,nh)){var m=ru(lh.IntrinsicAttributes);return m!==Ng&&(p=En(m,p)),p}}if(r&&Ji(u,r,fh,t,e.Diagnostics.JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements),at(u))return u;var g=ou();if(void 0===g)return Tg;if(""===g)return u;var y=rt(u,g);if(y){if(at(y)||y===Ng)return y;if(65536&y.flags)return _(t.tagName,e.Diagnostics.JSX_element_attributes_type_0_may_not_be_a_union_type,Ke(y)),Tg;var h=y,v=ru(lh.IntrinsicClassAttributes);if(v!==Ng){var b=Lt(v.symbol);b?1===b.length&&(h=En(Pr(v,[u]),h)):h=En(y,v)}var k=ru(lh.IntrinsicAttributes);return k!==Ng&&(h=En(k,h)),h}return Ug}function cu(e){var t=b(e);if(!t.resolvedJsxType){if(eu(e.tagName)){var n=au(e);return 1&t.jsxFlags?t.resolvedJsxType=At(n):2&t.jsxFlags?t.resolvedJsxType=Dr(n,0).type:t.resolvedJsxType=Ng}var r=_u();return t.resolvedJsxType=su(e,void 0,r)}return t.resolvedJsxType}function uu(e){var t=cu(e.parent),n=Xn(t,e.name.text);return n||Cg}function _u(){return Cy||(Cy=Gr(lh.JSX,lh.ElementClass)),Cy}function lu(){var e=ru(lh.IntrinsicElements);return e?Jn(e):og}function du(t){0===(cg.jsx||0)&&_(t,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===nh&&cg.noImplicitAny&&_(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function fu(t){Sm(t),du(t);var n=2===cg.jsx?e.Diagnostics.Cannot_find_name_0:void 0,r=o(),a=E(t.tagName,r,107455,n,r);a&&(a.isReferenced=!0,8388608&a.flags&&!wp(X(a))&&Q(a));for(var i=cu(t),s=e.createMap(),c=!1,u=t.attributes.length-1;u>=0;u--)if(250===t.attributes[u].kind)tu(t.attributes[u],i,s);else{e.Debug.assert(251===t.attributes[u].kind);var l=nu(t.attributes[u],i,s);at(l)&&(c=!0)}if(i&&!c)for(var d=Jn(i),u=0;u=0)return Xi(r,u);if(!r.hasRestParameter&&i>r.parameters.length)return!1;var g=i>=r.minArgumentCount;return s||g}function Lu(e){if(32768&e.flags){var t=Bn(e);if(1===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.properties.length&&!t.stringIndexInfo&&!t.numberIndexInfo)return t.callSignatures[0]}}function Mu(e,t,n){var r=Eo(e,!0);return Co(t,e,function(e,t){Oo(r,mi(e,n),t)}),yr(e,jo(r))}function Bu(e,t,n,r,a){for(var i=t.typeParameters,o=ni(a),s=0;s=3?3:2;case 144:return 3}}function Vu(t){if(226===t.kind){var n=pe(t);return At(n)}if(144===t.kind&&(t=t.parent,150===t.kind)){var n=pe(t);return At(n)}return 147===t.kind||149===t.kind||151===t.kind||152===t.kind?pp(t):(e.Debug.fail("Unsupported decorator target."),Ng)}function qu(t){if(226===t.kind)return e.Debug.fail("Class decorators should not have a second synthetic argument."),Ng;if(144===t.kind&&(t=t.parent,150===t.kind))return Tg;if(147===t.kind||149===t.kind||151===t.kind||152===t.kind){var n=t;switch(n.name.kind){case 70:case 8:case 9:return za(32,n.name.text);case 142:var r=Hc(n.name);return J_(r,512)?r:Rg;default:return e.Debug.fail("Unsupported property name."),Ng}}return e.Debug.fail("Unsupported decorator target."),Ng}function Wu(t){if(226===t.kind)return e.Debug.fail("Class decorators should not have a third synthetic argument."),Ng;if(144===t.kind)return Ig;if(147===t.kind)return e.Debug.fail("Property decorators should not have a third synthetic argument."),Ng;if(149===t.kind||151===t.kind||152===t.kind){var n=_p(t);return Xr(n)}return e.Debug.fail("Unsupported decorator target."),Ng}function Hu(t,n){return 0===n?Vu(t.parent):1===n?qu(t.parent):2===n?Wu(t.parent):(e.Debug.fail("Decorators should not have a fourth synthetic argument."),Ng)}function Gu(e,t){return 145===e.kind?Hu(e,t):0===t&&181===e.kind?uy():void 0}function Xu(e,t,n){if(145!==e.kind&&(0!==n||181!==e.kind))return t[n]}function Yu(e,t,n){return 145===e.kind?e.expression:0===t&&181===e.kind?e.template:n}function Qu(t,n,r,a){function o(n,r,i,o){var s;s=e.chainDiagnosticMessages(s,n,r,i,o),a&&(s=e.chainDiagnosticMessages(s,a)),th.add(e.createDiagnosticForNodeFromMessageChain(t,s))}function s(n,r,a){void 0===a&&(a=!1);for(var i=0,o=n;i1&&(h=s(l,dh,v)),h||(m=void 0,g=void 0,y=void 0,h=s(l,fh,v)),h)return h;if(m)zu(t,f,m,fh,void 0,!0);else if(g)if(u||_||!c){e.Debug.assert(y.failedTypeParameterIndex>=0);var b=g.typeParameters[y.failedTypeParameterIndex],k=Lo(y,y.failedTypeParameterIndex),x=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly,Ke(b));a&&(x=e.chainDiagnosticMessages(x,a)),eo(k,t.expression||t.tag,x)}else{var S=t.typeArguments;ju(g,S,e.map(S,Wa),!0,a)}else o(e.Diagnostics.Supplied_parameters_do_not_match_any_signature_of_call_target);if(!i)for(var D=0,C=l;D=0&&_(t.arguments[r],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var a=vu(t.expression);if(a===Jg)return Fy;if(a=qn(a),a===Ng)return Ou(t);var i=a.symbol&&gf(a.symbol);if(i&&128&e.getModifierFlags(i))return _(t,e.Diagnostics.Cannot_create_an_instance_of_the_abstract_class_0,e.declarationNameToString(i.name)),Ou(t);if(at(a))return t.typeArguments&&_(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Pu(t);var o=Qn(a,1);if(o.length)return t_(t,o[0])?Qu(t,o,n):Ou(t);var s=Qn(a,0);if(s.length){var c=Qu(t,s,n);return mr(c)!==zg&&_(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),pr(c)===zg&&_(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void),c}return _(t,e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature),Ou(t)}function t_(t,n){if(!n||!n.declaration)return!0;var r=n.declaration,a=e.getModifierFlags(r);if(!(24&a))return!0;var i=gf(r.parent.symbol),o=rn(r.parent.symbol);if(!rp(t,i)){var s=e.getContainingClass(t);if(s){var c=_p(s),u=Ut(c);if(u.length){var l=u[0];if(16&a&&l.symbol===r.parent.symbol)return!0}}return 8&a&&_(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Ke(o)),16&a&&_(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Ke(o)),!1}return!0}function n_(t,n){var r=vl(t.tag),a=qn(r);if(a===Ng)return Ou(t);var i=Qn(a,0),o=Qn(a,1);return $u(r,a,i.length,o.length)?Pu(t):i.length?Qu(t,i,n):(_(t,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Ke(a)),Ou(t))}function r_(t){switch(t.parent.kind){case 226:case 197:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 144:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 147:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 149:case 151:case 152:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression}}function a_(t,n){var r=vl(t.expression),a=qn(r);if(a===Ng)return Ou(t);var i=Qn(a,0),o=Qn(a,1);if($u(r,a,i.length,o.length))return Pu(t);var s=r_(t);if(!i.length){var c=void 0;return c=e.chainDiagnosticMessages(c,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Ke(a)),c=e.chainDiagnosticMessages(c,s),th.add(e.createDiagnosticForNodeFromMessageChain(t,c)),Ou(t)}return Qu(t,i,n,s)}function i_(t,n){switch(t.kind){case 179:return Zu(t,n);case 180:return e_(t,n);case 181:return n_(t,n);case 145:return a_(t,n)}e.Debug.fail("Branch in 'resolveSignature' should be unreachable.")}function o_(e,t){var n=b(e),r=n.resolvedSignature;if(r&&r!==Oy&&!t)return r;n.resolvedSignature=Oy;var a=i_(e,t);return n.resolvedSignature=Ly===My?a:r,a}function s_(e){return b(e).resolvedSignature===Oy?Oy:o_(e)}function c_(e){var t=v(e);return t.inferredClassType||(t.inferredClassType=Ee(e,e.members,og,og,void 0,void 0)),t.inferredClassType}function u_(t){fm(t,t.typeArguments)||mm(t,t.arguments);var n=o_(t);if(96===t.expression.kind)return zg;if(180===t.kind){var r=n.declaration;if(r&&150!==r.kind&&154!==r.kind&&159!==r.kind&&!e.isJSDocConstructSignature(r)){var a=70===t.expression.kind?zo(t.expression):vl(t.expression).symbol;return a&&a.members&&(16&a.flags||e.isDeclarationOfFunctionExpression(a))?c_(a):(cg.noImplicitAny&&_(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Tg)}}return e.isInJavaScriptFile(t)&&__(t)?fr(t.arguments[0]):mr(n)}function __(t){if(!e.isRequireCall(t,!0))return!1;var n=E(t.expression,t.expression.text,107455,void 0,void 0);if(!n)return!0;if(8388608&n.flags)return!1;var r=16&n.flags?225:3&n.flags?223:0;if(0!==r){var a=e.getDeclarationOfKind(n,r);return e.isInAmbientContext(a)}return!1}function l_(e){return mr(o_(e))}function d_(t){var n=ho(oo(vl(t.expression)));Kf(t.type);var r=Wa(t.type);if(i&&r!==Ng){var a=ko(n);wi(r,a)||Oi(n,r,t,e.Diagnostics.Type_0_cannot_be_converted_to_type_1)}return r}function f_(e){return po(vl(e.expression))}function p_(e){var t=At(e);if(fg){var n=e.valueDeclaration;if(n&&n.initializer)return lo(t,2048)}return t}function m_(e,t){return e.hasRestParameter?t=57&&d<=69&&R_(t,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access)&&Pi(n,f,t,void 0)}function l(){_(o||n,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(n.kind),Ke(f),Ke(p))}var d=n.kind;if(57===d&&(176===t.kind||175===t.kind))return Q_(t,vl(r,a),a);var f=vl(t,a),p=vl(r,a);switch(d){case 38:case 39:case 60:case 61:case 40:case 62:case 41:case 63:case 37:case 59:case 44:case 64:case 45:case 65:case 46:case 66:case 48:case 68:case 49:case 69:case 47:case 67:if(f===Jg||p===Jg)return Jg;6144&f.flags&&(f=p),6144&p.flags&&(p=f),f=po(f),p=po(p);var m=void 0;if(136&f.flags&&136&p.flags&&void 0!==(m=c(n.kind)))_(o||n,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(n.kind),e.tokenToString(m));else{var g=A_(t,f,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type),y=A_(r,p,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type);g&&y&&u(Ig)}return Ig;case 36:case 58:if(f===Jg||p===Jg)return Jg;6144&f.flags&&(f=p),6144&p.flags&&(p=f),f=po(f),p=po(p);var h=void 0;if(J_(f,340)&&J_(p,340))h=Ig;else if(J_(f,262178)||J_(p,262178)?h=Rg:(at(f)||at(p))&&(h=f===Ng||p===Ng?Ng:Tg),h&&!s(d))return h;return h?(58===d&&u(h),h):(l(),Tg);case 26:case 28:case 29:case 30:return s(d)&&(f=oo(f),p=oo(p),wi(f,p)||wi(p,f)||l()),Bg;case 31:case 32:case 33:case 34:var v=io(f),b=io(p);return v&&b||(f=v?oo(f):f,p=b?oo(p):p),el(f,p)||el(p,f)||l(),Bg;case 92:return q_(t,r,f,p);case 91:return W_(t,r,f,p);case 52:return 1048576&ts(f)?lo(p,_o(fg?f:oo(p))):f;case 53:return 2097152&ts(f)?tl(fo(f),p):f;case 57:return u(p),ho(p);case 25:return!cg.allowUnreachableCode&&$_(t)&&_(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects),p}}function al(t){for(var n=t,r=t.parent;r;){if(e.isFunctionLike(r)&&n===r.body)return!1;if(e.isClassLike(n))return!0;n=r,r=r.parent}return!1}function il(t){if(i&&(4096&t.flags&&!al(t)||jm(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),gc(t)&&_(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer)),t.expression){var n=e.getContainingFunction(t);if(n&&n.asteriskToken){var r=_l(t.expression,void 0),a=void 0,o=!!t.asteriskToken;if(o&&(a=qd(r,t.expression)),n.type){var s=Gd(Wa(n.type))||Tg;o?Pi(a,s,t.expression,void 0):Pi(r,s,t.expression,void 0)}}}return Tg}function ol(e,t){vl(e.condition);var n=vl(e.whenTrue,t),r=vl(e.whenFalse,t);return tl(n,r)}function sl(e){switch(8===e.kind&&Xm(e),e.kind){case 9:return Ba(za(32,e.text));case 8:return Ba(za(64,e.text));case 100:return Lg;case 85:return Mg}}function cl(t){return e.forEach(t.templateSpans,function(e){vl(e.expression)}),Rg}function ul(e,t,n){var r=e.contextualType;e.contextualType=t;var a=vl(e,n);return e.contextualType=r,a}function _l(e,t){var n=b(e);if(!n.resolvedType){var r=Ly;Ly=My,n.resolvedType=vl(e,t),Ly=r}return n.resolvedType}function ll(t){return t=e.skipParentheses(t),182===t.kind||200===t.kind}function dl(t){var n=_l(t.initializer);return 2&e.getCombinedNodeFlags(t)||64&e.getCombinedModifierFlags(t)&&!e.isParameterPropertyDeclaration(t)||ll(t.initializer)?n:so(n)}function fl(e){if(e){if(16384&e.flags){var t=Un(e);if(30&t.flags)return!0;e=t}return K_(e,262624)}return!1}function pl(e,t){var n=vl(e,t);return ll(e)||fl(Pc(e))?n:so(n)}function ml(e,t){return 142===e.name.kind&&Hc(e.name),pl(e.initializer,t)}function gl(e,t){Nm(e),142===e.name.kind&&Hc(e.name);var n=w_(e,t);return yl(e,n,t)}function yl(e,t,n){if(Bc(n)){var r=Lu(t);if(r&&r.typeParameters){var a=Ac(e);if(a){var i=Lu(a);if(i&&!i.typeParameters)return br(Mu(r,i,n))}}}return t}function hl(e){if(179===e.kind&&96!==e.expression.kind){var t=vu(e.expression),n=Lu(t);if(n&&!n.typeParameters)return mr(n)}return vl(e)}function vl(t,n){var r;if(141===t.kind)r=ku(t);else{var a=bl(t,n);r=yl(t,a,n)}if(U_(r)){var i=177===t.parent.kind&&t.parent.expression===t||178===t.parent.kind&&t.parent.expression===t||(70===t.kind||141===t.kind)&&ip(t);i||_(t,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)}return r}function bl(t,n){switch(t.kind){case 70:return $s(t);case 98:return sc(t);case 96:return _c(t);case 94:return Fg;case 9:case 8:case 100:case 85:return sl(t);case 194:return cl(t);case 12:return Rg;case 11:return iy;case 175:return Kc(t,n);case 176:return Xc(t,n);case 177:return bu(t);case 178:return Nu(t);case 179:case 180:return u_(t);case 181:return l_(t);case 183:return vl(t.expression,n);case 197:return _f(t);case 184:case 185:return w_(t,n);case 187:return L_(t);case 182:case 200:return d_(t);case 201:return f_(t);case 186:return I_(t);case 188:return M_(t);case 189:return B_(t);case 190:return j_(t);case 191:return z_(t);case 192:return nl(t,n);case 193:return ol(t,n);case 196:return jc(t,n);case 198:return Pg;case 195:return il(t);case 252:return pu(t);case 246:return Zc(t);case 247:return Qc(t);case 248:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Ng}function kl(t){t.expression&&jm(t.expression,e.Diagnostics.Type_expected),Kf(t.constraint),Tr(tn(pe(t))),i&&sf(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function xl(t){$p(t)||em(t),Nd(t);var n=e.getContainingFunction(t);92&e.getModifierFlags(t)&&(n=e.getContainingFunction(t),150===n.kind&&e.nodeIsPresent(n.body)||_(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),t.questionToken&&e.isBindingPattern(t.name)&&n.body&&_(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),"this"===t.name.text&&(0!==e.indexOf(n.parameters,t)&&_(t,e.Diagnostics.A_this_parameter_must_be_the_first_parameter),150!==n.kind&&154!==n.kind&&159!==n.kind||_(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter)),!t.dotDotDotToken||e.isBindingPattern(t.name)||to(At(t.symbol))||_(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function Sl(e){return!(!e.asteriskToken||!e.body)&&(149===e.kind||225===e.kind||184===e.kind)}function Dl(e,t){if(e)for(var n=0;n=0)if(n.parameters[r.parameterIndex].dotDotDotToken)_(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else{var i=e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Pi(r.type,_p(n.parameters[r.parameterIndex]),t.type,void 0,i)}else if(a){for(var o=!1,s=0,c=n.parameters;s=2&&Sl(t)){var n=Wa(t.type);if(n===zg)_(t.type,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var r=Gd(n)||Tg,a=Zr(r);Pi(a,n,t.type)}}else e.isAsyncFunctionLike(t)&&rd(t);lg&&!t.body&&gd(t)}}function Nl(t){function n(t,n,r,a){var i=t[r];i?i&a?_(n,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(n)):t[r]=i|a:t[r]=a}var r;!function(e){e[e.Getter=1]="Getter",e[e.Setter=2]="Setter",e[e.Property=3]="Property"}(r||(r={}));for(var a=e.createMap(),i=e.createMap(),o=0,s=t.members;o0&&n.declarations[0]!==t)return}var r=kr(pe(t));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o0?m_(e,0):Kg}function td(e){return nd(e,void 0,void 0)}function nd(t,n,r){function a(t){if(65536&t.flags){for(var i=[],o=0,s=t.types;o=0)return n&&_(n,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method,je(t.symbol)),Ng;eh.push(t.id);var l=a(u);return eh.pop(),l}return a(t)}function rd(t){var n=Wa(t.type);if(ug>=2){if(n===Ng)return Ng;var r=vy();if(r!==Wg&&r!==Pt(n))return _(t.type,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),Ng}else{if(id(t.type),n===Ng)return Ng;var a=e.getEntityNameFromTypeNode(t.type);if(void 0===a)return _(t.type,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,Ke(n)),Ng;var i=ee(a,107455,!0),o=i?At(i):Ng;if(o===Ng)return _(t.type,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(a)),Ng;var s=Sy();if(s===Ug)return _(t.type,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(a)),Ng;if(!Pi(o,s,t.type,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 Ng;var c=a&&Nf(a),u=S(t.locals,c.text,107455);if(u)return _(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,c.text,e.entityNameToString(a)),Ng}return nd(n,t,e.Diagnostics.An_async_function_or_method_must_have_a_valid_awaitable_return_type)}function ad(t){var n=o_(t),r=mr(n);if(!(1&r.flags)){var a,i,o=r_(t);switch(t.parent.kind){case 226:var s=pe(t.parent),c=At(s);a=pa([c,zg]);break;case 144:a=zg,i=e.chainDiagnosticMessages(i,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 147:a=zg,i=e.chainDiagnosticMessages(i,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 149:case 151:case 152:var u=_p(t.parent),_=Xr(u);a=pa([_,zg])}Pi(r,a,t,o,i)}}function id(t){var n=t&&e.getEntityNameFromTypeNode(t),r=n&&Nf(n),a=r&&E(r,r.text,8388608|(70===n.kind?793064:1920),void 0,void 0);a&&8388608&a.flags&&ye(a)&&!wp(X(a))&&Q(a)}function od(t){if(t.decorators&&e.nodeCanBeDecorated(t)){cg.experimentalDecorators||_(t,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning);var n=t.decorators[0];if(Gp(n,8),144===t.kind&&Gp(n,32),cg.emitDecoratorMetadata)switch(Gp(n,16),t.kind){case 226:var r=e.getFirstConstructorWithBody(t);if(r)for(var a=0,i=r.parameters;a=e.ModuleKind.ES2015)&&(bd(t,n,"require")||bd(t,n,"exports"))&&(230!==t.kind||1===e.getModuleInstanceState(t))){var r=tt(t);261===r.kind&&e.isExternalOrCommonJsModule(r)&&_(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(n),e.declarationNameToString(n))}}function Cd(t,n){if(!(ug>=4)&&bd(t,n,"Promise")&&(230!==t.kind||1===e.getModuleInstanceState(t))){var r=tt(t);261===r.kind&&e.isExternalOrCommonJsModule(r)&&1024&r.flags&&_(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(n),e.declarationNameToString(n))}}function Ed(t){if(0===(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(223!==t.kind||t.initializer)){var n=pe(t);if(1&n.flags){var r=E(t,t.name.text,3,void 0,void 0);if(r&&r!==n&&2&r.flags&&3&yu(r)){var a=e.getAncestor(r.valueDeclaration,224),i=205===a.parent.kind&&a.parent.parent?a.parent.parent:void 0,o=i&&(204===i.kind&&e.isFunctionLike(i.parent)||231===i.kind||230===i.kind||261===i.kind);if(!o){var s=je(r);_(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,s,s)}}}}}function Td(t){function n(a){if(!e.isTypeNode(a)&&!e.isDeclarationName(a)){if(177===a.kind)return n(a.expression);if(70!==a.kind)return e.forEachChild(a,n);var i=E(a,a.text,8496063,void 0,void 0);if(i&&i!==Cg&&i.valueDeclaration){if(i.valueDeclaration===t)return void _(a,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(t.name));var o=e.getEnclosingBlockScopeContainer(i.valueDeclaration);if(o===r){if(144===i.valueDeclaration.kind){if(i.valueDeclaration.pos1)return jm(t,e.Diagnostics.Modifiers_cannot_appear_here)}}function Id(e){Gm(e),vl(e.expression)}function Ld(t){Gm(t),vl(t.expression),Kf(t.thenStatement),206===t.thenStatement.kind&&_(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Kf(t.elseStatement)}function Md(e){Gm(e),Kf(e.statement),vl(e.expression)}function Bd(e){Gm(e),vl(e.expression),Kf(e.statement)}function jd(t){Gm(t)||t.initializer&&224===t.initializer.kind&&Im(t.initializer),t.initializer&&(224===t.initializer.kind?e.forEach(t.initializer.declarations,Pd):vl(t.initializer)),t.condition&&vl(t.condition),t.incrementor&&vl(t.incrementor),Kf(t.statement),t.locals&&ud(t)}function zd(t){if(Dm(t),224===t.initializer.kind)Jd(t);else{var n=t.initializer,r=Ud(t.expression);if(175===n.kind||176===n.kind)Q_(n,r||Ng);else{var a=vl(n);R_(n,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access),r&&Pi(r,a,n,void 0)}}Kf(t.statement),t.locals&&ud(t)}function Kd(t){Dm(t);var n=vu(t.expression);if(224===t.initializer.kind){var r=t.initializer.declarations[0];r&&e.isBindingPattern(r.name)&&_(r.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),Jd(t)}else{var a=t.initializer,i=vl(a);175===a.kind||176===a.kind?_(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Ei(Ca(n),i)?R_(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access):_(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}Vc(n,573440)||_(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter),Kf(t.statement),t.locals&&ud(t)}function Jd(e){var t=e.initializer;if(t.declarations.length>=1){var n=t.declarations[0];Pd(n)}}function Ud(e){var t=vu(e);return Vd(t,e,!0)}function Vd(t,n,r){if(at(t))return t;if(ug>=2)return qd(t,n);if(r)return Xd(t,n);if(no(t)){var a=tr(t,1);if(a)return a}return n&&_(n,e.Diagnostics.Type_0_is_not_an_array_type,Ke(t)),Ng}function qd(e,t){var n=Wd(e,t);return t&&n&&Pi(e,Qr(n),t),n||Tg}function Wd(t,n){if(!at(t)){var r=t;if(!r.iterableElementType)if(4&k(t)&&t.target===ly())r.iterableElementType=t.typeArguments[0];else{var a=rt(t,e.getPropertyNameForKnownSymbolName("iterator"));if(at(a))return;var i=a?Qn(a,0):og;if(0===i.length)return void(n&&_(n,e.Diagnostics.Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator));r.iterableElementType=Hd(pa(e.map(i,mr),!0),n)}return r.iterableElementType}}function Hd(t,n){if(!at(t)){var r=t;if(!r.iteratorElementType)if(4&k(t)&&t.target===dy())r.iteratorElementType=t.typeArguments[0];else{var a=rt(t,"next");if(at(a))return;var i=a?Qn(a,0):og;if(0===i.length)return void(n&&_(n,e.Diagnostics.An_iterator_must_have_a_next_method));var o=pa(e.map(i,mr),!0);if(at(o))return;var s=rt(o,"value");if(!s)return void(n&&_(n,e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property));r.iteratorElementType=s}return r.iteratorElementType}}function Gd(e){if(!at(e))return 4&k(e)&&e.target===fy()?e.typeArguments[0]:Wd(e,void 0)||Hd(e,void 0)}function Xd(t,n){e.Debug.assert(ug<2);var r=t;if(65536&t.flags){var a=t.types,i=e.filter(a,function(e){return!(262178&e.flags)});i!==a&&(r=pa(i,!0))}else 262178&t.flags&&(r=Kg);var o=t!==r,s=!1;if(o&&(ug<1&&(_(n,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),s=!0),8192&r.flags))return Rg;if(!no(r)){if(!s){var c=o?e.Diagnostics.Type_0_is_not_an_array_type:e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type;_(n,c,Ke(r))}return o?Rg:Ng}var u=tr(r,1)||Ng;return o?262178&u.flags?Rg:pa([u,Rg],!0):u}function Yd(e){Gm(e)||Am(e)}function Qd(t){return!(151!==t.kind||!e.getSetAccessorTypeAnnotationNode(e.getDeclarationOfKind(t.symbol,152)))}function Zd(t,n){var r=e.isAsyncFunctionLike(t)?$l(n):n;return r&&K_(r,1025)}function $d(t){if(!Gm(t)){var n=e.getContainingFunction(t);n||jm(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}var r=e.getContainingFunction(t);if(r){var a=_r(r),i=mr(a);if(fg||t.expression||8192&i.flags){var o=t.expression?_l(t.expression):Ag;if(r.asteriskToken)return;if(152===r.kind)t.expression&&_(t.expression,e.Diagnostics.Setters_cannot_return_a_value);else if(150===r.kind)t.expression&&!Pi(o,i,t.expression)&&_(t.expression,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(r.type||Qd(r))if(e.isAsyncFunctionLike(r)){var s=$l(i),c=nd(o,t.expression||t,e.Diagnostics.Return_expression_in_async_function_does_not_have_a_valid_callable_then_member);s&&Pi(c,s,t.expression||t)}else Pi(o,i,t.expression||t)}else 150!==r.kind&&cg.noImplicitReturns&&!Zd(r,i)&&_(t,e.Diagnostics.Not_all_code_paths_return_a_value)}}function ef(t){Gm(t)||16384&t.flags&&jm(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),vl(t.expression);var n=e.getSourceFileOfNode(t);if(!Bm(n)){var r=e.getSpanOfTokenAtPosition(n,t.pos).start,a=t.statement.pos;zm(n,r,a-r,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function tf(t){Gm(t);var n,r=!1,a=vl(t.expression),o=io(a);e.forEach(t.caseBlock.clauses,function(s){if(254===s.kind&&!r)if(void 0===n)n=s;else{var c=e.getSourceFileOfNode(t),u=e.skipTrivia(c.text,s.pos),_=s.statements.length>0?s.statements[0].pos:s.end;zm(c,u,_-u,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),r=!0}if(i&&253===s.kind){var l=s,d=vl(l.expression),f=io(d),p=a;f&&o||(d=f?oo(d):d,p=oo(a)),el(p,d)||Oi(d,p,l.expression,void 0)}e.forEach(s.statements,Kf)}),t.caseBlock.locals&&ud(t.caseBlock)}function nf(t){if(!Gm(t))for(var n=t.parent;n&&!e.isFunctionLike(n);){if(219===n.kind&&n.label.text===t.label.text){var r=e.getSourceFileOfNode(t);Km(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNodeFromSourceText(r.text,t.label));break}n=n.parent}Kf(t.statement)}function rf(t){Gm(t)||void 0===t.expression&&Ym(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&vl(t.expression)}function af(t){Gm(t),hd(t.tryBlock);var n=t.catchClause;if(n){if(n.variableDeclaration)if(n.variableDeclaration.type)jm(n.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(n.variableDeclaration.initializer)jm(n.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=n.block.locals;if(r)for(var a in n.locals){var i=r[a];i&&0!==(2&i.flags)&&Km(i.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,a)}}hd(n.block)}t.finallyBlock&&hd(t.finallyBlock)}function of(t){function n(t,n,r,a,i,o){if(i&&(1!==o||Jc(t.valueDeclaration.name))){var s;if(142===t.valueDeclaration.name.kind||t.parent===r.symbol)s=t.valueDeclaration;else if(a)s=a;else if(2&k(r)){var c=e.forEach(Ut(r),function(e){return zn(e,t.name)&&tr(e,o)});s=c?void 0:r.symbol.declarations[0]}if(s&&!Ei(n,i)){var u=0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2;_(s,u,je(t),Ke(n),Ke(i))}}}var r=xr(t.symbol,1),a=xr(t.symbol,0),i=tr(t,0),o=tr(t,1);if((i||o)&&(e.forEach(jn(t),function(e){var s=At(e);n(e,s,t,a,i,0),n(e,s,t,r,o,1)}),1&k(t)&&e.isClassLike(t.symbol.valueDeclaration)))for(var s=t.symbol.valueDeclaration,c=0,u=s.members;c>s;case 46:return a>>>s;case 44:return a<1&&e.forEach(r.declarations,function(t){e.isConstEnumDeclaration(t)!==n&&_(t.name,e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)});var o=!1;e.forEach(r.declarations,function(t){if(229!==t.kind)return!1;var n=t;if(!n.members.length)return!1;var r=n.members[0];r.initializer||(o?_(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):o=!0)})}}}function Cf(t){for(var n=t.declarations,r=0,a=n;r1&&!r&&e.isInstantiatedModule(t,cg.preserveConstEnums||cg.isolatedModules)){var c=Cf(s);c&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(c)?_(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos1)for(var p=0,m=l;p0?e.concatenate(o,i):i}return e.forEach(r.getSourceFiles(),Vf),th.getDiagnostics()}function Gf(){return Xf(),th.getGlobalDiagnostics()}function Xf(){if(!i)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function Yf(e){if(e)for(;e.parent;){if(217===e.parent.kind&&e.parent.statement===e)return!0;e=e.parent}return!1}function Qf(t,n){function r(){for(;t;){switch(t.locals&&!x(t)&&i(t.locals,n),t.kind){case 261:if(!e.isExternalOrCommonJsModule(t))break;case 230:i(pe(t).exports,8914931&n);break;case 229:i(pe(t).exports,8&n);break;case 197:var r=t.name;r&&a(t.symbol,n);case 226:case 227:32&s||i(pe(t).members,793064&n);break;case 184:var o=t.name;o&&a(t.symbol,n)}e.introducesArgumentsExoticObject(t)&&a(gg,n),s=e.getModifierFlags(t),t=t.parent}i(Iy,n)}function a(e,t){if(e.flags&t){var n=e.name;o[n]||(o[n]=e)}}function i(e,t){if(t)for(var n in e){var r=e[n];a(r,t)}}var o=e.createMap(),s=0;return Yf(t)?[]:(r(),ir(o))}function Zf(e){return 70===e.kind&&$f(e.parent)&&e.parent.name===e}function $f(e){switch(e.kind){case 143:case 226:case 227:case 228:case 229:return!0}}function ep(e){for(var t=e;t.parent&&141===t.parent.kind;)t=t.parent;return t.parent&&(157===t.parent.kind||272===t.parent.kind)}function tp(e){for(var t=e;t.parent&&177===t.parent.kind;)t=t.parent;return t.parent&&199===t.parent.kind}function np(t,n){for(var r;;){if(t=e.getContainingClass(t),!t)break;if(r=n(t))break}return r}function rp(e,t){return!!np(e,function(e){return e===t})}function ap(e){for(;141===e.parent.kind;)e=e.parent;return 234===e.parent.kind?e.parent.moduleReference===e&&e.parent:240===e.parent.kind?e.parent.expression===e&&e.parent:void 0}function ip(e){return void 0!==ap(e)}function op(t){if(e.isDeclarationName(t))return pe(t.parent);if(e.isInJavaScriptFile(t)&&177===t.parent.kind){var n=e.getSpecialPropertyAssignmentKind(t.parent.parent);switch(n){case 1:case 3:return pe(t.parent);case 4:case 2:return pe(t.parent.parent)}}if(240===t.parent.kind&&e.isEntityNameExpression(t))return ee(t,9289727);if(177!==t.kind&&ip(t)){var r=e.getAncestor(t,234);return e.Debug.assert(void 0!==r),Z(t,!0)}if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),tp(t)){var a=0;return 199===t.parent.kind?(a=793064,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(a|=107455)):a=1920,a|=8388608,ee(t,a)}if(e.isPartOfExpression(t)){if(e.nodeIsMissing(t))return;if(70===t.kind)return e.isJSXTagName(t)&&eu(t)?au(t.parent):ee(t,107455,!1,!0);if(177===t.kind){var i=b(t).resolvedSymbol;return i||bu(t),b(t).resolvedSymbol}if(141===t.kind){var i=b(t).resolvedSymbol;return i||ku(t),b(t).resolvedSymbol}}else{if(ep(t)){var a=157===t.parent.kind||272===t.parent.kind?793064:1920;return ee(t,a,!1,!0)}if(250===t.parent.kind)return uu(t.parent)}return 156===t.parent.kind?ee(t,1):void 0}function sp(t){if(261===t.kind)return e.isExternalModule(t)?fe(t.symbol):void 0;if(!Yf(t)){if(e.isDeclarationName(t))return pe(t.parent);if(e.isLiteralComputedPropertyDeclarationName(t))return pe(t.parent.parent);if(70===t.kind){if(ip(t))return op(t);if(174===t.parent.kind&&172===t.parent.parent.kind&&t===t.parent.propertyName){var n=_p(t.parent.parent),r=n&&Xn(n,t.text);if(r)return r}}switch(t.kind){case 70:case 177:case 141:return op(t);case 98:var a=e.getThisContainer(t,!1);if(e.isFunctionLike(a)){var i=_r(a);if(i.thisParameter)return i.thisParameter}case 96:var o=e.isPartOfExpression(t)?hl(t):Wa(t);return o.symbol;case 167:return Wa(t).symbol;case 122:var s=t.parent;if(s&&150===s.kind)return s.parent.symbol;return;case 9:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(235===t.parent.kind||241===t.parent.kind)&&t.parent.moduleSpecifier===t)return te(t,t);if(e.isInJavaScriptFile(t)&&e.isRequireCall(t.parent,!1))return te(t,t);case 8:if(178===t.parent.kind&&t.parent.argumentExpression===t){var c=hl(t.parent.expression);if(c===Ng)return;var u=qn(c);if(u===Ng)return;return Xn(u,t.text)}}}}function cp(e){if(e&&258===e.kind)return ee(e.name,8496063)}function up(e){return e.parent.parent.moduleSpecifier?J(e.parent.parent,e):ee(e.propertyName||e.name,9289727)}function _p(t){if(Yf(t))return Ng;if(e.isPartOfTypeNode(t))return Wa(t);if(e.isPartOfExpression(t))return fp(t);if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t))return Ut(rn(pe(t.parent.parent)))[0];if($f(t)){var n=pe(t);return rn(n)}if(Zf(t)){var n=sp(t);return n&&rn(n)}if(e.isDeclaration(t)){var n=pe(t);return At(n)}if(e.isDeclarationName(t)){var n=sp(t);return n&&At(n)}if(e.isBindingPattern(t))return pt(t.parent,!0);if(ip(t)){var n=sp(t),r=n&&rn(n);return r!==Ng?r:At(n)}return Ng}function lp(t){if(e.Debug.assert(176===t.kind||175===t.kind),213===t.parent.kind){var n=Ud(t.parent.expression);return Q_(t,n||Ng)}if(192===t.parent.kind){var n=hl(t.parent.right);return Q_(t,n||Ng)}if(257===t.parent.kind){var r=lp(t.parent.parent);return G_(r||Ng,t.parent)}e.Debug.assert(175===t.parent.kind);var a=lp(t.parent),i=Vd(a||Ng,t.parent,!1)||Ng;return Y_(t.parent,a,e.indexOf(t.parent.elements,t),i||Ng)}function dp(e){var t=lp(e.parent.parent);return t&&Xn(t,e.text)}function fp(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),ja(hl(t))}function pp(t){var n=pe(t.parent);return 32&e.getModifierFlags(t)?At(n):rn(n)}function mp(t){t=qn(t);var n=_n(Jn(t));return(Qn(t,0).length||Qn(t,1).length)&&e.forEach(Jn($g),function(e){n[e.name]||(n[e.name]=e)}),De(n)}function gp(t){if(268435456&t.flags){var n=[],r=t.name;return e.forEach(v(t).containingType.types,function(e){var t=Xn(e,r);t&&n.push(t)}),n}if(67108864&t.flags){if(t.leftSpread){var a=t;return[a.leftSpread,a.rightSpread]}for(var i=void 0,o=t;o=v(o).target;)i=o;if(i)return[i]}return[t]}function yp(t){return!(e.isGeneratedIdentifier(t)||!(t=e.getParseTreeNode(t,e.isIdentifier)))&&Kp(t)===gg}function hp(t){function n(e){return e=G(e),e&&!!(107455&e.flags)}var r=te(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var a=oe(r);r=ae(r);var i=v(r);return void 0===i.exportsSomeValue&&(i.exportsSomeValue=a?!!(107455&r.flags):e.forEachProperty(_e(r),n)),i.exportsSomeValue}function vp(t){var n=t.parent;return n&&e.isModuleOrEnumDeclaration(n)&&t===n.name}function bp(t,n){if(t=e.getParseTreeNode(t,e.isIdentifier)){var r=Kp(t,vp(t));if(r){if(1048576&r.flags){var a=fe(r.exportSymbol);if(!n&&944&a.flags)return;r=a}var i=me(r);if(i){if(512&i.flags&&261===i.valueDeclaration.kind){var o=i.valueDeclaration,s=e.getSourceFileOfNode(t),c=o!==s;return c?void 0:o}for(var u=t.parent;u;u=u.parent)if(e.isModuleOrEnumDeclaration(u)&&pe(u)===i)return u}}}}function kp(t){if(t=e.getParseTreeNode(t,e.isIdentifier)){var n=Kp(t);if(n&&8388608&n.flags)return I(n)}}function xp(t){if(418&t.flags){var n=v(t);if(void 0===n.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(r)){var a=b(t.valueDeclaration);if(E(r.parent,t.name,107455,void 0,void 0))n.isDeclarationWithCollidingName=!0;else if(131072&a.flags){var i=262144&a.flags,o=e.isIterationStatement(r,!1),s=204===r.kind&&e.isIterationStatement(r.parent,!1);n.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s))}else n.isDeclarationWithCollidingName=!1}}return n.isDeclarationWithCollidingName}return!1}function Sp(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=Kp(t);if(n&&xp(n))return n.valueDeclaration}}function Dp(t){if(t=e.getParseTreeNode(t,e.isDeclaration)){var n=pe(t);if(n)return xp(n)}return!1}function Cp(t){if(t=e.getParseTreeNode(t),void 0===t)return!0;switch(t.kind){case 234:case 236:case 237:case 239:case 243:return Tp(pe(t)||Cg);case 241:var n=t.exportClause;return n&&e.forEach(n.elements,Cp);case 240:return!t.expression||70!==t.expression.kind||Tp(pe(t)||Cg)}return!1}function Ep(t){if(t=e.getParseTreeNode(t,e.isImportEqualsDeclaration),void 0===t||261!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))return!1;var n=Tp(pe(t));return n&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function Tp(e){var t=X(e);return t===Cg||107455&t.flags&&(cg.preserveConstEnums||!wp(t))}function wp(e){return V_(e)||e.constEnumOnlyModule}function Np(t,n){if(t=e.getParseTreeNode(t),void 0===t)return!0;if(e.isAliasSymbolDeclaration(t)){var r=pe(t);if(r&&v(r).referenced)return!0}return!!n&&e.forEachChild(t,function(e){return Np(e,n)})}function Ap(t){if(e.nodeIsPresent(t.body)){var n=pe(t),r=dr(n);return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function Pp(t){return t=e.getParseTreeNode(t),t?b(t).flags:void 0}function Op(e){return Sf(e.parent),b(e).enumMemberValue}function Fp(t){if(260===t.kind)return Op(t);var n=b(t).resolvedSymbol;return n&&8&n.flags&&e.isConstEnumDeclaration(n.valueDeclaration.parent)?Op(n.valueDeclaration):void 0}function Rp(e){return 32768&e.flags&&Qn(e,0).length>0}function Ip(t,n){var r=ee(t,107455,!0,!1,n),a=Qg();if(a&&r===a)return e.TypeReferenceSerializationKind.Promise;var i=r?At(r):void 0;if(i&&Bt(i))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue;var o=ee(t,793064,!0,!1,n);if(!o)return e.TypeReferenceSerializationKind.ObjectType;var s=rn(o);return s===Ng?e.TypeReferenceSerializationKind.Unknown:1&s.flags?e.TypeReferenceSerializationKind.ObjectType:J_(s,15360)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:J_(s,136)?e.TypeReferenceSerializationKind.BooleanType:J_(s,340)?e.TypeReferenceSerializationKind.NumberLikeType:J_(s,262178)?e.TypeReferenceSerializationKind.StringLikeType:co(s)?e.TypeReferenceSerializationKind.ArrayLikeType:J_(s,512)?e.TypeReferenceSerializationKind.ESSymbolType:Rp(s)?e.TypeReferenceSerializationKind.TypeWithCallSignature:to(s)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function Lp(e,t,n,r){var a=pe(e),i=!a||133120&a.flags?Ng:so(At(a));Ge().buildTypeDisplay(i,r,t,n)}function Mp(e,t,n,r){var a=_r(e);Ge().buildTypeDisplay(mr(a),r,t,n)}function Bp(e,t,n,r){var a=ko(fp(e));Ge().buildTypeDisplay(a,r,t,n)}function jp(e,t,n,r){var a=rn(pe(e));Vt(a);var i=a.resolvedBaseTypes.length?a.resolvedBaseTypes[0]:Ng;Ge().buildTypeDisplay(i,r,t,n)}function zp(e){return!!Iy[e]}function Kp(t,n){var r=b(t).resolvedSymbol;if(r)return r;var a=t;if(n){var i=t.parent;e.isDeclaration(i)&&t===i.name&&(a=tt(i))}return E(a,t.text,9544639,void 0,void 0)}function Jp(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=Kp(t);if(n)return ge(n).valueDeclaration}}function Up(t){if(e.isConst(t)){var n=At(pe(t));return!!(96&n.flags&&1048576&n.flags)}return!1}function Vp(e,t){var n=At(pe(e));t.writeStringLiteral(He(n))}function qp(){function t(e){if(i){var t=177===e.kind||70===e.kind&&Ko(e)?1156031:794600,r=ee(e,t,!0);return r&&r!==Cg?n(r,t):void 0}}function n(t,n){if(i&&a(t)){for(var r,o=0,s=t.declarations;o=2?(_y=e.memoize(function(){return Hr("Symbol")}),ly=e.memoize(function(){return Hr("Iterable",1)}),dy=e.memoize(function(){return Hr("Iterator",1)}),fy=e.memoize(function(){return Hr("IterableIterator",1)})):(_y=e.memoize(function(){return Ug}),ly=e.memoize(function(){return Wg}),dy=e.memoize(function(){return Wg}),fy=e.memoize(function(){return Wg})),oy=$r(Tg),sy=$r(wg);var b=Wr("ReadonlyArray",793064,void 0);ty=b&&Ur(b,1),cy=ty?Yr(ty,[Tg]):oy}function Gp(t,n){if(($m&n)!==n&&cg.importHelpers){var r=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(r,cg)){var a=Yp(r,t);if(a!==Cg)for(var i=n&~$m,o=1;o<=128;o<<=1)if(i&o){var s=Xp(o),c=S(a.exports,e.escapeIdentifier(s),107455);c||_(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s)}$m|=n}}}function Xp(e){switch(e){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"}}function Yp(t,n){return eg||(eg=re(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||Cg),eg}function Qp(){var e=ky();return e!==Wg?Pr(e,[Tg]):Ug}function Zp(){var e=l(67108868,"then");v(e).type=$g;var t=xe(16);return t.properties=[e],t.members=_n(t.properties),t.callSignatures=[],t.constructSignatures=[],t}function $p(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t))return 149!==t.kind||e.nodeIsPresent(t.body)?jm(t,e.Diagnostics.Decorators_are_not_valid_here):jm(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(151===t.kind||152===t.kind){ -var n=e.getAllAccessorDeclarations(t.parent.members,t);if(n.firstAccessor.decorators&&t===n.secondAccessor)return jm(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}function em(t){var n=tm(t);if(void 0!==n)return n;for(var r,a,i,o,s,c,u=0,_=0,l=t.modifiers;_1||e.modifiers[0].kind!==t}function am(t,n){switch(t.kind){case 149:case 225:case 184:case 185:if(!t.asteriskToken)return!1}return Km(n,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function im(t){if(t&&t.hasTrailingComma){var n=t.end-",".length,r=t.end,a=e.getSourceFileOfNode(t[0]);return zm(a,n,r-n,e.Diagnostics.Trailing_comma_not_allowed)}}function om(t,n){if(im(t))return!0;if(t&&0===t.length){var r=t.pos-"<".length,a=e.skipTrivia(n.text,t.end)+">".length;return zm(n,r,a-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}}function sm(t){for(var n=!1,r=t.length,a=0;a".length;return zm(r,a,i-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function fm(e,t){return im(t)||dm(e,t)}function pm(t,n){if(n)for(var r=e.getSourceFileOfNode(t),a=0,i=n;a1)return jm(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);n=!0}else{if(e.Debug.assert(107===o.token),r)return jm(o,e.Diagnostics.implements_clause_already_seen);r=!0}gm(o)}}function hm(t){var n=!1;if(t.heritageClauses)for(var r=0,a=t.heritageClauses;r1){var a=212===t.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 jm(n.declarations[1],a)}var i=r[0];if(i.initializer){var a=212===t.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 Km(i.name,a)}if(i.type){var a=212===t.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 Km(i,a)}}}return!1}function Cm(t){var n=t.kind;if(ug<1)return Km(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(e.isInAmbientContext(t))return Km(t.name,e.Diagnostics.An_accessor_cannot_be_declared_in_an_ambient_context);if(!(void 0!==t.body||128&e.getModifierFlags(t)))return zm(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{");if(t.body&&128&e.getModifierFlags(t))return Km(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return Km(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!Em(t))return Km(t.name,151===n?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(152===n){if(t.type)return Km(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var r=t.parameters[0];if(r.dotDotDotToken)return Km(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return Km(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return Km(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}function Em(e){return Tm(e)||e.parameters.length===(151===e.kind?0:1)}function Tm(t){if(t.parameters.length===(151===t.kind?1:2))return e.getThisParameter(t)}function wm(t,n){if(e.isDynamicName(t))return Km(t,n)}function Nm(t){if(Rd(t)||cm(t)||bm(t))return!0;if(176===t.parent.kind){if(km(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(void 0===t.body)return zm(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(e.isClassLike(t.parent)){if(e.isInAmbientContext(t))return wm(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol);if(!t.body)return wm(t.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol)}else{if(227===t.parent.kind)return wm(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol);if(161===t.parent.kind)return wm(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol)}}function Am(t){for(var n=t;n;){if(e.isFunctionLike(n))return Km(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 219:if(t.label&&n.label.text===t.label.text){var r=214===t.kind&&!e.isIterationStatement(n.statement,!0);return!!r&&Km(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}break;case 218:if(215===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(n,!1)&&!t.label)return!1}n=n.parent}if(t.label){var a=215===t.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return Km(t,a)}var a=215===t.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return Km(t,a)}function Pm(t){if(t.dotDotDotToken){var n=t.parent.elements;if(t!==e.lastOrUndefined(n))return Km(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(173===t.name.kind||172===t.name.kind)return Km(t.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(t.initializer)return zm(e.getSourceFileOfNode(t),t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function Om(e){return 9===e.kind||8===e.kind||190===e.kind&&37===e.operator&&8===e.operand.kind}function Fm(t){if(212!==t.parent.parent.kind&&213!==t.parent.parent.kind)if(e.isInAmbientContext(t)){if(t.initializer){if(!e.isConst(t)||t.type){var n="=".length;return zm(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!Om(t.initializer))return Km(t.initializer,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal)}if(t.initializer&&(!e.isConst(t)||!Om(t.initializer))){var n="=".length;return zm(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return Km(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isConst(t))return Km(t,e.Diagnostics.const_declarations_must_be_initialized)}var r=e.isLet(t)||e.isConst(t);return r&&Rm(t.name)}function Rm(t){if(70===t.kind){if(109===t.originalKeywordKind)return Km(t,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var n=t.elements,r=0,a=n;r0}function jm(t,n,r,a,i){var o=e.getSourceFileOfNode(t);if(!Bm(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return th.add(e.createFileDiagnostic(o,s.start,s.length,n,r,a,i)),!0}}function zm(t,n,r,a,i,o,s){if(!Bm(t))return th.add(e.createFileDiagnostic(t,n,r,a,i,o,s)),!0}function Km(t,n,r,a,i){var o=e.getSourceFileOfNode(t);if(!Bm(o))return th.add(e.createDiagnosticForNode(t,n,r,a,i)),!0}function Jm(t){if(t.typeParameters)return zm(e.getSourceFileOfNode(t),t.typeParameters.pos,t.typeParameters.end-t.typeParameters.pos,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}function Um(t){if(t.type)return Km(t.type,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function Vm(t){if(e.isClassLike(t.parent)){if(wm(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol))return!0}else if(227===t.parent.kind){if(wm(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return Km(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(161===t.parent.kind){if(wm(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return Km(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(e.isInAmbientContext(t)&&t.initializer)return jm(t.initializer,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}function qm(t){return!(227===t.kind||228===t.kind||235===t.kind||234===t.kind||241===t.kind||240===t.kind||233===t.kind||515&e.getModifierFlags(t))&&jm(t,e.Diagnostics.A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file)}function Wm(t){for(var n=0,r=t.statements;n=1)return Km(t,e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher)}function Ym(t,n,r,a,i){var o=e.getSourceFileOfNode(t);if(!Bm(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return th.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,n,r,a,i)),!0}}function Qm(){var e=[];for(var t in Iy)a.test(t)&&e.push(Iy[t]);return e}var Zm,$m,eg,tg=e.objectAllocator.getSymbolConstructor(),ng=e.objectAllocator.getTypeConstructor(),rg=e.objectAllocator.getSignatureConstructor(),ag=0,ig=0,og=[],sg=e.createMap(),cg=r.getCompilerOptions(),ug=cg.target||0,_g=e.getEmitModuleKind(cg),lg=!!cg.noUnusedLocals||!!cg.noUnusedParameters,dg="undefined"!=typeof cg.allowSyntheticDefaultImports?cg.allowSyntheticDefaultImports:_g===e.ModuleKind.System,fg=cg.strictNullChecks,pg=qp(),mg=l(67108868,"undefined");mg.declarations=[];var gg=l(67108868,"arguments"),yg={getNodeCount:function(){return e.sum(r.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(r.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(r.getSourceFiles(),"symbolCount")+ig},getTypeCount:function(){return ag},isUndefinedSymbol:function(e){return e===mg},isArgumentsSymbol:function(e){return e===gg},isUnknownSymbol:function(e){return e===Cg},getDiagnostics:Wf,getGlobalDiagnostics:Gf,getTypeOfSymbolAtLocation:Hs,getSymbolsOfParameterPropertyDeclaration:D,getDeclaredTypeOfSymbol:rn,getPropertiesOfType:Jn,getPropertyOfType:Xn,getSignaturesOfType:Qn,getIndexTypeOfType:tr,getBaseTypes:Ut,getReturnTypeOfSignature:mr,getNonNullableType:po,getSymbolsInScope:Qf,getSymbolAtLocation:sp,getShorthandAssignmentValueSymbol:cp,getExportSpecifierLocalTargetSymbol:up,getTypeAtLocation:_p,getPropertySymbolOfDestructuringAssignment:dp,typeToString:Ke,getSymbolDisplayBuilder:Ge,symbolToString:je,getAugmentedPropertiesOfType:mp,getRootSymbols:gp,getContextualType:Pc,getFullyQualifiedName:$,getResolvedSignature:o_,getConstantValue:Fp,isValidPropertyAccess:Cu,getSignatureFromDeclaration:_r,isImplementationOfOverload:Ap,getAliasedSymbol:X,getEmitResolver:u,getExportsOfModule:se,getAmbientModules:Qm,getJsxElementAttributesType:cu,getJsxIntrinsicTagNames:lu,isOptionalParameter:cr,tryGetMemberInModuleExports:ce,tryFindAmbientModuleWithoutAugmentations:function(e){return sr(e,!1)}},hg=[],vg=e.createMap(),bg=e.createMap(),kg=e.createMap(),xg=e.createMap(),Sg=e.createMap(),Dg=[],Cg=l(67108868,"unknown"),Eg=l(67108864,"__resolving__"),Tg=be(1,"any"),wg=be(1,"any"),Ng=be(1,"unknown"),Ag=be(2048,"undefined"),Pg=fg?Ag:be(2099200,"undefined"),Og=be(4096,"null"),Fg=fg?Og:be(2101248,"null"),Rg=be(2,"string"),Ig=be(4,"number"),Lg=be(128,"true"),Mg=be(128,"false"),Bg=ke([Lg,Mg]),jg=be(512,"symbol"),zg=be(1024,"void"),Kg=be(8192,"never"),Jg=be(8192,"never"),Ug=Ee(void 0,sg,og,og,void 0,void 0),Vg=l(67110912,"__type");Vg.members=e.createMap();var qg=Ee(Vg,sg,og,og,void 0,void 0),Wg=Ee(void 0,sg,og,og,void 0,void 0);Wg.instantiations=e.createMap();var Hg=Ee(void 0,sg,og,og,void 0,void 0);Hg.flags|=8388608;var Gg,Xg,Yg,Qg,Zg,$g,ey,ty,ny,ry,ay,iy,oy,sy,cy,uy,_y,ly,dy,fy,py,my,gy,yy,hy,vy,by,ky,xy,Sy,Dy,Cy,Ey,Ty,wy,Ny=Ee(void 0,sg,og,og,void 0,void 0),Ay=hn(void 0,void 0,void 0,og,Tg,void 0,0,!1,!1),Py=hn(void 0,void 0,void 0,og,Ng,void 0,0,!1,!1),Oy=hn(void 0,void 0,void 0,og,Tg,void 0,0,!1,!1),Fy=hn(void 0,void 0,void 0,og,Jg,void 0,0,!1,!1),Ry=Sr(Rg,!0),Iy=e.createMap(),Ly=0,My=0,By=0,jy=za(32,""),zy=za(64,"0"),Ky=[],Jy=[],Uy=[],Vy=[],qy=[],Wy=[],Hy=[],Gy=[],Xy=[],Yy=[],Qy=[],Zy=[],$y=[],eh=[],th=e.createDiagnosticCollection();!function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBoolean=4]="TypeofEQBoolean",e[e.TypeofEQSymbol=8]="TypeofEQSymbol",e[e.TypeofEQObject=16]="TypeofEQObject",e[e.TypeofEQFunction=32]="TypeofEQFunction",e[e.TypeofEQHostObject=64]="TypeofEQHostObject",e[e.TypeofNEString=128]="TypeofNEString",e[e.TypeofNENumber=256]="TypeofNENumber",e[e.TypeofNEBoolean=512]="TypeofNEBoolean",e[e.TypeofNESymbol=1024]="TypeofNESymbol",e[e.TypeofNEObject=2048]="TypeofNEObject",e[e.TypeofNEFunction=4096]="TypeofNEFunction",e[e.TypeofNEHostObject=8192]="TypeofNEHostObject",e[e.EQUndefined=16384]="EQUndefined",e[e.EQNull=32768]="EQNull",e[e.EQUndefinedOrNull=65536]="EQUndefinedOrNull",e[e.NEUndefined=131072]="NEUndefined",e[e.NENull=262144]="NENull",e[e.NEUndefinedOrNull=524288]="NEUndefinedOrNull",e[e.Truthy=1048576]="Truthy",e[e.Falsy=2097152]="Falsy",e[e.Discriminatable=4194304]="Discriminatable",e[e.All=8388607]="All",e[e.BaseStringStrictFacts=933633]="BaseStringStrictFacts",e[e.BaseStringFacts=3145473]="BaseStringFacts",e[e.StringStrictFacts=4079361]="StringStrictFacts",e[e.StringFacts=4194049]="StringFacts",e[e.EmptyStringStrictFacts=3030785]="EmptyStringStrictFacts",e[e.EmptyStringFacts=3145473]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=1982209]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=4194049]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=933506]="BaseNumberStrictFacts",e[e.BaseNumberFacts=3145346]="BaseNumberFacts",e[e.NumberStrictFacts=4079234]="NumberStrictFacts",e[e.NumberFacts=4193922]="NumberFacts",e[e.ZeroStrictFacts=3030658]="ZeroStrictFacts",e[e.ZeroFacts=3145346]="ZeroFacts",e[e.NonZeroStrictFacts=1982082]="NonZeroStrictFacts",e[e.NonZeroFacts=4193922]="NonZeroFacts",e[e.BaseBooleanStrictFacts=933252]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=3145092]="BaseBooleanFacts",e[e.BooleanStrictFacts=4078980]="BooleanStrictFacts",e[e.BooleanFacts=4193668]="BooleanFacts",e[e.FalseStrictFacts=3030404]="FalseStrictFacts",e[e.FalseFacts=3145092]="FalseFacts",e[e.TrueStrictFacts=1981828]="TrueStrictFacts",e[e.TrueFacts=4193668]="TrueFacts",e[e.SymbolStrictFacts=1981320]="SymbolStrictFacts",e[e.SymbolFacts=4193160]="SymbolFacts",e[e.ObjectStrictFacts=6166480]="ObjectStrictFacts",e[e.ObjectFacts=8378320]="ObjectFacts",e[e.FunctionStrictFacts=6164448]="FunctionStrictFacts",e[e.FunctionFacts=8376288]="FunctionFacts",e[e.UndefinedFacts=2457472]="UndefinedFacts",e[e.NullFacts=2340752]="NullFacts"}(wy||(wy={}));var nh,rh,ah,ih,oh,sh=e.createMap({string:1,number:2,boolean:4,symbol:8,undefined:16384,object:16,function:32}),ch=e.createMap({string:128,number:256,boolean:512,symbol:1024,undefined:131072,object:2048,function:4096}),uh=e.createMap({string:Rg,number:Ig,boolean:Bg,symbol:jg,undefined:Ag}),_h=e.createMap(),lh={JSX:"JSX",IntrinsicElements:"IntrinsicElements",ElementClass:"ElementClass",ElementAttributesPropertyNameContainer:"ElementAttributesProperty",Element:"Element",IntrinsicAttributes:"IntrinsicAttributes",IntrinsicClassAttributes:"IntrinsicClassAttributes"},dh=e.createMap(),fh=e.createMap(),ph=e.createMap(),mh=e.createMap(),gh=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType"}(oh||(oh={}));var yh=e.createMap();return yh[mg.name]=mg,Hp(),yg}var a=/^".+"$/,i=1,o=1,s=1,c=1;e.getNodeId=t,e.getSymbolId=n,e.createTypeChecker=r}(o||(o={}));var o;!function(e){function t(e,t,n){return e?t(n,e):n}function n(e,t,n){return e?t(n,e):n}function r(r,a,i,o){if(void 0===r)return a;var s=o?n:e.reduceLeft,c=o||i,u=r.kind;if(u>0&&u<=140)return a;if(u>=156&&u<=171)return a;var _=a;switch(r.kind){case 203:case 206:case 198:case 222:case 293:break;case 142:_=t(r.expression,i,_);break;case 144:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=t(r.type,i,_),_=t(r.initializer,i,_);break;case 145:_=t(r.expression,i,_);break;case 147:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=t(r.type,i,_),_=t(r.initializer,i,_);break;case 149:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.typeParameters,c,_),_=s(r.parameters,c,_),_=t(r.type,i,_),_=t(r.body,i,_);break;case 150:_=s(r.modifiers,c,_),_=s(r.parameters,c,_),_=t(r.body,i,_);break;case 151:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.parameters,c,_),_=t(r.type,i,_),_=t(r.body,i,_);break;case 152:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.parameters,c,_),_=t(r.body,i,_);break;case 172:case 173:_=s(r.elements,c,_);break;case 174:_=t(r.propertyName,i,_),_=t(r.name,i,_),_=t(r.initializer,i,_);break;case 175:_=s(r.elements,c,_);break;case 176:_=s(r.properties,c,_);break;case 177:_=t(r.expression,i,_),_=t(r.name,i,_);break;case 178:_=t(r.expression,i,_),_=t(r.argumentExpression,i,_);break;case 179:_=t(r.expression,i,_),_=s(r.typeArguments,c,_),_=s(r.arguments,c,_);break;case 180:_=t(r.expression,i,_),_=s(r.typeArguments,c,_),_=s(r.arguments,c,_);break;case 181:_=t(r.tag,i,_),_=t(r.template,i,_);break;case 184:_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.typeParameters,c,_),_=s(r.parameters,c,_),_=t(r.type,i,_),_=t(r.body,i,_);break;case 185:_=s(r.modifiers,c,_),_=s(r.typeParameters,c,_),_=s(r.parameters,c,_),_=t(r.type,i,_),_=t(r.body,i,_);break;case 183:case 186:case 187:case 188:case 189:case 195:case 196:case 201:_=t(r.expression,i,_);break;case 190:case 191:_=t(r.operand,i,_);break;case 192:_=t(r.left,i,_),_=t(r.right,i,_);break;case 193:_=t(r.condition,i,_),_=t(r.whenTrue,i,_),_=t(r.whenFalse,i,_);break;case 194:_=t(r.head,i,_),_=s(r.templateSpans,c,_);break;case 197:_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.typeParameters,c,_),_=s(r.heritageClauses,c,_),_=s(r.members,c,_);break;case 199:_=t(r.expression,i,_),_=s(r.typeArguments,c,_);break;case 202:_=t(r.expression,i,_),_=t(r.literal,i,_);break;case 204:_=s(r.statements,c,_);break;case 205:_=s(r.modifiers,c,_),_=t(r.declarationList,i,_);break;case 207:_=t(r.expression,i,_);break;case 208:_=t(r.expression,i,_),_=t(r.thenStatement,i,_),_=t(r.elseStatement,i,_);break;case 209:_=t(r.statement,i,_),_=t(r.expression,i,_);break;case 210:case 217:_=t(r.expression,i,_),_=t(r.statement,i,_);break;case 211:_=t(r.initializer,i,_),_=t(r.condition,i,_),_=t(r.incrementor,i,_),_=t(r.statement,i,_);break;case 212:case 213:_=t(r.initializer,i,_),_=t(r.expression,i,_),_=t(r.statement,i,_);break;case 216:case 220:_=t(r.expression,i,_);break;case 218:_=t(r.expression,i,_),_=t(r.caseBlock,i,_);break;case 219:_=t(r.label,i,_),_=t(r.statement,i,_);break;case 221:_=t(r.tryBlock,i,_),_=t(r.catchClause,i,_),_=t(r.finallyBlock,i,_);break;case 223:_=t(r.name,i,_),_=t(r.type,i,_),_=t(r.initializer,i,_);break;case 224:_=s(r.declarations,c,_);break;case 225:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.typeParameters,c,_),_=s(r.parameters,c,_),_=t(r.type,i,_),_=t(r.body,i,_);break;case 226:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.name,i,_),_=s(r.typeParameters,c,_),_=s(r.heritageClauses,c,_),_=s(r.members,c,_);break;case 232:_=s(r.clauses,c,_);break;case 235:_=s(r.decorators,c,_),_=s(r.modifiers,c,_),_=t(r.importClause,i,_),_=t(r.moduleSpecifier,i,_);break;case 236:_=t(r.name,i,_),_=t(r.namedBindings,i,_);break;case 237:_=t(r.name,i,_);break;case 238:case 242:_=s(r.elements,c,_);break;case 239:case 243:_=t(r.propertyName,i,_),_=t(r.name,i,_);break;case 240:_=e.reduceLeft(r.decorators,i,_),_=e.reduceLeft(r.modifiers,i,_), -_=t(r.expression,i,_);break;case 241:_=e.reduceLeft(r.decorators,i,_),_=e.reduceLeft(r.modifiers,i,_),_=t(r.exportClause,i,_),_=t(r.moduleSpecifier,i,_);break;case 246:_=t(r.openingElement,i,_),_=e.reduceLeft(r.children,i,_),_=t(r.closingElement,i,_);break;case 247:case 248:_=t(r.tagName,i,_),_=s(r.attributes,c,_);break;case 249:_=t(r.tagName,i,_);break;case 250:_=t(r.name,i,_),_=t(r.initializer,i,_);break;case 251:_=t(r.expression,i,_);break;case 252:_=t(r.expression,i,_);break;case 253:_=t(r.expression,i,_);case 254:_=s(r.statements,c,_);break;case 255:_=s(r.types,c,_);break;case 256:_=t(r.variableDeclaration,i,_),_=t(r.block,i,_);break;case 257:_=t(r.name,i,_),_=t(r.initializer,i,_);break;case 258:_=t(r.name,i,_),_=t(r.objectAssignmentInitializer,i,_);break;case 259:_=t(r.expression,i,_);break;case 261:_=s(r.statements,c,_);break;case 294:_=t(r.expression,i,_);break;default:var l=b[u];if(l)for(var d=0,f=l;du-a)&&(i=u-a),(a>0||i0&&u<=140)return t;if(u>=156&&u<=171)return t;switch(t.kind){case 203:case 206:case 198:case 222:return t;case 142:return e.updateComputedPropertyName(t,a(t.expression,n,e.isExpression));case 144:return e.updateParameter(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),t.dotDotDotToken,a(t.name,n,e.isBindingName),a(t.type,n,e.isTypeNode,!0),a(t.initializer,n,e.isExpression,!0));case 147:return e.updateProperty(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),a(t.type,n,e.isTypeNode,!0),a(t.initializer,n,e.isExpression,!0));case 149:return e.updateMethod(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),i(t.typeParameters,n,e.isTypeParameter),s(t.parameters,n,r),a(t.type,n,e.isTypeNode,!0),c(t.body,n,r));case 150:return e.updateConstructor(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),s(t.parameters,n,r),c(t.body,n,r));case 151:return e.updateGetAccessor(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),s(t.parameters,n,r),a(t.type,n,e.isTypeNode,!0),c(t.body,n,r));case 152:return e.updateSetAccessor(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),s(t.parameters,n,r),c(t.body,n,r));case 172:return e.updateObjectBindingPattern(t,i(t.elements,n,e.isBindingElement));case 173:return e.updateArrayBindingPattern(t,i(t.elements,n,e.isArrayBindingElement));case 174:return e.updateBindingElement(t,t.dotDotDotToken,a(t.propertyName,n,e.isPropertyName,!0),a(t.name,n,e.isBindingName),a(t.initializer,n,e.isExpression,!0));case 175:return e.updateArrayLiteral(t,i(t.elements,n,e.isExpression));case 176:return e.updateObjectLiteral(t,i(t.properties,n,e.isObjectLiteralElementLike));case 177:return e.updatePropertyAccess(t,a(t.expression,n,e.isExpression),a(t.name,n,e.isIdentifier));case 178:return e.updateElementAccess(t,a(t.expression,n,e.isExpression),a(t.argumentExpression,n,e.isExpression));case 179:return e.updateCall(t,a(t.expression,n,e.isExpression),i(t.typeArguments,n,e.isTypeNode),i(t.arguments,n,e.isExpression));case 180:return e.updateNew(t,a(t.expression,n,e.isExpression),i(t.typeArguments,n,e.isTypeNode),i(t.arguments,n,e.isExpression));case 181:return e.updateTaggedTemplate(t,a(t.tag,n,e.isExpression),a(t.template,n,e.isTemplateLiteral));case 183:return e.updateParen(t,a(t.expression,n,e.isExpression));case 184:return e.updateFunctionExpression(t,i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),i(t.typeParameters,n,e.isTypeParameter),s(t.parameters,n,r),a(t.type,n,e.isTypeNode,!0),c(t.body,n,r));case 185:return e.updateArrowFunction(t,i(t.modifiers,n,e.isModifier),i(t.typeParameters,n,e.isTypeParameter),s(t.parameters,n,r),a(t.type,n,e.isTypeNode,!0),c(t.body,n,r));case 186:return e.updateDelete(t,a(t.expression,n,e.isExpression));case 187:return e.updateTypeOf(t,a(t.expression,n,e.isExpression));case 188:return e.updateVoid(t,a(t.expression,n,e.isExpression));case 189:return e.updateAwait(t,a(t.expression,n,e.isExpression));case 192:return e.updateBinary(t,a(t.left,n,e.isExpression),a(t.right,n,e.isExpression));case 190:return e.updatePrefix(t,a(t.operand,n,e.isExpression));case 191:return e.updatePostfix(t,a(t.operand,n,e.isExpression));case 193:return e.updateConditional(t,a(t.condition,n,e.isExpression),a(t.whenTrue,n,e.isExpression),a(t.whenFalse,n,e.isExpression));case 194:return e.updateTemplateExpression(t,a(t.head,n,e.isTemplateHead),i(t.templateSpans,n,e.isTemplateSpan));case 195:return e.updateYield(t,a(t.expression,n,e.isExpression));case 196:return e.updateSpread(t,a(t.expression,n,e.isExpression));case 197:return e.updateClassExpression(t,i(t.modifiers,n,e.isModifier),a(t.name,n,e.isIdentifier,!0),i(t.typeParameters,n,e.isTypeParameter),i(t.heritageClauses,n,e.isHeritageClause),i(t.members,n,e.isClassElement));case 199:return e.updateExpressionWithTypeArguments(t,i(t.typeArguments,n,e.isTypeNode),a(t.expression,n,e.isExpression));case 202:return e.updateTemplateSpan(t,a(t.expression,n,e.isExpression),a(t.literal,n,e.isTemplateMiddleOrTemplateTail));case 204:return e.updateBlock(t,i(t.statements,n,e.isStatement));case 205:return e.updateVariableStatement(t,i(t.modifiers,n,e.isModifier),a(t.declarationList,n,e.isVariableDeclarationList));case 207:return e.updateStatement(t,a(t.expression,n,e.isExpression));case 208:return e.updateIf(t,a(t.expression,n,e.isExpression),a(t.thenStatement,n,e.isStatement,!1,d),a(t.elseStatement,n,e.isStatement,!0,d));case 209:return e.updateDo(t,a(t.statement,n,e.isStatement,!1,d),a(t.expression,n,e.isExpression));case 210:return e.updateWhile(t,a(t.expression,n,e.isExpression),a(t.statement,n,e.isStatement,!1,d));case 211:return e.updateFor(t,a(t.initializer,n,e.isForInitializer),a(t.condition,n,e.isExpression),a(t.incrementor,n,e.isExpression),a(t.statement,n,e.isStatement,!1,d));case 212:return e.updateForIn(t,a(t.initializer,n,e.isForInitializer),a(t.expression,n,e.isExpression),a(t.statement,n,e.isStatement,!1,d));case 213:return e.updateForOf(t,a(t.initializer,n,e.isForInitializer),a(t.expression,n,e.isExpression),a(t.statement,n,e.isStatement,!1,d));case 214:return e.updateContinue(t,a(t.label,n,e.isIdentifier,!0));case 215:return e.updateBreak(t,a(t.label,n,e.isIdentifier,!0));case 216:return e.updateReturn(t,a(t.expression,n,e.isExpression,!0));case 217:return e.updateWith(t,a(t.expression,n,e.isExpression),a(t.statement,n,e.isStatement,!1,d));case 218:return e.updateSwitch(t,a(t.expression,n,e.isExpression),a(t.caseBlock,n,e.isCaseBlock));case 219:return e.updateLabel(t,a(t.label,n,e.isIdentifier),a(t.statement,n,e.isStatement,!1,d));case 220:return e.updateThrow(t,a(t.expression,n,e.isExpression));case 221:return e.updateTry(t,a(t.tryBlock,n,e.isBlock),a(t.catchClause,n,e.isCatchClause,!0),a(t.finallyBlock,n,e.isBlock,!0));case 223:return e.updateVariableDeclaration(t,a(t.name,n,e.isBindingName),a(t.type,n,e.isTypeNode,!0),a(t.initializer,n,e.isExpression,!0));case 224:return e.updateVariableDeclarationList(t,i(t.declarations,n,e.isVariableDeclaration));case 225:return e.updateFunctionDeclaration(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isPropertyName),i(t.typeParameters,n,e.isTypeParameter),s(t.parameters,n,r),a(t.type,n,e.isTypeNode,!0),c(t.body,n,r));case 226:return e.updateClassDeclaration(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.name,n,e.isIdentifier,!0),i(t.typeParameters,n,e.isTypeParameter),i(t.heritageClauses,n,e.isHeritageClause),i(t.members,n,e.isClassElement));case 232:return e.updateCaseBlock(t,i(t.clauses,n,e.isCaseOrDefaultClause));case 235:return e.updateImportDeclaration(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.importClause,n,e.isImportClause,!0),a(t.moduleSpecifier,n,e.isExpression));case 236:return e.updateImportClause(t,a(t.name,n,e.isIdentifier,!0),a(t.namedBindings,n,e.isNamedImportBindings,!0));case 237:return e.updateNamespaceImport(t,a(t.name,n,e.isIdentifier));case 238:return e.updateNamedImports(t,i(t.elements,n,e.isImportSpecifier));case 239:return e.updateImportSpecifier(t,a(t.propertyName,n,e.isIdentifier,!0),a(t.name,n,e.isIdentifier));case 240:return e.updateExportAssignment(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.expression,n,e.isExpression));case 241:return e.updateExportDeclaration(t,i(t.decorators,n,e.isDecorator),i(t.modifiers,n,e.isModifier),a(t.exportClause,n,e.isNamedExports,!0),a(t.moduleSpecifier,n,e.isExpression,!0));case 242:return e.updateNamedExports(t,i(t.elements,n,e.isExportSpecifier));case 243:return e.updateExportSpecifier(t,a(t.propertyName,n,e.isIdentifier,!0),a(t.name,n,e.isIdentifier));case 246:return e.updateJsxElement(t,a(t.openingElement,n,e.isJsxOpeningElement),i(t.children,n,e.isJsxChild),a(t.closingElement,n,e.isJsxClosingElement));case 247:return e.updateJsxSelfClosingElement(t,a(t.tagName,n,e.isJsxTagNameExpression),i(t.attributes,n,e.isJsxAttributeLike));case 248:return e.updateJsxOpeningElement(t,a(t.tagName,n,e.isJsxTagNameExpression),i(t.attributes,n,e.isJsxAttributeLike));case 249:return e.updateJsxClosingElement(t,a(t.tagName,n,e.isJsxTagNameExpression));case 250:return e.updateJsxAttribute(t,a(t.name,n,e.isIdentifier),a(t.initializer,n,e.isStringLiteralOrJsxExpression));case 251:return e.updateJsxSpreadAttribute(t,a(t.expression,n,e.isExpression));case 252:return e.updateJsxExpression(t,a(t.expression,n,e.isExpression));case 253:return e.updateCaseClause(t,a(t.expression,n,e.isExpression),i(t.statements,n,e.isStatement));case 254:return e.updateDefaultClause(t,i(t.statements,n,e.isStatement));case 255:return e.updateHeritageClause(t,i(t.types,n,e.isExpressionWithTypeArguments));case 256:return e.updateCatchClause(t,a(t.variableDeclaration,n,e.isVariableDeclaration),a(t.block,n,e.isBlock));case 257:return e.updatePropertyAssignment(t,a(t.name,n,e.isPropertyName),a(t.initializer,n,e.isExpression));case 258:return e.updateShorthandPropertyAssignment(t,a(t.name,n,e.isIdentifier),a(t.objectAssignmentInitializer,n,e.isExpression));case 259:return e.updateSpreadAssignment(t,a(t.expression,n,e.isExpression));case 261:return e.updateSourceFileNode(t,o(t.statements,n,r));case 294:return e.updatePartiallyEmittedExpression(t,a(t.expression,n,e.isExpression));default:var _=void 0,l=b[u];if(l)for(var f=0,p=l;f0?e.isBlock(t)?e.updateBlock(t,e.createNodeArray(e.concatenate(t.statements,n),t.statements)):e.createBlock(e.createNodeArray([e.createReturn(t,t)].concat(n),t),t,!0):t}function d(t){return k.assert(e.every(t,e.isStatement),"Cannot lift nodes to a Block."),e.singleOrUndefined(t)||e.createBlock(t)}function f(t){return k.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)}function p(e){return m(e),e}function m(t){if(void 0===t)return 0;if(536870912&t.transformFlags)return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind);var n=y(t);return e.computeTransformFlagsForNode(t,n)}function g(e){if(void 0===e)return 0;for(var t=0,n=0,r=0,a=e;r=1)||1572864&g.transformFlags||1572864&e.getTargetOfBindingOrAssignmentElement(g).transformFlags||e.isComputedPropertyName(h)){d&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(d),i,o,a),d=void 0);var y=s(t,i,h);e.isComputedPropertyName(h)&&(f=e.append(f,y.argumentExpression)),r(t,g,y,g)}else d=e.append(d,g)}}d&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(d),i,o,a)}function i(t,n,a,i,o){var s=e.getElementsOfBindingOrAssignmentPattern(a),u=s.length;if(1!==u&&(t.level<1||0===u)){var _=!e.isDeclarationBindingElement(n)||0!==u;i=c(t,i,_,o)}for(var l,d,f=0;f=1)if(1048576&p.transformFlags){var m=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(m),d=e.append(d,[m,p]),l=e.append(l,t.createArrayBindingOrAssignmentElement(m))}else l=e.append(l,p);else{if(e.isOmittedExpression(p))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(p)){if(f===u-1){var g=e.createArraySlice(i,f);r(t,p,g,p)}}else{var g=e.createElementAccess(i,f);r(t,p,g,p)}}}if(l&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(l),i,o,a),d)for(var y=0,h=d;y0)return!0;var n=e.getFirstConstructorWithBody(t);return!!n&&e.forEach(n.parameters,k)}function k(e){return void 0!==e.decorators&&e.decorators.length>0}function x(t){var n=R(t,!0),r=void 0!==e.getClassExtendsHeritageClauseElement(t),a=b(t),i=t.name;!i&&n.length>0&&(i=e.getGeneratedNameForNode(t));var o=a?D(t,i,r):S(t,i,r,n.length>0),s=[o];return n.length&&B(s,n,e.getLocalName(t)),Z(s,t,!1),Z(s,t,!0),te(s,t),lt(t)?gt(s,t):a&&(pt(t)?s.push(e.createExportDefault(e.getLocalName(t,!1,!0))):ft(t)&&s.push(e.createExternalModuleExport(e.getLocalName(t,!1,!0)))),s.length>1&&(s.push(e.createEndOfDeclarationMarker(t)),e.setEmitFlags(o,2097152|e.getEmitFlags(o))),e.singleOrMany(s)}function S(t,n,r,a){var i=e.createClassDeclaration(void 0,e.visitNodes(t.modifiers,y,e.isModifier),n,void 0,e.visitNodes(t.heritageClauses,u,e.isHeritageClause),E(t,r),t),o=e.getEmitFlags(t);return a&&(o|=32),e.setOriginalNode(i,t),e.setEmitFlags(i,o),i}function D(t,n,r){var a=e.moveRangePastDecorators(t),i=xt(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),c=E(t,r),_=e.createClassExpression(void 0,n,void 0,s,c,a);e.setOriginalNode(_,t);var l=e.createLetStatement(o,i?e.createAssignment(i,_):_,a);return e.setOriginalNode(l,t),e.setCommentRange(l,t),l}function C(t){var n=R(t,!0),r=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),a=E(t,e.some(r,function(e){return 84===e.token})),i=e.setOriginalNode(e.createClassExpression(void 0,t.name,void 0,r,a,t),t);if(n.length>0){var o=[],s=e.createTempVariable(Vt);return 8388608&qt.getNodeCheckFlags(t)&&(Et(),rn[e.getOriginalNodeId(t)]=e.getSynthesizedClone(s)),e.setEmitFlags(i,32768|e.getEmitFlags(i)),o.push(e.startOnNewLine(e.createAssignment(s,i))),e.addRange(o,j(n,s)),o.push(e.startOnNewLine(s)),e.inlineExpressions(o)}return i}function E(t,n){var r=[],a=T(t,n);return a&&r.push(a),e.addRange(r,e.visitNodes(t.members,m,e.isClassElement)),e.createNodeArray(r,t.members)}function T(n,r){var a=e.forEach(n.members,L),i=262144&n.transformFlags,o=e.getFirstConstructorWithBody(n);if(!a&&!i)return e.visitEachChild(o,u,t);var s=w(o),c=N(n,o,r);return e.startOnNewLine(e.setOriginalNode(e.createConstructor(void 0,void 0,s,c,o||n),o))}function w(n){return e.visitParameterList(n&&n.parameters,u,t)||[]}function N(t,n,r){var a=[],i=0;if(Jt(),n){i=A(n,a);var o=P(n);e.addRange(a,e.map(o,F))}else r&&a.push(e.createStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));var s=R(t,!1);return B(a,s,e.createThis()),n&&e.addRange(a,e.visitNodes(n.body.statements,u,e.isStatement,i)),e.addRange(a,Ut()),e.createBlock(e.createNodeArray(a,n?n.body.statements:t.members),n?n.body:void 0,!0)}function A(t,n){if(t.body){var r=t.body.statements,a=e.addPrologueDirectives(n,r,!1,u);if(a===r.length)return a;var i=r[a];return 207===i.kind&&e.isSuperCall(i.expression)?(n.push(e.visitNode(i,u,e.isStatement)),a+1):a}return 0}function P(t){return e.filter(t.parameters,O)}function O(t){return e.hasModifier(t,92)&&e.isIdentifier(t.name)}function F(t){e.Debug.assert(e.isIdentifier(t.name));var n=t.name,r=e.getMutableClone(n);e.setEmitFlags(r,1584);var a=e.getMutableClone(n);return e.setEmitFlags(a,1536),e.startOnNewLine(e.createStatement(e.createAssignment(e.createPropertyAccess(e.createThis(),r,t.name),a),e.moveRangePos(t,-1)))}function R(t,n){return e.filter(t.members,n?I:L)}function I(e){return M(e,!0)}function L(e){return M(e,!1)}function M(t,n){return 147===t.kind&&n===e.hasModifier(t,32)&&void 0!==t.initializer}function B(t,n,r){for(var a=0,i=n;a0?147===r.kind?e.createVoidZero():e.createNull():void 0,_=a(t,o,s,c,u,e.moveRangePastDecorators(r));return e.setEmitFlags(_,1536),_}}function te(t,n){var r=ne(n);r&&t.push(e.setOriginalNode(e.createStatement(r),n))}function ne(n){var r=W(n),i=Q(n,r);if(i){var o=rn&&rn[e.getOriginalNodeId(n)],s=e.getLocalName(n,!1,!0),c=a(t,i,s),u=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(u,1536),e.setSourceMapRange(u,e.moveRangePastDecorators(n)),u}}function re(t){return e.visitNode(t.expression,u,e.isExpression)}function ae(r,a){var i;if(r){i=[];for(var o=0,s=r;o= 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 };'}}(o||(o={}));var o;!function(e){function t(t){function r(n){if(e.isDeclarationFile(n))return n;var r=e.visitEachChild(n,a,t);return e.addEmitHelpers(r,t.readEmitHelpers()),r}function a(e){return o(e,!1)}function i(e){return o(e,!0)}function o(n,r){if(0===(8&n.transformFlags))return n;switch(n.kind){case 176:return c(n);case 192:return l(n,r);case 223:return d(n);case 213:return m(n);case 211:return f(n);case 188:return p(n);case 150:return y(n);case 149:return b(n);case 151:return h(n);case 152:return v(n);case 225:return k(n);case 184:return S(n);case 185:return x(n);case 144:return g(n);case 207:return u(n);case 183:return _(n,r);default:return e.visitEachChild(n,a,t)}}function s(t){for(var n,r=[],i=0,o=t;i0){var c=r.substr(a,i-a+1);n||(n=[]),n.push(e.createLiteral(m(c)))}a=-1}else e.isWhiteSpace(s)||(i=o,a===-1&&(a=o))}if(a!==-1){var c=r.substr(a);n||(n=[]),n.push(e.createLiteral(m(c)))}if(n)return e.reduceLeft(n,p)}function p(t,n){return e.createAdd(e.createAdd(t,e.createLiteral(" ")),n)}function m(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,function(e,t,r,a,i,o,s){if(i)return String.fromCharCode(parseInt(i,10));if(o)return String.fromCharCode(parseInt(o,16));var c=n[s];return c?String.fromCharCode(c):e})}function g(e){var t=m(e);return t===e?void 0:t}function y(t){if(246===t.kind)return y(t.openingElement);var n=t.tagName;return e.isIdentifier(n)&&e.isIntrinsicJsxName(n.text)?e.createLiteral(n.text):e.createExpressionFromEntityName(n)}function h(t){var n=t.name;return/^[A-Za-z_]\w*$/.test(n.text)?n:e.createLiteral(n.text)}function v(t){return e.visitNode(t.expression,a,e.isExpression)}var b,k=t.getCompilerOptions();return r}e.transformJsx=t;var n=e.createMap({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})}(o||(o={}));var o;!function(e){function t(t){function r(n){if(e.isDeclarationFile(n))return n;C=n;var r=e.visitEachChild(n,a,t);return e.addEmitHelpers(r,t.readEmitHelpers()),C=void 0,r}function a(n){if(0===(16&n.transformFlags))return n;switch(n.kind){case 119:return;case 189:return s(n);case 149:return c(n);case 225:return u(n);case 184:return _(n);case 185:return l(n);default:return e.visitEachChild(n,a,t)}}function s(t){return e.setOriginalNode(e.createYield(void 0,e.visitNode(t.expression,a,e.isExpression),t),t)}function c(n){return e.updateMethod(n,void 0,e.visitNodes(n.modifiers,a,e.isModifier),n.name,void 0,e.visitParameterList(n.parameters,a,t),void 0,e.isAsyncFunctionLike(n)?d(n):e.visitFunctionBody(n.body,a,t))}function u(n){return e.updateFunctionDeclaration(n,void 0,e.visitNodes(n.modifiers,a,e.isModifier),n.name,void 0,e.visitParameterList(n.parameters,a,t),void 0,e.isAsyncFunctionLike(n)?d(n):e.visitFunctionBody(n.body,a,t))}function _(n){return e.nodeIsMissing(n.body)?e.createOmittedExpression():e.updateFunctionExpression(n,void 0,n.name,void 0,e.visitParameterList(n.parameters,a,t),void 0,e.isAsyncFunctionLike(n)?d(n):e.visitFunctionBody(n.body,a,t))}function l(n){return e.updateArrowFunction(n,e.visitNodes(n.modifiers,a,e.isModifier),void 0,e.visitParameterList(n.parameters,a,t),void 0,e.isAsyncFunctionLike(n)?d(n):e.visitFunctionBody(n.body,a,t))}function d(r){N();var s=e.getOriginalNode(r,e.isFunctionLike),c=s.type,u=F<2?p(c):void 0,_=185===r.kind,l=0!==(8192&P.getNodeCheckFlags(r));if(_){var d=n(t,l,u,f(r.body)),g=A();if(e.some(g)){var y=e.convertToFunctionBody(d);return e.updateBlock(y,e.createNodeArray(e.concatenate(y.statements,g),y.statements))}return d}var h=[],v=e.addPrologueDirectives(h,r.body.statements,!1,a);h.push(e.createReturn(n(t,l,u,f(r.body,v)))),e.addRange(h,A());var y=e.createBlock(h,r.body,!0);return F>=2&&(4096&P.getNodeCheckFlags(r)?(m(),e.addEmitHelper(y,o)):2048&P.getNodeCheckFlags(r)&&(m(),e.addEmitHelper(y,i))),y}function f(n,r){if(e.isBlock(n))return e.updateBlock(n,e.visitLexicalEnvironment(n.statements,a,t,r));w();var i=e.convertToFunctionBody(e.visitNode(n,a,e.isConciseBody)),o=A();return e.updateBlock(i,e.createNodeArray(e.concatenate(i.statements,o),i.statements))}function p(t){var n=t&&e.getEntityNameFromTypeNode(t);if(n&&e.isEntityName(n)){var r=P.getTypeReferenceSerializationKind(n);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return n}}function m(){0===(1&E)&&(E|=1,t.enableSubstitution(179),t.enableSubstitution(177),t.enableSubstitution(178),t.enableEmitNotification(226),t.enableEmitNotification(149),t.enableEmitNotification(151),t.enableEmitNotification(152),t.enableEmitNotification(150))}function g(e){switch(e.kind){case 177:return y(e);case 178:return h(e);case 179:if(1&E)return v(e)}return e}function y(t){if(1&E&&96===t.expression.kind){var n=D();if(n)return S(e.createLiteral(t.name.text),n,t)}return t}function h(e){if(1&E&&96===e.expression.kind){var t=D();if(t)return S(e.argumentExpression,t,e)}return e}function v(t){var n=t.expression;if(e.isSuperProperty(n)){var r=D();if(r){var a=e.isPropertyAccessExpression(n)?y(n):h(n);return e.createCall(e.createPropertyAccess(a,"call"),void 0,[e.createThis()].concat(t.arguments))}}return t}function b(e){var t=e.kind;return 226===t||150===t||149===t||151===t||152===t}function k(e,t,n){if(1&E&&b(t)){var r=T;T=t,R(e,t,n),T=r}else R(e,t,n)}function x(e,t){return t=I(e,t),1===e?g(t):t}function S(t,n,r){return 4096&n?e.createPropertyAccess(e.createCall(e.createIdentifier("_super"),void 0,[t]),"value",r):e.createCall(e.createIdentifier("_super"),void 0,[t],r); -}function D(){return void 0!==T&&6144&P.getNodeCheckFlags(T)}var C,E,T,w=t.startLexicalEnvironment,N=t.resumeLexicalEnvironment,A=t.endLexicalEnvironment,P=t.getEmitResolver(),O=t.getCompilerOptions(),F=e.getEmitScriptTarget(O),R=t.onEmitNode,I=t.onSubstituteNode;return t.onEmitNode=k,t.onSubstituteNode=x,r}function n(t,n,r,i){t.requestEmitHelper(a);var o=e.createFunctionExpression(void 0,e.createToken(38),void 0,void 0,[],void 0,i);return(o.emitNode||(o.emitNode={})).flags|=131072,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),n?e.createIdentifier("arguments"):e.createVoidZero(),r?e.createExpressionFromEntityName(r):e.createVoidZero(),o])}var r;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(r||(r={})),e.transformES2017=t;var a={name:"typescript:awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\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) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments)).next());\n });\n };'},i={name:"typescript:async-super",scoped:!0,text:"\n const _super = name => super[name];"},o={name:"typescript:advanced-async-super",scoped:!0,text:"\n const _super = (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);"}}(o||(o={}));var o;!function(e){function t(t){function n(n){return e.isDeclarationFile(n)?n:e.visitEachChild(n,r,t)}function r(n){if(0===(32&n.transformFlags))return n;switch(n.kind){case 192:return a(n);default:return e.visitEachChild(n,r,t)}}function a(n){switch(n.operatorToken.kind){case 61:return i(n);case 39:return o(n);default:return e.visitEachChild(n,r,t)}}function i(t){var n,a,i=e.visitNode(t.left,r,e.isExpression),o=e.visitNode(t.right,r,e.isExpression);if(e.isElementAccessExpression(i)){var c=e.createTempVariable(s),u=e.createTempVariable(s);n=e.createElementAccess(e.createAssignment(c,i.expression,i.expression),e.createAssignment(u,i.argumentExpression,i.argumentExpression),i),a=e.createElementAccess(c,u,i)}else if(e.isPropertyAccessExpression(i)){var c=e.createTempVariable(s);n=e.createPropertyAccess(e.createAssignment(c,i.expression,i.expression),i.name,i),a=e.createPropertyAccess(c,i.name,i)}else n=i,a=i;return e.createAssignment(n,e.createMathPow(a,o,t),t)}function o(t){var n=e.visitNode(t.left,r,e.isExpression),a=e.visitNode(t.right,r,e.isExpression);return e.createMathPow(n,a,t)}var s=t.hoistVariableDeclaration;return n}e.transformES2016=t}(o||(o={}));var o;!function(e){function t(t){function r(n){if(e.isDeclarationFile(n))return n;pt=n,mt=n.text;var r=o(n,m);return e.addEmitHelpers(r,t.readEmitHelpers()),pt=void 0,mt=void 0,r}function a(e){return o(e,i)}function i(e){return Ct?d(e):l(e)}function o(t,n){var r=kt,a=xt,i=St,o=vt,c=bt,u=ht,_=gt,l=yt,d=Ct,f=Dt;e.nodeStartsNewLexicalEnvironment(t)&&(Dt=!1,Ct=void 0),s(t);var p=n(t);return Dt=f,Ct=d,kt=r,xt=a,St=i,vt=o,bt=c,ht=u,gt=_,yt=l,p}function s(t){if(yt)switch(e.isBlockScope(yt,gt)&&(vt=yt,bt=gt),e.isFunctionLike(yt)&&(kt=yt,185!==yt.kind&&(xt=yt,131072&e.getEmitFlags(yt)||(St=yt))),yt.kind){case 205:ht=yt;break;case 224:case 223:case 174:case 172:case 173:break;default:ht=void 0}gt=yt,yt=t}function c(t){return e.setOriginalNode(e.createReturn(e.createIdentifier("_this")),t)}function u(e){return Dt&&216===e.kind&&!e.expression}function _(t){return 0!==(64&t.transformFlags)||219===t.kind||e.isIterationStatement(t,!1)&&fe(t)}function l(n){return u(n)?c(n):_(n)?p(n):128&n.transformFlags||Dt&&!e.isExpression(n)?e.visitEachChild(n,a,t):n}function d(e){var t;return t=_(e)?p(e):f(e)}function f(n){switch(n.kind){case 216:return n=u(n)?c(n):n,y(n);case 205:return ee(n);case 218:return g(n);case 215:case 214:return b(n);case 98:return h(n);case 70:return v(n);default:return e.visitEachChild(n,a,t)}}function p(n){switch(n.kind){case 114:return;case 226:return k(n);case 197:return x(n);case 144:return O(n);case 225:return G(n);case 185:return W(n);case 184:return H(n);case 223:return ae(n);case 70:return v(n);case 224:return te(n);case 219:return ie(n);case 209:return oe(n);case 210:return se(n);case 211:return ce(n);case 212:return ue(n);case 213:return _e(n);case 207:return Q(n);case 176:return de(n);case 256:return Ee(n);case 258:return Ne(n);case 175:return Pe(n);case 179:return Oe(n);case 180:return Ie(n);case 183:return Z(n,!0);case 192:return $(n,!0);case 12:case 13:case 14:case 15:return Je(n);case 181:return Ue(n);case 194:return qe(n);case 195:return Ae(n);case 196:return ze(n);case 96:return Xe();case 195:return e.visitEachChild(n,a,t);case 149:return we(n);case 205:return ee(n);default:return e.Debug.failBadSyntaxKind(n),e.visitEachChild(n,a,t)}}function m(t){var n=[];st();var r=e.addPrologueDirectives(n,t.statements,!1,a);return j(n,t),e.addRange(n,e.visitNodes(t.statements,a,e.isStatement,r)),e.addRange(n,ut()),e.updateSourceFileNode(t,e.createNodeArray(n,t.statements))}function g(n){e.Debug.assert(void 0!==Ct);var r=Ct.allowedNonLabeledJumps;Ct.allowedNonLabeledJumps|=2;var i=e.visitEachChild(n,a,t);return Ct.allowedNonLabeledJumps=r,i}function y(t){return e.Debug.assert(void 0!==Ct),Ct.nonLocalJumps|=8,e.createReturn(e.createObjectLiteral([e.createPropertyAssignment(e.createIdentifier("value"),t.expression?e.visitNode(t.expression,a,e.isExpression):e.createVoidZero())]))}function h(t){return e.Debug.assert(void 0!==Ct),kt&&185===kt.kind?(Ct.containsLexicalThis=!0,t):Ct.thisName||(Ct.thisName=e.createUniqueName("this"))}function v(t){return Ct?e.isGeneratedIdentifier(t)?t:"arguments"===t.text||lt.isArgumentsLocalBinding(t)?Ct.argumentsName||(Ct.argumentsName=e.createUniqueName("arguments")):t:t}function b(n){if(Ct){var r=215===n.kind?2:4,i=n.label&&Ct.labels&&Ct.labels[n.label.text]||!n.label&&Ct.allowedNonLabeledJumps&r;if(!i){var o=void 0;n.label?215===n.kind?(o="break-"+n.label.text,ve(Ct,!0,n.label.text,o)):(o="continue-"+n.label.text,ve(Ct,!1,n.label.text,o)):215===n.kind?(Ct.nonLocalJumps|=2,o="break"):(Ct.nonLocalJumps|=4,o="continue");var s=e.createLiteral(o);if(Ct.loopOutParameters.length){for(var c=Ct.loopOutParameters,u=void 0,_=0;_=0,"statementOffset not initialized correctly!"));var u=A(s,t,!!r,i,c);if(1!==u&&2!==u||c++,t){var _=o(t,function(t){return Dt=1===u,e.visitNodes(t.body.statements,a,e.isStatement,c)});e.addRange(s,_)}!r||2===u||t&&N(t.body)||s.push(e.createReturn(e.createIdentifier("_this"))),e.addRange(s,ut());var l=e.createBlock(e.createNodeArray(s,t?t.body.statements:n.members),t?t.body:n,!0);return t||e.setEmitFlags(l,1536),l}function N(t){if(216===t.kind)return!0;if(208===t.kind){var n=t;if(n.elseStatement)return N(n.thenStatement)&&N(n.elseStatement)}else if(204===t.kind){var r=e.lastOrUndefined(t.statements);if(r&&N(r))return!0}return!1}function A(t,n,r,a,i){if(!r)return n&&j(t,n),0;if(!n)return t.push(e.createReturn(P())),2;if(a)return z(t,n,P()),Ze(),1;var s,c,u=n.body.statements;if(i0?n.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,a,t,0,s))),524288)):o&&n.push(e.setEmitFlags(e.createStatement(e.createAssignment(s,e.visitNode(o,a,e.isExpression))),524288))}function L(t,n,r,i){i=e.visitNode(i,a,e.isExpression);var o=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.createBlock([e.createStatement(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(i,48|e.getEmitFlags(i)),n))],n),417),void 0,n);o.startsOnNewLine=!0,e.setEmitFlags(o,524704),t.push(o)}function M(e,t){return e&&e.dotDotDotToken&&70===e.name.kind&&!t}function B(t,n,r){var a=e.lastOrUndefined(n.parameters);if(M(a,r)){var i=e.getMutableClone(a.name);e.setEmitFlags(i,48);var o=e.getSynthesizedClone(a.name),s=n.parameters.length-1,c=e.createLoopVariable();t.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(i,void 0,e.createArrayLiteral([]))]),a),524288));var u=e.createFor(e.createVariableDeclarationList([e.createVariableDeclaration(c,void 0,e.createLiteral(s))],a),e.createLessThan(c,e.createPropertyAccess(e.createIdentifier("arguments"),"length"),a),e.createPostfixIncrement(c,a),e.createBlock([e.startOnNewLine(e.createStatement(e.createAssignment(e.createElementAccess(o,0===s?c:e.createSubtract(c,e.createLiteral(s))),e.createElementAccess(e.createIdentifier("arguments"),c)),a))]));e.setEmitFlags(u,524288),e.startOnNewLine(u),t.push(u)}}function j(t,n){32768&n.transformFlags&&185!==n.kind&&z(t,n,e.createThis())}function z(t,n,r,a){Ze();var i=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_this",void 0,r)]),a);e.setEmitFlags(i,525824),e.setSourceMapRange(i,n),t.push(i)}function K(t,n){for(var r=0,a=n.members;r0&&(s=!0),e.isBlock(_))r=_.statements,e.addRange(u,e.visitNodes(_.statements,a,e.isStatement,o)),!s&&_.multiLine&&(s=!0);else{e.Debug.assert(185===n.kind),r=e.moveRangeEnd(_,-1);var l=n.equalsGreaterThanToken;e.nodeIsSynthesized(l)||e.nodeIsSynthesized(_)||(e.rangeEndIsOnSameLineAsRangeStart(l,_,pt)?c=!0:s=!0);var d=e.visitNode(_,a,e.isExpression),f=e.createReturn(d,_);e.setEmitFlags(f,1440),u.push(f),i=_}var p=t.endLexicalEnvironment();e.addRange(u,p),!s&&p&&p.length&&(s=!0);var m=e.createBlock(e.createNodeArray(u,r),n.body,s);return!s&&c&&e.setEmitFlags(m,1),i&&e.setTokenSourceMapRange(m,17,i),e.setOriginalNode(m,n.body),m}function Q(n){switch(n.expression.kind){case 183:return e.updateStatement(n,Z(n.expression,!1));case 192:return e.updateStatement(n,$(n.expression,!1))}return e.visitEachChild(n,a,t)}function Z(n,r){if(!r)switch(n.expression.kind){case 183:return e.updateParen(n,Z(n.expression,!1));case 192:return e.updateParen(n,$(n.expression,!1))}return e.visitEachChild(n,a,t)}function $(n,r){if(e.isDestructuringAssignment(n))return e.flattenDestructuringAssignment(n,a,t,0,r)}function ee(n){if(Ct&&0==(3&e.getCombinedNodeFlags(n.declarationList))){for(var r=void 0,i=0,o=n.declarationList.declarations;i=58&&e<=69}function y(e){switch(e){case 58:return 36;case 59:return 37;case 60:return 38;case 61:return 39;case 62:return 40;case 63:return 41;case 64:return 44;case 65:return 45;case 66:return 46;case 67:return 47;case 68:return 48;case 69:return 49}}function h(n){var r=n.left,i=n.right;if(oe(i)){var o=void 0;switch(r.kind){case 177:o=e.updatePropertyAccess(r,le(e.visitNode(r.expression,a,e.isLeftHandSideExpression)),r.name);break;case 178:o=e.updateElementAccess(r,le(e.visitNode(r.expression,a,e.isLeftHandSideExpression)),le(e.visitNode(r.argumentExpression,a,e.isExpression)));break;default:o=e.visitNode(r,a,e.isExpression)}var s=n.operatorToken.kind;return g(s)?e.createBinary(o,57,e.createBinary(le(o),y(s),e.visitNode(i,a,e.isExpression),n),n):e.updateBinary(n,o,e.visitNode(i,a,e.isExpression))}return e.visitEachChild(n,a,t)}function v(n){if(oe(n.right)){if(e.isLogicalOperator(n.operatorToken.kind))return b(n);if(25===n.operatorToken.kind)return k(n);var r=e.getMutableClone(n);return r.left=le(e.visitNode(n.left,a,e.isExpression)),r.right=e.visitNode(n.right,a,e.isExpression),r}return e.visitEachChild(n,a,t)}function b(t){var n=fe(),r=de();return Xe(r,e.visitNode(t.left,a,e.isExpression),t.left),52===t.operatorToken.kind?Ze(n,r,t.left):Qe(n,r,t.left),Xe(r,e.visitNode(t.right,a,e.isExpression),t.right),pe(n),r}function k(t){function n(t){e.isBinaryExpression(t)&&25===t.operatorToken.kind?(n(t.left),n(t.right)):(oe(t)&&r.length>0&&(at(1,[e.createStatement(e.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,a,e.isExpression)))}var r=[];return n(t.left),n(t.right),e.inlineExpressions(r)}function x(n){if(oe(n.whenTrue)||oe(n.whenFalse)){var r=fe(),i=fe(),o=de();return Ze(r,e.visitNode(n.condition,a,e.isExpression),n.condition),Xe(o,e.visitNode(n.whenTrue,a,e.isExpression),n.whenTrue),Ye(i),pe(r),Xe(o,e.visitNode(n.whenFalse,a,e.isExpression),n.whenFalse),pe(i),o}return e.visitEachChild(n,a,t)}function S(t){var n=fe(),r=e.visitNode(t.expression,a,e.isExpression);return t.asteriskToken?$e(r,t):et(r,t),pe(n),We()}function D(e){return C(e.elements,void 0,void 0,e.multiLine)}function C(t,n,r,i){function o(t,r){return oe(r)&&t.length>0&&(Xe(c,u?e.createArrayConcat(c,[e.createArrayLiteral(t,void 0,i)]):e.createArrayLiteral(n?[n].concat(t):t,void 0,i)),u=!0,n=void 0,t=[]),t.push(e.visitNode(r,a,e.isExpression)),t}var s=se(t),c=de(),u=!1;if(s>0){var _=e.visitNodes(t,a,e.isExpression,0,s);Xe(c,e.createArrayLiteral(n?[n].concat(_):_)),n=void 0,u=!0}var l=e.reduceLeft(t,o,[],s);return u?e.createArrayConcat(c,[e.createArrayLiteral(l,void 0,i)]):e.createArrayLiteral(n?[n].concat(l):l,r,i)}function E(t){function n(n,r){oe(r)&&n.length>0&&(Ge(e.createStatement(e.inlineExpressions(n))),n=[]);var o=e.createExpressionForObjectLiteralElementLike(t,r,s),c=e.visitNode(o,a,e.isExpression);return c&&(i&&(c.startsOnNewLine=!0),n.push(c)),n}var r=t.properties,i=t.multiLine,o=se(r),s=de();Xe(s,e.createObjectLiteral(e.visitNodes(r,a,e.isObjectLiteralElementLike,0,o),void 0,i));var c=e.reduceLeft(r,n,[],o);return c.push(i?e.startOnNewLine(e.getMutableClone(s)):s),e.inlineExpressions(c)}function T(n){if(oe(n.argumentExpression)){var r=e.getMutableClone(n);return r.expression=le(e.visitNode(n.expression,a,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(n.argumentExpression,a,e.isExpression),r}return e.visitEachChild(n,a,t)}function w(n){if(e.forEach(n.arguments,oe)){var r=e.createCallBinding(n.expression,wt,At,!0),i=r.target,o=r.thisArg;return e.setOriginalNode(e.createFunctionApply(le(e.visitNode(i,a,e.isLeftHandSideExpression)),o,C(n.arguments),n),n)}return e.visitEachChild(n,a,t)}function N(n){if(e.forEach(n.arguments,oe)){var r=e.createCallBinding(e.createPropertyAccess(n.expression,"bind"),wt),i=r.target,o=r.thisArg;return e.setOriginalNode(e.createNew(e.createFunctionApply(le(e.visitNode(i,a,e.isExpression)),o,C(n.arguments,e.createVoidZero())),void 0,[],n),n)}return e.visitEachChild(n,a,t)}function A(e,t){void 0===t&&(t=0);for(var n=e.length,r=t;r0)break;c.push(M(a))}c.length&&(Ge(e.createStatement(e.inlineExpressions(c))),s+=c.length,c=[])}}function M(t){return e.createAssignment(e.getSynthesizedClone(t.name),e.visitNode(t.initializer,a,e.isExpression))}function B(t){if(oe(t))if(oe(t.thenStatement)||oe(t.elseStatement)){var n=fe(),r=t.elseStatement?fe():void 0;Ze(t.elseStatement?r:n,e.visitNode(t.expression,a,e.isExpression)),P(t.thenStatement),t.elseStatement&&(Ye(n),pe(r),P(t.elseStatement)),pe(n)}else Ge(e.visitNode(t,a,e.isStatement));else Ge(e.visitNode(t,a,e.isStatement))}function j(t){if(oe(t)){var n=fe(),r=fe();we(n),pe(r),P(t.statement),pe(n),Qe(r,e.visitNode(t.expression,a,e.isExpression)),Ne()}else Ge(e.visitNode(t,a,e.isStatement))}function z(n){return Mt?(Te(),n=e.visitEachChild(n,a,t),Ne(),n):e.visitEachChild(n,a,t)}function K(t){if(oe(t)){var n=fe(),r=we(n);pe(n),Ze(r,e.visitNode(t.expression,a,e.isExpression)),P(t.statement),Ye(n),Ne()}else Ge(e.visitNode(t,a,e.isStatement))}function J(n){return Mt?(Te(),n=e.visitEachChild(n,a,t),Ne(),n):e.visitEachChild(n,a,t)}function U(t){if(oe(t)){var n=fe(),r=fe(),i=we(r);if(t.initializer){var o=t.initializer;e.isVariableDeclarationList(o)?L(o):Ge(e.createStatement(e.visitNode(o,a,e.isExpression),o))}pe(n),t.condition&&Ze(i,e.visitNode(t.condition,a,e.isExpression)),P(t.statement),pe(r),t.incrementor&&Ge(e.createStatement(e.visitNode(t.incrementor,a,e.isExpression),t.incrementor)),Ye(n),Ne()}else Ge(e.visitNode(t,a,e.isStatement))}function V(n){Mt&&Te();var r=n.initializer;if(e.isVariableDeclarationList(r)){for(var i=0,o=r.declarations;i0?e.inlineExpressions(e.map(c,M)):void 0,e.visitNode(n.condition,a,e.isExpression,!0),e.visitNode(n.incrementor,a,e.isExpression,!0),e.visitNode(n.statement,a,e.isStatement,!1,e.liftToBlock))}else n=e.visitEachChild(n,a,t);return Mt&&Ne(),n}function q(t){if(oe(t)){var n=de(),r=de(),i=e.createLoopVariable(),o=t.initializer;wt(i),Xe(n,e.createArrayLiteral()),Ge(e.createForIn(r,e.visitNode(t.expression,a,e.isExpression),e.createStatement(e.createCall(e.createPropertyAccess(n,"push"),void 0,[r])))),Xe(i,e.createLiteral(0));var s=fe(),c=fe(),u=we(c);pe(s),Ze(u,e.createLessThan(i,e.createPropertyAccess(n,"length")));var _=void 0;if(e.isVariableDeclarationList(o)){for(var l=0,d=o.declarations;l0,"Expected continue statment to point to a valid Label."),Ye(n,t)}function G(n){if(Mt){var r=Ke(n.label&&n.label.text);if(r>0)return Ve(r,n)}return e.visitEachChild(n,a,t)}function X(t){var n=ze(t.label?t.label.text:void 0);e.Debug.assert(n>0,"Expected break statment to point to a valid Label."),Ye(n,t)}function Y(n){if(Mt){var r=ze(n.label&&n.label.text);if(r>0)return Ve(r,n)}return e.visitEachChild(n,a,t)}function Q(t){tt(e.visitNode(t.expression,a,e.isExpression,!0),t)}function Z(t){return qe(e.visitNode(t.expression,a,e.isExpression,!0),t)}function $(t){oe(t)?(ve(le(e.visitNode(t.expression,a,e.isExpression))),P(t.statement),be()):Ge(e.visitNode(t,a,e.isStatement))}function ee(t){if(oe(t.caseBlock)){for(var n=t.caseBlock,r=n.clauses.length,i=Pe(),o=le(e.visitNode(t.expression,a,e.isExpression)),s=[],c=-1,u=0;u0)break;d.push(e.createCaseClause(e.visitNode(p.expression,a,e.isExpression),[Ve(s[u],p.expression)]))}else f++}d.length&&(Ge(e.createSwitch(o,e.createCaseBlock(d))),l+=d.length,d=[]),f>0&&(l+=f,f=0)}Ye(c>=0?s[c]:i);for(var u=0;u=0;n--){var r=Kt[n];if(!Me(r))break;if(r.labelText===e)return!0}return!1}function ze(t){if(e.Debug.assert(void 0!==Bt),t)for(var n=Kt.length-1;n>=0;n--){var r=Kt[n];if(Me(r)&&r.labelText===t)return r.breakLabel;if(Le(r)&&je(t,n-1))return r.breakLabel}else for(var n=Kt.length-1;n>=0;n--){var r=Kt[n];if(Le(r))return r.breakLabel}return 0}function Ke(t){if(e.Debug.assert(void 0!==Bt),t)for(var n=Kt.length-1;n>=0;n--){var r=Kt[n];if(Be(r)&&je(t,n-1))return r.continueLabel}else for(var n=Kt.length-1;n>=0;n--){var r=Kt[n];if(Be(r))return r.continueLabel}return 0}function Je(t){if(t>0){void 0===Ut&&(Ut=[]);var n=e.createLiteral(-1);return void 0===Ut[t]?Ut[t]=[n]:Ut[t].push(n),n}return e.createOmittedExpression()}function Ue(t){var n=e.createLiteral(t);return n.trailingComment=c[t],n}function Ve(t,n){return e.Debug.assert(t>0,"Invalid label: "+t),e.createReturn(e.createArrayLiteral([Ue(3),Je(t)]),n)}function qe(t,n){return e.createReturn(e.createArrayLiteral(t?[Ue(2),t]:[Ue(2)]),n)}function We(t){return e.createCall(e.createPropertyAccess(Ht,"sent"),void 0,[],t)}function He(){at(0)}function Ge(e){e?at(1,[e]):He()}function Xe(e,t,n){at(2,[e,t],n)}function Ye(e,t){at(3,[e],t)}function Qe(e,t,n){at(4,[e,t],n)}function Ze(e,t,n){at(5,[e,t],n)}function $e(e,t){at(7,[e],t)}function et(e,t){at(6,[e],t)}function tt(e,t){at(8,[e],t)}function nt(e,t){at(9,[e],t)}function rt(){at(10)}function at(e,t,n){void 0===Vt&&(Vt=[],qt=[],Wt=[]),void 0===Jt&&pe(fe());var r=Vt.length;Vt[r]=e,qt[r]=t,Wt[r]=n}function it(){rn=0,an=0,Gt=void 0,Xt=!1,Yt=!1,Qt=void 0,Zt=void 0,$t=void 0,en=void 0,tn=void 0;var r=ot();return n(t,e.setEmitFlags(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,Ht)],void 0,e.createBlock(r,void 0,r.length>0)),262144))}function ot(){if(Vt){for(var t=0;t=0;n--){var r=tn[n];Zt=[e.createWith(r.expression,e.createBlock(Zt))]}if(en){var a=en.startLabel,i=en.catchLabel,o=en.finallyLabel,s=en.endLabel;Zt.unshift(e.createStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(Ht,"trys"),"push"),void 0,[e.createArrayLiteral([Je(a),Je(i),Je(o),Je(s)])]))),en=void 0}t&&Zt.push(e.createStatement(e.createAssignment(e.createPropertyAccess(Ht,"label"),e.createLiteral(an+1))))}Qt.push(e.createCaseClause(e.createLiteral(an),Zt||[])),Zt=void 0}function lt(e){if(Jt)for(var t=0;t 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 };'}}(o||(o={}));var o;!function(e){function t(t){function n(e){return e}function r(t,n){return n=s(t,n),e.isPropertyAccessExpression(n)?a(n):e.isPropertyAssignment(n)?i(n):n}function a(t){var n=o(t.name);return n?e.createElementAccess(t.expression,n,t):t}function i(t){var n=e.isIdentifier(t.name)&&o(t.name);return n?e.updatePropertyAssignment(t,n,t.initializer):t}function o(t){var n=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(t.text):void 0);if(n>=71&&n<=106)return e.createLiteral(t,t)}var s=t.onSubstituteNode;return t.onSubstituteNode=r,t.enableSubstitution(177),t.enableSubstitution(257),n}e.transformES5=t}(o||(o={}));var o;!function(e){function t(t){function n(n){if(e.isDeclarationFile(n))return n;if(e.isExternalModule(n)||c.isolatedModules){var a=e.getOrCreateExternalHelpersModuleNameIfNeeded(n,c);if(a){var i=[],o=e.addPrologueDirectives(i,n.statements);return e.append(i,e.createImportDeclaration(void 0,void 0,e.createImportClause(void 0,e.createNamespaceImport(a)),e.createLiteral(e.externalHelpersModuleNameText))),e.addRange(i,e.visitNodes(n.statements,r,e.isStatement,o)),e.updateSourceFileNode(n,e.createNodeArray(i,n.statements))}return e.visitEachChild(n,r,t)}return n}function r(e){switch(e.kind){case 234:return;case 240:return a(e)}return e}function a(e){return e.isExportEquals?void 0:e}function i(t,n,r){e.isSourceFile(n)?(l=n,u(t,n,r),l=void 0):u(t,n,r)}function o(t,n){return n=_(t,n),e.isIdentifier(n)&&1===t?s(n):n}function s(t){if(4096&e.getEmitFlags(t)){var n=e.getExternalHelpersModuleName(l);if(n)return e.createPropertyAccess(n,t)}return t}var c=t.getCompilerOptions(),u=t.onEmitNode,_=t.onSubstituteNode;t.onEmitNode=i,t.onSubstituteNode=o,t.enableEmitNotification(261),t.enableSubstitution(70);var l;return n}e.transformES2015Module=t}(o||(o={}));var o;!function(e){function t(t){function n(t){if(e.isDeclarationFile(t)||!e.isExternalModule(t)&&!de.isolatedModules)return t;var n=e.getOriginalNodeId(t);ye=t,xe=t,he=De[n]=e.collectExternalModuleInfo(t,fe,de),ve=Ee[n]=e.createUniqueName("exports"),be=e.createUniqueName("context");var i=r(he.externalImports),o=a(t,i),s=e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,ve),e.createParameter(void 0,void 0,void 0,be)],void 0,o),c=e.tryGetModuleNameFromFile(t,pe,de),u=e.createArrayLiteral(e.map(i,function(e){return e.name})),_=e.updateSourceFileNode(t,e.createNodeArray([e.createStatement(e.createCall(e.createPropertyAccess(e.createIdentifier("System"),"register"),void 0,c?[c,u,s]:[u,s]))],t.statements));return de.outFile||de.out||e.moveEmitHelpers(_,o,function(e){return!e.scoped}),Se&&(Te[n]=Se,Se=void 0),ye=void 0,he=void 0,ve=void 0,be=void 0,ke=void 0,xe=void 0,e.aggregateTransformFlags(_)}function r(t){for(var n=e.createMap(),r=[],a=0;a=2?2:0),t))}else r&&e.isDefaultImport(t)&&(n=e.append(n,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(t),t)],void 0,X>=2?2:0))));if(S(t)){var i=e.getOriginalNodeId(t);re[i]=C(re[i],t)}else n=C(n,t);return e.singleOrMany(n)}function p(t){var n=e.getExternalModuleNameLiteral(t,$,G,H,W),r=[];return n&&r.push(n),e.createCall(e.createIdentifier("require"),void 0,r)}function m(t){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer.");var n;if(Y!==e.ModuleKind.AMD?n=e.hasModifier(t,1)?e.append(n,e.createStatement(F(t.name,p(t)),t)):e.append(n,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),void 0,p(t))],void 0,X>=2?2:0),t)):e.hasModifier(t,1)&&(n=e.append(n,e.createStatement(F(e.getExportName(t),e.getLocalName(t)),t))),S(t)){var r=e.getOriginalNodeId(t);re[r]=E(re[r],t)}else n=E(n,t);return e.singleOrMany(n)}function g(t){if(t.moduleSpecifier){var n=e.getGeneratedNameForNode(t);if(t.exportClause){var r=[];Y!==e.ModuleKind.AMD&&r.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(n,void 0,p(t))]),t));for(var a=0,i=t.exportClause.elements;a=0&&(e.Debug.assert(!1,"We do not support name index right now, Make sure to update updateLastEncodedAndRecordedSpans when we start using this"),k.sourceMapMappings+=r(h.nameIndex-b),b=h.nameIndex),v=h,k.sourceMapDecodedMappings.push(v)}}function c(t){if(!D&&!e.positionIsSynthesized(t)){S&&e.performance.mark("beforeSourcemap");var r=e.getLineAndCharacterOfPosition(p,t);r.line++,r.character++;var a=n.getLine(),i=n.getColumn();!h||h.emittedLine!==a||h.emittedColumn!==i||h.sourceIndex===y&&(h.sourceLine>r.line||h.sourceLine===r.line&&h.sourceColumn>r.character)?(s(),h={emittedLine:a,emittedColumn:i,sourceLine:r.line,sourceColumn:r.character,sourceIndex:y}):(h.sourceLine=r.line,h.sourceColumn=r.character,h.sourceIndex=y),S&&(e.performance.mark("afterSourcemap"),e.performance.measure("Source Map","beforeSourcemap","afterSourcemap"))}}function u(t,n,r){if(D)return r(t,n);if(n){var a=n.emitNode,i=a&&a.flags,o=a&&a.sourceMapRange||n,s=o.pos,u=o.end;293!==n.kind&&0===(16&i)&&s>=0&&c(e.skipTrivia(m,s)),64&i?(D=!0,r(t,n),D=!1):r(t,n),293!==n.kind&&0===(32&i)&&u>=0&&c(u)}}function _(t,n,r,a){if(D)return a(n,r);var i=t&&t.emitNode,o=i&&i.flags,s=i&&i.tokenSourceMapRanges&&i.tokenSourceMapRanges[n];return r=e.skipTrivia(m,s?s.pos:r),0===(128&o)&&r>=0&&c(r),r=a(n,r),s&&(r=s.end),0===(256&o)&&r>=0&&c(r),r}function l(n){if(!D){p=n,m=p.text;var r=x.sourceRoot?t.getCommonSourceDirectory():g,a=e.getRelativePathToDirectoryOrUrl(r,p.fileName,t.getCurrentDirectory(),t.getCanonicalFileName,!0);y=e.indexOf(k.sourceMapSources,a),y===-1&&(y=k.sourceMapSources.length,k.sourceMapSources.push(a),k.inputSourceFileNames.push(p.fileName),x.inlineSources&&k.sourceMapSourcesContent.push(p.text))}}function d(){if(!D)return s(),e.stringify({version:3,file:k.sourceMapFile,sourceRoot:k.sourceMapSourceRoot,sources:k.sourceMapSources,names:k.sourceMapNames,mappings:k.sourceMapMappings,sourcesContent:k.sourceMapSourcesContent})}function f(){if(!D){if(x.inlineSourceMap){var t=e.convertToBase64(d());return k.jsSourceMappingURL="data:application/json;base64,"+t}return k.jsSourceMappingURL}}var p,m,g,y,h,v,b,k,x=t.getCompilerOptions(),S=x.extendedDiagnostics,D=!(x.sourceMap||x.inlineSourceMap);return{initialize:i,reset:o,getSourceMapData:function(){return k},setSourceFile:l,emitPos:c,emitNodeWithSourceMap:u,emitTokenWithSourceMap:_,getText:d,getSourceMappingURL:f}}function n(e){if(e<64)return i.charAt(e);throw TypeError(e+": not a 64 based value")}function r(e){e<0?e=(-e<<1)+1:e<<=1;var t="";do{var r=31&e;e>>=5,e>0&&(r|=32),t+=n(r)}while(e>0);return t}var a={emittedLine:1,emittedColumn:1,sourceLine:1,sourceColumn:1,sourceIndex:0};e.createSourceMapWriter=t;var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}(o||(o={}));var o;!function(e){function t(t,n,r){function a(t,n,r){if(R)return void r(t,n);if(n){var a=e.getCommentRange(n),i=a.pos,s=a.end,c=e.getEmitFlags(n);if(i<0&&s<0||i===s)2048&c?(R=!0,r(t,n),R=!1):r(t,n);else{T&&e.performance.mark("preEmitNodeWithComment");var _=293!==n.kind,l=i<0||0!==(512&c),d=s<0||0!==(1024&c);l||o(i,_);var f=A,p=P,m=O;l||(A=i),d||(P=s,224===n.kind&&(O=s)),T&&e.performance.measure("commentTime","preEmitNodeWithComment"),2048&c?(R=!0,r(t,n),R=!1):r(t,n),T&&e.performance.mark("beginEmitNodeWithComment"),A=f,P=p,O=m,!d&&_&&u(s),T&&e.performance.measure("commentTime","beginEmitNodeWithComment")}}}function i(t,n,r){T&&e.performance.mark("preEmitBodyWithDetachedComments");var a=n.pos,i=n.end,s=e.getEmitFlags(t),c=a<0||0!==(512&s),u=R||i<0||0!==(1024&s);c||v(n),T&&e.performance.measure("commentTime","preEmitBodyWithDetachedComments"),2048&s&&!R?(R=!0,r(t),R=!1):r(t),T&&e.performance.mark("beginEmitBodyWithDetachedCommetns"),u||o(n.end,!0),T&&e.performance.measure("commentTime","beginEmitBodyWithDetachedCommetns")}function o(e,t){F=!1,t?f(e,c):0===e&&f(e,s)}function s(e,t,n,r,a){k(e,t)&&c(e,t,n,r,a)}function c(t,r,a,i,o){F||(e.emitNewLineBeforeLeadingCommentOfPosition(D,n,o,t),F=!0),N(t),e.writeCommentRange(S,D,n,t,r,w),N(r),i?n.writeLine():n.write(" ")}function u(e){p(e,_)}function _(t,r,a,i){n.isAtStartOfLine()||n.write(" "),N(t),e.writeCommentRange(S,D,n,t,r,w),N(r),i&&n.writeLine()}function l(t){R||(T&&e.performance.mark("beforeEmitTrailingCommentsOfPosition"),p(t,d),T&&e.performance.measure("commentTime","beforeEmitTrailingCommentsOfPosition"))}function d(t,r,a,i){N(t),e.writeCommentRange(S,D,n,t,r,w),N(r),i?n.writeLine():n.write(" ")}function f(t,n){A!==-1&&t===A||(y(t)?h(n):e.forEachLeadingCommentRange(S,t,n,t))}function p(t,n){(P===-1||t!==P&&t!==O)&&e.forEachTrailingCommentRange(S,t,n)}function m(){x=void 0,S=void 0,D=void 0,C=void 0}function g(t){x=t,S=x.text,D=e.getLineStarts(x),C=void 0}function y(t){return void 0!==C&&e.lastOrUndefined(C).nodePos===t}function h(t){var n=e.lastOrUndefined(C).detachedCommentEndPos;C.length-1?C.pop():C=void 0,e.forEachLeadingCommentRange(S,n,t,n)}function v(t){var r=e.emitDetachedComments(S,D,n,b,t,w,R);r&&(C?C.push(r):C=[r])}function b(t,n,r,a,i,o){N(a),e.writeCommentRange(t,n,r,a,i,o),N(i)}function k(t,n){if(47===S.charCodeAt(t+1)&&t+2=0}function u(t){if(t){var n=e.getLeadingCommentRanges(ye,t.pos);if(e.forEach(n,c))return;ie(t)}}function _(){var t=e.createTextWriter(fe);t.trackSymbol=m,t.reportInaccessibleThisError=g,t.writeKeyword=t.write,t.writeOperator=t.write,t.writePunctuation=t.write, -t.writeSpace=t.write,t.writeStringLiteral=t.writeLiteral,t.writeParameter=t.write,t.writeSymbol=t.write,l(t)}function l(e){de=e,se=e.write,le=e.writeTextOfNode,ce=e.writeLine,ue=e.increaseIndent,_e=e.decreaseIndent}function d(t){var n=de;e.forEach(t,function(t){var n;223===t.kind?n=t.parent.parent:238===t.kind||239===t.kind||236===t.kind?e.Debug.fail("We should be getting ImportDeclaration instead to write"):n=t;var r=e.forEach(we,function(e){return e.node===n?e:void 0});if(!r&&Se&&(r=e.forEach(Se,function(e){return e.node===n?e:void 0})),r)if(235===r.node.kind)r.isVisible=!0;else{_();for(var a=r.indent;a;a--)ue();230===n.kind&&(e.Debug.assert(void 0===Se),Se=[]),A(n),230===n.kind&&(r.subModuleElementDeclarationEmitInfo=Se,Se=void 0),r.asynchronousOutput=de.getText()}}),l(n)}function f(t){if(t){De||(De=e.createMap());for(var n=0,r=t;n")))}function o(e){a(e.typeName),e.typeArguments&&(se("<"),k(e.typeArguments,D),se(">"))}function s(e){le(ye,e.parameterName),se(" is "),D(e.type)}function c(e){se("typeof "),a(e.exprName)}function u(e){D(e.elementType),se("[]")}function _(e){se("["),k(e.elementTypes,D),se("]")}function l(e){b(e.types," | ",D)}function d(e){b(e.types," & ",D)}function m(e){se("("),D(e.type),se(")")}function g(t){se(e.tokenToString(t.operator)),se(" "),D(t.type)}function y(e){D(e.objectType),se("["),D(e.indexType),se("]")}function h(e){var t=me;me=e,se("{"),ce(),ue(),e.readonlyToken&&se("readonly "),se("["),r(e.typeParameter.name),se(" in "),D(e.typeParameter.constraint),se("]"),e.questionToken&&se("?"),se(": "),D(e.type),se(";"),ce(),_e(),se("}"),me=t}function x(e){se("{"),e.members.length&&(ce(),ue(),v(e.members),_e()),se("}")}switch(t.kind){case 118:case 134:case 132:case 121:case 135:case 104:case 137:case 94:case 129:case 167:case 171:return le(ye,t);case 199:return i(t);case 157:return o(t);case 160:return c(t);case 162:return u(t);case 163:return _(t);case 164:return l(t);case 165:return d(t);case 166:return m(t);case 168:return g(t);case 169:return y(t);case 170:return h(t);case 158:case 159:return ne(t);case 161:return x(t);case 70:return a(t);case 141:return a(t);case 156:return s(t)}}function C(t){ye=t.text,he=e.getLineStarts(t),ve=t.identifiers,be=e.isExternalModule(t),me=t,e.emitDetachedComments(ye,he,de,e.writeCommentRange,t,fe,!0),v(t.statements)}function E(){var e="_default";if(!(e in ve))return e;for(var t=0;;){t++;var n=e+"_"+t;if(!(n in ve))return n}}function T(t){function r(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:t}}if(70===t.expression.kind)se(t.isExportEquals?"export = ":"export default "),le(ye,t.expression);else{var a=E();xe||se("declare "),se("var "),se(a),se(": "),de.getSymbolAccessibilityDiagnostic=r,n.writeTypeOfExpression(t.expression,me,1026,de),se(";"),ce(),se(t.isExportEquals?"export = ":"export default "),se(a)}if(se(";"),ce(),70===t.expression.kind){var i=n.collectLinkedAliases(t.expression);d(i)}}function w(e){return n.isDeclarationVisible(e)}function N(e,t){if(t)A(e);else if(234===e.kind||261===e.parent.kind&&be){var r=void 0;if(Se&&261!==e.parent.kind)Se.push({node:e,outputPos:de.getTextPos(),indent:de.getIndent(),isVisible:r});else{if(235===e.kind){var a=e;a.importClause&&(r=a.importClause.name&&n.isDeclarationVisible(a.importClause)||R(a.importClause.namedBindings))}we.push({node:e,outputPos:de.getTextPos(),indent:de.getIndent(),isVisible:r})}}}function A(t){switch(t.kind){case 225:return te(t);case 205:return $(t);case 227:return G(t);case 226:return H(t);case 228:return K(t);case 229:return J(t);case 230:return z(t);case 234:return F(t);case 235:return I(t);default:e.Debug.fail("Unknown symbol kind")}}function P(t){if(261===t.parent.kind){var n=e.getModifierFlags(t);1&n&&se("export "),512&n?se("default "):227===t.kind||xe||se("declare ")}}function O(e){8&e?se("private "):16&e&&se("protected "),32&e&&se("static "),64&e&&se("readonly "),128&e&&se("abstract ")}function F(t){function n(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}Ee(t),e.hasModifier(t,1)&&se("export "),se("import "),le(ye,t.name),se(" = "),e.isInternalModuleImportEqualsDeclaration(t)?(S(t.moduleReference,n),se(";")):(se("require("),L(t),se(");")),de.writeLine()}function R(t){if(t)return 237===t.kind?n.isDeclarationVisible(t):e.forEach(t.elements,function(e){return n.isDeclarationVisible(e)})}function I(t){if(Ee(t),e.hasModifier(t,1)&&se("export "),se("import "),t.importClause){var r=de.getTextPos();t.importClause.name&&n.isDeclarationVisible(t.importClause)&&le(ye,t.importClause.name),t.importClause.namedBindings&&R(t.importClause.namedBindings)&&(r!==de.getTextPos()&&se(", "),237===t.importClause.namedBindings.kind?(se("* as "),le(ye,t.importClause.namedBindings.name)):(se("{ "),k(t.importClause.namedBindings.elements,M,n.isDeclarationVisible),se(" }"))),se(" from ")}L(t),se(";"),de.writeLine()}function L(r){ge=ge||230!==r.kind;var a;if(234===r.kind){var i=r;a=e.getExternalModuleImportEqualsDeclarationExpression(i)}else if(230===r.kind)a=r.name;else{var i=r;a=i.moduleSpecifier}if(9===a.kind&&o&&(pe.out||pe.outFile)){var s=e.getExternalModuleNameFromDeclaration(t,n,r);if(s)return se('"'),se(s),void se('"')}le(ye,a)}function M(e){e.propertyName&&(le(ye,e.propertyName),se(" as ")),le(ye,e.name)}function B(e){M(e);var t=n.collectLinkedAliases(e.propertyName||e.name);d(t)}function j(e){Ee(e),se("export "),e.exportClause?(se("{ "),k(e.exportClause.elements,B),se(" }")):se("*"),e.moduleSpecifier&&(se(" from "),L(e)),se(";"),de.writeLine()}function z(t){for(Ee(t),P(t),e.isGlobalScopeAugmentation(t)?se("global "):(se(16&t.flags?"namespace ":"module "),e.isExternalModuleAugmentation(t)?L(t):le(ye,t.name));t.body&&231!==t.body.kind;)t=t.body,se("."),le(ye,t.name);var n=me;t.body?(me=t,se(" {"),ce(),ue(),v(t.body.statements),_e(),se("}"),ce(),me=n):se(";")}function K(t){function n(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}}var r=me;me=t,Ee(t),P(t),se("type "),le(ye,t.name),q(t.typeParameters),se(" = "),S(t.type,n),se(";"),ce(),me=r}function J(t){Ee(t),P(t),e.isConst(t)&&se("const "),se("enum "),le(ye,t.name),se(" {"),ce(),ue(),v(t.members),_e(),se("}"),ce()}function U(e){Ee(e),le(ye,e.name);var t=n.getConstantValue(e);void 0!==t&&(se(" = "),se(t.toString())),se(","),ce()}function V(t){return 149===t.parent.kind&&e.hasModifier(t.parent,8)}function q(t){function n(t){function n(){var n;switch(t.parent.kind){case 226:n=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 227:n=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 154:n=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 153:n=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 149:case 148:n=e.hasModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:226===t.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 225:n=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 228:n=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:n,errorNode:t,typeName:t.name}}ue(),Ee(t),_e(),le(ye,t.name),t.constraint&&!V(t)&&(se(" extends "),158===t.parent.kind||159===t.parent.kind||t.parent.parent&&161===t.parent.parent.kind?(e.Debug.assert(149===t.parent.kind||148===t.parent.kind||158===t.parent.kind||159===t.parent.kind||153===t.parent.kind||154===t.parent.kind),D(t.constraint)):S(t.constraint,n))}t&&(se("<"),k(t,n),se(">"))}function W(t,r){function a(t){function a(){var n;return n=226===t.parent.parent.kind?r?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.Extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.Extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:t,typeName:t.parent.parent.name}}e.isEntityNameExpression(t.expression)?S(t,a):r||94!==t.expression.kind?(de.getSymbolAccessibilityDiagnostic=a,n.writeBaseConstructorTypeOfClass(me,me,1026,de)):se("null")}t&&(se(r?" implements ":" extends "),k(t,a))}function H(t){function n(t){t&&e.forEach(t.parameters,function(t){e.hasModifier(t,92)&&X(t)})}Ee(t),P(t),e.hasModifier(t,128)&&se("abstract "),se("class "),le(ye,t.name);var r=me;me=t,q(t.typeParameters);var a=e.getClassExtendsHeritageClauseElement(t);a&&W([a],!1),W(e.getClassImplementsHeritageClauseElements(t),!0),se(" {"),ce(),ue(),n(e.getFirstConstructorWithBody(t)),v(t.members),_e(),se("}"),ce(),me=r}function G(t){Ee(t),P(t),se("interface "),le(ye,t.name);var n=me;me=t,q(t.typeParameters);var r=e.filter(e.getInterfaceBaseTypeNodes(t),function(t){return e.isEntityNameExpression(t.expression)});r&&r.length&&W(r,!1),se(" {"),ce(),ue(),v(t.members),_e(),se("}"),ce(),me=n}function X(t){e.hasDynamicName(t)||(Ee(t),O(e.getModifierFlags(t)),Y(t),se(";"),ce())}function Y(t){function r(n){return 223===t.kind?n.errorModuleName?2===n.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:147===t.kind||146===t.kind?e.hasModifier(t,32)?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:226===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:void 0}function a(e){var n=r(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function i(e){for(var t=[],n=0,r=e.elements;n0?e.parameters[0].type:void 0}function r(t){var n;return 152===a.kind?(n=e.hasModifier(a.parent,32)?t.errorModuleName?e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:a.parameters[0],typeName:a.name}):(n=e.hasModifier(a,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0,{diagnosticMessage:n,errorNode:a.name,typeName:void 0})}if(!e.hasDynamicName(t)){var a,i=e.getAllAccessorDeclarations(t.parent.members,t);if(t===i.firstAccessor){if(Ee(i.getAccessor),Ee(i.setAccessor),O(e.getModifierFlags(t)|(i.setAccessor?0:64)),le(ye,t.name),!e.hasModifier(t,8)){a=t;var o=n(t);if(!o){var s=151===t.kind?i.setAccessor:i.getAccessor;o=n(s),o&&(a=s)}y(t,o,r)}se(";"),ce()}}}function te(t){e.hasDynamicName(t)||n.isImplementationOfOverload(t)||(Ee(t),225===t.kind?P(t):149!==t.kind&&150!==t.kind||O(e.getModifierFlags(t)),225===t.kind?(se("function "),le(ye,t.name)):150===t.kind?se("constructor"):(le(ye,t.name),e.hasQuestionToken(t)&&se("?")),re(t))}function ne(e){Ee(e),re(e)}function re(t){function n(n){var r;switch(t.kind){case 154:r=n.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 153:r=n.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 155:r=n.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 149:case 148:r=e.hasModifier(t,32)?n.errorModuleName?2===n.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:226===t.parent.kind?n.errorModuleName?2===n.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:n.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 225:r=n.errorModuleName?2===n.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:e.Debug.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:r,errorNode:t.name||t}}var r=me;me=t;var a=!1;if(155===t.kind)O(e.getModifierFlags(t)),se("[");else{if(154===t.kind||159===t.kind)se("new ");else if(158===t.kind){var i=de.getText();t.typeParameters&&"<"===i.charAt(i.length-1)&&(a=!0,se("("))}q(t.typeParameters),se("(")}k(t.parameters,ae),se(155===t.kind?"]":")");var o=158===t.kind||159===t.kind;o||161===t.parent.kind?t.type&&(se(o?" => ":": "),D(t.type)):150===t.kind||e.hasModifier(t,8)||h(t,n),me=r,o?a&&se(")"):(se(";"),ce())}function ae(t){function r(e){var n=a(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function a(n){switch(t.parent.kind){case 150:return n.errorModuleName?2===n.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 154:return n.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 153:return n.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 155:return n.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 149:case 148:return e.hasModifier(t.parent,32)?n.errorModuleName?2===n.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:226===t.parent.parent.kind?n.errorModuleName?2===n.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:n.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 225:return n.errorModuleName?2===n.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;default:e.Debug.fail("This is unknown parent for parameter: "+t.parent.kind)}}function i(e){if(172===e.kind)se("{"),k(e.elements,o),se("}");else if(173===e.kind){se("[");var t=e.elements;k(t,o),t&&t.hasTrailingComma&&se(", "),se("]")}}function o(t){198===t.kind?se(" "):174===t.kind&&(t.propertyName&&(le(ye,t.propertyName),se(": ")),t.name&&(e.isBindingPattern(t.name)?i(t.name):(e.Debug.assert(70===t.name.kind),t.dotDotDotToken&&se("..."),le(ye,t.name))))}ue(),Ee(t),t.dotDotDotToken&&se("..."),e.isBindingPattern(t.name)?i(t.name):le(ye,t.name),n.isOptionalParameter(t)&&se("?"),_e(),158===t.parent.kind||159===t.parent.kind||161===t.parent.parent.kind?Q(t):e.hasModifier(t.parent,8)||y(t,t.type,r)}function ie(e){switch(e.kind){case 225:case 230:case 234:case 227:case 226:case 228:case 229:return N(e,w(e));case 205:return N(e,Z(e));case 235:return N(e,!e.importClause);case 241:return j(e);case 150:case 149:case 148:return te(e);case 154:case 153:case 155:return ne(e);case 151:case 152:return ee(e);case 147:case 146:return X(e);case 260:return U(e);case 240:return T(e);case 261:return C(e)}}function oe(n,r,i){function o(t,a,i){i&&!r||(e.Debug.assert(!!t.declarationFilePath||e.isSourceFileJavaScript(n),"Declaration file is not present only for javascript files"),s=t.declarationFilePath||t.jsFilePath,c=i)}var s,c=!1;return e.isDeclarationFile(n)?s=n.fileName:e.forEachExpectedEmitFile(t,o,n,i),s&&(s=e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizeSlashes(a)),s,t.getCurrentDirectory(),t.getCanonicalFileName,!1),Ne+='/// '+fe),c}var se,ce,ue,_e,le,de,fe=t.getNewLine(),pe=t.getCompilerOptions();_();var me,ge,ye,he,ve,be,ke,xe,Se,De,Ce=!1,Ee=pe.removeComments?e.noop:x,Te=pe.stripInternal?u:ie,we=[],Ne="",Ae=[],Pe=!1,Oe=[];if(e.forEach(i,function(n){if(!e.isSourceFileJavaScript(n)){if(pe.noResolve||e.forEach(n.referencedFiles,function(r){var a=e.tryResolveScriptReference(t,n,r);a&&!e.contains(Ae,a)&&(oe(a,!o&&!Pe,s)&&(Pe=!0),Ae.push(a))}),ge=!1,o&&e.isExternalModule(n)?e.isExternalModule(n)&&(xe=!0,se('declare module "'+e.getResolvedExternalModuleName(t,n)+'" {'),ce(),ue(),C(n),_e(),se("}"),ce()):(xe=!1,C(n)),we.length){var r=de;e.forEach(we,function(t){if(t.isVisible&&!t.asynchronousOutput){e.Debug.assert(235===t.node.kind),_(),e.Debug.assert(0===t.indent||1===t.indent&&o);for(var n=0;n'+fe;return{reportedDeclarationError:Ce,moduleElementDeclarationEmitInfo:Oe,synchronousDeclarationOutput:de.getText(),referencesOutput:Ne}}function r(t,r,a,i,o,s,c){function u(t,n){var r=0,a="";return e.forEach(n,function(e){e.asynchronousOutput&&(a+=t.substring(r,e.outputPos),a+=u(e.asynchronousOutput,e.subModuleElementDeclarationEmitInfo),r=e.outputPos)}),a+=t.substring(r)}var _=n(i,o,s,t,r,a,c),l=_.reportedDeclarationError||i.isEmitBlocked(t)||i.getCompilerOptions().noEmit;if(!l){var d=_.referencesOutput+u(_.synchronousDeclarationOutput,_.moduleElementDeclarationEmitInfo);e.writeFile(i,s,t,d,i.getCompilerOptions().emitBOM,r)}return l}e.getDeclarationDiagnostics=t,e.writeDeclarationFile=r}(o||(o={}));var o;!function(e){function t(t,n,r,i){function o(r,a,o,c,u){n.isEmitBlocked(r)||dr.noEmit?Or=!0:i||s(r,a,c,u),o&&(Or=e.writeDeclarationFile(o,e.getOriginalSourceFiles(c),u,n,t,yr,i)||Or),!Or&&gr&&(i||gr.push(r),a&&gr.push(a),o&&gr.push(o))}function s(t,r,a,i){if(Cr.initialize(t,r,a,i),tr=[],nr=[],rr=e.createMap(),cr=i?e.createMap():void 0,ur=!i,i&&pr)for(var o=0,s=a;o "),u(e.type)}function U(e){kr("new "),mn(e,e.typeParameters),yn(e,e.parameters),kr(" => "),u(e.type)}function V(e){kr("typeof "),u(e.exprName)}function q(e){kr("{"),vn(e,e.members,65),kr("}")}function W(e){u(e.elementType),kr("[]")}function H(e){kr("["),vn(e,e.elementTypes,336),kr("]")}function G(e){vn(e,e.types,260)}function X(e){vn(e,e.types,264)}function Y(e){kr("("),u(e.type),kr(")")}function Q(){kr("this")}function Z(e){Cn(e.operator),kr(" "),u(e.type)}function $(e){u(e.objectType),kr("["),u(e.indexType),kr("]")}function ee(e){kr("{"),xr(),Sr(),e.readonlyToken&&kr("readonly "),kr("["),u(e.typeParameter.name),kr(" in "),u(e.typeParameter.constraint),kr("]"),e.questionToken&&kr("?"),kr(": "),u(e.type),kr(";"),xr(),Dr(),kr("}")}function te(e){l(e.literal)}function ne(e){var t=e.elements;0===t.length?kr("{}"):(kr("{"),vn(e,t,432),kr("}"))}function re(e){var t=e.elements;0===t.length?kr("[]"):(kr("["), -vn(e,e.elements,304),kr("]"))}function ae(e){ln(e.propertyName,": "),Sn(e.dotDotDotToken,"..."),u(e.name),un(" = ",e.initializer)}function ie(e){var t=e.elements;if(0===t.length)kr("[]");else{var n=e.multiLine?32768:0;bn(e,t,4466|n)}}function oe(t){var n=t.properties;if(0===n.length)kr("{}");else{var r=32768&e.getEmitFlags(t);r&&Sr();var a=t.multiLine?32768:0,i=fr>=1?32:0;vn(t,n,978|i|a),r&&Dr()}}function se(t){var n=!1,r=!1;if(!(65536&e.getEmitFlags(t))){var a=t.expression.end,i=e.skipTrivia(or,t.expression.end)+1,o={kind:22,pos:a,end:i};n=On(t,t.expression,o),r=On(t,o,t.name)}l(t.expression),En(n);var s=!n&&ce(t.expression);kr(s?"..":"."),En(r),u(t.name),Tn(n,r)}function ce(t){if(8===t.kind){var n=In(t);return n.indexOf(e.tokenToString(22))<0}if(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)){var r=e.getConstantValue(t);return isFinite(r)&&Math.floor(r)===r&&dr.removeComments}}function ue(e){l(e.expression),kr("["),l(e.argumentExpression),kr("]")}function _e(e){l(e.expression),pn(e,e.typeArguments),bn(e,e.arguments,1296)}function le(e){kr("new "),l(e.expression),pn(e,e.typeArguments),bn(e,e.arguments,9488)}function de(e){l(e.tag),kr(" "),l(e.template)}function fe(e){e.type&&(kr("<"),u(e.type),kr(">")),l(e.expression)}function pe(e){kr("("),l(e.expression),kr(")")}function me(e){it(e)}function ge(e){fn(e,e.decorators),sn(e,e.modifiers),ot(e,ye)}function ye(e){mn(e,e.typeParameters),yn(e,e.parameters),cn(": ",e.type),kr(" =>")}function he(e){kr("delete "),l(e.expression)}function ve(e){kr("typeof "),l(e.expression)}function be(e){kr("void "),l(e.expression)}function ke(e){kr("await "),l(e.expression)}function xe(e){Cn(e.operator),Se(e)&&kr(" "),l(e.operand)}function Se(e){var t=e.operand;return 190===t.kind&&(36===e.operator&&(36===t.operator||42===t.operator)||37===e.operator&&(37===t.operator||43===t.operator))}function De(e){l(e.operand),Cn(e.operator)}function Ce(e){var t=25!==e.operatorToken.kind,n=On(e,e.left,e.operatorToken),r=On(e,e.operatorToken,e.right);l(e.left),En(n,t?" ":void 0),Cn(e.operatorToken.kind),En(r," "),l(e.right),Tn(n,r)}function Ee(e){var t=On(e,e.condition,e.questionToken),n=On(e,e.questionToken,e.whenTrue),r=On(e,e.whenTrue,e.colonToken),a=On(e,e.colonToken,e.whenFalse);l(e.condition),En(t," "),kr("?"),En(n," "),l(e.whenTrue),Tn(t,n),En(r," "),kr(":"),En(a," "),l(e.whenFalse),Tn(r,a)}function Te(e){u(e.head),vn(e,e.templateSpans,131072)}function we(e){kr(e.asteriskToken?"yield*":"yield"),un(" ",e.expression)}function Ne(e){kr("..."),l(e.expression)}function Ae(e){ft(e)}function Pe(e){l(e.expression),pn(e,e.typeArguments)}function Oe(e){l(e.expression),e.type&&(kr(" as "),u(e.type))}function Fe(e){l(e.expression),kr("!")}function Re(e){l(e.expression),u(e.literal)}function Ie(e){Ln(e)?(Dn(16,e.pos,e),kr(" "),Dn(17,e.statements.end,e)):(Dn(16,e.pos,e),Le(e),Dn(17,e.statements.end,e))}function Le(t){1&e.getEmitFlags(t)?vn(t,t.statements,384):vn(t,t.statements,65)}function Me(e){sn(e,e.modifiers),u(e.declarationList),kr(";")}function Be(){kr(";")}function je(e){l(e.expression),kr(";")}function ze(e){var t=Dn(89,e.pos,e);kr(" "),Dn(18,t,e),l(e.expression),Dn(19,e.expression.end,e),dn(e.thenStatement),e.elseStatement&&(xr(),Dn(81,e.thenStatement.end,e),208===e.elseStatement.kind?(kr(" "),u(e.elseStatement)):dn(e.elseStatement))}function Ke(t){kr("do"),dn(t.statement),e.isBlock(t.statement)?kr(" "):xr(),kr("while ("),l(t.expression),kr(");")}function Je(e){kr("while ("),l(e.expression),kr(")"),dn(e.statement)}function Ue(e){var t=Dn(87,e.pos);kr(" "),Dn(18,t,e),We(e.initializer),kr(";"),un(" ",e.condition),kr(";"),un(" ",e.incrementor),kr(")"),dn(e.statement)}function Ve(e){var t=Dn(87,e.pos);kr(" "),Dn(18,t),We(e.initializer),kr(" in "),l(e.expression),Dn(19,e.expression.end),dn(e.statement)}function qe(e){var t=Dn(87,e.pos);kr(" "),Dn(18,t),We(e.initializer),kr(" of "),l(e.expression),Dn(19,e.expression.end),dn(e.statement)}function We(e){void 0!==e&&(224===e.kind?u(e):l(e))}function He(e){Dn(76,e.pos),cn(" ",e.label),kr(";")}function Ge(e){Dn(71,e.pos),cn(" ",e.label),kr(";")}function Xe(e){Dn(95,e.pos,e),un(" ",e.expression),kr(";")}function Ye(e){kr("with ("),l(e.expression),kr(")"),dn(e.statement)}function Qe(e){var t=Dn(97,e.pos);kr(" "),Dn(18,t),l(e.expression),Dn(19,e.expression.end),kr(" "),u(e.caseBlock)}function Ze(e){u(e.label),kr(": "),u(e.statement)}function $e(e){kr("throw"),un(" ",e.expression),kr(";")}function et(e){kr("try "),u(e.tryBlock),u(e.catchClause),e.finallyBlock&&(xr(),kr("finally "),u(e.finallyBlock))}function tt(e){Dn(77,e.pos),kr(";")}function nt(e){u(e.name),cn(": ",e.type),un(" = ",e.initializer)}function rt(t){kr(e.isLet(t)?"let ":e.isConst(t)?"const ":"var "),vn(t,t.declarations,272)}function at(e){it(e)}function it(e){fn(e,e.decorators),sn(e,e.modifiers),kr(e.asteriskToken?"function* ":"function "),_(e.name),ot(e,st)}function ot(t,n){var r=t.body;if(r)if(e.isBlock(r)){var a=32768&e.getEmitFlags(t);if(a&&Sr(),262144&e.getEmitFlags(t))n(t),ut(r);else{var i=ar;ar=0,n(t),ut(r),ar=i}a&&Dr()}else n(t),kr(" "),l(r);else n(t),kr(";")}function st(e){mn(e,e.typeParameters),gn(e,e.parameters),cn(": ",e.type)}function ct(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine)return!1;if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,ir))return!1;if(wn(t,t.statements,2)||An(t,t.statements,2))return!1;for(var n,r=0,a=t.statements;r")}function Lt(e){kr("<"),Jt(e.tagName),xn(e.attributes," "),vn(e,e.attributes,131328),kr(">")}function Mt(e){br.writeLiteral(Rn(e,!0))}function Bt(e){kr("")}function jt(e){u(e.name),cn("=",e.initializer)}function zt(e){kr("{..."),l(e.expression),kr("}")}function Kt(e){e.expression&&(kr("{"),l(e.expression),kr("}"))}function Jt(e){70===e.kind?l(e):u(e)}function Ut(e){kr("case "),l(e.expression),kr(":"),qt(e,e.statements)}function Vt(e){kr("default:"),qt(e,e.statements)}function qt(t,n){var r=1===n.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(n[0])||e.rangeStartPositionsAreOnSameLine(t,n[0],ir));r?(kr(" "),u(n[0])):vn(t,n,81985)}function Wt(e){kr(" "),Cn(e.token),kr(" "),vn(e,e.types,272)}function Ht(e){xr();var t=Dn(73,e.pos);kr(" "),Dn(18,t),u(e.variableDeclaration),Dn(19,e.variableDeclaration?e.variableDeclaration.end:t),kr(" "),u(e.block)}function Gt(t){u(t.name),kr(": ");var n=t.initializer;if(0===(512&e.getEmitFlags(n))){var r=e.getCommentRange(n);Pr(r.pos)}l(n)}function Xt(e){u(e.name),e.objectAssignmentInitializer&&(kr(" = "),l(e.objectAssignmentInitializer))}function Yt(e){e.expression&&(kr("..."),l(e.expression))}function Qt(e){u(e.name),un(" = ",e.initializer)}function Zt(e){xr(),on(),Ar(e,e.statements,$t)}function $t(e){var t=e.statements,n=tn(t),r=ar;ar=0,nn(e),vn(e,t,1,n),ar=r}function en(e){l(e.expression)}function tn(t,n){for(var r=0;r0)&&xr(),u(t[r])}return t.length}function nn(t,n){var r=e.isSourceFile(t)?t:ir,a=dr.noEmitHelpers||r&&void 0!==e.getExternalHelpersModuleName(r),i=e.isSourceFile(t)&&!ur,o=!1,s=e.getEmitHelpers(t);if(s)for(var c=0,u=e.stableSort(s,e.compareEmitHelpers);c0&&xr(),kr(a))}}function an(t){for(var n,r=0,a=t;r=r.length||0===o;if(!(c&&16384&a)){if(7680&a&&kr($n(a)),c)1&a?xr():128&a&&kr(" ");else{var u=0===(131072&a),_=u;wn(n,r,a)?(xr(),_=!1):128&a&&kr(" "),64&a&&Sr();for(var l=void 0,d=void 0,f=Qn(a),p=0;p0&&kr(t)}function Sn(e,t){void 0!==e&&kr(t)}function Dn(e,t,n){return Tr(n,e,t,Cn)}function Cn(t,n){var r=e.tokenToString(t);return kr(r),n<0?n:n+r.length}function En(e,t){e?(Sr(),xr()):t&&kr(t)}function Tn(e,t){e&&Dr(),t&&Dr()}function wn(t,n,r){if(1&r)return!0;if(2&r){if(32768&r)return!0;var a=n[0];return void 0===a?!e.rangeIsOnSingleLine(t,ir):e.positionIsSynthesized(t.pos)||e.nodeIsSynthesized(a)?Pn(a,r):!e.rangeStartPositionsAreOnSameLine(t,a,ir)}return!1}function Nn(t,n,r){return!!(1&r)||(2&r?void 0!==t&&void 0!==n&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(n)?Pn(t,r)||Pn(n,r):!e.rangeEndIsOnSameLineAsRangeStart(t,n,ir)):n.startsOnNewLine)}function An(t,n,r){if(1&r)return 0===(65536&r);if(2&r){if(32768&r)return!0;var a=e.lastOrUndefined(n);return void 0===a?!e.rangeIsOnSingleLine(t,ir):e.positionIsSynthesized(t.pos)||e.nodeIsSynthesized(a)?Pn(a,r):!e.rangeEndPositionsAreOnSameLine(t,a,ir)}return!1}function Pn(t,n){if(e.nodeIsSynthesized(t)){var r=t.startsOnNewLine;return void 0===r?0!==(32768&n):r}return 0!==(32768&n)}function On(t,n,r){return t=Fn(t),n=Fn(n),r=Fn(r),!!r.startsOnNewLine||!(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(n)||e.nodeIsSynthesized(r)||e.rangeEndIsOnSameLineAsRangeStart(n,r,ir))}function Fn(t){for(;183===t.kind&&e.nodeIsSynthesized(t);)t=t.expression;return t}function Rn(t,n){return e.isGeneratedIdentifier(t)?Xn(t):!e.isIdentifier(t)||!e.nodeIsSynthesized(t)&&t.parent?9===t.kind&&t.textSourceNode?Rn(t.textSourceNode,n):!e.isLiteralExpression(t)||!e.nodeIsSynthesized(t)&&t.parent?e.getSourceTextOfNodeFromSourceFile(ir,t,n):t.text:e.unescapeIdentifier(t.text)}function In(t){if(9===t.kind&&t.textSourceNode){var n=t.textSourceNode;return e.isIdentifier(n)?'"'+e.escapeNonAsciiCharacters(e.escapeString(Rn(n)))+'"':In(n)}return e.getLiteralText(t,ir,fr)}function Ln(e){return!e.multiLine&&Mn(e)}function Mn(t){return 0===t.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(t,t,ir)}function Bn(n){return!t.hasGlobalName(n)&&!e.hasProperty(sr,n)&&!e.hasProperty(rr,n)}function jn(t,n){for(var r=n;e.isNodeDescendantOf(r,n);r=r.nextContainer)if(r.locals&&e.hasProperty(r.locals,t)&&9544639&r.locals[t].flags)return!1;return!0}function zn(e){if(e&&!(ar&e)){var t=268435456===e?"_i":"_n";if(Bn(t))return ar|=e,t}for(;;){var n=268435455&ar;if(ar++,8!==n&&13!==n){var r=n<26?"_"+String.fromCharCode(97+n):"_"+(n-26);if(Bn(r))return r}}}function Kn(e){95!==e.charCodeAt(e.length-1)&&(e+="_");for(var t=1;;){var n=e+t;if(Bn(n))return rr[n]=n;t++}}function Jn(e){var t=Rn(e.name);return jn(t,e)?t:Kn(t)}function Un(t){var n=e.getExternalModuleName(t),r=9===n.kind?e.escapeIdentifier(e.makeIdentifierFromModuleName(n.text)):"module";return Kn(r)}function Vn(){return Kn("default")}function qn(){return Kn("class")}function Wn(e){switch(e.kind){case 70:return Kn(Rn(e));case 230:case 229:return Jn(e);case 235:case 241:return Un(e);case 225:case 226:case 240:return Vn();case 197:return qn();default:return zn(0)}}function Hn(t){switch(t.autoGenerateKind){case 1:return zn(0);case 2:return zn(268435456);case 3:return Kn(t.text)}e.Debug.fail("Unsupported GeneratedIdentifierKind.")}function Gn(t){for(var n=t.autoGenerateId,r=t,a=r.original;a&&(r=a,!e.isIdentifier(r)||4!==r.autoGenerateKind||r.autoGenerateId===n);)a=r.original;return r}function Xn(t){if(4===t.autoGenerateKind){var n=Gn(t),r=e.getNodeId(n);return tr[r]||(tr[r]=e.unescapeIdentifier(Wn(n)))}var a=t.autoGenerateId;return nr[a]||(nr[a]=e.unescapeIdentifier(Hn(t)))}function Yn(){var e=[];return e[0]="",e[16]=",",e[4]=" |",e[8]=" &",e}function Qn(e){return _r[28&e]}function Zn(){var e=[];return e[512]=["{","}"],e[1024]=["(",")"],e[2048]=["<",">"],e[4096]=["[","]"],e}function $n(e){return lr[7680&e][0]}function er(e){return lr[7680&e][1]}var tr,nr,rr,ar,ir,or,sr,cr,ur,_r=Yn(),lr=Zn(),dr=n.getCompilerOptions(),fr=e.getEmitScriptTarget(dr),pr=e.getEmitModuleKind(dr),mr=dr.sourceMap||dr.inlineSourceMap?[]:void 0,gr=dr.listEmittedFiles?[]:void 0,yr=e.createDiagnosticCollection(),hr=n.getNewLine(),vr=i?a:e.getTransformers(dr),br=e.createTextWriter(hr),kr=br.write,xr=br.writeLine,Sr=br.increaseIndent,Dr=br.decreaseIndent,Cr=e.createSourceMapWriter(n,br),Er=Cr.emitNodeWithSourceMap,Tr=Cr.emitTokenWithSourceMap,wr=e.createCommentWriter(n,br,Cr),Nr=wr.emitNodeWithComments,Ar=wr.emitBodyWithDetachedComments,Pr=wr.emitTrailingCommentsOfPosition,Or=!1,Fr=e.getSourceFilesToEmit(n,r);e.performance.mark("beforeTransform");var Rr=e.transformFiles(t,n,Fr,vr),Ir=Rr.transformed,Lr=Rr.emitNodeWithSubstitution,Mr=Rr.emitNodeWithNotification;e.performance.measure("transformTime","beforeTransform"),e.performance.mark("beforePrint"),e.forEachTransformedEmitFile(n,Ir,o,i),e.performance.measure("printTime","beforePrint");for(var Br=0,jr=Fr;Bre.getRootLength(t)&&!i(t)){var n=e.getDirectoryPath(t);o(n),e.sys.createDirectory(t)}}function s(t,n,r){_||(_=e.createMap());var a=e.sys.createHash(n),i=e.sys.getModifiedTime(t);if(i&&t in _){var o=_[t];if(o.byteOrderMark===r&&o.hash===a&&o.mtime.getTime()===i.getTime())return}e.sys.writeFile(t,n,r);var s=e.sys.getModifiedTime(t);_[t]={hash:a,byteOrderMark:r,mtime:s}}function c(n,r,a,i){try{e.performance.mark("beforeIOWrite"),o(e.getDirectoryPath(e.normalizePath(n))),e.isWatchSet(t)&&e.sys.createHash&&e.sys.getModifiedTime?s(n,r,a):e.sys.writeFile(n,r,a),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){i&&i(e.message)}}function u(){return e.getDirectoryPath(e.normalizePath(e.sys.getExecutingFilePath()))}var _,l=e.createMap(),d=-2147024809,f=e.getNewLineCharacter(t),p=e.sys.realpath&&function(t){return e.sys.realpath(t)};return{getSourceFile:a,getDefaultLibLocation:u,getDefaultLibFileName:function(t){return e.combinePaths(u(),e.getDefaultLibFileName(t))},writeFile:c,getCurrentDirectory:e.memoize(function(){return e.sys.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return e.sys.useCaseSensitiveFileNames},getCanonicalFileName:r,getNewLine:function(){return f},fileExists:function(t){return e.sys.fileExists(t)},readFile:function(t){return e.sys.readFile(t)},trace:function(t){return e.sys.write(t+f)},directoryExists:function(t){return e.sys.directoryExists(t)},getEnvironmentVariable:function(t){return e.sys.getEnvironmentVariable?e.sys.getEnvironmentVariable(t):""},getDirectories:function(t){return e.sys.getDirectories(t)},realpath:p}}function i(t,n,r){var a=t.getOptionsDiagnostics(r).concat(t.getSyntacticDiagnostics(n,r),t.getGlobalDiagnostics(r),t.getSemanticDiagnostics(n,r));return t.getCompilerOptions().declaration&&(a=a.concat(t.getDeclarationDiagnostics(n,r))),e.sortAndDeduplicateDiagnostics(a)}function o(t,n){for(var r="",a=0,i=t;a0||s.length>0)return{diagnostics:e.concatenate(c,s),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}var u=y().getEmitResolver(i.outFile||i.out?void 0:n);e.performance.mark("beforeEmit");var _=e.emitFiles(u,m(r),n,o);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),_}function S(t){return D(e.toPath(t,ge,X))}function D(e){return xe.get(e)}function C(t,n,r){if(t)return n(t,r);var a=[];return e.forEach(te.getSourceFiles(),function(t){r&&r.throwIfCancellationRequested(),e.addRange(a,n(t,r))}),e.sortAndDeduplicateDiagnostics(a)}function E(e,t){return C(e,N,t)}function T(e,t){return C(e,P,t)}function w(e,t){var n=te.getCompilerOptions();return!e||n.out||n.outFile?F(e,t):C(e,R,t)}function N(t){return e.isSourceFileJavaScript(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=O(t)),e.concatenate(t.additionalSyntacticDiagnostics,t.parseDiagnostics)):t.parseDiagnostics}function A(t){try{return t()}catch(t){throw t instanceof e.OperationCanceledException&&(ae=void 0,re=void 0),t}}function P(t,n){return A(function(){var r=y();e.Debug.assert(!!t.bindDiagnostics);var a=t.bindDiagnostics,i=e.isSourceFileJavaScript(t)?[]:r.getDiagnostics(t,n),o=ce.getDiagnostics(t.fileName),s=me.getDiagnostics(t.fileName);return a.concat(i,o,s)})}function O(t){return A(function(){function n(t){switch(u.kind){case 144:case 147:if(u.questionToken===t)return void c.push(s(t,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?"));case 149:case 148:case 150:case 151:case 152:case 184:case 225:case 185:case 225:case 223:if(u.type===t)return void c.push(s(t,e.Diagnostics.types_can_only_be_used_in_a_ts_file))}switch(t.kind){case 234:return void c.push(s(t,e.Diagnostics.import_can_only_be_used_in_a_ts_file));case 240:if(t.isExportEquals)return void c.push(s(t,e.Diagnostics.export_can_only_be_used_in_a_ts_file));break;case 255:var a=t;if(107===a.token)return void c.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_a_ts_file));break;case 227:return void c.push(s(t,e.Diagnostics.interface_declarations_can_only_be_used_in_a_ts_file));case 230:return void c.push(s(t,e.Diagnostics.module_declarations_can_only_be_used_in_a_ts_file));case 228:return void c.push(s(t,e.Diagnostics.type_aliases_can_only_be_used_in_a_ts_file));case 229:return void c.push(s(t,e.Diagnostics.enum_declarations_can_only_be_used_in_a_ts_file));case 182:var i=t;return void c.push(s(i.type,e.Diagnostics.type_assertion_expressions_can_only_be_used_in_a_ts_file))}var o=u;u=t,e.forEachChild(t,n,r),u=o}function r(t){switch(u.decorators!==t||i.experimentalDecorators||c.push(s(u,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning)),u.kind){case 226:case 149:case 148:case 150:case 151:case 152:case 184:case 225:case 185:case 225:if(t===u.typeParameters)return void c.push(o(t,e.Diagnostics.type_parameter_declarations_can_only_be_used_in_a_ts_file));case 205:if(t===u.modifiers)return a(t,205===u.kind);break;case 147:if(t===u.modifiers){for(var r=0,_=t;r<_.length;r++){var l=_[r];114!==l.kind&&c.push(s(l,e.Diagnostics._0_can_only_be_used_in_a_ts_file,e.tokenToString(l.kind)))}return}break;case 144:if(t===u.modifiers)return void c.push(o(t,e.Diagnostics.parameter_modifiers_can_only_be_used_in_a_ts_file));break;case 179:case 180:case 199:if(t===u.typeArguments)return void c.push(o(t,e.Diagnostics.type_arguments_can_only_be_used_in_a_ts_file))}for(var d=0,f=t;d0,_.path=n,o.useCaseSensitiveFileNames()){var l=Se.get(n);l?U(t,l.fileName,a,s,c):Se.set(n,_)}pe=pe||_.hasNoDefaultLib,i.noResolve||(q(_,r),W(_)),Y(_),r?oe.unshift(_):oe.push(_)}return _}function q(t,r){e.forEach(t.referencedFiles,function(e){var a=n(e.fileName,t.fileName);J(a,r,t,e.pos,e.end)})}function W(t){for(var n=e.map(t.typeReferenceDirectives,function(e){return e.fileName.toLocaleLowerCase()}),r=be(n,t.fileName),a=0;aue,p=l&&!_(i,s)&&!i.noResolve&&o1})&&me.add(e.createCompilerDiagnostic(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files))}if(!i.noEmit&&i.allowJs&&i.declaration&&me.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"allowJs","declaration")),i.emitDecoratorMetadata&&!i.experimentalDecorators&&me.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")),i.jsxFactory?(i.reactNamespace&&me.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")),e.parseIsolatedEntityName(i.jsxFactory,_)||me.add(e.createCompilerDiagnostic(e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,i.jsxFactory))):i.reactNamespace&&!e.isIdentifierText(i.reactNamespace,_)&&me.add(e.createCompilerDiagnostic(e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,i.reactNamespace)),!i.noEmit&&!i.suppressOutputPathCheck){var v=m(),b=e.createFileMap(o.useCaseSensitiveFileNames()?void 0:function(e){return e.toLocaleLowerCase()});e.forEachExpectedEmitFile(v,function(e){t(e.jsFilePath,b),t(e.declarationFilePath,b)})}}function ee(t,n){he.set(e.toPath(t,ge,X),!0),me.add(n)}var te,ne,re,ae,ie,oe=[],se=e.createMap(),ce=e.createDiagnosticCollection(),ue="number"==typeof i.maxNodeModuleJsDepth?i.maxNodeModuleJsDepth:0,_e=0,le=e.createMap(),de=e.createMap();e.performance.mark("beforeProgram"),o=o||a(i);var fe,pe=i.noLib,me=e.createDiagnosticCollection(),ge=o.getCurrentDirectory(),ye=e.getSupportedExtensions(i),he=e.createFileMap(X);if(o.resolveModuleNames)fe=function(t,n){return o.resolveModuleNames(t,n).map(function(t){if(!t||void 0!==t.extension)return t;var n=e.clone(t);return n.extension=e.extensionFromPath(t.resolvedFileName),n})};else{var ve=function(t,n){return e.resolveModuleName(t,n,i,o).resolvedModule};fe=function(e,t){return c(e,t,ve)}}var be;if(o.resolveTypeReferenceDirectives)be=function(e,t){return o.resolveTypeReferenceDirectives(e,t)};else{var ke=function(t,n){return e.resolveTypeReferenceDirective(t,n,i,o).resolvedTypeReferenceDirective};be=function(e,t){return c(e,t,ke)}}var xe=e.createFileMap(),Se=o.useCaseSensitiveFileNames()?e.createFileMap(function(e){return e.toLowerCase()}):void 0;if(!p()){e.forEach(t,function(e){return M(e,!1)});var De=e.getAutomaticTypeDirectiveNames(i,o);if(De.length)for(var Ce=i.configFilePath?e.getDirectoryPath(i.configFilePath):o.getCurrentDirectory(),Ee=e.combinePaths(Ce,"__inferred type names__.ts"),Te=be(De,Ee),we=0;we=n.length)break;var s=i;if(34===n.charCodeAt(s)){for(i++;i32;)i++;a.push(n.substring(s,i))}}o(a)}var c={},u=[],_=[],l=n(),d=l.optionNameMap,f=l.shortOptionNames;return o(t),{options:c,fileNames:u,errors:_}}function s(t,n){var r="";try{r=n(t)}catch(n){return{error:e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,n.message)}}return c(t,r)}function c(t,n,r){void 0===r&&(r=!0);try{var a=r?_(n):n;return{config:/\S/.test(a)?JSON.parse(a):{}}}catch(n){return{error:e.createCompilerDiagnostic(e.Diagnostics.Failed_to_parse_file_0_Colon_1,t,n.message)}}}function u(t,r){function a(e){return"string"===e.type||"number"===e.type||"boolean"===e.type?void 0:"list"===e.type?a(e.element):e.type}function i(e,t){for(var n in t)if(t[n]===e)return n}function o(t){var r=e.createMap(),o=n().optionNameMap;for(var s in t)if(e.hasProperty(t,s))switch(s){case"init":case"watch":case"version":case"help":case"project":break;default:var c=t[s],u=o[s.toLowerCase()];if(u){var _=a(u);if(_)if("list"===u.type){for(var l=[],d=0,f=c;d=0)return{options:{},fileNames:[],typeAcquisition:{},raw:t,errors:[e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o.concat([p]).join(" -> "))],wildcardDirectories:{}};var y=m(t.compilerOptions,r,_,i),h=t.typeAcquisition||t.typingOptions,v=g(h,r,_,i);if(t.extends){var b=[void 0,void 0,void 0,{}],k=b[0],S=b[1],D=b[2],C=b[3];"string"==typeof t.extends?(A=c(t.extends)||[k,S,D,C],k=A[0],S=A[1],D=A[2],C=A[3]):_.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string")),k&&!t.include&&(t.include=k),S&&!t.exclude&&(t.exclude=S),D&&!t.files&&(t.files=D),y=e.assign({},C,y)}y=e.extend(a,y),y.configFilePath=i;var E=u(_),T=E.fileNames,w=E.wildcardDirectories,N=d(t,r,_);return{options:y,fileNames:T,typeAcquisition:v,raw:t,errors:_,wildcardDirectories:w,compileOnSave:N};var A}function d(t,n,r){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name))return!1;var a=h(e.compileOnSaveCommandLineOption,t.compileOnSave,n,r);return!("boolean"!=typeof a||!a)&&a}function f(e,t,n){var r=[],a=m(e,t,r,n);return{options:a,errors:r}}function p(e,t,n){var r=[],a=g(e,t,r,n);return{options:a,errors:r}}function m(t,n,r,a){var i="jsconfig.json"===e.getBaseFileName(a)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0}:{};return y(e.optionDeclarations,t,n,i,e.Diagnostics.Unknown_compiler_option_0,r),i}function g(n,r,a,i){var o={enable:"jsconfig.json"===e.getBaseFileName(i),include:[],exclude:[]},s=t(n);return y(e.typeAcquisitionDeclarations,s,r,o,e.Diagnostics.Unknown_type_acquisition_option_0,a),o}function y(t,n,r,a,i,o){if(n){var s=e.arrayToMap(t,function(e){return e.name});for(var c in n)if(c in s){var u=s[c];a[u.name]=h(u,n[c],r,o)}else o.push(e.createCompilerDiagnostic(i,c))}}function h(t,n,r,a){var i=t.type,o="string"==typeof i?i:"string";return"list"===i&&e.isArray(n)?b(t,n,r,a):typeof n===o?"string"!=typeof i?v(t,n,a):(t.isFilePath&&(n=e.normalizePath(e.combinePaths(r,n)),""===n&&(n=".")),n):void a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,o))}function v(e,t,n){var a=t.toLowerCase();return a in e.type?e.type[a]:void n.push(r(e))}function b(t,n,r,a){return e.filter(e.map(n,function(e){return h(t.element,e,r,a)}),function(e){return!!e})}function k(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}function x(t,n,r,a,i,o,s){a=e.normalizePath(a);var c=o.useCaseSensitiveFileNames?N:A,u=e.createMap(),_=e.createMap();n&&(n=S(n,s,!1)),r&&(r=S(r,s,!0));var l=D(n,r,a,o.useCaseSensitiveFileNames),d=e.getSupportedExtensions(i);if(t)for(var f=0,p=t;f0)for(var y=0,h=o.readDirectory(a,d,r,n);y=n.end}function P(e,t,n){return e.pos<=t&&e.end>=n}function O(e,t,n){return F(e.pos,e.end,t,n)}function F(e,t,n,r){var a=Math.max(e,n),i=Math.min(t,r);return at||!I(e,n)}function I(t,n){if(e.nodeIsMissing(t))return!1;switch(t.kind){case 226:case 227:case 229:case 176:case 172:case 161:case 204:case 231:case 232:case 238:case 242:return L(t,17,n);case 256:return I(t.block,n);case 180:if(!t.arguments)return!0;case 179:case 183:case 166:return L(t,19,n);case 158:case 159:return I(t.type,n);case 150:case 151:case 152:case 225:case 184:case 149:case 148:case 154:case 153:case 185:return t.body?I(t.body,n):t.type?I(t.type,n):B(t,19,n);case 230:return t.body&&I(t.body,n);case 208:return t.elseStatement?I(t.elseStatement,n):I(t.thenStatement,n);case 207:return I(t.expression,n)||B(t,24);case 175:case 173:case 178:case 142:case 163:return L(t,21,n);case 155:return t.type?I(t.type,n):B(t,21,n);case 253:case 254:return!1;case 211:case 212:case 213:case 210:return I(t.statement,n);case 209:var r=j(t,105,n);return r?L(t,19,n):I(t.statement,n);case 160:return I(t.exprName,n);case 187:case 186:case 188:case 195:case 196:var a=t;return I(a.expression,n);case 181:return I(t.template,n);case 194:var i=e.lastOrUndefined(t.templateSpans);return I(i,n);case 202:return e.nodeIsPresent(t.literal);case 241:case 235:return e.nodeIsPresent(t.moduleSpecifier);case 190:return I(t.operand,n);case 192:return I(t.right,n);case 193:return I(t.whenFalse,n);default:return!0}}function L(t,n,r){var a=t.getChildren(r);if(a.length){var i=e.lastOrUndefined(a);if(i.kind===n)return!0;if(24===i.kind&&1!==a.length)return a[a.length-2].kind===n}return!1}function M(t){var n=z(t);if(n){var r=n.getChildren(),a=e.indexOf(r,t);return{listItemIndex:a,list:n}}}function B(e,t,n){return!!j(e,t,n)}function j(t,n,r){return e.forEach(t.getChildren(r),function(e){return e.kind===n&&e})}function z(t){var n=e.forEach(t.parent.getChildren(),function(e){if(292===e.kind&&e.pos<=t.pos&&e.end>=t.end)return e});return e.Debug.assert(!n||e.contains(n.getChildren(),t)),n}function K(e,t,n){return void 0===n&&(n=!1),U(e,t,function(e){return oe(e.kind)},n)}function J(e,t,n){return void 0===n&&(n=!1),U(e,t,function(e){return se(e.kind)},n)}function U(e,t,n,r){return void 0===r&&(r=!1),q(e,t,!1,n,r)}function V(e,t,n){return void 0===n&&(n=!1),q(e,t,!0,void 0,n)}function q(t,n,r,a,i){void 0===i&&(i=!1);var o=t;e:for(;;){if(ie(o))return o;if(i)for(var s=e.filter(o.getChildren(),e.isJSDocNode),c=0,u=s;cn.getStart(e)&&te.end||o.pos===e.end;if(s&&ne(o))return n(o)}}return n(t)}function G(t,n,r){function a(e){if(ie(e))return e;var t=e.getChildren(),n=o(t,t.length);return n&&a(n)}function i(s){if(ie(s))return s;for(var c=s.getChildren(),u=0,_=c.length;u<_;u++){var l=c[u];if(t=t||10===l.kind&&d===l.end;if(f){var p=o(c,u);return p&&a(p)}return i(l)}}if(e.Debug.assert(void 0!==r||261===s.kind),c.length){var p=o(c,c.length);return p&&a(p)}}function o(e,t){for(var n=t-1;n>=0;n--)if(ne(e[n]))return e[n]}return i(r||n)}function X(e,t){var n=G(t,e);if(n&&9===n.kind){var r=n.getStart(),a=n.getEnd();if(rr.getStart(t)}function $(t,n,r){var a=V(t,n);if(a&&n<=a.getStart(t)){var i=e.getLeadingCommentRanges(t.text,a.pos);return r?e.forEach(i,function(e){return e.pos=e.pos+3&&"/"===n[e.pos]&&"*"===n[e.pos+1]&&"*"===n[e.pos+2]}var a=V(t,n),i=e.getLeadingCommentRanges(t.text,a.pos);return e.forEach(i,r)}function te(t,n){var r=e.getTokenAtPosition(t,n);if(ie(r))switch(r.kind){case 103:case 109:case 75:r=void 0===r.parent?void 0:r.parent.parent;break;default:r=r.parent}if(r&&r.jsDoc)for(var a=0,i=r.jsDoc;a0?r.join(","):e.ScriptElementKindModifier.none}function ae(t){return 157===t.kind||179===t.kind?t.typeArguments:e.isFunctionLike(t)||226===t.kind||227===t.kind?t.typeParameters:void 0}function ie(e){return e.kind>=0&&e.kind<=140}function oe(t){return 70===t||e.isKeyword(t)}function se(e){return 9===e||8===e||oe(e)}function ce(e){return 2===e||3===e}function ue(t){return!(9!==t&&11!==t&&!e.isTemplateLiteralKind(t))}function _e(e){return 16<=e&&e<=69}function le(t,n){return e.isTemplateLiteralKind(t.kind)&&t.getStart()0&&144===e.declarations[0].kind}function n(){function t(){if(u){var t=e.getIndentString(_);t&&c.push(a(t,e.SymbolDisplayPartKind.space)),u=!1}}function n(e,n){t(),c.push(a(e,n))}function i(e,n){t(),c.push(r(e,n))}function o(){c.push(d()),u=!0}function s(){c=[],u=!0,_=0}var c,u,_;return s(),{displayParts:function(){return c},writeKeyword:function(t){return n(t,e.SymbolDisplayPartKind.keyword)},writeOperator:function(t){return n(t,e.SymbolDisplayPartKind.operator)},writePunctuation:function(t){return n(t,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(t){return n(t,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(t){return n(t,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(t){return n(t,e.SymbolDisplayPartKind.parameterName)},writeSymbol:i,writeLine:o,increaseIndent:function(){_++},decreaseIndent:function(){_--},clear:s,trackSymbol:e.noop,reportInaccessibleThisError:e.noop}}function r(n,r){function i(n){var r=n.flags;return 3&r?t(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:4&r?e.SymbolDisplayPartKind.propertyName:32768&r?e.SymbolDisplayPartKind.propertyName:65536&r?e.SymbolDisplayPartKind.propertyName:8&r?e.SymbolDisplayPartKind.enumMemberName:16&r?e.SymbolDisplayPartKind.functionName:32&r?e.SymbolDisplayPartKind.className:64&r?e.SymbolDisplayPartKind.interfaceName:384&r?e.SymbolDisplayPartKind.enumName:1536&r?e.SymbolDisplayPartKind.moduleName:8192&r?e.SymbolDisplayPartKind.methodName:262144&r?e.SymbolDisplayPartKind.typeParameterName:524288&r?e.SymbolDisplayPartKind.aliasName:8388608&r?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}return a(n,i(r))}function a(t,n){return{text:t,kind:e.SymbolDisplayPartKind[n]}}function i(){return a(" ",e.SymbolDisplayPartKind.space)}function o(t){return a(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function s(t){return a(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)}function c(t){return a(e.tokenToString(t),e.SymbolDisplayPartKind.operator)}function u(t){var n=e.stringToToken(t);return void 0===n?_(t):o(n)}function _(t){return a(t,e.SymbolDisplayPartKind.text)}function l(e){return e.getNewLine?e.getNewLine():D}function d(){return a("\n",e.SymbolDisplayPartKind.lineBreak)}function f(e){e(S);var t=S.displayParts();return S.clear(),t}function p(e,t,n,r){return f(function(a){e.getSymbolDisplayBuilder().buildTypeDisplay(t,a,n,r)})}function m(e,t,n,r,a){return f(function(i){e.getSymbolDisplayBuilder().buildSymbolDisplay(t,i,n,r,a)})}function g(e,t,n,r){return f(function(a){e.getSymbolDisplayBuilder().buildSignatureDisplay(t,a,n,r)})}function y(t,n,r){if(h(r))return r.getText();if(e.isStringOrNumericLiteral(r)&&142===r.parent.kind)return r.text;var a=e.getLocalSymbolForExportDefault(n),i=t.symbolToString(a||n);return i}function h(e){return e.parent&&(239===e.parent.kind||243===e.parent.kind)&&e.parent.propertyName===e}function v(e){var t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(34===e.charCodeAt(0)||39===e.charCodeAt(0))?e.substring(1,t-1):e}function b(t,n){for(var r=[],a=2;a=0){var d=u-o;d>0&&a.push({length:d,classification:e.TokenClass.Whitespace})}a.push({length:_,classification:r(l)}),o=u+_}var f=n.length-o;return f>0&&a.push({length:f,classification:e.TokenClass.Whitespace}),{entries:a,finalLexState:t.endOfLineState}}function r(t){switch(t){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;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:default:return e.TokenClass.Identifier}}function a(e,t,r){return n(i(e,t,r),e)}function i(n,r,a){function i(){var t=_.getTokenPos(),r=_.getTextPos();if(o(t,r,u(f)),r>=n.length)if(9===f){var a=_.getTokenText();if(_.isUnterminated()){for(var i=a.length-1,s=0;92===a.charCodeAt(i-s);)s++;if(1&s){var c=a.charCodeAt(0);m.endOfLineState=34===c?3:2}}}else 3===f?_.isUnterminated()&&(m.endOfLineState=1):e.isTemplateLiteralKind(f)?_.isUnterminated()&&(15===f?m.endOfLineState=5:12===f?m.endOfLineState=4:e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+f)):d.length>0&&13===e.lastOrUndefined(d)&&(m.endOfLineState=6)}function o(e,t,n){if(8!==n){0===e&&s>0&&(e+=s),e-=s,t-=s;var r=t-e;r>0&&(m.spans.push(e),m.spans.push(r),m.spans.push(n))}}for(var s=0,f=0,p=0;d.length>0;)d.pop();switch(r){case 3:n='"\\\n'+n,s=3;break;case 2:n="'\\\n"+n,s=3;break;case 1:n="/*\n"+n,s=3;break;case 4:n="`\n"+n,s=2;break;case 5:n="}\n"+n,s=2;case 6:d.push(13)}_.setText(n);var m={endOfLineState:0,spans:[]},g=0;do{if(f=_.scan(),!e.isTrivia(f)){if(40!==f&&62!==f||l[p]){if(22===p&&c(f))f=70;else if(c(p)&&c(f)&&!t(p,f))f=70;else if(70===p&&26===f)g++;else if(28===f&&g>0)g--;else if(118===f||134===f||132===f||121===f||135===f)g>0&&!a&&(f=70);else if(13===f)d.push(f);else if(16===f)d.length>0&&d.push(f);else if(17===f&&d.length>0){var y=e.lastOrUndefined(d);13===y?(f=_.reScanTemplateToken(),15===f?d.pop():e.Debug.assert(14===f,"Should have been a template middle. Was "+f)):(e.Debug.assert(16===y,"Should have been an open brace. Was: "+f),d.pop())}}else 11===_.reScanSlashToken()&&(f=11);p=f}i()}while(1!==f);return m}function o(e){switch(e){case 38:case 40:case 41:case 36:case 37:case 44:case 45:case 46:case 26:case 28:case 29:case 30:case 92:case 91:case 117:case 31:case 32:case 33:case 34:case 47:case 49:case 48:case 52:case 53:case 68:case 67:case 69:case 64:case 65:case 66:case 58:case 59:case 60:case 62:case 63:case 57:case 25:return!0;default:return!1}}function s(e){switch(e){case 36:case 37:case 51:case 50:case 42:case 43:return!0;default:return!1}}function c(e){return e>=71&&e<=140}function u(t){if(c(t))return 3;if(o(t)||s(t))return 5;if(t>=16&&t<=69)return 10;switch(t){case 8:return 4;case 9:return 6;case 11:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 70:default:return e.isTemplateLiteralKind(t)?6:2}}var _=e.createScanner(5,!1),l=[];l[70]=!0,l[9]=!0,l[8]=!0,l[11]=!0,l[98]=!0,l[42]=!0,l[43]=!0,l[19]=!0,l[21]=!0,l[17]=!0,l[100]=!0,l[85]=!0;var d=[];return{getClassificationsForLine:a,getEncodedLexicalClassifications:i}}function n(e,t,n,r,i){return o(a(e,t,n,r,i))}function r(e,t){switch(t){case 230:case 226:case 227:case 225:e.throwIfCancellationRequested()}}function a(t,n,a,i,o){function s(e,t,n){_.push(e),_.push(t),_.push(n)}function c(t,n){function r(t){return e.forEach(t.declarations,function(t){return 230===t.kind&&1===e.getModuleInstanceState(t)})}var a=t.getFlags();if(0!==(788448&a)){if(32&a)return 11;if(384&a)return 12;if(524288&a)return 16;if(2&n){if(64&a)return 13;if(262144&a)return 15}else if(1536&a&&(4&n||1&n&&r(t)))return 14}}function u(a){if(a&&e.textSpanIntersectsWith(o,a.getFullStart(),a.getFullWidth())){var _=a.kind;if(r(n,_),70===_&&!e.nodeIsMissing(a)){var l=a;if(i[l.text]){var d=t.getSymbolAtLocation(a);if(d){var f=c(d,e.getMeaningFromLocation(a));f&&s(a.getStart(),a.getWidth(),f)}}}e.forEachChild(a,u)}}var _=[];return u(a),{spans:_,endOfLineState:0}}function i(t){switch(t){case 1:return e.ClassificationTypeNames.comment;case 2:return e.ClassificationTypeNames.identifier;case 3:return e.ClassificationTypeNames.keyword;case 4:return e.ClassificationTypeNames.numericLiteral;case 5:return e.ClassificationTypeNames.operator;case 6:return e.ClassificationTypeNames.stringLiteral;case 8:return e.ClassificationTypeNames.whiteSpace;case 9:return e.ClassificationTypeNames.text;case 10:return e.ClassificationTypeNames.punctuation;case 11:return e.ClassificationTypeNames.className;case 12:return e.ClassificationTypeNames.enumName; -case 13:return e.ClassificationTypeNames.interfaceName;case 14:return e.ClassificationTypeNames.moduleName;case 15:return e.ClassificationTypeNames.typeParameterName;case 16:return e.ClassificationTypeNames.typeAliasName;case 17:return e.ClassificationTypeNames.parameterName;case 18:return e.ClassificationTypeNames.docCommentTagName;case 19:return e.ClassificationTypeNames.jsxOpenTagName;case 20:return e.ClassificationTypeNames.jsxCloseTagName;case 21:return e.ClassificationTypeNames.jsxSelfClosingTagName;case 22:return e.ClassificationTypeNames.jsxAttribute;case 23:return e.ClassificationTypeNames.jsxText;case 24:return e.ClassificationTypeNames.jsxAttributeStringLiteralValue}}function o(t){e.Debug.assert(t.spans.length%3===0);for(var n=t.spans,r=[],a=0,o=n.length;a=0),a>0){var s=n||m(t.kind,t);s&&i(r,a,s)}return!0}function p(e){switch(e.parent&&e.parent.kind){case 248:if(e.parent.tagName===e)return 19;break;case 249:if(e.parent.tagName===e)return 20;break;case 247:if(e.parent.tagName===e)return 21;break;case 250:if(e.parent.name===e)return 22}}function m(t,n){if(e.isKeyword(t))return 3;if((26===t||28===t)&&n&&e.getTypeArgumentOrTypeParameterList(n.parent))return 10;if(e.isPunctuation(t)){if(n){if(57===t&&(223===n.parent.kind||147===n.parent.kind||144===n.parent.kind||250===n.parent.kind))return 5;if(192===n.parent.kind||190===n.parent.kind||191===n.parent.kind||193===n.parent.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 250===n.parent.kind?24:6;if(11===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(10===t)return 23;if(70===t){if(n)switch(n.parent.kind){case 226:if(n.parent.name===n)return 11;return;case 143:if(n.parent.name===n)return 15;return;case 227:if(n.parent.name===n)return 13;return;case 229:if(n.parent.name===n)return 12;return;case 230:if(n.parent.name===n)return 14;return;case 144:if(n.parent.name===n)return e.isThisIdentifier(n)?3:17;return}return 2}}function g(a){if(a&&e.decodedTextSpanIntersectsWith(y,h,a.pos,a.getFullWidth())){r(t,a.kind);for(var i=a.getChildren(n),o=0,s=i.length;oe.argumentIndex){var s=o.parameters[e.argumentIndex];E(n.getTypeAtLocation(s.valueDeclaration),r)}}if(r.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:r}}function D(e){var t=n.getTypeAtLocation(e.expression),r=[];if(t&&(b(t.getApparentProperties(),r,e,!1),r.length))return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!0,entries:r}}function C(e){var t=n.getContextualType(e);if(t){var r=[];if(E(t,r),r.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:r}}}function E(t,n){t&&(65536&t.flags?e.forEach(t.types,function(e){return E(e,n)}):32&t.flags&&n.push({name:t.text,kindModifiers:e.ScriptElementKindModifier.none,kind:e.ScriptElementKind.variableElement,sortText:"0"}))}function T(t){var n,r=e.normalizeSlashes(t.text),i=t.getSourceFile().path,o=e.getDirectoryPath(i),s=z(t.text,t.getStart()+1);return n=K(r)||e.isRootedDiskPath(r)?a.rootDirs?N(a.rootDirs,r,o,e.getSupportedExtensions(a),!1,s,i):A(r,o,e.getSupportedExtensions(a),!1,s,i):P(r,o,s),{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:n}}function w(t,n,r,a){t=e.map(t,function(t){return e.normalizePath(e.isRootedDiskPath(t)?t:e.combinePaths(n,t))});for(var i,o=0,s=t;o=e.pos&&r<=e.end&&e});if(s){var c={isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:[]},u=n.text.substr(s.pos,r-s.pos),_=g.exec(u);if(_){var l=_[1],d=_[2],f=_[3],p=e.getDirectoryPath(n.path);if("path"===d){var m=z(f,s.pos+l.length);c.entries=A(f,p,e.getSupportedExtensions(a),!0,m,n.path)}else{var y={start:s.pos+l.length,length:_[0].length-l.length};c.entries=I(t,a,p,y)}}return c}}}}function I(t,n,r,a,i){if(void 0===i&&(i=[]),n.types)for(var o=0,s=n.types;o=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,n=e.charCodeAt(t);return 47===n||92===n}return!1}function J(t){return e.hasTrailingDirectorySeparator(t)?e.ensureTrailingDirectorySeparator(e.normalizePath(t)):e.normalizePath(t)}if(e.isInReferenceComment(f,m))return R(f,m);if(e.isInString(f,m))return k(f,m);var U=i(n,r,f,m);if(U){var V=U.symbols,q=U.isGlobalCompletion,W=U.isMemberCompletion,H=U.isNewIdentifierLocation,G=U.location,X=U.isJsDocTagName;if(X)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e.JsDoc.getAllJsDocCompletionEntries()};var Y=[];if(e.isSourceFileJavaScript(f)){var Q=b(V,Y,G,!0);e.addRange(Y,h(f,G.pos,Q))}else{if(!V||0===V.length){if(1!==f.languageVariant||!G.parent||249!==G.parent.kind)return;var Z=G.parent.parent.openingElement.tagName;Y.push({name:Z.text,kind:void 0,kindModifiers:void 0,sortText:"0"})}b(V,Y,G,!0)}return W||X||e.addRange(Y,p),{isGlobalCompletion:q,isMemberCompletion:W,isNewIdentifierLocation:H,entries:Y}}}function r(t,n,r,a,s,c){var u=i(t,n,a,s);if(u){var _=u.symbols,l=u.location,d=e.forEach(_,function(e){return o(t,e,r.target,!1,l)===c?e:void 0});if(d){var f=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,d,a,l,l,7),m=f.displayParts,g=f.documentation,y=f.symbolKind;return{name:c,kindModifiers:e.SymbolDisplay.getSymbolModifiers(d),kind:y,displayParts:m,documentation:g}}}var h=e.forEach(p,function(e){return e.name===c});if(h)return{name:c,kind:e.ScriptElementKind.keyword,kindModifiers:e.ScriptElementKindModifier.none,displayParts:[e.displayPart(c,e.SymbolDisplayPartKind.keyword)],documentation:void 0}}function a(t,n,r,a,s,c){var u=i(t,n,a,s);if(u){var _=u.symbols,l=u.location;return e.forEach(_,function(e){return o(t,e,r.target,!1,l)===c?e:void 0})}}function i(t,n,r,a){function i(){if(q=!1,J=!0,U=!1,70===I.kind||141===I.kind||177===I.kind){var n=t.getSymbolAtLocation(I);if(n&&8388608&n.flags&&(n=t.getAliasedSymbol(n)),n&&1952&n.flags){var r=t.getExportsOfModule(n);e.forEach(r,function(e){t.isValidPropertyAccess(I.parent,e.name)&&W.push(e)})}}var a=t.getTypeAtLocation(I);o(a)}function o(e){if(e){for(var n=0,r=e.getApparentProperties();n0&&(W=x(s,a)),!0}function p(n){var r=238===n.kind?235:241,a=e.getAncestor(n,r),i=a.moduleSpecifier;if(!i)return!1;J=!0,U=!1;var o,s=t.getSymbolAtLocation(a.moduleSpecifier);return s&&(o=t.getExportsOfModule(s)),W=o?k(o,n.elements):e.emptyArray,!0}function m(e){if(e)switch(e.kind){case 16:case 25:var t=e.parent;if(t&&(176===t.kind||172===t.kind))return t}}function g(e){if(e)switch(e.kind){case 16:case 25:switch(e.parent.kind){case 238:case 242:return e.parent}}}function y(e){if(e){var t=e.parent;switch(e.kind){case 27:case 40:case 70:case 250:case 251:if(t&&(247===t.kind||248===t.kind))return t;if(250===t.kind)return t.parent;break;case 9:if(t&&(250===t.kind||251===t.kind))return t.parent;break;case 17:if(t&&252===t.kind&&t.parent&&250===t.parent.kind)return t.parent.parent;if(t&&251===t.kind)return t.parent}}}function h(e){switch(e){case 184:case 185:case 225:case 149:case 148:case 151:case 152:case 153:case 154:case 155:return!0}return!1}function v(e){var t=e.parent.kind;switch(e.kind){case 25:return 223===t||224===t||205===t||229===t||h(t)||226===t||197===t||227===t||173===t||228===t;case 22:return 173===t;case 55:return 174===t;case 20:return 173===t;case 18:return 256===t||h(t);case 16:return 229===t||227===t||161===t;case 24:return 146===t&&e.parent&&e.parent.parent&&(227===e.parent.parent.kind||161===e.parent.parent.kind);case 26:return 226===t||197===t||227===t||228===t||h(t);case 114:return 147===t;case 23:return 144===t||e.parent&&e.parent.parent&&173===e.parent.parent.kind;case 113:case 111:case 112:return 144===t;case 117:return 239===t||243===t||237===t;case 74:case 82:case 108:case 88:case 103:case 124:case 133:case 90:case 109:case 75:case 115:case 136:return!0}switch(e.getText()){case"abstract":case"async":case"class":case"const":case"declare":case"enum":case"function":case"interface":case"let":case"private":case"protected":case"public":case"static":case"var":case"yield":return!0}return!1}function b(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}function k(t,n){for(var r=e.createMap(),i=0,o=n;i=0&&!p(n,r[a],105);a--);var i=_(t.statement);return e.forEach(i,function(e){l(t,e)&&p(n,e.getFirstToken(),71,76)}),e.map(n,s)}function h(e){var t=d(e);if(t)switch(t.kind){case 211:case 212:case 213:case 209:case 210:return y(t);case 218:return v(t)}}function v(t){var n=[];return p(n,t.getFirstToken(),97),e.forEach(t.caseBlock.clauses,function(r){p(n,r.getFirstToken(),72,78);var a=_(r);e.forEach(a,function(e){l(t,e)&&p(n,e.getFirstToken(),71)})}),e.map(n,s)}function b(t){var n=[];if(p(n,t.getFirstToken(),101),t.catchClause&&p(n,t.catchClause.getFirstToken(),73),t.finallyBlock){var r=e.findChildOfKind(t,86,a);p(n,r,86)}return e.map(n,s)}function k(t){var n=u(t);if(n){var r=[];return e.forEach(c(n),function(e){p(r,e.getFirstToken(),99)}),e.isFunctionBlock(n)&&e.forEachReturnStatement(n,function(e){p(r,e.getFirstToken(),95)}),e.map(r,s)}}function x(t){var r=e.getContainingFunction(t);if(r&&n(r.body,204)){var a=[];return e.forEachReturnStatement(r.body,function(e){p(a,e.getFirstToken(),95)}),e.forEach(c(r.body),function(e){p(a,e.getFirstToken(),99)}),e.map(a,s)}}function S(t){for(var r=[];n(t.parent,208)&&t.parent.elseStatement===t;)t=t.parent;for(;t;){var i=t.getChildren();p(r,i[0],89);for(var o=i.length-1;o>=0&&!p(r,i[o],81);o--);if(!n(t.elseStatement,208))break;t=t.elseStatement}for(var c=[],o=0;o=u.end;d--)if(!e.isWhiteSpaceSingleLine(a.text.charCodeAt(d))){l=!1;break}if(l){c.push({fileName:D,textSpan:e.createTextSpanFromBounds(u.getStart(),_.end),kind:e.HighlightSpanKind.reference}),o++;continue}}c.push(s(r[o]))}return c}var D=a.fileName,C=o(t);if(C&&0!==C.length)return[{fileName:D,highlightSpans:C}]}var _=e.getTouchingWord(a,i);if(_)return c(_)||u(_)}function r(e,t){for(var n=e.parent;219===n.kind;n=n.parent)if(n.label.text===t)return!0;return!1}t.getDocumentHighlights=n}(t=e.DocumentHighlights||(e.DocumentHighlights={}))}(o||(o={}));var o;!function(e){function t(t,n){function r(e){return"_"+e.target+"|"+e.module+"|"+e.noResolve+"|"+e.jsx+"|"+e.allowJs+"|"+e.baseUrl+"|"+JSON.stringify(e.typeRoots)+"|"+JSON.stringify(e.rootDirs)+"|"+JSON.stringify(e.paths)}function a(t,n){var r=f[t];return!r&&n&&(f[t]=r=e.createFileMap()),r}function i(){var e=Object.keys(f).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=f[e],n=[];return t.forEachValue(function(e,t){n.push({name:e,refCount:t.languageServiceRefCount,references:t.owners.slice(0)})}),n.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:n}});return JSON.stringify(e,void 0,2)}function o(t,a,i,o,c){var u=e.toPath(t,n,p),_=r(a);return s(t,u,a,_,i,o,c)}function s(e,t,n,r,a,i,o){return _(e,t,n,r,a,i,!0,o)}function c(t,a,i,o,s){var c=e.toPath(t,n,p),_=r(a);return u(t,c,a,_,i,o,s)}function u(e,t,n,r,a,i,o){return _(e,t,n,r,a,i,!1,o)}function _(t,n,r,i,o,s,c,u){var _=a(i,!0),l=_.get(n);if(l)l.sourceFile.version!==s&&(l.sourceFile=e.updateLanguageServiceSourceFile(l.sourceFile,o,s,o.getChangeRange(l.sourceFile.scriptSnapshot)));else{e.Debug.assert(c,"How could we be trying to update a document that the registry doesn't have?");var d=e.createLanguageServiceSourceFile(t,o,r.target,s,!1,u);l={sourceFile:d,languageServiceRefCount:0,owners:[]},_.set(n,l)}return c&&l.languageServiceRefCount++,l.sourceFile}function l(t,a){var i=e.toPath(t,n,p),o=r(a);return d(i,o)}function d(t,n){var r=a(n,!1);e.Debug.assert(void 0!==r);var i=r.get(t);i.languageServiceRefCount--,e.Debug.assert(i.languageServiceRefCount>=0),0===i.languageServiceRefCount&&r.remove(t)}void 0===n&&(n="");var f=e.createMap(),p=e.createGetCanonicalFileName(!!t);return{acquireDocument:o,acquireDocumentWithKey:s,updateDocument:c,updateDocumentWithKey:u,releaseDocument:l,releaseDocumentWithKey:d,reportStats:i,getKeyForCompilationSettings:r}}e.createDocumentRegistry=t}(o||(o={}));var o;!function(e){var t;!function(t){function n(t,n,a,i,o,s,c){var u=e.getTouchingPropertyName(i,o,!0);if(u!==i)switch(u.kind){case 8:if(!e.isLiteralNameOfPropertyDeclarationOrIndexAccess(u))break;case 70:case 98:case 122:case 9:return r(t,n,u,a,s,c,!1)}}function r(t,n,r,a,o,u,d){function m(n){var a=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,n,r.getSourceFile(),e.getContainerNode(r),r),i=e.map(a.displayParts,function(e){return e.text}).join(""),o=n.declarations;if(o&&0!==o.length)return{containerKind:"",containerName:"",name:i,kind:a.symbolKind,fileName:o[0].getSourceFile().fileName,textSpan:e.createTextSpan(o[0].getStart(),0),displayParts:a.displayParts}}function g(n,r){if(8388608&n.flags){var a=e.getDeclarationOfKind(n,236);if(a)return t.getAliasedSymbol(n);var i=e.forEach(n.declarations,function(e){ -return 239===e.kind||243===e.kind?e:void 0});if(i&&(!i.propertyName||i.propertyName===r))return 239===i.kind?t.getAliasedSymbol(n):t.getExportSpecifierLocalTargetSymbol(i)}}function y(e,t){return g(e,t)||e}function h(n){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent)&&t.getPropertySymbolOfDestructuringAssignment(n)}function v(t){var n=e.getDeclarationOfKind(t,174);return n&&172===n.parent.kind&&!n.propertyName}function b(n){if(v(n)){var r=e.getDeclarationOfKind(n,174),a=t.getTypeAtLocation(r.parent);return a&&t.getPropertyOfType(a,r.name.text)}}function k(t,n){if(e.isImportOrExportSpecifierName(n))return n.getText();var r=e.getLocalSymbolForExportDefault(t);return t=r||t,e.stripQuotes(t.name)}function x(t){var n=t.valueDeclaration;if(n&&(184===n.kind||197===n.kind))return n;if(8196&t.flags){var r=e.forEach(t.getDeclarations(),function(t){return 8&e.getModifierFlags(t)?t:void 0});if(r)return e.getAncestor(r,226)}if(!(8388608&t.flags||v(t)||t.parent||268435456&t.flags)){var a,i=t.getDeclarations();if(i)for(var o=0,s=i;o=0&&(n.throwIfCancellationRequested(),!(_>i));){var l=_+u;0!==_&&e.isIdentifierPart(s.charCodeAt(_-1),5)||l!==c&&e.isIdentifierPart(s.charCodeAt(l),5)||o.push(_),_=s.indexOf(r,_+u+1)}return o}function D(t,r){var a=[],i=t.getSourceFile(),o=r.text,s=S(i,o,t.getStart(),t.getEnd());e.forEach(s,function(t){n.throwIfCancellationRequested();var s=e.getTouchingWord(i,t);s&&s.getWidth()===o.length&&(s===r||e.isJumpStatementTarget(s)&&e.getTargetLabel(s,o)===r)&&a.push(c(s))});var u={containerKind:"",containerName:"",fileName:r.getSourceFile().fileName,kind:e.ScriptElementKind.label,name:o,textSpan:e.createTextSpanFromBounds(r.getStart(),r.getEnd()),displayParts:[e.displayPart(o,e.SymbolDisplayPartKind.text)]};return[{definition:u,references:a}]}function C(t,n){if(t)switch(t.kind){case 70:return t.getWidth()===n.length;case 9:if(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)||p(t))return t.getWidth()===n.length+2;break;case 8:if(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t))return t.getWidth()===n.length}return!1}function E(r,a,i,o,s,u,l,p,g){function h(){if(d){var e=v(o);if(e){var n=t.getTypeAtLocation(e.expression);if(n){if(n.symbol&&96&n.symbol.flags&&n.symbol!==a.parent)return[n.symbol];if(196608&n.flags)return w(n)}}}}function v(t){return e.isRightSideOfPropertyAccess(t)&&t.parent}function b(t,n){e.Debug.assert(e.isClassLike(a.valueDeclaration));var r=n.parent;if(t===a&&e.isClassLike(r))e.Debug.assert(r.name===n),k(x(a));else{var i=f(n);i&&e.isClassLike(i)&&y(t,n)===a&&k(D(i))}}function k(t){if(t.length){var n=E(a);e.addRange(n.references,e.map(t,c))}}function x(t){for(var n=[],r=0,a=t.members.__constructor.declarations;r=0?N(_.name,f):122===o.kind&&b(c,a)}}})}}function T(n,r){function a(t){e.forEach(r,function(e){return t.fileName===e.fileName&&t.textSpan.start===e.textSpan.start&&t.textSpan.length===e.textSpan.length})||r.push(t)}if(e.isDeclarationName(n)&&i(n.parent))r.push(c(n.parent));else if(70===n.kind){258===n.parent.kind&&s(n,t,r);var o=A(n);if(o)return void r.push(c(o));var u=N(n);if(u){var _=u.parent;e.isVariableLike(_)&&_.type===u&&_.initializer&&P(_.initializer)?a(c(_.initializer)):e.isFunctionLike(_)&&_.type===u&&_.body?204===_.body.kind?e.forEachReturnStatement(_.body,function(e){e.expression&&P(e.expression)&&a(c(e.expression))}):P(_.body)&&a(c(_.body)):e.isAssertionExpression(_)&&P(_.expression)&&a(c(_.expression))}}}function w(e,t){void 0===t&&(t=[]);for(var n=0,r=e.types;n=0?e:void 0})});if(_)return _;var d=h(a);if(d&&n.indexOf(d)>=0)return d}var f=b(r);return f&&n.indexOf(f)>=0?f:e.forEach(t.getRootSymbols(r),function(t){if(n.indexOf(t)>=0)return t;if(t.parent&&96&t.parent.flags){if(o&&!e.forEach(o,function(e){return O(t.parent,e,s)}))return;var r=[];return M(t.parent,t.getName(),r,e.createMap()),e.forEach(r,function(e){return n.indexOf(e)>=0?e:void 0})}})}function j(t){if(142!==t.name.kind)return t.name.text;var n=t.name.expression;return e.isStringOrNumericLiteral(n)?n.text:void 0}function z(n){var r=n.parent,a=t.getContextualType(r),i=j(n);if(i&&a){var o=[],s=a.getProperty(i);return s&&o.push(s),65536&a.flags&&e.forEach(a.types,function(e){var t=e.getProperty(i);t&&o.push(t)}),o}}function K(t,n){if(n){var r=void 0;do{r=t;for(var a=0,i=n;a0?i:void 0}if(96===a.kind||e.isSuperProperty(a.parent)){var o=t.getSymbolAtLocation(a);return o.valueDeclaration&&[e.FindAllReferences.getReferenceEntryFromNode(o.valueDeclaration)]}var s=e.FindAllReferences.getReferencedSymbolsForNode(t,n,a,r,!1,!1,!0),i=e.flatMap(s,function(t){return e.map(t.references,function(e){var t=e.textSpan,n=e.fileName;return{textSpan:t,fileName:n}})});return i&&i.length>0?i:void 0}t.getImplementationAtPosition=n}(t=e.GoToImplementation||(e.GoToImplementation={}))}(o||(o={}));var o;!function(e){var t;!function(t){function n(t){var n=[];return r(t,function(t){var r=e.getCommentsFromJSDoc(t);if(r)for(var a=0,i=r;a0);for(var n=0,r=t;n0);for(var n=e.PatternMatchKind.camelCase,r=0,a=t;r0)return r}switch(t.kind){case 261:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"";case 185:case 225:case 184:case 226:case 197:return 512&e.getModifierFlags(t)?"default":w(t);case 150:return"constructor";case 154:return"new()";case 153:return"()";case 155:return"[]";case 285:return v(t);default:return""}}function v(e){if(e.name)return e.name.text;var t=e.parent&&e.parent.parent;if(t&&205===t.kind&&t.declarationList.declarations.length>0){var n=t.declarationList.declarations[0].name;if(70===n.kind)return n.text}return""}function b(t){function n(e){if(r(e)&&(a.push(e),e.children))for(var t=0,i=e.children;t0?e.declarationNameToString(t.name):223===t.parent.kind?e.declarationNameToString(t.parent.name):192===t.parent.kind&&57===t.parent.operatorToken.kind?a(t.parent.left).replace(L,""):257===t.parent.kind&&t.parent.name?a(t.parent.name):512&e.getModifierFlags(t)?"default":e.isClassLike(t)?"":""}function N(e){return 184===e.kind||185===e.kind||197===e.kind}t.getNavigationBarItems=n,t.getNavigationTree=r;var A,P,O=[],F=e.collator&&e.collator.compare("a","B")<0,R=F?e.collator.compare:function(t,n){for(var r=0;r1){var a={pos:t,end:n,kind:2};r(a,!1)}}function o(t){return e.isFunctionBlock(t)&&185!==t.parent.kind}function s(r){if(!(_>l)){switch(e.isDeclaration(r)&&a(r),r.kind){case 204:if(!e.isFunctionBlock(r)){var i=r.parent,d=e.findChildOfKind(r,16,t),f=e.findChildOfKind(r,17,t);if(209===i.kind||212===i.kind||213===i.kind||211===i.kind||208===i.kind||210===i.kind||217===i.kind||256===i.kind){n(i,d,f,o(r));break}if(221===i.kind){var p=i;if(p.tryBlock===r){n(i,d,f,o(r));break}if(p.finallyBlock===r){var m=e.findChildOfKind(p,86,t);if(m){n(m,d,f,o(r));break}}}var g=e.createTextSpanFromBounds(r.getStart(),r.end);c.push({textSpan:g,hintSpan:g,bannerText:u,autoCollapse:o(r)});break}case 231:var d=e.findChildOfKind(r,16,t),f=e.findChildOfKind(r,17,t); -n(r.parent,d,f,o(r));break;case 226:case 227:case 229:case 176:case 232:var d=e.findChildOfKind(r,16,t),f=e.findChildOfKind(r,17,t);n(r,d,f,o(r));break;case 175:var y=e.findChildOfKind(r,20,t),h=e.findChildOfKind(r,21,t);n(r,y,h,o(r))}_++,e.forEachChild(r,s),_--}}var c=[],u="...",_=0,l=20;return s(t),c}t.collectElements=n}(t=e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(o||(o={}));var o;!function(e){function t(e,t,n,r){return{kind:e,punctuationStripped:t,isCaseSensitive:n,camelCaseWeight:r}}function n(n){function o(e){return b||!e}function c(t){if(!o(t))return p(t,e.lastOrUndefined(v))}function _(t,n){if(!o(n)){var r=p(n,e.lastOrUndefined(v));if(r&&(t=t||[],!(v.length-1>t.length))){for(var a=r,i=v.length-2,s=t.length-1;i>=0;i-=1,s-=1){var c=v[i],u=t[s],_=p(u,c);if(!_)return;e.addRange(a,_)}return a}}}function l(e){return e in h||(h[e]=m(e)),h[e]}function d(n,r,a){var o=s(n,r.textLowerCase);if(0===o)return r.text.length===n.length?t(k.exact,a,n===r.text):t(k.prefix,a,e.startsWith(n,r.text));var c=r.isLowerCase;if(c){if(o>0)for(var u=l(n),_=0,d=u;_0)return t(k.substring,a,!0);if(!c&&r.characterSpans.length>0){var p=l(n),m=y(n,p,r,!1);if(void 0!==m)return t(k.camelCase,a,!0,m);if(m=y(n,p,r,!0),void 0!==m)return t(k.camelCase,a,!1,m)}return c&&r.text.length0&&i(n.charCodeAt(o))?t(k.substring,a,!1):void 0}function f(e){for(var t=0;tt.length)return!1;if(r)for(var s=0;s1}}function r(e){return{totalTextChunk:f(e),subWordTextChunks:d(e)}}function a(e){return 0===e.subWordTextChunks.length}function i(t){if(t>=65&&t<=90)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,5))return!1;var n=String.fromCharCode(t);return n===n.toUpperCase()}function o(t){if(t>=97&&t<=122)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,5))return!1;var n=String.fromCharCode(t);return n===n.toLowerCase()}function s(e,t){for(var n=0,r=e.length-t.length;n<=r;n++)if(c(e,t,n))return n;return-1}function c(e,t,n){for(var r=0,a=t.length;r=65&&e<=90?97+(e-65):e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function _(e){return e>=48&&e<=57}function l(e){return i(e)||o(e)||_(e)||95===e||36===e}function d(e){for(var t=[],n=0,r=0,a=0;a0&&(t.push(f(e.substr(n,r))),r=0)}return r>0&&t.push(f(e.substr(n,r))),t}function f(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:p(e)}}function p(e){return g(e,!1)}function m(e){return g(e,!0)}function g(t,n){for(var r=[],a=0,i=1,o=t.length;i0){if(e.forEach(d,s))return o(e.getLocaleSpecificMessage(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library));var f=e.stripQuotes(e.getDeclaredName(t,l,_)),p=e.SymbolDisplay.getSymbolKind(t,l,_);if(p)return{canRename:!0,kind:p,displayName:f,localizedErrorMessage:void 0,fullDisplayName:t.getFullyQualifiedName(l),kindModifiers:e.SymbolDisplay.getSymbolModifiers(l),triggerSpan:c(_,a)}}}else if(9===_.kind){var m=e.getStringLiteralTypeForNode(_,t);if(m){if(s(_))return o(e.getLocaleSpecificMessage(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library));var f=e.stripQuotes(m.text);return{canRename:!0,kind:e.ScriptElementKind.variableElement,displayName:f,localizedErrorMessage:void 0,fullDisplayName:f,kindModifiers:e.ScriptElementKindModifier.none,triggerSpan:c(_,a)}}}}return o(e.getLocaleSpecificMessage(e.Diagnostics.You_cannot_rename_this_element))}t.getRenameInfo=n}(t=e.Rename||(e.Rename={}))}(o||(o={}));var o;!function(e){var t;!function(t){function n(t,n,a,i){var o=t.getTypeChecker(),s=e.findTokenOnLeftOfPosition(n,a);if(s){var c=l(s,a,n);if(i.throwIfCancellationRequested(),c){var u=c.invocation,_=[],d=o.getResolvedSignature(u,_);if(i.throwIfCancellationRequested(),_.length)return p(_,d,c,o);if(e.isSourceFileJavaScript(n))return r(c,t)}}}function r(e,t){if(179===e.invocation.kind){var n=e.invocation,r=n.expression,a=70===r.kind?r:177===r.kind?r.name:void 0;if(a&&a.text)for(var i=t.getTypeChecker(),o=0,s=t.getSourceFiles();o0&&25===e.lastOrUndefined(n).kind&&r++,r}function s(t,n,r){return e.Debug.assert(r>=n.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralKind(n.kind)?e.isInsideTemplateLiteral(n,r)?0:t+2:t+1}function c(t,n,r){var a=12===t.template.kind?1:t.template.templateSpans.length+1;return e.Debug.assert(0===n||ni.parent.end)&&e.Debug.fail("Node of kind "+i.kind+" is not a subspan of its parent of kind "+i.parent.kind);var o=a(i,n,r);if(o)return o}}function d(t,n,r){var a=t.getChildren(r),i=a.indexOf(n);return e.Debug.assert(i>=0&&a.length>i+1),a[i+1]}function f(e,t){for(var n=-1,r=-1,a=0;a=t)return a;i.parameters.length>r&&(r=i.parameters.length,n=a)}return n}function p(t,n,r,a){function i(t){var n=e.mapToDisplayParts(function(e){return a.getSymbolDisplayBuilder().buildParameterDisplay(t,e,u)});return{name:t.name,documentation:t.getDocumentationComment(),displayParts:n,isOptional:a.isOptionalParameter(t.valueDeclaration)}}function o(t){var n=e.mapToDisplayParts(function(e){return a.getSymbolDisplayBuilder().buildTypeParameterDisplay(t,e,u)});return{name:t.symbol.name,documentation:g,displayParts:n,isOptional:!1}}var s=r.argumentsSpan,c=0===r.kind,u=r.invocation,_=e.getInvokedExpression(u),l=a.getSymbolAtLocation(_),d=l&&e.symbolToDisplayParts(a,l,void 0,void 0),p=e.map(t,function(t){var n,r=[],s=[];d&&e.addRange(r,d);var _;if(c){_=!1,r.push(e.punctuationPart(26));var l=t.typeParameters;n=l&&l.length>0?e.map(l,o):g,s.push(e.punctuationPart(28));var f=e.mapToDisplayParts(function(e){return a.getSymbolDisplayBuilder().buildDisplayForParametersAndDelimiters(t.thisParameter,t.parameters,e,u)});e.addRange(s,f)}else{_=t.hasRestParameter;var p=e.mapToDisplayParts(function(e){return a.getSymbolDisplayBuilder().buildDisplayForTypeParametersAndDelimiters(t.typeParameters,e,u)});e.addRange(r,p),r.push(e.punctuationPart(18));var m=t.parameters;n=m.length>0?e.map(m,i):g,s.push(e.punctuationPart(19))}var y=e.mapToDisplayParts(function(e){return a.getSymbolDisplayBuilder().buildReturnTypeDisplay(t,e,u)});return e.addRange(s,y),{isVariadic:_,prefixDisplayParts:r,suffixDisplayParts:s,separatorDisplayParts:[e.punctuationPart(25),e.spacePart()],parameters:n,documentation:t.getDocumentationComment()}}),m=r.argumentIndex,y=r.argumentCount,h=t.indexOf(n);return h<0&&(h=f(t,y)),e.Debug.assert(0===m||m0?e.getNodeModifiers(t.declarations[0]):e.ScriptElementKindModifier.none}function i(t,a,i,o,s,c){function u(){v.length&&v.push(e.lineBreakPart())}function _(){v.push(e.spacePart()),v.push(e.keywordPart(91)),v.push(e.spacePart())}function l(n,r){var a=e.symbolToDisplayParts(t,n,r||i,void 0,3);e.addRange(v,a)}function d(t,n){u(),n&&(f(n),v.push(e.spacePart()),l(t))}function f(t){switch(t){case e.ScriptElementKind.variableElement:case e.ScriptElementKind.functionElement:case e.ScriptElementKind.letElement:case e.ScriptElementKind.constElement:case e.ScriptElementKind.constructorImplementationElement:return void v.push(e.textOrKeywordPart(t));default:return v.push(e.punctuationPart(18)),v.push(e.textOrKeywordPart(t)),void v.push(e.punctuationPart(19))}}function p(n,r,a){e.addRange(v,e.signatureToDisplayParts(t,n,o,32|a)),r.length>1&&(v.push(e.spacePart()),v.push(e.punctuationPart(18)),v.push(e.operatorPart(36)),v.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),v.push(e.spacePart()),v.push(e.textPart(2===r.length?"overload":"overloads")),v.push(e.punctuationPart(19))),g=n.getDocumentationComment()}function m(n,r){var a=e.mapToDisplayParts(function(e){t.getSymbolDisplayBuilder().buildTypeParameterDisplayFromSymbol(n,e,r)});e.addRange(v,a)}void 0===c&&(c=e.getMeaningFromLocation(s));var g,y,h,v=[],b=a.flags,k=r(t,a,b,s),x=98===s.kind&&e.isExpression(s);if(k!==e.ScriptElementKind.unknown||32&b||8388608&b){k!==e.ScriptElementKind.memberGetAccessorElement&&k!==e.ScriptElementKind.memberSetAccessorElement||(k=e.ScriptElementKind.memberVariableElement);var S=void 0;if(h=x?t.getTypeAtLocation(s):t.getTypeOfSymbolAtLocation(a,s)){if(s.parent&&177===s.parent.kind){var D=s.parent.name;(D===s||D&&0===D.getFullWidth())&&(s=s.parent)}var C=void 0;if(179===s.kind||180===s.kind?C=s:(e.isCallExpressionTarget(s)||e.isNewExpressionTarget(s))&&(C=s.parent),C){var E=[];S=t.getResolvedSignature(C,E),!S&&E.length&&(S=E[0]);var T=180===C.kind||96===C.expression.kind,w=T?h.getConstructSignatures():h.getCallSignatures();if(e.contains(w,S.target)||e.contains(w,S)||(S=w.length?w[0]:void 0),S){switch(T&&32&b?(k=e.ScriptElementKind.constructorImplementationElement,d(h.symbol,k)):8388608&b?(k=e.ScriptElementKind.alias,f(k),v.push(e.spacePart()),T&&(v.push(e.keywordPart(93)),v.push(e.spacePart())),l(a)):d(a,k),k){case e.ScriptElementKind.memberVariableElement:case e.ScriptElementKind.variableElement:case e.ScriptElementKind.constElement:case e.ScriptElementKind.letElement:case e.ScriptElementKind.parameterElement:case e.ScriptElementKind.localVariableElement:v.push(e.punctuationPart(55)),v.push(e.spacePart()),T&&(v.push(e.keywordPart(93)),v.push(e.spacePart())),32768&h.flags&&16&h.objectFlags||!h.symbol||e.addRange(v,e.symbolToDisplayParts(t,h.symbol,o,void 0,1)),p(S,w,8);break;default:p(S,w)}y=!0}}else if(e.isNameOfFunctionDeclaration(s)&&!(98304&a.flags)||122===s.kind&&150===s.parent.kind){var N=s.parent,w=150===N.kind?h.getNonNullableType().getConstructSignatures():h.getNonNullableType().getCallSignatures();S=t.isImplementationOfOverload(N)?w[0]:t.getSignatureFromDeclaration(N),150===N.kind?(k=e.ScriptElementKind.constructorImplementationElement,d(h.symbol,k)):d(153!==N.kind||2048&h.symbol.flags||4096&h.symbol.flags?a:h.symbol,k),p(S,w),y=!0}}}if(32&b&&!y&&!x&&(e.getDeclarationOfKind(a,197)?f(e.ScriptElementKind.localClassElement):v.push(e.keywordPart(74)),v.push(e.spacePart()),l(a),m(a,i)),64&b&&2&c&&(u(),v.push(e.keywordPart(108)),v.push(e.spacePart()),l(a),m(a,i)),524288&b&&(u(),v.push(e.keywordPart(136)),v.push(e.spacePart()),l(a),m(a,i),v.push(e.spacePart()),v.push(e.operatorPart(57)),v.push(e.spacePart()),e.addRange(v,e.typeToDisplayParts(t,t.getDeclaredTypeOfSymbol(a),o,512))),384&b&&(u(),e.forEach(a.declarations,e.isConstEnumDeclaration)&&(v.push(e.keywordPart(75)),v.push(e.spacePart())),v.push(e.keywordPart(82)),v.push(e.spacePart()),l(a)),1536&b){u();var A=e.getDeclarationOfKind(a,230),P=A&&A.name&&70===A.name.kind;v.push(e.keywordPart(P?128:127)),v.push(e.spacePart()),l(a)}if(262144&b&&2&c)if(u(),v.push(e.punctuationPart(18)),v.push(e.textPart("type parameter")),v.push(e.punctuationPart(19)),v.push(e.spacePart()),l(a),a.parent)_(),l(a.parent,o),m(a.parent,o);else{var A=e.getDeclarationOfKind(a,143);if(e.Debug.assert(void 0!==A),A=A.parent)if(e.isFunctionLikeKind(A.kind)){_();var S=t.getSignatureFromDeclaration(A);154===A.kind?(v.push(e.keywordPart(93)),v.push(e.spacePart())):153!==A.kind&&A.name&&l(A.symbol),e.addRange(v,e.signatureToDisplayParts(t,S,i,32))}else 228===A.kind&&(_(),v.push(e.keywordPart(136)),v.push(e.spacePart()),l(A.symbol),m(A.symbol,i))}if(8&b){d(a,"enum member");var A=a.declarations[0];if(260===A.kind){var O=t.getConstantValue(A);void 0!==O&&(v.push(e.spacePart()),v.push(e.operatorPart(57)),v.push(e.spacePart()),v.push(e.displayPart(O.toString(),e.SymbolDisplayPartKind.numericLiteral)))}}if(8388608&b&&(u(),233===a.declarations[0].kind?(v.push(e.keywordPart(83)),v.push(e.spacePart()),v.push(e.keywordPart(128))):v.push(e.keywordPart(90)),v.push(e.spacePart()),l(a),e.forEach(a.declarations,function(n){if(234===n.kind){var r=n;if(e.isExternalModuleImportEqualsDeclaration(r))v.push(e.spacePart()),v.push(e.operatorPart(57)),v.push(e.spacePart()),v.push(e.keywordPart(131)),v.push(e.punctuationPart(18)),v.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),v.push(e.punctuationPart(19));else{var a=t.getSymbolAtLocation(r.moduleReference);a&&(v.push(e.spacePart()),v.push(e.operatorPart(57)),v.push(e.spacePart()),l(a,o))}return!0}})),!y)if(k!==e.ScriptElementKind.unknown){if(h)if(x?(u(),v.push(e.keywordPart(98))):d(a,k),k===e.ScriptElementKind.memberVariableElement||3&b||k===e.ScriptElementKind.localVariableElement||x)if(v.push(e.punctuationPart(55)),v.push(e.spacePart()),h.symbol&&262144&h.symbol.flags){var F=e.mapToDisplayParts(function(e){t.getSymbolDisplayBuilder().buildTypeParameterDisplay(h,e,o)});e.addRange(v,F)}else e.addRange(v,e.typeToDisplayParts(t,h,o));else if(16&b||8192&b||16384&b||131072&b||98304&b||k===e.ScriptElementKind.memberFunctionElement){var w=h.getNonNullableType().getCallSignatures();p(w[0],w)}}else k=n(t,a,s);if(!g&&(g=a.getDocumentationComment(),0===g.length&&4&a.flags&&a.parent&&e.forEach(a.parent.declarations,function(e){return 261===e.kind})))for(var R=0,I=a.declarations;R0))break}}return{displayParts:v,documentation:g,symbolKind:k}}function o(t){return!t.parent&&e.forEach(t.declarations,function(t){if(184===t.kind)return!0;if(223!==t.kind&&225!==t.kind)return!1;for(var n=t.parent;!e.isFunctionBlock(n);n=n.parent)if(261===n.kind||231===n.kind)return!1;return!0})}t.getSymbolKind=n,t.getSymbolModifiers=a,t.getSymbolDisplayPartsDocumentationAndSymbolKind=i}(t=e.SymbolDisplay||(e.SymbolDisplay={}))}(o||(o={}));var o;!function(e){function t(t,n){var a=[],i=n.compilerOptions?r(n.compilerOptions,a):e.getDefaultCompilerOptions();i.isolatedModules=!0,i.suppressOutputPathCheck=!0,i.allowNonTsExtensions=!0,i.noLib=!0,i.lib=void 0,i.types=void 0,i.noEmit=void 0,i.noEmitOnError=void 0,i.paths=void 0,i.rootDirs=void 0,i.declaration=void 0,i.declarationDir=void 0,i.out=void 0,i.outFile=void 0,i.noResolve=!0;var o=n.fileName||(i.jsx?"module.tsx":"module.ts"),s=e.createSourceFile(o,t,i.target);n.moduleName&&(s.moduleName=n.moduleName),n.renamedDependencies&&(s.renamedDependencies=e.createMap(n.renamedDependencies));var c,u,_=e.getNewLineCharacter(i),l={getSourceFile:function(t){return t===e.normalizePath(o)?s:void 0},writeFile:function(t,n){e.fileExtensionIs(t,".map")?(e.Debug.assert(void 0===u,"Unexpected multiple source map outputs for the file '"+t+"'"),u=n):(e.Debug.assert(void 0===c,"Unexpected multiple outputs for the file: '"+t+"'"),c=n)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return _},fileExists:function(e){return e===o},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},d=e.createProgram([o],i,l);return n.reportDiagnostics&&(e.addRange(a,d.getSyntacticDiagnostics(s)),e.addRange(a,d.getOptionsDiagnostics())),d.emit(),e.Debug.assert(void 0!==c,"Output generation failed"),{outputText:c,diagnostics:a,sourceMapText:u}}function n(n,r,a,i,o){var s=t(n,{compilerOptions:r,fileName:a,reportDiagnostics:!!i,moduleName:o});return e.addRange(i,s.diagnostics),s.outputText}function r(t,n){a=a||e.filter(e.optionDeclarations,function(t){return"object"==typeof t.type&&!e.forEachProperty(t.type,function(e){return"number"!=typeof e})}),t=e.clone(t);for(var r=function(r){if(!e.hasProperty(t,r.name))return"continue";var a=t[r.name];"string"==typeof a?t[r.name]=e.parseCustomTypeOption(r,a,n):e.forEachProperty(r.type,function(e){return e===a})||n.push(e.createCompilerDiagnosticForInvalidCustomType(r))},i=0,o=a;i>=a,n+=a;return t},t.prototype.IncreaseInsertionIndex=function(t){var n=this.rulesInsertionIndexBitmap>>t&i;n++,e.Debug.assert((n&i)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");var r=this.rulesInsertionIndexBitmap&~(i<=0},t}();t.TokenRangeAccess=n;var r=function(){function e(e){this.tokens=e&&e.length?e:[]}return e.prototype.GetTokens=function(){return this.tokens},e.prototype.Contains=function(e){return this.tokens.indexOf(e)>=0},e}();t.TokenValuesAccess=r;var a=function(){function e(e){this.token=e}return e.prototype.GetTokens=function(){return[this.token]},e.prototype.Contains=function(e){return e===this.token},e}();t.TokenSingleValueAccess=a;var i=function(){function e(){}return e.prototype.GetTokens=function(){for(var e=[],t=0;t<=140;t++)e.push(t);return e},e.prototype.Contains=function(){return!0},e.prototype.toString=function(){return"[allTokens]"},e}();t.TokenAllAccess=i;var o=function(){function e(e){this.tokenAccess=e}return e.FromToken=function(t){return new e(new a(t))},e.FromTokens=function(t){return new e(new r(t))},e.FromRange=function(t,r,a){return void 0===a&&(a=[]),new e(new n(t,r,a))},e.AllTokens=function(){return new e(new i)},e.prototype.GetTokens=function(){return this.tokenAccess.GetTokens()},e.prototype.Contains=function(e){return this.tokenAccess.Contains(e)},e.prototype.toString=function(){return this.tokenAccess.toString()},e}();o.Any=o.AllTokens(),o.AnyIncludingMultilineComments=o.FromTokens(o.Any.GetTokens().concat([3])),o.Keywords=o.FromRange(71,140),o.BinaryOperators=o.FromRange(26,69),o.BinaryKeywordOperators=o.FromTokens([91,92,140,117,125]),o.UnaryPrefixOperators=o.FromTokens([42,43,51,50]),o.UnaryPrefixExpressions=o.FromTokens([8,70,18,20,16,98,93]),o.UnaryPreincrementExpressions=o.FromTokens([70,18,98,93]),o.UnaryPostincrementExpressions=o.FromTokens([70,19,21,93]),o.UnaryPredecrementExpressions=o.FromTokens([70,18,98,93]),o.UnaryPostdecrementExpressions=o.FromTokens([70,19,21,93]),o.Comments=o.FromTokens([2,3]),o.TypeNames=o.FromTokens([70,132,134,121,135,104,118]),t.TokenRange=o}(n=t.Shared||(t.Shared={}))}(t=e.formatting||(e.formatting={}))}(o||(o={}));var o;!function(e){var t;!function(t){var n=function(){function n(){this.globalRules=new t.Rules}return n.prototype.getRuleName=function(e){return this.globalRules.getRuleName(e)},n.prototype.getRuleByName=function(e){return this.globalRules[e]},n.prototype.getRulesMap=function(){return this.rulesMap},n.prototype.ensureUpToDate=function(n){if(!this.options||!e.compareDataObjects(this.options,n)){var r=this.createActiveRules(n),a=t.RulesMap.create(r);this.activeRules=r,this.rulesMap=a,this.options=e.clone(n)}},n.prototype.createActiveRules=function(e){var t=this.globalRules.HighPriorityCommonRules.slice(0);return e.insertSpaceAfterCommaDelimiter?t.push(this.globalRules.SpaceAfterComma):t.push(this.globalRules.NoSpaceAfterComma),e.insertSpaceAfterFunctionKeywordForAnonymousFunctions?t.push(this.globalRules.SpaceAfterAnonymousFunctionKeyword):t.push(this.globalRules.NoSpaceAfterAnonymousFunctionKeyword),e.insertSpaceAfterKeywordsInControlFlowStatements?t.push(this.globalRules.SpaceAfterKeywordInControl):t.push(this.globalRules.NoSpaceAfterKeywordInControl),e.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis?(t.push(this.globalRules.SpaceAfterOpenParen),t.push(this.globalRules.SpaceBeforeCloseParen),t.push(this.globalRules.NoSpaceBetweenParens)):(t.push(this.globalRules.NoSpaceAfterOpenParen),t.push(this.globalRules.NoSpaceBeforeCloseParen),t.push(this.globalRules.NoSpaceBetweenParens)),e.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets?(t.push(this.globalRules.SpaceAfterOpenBracket),t.push(this.globalRules.SpaceBeforeCloseBracket),t.push(this.globalRules.NoSpaceBetweenBrackets)):(t.push(this.globalRules.NoSpaceAfterOpenBracket),t.push(this.globalRules.NoSpaceBeforeCloseBracket),t.push(this.globalRules.NoSpaceBetweenBrackets)),e.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces!==!1?(t.push(this.globalRules.SpaceAfterOpenBrace),t.push(this.globalRules.SpaceBeforeCloseBrace),t.push(this.globalRules.NoSpaceBetweenEmptyBraceBrackets)):(t.push(this.globalRules.NoSpaceAfterOpenBrace),t.push(this.globalRules.NoSpaceBeforeCloseBrace),t.push(this.globalRules.NoSpaceBetweenEmptyBraceBrackets)),e.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces?(t.push(this.globalRules.SpaceAfterTemplateHeadAndMiddle),t.push(this.globalRules.SpaceBeforeTemplateMiddleAndTail)):(t.push(this.globalRules.NoSpaceAfterTemplateHeadAndMiddle),t.push(this.globalRules.NoSpaceBeforeTemplateMiddleAndTail)),e.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?(t.push(this.globalRules.SpaceAfterOpenBraceInJsxExpression),t.push(this.globalRules.SpaceBeforeCloseBraceInJsxExpression)):(t.push(this.globalRules.NoSpaceAfterOpenBraceInJsxExpression),t.push(this.globalRules.NoSpaceBeforeCloseBraceInJsxExpression)),e.insertSpaceAfterSemicolonInForStatements?t.push(this.globalRules.SpaceAfterSemicolonInFor):t.push(this.globalRules.NoSpaceAfterSemicolonInFor),e.insertSpaceBeforeAndAfterBinaryOperators?(t.push(this.globalRules.SpaceBeforeBinaryOperator),t.push(this.globalRules.SpaceAfterBinaryOperator)):(t.push(this.globalRules.NoSpaceBeforeBinaryOperator),t.push(this.globalRules.NoSpaceAfterBinaryOperator)),e.placeOpenBraceOnNewLineForControlBlocks&&t.push(this.globalRules.NewLineBeforeOpenBraceInControl),e.placeOpenBraceOnNewLineForFunctions&&(t.push(this.globalRules.NewLineBeforeOpenBraceInFunction),t.push(this.globalRules.NewLineBeforeOpenBraceInTypeScriptDeclWithBlock)),e.insertSpaceAfterTypeAssertion?t.push(this.globalRules.SpaceAfterTypeAssertion):t.push(this.globalRules.NoSpaceAfterTypeAssertion),t=t.concat(this.globalRules.LowPriorityCommonRules)},n}();t.RulesProvider=n}(t=e.formatting||(e.formatting={}))}(o||(o={}));var o;!function(e){var t;!function(t){function n(t,n,r,a){var i=n.getLineAndCharacterOfPosition(t).line;if(0===i)return[];for(var o=e.getEndLinePosition(i,n);e.isWhiteSpaceSingleLine(n.text.charCodeAt(o));)o--;e.isLineBreak(n.text.charCodeAt(o))&&o--;var s={pos:e.getStartPositionOfLine(i-1,n),end:o+1};return p(s,n,a,r,2)}function r(e,t,n,r){return s(e,24,t,r,n,3)}function a(e,t,n,r){return s(e,17,t,r,n,4)}function i(e,t,n){var r={pos:0,end:e.text.length};return p(r,e,n,t,0)}function o(t,n,r,a,i){var o={pos:e.getLineStartPositionForPosition(t,r),end:n};return p(o,r,i,a,1)}function s(t,n,r,a,i,o){var s=c(t,n,r);if(!s)return[];var u={pos:e.getLineStartPositionForPosition(s.getStart(r),r),end:s.end};return p(u,r,a,i,o)}function c(t,n,r){var a=e.findPrecedingToken(t,r);if(a&&a.kind===n&&t===a.getEnd()){for(var i=a;i&&i.parent&&i.parent.end===a.end&&!u(i.parent,i);)i=i.parent;return i}}function u(t,n){switch(t.kind){case 226:case 227:return e.rangeContainsRange(t.members,n);case 230:var r=t.body;return r&&231===r.kind&&e.rangeContainsRange(r.statements,n);case 261:case 204:case 231:return e.rangeContainsRange(t.statements,n);case 256:return e.rangeContainsRange(t.block.statements,n)}return!1}function _(t,n){function r(a){var i=e.forEachChild(a,function(r){return e.startEndContainsRange(r.getStart(n),r.end,t)&&r});if(i){var o=r(i);if(o)return o}return a}return r(n)}function l(t,n){function r(){return!1}if(!t.length)return r;var a=t.filter(function(t){return e.rangeOverlapsWithStartEnd(n,t.start,t.start+t.length)}).sort(function(e,t){return e.start-t.start});if(!a.length)return r;var i=0;return function(t){for(;;){if(i>=a.length)return!1;var n=a[i];if(t.end<=n.start)return!1;if(e.startEndOverlapsWithStartEnd(t.pos,t.end,n.start,n.start+n.length))return!0;i++}}}function d(t,n,r){var a=t.getStart(r);if(a===n.pos&&t.end===n.end)return a;var i=e.findPrecedingToken(n.pos,r);return i?i.end>=n.pos?t.pos:i.end:t.pos}function f(e,n,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(i!==-1&&o!==i)break;if(t.SmartIndenter.shouldIndentChildNode(e,a))return n.indentSize;i=o,a=e,e=e.parent}return 0}function p(n,r,a,i,o){function s(n,i,o,s,c){if(e.rangeOverlapsWithStartEnd(s,n,i)||e.rangeContainsStartEnd(s,n,i)){if(c!==-1)return c}else{var u=r.getLineAndCharacterOfPosition(n).line,_=e.getLineStartPositionForPosition(n,r),l=t.SmartIndenter.findFirstNonWhitespaceColumn(_,n,r,a);if(u!==o||n===l){var d=t.SmartIndenter.getBaseIndentation(a);return d>l?d:l}}return-1}function c(e,n,i,o,s,c){var u=i,_=t.SmartIndenter.shouldIndentChildNode(e)?a.indentSize:0;return c===n?(u=n===M?B:s.getIndentation(),_=Math.min(a.indentSize,s.getDelta(e)+_)):u===-1&&(u=t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(o,e,n,r)?s.getIndentation():s.getIndentation()+s.getDelta(e)),{indentation:u,delta:_}}function u(e){if(e.modifiers&&e.modifiers.length)return e.modifiers[0].kind;switch(e.kind){case 226:return 74;case 227:return 108;case 225:return 88;case 229:return 229;case 151:return 124;case 152:return 133;case 149:if(e.asteriskToken)return 38;case 147:case 144:return e.name.kind}}function p(e,n,r,i){function o(n,r){return t.SmartIndenter.nodeWillIndentChild(e,r,!0)?n:0}return{getIndentationForComment:function(e,t,n){switch(e){case 17:case 21:case 19:return r+o(i,n)}return t!==-1?t:r},getIndentationForToken:function(t,a,s){if(n!==t&&e.decorators&&a===u(e))return r;switch(a){case 16:case 17:case 20:case 21:case 18:case 19:case 81:case 105:case 56:return r;default:return n!==t?r+o(i,s):r}},getIndentation:function(){return r},getDelta:function(e){return o(i,e)},recomputeIndentation:function(n){e.parent&&t.SmartIndenter.shouldIndentChildNode(e.parent,e)&&(n?r+=a.indentSize:r-=a.indentSize,i=t.SmartIndenter.shouldIndentChildNode(e)?a.indentSize:0)}}}function h(t,a,i,o,u,_){function l(a,i,o,u,_,l,d,p){var m=a.getStart(r),g=r.getLineAndCharacterOfPosition(m).line,y=g;a.decorators&&(y=r.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(a,r)).line);var v=-1;if(d&&(v=s(m,a.end,_,n,i),v!==-1&&(i=v)),!e.rangeOverlapsWithStartEnd(n,a.pos,a.end))return a.endm)break;f(b,t,u)}if(!J.isOnToken())return i;if(e.isToken(a)&&10!==a.kind){var b=J.readTokenInfo(a);return e.Debug.assert(b.token.end===a.end,"Token end is child end"),f(b,t,u,a),i}var x=145===a.kind?g:l,S=c(a,g,v,t,u,x);return h(a,k,g,y,S.indentation,S.delta),k=t,p&&175===o.kind&&i===-1&&(i=S.indentation),i}function d(n,a,i,o){var s=m(a,n),u=g(s),_=o,d=i;if(0!==s)for(;J.isOnToken();){var y=J.readTokenInfo(a);if(y.token.end>n.pos)break;if(y.token.kind===s){d=r.getLineAndCharacterOfPosition(y.token.pos).line;var h=c(y.token,d,-1,a,o,i);_=p(a,i,h.indentation,h.delta),f(y,a,_)}else f(y,a,o)}for(var v=-1,b=0;bt.end)break;f(S,t,y)}}}function v(t,a,i,o){for(var s=0,c=t;s0){var D=y(S,a);P(b,k.character,D)}else A(b,k.character)}}}function E(t,n,a){for(var i=t;is)){var c=T(o,s);c!==-1&&(e.Debug.assert(c===o||!e.isWhiteSpaceSingleLine(r.text.charCodeAt(c-1))),A(c,s+1-c))}}}function T(t,n){for(var a=n;a>=t&&e.isWhiteSpaceSingleLine(r.text.charCodeAt(a));)a--;return a!==n?a+1:-1}function w(){var e=R?R.end:n.pos,t=r.getLineAndCharacterOfPosition(e).line,a=r.getLineAndCharacterOfPosition(n.end).line;E(t,a+1,R)}function N(t,n,r){return{span:e.createTextSpan(t,n),newText:r}}function A(e,t){t&&V.push(N(e,t,""))}function P(e,t,n){(t||n)&&V.push(N(e,t,n))}function O(e,t,n,i,o){switch(e.Operation.Action){case 1:return;case 8:t.end!==i.pos&&A(t.end,i.pos-t.end);break;case 4:if(1!==e.Flag&&n!==o)return;var s=o-n;1!==s&&P(t.end,i.pos-t.end,a.newLineCharacter);break;case 2:if(1!==e.Flag&&n!==o)return;var c=i.pos-t.end;1===c&&32===r.text.charCodeAt(t.end)||P(t.end,i.pos-t.end," ")}}var F,R,I,L,M,B,j=l(r.parseDiagnostics,n),z=new t.FormattingContext(r,o),K=_(n,r),J=t.getFormattingScanner(r,d(K,n,r),n.end),U=t.SmartIndenter.getIndentationForNode(K,n,r,a),V=[];if(J.advance(),J.isOnToken()){var q=r.getLineAndCharacterOfPosition(K.getStart(r)).line,W=q;K.decorators&&(W=r.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(K,r)).line);var H=f(K,a,r);h(K,K,q,W,U,H)}if(!J.isOnToken()){var G=J.getCurrentLeadingTrivia();G&&(v(G,K,K,void 0),w())}return J.close(),V}function m(e,t){switch(e.kind){case 150:case 225:case 184:case 149:case 148:case 185:if(e.typeParameters===t)return 26;if(e.parameters===t)return 18;break;case 179:case 180:if(e.typeArguments===t)return 26;if(e.arguments===t)return 18;break;case 157:if(e.typeArguments===t)return 26}return 0}function g(e){switch(e){case 18:return 19;case 26:return 28}return 0}function y(e,t){function n(e,t){for(var n="",r=0;rr.text.length)return a(o);if(o.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(n,r);if(!c)return a(o);var l=e.isStringOrRegularExpressionOrTemplateLiteral(c.kind);if(l&&c.getStart(r)<=n&&c.end>n)return 0;var d=r.getLineAndCharacterOfPosition(n).line;if(o.indentStyle===e.IndentStyle.Block){for(var m=n;m>0;){var g=r.text.charCodeAt(m);if(!e.isWhiteSpace(g))break;m--}var y=e.getLineStartPositionForPosition(m,r);return t.findFirstNonWhitespaceColumn(y,m,r,o)}if(25===c.kind&&192!==c.parent.kind){var h=s(c,r,o);if(h!==-1)return h}for(var v,b,x,S=c;S;){if(e.positionBelongsToNode(S,n,r)&&k(S,v)){b=_(S,r),x=u(c,S,d,r)?0:d!==b.line?o.indentSize:0;break}var h=f(S,r,o);if(h!==-1)return h;if(h=p(S,r,o),h!==-1)return h+o.indentSize;v=S,S=S.parent}return S?i(S,b,void 0,x,r,o):a(o)}function r(e,t,n,r){var a=n.getLineAndCharacterOfPosition(e.getStart(n));return i(e,a,t,0,n,r)}function a(e){return e.baseIndentSize||0}function i(e,t,n,r,i,s){for(var u,_=e.parent;_;){var d=!0;if(n){var m=e.getStart(i);d=mn.end}if(d){var g=f(e,i,s);if(g!==-1)return g+r}u=o(_,e,i);var y=u.line===t.line||l(_,e,t.line,i);if(d){var g=c(e,_,t,y,i,s);if(g!==-1)return g+r;if(g=p(e,i,s),g!==-1)return g+r}k(_,e)&&!y&&(r+=s.indentSize),e=_,t=u,_=e.parent}return r+a(s)}function o(e,t,n){var r=d(t,n);return r?n.getLineAndCharacterOfPosition(r.pos):n.getLineAndCharacterOfPosition(e.getStart(n))}function s(t,n,r){var a=e.findListItemInfo(t);return a&&a.listItemIndex>0?m(a.list.getChildren(),a.listItemIndex-1,n,r):-1}function c(t,n,r,a,i,o){var s=(e.isDeclaration(t)||e.isStatementButNotDeclaration(t))&&(261===n.kind||!a);return s?g(r,i,o):-1}function u(t,n,r,a){var i=e.findNextToken(t,n);if(!i)return!1;if(16===i.kind)return!0;if(17===i.kind){var o=_(i,a).line;return r===o}return!1}function _(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function l(t,n,r,a){if(208===t.kind&&t.elseStatement===n){var i=e.findChildOfKind(t,81,a);e.Debug.assert(void 0!==i);var o=_(i,a).line;return o===r}return!1}function d(t,n){if(t.parent)switch(t.parent.kind){case 157:if(t.parent.typeArguments&&e.rangeContainsStartEnd(t.parent.typeArguments,t.getStart(n),t.getEnd()))return t.parent.typeArguments;break;case 176:return t.parent.properties;case 175:return t.parent.elements;case 225:case 184:case 185:case 149:case 148:case 153:case 154:var r=t.getStart(n);if(t.parent.typeParameters&&e.rangeContainsStartEnd(t.parent.typeParameters,r,t.getEnd()))return t.parent.typeParameters;if(e.rangeContainsStartEnd(t.parent.parameters,r,t.getEnd()))return t.parent.parameters;break;case 180:case 179:var r=t.getStart(n);if(t.parent.typeArguments&&e.rangeContainsStartEnd(t.parent.typeArguments,r,t.getEnd()))return t.parent.typeArguments;if(t.parent.arguments&&e.rangeContainsStartEnd(t.parent.arguments,r,t.getEnd()))return t.parent.arguments}}function f(t,n,r){function a(a){var i=e.indexOf(a,t);return i!==-1?m(a,i,n,r):-1}var i=d(t,n);return i?a(i):-1}function p(e,t,n){function r(e){for(;;)switch(e.kind){case 179:case 180:case 177:case 178:e=e.expression;break;default:return e}}if(19===e.kind)return-1;if(e.parent&&(179===e.parent.kind||180===e.parent.kind)&&e.parent.expression!==e){var a=e.parent.expression,i=r(a);if(a===i)return-1;var o=t.getLineAndCharacterOfPosition(a.end),s=t.getLineAndCharacterOfPosition(i.end);return o.line===s.line?-1:g(o,t,n)}return-1}function m(t,n,r,a){e.Debug.assert(n>=0&&n=0;s--)if(25!==t[s].kind){var c=r.getLineAndCharacterOfPosition(t[s].end).line;if(c!==o.line)return g(o,r,a);o=_(t[s],r)}return-1}function g(e,t,n){var r=t.getPositionOfLineAndCharacter(e.line,0);return h(r,r+e.character,t,n)}function y(t,n,r,a){for(var i=0,o=0,s=t;s0&&(r=r.concat(n))}),r}var i=e.createMap();t.registerCodeFix=n,t.getSupportedErrorCodes=r,t.getFixes=a}(t=e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){var t;!function(t){function n(e,t){return e.body.getFirstToken(t).getEnd()}t.registerCodeFix({errorCodes:[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code],getCodeActions:function(t){var r=t.sourceFile,a=e.getTokenAtPosition(r,t.span.start);if(122===a.kind){var i=n(a.parent,r);return[{description:e.getLocaleSpecificMessage(e.Diagnostics.Add_missing_super_call),changes:[{fileName:r.fileName,textChanges:[{newText:"super();",span:{start:i,length:0}}]}]}]}}}),t.registerCodeFix({errorCodes:[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],getCodeActions:function(t){function r(t){if(207===t.kind&&e.isSuperCall(t.expression))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,r)}var a=t.sourceFile,i=e.getTokenAtPosition(a,t.span.start);if(98===i.kind){var o=e.getContainingFunction(i),s=r(o.body);if(s){if(s.expression&&179==s.expression.kind)for(var c=s.expression.arguments,u=0;u=141?new v(e,t,n):70===e?new S(70,t,n):new x(e,t,n);return a.parent=r,a}function n(){return{getNodeConstructor:function(){return v},getTokenConstructor:function(){return x},getIdentifierConstructor:function(){return S},getSourceFileConstructor:function(){return E},getSymbolConstructor:function(){return k},getTypeConstructor:function(){return D},getSignatureConstructor:function(){return C}}}function r(t){var n=!0;for(var r in t)if(e.hasProperty(t,r)&&!a(r)){n=!1;break}if(n)return t;var i={};for(var r in t)if(e.hasProperty(t,r)){var o=a(r)?r:r.charAt(0).toLowerCase()+r.substr(1);i[o]=t[r]}return i}function a(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function o(t){return t?e.map(t,function(e){return e.text}).join(""):""}function c(){return{target:1,jsx:1}}function u(){return e.codefix.getSupportedErrorCodes()}function _(e,t,n){e.version=n,e.scriptSnapshot=t}function l(t,n,r,a,i,o){var s=n.getText(0,n.getLength()),c=e.createSourceFile(t,s,r,i,o);return _(c,n,a),c}function d(t,n,r,a,i){if(a&&r!==t.version&&!e.disableIncrementalParsing){var o=void 0,s=0!==a.span.start?t.text.substr(0,a.span.start):"",c=e.textSpanEnd(a.span)!==t.text.length?t.text.substr(e.textSpanEnd(a.span)):"";if(0===a.newLength)o=s&&c?s+c:s||c;else{var u=n.getText(a.span.start,a.span.start+a.newLength);o=s&&c?s+u+c:s?s+u:u+c}var d=e.updateSourceFile(t,o,a,i);return _(d,n,r),d.nameTable=void 0,t!==d&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),d}return l(t.fileName,n,t.languageVersion,r,!0,t.scriptKind)}function f(t,n){function a(e){t.log&&t.log(e)}function i(e){var t=re.getSourceFile(e);if(!t)throw new Error("Could not find file: '"+e+"'.");return t}function o(t){return ne||(ne=new e.formatting.RulesProvider),ne.ensureUpToDate(t),ne}function s(){function r(t){return i(t,e.toPath(t,ue,_e))}function i(t,r){e.Debug.assert(void 0!==_);var a=_.getOrCreateEntryByPath(t,r);if(a){if(!f){var i=re&&re.getSourceFileByPath(r);if(i)return e.Debug.assert(a.scriptKind===i.scriptKind,"Registered script kind ("+i.scriptKind+") should match new script kind ("+a.scriptKind+") for file: "+r),n.updateDocumentWithKey(t,r,d,m,a.scriptSnapshot,a.version,a.scriptKind)}return n.acquireDocumentWithKey(t,r,d,m,a.scriptSnapshot,a.version,a.scriptKind)}}function o(t){if(!t)return!1;var n=t.path||e.toPath(t.fileName,ue,_e);return t.version===_.getVersion(n)}function s(){if(!re)return!1;var t=_.getRootFileNames();if(re.getSourceFiles().length!==t.length)return!1;for(var n=0,r=t;n=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}s();var c=i(t);ce.throwIfCancellationRequested();var u=c.text,_=[];if(n.length>0)for(var l=a(),d=void 0;d=l.exec(u);){ce.throwIfCancellationRequested();var f=3;e.Debug.assert(d.length===n.length+f);var p=d[1],m=d.index+p.length,g=e.getTokenAtPosition(c,m);if(e.isInsideComment(c,g,m)){for(var y=void 0,h=0,v=n.length;h=141){e.scanner.setText((t||this.getSourceFile()).text),n=[];var a=this.pos,i=this.kind>=278&&this.kind<=291,o=function(t){var o=e.isJSDocTag(t);!o&&a=r.length&&(t=this.getEnd()),t||(t=r[n+1]-1);var a=this.getFullText();return"\n"===a[t]&&"\r"===a[t-1]?t-1:t},n.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},n.prototype.computeNamedDeclarations=function(){function t(t){var n=r(t);n&&e.multiMapAdd(o,n,t)}function n(e){return o[e]||(o[e]=[])}function r(e){if(e.name){var t=a(e.name);if(void 0!==t)return t;if(142===e.name.kind){var n=e.name.expression;return 177===n.kind?n.name.text:a(n)}}}function a(e){if(e&&(70===e.kind||9===e.kind||8===e.kind))return e.text}function i(a){switch(a.kind){case 225:case 184:case 149:case 148:var o=a,s=r(o);if(s){var c=n(s),u=e.lastOrUndefined(c);u&&o.parent===u.parent&&o.symbol===u.symbol?o.body&&!u.body&&(c[c.length-1]=o):c.push(o),e.forEachChild(a,i)}break;case 226:case 197:case 227:case 228:case 229:case 230:case 234:case 243:case 239:case 234:case 236:case 237:case 151:case 152:case 161:t(a),e.forEachChild(a,i);break;case 144:if(!e.hasModifier(a,92))break;case 223:case 174:var _=a;if(e.isBindingPattern(_.name)){e.forEachChild(_.name,i);break}_.initializer&&i(_.initializer);case 260:case 147:case 146:t(a);break;case 241:a.exportClause&&e.forEach(a.exportClause.elements,i);break;case 235:var l=a.importClause;l&&(l.name&&t(l),l.namedBindings&&(237===l.namedBindings.kind?t(l.namedBindings):e.forEach(l.namedBindings.elements,i)));break;default:e.forEachChild(a,i)}}var o=e.createMap();return e.forEachChild(this,i),o},n}(v);e.toEditorSettings=r,e.displayPartsToString=o,e.getDefaultCompilerOptions=c,e.getSupportedCodeFixes=u;var T=function(){function t(t,n){this.host=t,this.getCanonicalFileName=n,this.currentDirectory=t.getCurrentDirectory(),this.fileNameToEntry=e.createFileMap();for(var r=t.getScriptFileNames(),a=0,i=r;a0?u(t.declarations[0]):void 0}function v(e){return e.initializer?h(e):e.condition?r(e.condition):e.incrementor?r(e.incrementor):void 0}function b(t){var n=e.forEach(t.elements,function(e){return 198!==e.kind?e:void 0});return n?u(n):174===t.parent.kind?r(t.parent):_(t.parent)}function k(t){e.Debug.assert(173!==t.kind&&172!==t.kind);var n=175===t.kind?t.elements:t.properties,a=e.forEach(n,function(e){return 198!==e.kind?e:void 0});return a?u(a):r(192===t.parent.kind?t.parent:t)}function x(n){switch(n.parent.kind){case 229:var r=n.parent;return i(e.findPrecedingToken(n.pos,t,n.parent),r.members.length?r.members[0]:r.getLastToken(t));case 226:var a=n.parent;return i(e.findPrecedingToken(n.pos,t,n.parent),a.members.length?a.members[0]:a.getLastToken(t));case 232:return i(n.parent.parent,n.parent.clauses[0])}return u(n.parent)}function S(t){switch(t.parent.kind){case 231:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 229:case 226:return r(t);case 204:if(e.isFunctionBlock(t.parent))return r(t);case 256:return u(e.lastOrUndefined(t.parent.statements));case 232:var n=t.parent,a=e.lastOrUndefined(n.clauses);if(a)return u(e.lastOrUndefined(a.statements));return;case 172:var i=t.parent;return u(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var o=t.parent;return r(e.lastOrUndefined(o.properties)||o)}return u(t.parent)}}function D(t){switch(t.parent.kind){case 173:var n=t.parent;return r(e.lastOrUndefined(n.elements)||n);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var a=t.parent;return r(e.lastOrUndefined(a.elements)||a)}return u(t.parent)}}function C(e){return 209===e.parent.kind||179===e.parent.kind||180===e.parent.kind?s(e):183===e.parent.kind?c(e):u(e.parent)}function E(e){switch(e.parent.kind){case 184:case 225:case 185:case 149:case 148:case 151:case 152:case 150:case 210:case 209:case 211:case 213:case 179:case 180:case 183:return s(e);default:return u(e.parent)}}function T(t){return e.isFunctionLike(t.parent)||257===t.parent.kind||144===t.parent.kind?s(t):u(t.parent)}function w(e){return 182===e.parent.kind?c(e):u(e.parent)}function N(e){return 209===e.parent.kind?a(e,e.parent.expression):u(e.parent)}function A(e){return 213===e.parent.kind?c(e):u(e.parent)}if(n)switch(n.kind){case 205:return l(n.declarationList.declarations[0]);case 223:case 147:case 146:return l(n);case 144:return f(n);case 225:case 149:case 148:case 151:case 152:case 150:case 184:case 185:return m(n);case 204:if(e.isFunctionBlock(n))return g(n);case 231:return y(n);case 256:return y(n.block);case 207:return r(n.expression);case 216:return r(n.getChildAt(0),n.expression);case 210:return a(n,n.expression);case 209:return u(n.statement);case 222:return r(n.getChildAt(0));case 208:return a(n,n.expression);case 219:return u(n.statement);case 215:case 214:return r(n.getChildAt(0),n.label);case 211:return v(n);case 212:return a(n,n.expression);case 213:return h(n);case 218:return a(n,n.expression);case 253:case 254:return u(n.statements[0]);case 221:return y(n.tryBlock);case 220:return r(n,n.expression);case 240:return r(n,n.expression);case 234:return r(n,n.moduleReference);case 235:return r(n,n.moduleSpecifier);case 241:return r(n,n.moduleSpecifier);case 230:if(1!==e.getModuleInstanceState(n))return;case 226:case 229:case 260:case 174:return r(n);case 217:return u(n.statement);case 145:return o(n.parent.decorators);case 172:case 173:return b(n);case 227:case 228:return;case 24:case 1:return i(e.findPrecedingToken(n.pos,t));case 25:return s(n);case 16:return x(n);case 17:return S(n);case 21:return D(n);case 18:return C(n);case 19:return E(n);case 55:return T(n);case 28:case 26:return w(n);case 105:return N(n);case 81:case 73:case 86:return c(n);case 140:return A(n);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return k(n);if((70===n.kind||196==n.kind||257===n.kind||258===n.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent))return r(n);if(192===n.kind){var P=n;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(P.left))return k(P.left);if(57===P.operatorToken.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(P.parent))return r(n);if(25===P.operatorToken.kind)return u(P.left)}if(e.isPartOfExpression(n))switch(n.parent.kind){case 209:return s(n);case 145:return u(n.parent);case 211:case 213:return r(n);case 192:if(25===n.parent.operatorToken.kind)return r(n);break;case 185:if(n.parent.body===n)return r(n)}if(257===n.parent.kind&&n.parent.name===n&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent))return u(n.parent.initializer);if(182===n.parent.kind&&n.parent.type===n)return c(n.parent.type);if(e.isFunctionLike(n.parent)&&n.parent.type===n)return s(n);if(223===n.parent.kind||144===n.parent.kind){var O=n.parent;if(O.initializer===n||O.type===n||e.isAssignmentOperator(n.kind))return s(n)}if(192===n.parent.kind){var P=n.parent;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(P.left)&&(P.right===n||P.operatorToken===n))return s(n)}return u(n.parent)}}if(!t.isDeclarationFile){var _=e.getTokenAtPosition(t,n),l=t.getLineAndCharacterOfPosition(n).line;if((!(t.getLineAndCharacterOfPosition(_.getStart(t)).line>l)||(_=e.findPrecedingToken(_.pos,t),_&&t.getLineAndCharacterOfPosition(_.getEnd()).line===l))&&!e.isInAmbientContext(_))return u(_)}}t.spanInSourceFileAtLocation=n}(t=e.BreakpointResolver||(e.BreakpointResolver={}))}(o||(o={}));var o,c=function(){return this}();!function(t){function n(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function r(e,n,r,a){var i;a&&(e.log(n),i=t.timestamp());var o=r();if(a){var s=t.timestamp();if(e.log(n+" completed in "+(s-i)+" msec"),"string"==typeof o){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),e.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}function a(e,t,n,r){return i(e,t,!0,n,r)}function i(e,a,i,o,s){try{var c=r(e,a,o,s);return i?JSON.stringify({result:c}):c}catch(r){return r instanceof t.OperationCanceledException?JSON.stringify({canceled:!0}):(n(e,r),r.description=a,JSON.stringify({error:r}))}}function o(e,t){return e.map(function(e){return u(e,t)})}function u(e,n){return{message:t.flattenDiagnosticMessageText(e.messageText,n),start:e.start,length:e.length,category:t.DiagnosticCategory[e.category].toLowerCase(),code:e.code}}function _(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var l=function(){function e(e){this.scriptSnapshotShim=e}return e.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},e.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},e.prototype.getChangeRange=function(e){var n=e,r=this.scriptSnapshotShim.getChangeRange(n.scriptSnapshotShim);if(null==r)return null;var a=JSON.parse(r);return t.createTextChangeRange(t.createTextSpan(a.span.start,a.span.length),a.newLength)},e.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},e}(),d=function(){function e(e){var n=this;this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(e,r){var a=JSON.parse(n.shimHost.getModuleResolutionsForFile(r));return t.map(e,function(e){var n=t.getProperty(a,e);return n?{resolvedFileName:n,extension:t.extensionFromPath(n),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return n.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(e,r){var a=JSON.parse(n.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return t.map(e,function(e){return t.getProperty(a,e)})})}return e.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},e.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},e.prototype.error=function(e){this.shimHost.error(e)},e.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},e.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},e.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},e.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null==e||""==e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");return JSON.parse(e)},e.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return this.files=JSON.parse(e)},e.prototype.getScriptSnapshot=function(e){var t=this.shimHost.getScriptSnapshot(e);return t&&new l(t)},e.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},e.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},e.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}},e.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new f(e)},e.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},e.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},e.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},e.prototype.readDirectory=function(e,n,r,a,i){var o=t.getFileMatcherPatterns(e,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory()); -return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},e.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},e.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},e}();t.LanguageServiceShimHostAdapter=d;var f=function(){function e(e){this.hostCancellationToken=e,this.lastCancellationCheckTime=0}return e.prototype.isCancellationRequested=function(){var e=t.timestamp(),n=Math.abs(e-this.lastCancellationCheckTime);return n>10&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},e}(),p=function(){function e(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"realpath"in this.shimHost&&(this.realpath=function(e){return t.shimHost.realpath(e)})}return e.prototype.readDirectory=function(e,n,r,a,i){try{var o=t.getFileMatcherPatterns(e,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))}catch(a){for(var s=[],c=0,u=n;c1)for(var n=1;n=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),o.alloc(+e)}function y(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function h(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return F(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,a);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,a){function i(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,c=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,n/=2}var u;if(a){var _=-1;for(u=n;us&&(n=s-c),u=n;u>=0;u--){for(var l=!0,d=0;da&&(r=a)):r=a;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o239?4:i>223?3:i>191?2:1;if(a+s<=n){var c,u,_,l;switch(s){case 1:i<128&&(o=i);break;case 2:c=e[a+1],128===(192&c)&&(l=(31&i)<<6|63&c,l>127&&(o=l));break;case 3:c=e[a+1],u=e[a+2],128===(192&c)&&128===(192&u)&&(l=(15&i)<<12|(63&c)<<6|63&u,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:c=e[a+1],u=e[a+2],_=e[a+3],128===(192&c)&&128===(192&u)&&128===(192&_)&&(l=(15&i)<<18|(63&c)<<12|(63&u)<<6|63&_,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),a+=s}return A(r)}function A(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,a,i){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function j(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(e,t,n,r,a){return a||j(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,n,r,23,4),n+4}function K(e,t,n,r,a){return a||j(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,n,r,52,8),n+8}function J(e){if(e=U(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var n,r=e.length,a=null,i=[],o=0;o55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function W(e){for(var t=[],n=0;n>8,a=n%256,i.push(a),i.push(r);return i}function G(e){return Q.toByteArray(J(e))}function X(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function Y(e){return e!==e}var Q=n(9),Z=n(10),$=n(11);t.Buffer=o,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=a(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return s(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return u(null,e,t,n)},o.allocUnsafe=function(e){return _(null,e)},o.allocUnsafeSlow=function(e){return _(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,a=0,i=Math.min(n,r);a0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},o.prototype.compare=function(e,t,n,r,a){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,a>>>=0,this===e)return 0;for(var i=a-r,s=n-t,c=Math.min(i,s),u=this.slice(r,a),_=e.slice(t,n),l=0;la)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return D(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(a*=256);)r+=this[e+--t]*a;return r},o.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length), -this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],a=1,i=0;++i=a&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i},o.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},o.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Z.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Z.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Z.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Z.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var a=Math.pow(2,8*n)-1;L(this,e,t,n,a,0)}var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);L(this,e,t,n,a-1,-a)}var i=0,o=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);L(this,e,t,n,a-1,-a)}var i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return K(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return K(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!o.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function a(e){var t,r,a,i,o,s,c=e.length;o=n(e),s=new _(3*c/4-o),a=o>0?c-4:c;var l=0;for(t=0,r=0;t>16&255,s[l++]=i>>8&255,s[l++]=255&i;return 2===o?(i=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[l++]=255&i):1===o&&(i=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[l++]=i>>8&255,s[l++]=255&i),s}function i(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function o(e,t,n){for(var r,a=[],o=t;o_?_:u+s));return 1===r?(t=e[n-1],a+=c[t>>2],a+=c[t<<4&63],a+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],a+=c[t>>10],a+=c[t>>4&63],a+=c[t<<2&63],a+="="),i.push(a),i.join("")}t.byteLength=r,t.toByteArray=a,t.fromByteArray=s;for(var c=[],u=[],_="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,f=l.length;d>1,_=-7,l=n?a-1:0,d=n?-1:1,f=e[t+l];for(l+=d,i=f&(1<<-_)-1,f>>=-_,_+=s;_>0;i=256*i+e[t+l],l+=d,_-=8);for(o=i&(1<<-_)-1,i>>=-_,_+=r;_>0;o=256*o+e[t+l],l+=d,_-=8);if(0===i)i=1-u;else{if(i===c)return o?NaN:(f?-1:1)*(1/0);o+=Math.pow(2,r),i-=u}return(f?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,n,r,a,i){var o,s,c,u=8*i-a-1,_=(1<>1,d=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=_):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),t+=o+l>=1?d/c:d*Math.pow(2,1-l),t*c>=2&&(o++,c/=2),o+l>=_?(s=0,o=_):o+l>=1?(s=(t*c-1)*Math.pow(2,a),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,a),o=0));a>=8;e[n+f]=255&s,f+=p,s/=256,a-=8);for(o=o<0;e[n+f]=255&o,f+=p,o/=256,u-=8);e[n+f-p]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t,r){!function(){var a=("undefined"==typeof window?t:window)||{};_crypto=a.crypto||a.msCrypto||n(13),e.exports=function(e){if(_crypto.getRandomValues){var t=new r(e);return _crypto.getRandomValues(t),t}if(_crypto.randomBytes)return _crypto.randomBytes(e);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(t,function(){return this}(),n(8).Buffer)},function(e,t){},function(e,t,n){(function(t){function r(e){return function(){var n=[],r={update:function(e,r){return t.isBuffer(e)||(e=new t(e,r)),n.push(e),this},digest:function(r){var a=t.concat(n),i=e(a);return n=null,r?i.toString(r):i}};return r}}var a=n(15),i=r(n(23)),o=r(n(25));e.exports=function(e){return"md5"===e?new i:"rmd160"===e?new o:a(e)}}).call(t,n(8).Buffer)},function(e,t,n){var t=e.exports=function(e){var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n},r=n(8).Buffer,a=n(16)(r);t.sha1=n(17)(r,a),t.sha256=n(21)(r,a),t.sha512=n(22)(r,a)},function(e,t){e.exports=function(e){function t(t,n){this._block=new e(t),this._finalSize=n,this._blockSize=t,this._len=0,this._s=0}return t.prototype.init=function(){this._s=0,this._len=0},t.prototype.update=function(t,n){"string"==typeof t&&(n=n||"utf8",t=new e(t,n));for(var r=this._len+=t.length,a=this._s=this._s||0,i=0,o=this._block;a=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var n=this._update(this._block)||this._hash();return e?n.toString(e):n},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t}},function(e,t,n){var r=n(18).inherits;e.exports=function(e,t){function n(){return p.length?p.pop().init():this instanceof n?(this._w=f,t.call(this,64,56),this._h=null,void this.init()):new n}function a(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function i(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function o(e,t){return e+t|0}function s(e,t){return e<>>32-t}var c=0,u=4,_=8,l=12,d=16,f=new("undefined"==typeof Int32Array?Array:Int32Array)(80),p=[];return r(n,t),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,t.prototype.init.call(this),this},n.prototype._POOL=p,n.prototype._update=function(e){var t,n,r,c,u,_,l,d,f,p;t=_=this._a,n=l=this._b,r=d=this._c,c=f=this._d,u=p=this._e;for(var m=this._w,g=0;g<80;g++){var y=m[g]=g<16?e.readInt32BE(4*g):s(m[g-3]^m[g-8]^m[g-14]^m[g-16],1),h=o(o(s(t,5),a(g,n,r,c)),o(o(u,y),i(g)));u=c,c=r,r=s(n,30),n=t,t=h}this._a=o(t,_),this._b=o(n,l),this._c=o(r,d),this._d=o(c,f),this._e=o(u,p)},n.prototype._hash=function(){p.length<100&&p.push(this);var t=new e(20);return t.writeInt32BE(0|this._a,c),t.writeInt32BE(0|this._b,u),t.writeInt32BE(0|this._c,_),t.writeInt32BE(0|this._d,l),t.writeInt32BE(0|this._e,d),t},n}},function(e,t,n){(function(e,r){function a(e,n){var r={seen:[],stylize:o};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),k(r.showHidden)&&(r.showHidden=!1),k(r.depth)&&(r.depth=2),k(r.colors)&&(r.colors=!1),k(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),c(r,e,r.depth)}function i(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function o(e,t){return e}function s(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function c(e,n,r){if(e.customInspect&&n&&E(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var a=n.inspect(r,e);return v(a)||(a=c(e,a,r)),a}var i=u(e,n);if(i)return i;var o=Object.keys(n),m=s(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),C(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return _(n);if(0===o.length){if(E(n)){var g=n.name?": "+n.name:"";return e.stylize("[Function"+g+"]","special")}if(x(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(D(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return _(n)}var y="",h=!1,b=["{","}"];if(p(n)&&(h=!0,b=["[","]"]),E(n)){var k=n.name?": "+n.name:"";y=" [Function"+k+"]"}if(x(n)&&(y=" "+RegExp.prototype.toString.call(n)),D(n)&&(y=" "+Date.prototype.toUTCString.call(n)),C(n)&&(y=" "+_(n)),0===o.length&&(!h||0==n.length))return b[0]+y+b[1];if(r<0)return x(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var S;return S=h?l(e,n,r,m,o):o.map(function(t){return d(e,n,r,m,t,h)}),e.seen.pop(),f(S,y,b)}function u(e,t){if(k(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return h(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function _(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,n,r,a){for(var i=[],o=0,s=t.length;o-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),k(o)){if(i&&a.match(/^\d+$/))return s;o=JSON.stringify(""+a),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function f(e,t,n){var r=0,a=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function p(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return null==e}function h(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function k(e){return void 0===e}function x(e){return S(e)&&"[object RegExp]"===w(e)}function S(e){return"object"==typeof e&&null!==e}function D(e){return S(e)&&"[object Date]"===w(e)}function C(e){return S(e)&&("[object Error]"===w(e)||e instanceof Error)}function E(e){return"function"==typeof e}function T(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function w(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}function A(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var O=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n>>t|e<<32-t}function i(e,t){return e>>>t}function o(e,t,n){return e&t^~e&n}function s(e,t,n){return e&t^e&n^t&n}function c(e){return a(e,2)^a(e,13)^a(e,22)}function u(e){return a(e,6)^a(e,11)^a(e,25)}function _(e){return a(e,7)^a(e,18)^i(e,3)}function l(e){return a(e,17)^a(e,19)^i(e,10)}var d=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=new Array(64);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,a,i,f,p,m,g,y,h=this._w;t=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,i=0|this._e,f=0|this._f,p=0|this._g,m=0|this._h;for(var v=0;v<64;v++){var b=h[v]=v<16?e.readInt32BE(4*v):l(h[v-2])+h[v-7]+_(h[v-15])+h[v-16];g=m+u(i)+o(i,f,p)+d[v]+b,y=c(t)+s(t,n,r),m=p,p=f,f=i,i=a+g,a=r,r=n,n=t,t=g+y}this._a=t+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=i+this._e|0,this._f=f+this._f|0,this._g=p+this._g|0,this._h=m+this._h|0},n.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},n}},function(e,t,n){var r=n(18).inherits;e.exports=function(e,t){function n(){this.init(),this._w=c,t.call(this,128,112)}function a(e,t,n){return e>>>n|t<<32-n}function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}var s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,c,u,_,l,d,f,p,m,g,y,h,v,b,k=this._w;t=0|this._a,n=0|this._b,r=0|this._c,c=0|this._d,u=0|this._e,_=0|this._f,l=0|this._g,d=0|this._h,f=0|this._al,p=0|this._bl,m=0|this._cl,g=0|this._dl,y=0|this._el,h=0|this._fl,v=0|this._gl,b=0|this._hl;for(var x=0;x<80;x++){var S,D,C=2*x;if(x<16)S=k[C]=e.readInt32BE(4*C),D=k[C+1]=e.readInt32BE(4*C+4);else{var E=k[C-30],T=k[C-30+1],w=a(E,T,1)^a(E,T,8)^E>>>7,N=a(T,E,1)^a(T,E,8)^a(T,E,7);E=k[C-4],T=k[C-4+1];var A=a(E,T,19)^a(T,E,29)^E>>>6,P=a(T,E,19)^a(E,T,29)^a(T,E,6),O=k[C-14],F=k[C-14+1],R=k[C-32],I=k[C-32+1];D=N+F,S=w+O+(D>>>0>>0?1:0),D+=P,S=S+A+(D>>>0

>>0?1:0),D+=I,S=S+R+(D>>>0>>0?1:0),k[C]=S,k[C+1]=D}var L=o(t,n,r),M=o(f,p,m),B=a(t,f,28)^a(f,t,2)^a(f,t,7),j=a(f,t,28)^a(t,f,2)^a(t,f,7),z=a(u,y,14)^a(u,y,18)^a(y,u,9),K=a(y,u,14)^a(y,u,18)^a(u,y,9),J=s[C],U=s[C+1],V=i(u,_,l),q=i(y,h,v),W=b+K,H=d+z+(W>>>0>>0?1:0);W+=q,H=H+V+(W>>>0>>0?1:0),W+=U,H=H+J+(W>>>0>>0?1:0),W+=D,H=H+S+(W>>>0>>0?1:0);var G=j+M,X=B+L+(G>>>0>>0?1:0);d=l,b=v,l=_,v=h,_=u,h=y,y=g+W|0,u=c+H+(y>>>0>>0?1:0)|0,c=r,g=m,r=n,m=p,n=t,p=f,f=W+G|0,t=H+X+(f>>>0>>0?1:0)|0}this._al=this._al+f|0,this._bl=this._bl+p|0,this._cl=this._cl+m|0,this._dl=this._dl+g|0,this._el=this._el+y|0,this._fl=this._fl+h|0,this._gl=this._gl+v|0,this._hl=this._hl+b|0,this._a=this._a+t+(this._al>>>0>>0?1:0)|0,this._b=this._b+n+(this._bl>>>0

>>0?1:0)|0,this._c=this._c+r+(this._cl>>>0>>0?1:0)|0,this._d=this._d+c+(this._dl>>>0>>0?1:0)|0,this._e=this._e+u+(this._el>>>0>>0?1:0)|0,this._f=this._f+_+(this._fl>>>0>>0?1:0)|0,this._g=this._g+l+(this._gl>>>0>>0?1:0)|0,this._h=this._h+d+(this._hl>>>0>>0?1:0)|0},n.prototype._hash=function(){function t(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}var n=new e(64);return t(this._a,this._al,0),t(this._b,this._bl,8),t(this._c,this._cl,16),t(this._d,this._dl,24),t(this._e,this._el,32),t(this._f,this._fl,40),t(this._g,this._gl,48),t(this._h,this._hl,56),n},n}},function(e,t,n){function r(e,t){e[t>>5]|=128<>>9<<4)+14]=t;for(var n=1732584193,r=-271733879,a=-1732584194,_=271733878,l=0;l>16)+(t>>16)+(n>>16);return r<<16|65535&n}function _(e,t){return e<>>32-t}var l=n(24);e.exports=function(e){return l.hash(e,r,16)}},function(e,t,n){(function(t){function n(e,n){if(e.length%i!==0){var r=e.length+(i-e.length%i);e=t.concat([e,o],r)}for(var a=[],s=n?e.readInt32BE:e.readInt32LE,c=0;c>>32-t}function c(e){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof e&&(e=new t(e,"utf8"));var r=m(e),a=8*e.length,i=8*e.length;r[a>>>5]|=128<<24-a%32,r[(a+64>>>9<<4)+14]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);for(var o=0;o>>24)|4278255360&(s<<24|s>>>8)}var c=g(n);return new t(c)}e.exports=c;var u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0],m=function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},g=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},y=function(e,t,c){for(var m=0;m<16;m++){var g=c+m,y=t[g];t[g]=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8)}var h,v,b,k,x,S,D,C,E,T;S=h=e[0],D=v=e[1],C=b=e[2],E=k=e[3],T=x=e[4];for(var w,m=0;m<80;m+=1)w=h+t[c+u[m]]|0,w+=m<16?n(v,b,k)+f[0]:m<32?r(v,b,k)+f[1]:m<48?a(v,b,k)+f[2]:m<64?i(v,b,k)+f[3]:o(v,b,k)+f[4],w|=0,w=s(w,l[m]),w=w+x|0,h=x,x=k,k=s(b,10),b=v,v=w,w=S+t[c+_[m]]|0,w+=m<16?o(D,C,E)+p[0]:m<32?i(D,C,E)+p[1]:m<48?a(D,C,E)+p[2]:m<64?r(D,C,E)+p[3]:n(D,C,E)+p[4],w|=0,w=s(w,d[m]),w=w+T|0,S=T,T=E,E=s(C,10),C=D,D=w;w=e[1]+b+E|0,e[1]=e[2]+k+T|0,e[2]=e[3]+x+S|0,e[3]=e[4]+h+D|0,e[4]=e[0]+v+C|0,e[0]=w}}).call(t,n(8).Buffer)},function(e,t,n){(function(t){function r(e,n){if(!(this instanceof r))return new r(e,n);this._opad=c,this._alg=e;var o="sha512"===e?128:64;n=this._key=t.isBuffer(n)?n:new t(n),n.length>o?n=a(e).update(n).digest():n.length(Math.pow(2,32)-1)*s))throw new TypeError("keylen exceeds maximum length");p.copy(u,0,0,s);for(var m=1;m15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},a.prototype.flush=function(){for(var e=16-this.cache.length,n=new t(e),r=-1;++rs||e<0?(n=Math.abs(e)%s,e<0?s-n:n):e}function r(e){var t,n,r;for(t=n=0,r=e.length;0<=r?nr;t=0<=r?++n:--n)e[t]=0;return!1}function a(){var e;this.SBOX=[],this.INV_SBOX=[],this.SUB_MIX=function(){var t,n;for(n=[],e=t=0;t<4;e=++t)n.push([]);return n}(),this.INV_SUB_MIX=function(){var t,n;for(n=[],e=t=0;t<4;e=++t)n.push([]);return n}(),this.init(),this.RCON=[0,1,2,4,8,16,32,64,128,27,54]}function i(e){for(var t=e.length/4,n=new Array(t),r=-1;++r>>8^255&n^99,this.SBOX[a]=n,this.INV_SBOX[n]=a,i=e[a],o=e[i],s=e[o],r=257*e[n]^16843008*n,this.SUB_MIX[0][a]=r<<24|r>>>8,this.SUB_MIX[1][a]=r<<16|r>>>16,this.SUB_MIX[2][a]=r<<8|r>>>24,this.SUB_MIX[3][a]=r,r=16843009*s^65537*o^257*i^16843008*a,this.INV_SUB_MIX[0][n]=r<<24|r>>>8,this.INV_SUB_MIX[1][n]=r<<16|r>>>16,this.INV_SUB_MIX[2][n]=r<<8|r>>>24,this.INV_SUB_MIX[3][n]=r,0===a?a=c=1:(a=i^e[e[e[s^i]]],c^=e[e[c]]);return!0};var c=new a;o.blockSize=16,o.prototype.blockSize=o.blockSize,o.keySize=32,o.prototype.keySize=o.keySize,o.ivSize=o.blockSize,o.prototype.ivSize=o.ivSize,o.prototype._doReset=function(){var e,t,n,r,a,i,o,s;for(n=this._key,t=n.length,this._nRounds=t+6,a=4*(this._nRounds+1),this._keySchedule=[],r=o=0;0<=a?oa;r=0<=a?++o:--o)this._keySchedule[r]=r>>24,i=c.SBOX[i>>>24]<<24|c.SBOX[i>>>16&255]<<16|c.SBOX[i>>>8&255]<<8|c.SBOX[255&i],i^=c.RCON[r/t|0]<<24):t>6&&r%t===4?i=c.SBOX[i>>>24]<<24|c.SBOX[i>>>16&255]<<16|c.SBOX[i>>>8&255]<<8|c.SBOX[255&i]:void 0,this._keySchedule[r-t]^i);for(this._invKeySchedule=[],e=s=0;0<=a?sa;e=0<=a?++s:--s)r=a-e,i=this._keySchedule[r-(e%4?0:4)],this._invKeySchedule[e]=e<4||r<=4?i:c.INV_SUB_MIX[0][c.SBOX[i>>>24]]^c.INV_SUB_MIX[1][c.SBOX[i>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[i>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&i]];return!0},o.prototype.encryptBlock=function(t){t=i(new e(t));var n=this._doCryptBlock(t,this._keySchedule,c.SUB_MIX,c.SBOX),r=new e(16);return r.writeUInt32BE(n[0],0),r.writeUInt32BE(n[1],4),r.writeUInt32BE(n[2],8),r.writeUInt32BE(n[3],12),r},o.prototype.decryptBlock=function(t){t=i(new e(t));var n=[t[3],t[1]];t[1]=n[0],t[3]=n[1];var r=this._doCryptBlock(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX),a=new e(16);return a.writeUInt32BE(r[0],0),a.writeUInt32BE(r[3],4),a.writeUInt32BE(r[2],8),a.writeUInt32BE(r[1],12),a},o.prototype.scrub=function(){r(this._keySchedule),r(this._invKeySchedule),r(this._key)},o.prototype._doCryptBlock=function(e,t,r,a){var i,o,s,c,u,_,l,d,f,p,m,g;for(s=e[0]^t[0],c=e[1]^t[1],u=e[2]^t[2],_=e[3]^t[3],i=4,o=m=1,g=this._nRounds;1<=g?mg;o=1<=g?++m:--m)l=r[0][s>>>24]^r[1][c>>>16&255]^r[2][u>>>8&255]^r[3][255&_]^t[i++],d=r[0][c>>>24]^r[1][u>>>16&255]^r[2][_>>>8&255]^r[3][255&s]^t[i++],f=r[0][u>>>24]^r[1][_>>>16&255]^r[2][s>>>8&255]^r[3][255&c]^t[i++],p=r[0][_>>>24]^r[1][s>>>16&255]^r[2][c>>>8&255]^r[3][255&u]^t[i++],s=l,c=d,u=f,_=p;return l=(a[s>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&_])^t[i++],d=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[_>>>8&255]<<8|a[255&s])^t[i++],f=(a[u>>>24]<<24|a[_>>>16&255]<<16|a[s>>>8&255]<<8|a[255&c])^t[i++],p=(a[_>>>24]<<24|a[s>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^t[i++],[n(l),n(d),n(f),n(p)]},t.AES=o}).call(t,n(8).Buffer)},function(e,t,n){(function(t){function r(){a.call(this)}var a=n(33).Transform,i=n(35);e.exports=r,i(r,a),r.prototype.update=function(e,n,r){this.write(e,n);for(var a,i=new t("");a=this.read();)i=t.concat([i,a]);return r&&(i=i.toString(r)),i},r.prototype.final=function(e){this.end();for(var n,r=new t("");n=this.read();)r=t.concat([r,n]);return e&&(r=r.toString(e)),r}}).call(t,n(8).Buffer)},function(e,t,n){function r(){a.call(this)}e.exports=r;var a=n(34).EventEmitter,i=n(35);i(r,a),r.Readable=n(36),r.Writable=n(51),r.Duplex=n(52),r.Transform=n(53),r.PassThrough=n(54),r.Stream=r,r.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){_||(_=!0,e.end())}function o(){_||(_=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(c(),0===a.listenerCount(this,"error"))throw e}function c(){u.removeListener("data",n),e.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",o),u.removeListener("error",s),e.removeListener("error",s),u.removeListener("end",c),u.removeListener("close",c),e.removeListener("close",c)}var u=this;u.on("data",n),e.on("drain",r),e._isStdio||t&&t.end===!1||(u.on("end",i),u.on("close",o));var _=!1;return u.on("error",s),e.on("error",s),u.on("end",c),u.on("close",c),e.on("close",c),e.emit("pipe",u),e}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function a(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!a(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,a,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var _=new Error('Uncaught, unspecified "error" event. ('+t+")");throw _.context=t,_}if(n=this._events[e],o(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(i(n))for(s=Array.prototype.slice.call(arguments,1),u=n.slice(),a=u.length,c=0;c0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),a||(a=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var a=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,a,o,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,a=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){a=s;break}if(a<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(r){var a=function(){try{return n(33)}catch(e){}}();t=e.exports=n(37),t.Stream=a||t,t.Readable=t,t.Writable=n(44),t.Duplex=n(43),t.Transform=n(49),t.PassThrough=n(50),!r.browser&&"disable"===r.env.READABLE_STREAM&&a&&(e.exports=a)}).call(t,n(3))},function(e,t,n){(function(t){"use strict";function r(e,t,n){return"function"==typeof e.prependListener?e.prependListener(t,n):void(e._events&&e._events[t]?P(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n))}function a(e,t){N=N||n(43),e=e||{},this.objectMode=!!e.objectMode,t instanceof N&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,a=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:a,this.highWaterMark=~~this.highWaterMark,this.buffer=new z,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(j||(j=n(48).StringDecoder),this.decoder=new j(e.encoding),this.encoding=e.encoding)}function i(e){return N=N||n(43),this instanceof i?(this._readableState=new a(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),void O.call(this)):new i(e)}function o(e,t,n,r,a){var i=_(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,l(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!a){var o=new Error("stream.push() after EOF");e.emit("error",o)}else if(t.endEmitted&&a){var c=new Error("stream.unshift() after end event");e.emit("error",c)}else{var u;!t.decoder||a||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),a||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,a?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&d(e))),p(e,t)}else a||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length=K?e=K:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function u(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=c(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e,t){var n=null;return R.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function l(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,d(e)}}function d(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(B("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?A(f,e):f(e))}function f(e){B("emit readable"),e.emit("readable"),b(e)}function p(e,t){t.readingMore||(t.readingMore=!0,A(m,e,t))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=x(e,t.buffer,t.decoder),n}function x(e,t,n){var r;return ei.length?i.length:e;if(a+=o===i.length?i:i.slice(0,e),e-=o,0===e){o===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++r}return t.length-=r,a}function D(e,t){var n=I.allocUnsafe(e),r=t.head,a=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,o),e-=o,0===e){o===i.length?(++a,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(o));break}++a}return t.length-=a,n}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,A(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function T(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return B("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):d(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&C(this),null;var r=t.needReadable;B("need readable",r),(0===t.length||t.length-e0?k(e,t):null,null===a?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&C(this)),null!==a&&this.emit("data",a),a},i.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(e,n){function a(e){B("onunpipe"),e===d&&o()}function i(){B("onend"),e.end()}function o(){B("cleanup"),e.removeListener("close",u),e.removeListener("finish",_),e.removeListener("drain",y),e.removeListener("error",c),e.removeListener("unpipe",a),d.removeListener("end",i),d.removeListener("end",o),d.removeListener("data",s),h=!0,!f.awaitDrain||e._writableState&&!e._writableState.needDrain||y()}function s(t){B("ondata"),v=!1;var n=e.write(t);!1!==n||v||((1===f.pipesCount&&f.pipes===e||f.pipesCount>1&&w(f.pipes,e)!==-1)&&!h&&(B("false write response, pause",d._readableState.awaitDrain),d._readableState.awaitDrain++,v=!0),d.pause())}function c(t){B("onerror",t),l(),e.removeListener("error",c),0===F(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",_),l()}function _(){B("onfinish"),e.removeListener("close",u),l()}function l(){B("unpipe"),d.unpipe(e)}var d=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=e;break;case 1:f.pipes=[f.pipes,e];break;default:f.pipes.push(e)}f.pipesCount+=1,B("pipe count=%d opts=%j",f.pipesCount,n);var p=(!n||n.end!==!1)&&e!==t.stdout&&e!==t.stderr,m=p?i:o;f.endEmitted?A(m):d.once("end",m),e.on("unpipe",a);var y=g(d);e.on("drain",y);var h=!1,v=!1;return d.on("data",s),r(e,"error",c),e.once("close",u),e.once("finish",_),e.emit("pipe",d),f.flowing||(B("pipe resume"),d.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;ao)throw new RangeError("size is too large");var r=n,i=t;void 0===i&&(r=void 0,i=0);var s=new a(e);if("string"==typeof i)for(var c=new a(i,r),u=c.length,_=-1;++_o)throw new RangeError("size is too large");return new a(e)},t.from=function(t,n,r){if("function"==typeof a.from&&(!e.Uint8Array||Uint8Array.from!==a.from))return a.from(t,n,r);if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("string"==typeof t)return new a(t,n);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var i=n;if(1===arguments.length)return new a(t);"undefined"==typeof i&&(i=0);var o=r;if("undefined"==typeof o&&(o=t.byteLength-i),i>=t.byteLength)throw new RangeError("'offset' is out of bounds");if(o>t.byteLength-i)throw new RangeError("'length' is out of bounds");return new a(t.slice(i,i+o))}if(a.isBuffer(t)){var s=new a(t.length);return t.copy(s,0,0,t.length),s}if(t){if(Array.isArray(t)||"undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return new a(t);if("Buffer"===t.type&&Array.isArray(t.data))return new a(t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},t.allocUnsafeSlow=function(e){if("function"==typeof a.allocUnsafeSlow)return a.allocUnsafeSlow(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>=o)throw new RangeError("size is too large");return new i(e)}}).call(t,function(){return this}())},function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function a(e){return null===e}function i(e){return null==e}function o(e){return"number"==typeof e}function s(e){return"string"==typeof e}function c(e){return"symbol"==typeof e}function u(e){return void 0===e}function _(e){return"[object RegExp]"===g(e)}function l(e){return"object"==typeof e&&null!==e}function d(e){return"[object Date]"===g(e)}function f(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=a,t.isNullOrUndefined=i,t.isNumber=o,t.isString=s,t.isSymbol=c,t.isUndefined=u,t.isRegExp=_,t.isObject=l,t.isDate=d,t.isError=f,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(t,n(8).Buffer)},function(e,t){},function(e,t,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}var a=(n(8).Buffer,n(39));e.exports=r,r.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},r.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},r.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},r.prototype.concat=function(e){if(0===this.length)return a.alloc(0);if(1===this.length)return this.head.data;for(var t=a.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t}},function(e,t,n){"use strict";function r(e){return this instanceof r?(u.call(this,e),_.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",a)):new r(e)}function a(){this.allowHalfOpen||this._writableState.ended||s(i,this)}function i(e){e.end()}var o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var s=n(38),c=n(40);c.inherits=n(35);var u=n(37),_=n(44);c.inherits(r,u);for(var l=o(_.prototype),d=0;d-1?r:C;s.WritableState=o;var T=n(40);T.inherits=n(35);var w,N={deprecate:n(47)};!function(){try{w=n(33)}catch(e){}finally{w||(w=n(34).EventEmitter)}}();var A=n(8).Buffer,P=n(39);T.inherits(s,w),o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,"buffer",{get:N.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var O;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(O=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(e){return!!O.call(this,e)||e&&e._writableState instanceof o}})):O=function(e){return e instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),A.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=a),r.ended?c(this,n):u(this,r,e,n)&&(r.pendingcb++,i=l(this,r,e,t,n)),i},s.prototype.cork=function(){var e=this._writableState;e.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||h(this,e))},s.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},s.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||x(this,r,n)}}).call(t,n(3),n(45).setImmediate)},function(e,t,n){function r(e,t){ -this._id=e,this._clearFn=t}var a=Function.prototype.apply;t.setTimeout=function(){return new r(a.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(a.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(46),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,a),a-=this.charReceived),t+=e.toString(this.encoding,0,a);var a=t.length-1,r=t.charCodeAt(a);if(r>=55296&&r<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,a)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,a=this.encoding;t+=r.slice(0,n).toString(a)}return t}},function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return a(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function a(e,t,n){var r=e._transformState;r.transforming=!1;var a=r.writecb;if(!a)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),a(t);var i=e._readableState;i.reading=!1,(i.needReadable||i.length0&&i.update(o),i.update(n),o=i.digest(),s=0,r>0)for(;;){if(0===r)break;if(s===o.length)break;_[c++]=o[s],r--,s++}if(a>0&&s!==o.length)for(;;){if(0===a)break;if(s===o.length)break;l[u++]=o[s],a--,s++}if(0===r&&0===a)break}for(s=0;s16){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},a.prototype.flush=function(){if(this.cache.length)return this.cache};var d={ECB:n(58),CBC:n(59),CFB:n(61),OFB:n(62),CTR:n(63)};e.exports=function(e){function n(e,n,a){var i=u[e];if(!i)throw new TypeError("invalid suite type");if("string"==typeof a&&(a=new t(a)),"string"==typeof n&&(n=new t(n)),n.length!==i.key/8)throw new TypeError("invalid key length "+n.length);if(a.length!==i.iv)throw new TypeError("invalid iv length "+a.length);return"stream"===i.type?new _(d[i.mode],n,a,!0):new r(d[i.mode],n,a)}function a(t,r){var a=u[t];if(!a)throw new TypeError("invalid suite type");var i=l(e,r,a.key,a.iv);return n(t,i.key,i.iv)}return{createDecipher:a,createDecipheriv:n}}}).call(t,n(8).Buffer)},function(e,t,n){var r,a;(function(){function n(e){function t(t,n,r,a,i,o){for(;i>=0&&i0?0:s-1;return arguments.length<3&&(a=n[o?o[c]:c],c+=e),t(n,r,a,o,c,s)}}function i(e){return function(t,n,r){n=D(n,r);for(var a=N(t),i=e>0?0:a-1;i>=0&&i0?o=i>=0?i:Math.max(i+s,o):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return i=n(r,a),r[i]===a?i:-1;if(a!==a)return i=t(p.call(r,o,s),x.isNaN),i>=0?i+o:-1;for(i=e>0?o:s-1;i>=0&&i=0&&t<=w};x.each=x.forEach=function(e,t,n){t=S(t,n);var r,a;if(A(e))for(r=0,a=e.length;r=0},x.invoke=function(e,t){var n=p.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){var a=r?t:e[t];return null==a?a:a.apply(e,n)})},x.pluck=function(e,t){return x.map(e,x.property(t))},x.where=function(e,t){return x.filter(e,x.matcher(t))},x.findWhere=function(e,t){return x.find(e,x.matcher(t))},x.max=function(e,t,n){var r,a,i=-(1/0),o=-(1/0);if(null==t&&null!=e){e=A(e)?e:x.values(e);for(var s=0,c=e.length;si&&(i=r)}else t=D(t,n),x.each(e,function(e,n,r){a=t(e,n,r),(a>o||a===-(1/0)&&i===-(1/0))&&(i=e,o=a)});return i},x.min=function(e,t,n){var r,a,i=1/0,o=1/0;if(null==t&&null!=e){e=A(e)?e:x.values(e);for(var s=0,c=e.length;sr||void 0===n)return 1;if(nt?(o&&(clearTimeout(o),o=null),s=u,i=e.apply(r,a),o||(r=a=null)):o||n.trailing===!1||(o=setTimeout(c,_)),i}},x.debounce=function(e,t,n){var r,a,i,o,s,c=function(){var u=x.now()-o;u=0?r=setTimeout(c,t-u):(r=null,n||(s=e.apply(i,a),r||(i=a=null)))};return function(){i=this,a=arguments,o=x.now();var u=n&&!r;return r||(r=setTimeout(c,t)),u&&(s=e.apply(i,a),i=a=null),s}},x.wrap=function(e,t){return x.partial(t,e)},x.negate=function(e){return function(){return!e.apply(this,arguments)}},x.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},x.once=x.partial(x.before,2);var R=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];x.keys=function(e){if(!x.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)x.has(e,n)&&t.push(n);return R&&s(e,t),t},x.allKeys=function(e){if(!x.isObject(e))return[];var t=[];for(var n in e)t.push(n);return R&&s(e,t),t},x.values=function(e){for(var t=x.keys(e),n=t.length,r=Array(n),a=0;a":">",'"':""","'":"'","`":"`"},B=x.invert(M),j=function(e){var t=function(t){return e[t]},n="(?:"+x.keys(e).join("|")+")",r=RegExp(n),a=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(a,t):e}};x.escape=j(M),x.unescape=j(B),x.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),x.isFunction(r)?r.call(e):r};var z=0;x.uniqueId=function(e){var t=++z+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},U=/\\|'|\r|\n|\u2028|\u2029/g,V=function(e){return"\\"+J[e]};x.template=function(e,t,n){!t&&n&&(t=n),t=x.defaults({},t,x.templateSettings);var r=RegExp([(t.escape||K).source,(t.interpolate||K).source,(t.evaluate||K).source].join("|")+"|$","g"),a=0,i="__p+='";e.replace(r,function(t,n,r,o,s){return i+=e.slice(a,s).replace(U,V),a=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t}),i+="';\n",t.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{var o=new Function(t.variable||"obj","_",i)}catch(e){throw e.source=i,e}var s=function(e){return o.call(this,e,x)},c=t.variable||"obj";return s.source="function("+c+"){\n"+i+"}",s},x.chain=function(e){var t=x(e);return t._chain=!0,t};var q=function(e,t){return e._chain?x(t).chain():t};x.mixin=function(e){x.each(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return f.apply(e,arguments),q(this,n.apply(x,e))}})},x.mixin(x),x.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=_[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],q(this,n)}}),x.each(["concat","join","slice"],function(e){var t=_[e];x.prototype[e]=function(){return q(this,t.apply(this._wrapped,arguments))}}),x.prototype.value=function(){return this._wrapped},x.prototype.valueOf=x.prototype.toJSON=x.prototype.value,x.prototype.toString=function(){return""+this._wrapped},r=[],a=function(){return x}.apply(t,r),!(void 0!==a&&(e.exports=a))}).call(this)},function(e,t){"use strict";function n(e){return/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function r(e){return n(e)&&t.reservedWords.indexOf(e)<0}function a(e){return n(e)?e:JSON.stringify(e)}function i(e,t){throw new Error(t)}function o(e,t){function n(){return j.reduce(function(e,t){return e|t},0)}function o(){for(var e=0;e"),h(e.returnType)}function k(e){g(e),r(e.name)||(_("/* Illegal function name '"+e.name+"' can't be used here"),p()),f("function "+e.name+"(",e.flags),S(e.parameters,", ",x),u("): "),h(e.returnType),u(";"),p(),r(e.name)||(_("*/"),p())}function x(e){u(""+(e.flags&c.Rest?"...":"")+e.name+(e.flags&c.Optional?"?":"")+": "),h(e.type)}function S(e,t,n){for(var r=!0,a=0,i=e;a"),T()})),B(e),T(),m;function h(){return v.reduce((function(e,t){return e|t}),a.None)}function b(){for(var e=0;e")}(t.typeArguments);break;case"array":k(t.type)&&x("("),P(t.type),k(t.type)&&x(")"),x("[]");break;case"object":A(t.members);break;case"string-literal":x(JSON.stringify(t.value));break;case"number-literal":isNaN(t.value)?x("typeof NaN"):isFinite(t.value)?x(t.value.toString()):x("typeof Infinity");break;case"function-type":w((r=t).typeParameters),x("("),O(r.parameters,", ",I),x(")"),x("=>"),P(r.returnType);break;case"union":O(t.members," | ",F);break;case"intersection":O(t.members," & ",F);break;case"typeof":x("typeof "),P(t.type);break;default:throw new Error("Unknown kind "+e.kind)}}var r}function w(e){if(0!==e.length){x("<");for(var t=!0,r=0,n=e;r")}}function I(e){var t=e.flags||n.None;x((t&i.Rest?"...":"")+e.name+(t&i.Optional?"?":"")+": "),P(e.type)}function O(e,t,r){for(var n=!0,i=0,a=e;itsguess Browser Type Guesser\n\t\t

\n
\n \n \n
\n\t\t
\n\t\t \n \n\t',window.setTimeout((function(){var button=document.getElementById("tsguess-generate"),input=document.getElementById("tsguess-input"),output=document.getElementById("tsguess-output");button.addEventListener("click",(function(){output.value=guess.generateIdentifierDeclarationFile(input.value,eval(input.value))})),window.infer=function(e){input.value=e,button.click()}}),10),document.body.appendChild(displayWindow)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(0),a=r(3),o=r(4),s={Date:Date,RegExp:RegExp,Map:"undefined"!=typeof Map?Map:void 0,HTMLElement:"undefined"!=typeof HTMLElement?HTMLElement:void 0};function c(e){return"object"==typeof e?4:"string"==typeof e||"number"==typeof e||"boolean"==typeof e?8:null==e?16:"function"==typeof e?d(e)?1|(_(t=e).some((function(e){return d(t[e])}))?4:0):2|(_(e).some((function(e){return void 0===Function[e]}))?4:0):32;var t}t.generateModuleDeclarationFile=function(e,t){var r,i=(r=e,a.escapeModuleName(r.replace(/-/g,"_"))),o=f(i,t);if(1===o.length&&"namespace"===o[0].kind){for(var s=o[0].members,c=0,u=s;c1)}var p=[];function f(e,t){if(u.has(t)||p.length>4){var r=i.create.const(e,n.type.any);return r.comment=(u.has(t)?"Circular reference":"Too-deep object hierarchy")+" from "+p.join("."),[r]}if(!function(e){if(0===e.length)return!1;if(!o.isIdentifierStart(e.charCodeAt(0),o.ScriptTarget.Latest))return!1;for(var t=1;t0?[r,o]:[r]}if("object"==typeof t){var D=g(t);if("string"==typeof D||"name"===D.kind||"array"===D.kind){var S=n.create.const(e,D);if("string"===D){var C='"'+D.substr(0,100)+(D.length>100?"...":"")+'"';S.comment="Value of string: "+C}return[S]}p=_(t);for(var T=0,k=0,E=p;k0?i.create.array(g(e[0])):i.create.array(n.type.any);var r=typeof e;switch(r){case"string":case"number":case"boolean":return r;case"undefined":return n.type.any;case"object":if(null===e)return n.type.any;u.add(e);var a=function(e){u.add(e);var t=_(e).map((function(t){if(u.has(e[t]))return i.create.property(t,n.type.any);return i.create.property(t,g(e[t]))}));return u.delete(e),t}(e);return u.delete(e),a.sort(m),n.create.objectType(a);default:return n.type.any}}function m(e,t){return e.kind===t.kind?e.name>t.name?1:e.namet.kind?1:e.kind0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeModuleName=function(e){return 0===e.indexOf("@")&&-1!==e.indexOf("/")&&(e=e.substr(1).replace("/","__")),e}},function(e,t,r){"use strict";(function(t,n,i,a){ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ +var o,s=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0;for(var r=0,n=e;r>1);switch(i(r(e[c]),t)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function m(e,t,r,n,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=void 0===n||n<0?0:n,s=void 0===i||o+i>a-1?a-1:o+i,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=r;o<=s;)c=t(c,e[o],o),o++;return c}}return r}e.emptyArray=[],e.createMap=t,e.createMapFromEntries=function(e){for(var r=t(),n=0,i=e;n=0;r--){var n=t(e[r],r);if(n)return n}},e.firstDefined=function(e,t){if(void 0!==e)for(var r=0;r=0;r--){var n=e[r];if(t(n,r))return n}},e.findIndex=function(e,t,r){for(var n=r||0;n=0;n--)if(t(e[n],n))return n;return-1},e.findMap=function(t,r){for(var n=0;n0&&e.Debug.assertGreaterThanOrEqual(n(r[o],r[o-1]),0);t:for(var s=a;as&&e.Debug.assertGreaterThanOrEqual(n(t[a],t[a-1]),0),n(r[o],t[a])){case-1:i.push(r[o]);continue e;case 0:continue e;case 1:continue t}}return i},e.sum=function(e,t){for(var r=0,n=0,i=e;nt?1:0}function O(e,t){return P(e,t)}e.toFileNameLowerCase=A,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var t;return function(){return e&&(t=e(),e=void 0),t}},e.compose=function(e,t,r,n,i){if(i){for(var a=[],o=0;o0?1:0}function i(e){var t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,r){return n(e,r,t)}}function a(e){return void 0!==e?o():function(e,r){return n(e,r,t)};function t(e,t){return e.localeCompare(t)}}function o(){return function(t,r){return n(t,r,e)};function e(e,r){return t(e.toUpperCase(),r.toUpperCase())||t(e,r)}function t(e,t){return et?1:0}}}();function B(e,t,r){for(var n=new Array(t.length+1),i=new Array(t.length+1),a=r+1,o=0;o<=t.length;o++)n[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=o>r?o-r:1,u=t.length>r+o?r+o:t.length;i[0]=o;for(var l=o,_=1;_r)return;var p=n;n=i,i=p}var f=n[t.length];return f>r?void 0:f}function j(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function J(e,t){for(var r=t;r=r.length+n.length&&K(t,r)&&j(t,n)}e.getUILocale=function(){return L},e.setUILocale=function(e){L!==e&&(L=e,M=void 0)},e.compareStringsCaseSensitiveUI=function(e,t){return(M||(M=R(L)))(e,t)},e.compareProperties=function(e,t,r,n){return e===t?0:void 0===e?-1:void 0===t?1:n(e[r],t[r])},e.compareBooleans=function(e,t){return w(e?1:0,t?1:0)},e.getSpellingSuggestion=function(t,r,n){for(var i,a=Math.min(2,Math.floor(.34*t.length)),o=Math.floor(.4*t.length)+1,s=!1,c=t.toLowerCase(),u=0,l=r;ui&&(i=c.prefix.length,n=s)}return n},e.startsWith=K,e.removePrefix=function(e,t){return K(e,t)?e.substr(t.length):e},e.tryRemovePrefix=function(e,t,r){return void 0===r&&(r=k),K(r(e),r(t))?e.substring(t.length):void 0},e.and=function(e,t){return function(r){return e(r)&&t(r)}},e.or=function(){for(var e=[],t=0;t=e}function n(e,t,r,a){e||(r&&(t+="\r\nVerbose Debug Information: "+("string"==typeof r?r:r())),i(t?"False expression: "+t:"False expression.",a||n))}function i(e,t){var r=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(r,t||i),r}function a(e,t){return null==e?i(t):e}function o(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var t=Function.prototype.toString.call(e),r=/^function\s+([\w\$]+)\s*\(/.exec(t);return r?r[1]:""}function s(t,r,n){void 0===t&&(t=0);var i=function(t){var r=[];for(var n in t){var i=t[n];"number"==typeof i&&r.push([i,n])}return e.stableSort(r,(function(t,r){return e.compareValues(t[0],r[0])}))}(r);if(0===t)return i.length>0&&0===i[0][0]?i[0][1]:"0";if(n){for(var a="",o=t,s=0,c=i;st)break;0!==l&&l&t&&(a=a+(a?"|":"")+_,o&=~l)}if(0===o)return a}else for(var d=0,p=i;d=t&&i("Expected "+e+" < "+t+". "+(r||""))},t.assertLessThanOrEqual=function(e,t){e>t&&i("Expected "+e+" <= "+t)},t.assertGreaterThanOrEqual=function(e,t){e= "+t)},t.fail=i,t.assertDefined=a,t.assertEachDefined=function(e,t){for(var r=0,n=e;r=0,"Invalid argument: major"),e.Debug.assert(i>=0,"Invalid argument: minor"),e.Debug.assert(a>=0,"Invalid argument: patch"),e.Debug.assert(!s||r.test(s),"Invalid argument: prerelease"),e.Debug.assert(!c||n.test(c),"Invalid argument: build"),this.major=t,this.minor=i,this.patch=a,this.prerelease=s?s.split("."):e.emptyArray,this.build=c?c.split("."):e.emptyArray}return t.tryParse=function(e){var r=o(e);if(r)return new t(r.major,r.minor,r.patch,r.prerelease,r.build)},t.prototype.compareTo=function(t){return this===t?0:void 0===t?1:e.compareValues(this.major,t.major)||e.compareValues(this.minor,t.minor)||e.compareValues(this.patch,t.patch)||function(t,r){if(t===r)return 0;if(0===t.length)return 0===r.length?0:1;if(0===r.length)return-1;for(var n=Math.min(t.length,r.length),a=0;a|>=|=)?\s*([a-z0-9-+.*]+)$/i;function p(e){for(var t=[],r=0,n=e.trim().split(c);r=",n.version)),y(i.major)||r.push(y(i.minor)?v("<",i.version.increment("major")):y(i.patch)?v("<",i.version.increment("minor")):v("<=",i.version)),!0)}function m(e,t,r){var n=f(t);if(!n)return!1;var i=n.version,o=n.major,s=n.minor,c=n.patch;if(y(o))"<"!==e&&">"!==e||r.push(v("<",a.zero));else switch(e){case"~":r.push(v(">=",i)),r.push(v("<",i.increment(y(s)?"major":"minor")));break;case"^":r.push(v(">=",i)),r.push(v("<",i.increment(i.major>0||y(s)?"major":i.minor>0||y(c)?"minor":"patch")));break;case"<":case">=":r.push(v(e,i));break;case"<=":case">":r.push(y(s)?v("<="===e?"<":">=",i.increment("major")):y(c)?v("<="===e?"<":">=",i.increment("minor")):v(e,i));break;case"=":case void 0:y(s)||y(c)?(r.push(v(">=",i)),r.push(v("<",i.increment(y(s)?"major":"minor")))):r.push(v("=",i));break;default:return!1}return!0}function y(e){return"*"===e||"x"===e||"X"===e}function v(e,t){return{operator:e,operand:t}}function h(e,t){for(var r=0,n=t;r":return i>0;case">=":return i>=0;case"=":return 0===i;default:return e.Debug.assertNever(r)}}function x(t){return e.map(t,D).join(" ")}function D(e){return""+e.operator+e.operand}}(p||(p={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.EqualsToken=62]="EqualsToken",e[e.PlusEqualsToken=63]="PlusEqualsToken",e[e.MinusEqualsToken=64]="MinusEqualsToken",e[e.AsteriskEqualsToken=65]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=66]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=67]="SlashEqualsToken",e[e.PercentEqualsToken=68]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=69]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=70]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=72]="AmpersandEqualsToken",e[e.BarEqualsToken=73]="BarEqualsToken",e[e.CaretEqualsToken=74]="CaretEqualsToken",e[e.Identifier=75]="Identifier",e[e.PrivateIdentifier=76]="PrivateIdentifier",e[e.BreakKeyword=77]="BreakKeyword",e[e.CaseKeyword=78]="CaseKeyword",e[e.CatchKeyword=79]="CatchKeyword",e[e.ClassKeyword=80]="ClassKeyword",e[e.ConstKeyword=81]="ConstKeyword",e[e.ContinueKeyword=82]="ContinueKeyword",e[e.DebuggerKeyword=83]="DebuggerKeyword",e[e.DefaultKeyword=84]="DefaultKeyword",e[e.DeleteKeyword=85]="DeleteKeyword",e[e.DoKeyword=86]="DoKeyword",e[e.ElseKeyword=87]="ElseKeyword",e[e.EnumKeyword=88]="EnumKeyword",e[e.ExportKeyword=89]="ExportKeyword",e[e.ExtendsKeyword=90]="ExtendsKeyword",e[e.FalseKeyword=91]="FalseKeyword",e[e.FinallyKeyword=92]="FinallyKeyword",e[e.ForKeyword=93]="ForKeyword",e[e.FunctionKeyword=94]="FunctionKeyword",e[e.IfKeyword=95]="IfKeyword",e[e.ImportKeyword=96]="ImportKeyword",e[e.InKeyword=97]="InKeyword",e[e.InstanceOfKeyword=98]="InstanceOfKeyword",e[e.NewKeyword=99]="NewKeyword",e[e.NullKeyword=100]="NullKeyword",e[e.ReturnKeyword=101]="ReturnKeyword",e[e.SuperKeyword=102]="SuperKeyword",e[e.SwitchKeyword=103]="SwitchKeyword",e[e.ThisKeyword=104]="ThisKeyword",e[e.ThrowKeyword=105]="ThrowKeyword",e[e.TrueKeyword=106]="TrueKeyword",e[e.TryKeyword=107]="TryKeyword",e[e.TypeOfKeyword=108]="TypeOfKeyword",e[e.VarKeyword=109]="VarKeyword",e[e.VoidKeyword=110]="VoidKeyword",e[e.WhileKeyword=111]="WhileKeyword",e[e.WithKeyword=112]="WithKeyword",e[e.ImplementsKeyword=113]="ImplementsKeyword",e[e.InterfaceKeyword=114]="InterfaceKeyword",e[e.LetKeyword=115]="LetKeyword",e[e.PackageKeyword=116]="PackageKeyword",e[e.PrivateKeyword=117]="PrivateKeyword",e[e.ProtectedKeyword=118]="ProtectedKeyword",e[e.PublicKeyword=119]="PublicKeyword",e[e.StaticKeyword=120]="StaticKeyword",e[e.YieldKeyword=121]="YieldKeyword",e[e.AbstractKeyword=122]="AbstractKeyword",e[e.AsKeyword=123]="AsKeyword",e[e.AssertsKeyword=124]="AssertsKeyword",e[e.AnyKeyword=125]="AnyKeyword",e[e.AsyncKeyword=126]="AsyncKeyword",e[e.AwaitKeyword=127]="AwaitKeyword",e[e.BooleanKeyword=128]="BooleanKeyword",e[e.ConstructorKeyword=129]="ConstructorKeyword",e[e.DeclareKeyword=130]="DeclareKeyword",e[e.GetKeyword=131]="GetKeyword",e[e.InferKeyword=132]="InferKeyword",e[e.IsKeyword=133]="IsKeyword",e[e.KeyOfKeyword=134]="KeyOfKeyword",e[e.ModuleKeyword=135]="ModuleKeyword",e[e.NamespaceKeyword=136]="NamespaceKeyword",e[e.NeverKeyword=137]="NeverKeyword",e[e.ReadonlyKeyword=138]="ReadonlyKeyword",e[e.RequireKeyword=139]="RequireKeyword",e[e.NumberKeyword=140]="NumberKeyword",e[e.ObjectKeyword=141]="ObjectKeyword",e[e.SetKeyword=142]="SetKeyword",e[e.StringKeyword=143]="StringKeyword",e[e.SymbolKeyword=144]="SymbolKeyword",e[e.TypeKeyword=145]="TypeKeyword",e[e.UndefinedKeyword=146]="UndefinedKeyword",e[e.UniqueKeyword=147]="UniqueKeyword",e[e.UnknownKeyword=148]="UnknownKeyword",e[e.FromKeyword=149]="FromKeyword",e[e.GlobalKeyword=150]="GlobalKeyword",e[e.BigIntKeyword=151]="BigIntKeyword",e[e.OfKeyword=152]="OfKeyword",e[e.QualifiedName=153]="QualifiedName",e[e.ComputedPropertyName=154]="ComputedPropertyName",e[e.TypeParameter=155]="TypeParameter",e[e.Parameter=156]="Parameter",e[e.Decorator=157]="Decorator",e[e.PropertySignature=158]="PropertySignature",e[e.PropertyDeclaration=159]="PropertyDeclaration",e[e.MethodSignature=160]="MethodSignature",e[e.MethodDeclaration=161]="MethodDeclaration",e[e.Constructor=162]="Constructor",e[e.GetAccessor=163]="GetAccessor",e[e.SetAccessor=164]="SetAccessor",e[e.CallSignature=165]="CallSignature",e[e.ConstructSignature=166]="ConstructSignature",e[e.IndexSignature=167]="IndexSignature",e[e.TypePredicate=168]="TypePredicate",e[e.TypeReference=169]="TypeReference",e[e.FunctionType=170]="FunctionType",e[e.ConstructorType=171]="ConstructorType",e[e.TypeQuery=172]="TypeQuery",e[e.TypeLiteral=173]="TypeLiteral",e[e.ArrayType=174]="ArrayType",e[e.TupleType=175]="TupleType",e[e.OptionalType=176]="OptionalType",e[e.RestType=177]="RestType",e[e.UnionType=178]="UnionType",e[e.IntersectionType=179]="IntersectionType",e[e.ConditionalType=180]="ConditionalType",e[e.InferType=181]="InferType",e[e.ParenthesizedType=182]="ParenthesizedType",e[e.ThisType=183]="ThisType",e[e.TypeOperator=184]="TypeOperator",e[e.IndexedAccessType=185]="IndexedAccessType",e[e.MappedType=186]="MappedType",e[e.LiteralType=187]="LiteralType",e[e.ImportType=188]="ImportType",e[e.ObjectBindingPattern=189]="ObjectBindingPattern",e[e.ArrayBindingPattern=190]="ArrayBindingPattern",e[e.BindingElement=191]="BindingElement",e[e.ArrayLiteralExpression=192]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=193]="ObjectLiteralExpression",e[e.PropertyAccessExpression=194]="PropertyAccessExpression",e[e.ElementAccessExpression=195]="ElementAccessExpression",e[e.CallExpression=196]="CallExpression",e[e.NewExpression=197]="NewExpression",e[e.TaggedTemplateExpression=198]="TaggedTemplateExpression",e[e.TypeAssertionExpression=199]="TypeAssertionExpression",e[e.ParenthesizedExpression=200]="ParenthesizedExpression",e[e.FunctionExpression=201]="FunctionExpression",e[e.ArrowFunction=202]="ArrowFunction",e[e.DeleteExpression=203]="DeleteExpression",e[e.TypeOfExpression=204]="TypeOfExpression",e[e.VoidExpression=205]="VoidExpression",e[e.AwaitExpression=206]="AwaitExpression",e[e.PrefixUnaryExpression=207]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=208]="PostfixUnaryExpression",e[e.BinaryExpression=209]="BinaryExpression",e[e.ConditionalExpression=210]="ConditionalExpression",e[e.TemplateExpression=211]="TemplateExpression",e[e.YieldExpression=212]="YieldExpression",e[e.SpreadElement=213]="SpreadElement",e[e.ClassExpression=214]="ClassExpression",e[e.OmittedExpression=215]="OmittedExpression",e[e.ExpressionWithTypeArguments=216]="ExpressionWithTypeArguments",e[e.AsExpression=217]="AsExpression",e[e.NonNullExpression=218]="NonNullExpression",e[e.MetaProperty=219]="MetaProperty",e[e.SyntheticExpression=220]="SyntheticExpression",e[e.TemplateSpan=221]="TemplateSpan",e[e.SemicolonClassElement=222]="SemicolonClassElement",e[e.Block=223]="Block",e[e.EmptyStatement=224]="EmptyStatement",e[e.VariableStatement=225]="VariableStatement",e[e.ExpressionStatement=226]="ExpressionStatement",e[e.IfStatement=227]="IfStatement",e[e.DoStatement=228]="DoStatement",e[e.WhileStatement=229]="WhileStatement",e[e.ForStatement=230]="ForStatement",e[e.ForInStatement=231]="ForInStatement",e[e.ForOfStatement=232]="ForOfStatement",e[e.ContinueStatement=233]="ContinueStatement",e[e.BreakStatement=234]="BreakStatement",e[e.ReturnStatement=235]="ReturnStatement",e[e.WithStatement=236]="WithStatement",e[e.SwitchStatement=237]="SwitchStatement",e[e.LabeledStatement=238]="LabeledStatement",e[e.ThrowStatement=239]="ThrowStatement",e[e.TryStatement=240]="TryStatement",e[e.DebuggerStatement=241]="DebuggerStatement",e[e.VariableDeclaration=242]="VariableDeclaration",e[e.VariableDeclarationList=243]="VariableDeclarationList",e[e.FunctionDeclaration=244]="FunctionDeclaration",e[e.ClassDeclaration=245]="ClassDeclaration",e[e.InterfaceDeclaration=246]="InterfaceDeclaration",e[e.TypeAliasDeclaration=247]="TypeAliasDeclaration",e[e.EnumDeclaration=248]="EnumDeclaration",e[e.ModuleDeclaration=249]="ModuleDeclaration",e[e.ModuleBlock=250]="ModuleBlock",e[e.CaseBlock=251]="CaseBlock",e[e.NamespaceExportDeclaration=252]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=253]="ImportEqualsDeclaration",e[e.ImportDeclaration=254]="ImportDeclaration",e[e.ImportClause=255]="ImportClause",e[e.NamespaceImport=256]="NamespaceImport",e[e.NamedImports=257]="NamedImports",e[e.ImportSpecifier=258]="ImportSpecifier",e[e.ExportAssignment=259]="ExportAssignment",e[e.ExportDeclaration=260]="ExportDeclaration",e[e.NamedExports=261]="NamedExports",e[e.NamespaceExport=262]="NamespaceExport",e[e.ExportSpecifier=263]="ExportSpecifier",e[e.MissingDeclaration=264]="MissingDeclaration",e[e.ExternalModuleReference=265]="ExternalModuleReference",e[e.JsxElement=266]="JsxElement",e[e.JsxSelfClosingElement=267]="JsxSelfClosingElement",e[e.JsxOpeningElement=268]="JsxOpeningElement",e[e.JsxClosingElement=269]="JsxClosingElement",e[e.JsxFragment=270]="JsxFragment",e[e.JsxOpeningFragment=271]="JsxOpeningFragment",e[e.JsxClosingFragment=272]="JsxClosingFragment",e[e.JsxAttribute=273]="JsxAttribute",e[e.JsxAttributes=274]="JsxAttributes",e[e.JsxSpreadAttribute=275]="JsxSpreadAttribute",e[e.JsxExpression=276]="JsxExpression",e[e.CaseClause=277]="CaseClause",e[e.DefaultClause=278]="DefaultClause",e[e.HeritageClause=279]="HeritageClause",e[e.CatchClause=280]="CatchClause",e[e.PropertyAssignment=281]="PropertyAssignment",e[e.ShorthandPropertyAssignment=282]="ShorthandPropertyAssignment",e[e.SpreadAssignment=283]="SpreadAssignment",e[e.EnumMember=284]="EnumMember",e[e.UnparsedPrologue=285]="UnparsedPrologue",e[e.UnparsedPrepend=286]="UnparsedPrepend",e[e.UnparsedText=287]="UnparsedText",e[e.UnparsedInternalText=288]="UnparsedInternalText",e[e.UnparsedSyntheticReference=289]="UnparsedSyntheticReference",e[e.SourceFile=290]="SourceFile",e[e.Bundle=291]="Bundle",e[e.UnparsedSource=292]="UnparsedSource",e[e.InputFiles=293]="InputFiles",e[e.JSDocTypeExpression=294]="JSDocTypeExpression",e[e.JSDocAllType=295]="JSDocAllType",e[e.JSDocUnknownType=296]="JSDocUnknownType",e[e.JSDocNullableType=297]="JSDocNullableType",e[e.JSDocNonNullableType=298]="JSDocNonNullableType",e[e.JSDocOptionalType=299]="JSDocOptionalType",e[e.JSDocFunctionType=300]="JSDocFunctionType",e[e.JSDocVariadicType=301]="JSDocVariadicType",e[e.JSDocNamepathType=302]="JSDocNamepathType",e[e.JSDocComment=303]="JSDocComment",e[e.JSDocTypeLiteral=304]="JSDocTypeLiteral",e[e.JSDocSignature=305]="JSDocSignature",e[e.JSDocTag=306]="JSDocTag",e[e.JSDocAugmentsTag=307]="JSDocAugmentsTag",e[e.JSDocAuthorTag=308]="JSDocAuthorTag",e[e.JSDocClassTag=309]="JSDocClassTag",e[e.JSDocPublicTag=310]="JSDocPublicTag",e[e.JSDocPrivateTag=311]="JSDocPrivateTag",e[e.JSDocProtectedTag=312]="JSDocProtectedTag",e[e.JSDocReadonlyTag=313]="JSDocReadonlyTag",e[e.JSDocCallbackTag=314]="JSDocCallbackTag",e[e.JSDocEnumTag=315]="JSDocEnumTag",e[e.JSDocParameterTag=316]="JSDocParameterTag",e[e.JSDocReturnTag=317]="JSDocReturnTag",e[e.JSDocThisTag=318]="JSDocThisTag",e[e.JSDocTypeTag=319]="JSDocTypeTag",e[e.JSDocTemplateTag=320]="JSDocTemplateTag",e[e.JSDocTypedefTag=321]="JSDocTypedefTag",e[e.JSDocPropertyTag=322]="JSDocPropertyTag",e[e.SyntaxList=323]="SyntaxList",e[e.NotEmittedStatement=324]="NotEmittedStatement",e[e.PartiallyEmittedExpression=325]="PartiallyEmittedExpression",e[e.CommaListExpression=326]="CommaListExpression",e[e.MergeDeclarationMarker=327]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=328]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=329]="SyntheticReferenceExpression",e[e.Count=330]="Count",e[e.FirstAssignment=62]="FirstAssignment",e[e.LastAssignment=74]="LastAssignment",e[e.FirstCompoundAssignment=63]="FirstCompoundAssignment",e[e.LastCompoundAssignment=74]="LastCompoundAssignment",e[e.FirstReservedWord=77]="FirstReservedWord",e[e.LastReservedWord=112]="LastReservedWord",e[e.FirstKeyword=77]="FirstKeyword",e[e.LastKeyword=152]="LastKeyword",e[e.FirstFutureReservedWord=113]="FirstFutureReservedWord",e[e.LastFutureReservedWord=121]="LastFutureReservedWord",e[e.FirstTypeNode=168]="FirstTypeNode",e[e.LastTypeNode=188]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=74]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=152]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=74]="LastBinaryOperator",e[e.FirstStatement=225]="FirstStatement",e[e.LastStatement=241]="LastStatement",e[e.FirstNode=153]="FirstNode",e[e.FirstJSDocNode=294]="FirstJSDocNode",e[e.LastJSDocNode=322]="LastJSDocNode",e[e.FirstJSDocTagNode=306]="FirstJSDocTagNode",e[e.LastJSDocTagNode=322]="LastJSDocTagNode",e[e.FirstContextualKeyword=122]="FirstContextualKeyword",e[e.LastContextualKeyword=152]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.ThisNodeHasError=65536]="ThisNodeHasError",e[e.JavaScriptFile=131072]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=524288]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",e[e.JSDoc=4194304]="JSDoc",e[e.Ambient=8388608]="Ambient",e[e.InWithStatement=16777216]="InWithStatement",e[e.JsonFile=33554432]="JsonFile",e[e.TypeCached=67108864]="TypeCached",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=25358336]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=3071]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.Referenced=1024]="Referenced",e[e.Shared=2048]="Shared",e[e.PreFinally=4096]="PreFinally",e[e.AfterFinally=8192]="AfterFinally",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={}));var t,r=function(){};e.OperationCanceledException=r,function(e){e[e.Import=0]="Import",e[e.ReferenceFile=1]="ReferenceFile",e[e.TypeReferenceDirective=2]="TypeReferenceDirective"}(e.RefFileKind||(e.RefFileKind={})),function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions"}(e.ContextFlags||(e.ContextFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=277904747]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",e[e.AssignmentsMarked=8388608]="AssignmentsMarked",e[e.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109440]="Unit",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=131068]="Primitive",e[e.StringLike=132]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DisjointDomains=67238908]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=4194304]="InstantiablePrimitive",e[e.Instantiable=63176704]="Instantiable",e[e.StructuredOrInstantiable=66846720]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Narrowable=133970943]="Narrowable",e[e.NotUnionOrUnit=67637251]="NotUnionOrUnit",e[e.NotPrimitiveUnion=66994211]="NotPrimitiveUnion",e[e.IncludesMask=68943871]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=2097152]="IncludesNonWideningType",e[e.IncludesWildcard=4194304]="IncludesWildcard",e[e.IncludesEmptyObject=8388608]="IncludesEmptyObject",e[e.GenericMappedType=131072]="GenericMappedType"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.ArrayLiteral=65536]="ArrayLiteral",e[e.ObjectRestType=131072]="ObjectRestType",e[e.PrimitiveUnion=262144]="PrimitiveUnion",e[e.ContainsWideningType=524288]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=1048576]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=2097152]="NonInferrableType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=1572864]="RequiresWidening",e[e.PropagatingFlags=3670016]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.IsInnerCallChain=4]="IsInnerCallChain",e[e.IsOuterCallChain=8]="IsOuterCallChain",e[e.PropagatingFlags=3]="PropagatingFlags",e[e.CallChainFlags=12]="CallChainFlags"}(e.SignatureFlags||(e.SignatureFlags={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.HomomorphicMappedType=2]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=4]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=8]="MappedTypeConstraint",e[e.ContravariantConditional=16]="ContravariantConditional",e[e.ReturnType=32]="ReturnType",e[e.LiteralKeyof=64]="LiteralKeyof",e[e.NoConstraints=128]="NoConstraints",e[e.AlwaysStrict=256]="AlwaysStrict",e[e.MaxValue=512]="MaxValue",e[e.PriorityImpliesCombination=104]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(t=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,r){void 0===r&&(r=!0);var n=t[e.category];return r?n.toLowerCase():n},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.UseFsEvents=3]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=4]="UseFsEventsOnParentDirectory"}(e.WatchFileKind||(e.WatchFileKind={})),function(e){e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(e){e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority"}(e.PollingWatchKind||(e.PollingWatchKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ESNext=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error"}(e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2020=8]="ContainsES2020",e[e.ContainsES2019=16]="ContainsES2019",e[e.ContainsES2018=32]="ContainsES2018",e[e.ContainsES2017=64]="ContainsES2017",e[e.ContainsES2016=128]="ContainsES2016",e[e.ContainsES2015=256]="ContainsES2015",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.ContainsDestructuringAssignment=1024]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=2048]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=4096]="ContainsLexicalThis",e[e.ContainsRestOrSpread=8192]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=16384]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=32768]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=65536]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=131072]="ContainsBindingPattern",e[e.ContainsYield=262144]="ContainsYield",e[e.ContainsAwait=524288]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=1048576]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=2097152]="ContainsDynamicImport",e[e.ContainsClassFields=4194304]="ContainsClassFields",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2020=8]="AssertES2020",e[e.AssertES2019=16]="AssertES2019",e[e.AssertES2018=32]="AssertES2018",e[e.AssertES2017=64]="AssertES2017",e[e.AssertES2016=128]="AssertES2016",e[e.AssertES2015=256]="AssertES2015",e[e.AssertGenerator=512]="AssertGenerator",e[e.AssertDestructuringAssignment=1024]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=538920960]="ArrowFunctionExcludes",e[e.FunctionExcludes=538925056]="FunctionExcludes",e[e.ConstructorExcludes=538923008]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=538923008]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536875008]="PropertyExcludes",e[e.ClassExcludes=536905728]="ClassExcludes",e[e.ModuleExcludes=537991168]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536922112]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536879104]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=537018368]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536887296]="CatchClauseExcludes",e[e.BindingPatternExcludes=536879104]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=4096]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.SpreadArrays=2048]="SpreadArrays",e[e.Await=4096]="Await",e[e.AsyncGenerator=8192]="AsyncGenerator",e[e.AsyncDelegator=16384]="AsyncDelegator",e[e.AsyncValues=32768]="AsyncValues",e[e.ExportStar=65536]="ExportStar",e[e.MakeTemplateObject=131072]="MakeTemplateObject",e[e.ClassPrivateFieldGet=262144]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=524288]="ClassPrivateFieldSet",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=524288]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=32768]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=12288]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=53248]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue"}(e.EmitHint||(e.EmitHint={})),function(e){e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.TupleTypeElements=528]="TupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=49153]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),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}}}(p||(p={})),function(e){function o(e){for(var t=5381,r=0;r0;d(),o--){var l=t[i];if(l)if(l.isClosed)t[i]=void 0;else{c++;var _=h(l,v(l.fileName));l.isClosed?t[i]=void 0:_?(l.unchangedPolls=0,t!==n&&(t[i]=void 0,g(l))):l.unchangedPolls!==e.unchangedPollThresholds[r]?l.unchangedPolls++:t===n?(l.unchangedPolls=1,t[i]=void 0,p(l,u.Low)):r!==u.High&&(l.unchangedPolls++,t[i]=void 0,p(l,r===u.Low?u.Medium:u.High)),t[i]&&(s=4,h="linux"===t.platform||"darwin"===t.platform,b=p.platform(),x="win32"!==b&&"win64"!==b&&!O((f=n,f.replace(/\w/g,(function(e){var t=e.toUpperCase();return e===t?e.toLowerCase():t})))),S=y&&("win32"===t.platform||"darwin"===t.platform),T=C({pollingWatchFile:v((function(e,t,r){var n;return _.watchFile(e,{persistent:!0,interval:r},i),{close:function(){return _.unwatchFile(e,i)}};function i(r,i){var a=0==+i.mtime||n===s.Deleted;if(0==+r.mtime){if(a)return;n=s.Deleted}else if(a)n=s.Created;else{if(+r.mtime==+i.mtime)return;n=s.Changed}t(e,n)}}),x),getModifiedTime:R,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:function(t,r,n,i,a,o){var c,u,l;h&&(u=t.substr(t.lastIndexOf(e.directorySeparator)),l=u.slice(e.directorySeparator.length));var d=I(t,r)?f():m();return{close:function(){d.close(),d=void 0}};function p(r){e.sysLog("sysLog:: "+t+":: Changing watcher to "+(r===f?"Present":"Missing")+"FileSystemEntryWatcher"),n("rename",""),d&&(d.close(),d=r())}function f(){void 0===c&&(c=S?{persistent:!0,recursive:!!i}:{persistent:!0});try{var r=_.watch(t,c,h?g:n);return r.on("error",(function(){return p(m)})),r}catch(r){return e.sysLog("sysLog:: "+t+":: Changing to fsWatchFile"),E(t,D(n),a,o)}}function g(e,i){return"rename"!==e||i&&i!==l&&i.lastIndexOf(u)!==i.length-u.length||I(t,r)?n(e,i):p(m)}function m(){return E(t,(function(e,n){n===s.Created&&I(t,r)&&p(f)}),a,o)}},useCaseSensitiveFileNames:x,fileExists:O,fsSupportsRecursiveFsWatch:S,directoryExists:M,getAccessibleSortedChildDirectories:function(e){return w(e).directories},realpath:L,tscWatchFile:t.env.TSC_WATCHFILE,useNonPollingWatchers:t.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:t.env.TSC_WATCHDIRECTORY}),E=T.watchFile,N=T.watchDirectory,A={args:t.argv.slice(2),newLine:p.EOL,useCaseSensitiveFileNames:x,write:function(e){t.stdout.write(e)},writeOutputIsTTY:function(){return t.stdout.isTTY},readFile:function(t,r){e.perfLogger.logStartReadFile(t);var n=function(e,t){var r;try{r=_.readFileSync(e)}catch(e){return}var n=r.length;if(n>=2&&254===r[0]&&255===r[1]){n&=-2;for(var i=0;i=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):n>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")}(t);return e.perfLogger.logStopReadFile(),n},writeFile:function(t,r,n){var i;e.perfLogger.logEvent("WriteFile: "+t),n&&(r="\ufeff"+r);try{i=_.openSync(t,"w"),_.writeSync(i,r,void 0,"utf8")}finally{void 0!==i&&_.closeSync(i)}},watchFile:E,watchDirectory:N,resolvePath:function(e){return d.resolve(e)},fileExists:O,directoryExists:M,createDirectory:function(e){if(!A.directoryExists(e))try{_.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:function(){return n},getCurrentDirectory:function(){return t.cwd()},getDirectories:function(e){return w(e).directories.slice()},getEnvironmentVariable:function(e){return t.env[e]||""},readDirectory:function(r,n,i,a,o){return e.matchFiles(r,n,i,a,x,t.cwd(),o,w,L)},getModifiedTime:R,setModifiedTime:function(e,t){try{_.utimesSync(e,t,t)}catch(e){return}},deleteFile:function(e){try{return _.unlinkSync(e)}catch(e){return}},createHash:c?B:o,createSHA256Hash:c?B:void 0,getMemoryUsage:function(){return i.gc&&i.gc(),t.memoryUsage().heapUsed},getFileSize:function(e){try{var t=_.statSync(e);if(t.isFile())return t.size}catch(e){}return 0},exit:function(e){F((function(){return t.exit(e)}))},enableCPUProfiler:function(e,t){if(u)return t(),!1;var n=r(15);if(!n||!n.Session)return t(),!1;var i=new n.Session;return i.connect(),i.post("Profiler.enable",(function(){i.post("Profiler.start",(function(){u=i,g=e,t()}))})),!0},disableCPUProfiler:F,realpath:L,debugMode:e.some(t.execArgv,(function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)})),tryEnableSourceMapsForHost:function(){try{r(13).install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){t.stdout.write("c")},setBlocking:function(){t.stdout&&t.stdout._handle&&t.stdout._handle.setBlocking&&t.stdout._handle.setBlocking(!0)},bufferFrom:P,base64decode:function(e){return P(e,"base64").toString("utf8")},base64encode:function(e){return P(e).toString("base64")},require:function(t,n){try{var i=e.resolveJSModule(n,t,A);return{module:r(14)(i),modulePath:i,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};return A;function F(r){if(u&&"stopping"!==u){var n=u;return u.post("Profiler.stop",(function(i,o){var s=o.profile;if(!i){try{_.statSync(g).isDirectory()&&(g=d.join(g,(new Date).toISOString().replace(/:/g,"-")+"+P"+t.pid+".cpuprofile"))}catch(e){}try{_.mkdirSync(d.dirname(g),{recursive:!0})}catch(e){}_.writeFileSync(g,JSON.stringify(function(t){for(var r=0,n=e.createMap(),i=e.normalizeSlashes(a),o="file://"+(1===e.getRootLength(i)?"":"/")+i,s=0,c=t.nodes;s0}function i(e){return 0!==l(e)}function a(e){return/^\.\.?($|[\\/])/.test(e)}function o(t,r){return t.length>r.length&&e.endsWith(t,r)}function c(e){return e.length>0&&r(e.charCodeAt(e.length-1))}function u(e){return e>=97&&e<=122||e>=65&&e<=90}function l(t){if(!t)return 0;var r=t.charCodeAt(0);if(47===r||92===r){if(t.charCodeAt(1)!==r)return 1;var n=t.indexOf(47===r?e.directorySeparator:"\\",2);return n<0?t.length:n+1}if(u(r)&&58===t.charCodeAt(1)){var i=t.charCodeAt(2);if(47===i||92===i)return 3;if(2===t.length)return 2}var a=t.indexOf("://");if(-1!==a){var o=a+"://".length,s=t.indexOf(e.directorySeparator,o);if(-1!==s){var c=t.slice(0,a),l=t.slice(o,s);if("file"===c&&(""===l||"localhost"===l)&&u(t.charCodeAt(s+1))){var _=function(e,t){var r=e.charCodeAt(t);if(58===r)return t+1;if(37===r&&51===e.charCodeAt(t+1)){var n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return-1}(t,s+2);if(-1!==_){if(47===t.charCodeAt(_))return~(_+1);if(_===t.length)return~_}}return~(s+1)}return~t.length}return 0}function _(e){var t=l(e);return t<0?~t:t}function d(t){var r=_(t=v(t));return r===t.length?t:(t=T(t)).slice(0,Math.max(r,t.lastIndexOf(e.directorySeparator)))}function p(t,r,n){if(_(t=v(t))===t.length)return"";var i=(t=T(t)).slice(Math.max(_(t),t.lastIndexOf(e.directorySeparator)+1)),a=void 0!==r&&void 0!==n?g(i,r,n):void 0;return a?i.slice(0,i.length-a.length):i}function f(t,r,n){if(e.startsWith(r,".")||(r="."+r),t.length>=r.length&&46===t.charCodeAt(t.length-r.length)){var i=t.slice(t.length-r.length);if(n(i,r))return i}}function g(t,r,n){if(r)return function(e,t,r){if("string"==typeof t)return f(e,t,r)||"";for(var n=0,i=t;n=0?i.substring(a):""}function m(t,r){return void 0===r&&(r=""),function(t,r){var n=t.substring(0,r),i=t.substring(r).split(e.directorySeparator);return i.length&&!e.lastOrUndefined(i)&&i.pop(),s([n],i)}(t=b(r,t),_(t))}function y(t){return 0===t.length?"":(t[0]&&k(t[0]))+t.slice(1).join(e.directorySeparator)}function v(r){return r.replace(t,e.directorySeparator)}function h(t){if(!e.some(t))return[];for(var r=[t[0]],n=1;n1){if(".."!==r[r.length-1]){r.pop();continue}}else if(r[0])continue;r.push(i)}}return r}function b(e){for(var t=[],r=1;r0&&t===e.length},e.pathIsAbsolute=i,e.pathIsRelative=a,e.hasExtension=function(t){return e.stringContains(p(t),".")},e.fileExtensionIs=o,e.fileExtensionIsOneOf=function(e,t){for(var r=0,n=t;r0==_(r)>0,"Paths must either both be absolute or both be relative");var i="function"==typeof n?n:e.identity;return y(F(t,r,"boolean"==typeof n&&n?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,i))}function w(t,r,i,a,o){var s=F(x(i,t),x(i,r),e.equateStringsCaseSensitive,a),c=s[0];if(o&&n(c)){var u=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=u+c}return y(s)}e.comparePathsCaseSensitive=function(t,r){return A(t,r,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(t,r){return A(t,r,e.compareStringsCaseInsensitive)},e.comparePaths=function(t,r,n,i){return"string"==typeof n?(t=b(n,t),r=b(n,r)):"boolean"==typeof n&&(i=n),A(t,r,e.getStringComparer(i))},e.containsPath=function(t,r,n,i){if("string"==typeof n?(t=b(n,t),r=b(n,r)):"boolean"==typeof n&&(i=n),void 0===t||void 0===r)return!1;if(t===r)return!0;var a=h(m(t)),o=h(m(r));if(o.length type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:t(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:t(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:t(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:t(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:t(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."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:t(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:t(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:t(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."),Jump_target_cannot_cross_function_boundary:t(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:t(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:t(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:t(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:t(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:t(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:t(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:t(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:t(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:t(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:t(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:t(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:t(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:t(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:t(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:t(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:t(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:t(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:t(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:t(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:t(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:t(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:t(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:t(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:t(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:t(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:t(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:t(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:t(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:t(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:t(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:t(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:t(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:t(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:t(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:t(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_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a 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:t(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:t(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:t(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:t(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:t(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:t(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:t(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:t(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:t(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:t(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:t(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:t(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:t(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:t(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:t(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:t(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:t(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:t(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:t(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:t(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:t(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:t(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:t(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:t(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:t(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:t(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:t(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),Catch_clause_variable_cannot_have_a_type_annotation:t(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:t(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:t(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:t(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:t(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:t(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:t(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:t(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:t(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:t(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."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:t(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:t(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_only_available_when_targeting_ECMAScript_2015_or_higher:t(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:t(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:t(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:t(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:t(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:t(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:t(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:t(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:t(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:t(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:t(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_can_only_be_used_in_a_module:t(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:t(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:t(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:t(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_rest_element_must_be_last_in_a_tuple_type:t(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:t(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:t(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:t(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:t(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:t(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."),with_statements_are_not_allowed_in_an_async_function_block:t(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:t(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."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:t(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_esnext_commonjs_amd_system_or_umd:t(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:t(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:t(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:t(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:t(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:t(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:t(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:t(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:t(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:t(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_esnext_or_system:t(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:t(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:t(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:t(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:t(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:t(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:t(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Did_you_mean_to_parenthesize_this_function_type:t(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:t(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:t(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:t(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:t(1364,e.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:t(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:t(1366,e.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:t(1367,e.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:t(1368,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),Did_you_mean_0:t(1369,e.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),Only_ECMAScript_imports_may_use_import_type:t(1370,e.DiagnosticCategory.Error,"Only_ECMAScript_imports_may_use_import_type_1370","Only ECMAScript imports may use 'import type'."),This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is_set_to_error:t(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_the_importsNotUsedAsValues_is__1371","This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:t(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:t(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:t(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:t(1376,e.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:t(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_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:t(1378,e.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:t(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:t(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'."),Only_named_exports_may_use_export_type:t(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),The_types_of_0_are_incompatible_between_these_types:t(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:t(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:t(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:t(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:t(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:t(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),Duplicate_identifier_0:t(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:t(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:t(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:t(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:t(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:t(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:t(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:t(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_2307","Cannot find module '{0}'."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:t(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:t(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:t(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:t(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:t(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:t(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:t(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:t(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:t(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:t(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:t(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:t(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_of_type_any_string_number_or_symbol:t(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:t(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_be_referenced_in_its_initializer:t(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_be_referenced_in_its_initializer_2372","Parameter '{0}' cannot be referenced in its initializer."),Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,e.DiagnosticCategory.Error,"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:t(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:t(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:t(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:t(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:t(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:t(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:t(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:t(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:t(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:t(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:t(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:t(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:t(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:t(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:t(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:t(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:t(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:t(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:t(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:t(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:t(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:t(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:t(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:t(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:t(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:t(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."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:t(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:t(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:t(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:t(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:t(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:t(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:t(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:t(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:t(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}'."),Class_0_incorrectly_implements_interface_1:t(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:t(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:t(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:t(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:t(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:t(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:t(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:t(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:t(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:t(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:t(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:t(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:t(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:t(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:t(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:t(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:t(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:t(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:t(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:t(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:t(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),Property_0_does_not_exist_on_const_enum_1:t(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Classes_containing_abstract_methods_must_be_marked_abstract:t(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:t(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:t(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:t(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:t(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:t(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:t(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."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:t(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses 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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:t(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:t(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:t(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:t(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:t(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:t(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:t(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[]'."),Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:t(2546,e.DiagnosticCategory.Error,"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546","Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:t(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:t(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:t(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_Did_you_mean_2:t(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:t(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:t(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:t(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:t(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:t(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:t(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:t(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."),Object_is_of_type_unknown:t(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:t(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:t(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:t(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:t(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_is_a_static_member_of_type_1:t(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:t(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:t(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:t(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:t(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:t(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 es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:t(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:t(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."),Enum_type_0_circularly_references_itself:t(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:t(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:t(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:t(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:t(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_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:t(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @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_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:t(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @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_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:t(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @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:t(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."),JSX_element_attributes_type_0_may_not_be_a_union_type:t(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:t(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:t(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:t(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:t(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."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:t(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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?"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:t(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:t(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:t(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:t(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}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:t(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:t(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:t(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:t(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:t(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:t(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:t(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:t(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:t(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:t(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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'."),Module_0_has_no_exported_member_1_Did_you_mean_2:t(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:t(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:t(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:t(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:t(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:t(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:t(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:t(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:t(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:t(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),It_is_highly_likely_that_you_are_missing_a_semicolon:t(2734,e.DiagnosticCategory.Error,"It_is_highly_likely_that_you_are_missing_a_semicolon_2734","It is highly likely that you are missing a semicolon."),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_2749","'{0}' refers to a value, but is being used as a type here."),The_implementation_signature_is_declared_here:t(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:t(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:t(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:t(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:t(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:t(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:t(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:t(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:t(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:t(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the 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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(2782,e.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),Import_declaration_0_is_using_private_name_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_interface_0_has_or_is_using_private_name_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:t(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:t(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:t(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:t(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:t(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:t(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:t(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:t(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:t(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:t(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:t(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:t(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:t(5078,e.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:t(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:t(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:t(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}."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:t(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:t(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:t(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:t(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:t(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:t(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:t(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:t(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:t(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:t(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:t(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:t(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:t(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:t(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:t(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:t(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:t(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),Print_this_message:t(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:t(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:t(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:t(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:t(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:t(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:t(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:t(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:t(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:t(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:t(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:t(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:t(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:t(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:t(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:t(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:t(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:t(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:t(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:t(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:t(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:t(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:t(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:t(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}'."),Unsupported_locale_0:t(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:t(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:t(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:t(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:t(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:t(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:t(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:t(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:t(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:t(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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_Colon_preserve_react_native_or_react:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:t(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:t(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:t(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:t(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:t(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:t(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:t(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:t(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:t(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:t(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:t(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:t(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:t(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:t(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:t(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:t(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:t(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:t(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:t(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:t(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:t(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:t(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:t(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}'. ========"),Resolving_using_primary_search_paths:t(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:t(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:t(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:t(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:t(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:t(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:t(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:t(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:t(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:t(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:t(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:t(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:t(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:t(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:t(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:t(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:t(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:t(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:t(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:t(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:t(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:t(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:t(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:t(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:t(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:t(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:t(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:t(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:t(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:t(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:t(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:t(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:t(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:t(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:t(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:t(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:t(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:t(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:t(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:t(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:t(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:t(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:t(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:t(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:t(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:t(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:t(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:t(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:t(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:t(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_UseFsEvents_UseFsEventsOnParentDirectory:t(6225,e.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling:t(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'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority:t(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'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:t(6228,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:t(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."),Projects_to_reference:t(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:t(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:t(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:t(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:t(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:t(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:t(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:t(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:t(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:t(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:t(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:t(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:t(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:t(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:t(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:t(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:t(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:t(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')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:t(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:t(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:t(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:t(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:t(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:t(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:t(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."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:t(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:t(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:t(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:t(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:t(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?"),Variable_0_implicitly_has_an_1_type:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:t(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:t(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:t(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:t(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:t(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:t(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:t(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_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:t(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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."),You_cannot_rename_this_element:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:t(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:t(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:t(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:t(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:t(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:t(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:t(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:t(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:t(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:t(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:t(17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Unknown_type_acquisition_option_0_Did_you_mean_1:t(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:t(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:t(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:t(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:t(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_ES6_module:t(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:t(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:t(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:t(90004,e.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:t(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:t(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:t(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:t(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:t(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:t(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:t(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:t(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:t(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:t(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:t(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:t(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:t(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:t(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:t(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:t(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:t(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:t(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:t(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:t(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:t(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:t(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:t(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:t(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:t(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:t(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:t(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:t(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:t(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:t(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_a_private_field_named_0:t(90053,e.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:t(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:t(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:t(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:t(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:t(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:t(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:t(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:t(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:t(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:t(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:t(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:t(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:t(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:t(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:t(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:t(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:t(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:t(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:t(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:t(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:t(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:t(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:t(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:t(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:t(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:t(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:t(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:t(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:t(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:t(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:t(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:t(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:t(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:t(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:t(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:t(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:t(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:t(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:t(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:t(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:t(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:t(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:t(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:t(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:t(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:t(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:t(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:t(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:t(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:t(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:t(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:t(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:t(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:t(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:t(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:t(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:t(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:t(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:t(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:t(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:t(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:t(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:t(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:t(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_unknown_conversion_for_non_overlapping_types:t(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:t(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:t(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:t(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:t(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:t(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:t(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:t(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:t(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:t(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:t(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:t(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:t(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:t(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:t(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:t(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:t(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:t(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:t(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:t(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:t(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:t(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:t(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:t(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:t(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:t(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:t(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:t(95096,e.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:t(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:t(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:t(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}'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(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:t(18019,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier"),A_method_cannot_be_named_with_a_private_identifier:t(18022,e.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:t(18023,e.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:t(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:t(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:t(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:t(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:t(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:t(18030,e.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers.")}}(p||(p={})),function(e){var t;function r(e){return e>=75}e.tokenIsIdentifierOrKeyword=r,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||r(e)};var n=((t={abstract:122,any:125,as:123,asserts:124,bigint:151,boolean:128,break:77,case:78,catch:79,class:80,continue:82,const:81}).constructor=129,t.debugger=83,t.declare=130,t.default=84,t.delete=85,t.do=86,t.else=87,t.enum=88,t.export=89,t.extends=90,t.false=91,t.finally=92,t.for=93,t.from=149,t.function=94,t.get=131,t.if=95,t.implements=113,t.import=96,t.in=97,t.infer=132,t.instanceof=98,t.interface=114,t.is=133,t.keyof=134,t.let=115,t.module=135,t.namespace=136,t.never=137,t.new=99,t.null=100,t.number=140,t.object=141,t.package=116,t.private=117,t.protected=118,t.public=119,t.readonly=138,t.require=139,t.global=150,t.return=101,t.set=142,t.static=120,t.string=143,t.super=102,t.switch=103,t.symbol=144,t.this=104,t.throw=105,t.true=106,t.try=107,t.type=145,t.typeof=108,t.undefined=146,t.unique=147,t.unknown=148,t.var=109,t.void=110,t.while=111,t.with=112,t.yield=121,t.async=126,t.await=127,t.of=152,t),i=e.createMapFromTemplate(n),a=e.createMapFromTemplate(c(c({},n),{"{":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,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":74,"@":59,"`":61})),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,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],s=[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],u=[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],l=[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],_=[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],d=[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];function p(e,t){if(e=2?_:1===t?u:o)}e.isUnicodeIdentifierStart=f;var g,m=(g=[],a.forEach((function(e,t){g[e]=t})),g);function y(e){for(var t=new Array,r=0,n=0;r127&&S(i)&&(t.push(n),n=r)}}return t.push(n),t}function v(t,r,n,i,a){(r<0||r>=t.length)&&(a?r=r<0?0:r>=t.length?t.length-1:r:e.Debug.fail("Bad line number. Line: "+r+", lineStarts.length: "+t.length+" , line map is correct? "+(void 0!==i?e.arraysEqual(t,y(i)):"unknown")));var o=t[r]+n;return a?o>t[r+1]?t[r+1]:"string"==typeof i&&o>i.length?i.length:o:(r=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function S(e){return 10===e||13===e||8232===e||8233===e}function C(e){return e>=48&&e<=57}function T(e){return e>=48&&e<=55}e.tokenToString=function(e){return m[e]},e.stringToToken=function(e){return a.get(e)},e.computeLineStarts=y,e.getPositionOfLineAndCharacter=function(e,t,r,n){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,n):v(h(e),t,r,e.text,n)},e.computePositionOfLineAndCharacter=v,e.getLineStarts=h,e.computeLineAndCharacterOfPosition=b,e.getLineAndCharacterOfPosition=function(e,t){return b(h(e),t)},e.isWhiteSpaceLike=x,e.isWhiteSpaceSingleLine=D,e.isLineBreak=S,e.isOctalDigit=T,e.couldStartTrivia=function(e,t){var r=e.charCodeAt(t);switch(r){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===t;default:return r>127}},e.skipTrivia=function(t,r,n,i){if(void 0===i&&(i=!1),e.positionIsSynthesized(r))return r;for(;;){var a=t.charCodeAt(r);switch(a){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)return r;continue;case 9:case 11:case 12:case 32:r++;continue;case 47:if(i)break;if(47===t.charCodeAt(r+1)){for(r+=2;r127&&x(a)){r++;continue}}return r}};var k="<<<<<<<".length;function E(t,r){if(e.Debug.assert(r>=0),0===r||S(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+k=0&&r127&&x(g)){_&&S(g)&&(l=!0),r++;continue}break e}}return _&&(p=i(s,c,u,l,a,p)),p}function I(e,t,r,n,i){return w(!0,e,t,!1,r,n,i)}function O(e,t,r,n,i){return w(!0,e,t,!0,r,n,i)}function M(e,t,r,n,i,a){return a||(a=[]),a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),a}function L(e){var t=A.exec(e);if(t)return t[0]}function R(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&f(e,t)}function B(e,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&function(e,t){return p(e,t>=2?d:1===t?l:s)}(e,t)}e.isShebangTrivia=F,e.scanShebangTrivia=P,e.forEachLeadingCommentRange=function(e,t,r,n){return w(!1,e,t,!1,r,n)},e.forEachTrailingCommentRange=function(e,t,r,n){return w(!1,e,t,!0,r,n)},e.reduceEachLeadingCommentRange=I,e.reduceEachTrailingCommentRange=O,e.getLeadingCommentRanges=function(e,t){return I(e,t,M,void 0,void 0)},e.getTrailingCommentRanges=function(e,t){return O(e,t,M,void 0,void 0)},e.getShebang=L,e.isIdentifierStart=R,e.isIdentifierPart=B,e.isIdentifierText=function(e,t){var r=j(e,0);if(!R(r,t))return!1;for(var n=J(r);n112},isReservedWord:function(){return f>=77&&f<=112},isUnterminated:function(){return 0!=(4&m)},getTokenFlags:function(){return m},reScanGreaterToken:function(){if(31===f){if(62===y.charCodeAt(l))return 62===y.charCodeAt(l+1)?61===y.charCodeAt(l+2)?(l+=3,f=71):(l+=2,f=49):61===y.charCodeAt(l+1)?(l+=2,f=70):(l++,f=48);if(61===y.charCodeAt(l))return l++,f=33}return f},reScanSlashToken:function(){if(43===f||67===f){for(var r=p+1,n=!1,i=!1;;){if(r>=_){m|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}var a=y.charCodeAt(r);if(S(a)){m|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}if(n)n=!1;else{if(47===a&&!i){r++;break}91===a?i=!0:92===a?n=!0:93===a&&(i=!1)}r++}for(;r<_&&B(y.charCodeAt(r),t);)r++;l=r,g=y.substring(p,l),f=13}return f},reScanTemplateToken:function(){return e.Debug.assert(19===f,"'reScanTemplateToken' should only be called on a '}'"),l=p,f=K()},scanJsxIdentifier:function(){if(r(f))for(;l<_;){if(45!==y.charCodeAt(l)){var e=l;if(g+=Q(),l===e)break}else g+="-",l++}return f},scanJsxAttributeValue:te,reScanJsxAttributeValue:function(){return l=p=d,te()},reScanJsxToken:function(){return l=p=d,f=ee()},reScanLessThanToken:function(){if(47===f)return l=p+1,f=29;return f},reScanQuestionToken:function(){return e.Debug.assert(60===f,"'reScanQuestionToken' should only be called on a '??'"),l=p+1,f=57},scanJsxToken:ee,scanJsDocToken:function(){if(d=p=l,m=0,l>=_)return f=1;var e=j(y,l);switch(l+=J(e),e){case 9:case 11:case 12:case 32:for(;l<_&&D(y.charCodeAt(l));)l++;return f=5;case 64:return f=59;case 10:case 13:return m|=1,f=4;case 42:return f=41;case 123:return f=18;case 125:return f=19;case 91:return f=22;case 93:return f=23;case 60:return f=29;case 62:return f=31;case 61:return f=62;case 44:return f=27;case 46:return f=24;case 96:return f=61;case 92:l--;var r=G();if(r>=0&&R(r,t))return l+=3,m|=8,g=W()+Q(),f=X();var n=H();return n>=0&&R(n,t)?(l+=6,m|=1024,g=String.fromCharCode(n)+Q(),f=X()):(l++,f=0)}if(R(e,t)){for(var i=e;l<_&&B(i=j(y,l),t)||45===y.charCodeAt(l);)l+=J(i);return g=y.substring(p,l),92===i&&(g+=Q()),f=X()}return f=0},scan:$,getText:function(){return y},setText:ne,setScriptTarget:function(e){t=e},setLanguageVariant:function(e){a=e},setOnError:function(e){s=e},setTextPos:ie,setInJSDocType:function(e){v+=e?1:-1},tryScan:function(e){return re(e,!1)},lookAhead:function(e){return re(e,!0)},scanRange:function(e,t,r){var n=_,i=l,a=d,o=p,s=f,c=g,u=m;ne(y,e,t);var v=r();return _=n,l=i,d=a,p=o,f=s,g=c,m=u,v}};return e.Debug.isDebugging&&Object.defineProperty(h,"__debugShowCurrentPositionInText",{get:function(){var e=h.getText();return e.slice(0,h.getStartPos())+"â•‘"+e.slice(h.getStartPos())}}),h;function b(e,t,r){if(void 0===t&&(t=l),s){var n=l;l=t,s(e,r||0),l=n}}function k(){for(var t=l,r=!1,n=!1,i="";;){var a=y.charCodeAt(l);if(95!==a){if(!C(a))break;r=!0,n=!1,l++}else m|=512,r?(r=!1,n=!0,i+=y.substring(t,l)):b(n?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),t=++l}return 95===y.charCodeAt(l-1)&&b(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),i+y.substring(t,l)}function A(){var t,r,n=l,i=k();46===y.charCodeAt(l)&&(l++,t=k());var a,o=l;if(69===y.charCodeAt(l)||101===y.charCodeAt(l)){l++,m|=16,43!==y.charCodeAt(l)&&45!==y.charCodeAt(l)||l++;var s=l,c=k();c?(r=y.substring(o,s)+c,o=l):b(e.Diagnostics.Digit_expected)}if(512&m?(a=i,t&&(a+="."+t),r&&(a+=r)):a=y.substring(n,o),void 0!==t||16&m)return w(n,void 0===t&&!!(16&m)),{type:8,value:""+ +a};g=a;var u=Z();return w(n),{type:u,value:g}}function w(r,n){if(R(j(y,l),t)){var i=l,a=Q().length;1===a&&"n"===y[i]?b(n?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,r,i-r+1):(b(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,i,a),l=i)}}function I(){for(var e=l;T(y.charCodeAt(l));)l++;return+y.substring(e,l)}function O(e,t){var r=L(e,!1,t);return r?parseInt(r,16):-1}function M(e,t){return L(e,!0,t)}function L(t,r,n){for(var i=[],a=!1,o=!1;i.length=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;i.push(s),l++,o=!1}}return i.length=_){n+=y.substring(i,l),m|=4,b(e.Diagnostics.Unterminated_string_literal);break}var a=y.charCodeAt(l);if(a===r){n+=y.substring(i,l),l++;break}if(92!==a||t){if(S(a)&&!t){n+=y.substring(i,l),m|=4,b(e.Diagnostics.Unterminated_string_literal);break}l++}else n+=y.substring(i,l),n+=V(),i=l}return n}function K(){for(var t,r=96===y.charCodeAt(l),n=++l,i="";;){if(l>=_){i+=y.substring(n,l),m|=4,b(e.Diagnostics.Unterminated_template_literal),t=r?14:17;break}var a=y.charCodeAt(l);if(96===a){i+=y.substring(n,l),l++,t=r?14:17;break}if(36===a&&l+1<_&&123===y.charCodeAt(l+1)){i+=y.substring(n,l),l+=2,t=r?15:16;break}92!==a?13!==a?l++:(i+=y.substring(n,l),++l<_&&10===y.charCodeAt(l)&&l++,i+="\n",n=l):(i+=y.substring(n,l),i+=V(),n=l)}return e.Debug.assert(void 0!==t),g=i,t}function V(){if(++l>=_)return b(e.Diagnostics.Unexpected_end_of_text),"";var t=y.charCodeAt(l);switch(l++,t){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return l<_&&123===y.charCodeAt(l)?(m|=8,l++,W()):(m|=1024,q(4));case 120:return q(2);case 13:l<_&&10===y.charCodeAt(l)&&l++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(t)}}function q(t){var r=O(t,!1);return r>=0?String.fromCharCode(r):(b(e.Diagnostics.Hexadecimal_digit_expected),"")}function W(){var t=M(1,!1),r=t?parseInt(t,16):-1,n=!1;return r<0?(b(e.Diagnostics.Hexadecimal_digit_expected),n=!0):r>1114111&&(b(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),l>=_?(b(e.Diagnostics.Unexpected_end_of_text),n=!0):125===y.charCodeAt(l)?l++:(b(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":U(r)}function H(){if(l+5<_&&117===y.charCodeAt(l+1)){var e=l;l+=2;var t=O(4,!1);return l=e,t}return-1}function G(){if(t>=2&&117===j(y,l+1)&&123===j(y,l+2)){var e=l;l+=3;var r=M(1,!1),n=r?parseInt(r,16):-1;return l=e,n}return-1}function Q(){for(var e="",r=l;l<_;){var n=j(y,l);if(B(n,t))l+=J(n);else{if(92!==n)break;if((n=G())>=0&&B(n,t)){l+=3,m|=8,e+=W(),r=l;continue}if(!((n=H())>=0&&B(n,t)))break;m|=1024,e+=y.substring(r,l),e+=U(n),r=l+=6}}return e+=y.substring(r,l)}function X(){var e=g.length;if(e>=2&&e<=11){var t=g.charCodeAt(0);if(t>=97&&t<=122){var r=i.get(g);if(void 0!==r)return f=r}}return f=75}function Y(t){for(var r="",n=!1,i=!1;;){var a=y.charCodeAt(l);if(95!==a){if(n=!0,!C(a)||a-48>=t)break;r+=y[l],l++,i=!1}else m|=512,n?(n=!1,i=!0):b(i?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),l++}return 95===y.charCodeAt(l-1)&&b(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),r}function Z(){if(110===y.charCodeAt(l))return g+="n",384&m&&(g=e.parsePseudoBigInt(g)+"n"),l++,9;var t=128&m?parseInt(g.slice(2),2):256&m?parseInt(g.slice(2),8):+g;return g=""+t,8}function $(){var r;d=l,m=0;for(var i=!1;;){if(p=l,l>=_)return f=1;var o=j(y,l);if(35===o&&0===l&&F(y,l)){if(l=P(y,l),n)continue;return f=6}switch(o){case 10:case 13:if(m|=1,n){l++;continue}return 13===o&&l+1<_&&10===y.charCodeAt(l+1)?l+=2:l++,f=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(n){l++;continue}for(;l<_&&D(y.charCodeAt(l));)l++;return f=5;case 33:return 61===y.charCodeAt(l+1)?61===y.charCodeAt(l+2)?(l+=3,f=37):(l+=2,f=35):(l++,f=53);case 34:case 39:return g=z(),f=10;case 96:return f=K();case 37:return 61===y.charCodeAt(l+1)?(l+=2,f=68):(l++,f=44);case 38:return 38===y.charCodeAt(l+1)?(l+=2,f=55):61===y.charCodeAt(l+1)?(l+=2,f=72):(l++,f=50);case 40:return l++,f=20;case 41:return l++,f=21;case 42:if(61===y.charCodeAt(l+1))return l+=2,f=65;if(42===y.charCodeAt(l+1))return 61===y.charCodeAt(l+2)?(l+=3,f=66):(l+=2,f=42);if(l++,v&&!i&&1&m){i=!0;continue}return f=41;case 43:return 43===y.charCodeAt(l+1)?(l+=2,f=45):61===y.charCodeAt(l+1)?(l+=2,f=63):(l++,f=39);case 44:return l++,f=27;case 45:return 45===y.charCodeAt(l+1)?(l+=2,f=46):61===y.charCodeAt(l+1)?(l+=2,f=64):(l++,f=40);case 46:return C(y.charCodeAt(l+1))?(g=A().value,f=8):46===y.charCodeAt(l+1)&&46===y.charCodeAt(l+2)?(l+=3,f=25):(l++,f=24);case 47:if(47===y.charCodeAt(l+1)){for(l+=2;l<_&&!S(y.charCodeAt(l));)l++;if(n)continue;return f=2}if(42===y.charCodeAt(l+1)){l+=2,42===y.charCodeAt(l)&&47!==y.charCodeAt(l+1)&&(m|=2);for(var s=!1;l<_;){var c=y.charCodeAt(l);if(42===c&&47===y.charCodeAt(l+1)){l+=2,s=!0;break}S(c)&&(m|=1),l++}if(s||b(e.Diagnostics.Asterisk_Slash_expected),n)continue;return s||(m|=4),f=3}return 61===y.charCodeAt(l+1)?(l+=2,f=67):(l++,f=43);case 48:if(l+2<_&&(88===y.charCodeAt(l+1)||120===y.charCodeAt(l+1)))return l+=2,(g=M(1,!0))||(b(e.Diagnostics.Hexadecimal_digit_expected),g="0"),g="0x"+g,m|=64,f=Z();if(l+2<_&&(66===y.charCodeAt(l+1)||98===y.charCodeAt(l+1)))return l+=2,(g=Y(2))||(b(e.Diagnostics.Binary_digit_expected),g="0"),g="0b"+g,m|=128,f=Z();if(l+2<_&&(79===y.charCodeAt(l+1)||111===y.charCodeAt(l+1)))return l+=2,(g=Y(8))||(b(e.Diagnostics.Octal_digit_expected),g="0"),g="0o"+g,m|=256,f=Z();if(l+1<_&&T(y.charCodeAt(l+1)))return g=""+I(),m|=32,f=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r=A(),f=r.type,g=r.value,f;case 58:return l++,f=58;case 59:return l++,f=26;case 60:if(E(y,l)){if(l=N(y,l,b),n)continue;return f=7}return 60===y.charCodeAt(l+1)?61===y.charCodeAt(l+2)?(l+=3,f=69):(l+=2,f=47):61===y.charCodeAt(l+1)?(l+=2,f=32):1===a&&47===y.charCodeAt(l+1)&&42!==y.charCodeAt(l+2)?(l+=2,f=30):(l++,f=29);case 61:if(E(y,l)){if(l=N(y,l,b),n)continue;return f=7}return 61===y.charCodeAt(l+1)?61===y.charCodeAt(l+2)?(l+=3,f=36):(l+=2,f=34):62===y.charCodeAt(l+1)?(l+=2,f=38):(l++,f=62);case 62:if(E(y,l)){if(l=N(y,l,b),n)continue;return f=7}return l++,f=31;case 63:return l++,46!==y.charCodeAt(l)||C(y.charCodeAt(l+1))?63===y.charCodeAt(l)?(l++,f=60):f=57:(l++,f=28);case 91:return l++,f=22;case 93:return l++,f=23;case 94:return 61===y.charCodeAt(l+1)?(l+=2,f=74):(l++,f=52);case 123:return l++,f=18;case 124:if(E(y,l)){if(l=N(y,l,b),n)continue;return f=7}return 124===y.charCodeAt(l+1)?(l+=2,f=56):61===y.charCodeAt(l+1)?(l+=2,f=73):(l++,f=51);case 125:return l++,f=19;case 126:return l++,f=54;case 64:return l++,f=59;case 92:var u=G();if(u>=0&&R(u,t))return l+=3,m|=8,g=W()+Q(),f=X();var h=H();return h>=0&&R(h,t)?(l+=6,m|=1024,g=String.fromCharCode(h)+Q(),f=X()):(b(e.Diagnostics.Invalid_character),l++,f=0);case 35:if(0!==l&&"!"===y[l+1])return b(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),l++,f=0;if(l++,R(o=y.charCodeAt(l),t)){for(l++;l<_&&B(o=y.charCodeAt(l),t);)l++;g=y.substring(p,l),92===o&&(g+=Q())}else g="#",b(e.Diagnostics.Invalid_character);return f=76;default:if(R(o,t)){for(l+=J(o);l<_&&B(o=j(y,l),t);)l+=J(o);return g=y.substring(p,l),92===o&&(g+=Q()),f=X()}if(D(o)){l+=J(o);continue}if(S(o)){m|=1,l+=J(o);continue}return b(e.Diagnostics.Invalid_character),l+=J(o),f=0}}}function ee(){if(d=p=l,l>=_)return f=1;var e=y.charCodeAt(l);if(60===e)return 47===y.charCodeAt(l+1)?(l+=2,f=30):(l++,f=29);if(123===e)return l++,f=18;for(var t=0,r=-1;l<_&&(D(e)||(r=l),123!==(e=y.charCodeAt(l)));){if(60===e){if(E(y,l))return l=N(y,l,b),f=7;break}r>0&&r++,S(e)&&0===t?t=-1:x(e)||(t=l),l++}var n=-1===r?l:r;return g=y.substring(d,n),-1===t?12:11}function te(){switch(d=l,y.charCodeAt(l)){case 34:case 39:return g=z(!0),f=10;default:return $()}}function re(e,t){var r=l,n=d,i=p,a=f,o=g,s=m,c=e();return c&&!t||(l=r,d=n,p=i,f=a,g=o,m=s),c}function ne(e,t,r){y=e||"",_=void 0===r?y.length:t+r,ie(t||0)}function ie(t){e.Debug.assert(t>=0),l=t,d=t,p=t,f=0,g=void 0,m=0}};var j=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n=e.charCodeAt(t);if(n>=55296&&n<=56319&&r>t+1){var i=e.charCodeAt(t+1);if(i>=56320&&i<=57343)return 1024*(n-55296)+i-56320+65536}return n}};function J(e){return e>=65536?2:1}var z=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var r=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(r,n)};function U(e){return z(e)}e.utf16EncodeAsString=U}(p||(p={})),function(e){function t(e){return e.start+e.length}function r(e){return 0===e.length}function n(e,t){var r=a(e,t);return r&&0===r.length?void 0:r}function i(e,t,r,n){return r<=e+t&&r+n>=e}function a(e,r){var n=Math.max(e.start,r.start),i=Math.min(t(e),t(r));return n<=i?s(n,i):void 0}function o(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function s(e,t){return o(e,t-e)}function c(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function u(t){return!!Be(t)&&e.every(t.elements,l)}function l(e){return!!H(e)||u(e.name)}function _(e){for(var t=e.parent;R(t.parent);)t=t.parent.parent;return t.parent}function d(e,t){R(e)&&(e=_(e));var r=t(e);return 242===e.kind&&(e=e.parent),e&&243===e.kind&&(r|=t(e),e=e.parent),e&&225===e.kind&&(r|=t(e)),r}function p(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!t||t(e)?e:void 0}function f(e){return 0==(8&e.flags)}function g(e){var t=e;return t.length>=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function m(e){return g(e.escapedText)}function y(e){var t=e.parent.parent;if(t){if(Qe(t))return v(t);switch(t.kind){case 225:if(t.declarationList&&t.declarationList.declarations[0])return v(t.declarationList.declarations[0]);break;case 226:var r=t.expression;switch(209===r.kind&&62===r.operatorToken.kind&&(r=r.left),r.kind){case 194:return r.name;case 195:var n=r.argumentExpression;if(A(n))return n}break;case 200:return v(t.expression);case 238:if(Qe(t.statement)||Ke(t.statement))return v(t.statement)}}}function v(e){var t=D(e);return t&&A(t)?t:void 0}function h(e){return e.name||y(e)}function b(e){return!!e.name}function x(t){switch(t.kind){case 75:return t;case 322:case 316:var r=t.name;if(153===r.kind)return r.right;break;case 196:case 209:var n=t;switch(e.getAssignmentDeclarationKind(n)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}case 321:return h(t);case 315:return y(t);case 259:var i=t.expression;return A(i)?i:void 0;case 195:var a=t;if(e.isBindableStaticElementAccessExpression(a))return a.argumentExpression}return t.name}function D(t){if(void 0!==t)return x(t)||(V(t)||W(t)?function(t){if(!t.parent)return;if(se(t.parent)||R(t.parent))return t.parent.name;if(q(t.parent)&&t===t.parent.right){if(A(t.parent.left))return t.parent.left;if(e.isAccessExpression(t.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(t.parent.left)}else if($(t.parent)&&A(t.parent.name))return t.parent.name}(t):void 0)}function S(t){if(t.name){if(A(t.name)){var r=t.name.escapedText;return E(t.parent).filter((function(e){return he(e)&&A(e.name)&&e.name.escapedText===r}))}var n=t.parent.parameters.indexOf(t);e.Debug.assert(n>-1,"Parameters should always be in their parents' parameter list");var i=E(t.parent).filter(he);if(n=153}function ke(e){return 8<=e&&e<=14}function Ee(e){return 14<=e&&e<=17}function Ne(e){return w(e)&&F(e.name)}function Ae(e){switch(e){case 122:case 126:case 81:case 130:case 84:case 89:case 119:case 117:case 118:case 138:case 120:return!0}return!1}function Fe(t){return!!(92&e.modifierToFlag(t))}function Pe(e){return e&&Ie(e.kind)}function we(e){switch(e){case 244:case 161:case 162:case 163:case 164:case 201:case 202:return!0;default:return!1}}function Ie(e){switch(e){case 160:case 165:case 305:case 166:case 167:case 170:case 300:case 171:return!0;default:return we(e)}}function Oe(e){var t=e.kind;return 162===t||159===t||161===t||163===t||164===t||167===t||222===t}function Me(e){return e&&(245===e.kind||214===e.kind)}function Le(e){var t=e.kind;return 166===t||165===t||158===t||160===t||167===t}function Re(e){var t=e.kind;return 281===t||282===t||283===t||161===t||163===t||164===t}function Be(e){if(e){var t=e.kind;return 190===t||189===t}return!1}function je(e){switch(e.kind){case 189:case 193:return!0}return!1}function Je(e){switch(e.kind){case 190:case 192:return!0}return!1}function ze(e){switch(e){case 194:case 195:case 197:case 196:case 266:case 267:case 270:case 198:case 192:case 200:case 193:case 214:case 201:case 75:case 13:case 8:case 9:case 10:case 14:case 211:case 91:case 100:case 104:case 106:case 102:case 218:case 219:case 96:return!0;default:return!1}}function Ue(e){switch(e){case 207:case 208:case 203:case 204:case 205:case 206:case 199:return!0;default:return ze(e)}}function Ke(e){return function(e){switch(e){case 210:case 212:case 202:case 209:case 213:case 217:case 215:case 326:case 325:return!0;default:return Ue(e)}}(K(e).kind)}function Ve(e){return 325===e.kind}function qe(e){return 324===e.kind}function We(e){return ne(e)||ie(e)}function He(e){return 244===e||264===e||245===e||246===e||247===e||248===e||249===e||254===e||253===e||260===e||259===e||252===e}function Ge(e){return 234===e||233===e||241===e||228===e||226===e||224===e||231===e||232===e||230===e||227===e||238===e||235===e||237===e||239===e||240===e||225===e||229===e||236===e||324===e||328===e||327===e}function Qe(t){return 155===t.kind?t.parent&&320!==t.parent.kind||e.isInJSFile(t):202===(r=t.kind)||191===r||245===r||214===r||162===r||248===r||284===r||263===r||244===r||201===r||163===r||255===r||253===r||258===r||246===r||273===r||161===r||160===r||249===r||252===r||256===r||262===r||156===r||281===r||159===r||158===r||164===r||282===r||247===r||155===r||242===r||321===r||314===r||322===r;var r}function Xe(e){return e.kind>=306&&e.kind<=322}function Ye(e){return!!e.initializer}e.isExternalModuleNameRelative=function(t){return e.pathIsRelative(t)||e.isRootedDiskPath(t)},e.sortAndDeduplicateDiagnostics=function(t){return e.sortAndDeduplicate(t,e.compareDiagnostics)},e.getDefaultLibFileName=function(e){switch(e.target){case 99:return"lib.esnext.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=t,e.textSpanIsEmpty=r,e.textSpanContainsPosition=function(e,r){return r>=e.start&&r=e.pos&&t<=e.end},e.textSpanContainsTextSpan=function(e,r){return r.start>=e.start&&t(r)<=t(e)},e.textSpanOverlapsWith=function(e,t){return void 0!==n(e,t)},e.textSpanOverlap=n,e.textSpanIntersectsWithTextSpan=function(e,t){return i(e.start,e.length,t.start,t.length)},e.textSpanIntersectsWith=function(e,t,r){return i(e.start,e.length,t,r)},e.decodedTextSpanIntersectsWith=i,e.textSpanIntersectsWithPosition=function(e,r){return r<=t(e)&&r>=e.start},e.textSpanIntersection=a,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return r(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(r){if(0===r.length)return e.unchangedTextChangeRange;if(1===r.length)return r[0];for(var n=r[0],i=n.span.start,a=t(n.span),o=i+n.newLength,u=1;u=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=g,e.idText=m,e.symbolName=function(e){return e.valueDeclaration&&Ne(e.valueDeclaration)?m(e.valueDeclaration.name):g(e.escapedName)},e.nodeHasName=function t(r,n){return!(!b(r)||!A(r.name)||m(r.name)!==m(n))||!(!Q(r)||!e.some(r.declarationList.declarations,(function(e){return t(e,n)})))},e.getNameOfJSDocTypedef=h,e.isNamedDeclaration=b,e.getNonAssignedNameOfDeclaration=x,e.getNameOfDeclaration=D,e.getJSDocParameterTags=S,e.getJSDocTypeParameterTags=function(e){var t=e.name.escapedText;return E(e.parent).filter((function(e){return De(e)&&e.typeParameters.some((function(e){return e.name.escapedText===t}))}))},e.hasJSDocParameterTags=function(e){return!!N(e,he)},e.getJSDocAugmentsTag=function(e){return N(e,_e)},e.getJSDocClassTag=function(e){return N(e,de)},e.getJSDocPublicTag=function(e){return N(e,pe)},e.getJSDocPrivateTag=function(e){return N(e,fe)},e.getJSDocProtectedTag=function(e){return N(e,ge)},e.getJSDocReadonlyTag=function(e){return N(e,me)},e.getJSDocEnumTag=function(e){return N(e,ye)},e.getJSDocThisTag=function(e){return N(e,ve)},e.getJSDocReturnTag=C,e.getJSDocTemplateTag=function(e){return N(e,De)},e.getJSDocTypeTag=T,e.getJSDocType=k,e.getJSDocReturnType=function(t){var r=C(t);if(r&&r.typeExpression)return r.typeExpression.type;var n=T(t);if(n&&n.typeExpression){var i=n.typeExpression.type;if(L(i)){var a=e.find(i.members,I);return a&&a.type}if(M(i))return i.type}},e.getJSDocTags=E,e.getAllJSDocTagsOfKind=function(e,t){return E(e).filter((function(e){return e.kind===t}))},e.getEffectiveTypeParameterDeclarations=function(t){if(Ce(t))return e.emptyArray;if(e.isJSDocTypeAlias(t))return e.Debug.assert(303===t.parent.kind),e.flatMap(t.parent.tags,(function(e){return De(e)?e.typeParameters:void 0}));if(t.typeParameters)return t.typeParameters;if(e.isInJSFile(t)){var r=e.getJSDocTypeParameterDeclarations(t);if(r.length)return r;var n=k(t);if(n&&M(n)&&n.typeParameters)return n.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(e){return e.constraint?e.constraint:De(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0},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.isIdentifier=A,e.isQualifiedName=function(e){return 153===e.kind},e.isComputedPropertyName=function(e){return 154===e.kind},e.isPrivateIdentifier=F,e.isIdentifierOrPrivateIdentifier=function(e){return 75===e.kind||76===e.kind},e.isTypeParameterDeclaration=function(e){return 155===e.kind},e.isParameter=P,e.isDecorator=function(e){return 157===e.kind},e.isPropertySignature=function(e){return 158===e.kind},e.isPropertyDeclaration=w,e.isMethodSignature=function(e){return 160===e.kind},e.isMethodDeclaration=function(e){return 161===e.kind},e.isConstructorDeclaration=function(e){return 162===e.kind},e.isGetAccessorDeclaration=function(e){return 163===e.kind},e.isSetAccessorDeclaration=function(e){return 164===e.kind},e.isCallSignatureDeclaration=I,e.isConstructSignatureDeclaration=function(e){return 166===e.kind},e.isIndexSignatureDeclaration=function(e){return 167===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 164===e.kind||163===e.kind},e.isTypePredicateNode=function(e){return 168===e.kind},e.isTypeReferenceNode=O,e.isFunctionTypeNode=M,e.isConstructorTypeNode=function(e){return 171===e.kind},e.isTypeQueryNode=function(e){return 172===e.kind},e.isTypeLiteralNode=L,e.isArrayTypeNode=function(e){return 174===e.kind},e.isTupleTypeNode=function(e){return 175===e.kind},e.isUnionTypeNode=function(e){return 178===e.kind},e.isIntersectionTypeNode=function(e){return 179===e.kind},e.isConditionalTypeNode=function(e){return 180===e.kind},e.isInferTypeNode=function(e){return 181===e.kind},e.isParenthesizedTypeNode=function(e){return 182===e.kind},e.isThisTypeNode=function(e){return 183===e.kind},e.isTypeOperatorNode=function(e){return 184===e.kind},e.isIndexedAccessTypeNode=function(e){return 185===e.kind},e.isMappedTypeNode=function(e){return 186===e.kind},e.isLiteralTypeNode=function(e){return 187===e.kind},e.isImportTypeNode=function(e){return 188===e.kind},e.isObjectBindingPattern=function(e){return 189===e.kind},e.isArrayBindingPattern=function(e){return 190===e.kind},e.isBindingElement=R,e.isArrayLiteralExpression=function(e){return 192===e.kind},e.isObjectLiteralExpression=function(e){return 193===e.kind},e.isPropertyAccessExpression=B,e.isPropertyAccessChain=function(e){return B(e)&&!!(32&e.flags)},e.isElementAccessExpression=j,e.isElementAccessChain=function(e){return j(e)&&!!(32&e.flags)},e.isCallExpression=J,e.isCallChain=function(e){return J(e)&&!!(32&e.flags)},e.isOptionalChain=z,e.isOptionalChainRoot=U,e.isExpressionOfOptionalChainRoot=function(e){return U(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!z(e.parent)||U(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 209===e.kind&&60===e.operatorToken.kind},e.isNewExpression=function(e){return 197===e.kind},e.isTaggedTemplateExpression=function(e){return 198===e.kind},e.isTypeAssertion=function(e){return 199===e.kind},e.isConstTypeReference=function(e){return O(e)&&A(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments},e.isParenthesizedExpression=function(e){return 200===e.kind},e.skipPartiallyEmittedExpressions=K,e.isFunctionExpression=V,e.isArrowFunction=function(e){return 202===e.kind},e.isDeleteExpression=function(e){return 203===e.kind},e.isTypeOfExpression=function(e){return 204===e.kind},e.isVoidExpression=function(e){return 205===e.kind},e.isAwaitExpression=function(e){return 206===e.kind},e.isPrefixUnaryExpression=function(e){return 207===e.kind},e.isPostfixUnaryExpression=function(e){return 208===e.kind},e.isBinaryExpression=q,e.isConditionalExpression=function(e){return 210===e.kind},e.isTemplateExpression=function(e){return 211===e.kind},e.isYieldExpression=function(e){return 212===e.kind},e.isSpreadElement=function(e){return 213===e.kind},e.isClassExpression=W,e.isOmittedExpression=H,e.isExpressionWithTypeArguments=function(e){return 216===e.kind},e.isAsExpression=function(e){return 217===e.kind},e.isNonNullExpression=function(e){return 218===e.kind},e.isMetaProperty=function(e){return 219===e.kind},e.isTemplateSpan=function(e){return 221===e.kind},e.isSemicolonClassElement=function(e){return 222===e.kind},e.isBlock=G,e.isVariableStatement=Q,e.isEmptyStatement=function(e){return 224===e.kind},e.isExpressionStatement=function(e){return 226===e.kind},e.isIfStatement=function(e){return 227===e.kind},e.isDoStatement=function(e){return 228===e.kind},e.isWhileStatement=function(e){return 229===e.kind},e.isForStatement=X,e.isForInStatement=Y,e.isForOfStatement=Z,e.isContinueStatement=function(e){return 233===e.kind},e.isBreakStatement=function(e){return 234===e.kind},e.isBreakOrContinueStatement=function(e){return 234===e.kind||233===e.kind},e.isReturnStatement=function(e){return 235===e.kind},e.isWithStatement=function(e){return 236===e.kind},e.isSwitchStatement=function(e){return 237===e.kind},e.isLabeledStatement=function(e){return 238===e.kind},e.isThrowStatement=function(e){return 239===e.kind},e.isTryStatement=function(e){return 240===e.kind},e.isDebuggerStatement=function(e){return 241===e.kind},e.isVariableDeclaration=$,e.isVariableDeclarationList=ee,e.isFunctionDeclaration=function(e){return 244===e.kind},e.isClassDeclaration=function(e){return 245===e.kind},e.isInterfaceDeclaration=function(e){return 246===e.kind},e.isTypeAliasDeclaration=function(e){return 247===e.kind},e.isEnumDeclaration=function(e){return 248===e.kind},e.isModuleDeclaration=function(e){return 249===e.kind},e.isModuleBlock=te,e.isCaseBlock=function(e){return 251===e.kind},e.isNamespaceExportDeclaration=function(e){return 252===e.kind},e.isImportEqualsDeclaration=function(e){return 253===e.kind},e.isImportDeclaration=function(e){return 254===e.kind},e.isImportClause=function(e){return 255===e.kind},e.isNamespaceImport=function(e){return 256===e.kind},e.isNamespaceExport=function(e){return 262===e.kind},e.isNamedExportBindings=function(e){return 262===e.kind||261===e.kind},e.isNamedImports=function(e){return 257===e.kind},e.isImportSpecifier=re,e.isExportAssignment=ne,e.isExportDeclaration=ie,e.isNamedExports=function(e){return 261===e.kind},e.isExportSpecifier=ae,e.isMissingDeclaration=function(e){return 264===e.kind},e.isExternalModuleReference=function(e){return 265===e.kind},e.isJsxElement=function(e){return 266===e.kind},e.isJsxSelfClosingElement=function(e){return 267===e.kind},e.isJsxOpeningElement=function(e){return 268===e.kind},e.isJsxClosingElement=function(e){return 269===e.kind},e.isJsxFragment=function(e){return 270===e.kind},e.isJsxOpeningFragment=function(e){return 271===e.kind},e.isJsxClosingFragment=function(e){return 272===e.kind},e.isJsxAttribute=oe,e.isJsxAttributes=function(e){return 274===e.kind},e.isJsxSpreadAttribute=function(e){return 275===e.kind},e.isJsxExpression=function(e){return 276===e.kind},e.isCaseClause=function(e){return 277===e.kind},e.isDefaultClause=function(e){return 278===e.kind},e.isHeritageClause=function(e){return 279===e.kind},e.isCatchClause=function(e){return 280===e.kind},e.isPropertyAssignment=se,e.isShorthandPropertyAssignment=function(e){return 282===e.kind},e.isSpreadAssignment=function(e){return 283===e.kind},e.isEnumMember=function(e){return 284===e.kind},e.isSourceFile=ce,e.isBundle=function(e){return 291===e.kind},e.isUnparsedSource=function(e){return 292===e.kind},e.isUnparsedPrepend=function(e){return 286===e.kind},e.isUnparsedTextLike=ue,e.isUnparsedNode=function(e){return ue(e)||285===e.kind||289===e.kind},e.isJSDocTypeExpression=function(e){return 294===e.kind},e.isJSDocAllType=function(e){return 295===e.kind},e.isJSDocUnknownType=function(e){return 296===e.kind},e.isJSDocNullableType=function(e){return 297===e.kind},e.isJSDocNonNullableType=function(e){return 298===e.kind},e.isJSDocOptionalType=function(e){return 299===e.kind},e.isJSDocFunctionType=function(e){return 300===e.kind},e.isJSDocVariadicType=function(e){return 301===e.kind},e.isJSDoc=le,e.isJSDocAuthorTag=function(e){return 308===e.kind},e.isJSDocAugmentsTag=_e,e.isJSDocClassTag=de,e.isJSDocPublicTag=pe,e.isJSDocPrivateTag=fe,e.isJSDocProtectedTag=ge,e.isJSDocReadonlyTag=me,e.isJSDocEnumTag=ye,e.isJSDocThisTag=ve,e.isJSDocParameterTag=he,e.isJSDocReturnTag=be,e.isJSDocTypeTag=xe,e.isJSDocTemplateTag=De,e.isJSDocTypedefTag=function(e){return 321===e.kind},e.isJSDocPropertyTag=function(e){return 322===e.kind},e.isJSDocPropertyLikeTag=function(e){return 322===e.kind||316===e.kind},e.isJSDocTypeLiteral=Se,e.isJSDocCallbackTag=function(e){return 314===e.kind},e.isJSDocSignature=Ce,e.isSyntaxList=function(e){return 323===e.kind},e.isNode=function(e){return Te(e.kind)},e.isNodeKind=Te,e.isToken=function(e){return e.kind>=0&&e.kind<=152},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=ke,e.isLiteralExpression=function(e){return ke(e.kind)},e.isTemplateLiteralKind=Ee,e.isTemplateLiteralToken=function(e){return Ee(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var t=e.kind;return 16===t||17===t},e.isImportOrExportSpecifier=function(e){return re(e)||ae(e)},e.isTypeOnlyImportOrExportDeclaration=function(e){switch(e.kind){case 258:case 263:return e.parent.parent.isTypeOnly;case 256:return e.parent.isTypeOnly;case 255:return e.isTypeOnly;default:return!1}},e.isStringTextContainingNode=function(e){return 10===e.kind||Ee(e.kind)},e.isGeneratedIdentifier=function(e){return A(e)&&(7&e.autoGenerateFlags)>0},e.isPrivateIdentifierPropertyDeclaration=Ne,e.isPrivateIdentifierPropertyAccessExpression=function(e){return B(e)&&F(e.name)},e.isModifierKind=Ae,e.isParameterPropertyModifier=Fe,e.isClassMemberModifier=function(e){return Fe(e)||120===e},e.isModifier=function(e){return Ae(e.kind)},e.isEntityName=function(e){var t=e.kind;return 153===t||75===t},e.isPropertyName=function(e){var t=e.kind;return 75===t||10===t||8===t||154===t},e.isBindingName=function(e){var t=e.kind;return 75===t||189===t||190===t},e.isFunctionLike=Pe,e.isFunctionLikeDeclaration=function(e){return e&&we(e.kind)},e.isFunctionLikeKind=Ie,e.isFunctionOrModuleBlock=function(e){return ce(e)||te(e)||G(e)&&Pe(e.parent)},e.isClassElement=Oe,e.isClassLike=Me,e.isAccessor=function(e){return e&&(163===e.kind||164===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 161:case 163:case 164:return!0;default:return!1}},e.isTypeElement=Le,e.isClassOrTypeElement=function(e){return Le(e)||Oe(e)},e.isObjectLiteralElementLike=Re,e.isTypeNode=function(t){return e.isTypeNodeKind(t.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 170:case 171:return!0}return!1},e.isBindingPattern=Be,e.isAssignmentPattern=function(e){var t=e.kind;return 192===t||193===t},e.isArrayBindingElement=function(e){var t=e.kind;return 191===t||215===t},e.isDeclarationBindingElement=function(e){switch(e.kind){case 242:case 156:case 191:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return je(e)||Je(e)},e.isObjectBindingOrAssignmentPattern=je,e.isArrayBindingOrAssignmentPattern=Je,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var t=e.kind;return 194===t||153===t||188===t},e.isPropertyAccessOrQualifiedName=function(e){var t=e.kind;return 194===t||153===t},e.isCallLikeExpression=function(e){switch(e.kind){case 268:case 267:case 196:case 197:case 198:case 157:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 196===e.kind||197===e.kind},e.isTemplateLiteral=function(e){var t=e.kind;return 211===t||14===t},e.isLeftHandSideExpression=function(e){return ze(K(e).kind)},e.isUnaryExpression=function(e){return Ue(K(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 208:return!0;case 207:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=Ke,e.isAssertionExpression=function(e){var t=e.kind;return 199===t||217===t},e.isPartiallyEmittedExpression=Ve,e.isNotEmittedStatement=qe,e.isSyntheticReference=function(e){return 329===e.kind},e.isNotEmittedOrPartiallyEmittedNode=function(e){return qe(e)||Ve(e)},e.isIterationStatement=function e(t,r){switch(t.kind){case 230:case 231:case 232:case 228:case 229:return!0;case 238:return r&&e(t.statement,r)}return!1},e.isScopeMarker=We,e.hasScopeMarker=function(t){return e.some(t,We)},e.needsScopeMarker=function(t){return!(e.isAnyImportOrReExport(t)||ne(t)||e.hasModifier(t,1)||e.isAmbientModule(t))},e.isExternalModuleIndicator=function(t){return e.isAnyImportOrReExport(t)||ne(t)||e.hasModifier(t,1)},e.isForInOrOfStatement=function(e){return 231===e.kind||232===e.kind},e.isConciseBody=function(e){return G(e)||Ke(e)},e.isFunctionBody=function(e){return G(e)},e.isForInitializer=function(e){return ee(e)||Ke(e)},e.isModuleBody=function(e){var t=e.kind;return 250===t||249===t||75===t},e.isNamespaceBody=function(e){var t=e.kind;return 250===t||249===t},e.isJSDocNamespaceBody=function(e){var t=e.kind;return 75===t||249===t},e.isNamedImportBindings=function(e){var t=e.kind;return 257===t||256===t},e.isModuleOrEnumDeclaration=function(e){return 249===e.kind||248===e.kind},e.isDeclaration=Qe,e.isDeclarationStatement=function(e){return He(e.kind)},e.isStatementButNotDeclaration=function(e){return Ge(e.kind)},e.isStatement=function(t){var r=t.kind;return Ge(r)||He(r)||function(t){if(223!==t.kind)return!1;if(void 0!==t.parent&&(240===t.parent.kind||280===t.parent.kind))return!1;return!e.isFunctionBlock(t)}(t)},e.isModuleReference=function(e){var t=e.kind;return 265===t||153===t||75===t},e.isJsxTagNameExpression=function(e){var t=e.kind;return 104===t||75===t||194===t},e.isJsxChild=function(e){var t=e.kind;return 266===t||276===t||267===t||11===t||270===t},e.isJsxAttributeLike=function(e){var t=e.kind;return 273===t||275===t},e.isStringLiteralOrJsxExpression=function(e){var t=e.kind;return 10===t||276===t},e.isJsxOpeningLikeElement=function(e){var t=e.kind;return 268===t||267===t},e.isCaseOrDefaultClause=function(e){var t=e.kind;return 277===t||278===t},e.isJSDocNode=function(e){return e.kind>=294&&e.kind<=322},e.isJSDocCommentContainingNode=function(e){return 303===e.kind||Xe(e)||Se(e)||Ce(e)},e.isJSDocTag=Xe,e.isSetAccessor=function(e){return 164===e.kind},e.isGetAccessor=function(e){return 163===e.kind},e.hasJSDocNodes=function(e){var t=e.jsDoc;return!!t&&t.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=Ye,e.hasOnlyExpressionInitializer=function(e){return Ye(e)&&!X(e)&&!Y(e)&&!Z(e)&&!oe(e)},e.isObjectLiteralElement=function(e){return 273===e.kind||275===e.kind||Re(e)},e.isTypeReferenceType=function(e){return 169===e.kind||216===e.kind};e.guessIndentation=function(t){for(var r=1073741823,n=0,i=t;n=0);var n=e.getLineStarts(r),i=t,a=r.text;if(i+1===n.length)return a.length-1;var o=n[i],s=n[i+1]-1;for(e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));o<=s&&e.isLineBreak(a.charCodeAt(s));)s--;return s}function f(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function g(e){return!f(e)}function m(e,t,r){if(void 0===t||0===t.length)return e;for(var n=0;n0?b(t._children[0],r,n):e.skipTrivia((r||d(t)).text,t.pos)}function x(e,t,r){return void 0===r&&(r=!1),D(e.text,t,r)}function D(t,r,n){if(void 0===n&&(n=!1),f(r))return"";var i=t.substring(n?r.pos:e.skipTrivia(t,r.pos),r.end);return function(t){return!!a(t,e.isJSDocTypeExpression)}(r)&&(i=i.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),i}function S(e,t){return void 0===t&&(t=!1),x(d(e),e,t)}function C(e){return e.pos}function T(e){var t=e.emitNode;return t&&t.flags||0}function k(e){var t=dt(e);return 242===t.kind&&280===t.parent.kind}function E(t){return e.isModuleDeclaration(t)&&(10===t.name.kind||N(t))}function N(e){return!!(1024&e.flags)}function A(e){return E(e)&&F(e)}function F(t){switch(t.parent.kind){case 290:return e.isExternalModule(t.parent);case 250:return E(t.parent.parent)&&e.isSourceFile(t.parent.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function P(t,r){switch(t.kind){case 290:case 251:case 280:case 249:case 230:case 231:case 232:case 162:case 161:case 163:case 164:case 244:case 201:case 202:return!0;case 223:return!e.isFunctionLike(r)}return!1}function w(t){switch(t.kind){case 165:case 166:case 160:case 167:case 170:case 171:case 300:case 245:case 214:case 246:case 247:case 320:case 244:case 161:case 162:case 163:case 164:case 201:case 202:return!0;default:return e.assertType(t),!1}}function I(e){switch(e.kind){case 254:case 253:return!0;default:return!1}}function O(e){return e&&0!==l(e)?S(e):"(Missing)"}function M(t){switch(t.kind){case 75:case 76:return t.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(t.text);case 154:return rt(t.expression)?e.escapeLeadingUnderscores(t.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(t)}}function L(e,t,r,n,i,a,o){var s=B(e,t);return jr(e,s.start,s.length,r,n,i,a,o)}function R(t,r){var n=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,r);n.scan();var i=n.getTokenPos();return e.createTextSpanFromBounds(i,n.getTextPos())}function B(t,r){var n=r;switch(r.kind){case 290:var i=e.skipTrivia(t.text,0,!1);return i===t.text.length?e.createTextSpan(0,0):R(t,i);case 242:case 191:case 245:case 214:case 246:case 249:case 248:case 284:case 244:case 201:case 161:case 163:case 164:case 247:case 159:case 158:n=r.name;break;case 202:return function(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&223===r.body.kind){var i=e.getLineAndCharacterOfPosition(t,r.body.pos).line;if(i0?r.statements[0].pos:r.end;return e.createTextSpanFromBounds(a,o)}if(void 0===n)return R(t,r.pos);e.Debug.assert(!e.isJSDoc(n));var s=f(n),c=s||e.isJsxText(r)?n.pos:e.skipTrivia(t.text,n.pos);return s?(e.Debug.assert(c===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,n.end)}function j(e){return 6===e.scriptKind}function J(t){return!!(2&e.getCombinedNodeFlags(t))}function z(e){return 196===e.kind&&96===e.expression.kind}function U(t){return e.isImportTypeNode(t)&&e.isLiteralTypeNode(t.argument)&&e.isStringLiteral(t.argument.literal)}function K(e){return 226===e.kind&&10===e.expression.kind}e.changesAffectModuleResolution=function(e,t){return e.configFilePath!==t.configFilePath||i(e,t)},e.optionsHaveModuleResolutionChanges=i,e.findAncestor=a,e.forEachAncestor=function(t,r){for(;;){var n=r(t);if("quit"===n)return;if(void 0!==n)return n;if(e.isSourceFile(t))return;t=t.parent}},e.forEachEntry=o,e.forEachKey=function(e,t){for(var r=e.keys(),n=r.next();!n.done;n=r.next()){var i=t(n.value);if(i)return i}},e.copyEntries=u,e.arrayToSet=function(t,r){return e.arrayToMap(t,r||function(e){return e},e.returnTrue)},e.cloneMap=function(t){var r=e.createMap();return u(t,r),r},e.usingSingleLineStringWriter=function(e){var t=n.getText();try{return e(n),n.getText()}finally{n.clear(),n.writeKeyword(t)}},e.getFullWidth=l,e.getResolvedModule=function(e,t){return e&&e.resolvedModules&&e.resolvedModules.get(t)},e.setResolvedModule=function(t,r,n){t.resolvedModules||(t.resolvedModules=e.createMap()),t.resolvedModules.set(r,n)},e.setResolvedTypeReferenceDirective=function(t,r,n){t.resolvedTypeReferenceDirectiveNames||(t.resolvedTypeReferenceDirectiveNames=e.createMap()),t.resolvedTypeReferenceDirectiveNames.set(r,n)},e.projectReferenceIsEqualTo=function(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular},e.moduleResolutionIsEqualTo=function(e,t){return e.isExternalLibraryImport===t.isExternalLibraryImport&&e.extension===t.extension&&e.resolvedFileName===t.resolvedFileName&&e.originalPath===t.originalPath&&(r=e.packageId,n=t.packageId,r===n||!!r&&!!n&&r.name===n.name&&r.subModuleName===n.subModuleName&&r.version===n.version);var r,n},e.packageIdToString=function(e){var t=e.name,r=e.subModuleName;return(r?t+"/"+r:t)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,t){return e.resolvedFileName===t.resolvedFileName&&e.primary===t.primary},e.hasChangesInResolutions=function(t,r,n,i){e.Debug.assert(t.length===r.length);for(var a=0;a=0),e.getLineStarts(r)[t]},e.nodePosToString=function(t){var r=d(t),n=e.getLineAndCharacterOfPosition(r,t.pos);return r.fileName+"("+(n.line+1)+","+(n.character+1)+")"},e.getEndLinePosition=p,e.isFileLevelUniqueName=function(e,t,r){return!(r&&r(t)||e.identifiers.has(t))},e.nodeIsMissing=f,e.nodeIsPresent=g,e.insertStatementsAfterStandardPrologue=function(e,t){return m(e,t,K)},e.insertStatementsAfterCustomPrologue=function(e,t){return m(e,t,v)},e.insertStatementAfterStandardPrologue=function(e,t){return y(e,t,K)},e.insertStatementAfterCustomPrologue=function(e,t){return y(e,t,v)},e.isRecognizedTripleSlashComment=function(t,r,n){if(47===t.charCodeAt(r+1)&&r+2=e.ModuleKind.ES2015||!r.noImplicitUseStrict)))},e.isBlockScope=P,e.isDeclarationWithTypeParameters=function(t){switch(t.kind){case 314:case 321:case 305:return!0;default:return e.assertType(t),w(t)}},e.isDeclarationWithTypeParameterChildren=w,e.isAnyImportSyntax=I,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 254:case 253:case 225:case 245:case 244:case 249:case 247:case 246:case 248:return!0;default:return!1}},e.isAnyImportOrReExport=function(t){return I(t)||e.isExportDeclaration(t)},e.getEnclosingBlockScopeContainer=function(e){return a(e.parent,(function(e){return P(e,e.parent)}))},e.declarationNameToString=O,e.getNameFromIndexInfo=function(e){return e.declaration?O(e.declaration.parameters[0].name):void 0},e.getTextOfPropertyName=M,e.entityNameToString=function t(r){switch(r.kind){case 75:return 0===l(r)?e.idText(r):S(r);case 153:return t(r.left)+"."+t(r.right);case 194:return e.isIdentifier(r.name)?t(r.expression)+"."+t(r.name):e.Debug.assertNever(r.name);default:return e.Debug.assertNever(r)}},e.createDiagnosticForNode=function(e,t,r,n,i,a){return L(d(e),e,t,r,n,i,a)},e.createDiagnosticForNodeArray=function(t,r,n,i,a,o,s){var c=e.skipTrivia(t.text,r.pos);return jr(t,c,r.end-c,n,i,a,o,s)},e.createDiagnosticForNodeInSourceFile=L,e.createDiagnosticForNodeFromMessageChain=function(e,t,r){var n=d(e),i=B(n,e);return{file:n,start:i.start,length:i.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}},e.getSpanOfTokenAtPosition=R,e.getErrorSpanForNode=B,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=j,e.isEnumConst=function(t){return!!(2048&e.getCombinedModifierFlags(t))},e.isDeclarationReadonly=function(t){return!(!(64&e.getCombinedModifierFlags(t))||e.isParameterPropertyDeclaration(t,t.parent))},e.isVarConst=J,e.isLet=function(t){return!!(1&e.getCombinedNodeFlags(t))},e.isSuperCall=function(e){return 196===e.kind&&102===e.expression.kind},e.isImportCall=z,e.isImportMeta=function(t){return e.isMetaProperty(t)&&96===t.keywordToken&&"meta"===t.name.escapedText},e.isLiteralImportTypeNode=U,e.isPrologueDirective=K,e.getLeadingCommentRangesOfNode=function(t,r){return 11!==t.kind?e.getLeadingCommentRanges(r.text,t.pos):void 0},e.getJSDocCommentRanges=function(t,r){var n=156===t.kind||155===t.kind||201===t.kind||202===t.kind||200===t.kind?e.concatenate(e.getTrailingCommentRanges(r,t.pos),e.getLeadingCommentRanges(r,t.pos)):e.getLeadingCommentRanges(r,t.pos);return e.filter(n,(function(e){return 42===r.charCodeAt(e.pos+1)&&42===r.charCodeAt(e.pos+2)&&47!==r.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var V=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var q=/^(\/\/\/\s*/;function W(t){if(168<=t.kind&&t.kind<=188)return!0;switch(t.kind){case 125:case 148:case 140:case 151:case 143:case 128:case 144:case 141:case 146:case 137:return!0;case 110:return 205!==t.parent.kind;case 216:return!_r(t);case 155:return 186===t.parent.kind||181===t.parent.kind;case 75:(153===t.parent.kind&&t.parent.right===t||194===t.parent.kind&&t.parent.name===t)&&(t=t.parent),e.Debug.assert(75===t.kind||153===t.kind||194===t.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 153:case 194:case 104:var r=t.parent;if(172===r.kind)return!1;if(188===r.kind)return!r.isTypeOf;if(168<=r.kind&&r.kind<=188)return!0;switch(r.kind){case 216:return!_r(r);case 155:case 320:return t===r.constraint;case 159:case 158:case 156:case 242:return t===r.type;case 244:case 201:case 202:case 162:case 161:case 160:case 163:case 164:return t===r.type;case 165:case 166:case 167:case 199:return t===r.type;case 196:case 197:return e.contains(r.typeArguments,t);case 198:return!1}}return!1}function H(e){if(e)switch(e.kind){case 191:case 284:case 156:case 281:case 159:case 158:case 282:case 242:return!0}return!1}function G(e){return 243===e.parent.kind&&225===e.parent.parent.kind}function Q(e,t,r){return e.properties.filter((function(e){if(281===e.kind){var n=M(e.name);return t===n||!!r&&r===n}return!1}))}function X(t){if(t&&t.statements.length){var r=t.statements[0].expression;return e.tryCast(r,e.isObjectLiteralExpression)}}function Y(t,r){var n=X(t);return n?Q(n,r):e.emptyArray}function Z(t,r){for(e.Debug.assert(290!==t.kind);;){if(!(t=t.parent))return e.Debug.fail();switch(t.kind){case 154:if(e.isClassLike(t.parent.parent))return t;t=t.parent;break;case 157:156===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent);break;case 202:if(!r)continue;case 244:case 201:case 249:case 159:case 158:case 161:case 160:case 162:case 163:case 164:case 165:case 166:case 167:case 248:case 290:return t}}}function $(e){var t=e.kind;return(194===t||195===t)&&102===e.expression.kind}function ee(t,r,n){if(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name))return!1;switch(t.kind){case 245:return!0;case 159:return 245===r.kind;case 163:case 164:case 161:return void 0!==t.body&&245===r.kind;case 156:return void 0!==r.body&&(162===r.kind||161===r.kind||164===r.kind)&&245===n.kind}return!1}function te(e,t,r){return void 0!==e.decorators&&ee(e,t,r)}function re(e,t,r){return te(e,t,r)||ne(e,t)}function ne(t,r){switch(t.kind){case 245:return e.some(t.members,(function(e){return re(e,t,r)}));case 161:case 164:return e.some(t.parameters,(function(e){return te(e,t,r)}));default:return!1}}function ie(e){var t=e.parent;return(268===t.kind||267===t.kind||269===t.kind)&&t.tagName===e}function ae(e){switch(e.kind){case 102:case 100:case 106:case 91:case 13:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 217:case 199:case 218:case 200:case 201:case 214:case 202:case 205:case 203:case 204:case 207:case 208:case 209:case 210:case 213:case 211:case 215:case 266:case 267:case 270:case 212:case 206:case 219:return!0;case 153:for(;153===e.parent.kind;)e=e.parent;return 172===e.parent.kind||ie(e);case 75:if(172===e.parent.kind||ie(e))return!0;case 8:case 9:case 10:case 14:case 104:return oe(e);default:return!1}}function oe(e){var t=e.parent;switch(t.kind){case 242:case 156:case 159:case 158:case 284:case 281:case 191:return t.initializer===e;case 226:case 227:case 228:case 229:case 235:case 236:case 237:case 277:case 239:return t.expression===e;case 230:var r=t;return r.initializer===e&&243!==r.initializer.kind||r.condition===e||r.incrementor===e;case 231:case 232:var n=t;return n.initializer===e&&243!==n.initializer.kind||n.expression===e;case 199:case 217:case 221:case 154:return e===t.expression;case 157:case 276:case 275:case 283:return!0;case 216:return t.expression===e&&_r(t);case 282:return t.objectAssignmentInitializer===e;default:return ae(t)}}function se(e){for(;153===e.kind||75===e.kind;)e=e.parent;return 172===e.kind}function ce(e){return 253===e.kind&&265===e.moduleReference.kind}function ue(e){return le(e)}function le(e){return!!e&&!!(131072&e.flags)}function _e(t,r){if(196!==t.kind)return!1;var n=t,i=n.expression,a=n.arguments;if(75!==i.kind||"require"!==i.escapedText)return!1;if(1!==a.length)return!1;var o=a[0];return!r||e.isStringLiteralLike(o)}function de(t){return le(t)&&t.initializer&&e.isBinaryExpression(t.initializer)&&(56===t.initializer.operatorToken.kind||60===t.initializer.operatorToken.kind)&&t.name&&dr(t.name)&&fe(t.name,t.initializer.left)?t.initializer.right:t.initializer}function pe(t,r){if(e.isCallExpression(t)){var n=Ve(t.expression);return 201===n.kind||202===n.kind?t:void 0}return 201===t.kind||214===t.kind||202===t.kind||e.isObjectLiteralExpression(t)&&(0===t.properties.length||r)?t:void 0}function fe(t,r){if(ct(t)&&ct(r))return ut(t)==ut(t);if(e.isIdentifier(t)&&be(r)&&(104===r.expression.kind||e.isIdentifier(r.expression)&&("window"===r.expression.escapedText||"self"===r.expression.escapedText||"global"===r.expression.escapedText))){var n=Te(r);return e.isPrivateIdentifier(n)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),fe(t,n)}return!(!be(t)||!be(r))&&(Ee(t)===Ee(r)&&fe(t.expression,r.expression))}function ge(e){for(;lr(e,!0);)e=e.right;return e}function me(t){return e.isIdentifier(t)&&"exports"===t.escapedText}function ye(t){return(e.isPropertyAccessExpression(t)||xe(t))&&e.isIdentifier(t.expression)&&"module"===t.expression.escapedText&&"exports"===Ee(t)}function ve(t){var r=function(t){if(e.isCallExpression(t)){if(!he(t))return 0;var r=t.arguments[0];return me(r)||ye(r)?8:De(r)&&"prototype"===Ee(r)?9:7}if(62!==t.operatorToken.kind||!Pr(t.left))return 0;if(Ce(t.left.expression,!0)&&"prototype"===Ee(t.left)&&e.isObjectLiteralExpression(Ae(t)))return 6;return Ne(t.left)}(t);return 5===r||le(t)?r:0}function he(t){return 3===e.length(t.arguments)&&e.isPropertyAccessExpression(t.expression)&&e.isIdentifier(t.expression.expression)&&"Object"===e.idText(t.expression.expression)&&"defineProperty"===e.idText(t.expression.name)&&rt(t.arguments[1])&&Ce(t.arguments[0],!0)}function be(t){return e.isPropertyAccessExpression(t)||xe(t)}function xe(t){return e.isElementAccessExpression(t)&&(rt(t.argumentExpression)||ot(t.argumentExpression))}function De(t,r){return e.isPropertyAccessExpression(t)&&(!r&&104===t.expression.kind||Ce(t.expression,!0))||Se(t,r)}function Se(e,t){return xe(e)&&(!t&&104===e.expression.kind||dr(e.expression)||De(e.expression,!0))}function Ce(e,t){return dr(e)||De(e,t)}function Te(t){return e.isPropertyAccessExpression(t)?t.name:t.argumentExpression}function ke(t){if(e.isPropertyAccessExpression(t))return t.name;var r=Ve(t.argumentExpression);return e.isNumericLiteral(r)||e.isStringLiteralLike(r)?r:t}function Ee(t){var r=ke(t);if(r){if(e.isIdentifier(r))return r.escapedText;if(e.isStringLiteralLike(r)||e.isNumericLiteral(r))return e.escapeLeadingUnderscores(r.text)}if(e.isElementAccessExpression(t)&&ot(t.argumentExpression))return lt(e.idText(t.argumentExpression.name))}function Ne(t){if(104===t.expression.kind)return 4;if(ye(t))return 2;if(Ce(t.expression,!0)){if(fr(t.expression))return 3;for(var r=t;!e.isIdentifier(r.expression);)r=r.expression;var n=r.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===Ee(r))&&De(t))return 1;if(Ce(t,!0)||e.isElementAccessExpression(t)&&at(t)&&104!==t.expression.kind)return 5}return 0}function Ae(t){for(;e.isBinaryExpression(t.right);)t=t.right;return t.right}function Fe(t){switch(t.parent.kind){case 254:case 260:return t.parent;case 265:return t.parent.parent;case 196:return z(t.parent)||_e(t.parent,!1)?t.parent:void 0;case 187:return e.Debug.assert(e.isStringLiteral(t)),e.tryCast(t.parent.parent,e.isImportTypeNode);default:return}}function Pe(e){return 321===e.kind||314===e.kind||315===e.kind}function we(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&0!==ve(t.expression)&&e.isBinaryExpression(t.expression.right)&&(56===t.expression.right.operatorToken.kind||60===t.expression.right.operatorToken.kind)?t.expression.right.right:void 0}function Ie(e){switch(e.kind){case 225:var t=Oe(e);return t&&t.initializer;case 159:case 281:return e.initializer}}function Oe(t){return e.isVariableStatement(t)?e.firstOrUndefined(t.declarationList.declarations):void 0}function Me(t){return e.isModuleDeclaration(t)&&t.body&&249===t.body.kind?t.body:void 0}function Le(t){var r=t.parent;return 281===r.kind||259===r.kind||159===r.kind||226===r.kind&&194===t.kind||Me(r)||e.isBinaryExpression(t)&&62===t.operatorToken.kind?r:r.parent&&(Oe(r.parent)===t||e.isBinaryExpression(r)&&62===r.operatorToken.kind)?r.parent:r.parent&&r.parent.parent&&(Oe(r.parent.parent)||Ie(r.parent.parent)===t||we(r.parent.parent))?r.parent.parent:void 0}function Re(e){return Be(je(e))}function Be(t){var r,n=we(t)||(r=t,e.isExpressionStatement(r)&&e.isBinaryExpression(r.expression)&&62===r.expression.operatorToken.kind?ge(r.expression):void 0)||Ie(t)||Oe(t)||Me(t)||t;return n&&e.isFunctionLike(n)?n:void 0}function je(t){return e.Debug.assertDefined(a(t.parent,e.isJSDoc)).parent}function Je(t){var r=e.isJSDocParameterTag(t)?t.typeExpression&&t.typeExpression.type:t.type;return void 0!==t.dotDotDotToken||!!r&&301===r.kind}function ze(e){for(var t=e.parent;;){switch(t.kind){case 209:var r=t.operatorToken.kind;return sr(r)&&t.left===e?62===r?1:2:0;case 207:case 208:var n=t.operator;return 45===n||46===n?2:0;case 231:case 232:return t.initializer===e?1:0;case 200:case 192:case 213:case 218:e=t;break;case 282:if(t.name!==e)return 0;e=t.parent;break;case 281:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function Ue(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function Ke(e){return Ue(e,200)}function Ve(e){for(;200===e.kind;)e=e.expression;return e}function qe(t){return dr(t)||e.isClassExpression(t)}function We(e){return qe(He(e))}function He(t){return e.isExportAssignment(t)?t.expression:t.right}function Ge(t){var r=Qe(t);if(r&&le(t)){var n=e.getJSDocAugmentsTag(t);if(n)return n.class}return r}function Qe(e){var t=Ze(e.heritageClauses,90);return t&&t.types.length>0?t.types[0]:void 0}function Xe(e){var t=Ze(e.heritageClauses,113);return t?t.types:void 0}function Ye(e){var t=Ze(e.heritageClauses,90);return t?t.types:void 0}function Ze(e,t){if(e)for(var r=0,n=e;r=0)return i[a];return},getGlobalDiagnostics:function(){return i=!0,t},getDiagnostics:function(i){if(i)return n.get(i)||[];var a=e.flatMapToMutable(r,(function(e){return n.get(e)}));if(!t.length)return a;return a.unshift.apply(a,t),a},reattachFileDiagnostics:function(t){e.forEach(n.get(t.fileName),(function(e){return e.file=t}))}}};var vt=/\$\{/g;var ht=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,bt=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,xt=/[\\\`]/g,Dt=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","Â…":"\\u0085"});function St(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Ct(e,t,r){if(0===e.charCodeAt(0)){var n=r.charCodeAt(t+e.length);return n>=48&&n<=57?"\\x00":"\\0"}return Dt.get(e)||St(e.charCodeAt(0))}function Tt(e,t){var r=96===t?xt:39===t?bt:ht;return e.replace(r,Ct)}e.escapeString=Tt;var kt=/[^\u0000-\u007F]/g;function Et(e,t){return e=Tt(e,t),kt.test(e)?e.replace(kt,(function(e){return St(e.charCodeAt(0))})):e}e.escapeNonAsciiString=Et;var Nt=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,At=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Ft=e.createMapFromTemplate({'"':""","'":"'"});function Pt(e){return 0===e.charCodeAt(0)?"�":Ft.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function wt(e,t){var r=39===t?At:Nt;return e.replace(r,Pt)}e.escapeJsxAttributeString=wt,e.stripQuotes=function(e){var t,r=e.length;return r>=2&&e.charCodeAt(0)===e.charCodeAt(r-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,r-1):e},e.isIntrinsicJsxName=function(t){var r=t.charCodeAt(0);return r>=97&&r<=122||e.stringContains(t,"-")};var It=[""," "];function Ot(e){return void 0===It[e]&&(It[e]=Ot(e-1)+It[1]),It[e]}function Mt(){return It[1].length}function Lt(e,t,r){return t.moduleName||Rt(e,t.fileName,r&&r.fileName)}function Rt(t,r,n){var i=function(e){return t.getCanonicalFileName(e)},a=e.toPath(n?e.getDirectoryPath(n):t.getCommonSourceDirectory(),t.getCurrentDirectory(),i),o=e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()),s=Dn(e.getRelativePathToDirectoryOrUrl(a,o,a,i,!1));return n?e.ensurePathIsNonModuleName(s):s}function Bt(e,t,r,n,i){var a=t.declarationDir||t.outDir;return Dn(a?zt(e,a,r,n,i):e)+".d.ts"}function jt(e,t,r){return!(t.getCompilerOptions().noEmitForJsFiles&&ue(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&!(j(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&(r||!t.isSourceOfProjectReferenceRedirect(e.fileName))}function Jt(e,t,r){return zt(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))}function zt(t,r,n,i,a){var o=e.getNormalizedAbsolutePath(t,n);return o=0===a(o).indexOf(a(i))?o.substring(i.length):o,e.combinePaths(r,o)}function Ut(t,r){return e.getLineAndCharacterOfPosition(t,r).line}function Kt(t,r){return e.computeLineAndCharacterOfPosition(t,r).line}function Vt(e){if(e&&e.parameters.length>0){var t=2===e.parameters.length&&qt(e.parameters[0]);return e.parameters[t?1:0]}}function qt(e){return Wt(e.name)}function Wt(e){return!!e&&75===e.kind&&Ht(e)}function Ht(e){return 104===e.originalKeywordKind}function Gt(t){if(le(t)||!e.isFunctionDeclaration(t)){var r=t.type;return r||!le(t)?r:e.isJSDocPropertyLikeTag(t)?t.typeExpression&&t.typeExpression.type:e.getJSDocType(t)}}function Qt(e,t,r,n){Xt(e,t,r.pos,n)}function Xt(e,t,r,n){n&&n.length&&r!==n[0].pos&&Kt(e,r)!==Kt(e,n[0].pos)&&t.writeLine()}function Yt(e,t,r,n,i,a,o,s){if(n&&n.length>0){i&&r.writeSpace(" ");for(var c=!1,u=0,l=n;u=62&&e<=74}function cr(e){var t=ur(e);return t&&!t.isImplements?t.class:void 0}function ur(t){return e.isExpressionWithTypeArguments(t)&&e.isHeritageClause(t.parent)&&e.isClassLike(t.parent.parent)?{class:t.parent.parent,isImplements:113===t.parent.token}:void 0}function lr(t,r){return e.isBinaryExpression(t)&&(r?62===t.operatorToken.kind:sr(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}function _r(e){return void 0!==cr(e)}function dr(e){return 75===e.kind||pr(e)}function pr(t){return e.isPropertyAccessExpression(t)&&dr(t.expression)}function fr(e){return De(e)&&"prototype"===Ee(e)}e.getIndentString=Ot,e.getIndentSize=Mt,e.createTextWriter=function(t){var r,n,i,a,o,s=!1;function c(t){var n=e.computeLineStarts(t);n.length>1?(a=a+n.length-1,o=r.length-t.length+e.last(n),i=o-r.length==0):i=!1}function u(e){e&&e.length&&(i&&(e=Ot(n)+e,i=!1),r+=e,c(e))}function l(e){e&&(s=!1),u(e)}function _(){r="",n=0,i=!0,a=0,o=0,s=!1}return _(),{write:l,rawWrite:function(e){void 0!==e&&(r+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(){i||(a++,o=(r+=t).length,i=!0,s=!1)},increaseIndent:function(){n++},decreaseIndent:function(){n--},getIndent:function(){return n},getTextPos:function(){return r.length},getLine:function(){return a},getColumn:function(){return i?n*Mt():r.length-o},getText:function(){return r},isAtStartOfLine:function(){return i},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!r.length&&e.isWhiteSpaceLike(r.charCodeAt(r.length-1))},clear:_,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:function(e,t){return l(e)},writeTrailingSemicolon:l,writeComment:function(e){e&&(s=!0),u(e)},getTextPosWithWriteLine:function(){return i?r.length:r.length+t.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var t=!1;function r(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return c(c({},e),{writeTrailingSemicolon:function(){t=!0},writeLiteral:function(t){r(),e.writeLiteral(t)},writeStringLiteral:function(t){r(),e.writeStringLiteral(t)},writeSymbol:function(t,n){r(),e.writeSymbol(t,n)},writePunctuation:function(t){r(),e.writePunctuation(t)},writeKeyword:function(t){r(),e.writeKeyword(t)},writeOperator:function(t){r(),e.writeOperator(t)},writeParameter:function(t){r(),e.writeParameter(t)},writeSpace:function(t){r(),e.writeSpace(t)},writeProperty:function(t){r(),e.writeProperty(t)},writeComment:function(t){r(),e.writeComment(t)},writeLine:function(){r(),e.writeLine()},increaseIndent:function(){r(),e.increaseIndent()},decreaseIndent:function(){r(),e.decreaseIndent()}})},e.getResolvedExternalModuleName=Lt,e.getExternalModuleNameFromDeclaration=function(e,t,r){var n=t.getExternalModuleFileFromDeclaration(r);if(n&&!n.isDeclarationFile)return Lt(e,n)},e.getExternalModuleNameFromPath=Rt,e.getOwnEmitOutputFilePath=function(e,t,r){var n=t.getCompilerOptions();return(n.outDir?Dn(Jt(e,t,n.outDir)):Dn(e))+r},e.getDeclarationEmitOutputFilePath=function(e,t){return Bt(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=Bt,e.getSourceFilesToEmit=function(t,r,n){var i=t.getCompilerOptions();if(i.outFile||i.out){var a=qr(i),o=i.emitDeclarationOnly||a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),(function(r){return(o||!e.isExternalModule(r))&&jt(r,t,n)}))}var s=void 0===r?t.getSourceFiles():[r];return e.filter(s,(function(e){return jt(e,t,n)}))},e.sourceFileMayBeEmitted=jt,e.getSourceFilePathInNewDir=Jt,e.getSourceFilePathInNewDirWorker=zt,e.writeFile=function(t,r,n,i,a,o){t.writeFile(n,i,a,(function(t){r.add(Jr(e.Diagnostics.Could_not_write_file_0_Colon_1,n,t))}),o)},e.writeFileEnsuringDirectories=function(t,r,n,i,a,o){try{i(t,r,n)}catch(s){!function t(r,n,i){r.length>e.getRootLength(r)&&!i(r)&&(t(e.getDirectoryPath(r),n,i),n(r))}(e.getDirectoryPath(e.normalizePath(t)),a,o),i(t,r,n)}},e.getLineOfLocalPosition=Ut,e.getLineOfLocalPositionFromLineMap=Kt,e.getFirstConstructorWithBody=function(t){return e.find(t.members,(function(t){return e.isConstructorDeclaration(t)&&g(t.body)}))},e.getSetAccessorValueParameter=Vt,e.getSetAccessorTypeAnnotationNode=function(e){var t=Vt(e);return t&&t.type},e.getThisParameter=function(t){if(t.parameters.length&&!e.isJSDocSignature(t)){var r=t.parameters[0];if(qt(r))return r}},e.parameterIsThisKeyword=qt,e.isThisIdentifier=Wt,e.identifierIsThisKeyword=Ht,e.getAllAccessorDeclarations=function(t,r){var n,i,a,o;return it(r)?(n=r,163===r.kind?a=r:164===r.kind?o=r:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,(function(t){e.isAccessor(t)&&er(t,32)===er(r,32)&&(st(t.name)===st(r.name)&&(n?i||(i=t):n=t,163!==t.kind||a||(a=t),164!==t.kind||o||(o=t)))})),{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}},e.getEffectiveTypeAnnotationNode=Gt,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(t){return e.isJSDocSignature(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(le(t)?e.getJSDocReturnType(t):void 0)},e.getJSDocTypeParameterDeclarations=function(t){return e.flatMap(e.getJSDocTags(t),(function(t){return function(t){return e.isJSDocTemplateTag(t)&&!(303===t.parent.kind&&t.parent.tags.some(Pe))}(t)?t.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var t=Vt(e);return t&&Gt(t)},e.emitNewLineBeforeLeadingComments=Qt,e.emitNewLineBeforeLeadingCommentsOfPosition=Xt,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,t,r,n){r!==n&&Kt(e,r)!==Kt(e,n)&&t.writeLine()},e.emitComments=Yt,e.emitDetachedComments=function(t,r,n,i,a,o,s){var c,u;if(s?0===a.pos&&(c=e.filter(e.getLeadingCommentRanges(t,a.pos),(function(e){return h(t,e.pos)}))):c=e.getLeadingCommentRanges(t,a.pos),c){for(var l=[],_=void 0,d=0,p=c;d=g+2)break}l.push(f),_=f}if(l.length){g=Kt(r,e.last(l).end);Kt(r,e.skipTrivia(t,a.pos))>=g+2&&(Qt(r,n,a,c),Yt(t,r,n,l,!1,!0,o,i),u={nodePos:a.pos,detachedCommentEndPos:e.last(l).end})}}return u},e.writeCommentRange=function(t,r,n,i,a,o){if(42===t.charCodeAt(i+1))for(var s=e.computeLineAndCharacterOfPosition(r,i),c=r.length,u=void 0,l=i,_=s.line;l0){var f=p%Mt(),g=Ot((p-f)/Mt());for(n.rawWrite(g);f;)n.rawWrite(" "),f--}else n.rawWrite("")}Zt(t,a,n,o,l,d),l=d}else n.writeComment(t.substring(i,a))},e.hasModifiers=function(e){return 0!==ir(e)},e.hasModifier=er,e.hasStaticModifier=tr,e.hasReadonlyModifier=rr,e.getSelectedModifierFlags=nr,e.getModifierFlags=ir,e.getModifierFlagsNoCache=ar,e.modifierToFlag=or,e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isAssignmentOperator=sr,e.tryGetClassExtendingExpressionWithTypeArguments=cr,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=ur,e.isAssignmentExpression=lr,e.isDestructuringAssignment=function(e){if(lr(e,!0)){var t=e.left.kind;return 193===t||192===t}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=_r,e.isEntityNameExpression=dr,e.getFirstIdentifier=function(e){switch(e.kind){case 75:return e;case 153:do{e=e.left}while(75!==e.kind);return e;case 194:do{e=e.expression}while(75!==e.kind);return e}},e.isDottedName=function e(t){return 75===t.kind||104===t.kind||102===t.kind||194===t.kind&&e(t.expression)||200===t.kind&&e(t.expression)},e.isPropertyAccessEntityNameExpression=pr,e.tryGetPropertyAccessOrIdentifierToString=function t(r){if(e.isPropertyAccessExpression(r)){var n=t(r.expression);if(void 0!==n)return n+"."+r.name}else if(e.isIdentifier(r))return e.unescapeLeadingUnderscores(r.escapedText)},e.isPrototypeAccess=fr,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 153===e.parent.kind&&e.parent.right===e||194===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 193===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 192===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(t){return function(t){return t&&e.length(t.declarations)>0&&er(t.declarations[0],512)}(t)?t.declarations[0].localSymbol:void 0},e.tryExtractTSExtension=function(t){return e.find(e.supportedTSExtensionsForExtractExtension,(function(r){return e.fileExtensionIs(t,r)}))};var gr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function mr(t){for(var r,n,i,a,o="",s=function(t){for(var r=[],n=t.length,i=0;i>6|192),r.push(63&a|128)):a<65536?(r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)):a<131072?(r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128)):e.Debug.assert(!1,"Unexpected code point")}return r}(t),c=0,u=s.length;c>2,n=(3&s[c])<<4|s[c+1]>>4,i=(15&s[c+1])<<2|s[c+2]>>6,a=63&s[c+2],c+1>=u?i=a=64:c+2>=u&&(a=64),o+=gr.charAt(r)+gr.charAt(n)+gr.charAt(i)+gr.charAt(a),c+=3;return o}e.convertToBase64=mr,e.base64encode=function(e,t){return e&&e.base64encode?e.base64encode(t):mr(t)},e.base64decode=function(e,t){if(e&&e.base64decode)return e.base64decode(t);for(var r=t.length,n=[],i=0;i>4&3,l=(15&o)<<4|s>>2&15,_=(3&s)<<6|63&c;0===l&&0!==s?n.push(u):0===_&&0!==c?n.push(u,l):n.push(u,l,_),i+=4}return function(e){for(var t="",r=0,n=e.length;r=t||-1===r),{pos:t,end:r}}function hr(e,t){return vr(t,e.end)}function br(e){return e.decorators&&e.decorators.length>0?hr(e,e.decorators.end):e}function xr(e,t,r){return Dr(Sr(e,r),t.end,r)}function Dr(e,t,r){return e===t||Ut(r,e)===Ut(r,t)}function Sr(t,r){return kn(t.pos)?-1:e.skipTrivia(r.text,t.pos)}function Cr(e){return void 0!==e.initializer}function Tr(e){return 33554432&e.flags?e.checkFlags:0}function kr(t){var r=t.parent;if(!r)return 0;switch(r.kind){case 200:return kr(r);case 208:case 207:var n=r.operator;return 45===n||46===n?c():0;case 209:var i=r,a=i.left,o=i.operatorToken;return a===t&&sr(o.kind)?62===o.kind?1:c():0;case 194:return r.name!==t?0:kr(r);case 281:var s=kr(r.parent);return t===r.name?function(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(t)}}(s):s;case 282:return t===r.objectAssignmentInitializer?0:kr(r.parent);case 192:return kr(r);default:return 0}function c(){return r.parent&&226===function(e){for(;200===e.kind;)e=e.parent;return e}(r.parent).kind?1:2}}function Er(e,t,r){var n=r.onDeleteValue,i=r.onExistingValue;e.forEach((function(r,a){var o=t.get(a);void 0===o?(e.delete(a),n(r,a)):i&&i(r,o,a)}))}function Nr(e){if(32&e.flags){var t=Ar(e);return!!t&&er(t,128)}return!1}function Ar(t){return e.find(t.declarations,e.isClassLike)}function Fr(e){return 3899393&e.flags?e.objectFlags:0}function Pr(e){return 194===e.kind||195===e.kind}function wr(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function Ir(t,r){this.flags=r,e.Debug.isDebugging&&(this.checker=t)}function Or(t,r){this.flags=r,e.Debug.isDebugging&&(this.checker=t)}function Mr(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Lr(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||function(e){return e}}function Rr(t,r,n){return void 0===n&&(n=0),t.replace(/{(\d+)}/g,(function(t,i){return""+e.Debug.assertDefined(r[+i+n])}))}function Br(t){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[t.key]||t.message}function jr(t,r,n,i){e.Debug.assertGreaterThanOrEqual(r,0),e.Debug.assertGreaterThanOrEqual(n,0),t&&(e.Debug.assertLessThanOrEqual(r,t.text.length),e.Debug.assertLessThanOrEqual(r+n,t.text.length));var a=Br(i);return arguments.length>4&&(a=Rr(a,arguments,4)),{file:t,start:r,length:n,messageText:a,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary}}function Jr(e){var t=Br(e);return arguments.length>1&&(t=Rr(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}}function zr(e){return e.file?e.file.path:void 0}function Ur(t,r){return Kr(t,r)||function(t,r){if(!t.relatedInformation&&!r.relatedInformation)return 0;if(t.relatedInformation&&r.relatedInformation)return e.compareValues(t.relatedInformation.length,r.relatedInformation.length)||e.forEach(t.relatedInformation,(function(e,t){return Ur(e,r.relatedInformation[t])}))||0;return t.relatedInformation?-1:1}(t,r)||0}function Kr(t,r){return e.compareStringsCaseSensitive(zr(t),zr(r))||e.compareValues(t.start,r.start)||e.compareValues(t.length,r.length)||e.compareValues(t.code,r.code)||function t(r,n){if("string"==typeof r&&"string"==typeof n)return e.compareStringsCaseSensitive(r,n);if("string"==typeof r)return-1;if("string"==typeof n)return 1;var i=e.compareStringsCaseSensitive(r.messageText,n.messageText);if(i)return i;if(!r.next&&!n.next)return 0;if(!r.next)return-1;if(!n.next)return 1;for(var a=Math.min(r.next.length,n.next.length),o=0;on.next.length)return 1;return 0}(t.messageText,r.messageText)||0}function Vr(e){return e.target||0}function qr(t){return"number"==typeof t.module?t.module:Vr(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function Wr(e){return!(!e.declaration&&!e.composite)}function Hr(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function Gr(e,t){return t.strictFlag?Hr(e,t.name):e[t.name]}function Qr(e){for(var t=!1,r=0;r0?hr(e,e.modifiers.end):br(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(t,r){return vr(t,t+e.tokenToString(r).length)},e.rangeIsOnSingleLine=function(e,t){return xr(e,e,t)},e.rangeStartPositionsAreOnSameLine=function(e,t,r){return Dr(Sr(e,r),Sr(t,r),r)},e.rangeEndPositionsAreOnSameLine=function(e,t,r){return Dr(e.end,t.end,r)},e.rangeStartIsOnSameLineAsRangeEnd=xr,e.rangeEndIsOnSameLineAsRangeStart=function(e,t,r){return Dr(e.end,Sr(t,r),r)},e.isNodeArrayMultiLine=function(e,t){return!Dr(e.pos,e.end,t)},e.positionsAreOnSameLine=Dr,e.getStartPositionOfRange=Sr,e.isDeclarationNameOfEnumOrNamespace=function(t){var r=e.getParseTreeNode(t);if(r)switch(r.parent.kind){case 248:case 249:return r===r.parent.name}return!1},e.getInitializedVariables=function(t){return e.filter(t.declarations,Cr)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=Tr,e.getDeclarationModifierFlagsFromSymbol=function(t){if(t.valueDeclaration){var r=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&32&t.parent.flags?r:-29&r}if(6&Tr(t)){var n=t.checkFlags;return(1024&n?8:256&n?4:16)|(2048&n?32:0)}return 4194304&t.flags?36:0},e.skipAlias=function(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===kr(e)},e.isWriteAccess=function(e){return 0!==kr(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(yr||(yr={})),e.compareDataObjects=function e(t,r){if(!t||!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(var n in t)if("object"==typeof t[n]){if(!e(t[n],r[n]))return!1}else if("function"!=typeof t[n]&&t[n]!==r[n])return!1;return!0},e.clearMap=function(e,t){e.forEach(t),e.clear()},e.mutateMapSkippingNewValues=Er,e.mutateMap=function(e,t,r){Er(e,t,r);var n=r.createNewValue;t.forEach((function(t,r){e.has(r)||e.set(r,n(r,t))}))},e.isAbstractConstructorType=function(e){return!!(16&Fr(e))&&!!e.symbol&&Nr(e.symbol)},e.isAbstractConstructorSymbol=Nr,e.getClassLikeDeclarationOfSymbol=Ar,e.getObjectFlags=Fr,e.typeHasCallOrConstructSignatures=function(e,t){return 0!==t.getSignaturesOfType(e,0).length||0!==t.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(t,r){return!!e.forEachAncestorDirectory(t,(function(e){return!!r(e)||void 0}))},e.isUMDExportSymbol=function(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&e.isNamespaceExportDeclaration(t.declarations[0])},e.showModuleSpecifier=function(t){var r=t.moduleSpecifier;return e.isStringLiteral(r)?r.text:S(r)},e.getLastChild=function(t){var r;return e.forEachChild(t,(function(e){g(e)&&(r=e)}),(function(e){for(var t=e.length-1;t>=0;t--)if(g(e[t])){r=e[t];break}})),r},e.addToSeen=function(e,t,r){return void 0===r&&(r=!0),t=String(t),!e.has(t)&&(e.set(t,r),!0)},e.isObjectTypeDeclaration=function(t){return e.isClassLike(t)||e.isInterfaceDeclaration(t)||e.isTypeLiteralNode(t)},e.isTypeNodeKind=function(e){return e>=168&&e<=188||125===e||148===e||140===e||151===e||141===e||128===e||143===e||144===e||104===e||110===e||146===e||100===e||137===e||216===e||295===e||296===e||297===e||298===e||299===e||300===e||301===e},e.isAccessExpression=Pr,e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.getDotOrQuestionDotToken=function(t){return t.questionDotToken||e.createNode(24,t.expression.end,t.name.pos)},e.isNamedImportsOrExports=function(e){return 257===e.kind||261===e.kind},e.objectAllocator={getNodeConstructor:function(){return Mr},getTokenConstructor:function(){return Mr},getIdentifierConstructor:function(){return Mr},getPrivateIdentifierConstructor:function(){return Mr},getSourceFileConstructor:function(){return Mr},getSymbolConstructor:function(){return wr},getTypeConstructor:function(){return Ir},getSignatureConstructor:function(){return Or},getSourceMapSourceConstructor:function(){return Lr}},e.setObjectAllocator=function(t){e.objectAllocator=t},e.formatStringFromArgs=Rr,e.setLocalizedDiagnosticMessages=function(t){e.localizedDiagnosticMessages=t},e.getLocaleSpecificMessage=Br,e.createFileDiagnostic=jr,e.formatMessage=function(e,t){var r=Br(t);return arguments.length>2&&(r=Rr(r,arguments,2)),r},e.createCompilerDiagnostic=Jr,e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,t){var r=Br(t);return arguments.length>2&&(r=Rr(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,t){for(var r=e;r.next;)r=r.next[0];r.next=[t]},e.compareDiagnostics=Ur,e.compareDiagnosticsSkipRelatedInformation=Kr,e.getEmitScriptTarget=Vr,e.getEmitModuleKind=qr,e.getEmitModuleResolutionKind=function(t){var r=t.moduleResolution;return void 0===r&&(r=qr(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),r},e.hasJsonModuleEmitEnabled=function(t){switch(qr(t)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext: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!(!Wr(e)||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(t){var r=qr(t);return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:t.esModuleInterop||r===e.ModuleKind.System},e.getEmitDeclarations=Wr,e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=Hr,e.compilerOptionsAffectSemanticDiagnostics=function(t,r){return r!==t&&e.semanticDiagnosticsOptionDeclarations.some((function(e){return!Pn(Gr(r,e),Gr(t,e))}))},e.compilerOptionsAffectEmit=function(t,r){return r!==t&&e.affectsEmitOptionDeclarations.some((function(e){return!Pn(Gr(r,e),Gr(t,e))}))},e.getCompilerOptionValue=Gr,e.hasZeroOrOneAsteriskCharacter=Qr,e.discoverProbableSymlinks=function(t,r,n){for(var i=e.createMap(),a=0,o=e.flatten(e.mapDefined(t,(function(t){return t.resolvedModules&&e.compact(e.arrayFrom(e.mapIterator(t.resolvedModules.values(),(function(e){return e&&e.originalPath&&e.resolvedFileName!==e.originalPath?[e.resolvedFileName,e.originalPath]:void 0}))))})));a0;)c+=")?",d--;return c}(t,r,n,on[n])}))}function un(e){return!/[.*?]/.test(e)}function ln(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function _n(t,r,n,i,a){t=e.normalizePath(t),a=e.normalizePath(a);var o=e.combinePaths(a,t);return{includeFilePatterns:e.map(cn(n,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:sn(n,o,"files"),includeDirectoryPattern:sn(n,o,"directories"),excludePattern:sn(r,o,"exclude"),basePaths:pn(t,n,i)}}function dn(e,t){return new RegExp(e,t?"":"i")}function pn(t,r,n){var i=[t];if(r){for(var a=[],o=0,s=r;o=0;n--)if(e.fileExtensionIs(t,r[n]))return bn(n,r);return 0},e.adjustExtensionPriority=bn,e.getNextLowestExtensionPriority=function(e,t){return e<2?2:t.length};var xn=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function Dn(e){for(var t=0,r=xn;t=0)}function En(e){return".ts"===e||".tsx"===e||".d.ts"===e}function Nn(t){return e.find(xn,(function(r){return e.fileExtensionIs(t,r)}))}e.removeFileExtension=Dn,e.tryRemoveExtension=Sn,e.removeExtension=Cn,e.changeExtension=function(t,r){return e.changeAnyExtension(t,r,xn,!1)},e.tryParsePattern=Tn,e.positionIsSynthesized=kn,e.extensionIsTS=En,e.resolutionExtensionIsTSOrJson=function(e){return En(e)||".json"===e},e.extensionFromPath=function(t){var r=Nn(t);return void 0!==r?r:e.Debug.fail("File "+t+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==Nn(e)},e.tryGetExtensionFromPath=Nn,e.isCheckJsEnabledForFile=function(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(t,r){for(var n=[],i=0,a=t;ii&&(i=o)}return{min:n,max:i}};var An=function(){function t(){this.map=e.createMap()}return t.prototype.add=function(t){this.map.set(String(e.getNodeId(t)),t)},t.prototype.tryAdd=function(e){return!this.has(e)&&(this.add(e),!0)},t.prototype.has=function(t){return this.map.has(String(e.getNodeId(t)))},t.prototype.forEach=function(e){this.map.forEach(e)},t.prototype.some=function(e){return o(this.map,e)||!1},t}();e.NodeSet=An;var Fn=function(){function t(){this.map=e.createMap()}return t.prototype.get=function(t){var r=this.map.get(String(e.getNodeId(t)));return r&&r.value},t.prototype.getOrUpdate=function(e,t){var r=this.get(e);if(r)return r;var n=t();return this.set(e,n),n},t.prototype.set=function(t,r){this.map.set(String(e.getNodeId(t)),{node:t,value:r})},t.prototype.has=function(t){return this.map.has(String(e.getNodeId(t)))},t.prototype.forEach=function(e){this.map.forEach((function(t){var r=t.node,n=t.value;return e(n,r)}))},t}();function Pn(t,r){return t===r||"object"==typeof t&&null!==t&&"object"==typeof r&&null!==r&&e.equalOwnProperties(t,r,Pn)}e.NodeMap=Fn,e.rangeOfNode=function(e){return{pos:b(e),end:e.end}},e.rangeOfTypeParameters=function(e){return{pos:e.pos-1,end:e.end+1}},e.skipTypeChecking=function(e,t,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||r.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=Pn,e.getOrUpdate=function(e,t,r){var n=e.get(t);if(void 0===n){var i=r();return e.set(t,i),i}return n},e.parsePseudoBigInt=function(e){var t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:for(var r=e.length-1,n=0;48===e.charCodeAt(n);)n++;return e.slice(n,r)||"0"}for(var i=e.length-1,a=(i-2)*t,o=new Uint16Array((a>>>4)+(15&a?1:0)),s=i-1,c=0;s>=2;s--,c+=t){var u=c>>>4,l=e.charCodeAt(s),_=(l<=57?l-48:10+l-(l<=70?65:97))<<(15&c);o[u]|=_;var d=_>>>16;d&&(o[u+1]|=d)}for(var p="",f=o.length-1,g=!0;g;){var m=0;g=!1;for(u=f;u>=0;u--){var y=m<<16|o[u],v=y/10|0;o[u]=v,m=y-10*v,v&&!g&&(f=u,g=!0)}p=m+p}return p},e.pseudoBigIntToString=function(e){var t=e.negative,r=e.base10Value;return(t&&"0"!==r?"-":"")+r},e.isValidTypeOnlyAliasUseSite=function(t){return!!(8388608&t.flags)||se(t)||(r=t,113===(null==(a=null!==(n=e.tryCast(r.parent.parent,e.isHeritageClause))&&void 0!==n?n:e.tryCast(null===(i=r.parent.parent)||void 0===i?void 0:i.parent,e.isHeritageClause))?void 0:a.token)||246===(null==a?void 0:a.parent.kind))||function(e){for(;75===e.kind||194===e.kind;)e=e.parent;if(154!==e.kind)return!1;if(er(e.parent,128))return!0;var t=e.parent.parent.kind;return 246===t||173===t}(t)||!ae(t);var r,n,i,a},e.typeOnlyDeclarationIsExport=function(e){return 263===e.kind}}(p||(p={})),function(e){var t,r,n,i,a,o,s,c;function u(e,t){return t&&e(t)}function l(e,t,r){if(r){if(t)return t(r);for(var n=0,i=r;nt.checkJsDirective.pos)&&(t.checkJsDirective={enabled:"ts-check"===i,end:e.range.end,pos:e.range.pos})}));break;case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(t||(t={})),e.createNode=function(t,s,c){return 290===t?new(o||(o=e.objectAllocator.getSourceFileConstructor()))(t,s,c):75===t?new(i||(i=e.objectAllocator.getIdentifierConstructor()))(t,s,c):76===t?new(a||(a=e.objectAllocator.getPrivateIdentifierConstructor()))(t,s,c):e.isNodeKind(t)?new(r||(r=e.objectAllocator.getNodeConstructor()))(t,s,c):new(n||(n=e.objectAllocator.getTokenConstructor()))(t,s,c)},e.isJSDocLikeText=_,e.forEachChild=d,e.createSourceFile=function(t,r,n,i,a){var o;return void 0===i&&(i=!1),e.performance.mark("beforeParse"),e.perfLogger.logStartParseSourceFile(t),o=100===n?s.parseSourceFile(t,r,n,void 0,i,6):s.parseSourceFile(t,r,n,void 0,i,a),e.perfLogger.logStopParseSourceFile(),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),o},e.parseIsolatedEntityName=function(e,t){return s.parseIsolatedEntityName(e,t)},e.parseJsonText=function(e,t){return s.parseJsonText(e,t)},e.isExternalModule=function(e){return void 0!==e.externalModuleIndicator},e.updateSourceFile=function(e,t,r,n){void 0===n&&(n=!1);var i=c.updateSourceFile(e,t,r,n);return i.flags|=3145728&e.flags,i},e.parseIsolatedJSDocComment=function(e,t,r){var n=s.JSDocParser.parseIsolatedJSDocComment(e,t,r);return n&&n.jsDoc&&s.fixupParentReferences(n.jsDoc),n},e.parseJSDocTypeExpressionForTests=function(e,t,r){return s.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)},function(t){var r,n,i,a,o,s,c,u,l,m,y,v,h,b,x,S,C,T,k,E,N=e.createScanner(99,!0),A=!1;function F(t,r,n,i,a){void 0===n&&(n=2),w(r,n,i,6),(s=R(t,2,6,!1)).flags=C,oe();var o=ne();if(1===ie())s.statements=ke([],o,o),s.endOfFileToken=xe();else{var u=Ce(226);switch(ie()){case 22:u.expression=Kr();break;case 106:case 91:case 100:u.expression=xe();break;case 40:pe((function(){return 8===oe()&&58!==oe()}))?u.expression=br():u.expression=qr();break;case 8:case 10:if(pe((function(){return 58!==oe()}))){u.expression=pt();break}default:u.expression=qr()}Ee(u),s.statements=ke([u],o),s.endOfFileToken=be(1,e.Diagnostics.Unexpected_token)}a&&L(s),s.nodeCount=y,s.identifierCount=b,s.identifiers=v,s.parseDiagnostics=c;var l=s;return I(),l}function P(e){return 4===e||2===e||1===e||6===e?1:0}function w(t,s,l,_){switch(r=e.objectAllocator.getNodeConstructor(),n=e.objectAllocator.getTokenConstructor(),i=e.objectAllocator.getIdentifierConstructor(),a=e.objectAllocator.getPrivateIdentifierConstructor(),o=e.objectAllocator.getSourceFileConstructor(),m=t,u=l,c=[],x=0,v=e.createMap(),h=e.createMap(),b=0,y=0,_){case 1:case 2:C=131072;break;case 6:C=33685504;break;default:C=0}A=!1,N.setText(m),N.setOnError(re),N.setScriptTarget(s),N.setLanguageVariant(P(_))}function I(){N.setText(""),N.setOnError(void 0),c=void 0,s=void 0,v=void 0,u=void 0,m=void 0,S=void 0}function O(t,r,n,i){var a=p(t);return a&&(C|=8388608),(s=R(t,r,i,a)).flags=C,oe(),f(s,m),g(s,(function(t,r,n){c.push(e.createFileDiagnostic(s,t,r,n))})),s.statements=$e(0,un),e.Debug.assert(1===ie()),s.endOfFileToken=M(xe()),function(t){t.externalModuleIndicator=e.forEach(t.statements,Zn)||function(e){return 2097152&e.flags?$n(e):void 0}(t)}(s),s.nodeCount=y,s.identifierCount=b,s.identifiers=v,s.parseDiagnostics=c,n&&L(s),s}function M(t){e.Debug.assert(!t.jsDoc);var r=e.mapDefined(e.getJSDocCommentRanges(t,s.text),(function(e){return E.parseJSDocComment(t,e.pos,e.end-e.pos)}));return r.length&&(t.jsDoc=r),t}function L(t){for(var r=[t];r.length;){var n=r.pop();a(n,i(n))}return;function i(e){var t=[];return d(e,(function(e){t.unshift(e)})),t}function a(t,n){for(var i=0,a=n;i112)}function me(t,r,n){return void 0===n&&(n=!0),ie()===t?(n&&oe(),!0):(r?Z(r):Z(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function ye(e){return ie()===e&&(oe(),!0)}function ve(e){if(ie()===e)return xe()}function he(e){if(ie()===e)return t=Ce(ie()),se(),Ee(t);var t}function be(t,r,n){return ve(t)||Ne(t,!1,r||e.Diagnostics._0_expected,n||e.tokenToString(t))}function xe(){var e=Ce(ie());return oe(),Ee(e)}function De(){return 26===ie()||(19===ie()||1===ie()||N.hasPrecedingLineBreak())}function Se(){return De()?(26===ie()&&oe(),!0):me(26)}function Ce(t,o){y++;var s=o>=0?o:N.getStartPos();return e.isNodeKind(t)||0===t?new r(t,s,s):75===t?new i(t,s,s):76===t?new a(t,s,s):new n(t,s,s)}function Te(e,t){var r=Ce(e,t);return 2&N.getTokenFlags()&&M(r),r}function ke(e,t,r){var n=e.length,i=n>=1&&n<=4?e.slice():e;return i.pos=t,i.end=void 0===r?N.getStartPos():r,i}function Ee(e,t){return e.end=void 0===t?N.getStartPos():t,C&&(e.flags|=C),A&&(A=!1,e.flags|=65536),e}function Ne(t,r,n,i){r?$(N.getStartPos(),0,n,i):n&&Z(n,i);var a=Ce(t);return 75===t?a.escapedText="":(e.isLiteralKind(t)||e.isTemplateLiteralKind(t))&&(a.text=""),Ee(a)}function Ae(e){var t=v.get(e);return void 0===t&&v.set(e,t=e),t}function Fe(t,r,n){if(b++,t){var i=Ce(75);return 75!==ie()&&(i.originalKeywordKind=ie()),i.escapedText=e.escapeLeadingUnderscores(Ae(N.getTokenValue())),ae(),Ee(i)}if(76===ie())return Z(n||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Fe(!0);var a=1===ie(),o=N.isReservedWord(),s=N.getTokenText(),c=o?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Ne(75,a,r||c,s)}function Pe(e,t){return Fe(ge(),e,t)}function we(t){return Fe(e.tokenIsIdentifierOrKeyword(ie()),t)}function Ie(){return e.tokenIsIdentifierOrKeyword(ie())||10===ie()||8===ie()}function Oe(e){if(10===ie()||8===ie()){var t=pt();return t.text=Ae(t.text),t}return e&&22===ie()?function(){var e=Ce(154);return me(22),e.expression=q(or),me(23),Ee(e)}():76===ie()?Le():we()}function Me(){return Oe(!0)}function Le(){var t,r,n=Ce(76);return n.escapedText=e.escapeLeadingUnderscores((t=N.getTokenText(),void 0===(r=h.get(t))&&h.set(t,r=t),r)),oe(),Ee(n)}function Re(e){return ie()===e&&fe(je)}function Be(){return oe(),!N.hasPrecedingLineBreak()&&Ue()}function je(){switch(ie()){case 81:return 88===oe();case 89:return oe(),84===ie()?pe(Ke):145===ie()?pe(ze):Je();case 84:return Ke();case 120:case 131:case 142:return oe(),Ue();default:return Be()}}function Je(){return 41!==ie()&&123!==ie()&&18!==ie()&&Ue()}function ze(){return oe(),Je()}function Ue(){return 22===ie()||18===ie()||41===ie()||25===ie()||Ie()}function Ke(){return oe(),80===ie()||94===ie()||114===ie()||122===ie()&&pe(tn)||126===ie()&&pe(rn)}function Ve(t,r){if(tt(t))return!0;switch(t){case 0:case 1:case 3:return!(26===ie()&&r)&&sn();case 2:return 78===ie()||84===ie();case 4:return pe(Pt);case 5:return pe(Fn)||26===ie()&&!r;case 6:return 22===ie()||Ie();case 12:switch(ie()){case 22:case 41:case 25:case 24:return!0;default:return Ie()}case 18:return Ie();case 9:return 22===ie()||25===ie()||Ie();case 7:return 18===ie()?pe(qe):r?ge()&&!Qe():ir()&&!Qe();case 8:return yn();case 10:return 27===ie()||25===ie()||yn();case 19:return ge();case 15:switch(ie()){case 27:case 24:return!0}case 11:return 25===ie()||ar();case 16:return St(!1);case 17:return St(!0);case 20:case 21:return 27===ie()||Wt();case 22:return zn();case 23:return e.tokenIsIdentifierOrKeyword(ie());case 13:return e.tokenIsIdentifierOrKeyword(ie())||18===ie();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function qe(){if(e.Debug.assert(18===ie()),19===oe()){var t=oe();return 27===t||18===t||90===t||113===t}return!0}function We(){return oe(),ge()}function He(){return oe(),e.tokenIsIdentifierOrKeyword(ie())}function Ge(){return oe(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ie())}function Qe(){return(113===ie()||90===ie())&&pe(Xe)}function Xe(){return oe(),ar()}function Ye(){return oe(),Wt()}function Ze(e){if(1===ie())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===ie();case 3:return 19===ie()||78===ie()||84===ie();case 7:return 18===ie()||90===ie()||113===ie();case 8:return function(){if(De())return!0;if(mr(ie()))return!0;if(38===ie())return!0;return!1}();case 19:return 31===ie()||20===ie()||18===ie()||90===ie()||113===ie();case 11:return 21===ie()||26===ie();case 15:case 21:case 10:return 23===ie();case 17:case 16:case 18:return 21===ie()||23===ie();case 20:return 27!==ie();case 22:return 18===ie()||19===ie();case 13:return 31===ie()||43===ie();case 14:return 29===ie()&&pe(Wn);default:return!1}}function $e(e,t){var r=x;x|=1<=0&&(c.hasTrailingComma=!0),c}function at(t){return 6===t?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function ot(){var e=ke([],ne());return e.isMissingList=!0,e}function st(e,t,r,n){if(me(r)){var i=it(e,t);return me(n),i}return ot()}function ct(e,t){for(var r=e?we(t):Pe(t),n=N.getStartPos();ye(24);){if(29===ie()){r.jsdocDotPos=n;break}n=N.getStartPos(),r=ut(r,lt(e,!1))}return r}function ut(e,t){var r=Ce(153,e.pos);return r.left=e,r.right=t,Ee(r)}function lt(t,r){if(N.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ie())&&pe(en))return Ne(75,!0,e.Diagnostics.Identifier_expected);if(76===ie()){var n=Le();return r?n:Ne(75,!0,e.Diagnostics.Identifier_expected)}return t?we():Pe()}function _t(){var t,r=Ce(211);r.head=(t=ft(ie()),e.Debug.assert(15===t.kind,"Template head has wrong token kind"),t),e.Debug.assert(15===r.head.kind,"Template head has wrong token kind");var n=[],i=ne();do{n.push(dt())}while(16===e.last(n).literal.kind);return r.templateSpans=ke(n,i),Ee(r)}function dt(){var t,r,n=Ce(221);return n.expression=q(or),19===ie()?(l=N.reScanTemplateToken(),r=ft(ie()),e.Debug.assert(16===r.kind||17===r.kind,"Template fragment has wrong token kind"),t=r):t=be(17,e.Diagnostics._0_expected,e.tokenToString(19)),n.literal=t,Ee(n)}function pt(){return ft(ie())}function ft(e){var t=Ce(e);switch(t.text=N.getTokenValue(),e){case 14:case 15:case 16:case 17:var r=14===e||17===e,n=N.getTokenText();t.rawText=n.substring(1,n.length-(N.isUnterminated()?0:r?1:2))}return N.hasExtendedUnicodeEscape()&&(t.hasExtendedUnicodeEscape=!0),N.isUnterminated()&&(t.isUnterminated=!0),8===t.kind&&(t.numericLiteralFlags=1008&N.getTokenFlags()),oe(),Ee(t),t}function gt(){var t=Ce(169);return t.typeName=ct(!0,e.Diagnostics.Type_expected),N.hasPrecedingLineBreak()||29!==ue()||(t.typeArguments=st(20,tr,29,31)),Ee(t)}function mt(){var e=Ce(183);return oe(),Ee(e)}function yt(e){var t=Ce(295);return e?Gt(299,t):(oe(),Ee(t))}function vt(){var e=Ce(156);return 104!==ie()&&99!==ie()||(e.name=we(),me(58)),e.type=ht(),Ee(e)}function ht(){N.setInJSDocType(!0);var e=ve(135);if(e){var t=Ce(302,e.pos);e:for(;;)switch(ie()){case 19:case 1:case 27:case 5:break e;default:se()}return N.setInJSDocType(!1),Ee(t)}var r=ve(25),n=$t();if(N.setInJSDocType(!1),r){var i=Ce(301,r.pos);i.type=n,n=Ee(i)}return 62===ie()?Gt(299,n):n}function bt(){var e=Ce(155);return e.name=Pe(),ye(90)&&(Wt()||!ar()?e.constraint=tr():e.expression=xr()),ye(62)&&(e.default=tr()),Ee(e)}function xt(){if(29===ie())return st(19,bt,29,31)}function Dt(){if(ye(58))return tr()}function St(t){return 25===ie()||yn()||e.isModifierKind(ie())||59===ie()||Wt(!t)}function Ct(){var t=Te(156);return 104===ie()?(t.name=Fe(!0),t.type=Dt(),Ee(t)):(t.decorators=Pn(),t.modifiers=wn(),t.dotDotDotToken=ve(25),t.name=vn(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters),0===e.getFullWidth(t.name)&&!t.modifiers&&e.isModifierKind(ie())&&oe(),t.questionToken=ve(57),t.type=Dt(),t.initializer=sr(),Ee(t))}function Tt(t,r,n){32&r||(n.typeParameters=xt());var i=function(e,t){if(!me(20))return e.parameters=ot(),!1;var r=G(),n=Y();return J(!!(1&t)),U(!!(2&t)),e.parameters=32&t?it(17,vt):it(16,Ct),J(r),U(n),me(21)}(n,r);return(!function(t,r){if(38===t)return me(t),!0;if(ye(58))return!0;if(r&&38===ie())return Z(e.Diagnostics._0_expected,e.tokenToString(58)),oe(),!0;return!1}(t,!!(4&r))||(n.type=$t(),!function t(r){switch(r.kind){case 169:return e.nodeIsMissing(r.typeName);case 170:case 171:var n=r,i=n.parameters,a=n.type;return!!i.isMissingList||t(a);case 182:return t(r.type);default:return!1}}(n.type)))&&i}function kt(){ye(27)||Se()}function Et(e){var t=Te(e);return 166===e&&me(99),Tt(58,4,t),kt(),Ee(t)}function Nt(){return 22===ie()&&pe(At)}function At(){if(oe(),25===ie()||23===ie())return!0;if(e.isModifierKind(ie())){if(oe(),ge())return!0}else{if(!ge())return!1;oe()}return 58===ie()||27===ie()||57===ie()&&(oe(),58===ie()||27===ie()||23===ie())}function Ft(e){return e.kind=167,e.parameters=st(16,Ct,22,23),e.type=nr(),kt(),Ee(e)}function Pt(){if(20===ie()||29===ie())return!0;for(var t=!1;e.isModifierKind(ie());)t=!0,oe();return 22===ie()||(Ie()&&(t=!0,oe()),!!t&&(20===ie()||29===ie()||57===ie()||58===ie()||27===ie()||De()))}function wt(){if(20===ie()||29===ie())return Et(165);if(99===ie()&&pe(It))return Et(166);var e=Te(0);return e.modifiers=wn(),Nt()?Ft(e):function(e){return e.name=Me(),e.questionToken=ve(57),20===ie()||29===ie()?(e.kind=160,Tt(58,4,e)):(e.kind=158,e.type=nr(),62===ie()&&(e.initializer=sr())),kt(),Ee(e)}(e)}function It(){return oe(),20===ie()||29===ie()}function Ot(){return 24===oe()}function Mt(){switch(oe()){case 20:case 29:case 24:return!0}return!1}function Lt(){var e;return me(18)?(e=$e(4,wt),me(19)):e=ot(),e}function Rt(){return oe(),39===ie()||40===ie()?138===oe():(138===ie()&&oe(),22===ie()&&We()&&97===oe())}function Bt(){var e=Ce(186);return me(18),138!==ie()&&39!==ie()&&40!==ie()||(e.readonlyToken=xe(),138!==e.readonlyToken.kind&&be(138)),me(22),e.typeParameter=function(){var e=Ce(155);return e.name=Pe(),me(97),e.constraint=tr(),Ee(e)}(),me(23),57!==ie()&&39!==ie()&&40!==ie()||(e.questionToken=xe(),57!==e.questionToken.kind&&be(57)),e.type=nr(),Se(),me(19),Ee(e)}function jt(){var e=ne();if(ye(25)){var t=Ce(177,e);return t.type=tr(),Ee(t)}var r=tr();return 4194304&C||297!==r.kind||r.pos!==r.type.pos||(r.kind=176),r}function Jt(){var e=xe();return 24===ie()?void 0:e}function zt(e){var t,r=Ce(187);e&&((t=Ce(207)).operator=40,oe());var n=106===ie()||91===ie()?xe():ft(ie());return e&&(t.operand=n,Ee(t),n=t),r.literal=n,Ee(r)}function Ut(){return oe(),96===ie()}function Kt(){s.flags|=1048576;var t=Ce(188);return ye(108)&&(t.isTypeOf=!0),me(96),me(20),t.argument=tr(),me(21),ye(24)&&(t.qualifier=ct(!0,e.Diagnostics.Type_expected)),N.hasPrecedingLineBreak()||29!==ue()||(t.typeArguments=st(20,tr,29,31)),Ee(t)}function Vt(){return oe(),8===ie()||9===ie()}function qt(){switch(ie()){case 125:case 148:case 143:case 140:case 151:case 144:case 128:case 146:case 137:case 141:return fe(Jt)||gt();case 41:return yt(!1);case 65:return yt(!0);case 60:N.reScanQuestionToken();case 57:return n=N.getStartPos(),oe(),27===ie()||19===ie()||21===ie()||31===ie()||62===ie()||51===ie()?Ee(r=Ce(296,n)):((r=Ce(297,n)).type=tr(),Ee(r));case 94:return function(){if(pe(qn)){var e=Te(300);return oe(),Tt(58,36,e),Ee(e)}var t=Ce(169);return t.typeName=we(),Ee(t)}();case 53:return function(){var e=Ce(298);return oe(),e.type=qt(),Ee(e)}();case 14:case 10:case 8:case 9:case 106:case 91:return zt();case 40:return pe(Vt)?zt(!0):gt();case 110:case 100:return xe();case 104:var e=mt();return 133!==ie()||N.hasPrecedingLineBreak()?e:function(e){oe();var t=Ce(168,e.pos);return t.parameterName=e,t.type=tr(),Ee(t)}(e);case 108:return pe(Ut)?Kt():(t=Ce(172),me(108),t.exprName=ct(!0),Ee(t));case 18:return pe(Rt)?Bt():function(){var e=Ce(173);return e.members=Lt(),Ee(e)}();case 22:return function(){var e=Ce(175);return e.elementTypes=st(21,jt,22,23),Ee(e)}();case 20:return function(){var e=Ce(182);return me(20),e.type=tr(),me(21),Ee(e)}();case 96:return Kt();case 124:return pe(en)?function(){var e=Ce(168);return e.assertsModifier=be(124),e.parameterName=104===ie()?mt():Pe(),e.type=ye(133)?tr():void 0,Ee(e)}():gt();default:return gt()}var t,r,n}function Wt(e){switch(ie()){case 125:case 148:case 143:case 140:case 151:case 128:case 138:case 144:case 147:case 110:case 146:case 100:case 104:case 108:case 137:case 18:case 22:case 29:case 51:case 50:case 99:case 10:case 8:case 9:case 106:case 91:case 141:case 41:case 57:case 53:case 25:case 132:case 96:case 124:return!0;case 94:return!e;case 40:return!e&&pe(Vt);case 20:return!e&&pe(Ht);default:return ge()}}function Ht(){return oe(),21===ie()||St(!1)||Wt()}function Gt(e,t){oe();var r=Ce(e,t.pos);return r.type=t,Ee(r)}function Qt(){var e=ie();switch(e){case 134:case 147:case 138:return function(e){var t=Ce(184);return me(e),t.operator=e,t.type=Qt(),Ee(t)}(e);case 132:return function(){var e=Ce(181);me(132);var t=Ce(155);return t.name=Pe(),e.typeParameter=Ee(t),Ee(e)}()}return function(){for(var e=qt();!N.hasPrecedingLineBreak();)switch(ie()){case 53:e=Gt(298,e);break;case 57:if(!(4194304&C)&&pe(Ye))return e;e=Gt(297,e);break;case 22:var t;if(me(22),Wt())(t=Ce(185,e.pos)).objectType=e,t.indexType=tr(),me(23),e=Ee(t);else(t=Ce(174,e.pos)).elementType=e,me(23),e=Ee(t);break;default:return e}return e}()}function Xt(e,t,r){var n=N.getStartPos(),i=ye(r),a=t();if(ie()===r||i){for(var o=[a];ye(r);)o.push(t());var s=Ce(e,n);s.types=ke(o,n),a=Ee(s)}return a}function Yt(){return Xt(179,Qt,50)}function Zt(){if(oe(),21===ie()||25===ie())return!0;if(function(){if(e.isModifierKind(ie())&&wn(),ge()||104===ie())return oe(),!0;if(22===ie()||18===ie()){var t=c.length;return vn(),t===c.length}return!1}()){if(58===ie()||27===ie()||57===ie()||62===ie())return!0;if(21===ie()&&(oe(),38===ie()))return!0}return!1}function $t(){var e=ge()&&fe(er),t=tr();if(e){var r=Ce(168,e.pos);return r.assertsModifier=void 0,r.parameterName=e,r.type=t,Ee(r)}return t}function er(){var e=Pe();if(133===ie()&&!N.hasPrecedingLineBreak())return oe(),e}function tr(){return K(40960,rr)}function rr(e){if(29===ie()||20===ie()&&pe(Zt)||99===ie())return function(){var e=ne(),t=Te(ye(99)?171:170,e);return Tt(38,4,t),Ee(t)}();var t=Xt(178,Yt,51);if(!e&&!N.hasPrecedingLineBreak()&&ye(90)){var r=Ce(180,t.pos);return r.checkType=t,r.extendsType=rr(!0),me(57),r.trueType=rr(),me(58),r.falseType=rr(),Ee(r)}return t}function nr(){return ye(58)?tr():void 0}function ir(){switch(ie()){case 104:case 102:case 100:case 106:case 91:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 94:case 80:case 99:case 43:case 67:case 75:return!0;case 96:return pe(Mt);default:return ge()}}function ar(){if(ir())return!0;switch(ie()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 45:case 46:case 29:case 127:case 121:case 76:return!0;default:return!!function(){if(Q()&&97===ie())return!1;return e.getBinaryOperatorPrecedence(ie())>0}()||ge()}}function or(){var e=X();e&&z(!1);for(var t,r=cr();t=ve(27);)r=vr(r,t,cr());return e&&z(!0),r}function sr(){return ye(62)?cr():void 0}function cr(){if(function(){if(121===ie())return!!G()||pe(nn);return!1}())return t=Ce(212),oe(),N.hasPrecedingLineBreak()||41!==ie()&&!ar()||(t.asteriskToken=ve(41),t.expression=cr()),Ee(t);var t,r=function(){var e=function(){if(20===ie()||29===ie()||126===ie())return pe(lr);if(38===ie())return 1;return 0}();if(0===e)return;var t=1===e?pr(!0):fe(_r);if(!t)return;var r=ei(t,126),n=ie();return t.equalsGreaterThanToken=be(38),t.body=38===n||18===n?fr(r):Pe(),Ee(t)}()||function(){if(126===ie()&&1===pe(dr)){var e=In();return ur(gr(0),e)}return}();if(r)return r;var n=gr(0);return 75===n.kind&&38===ie()?ur(n):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator(ce())?vr(n,xe(),cr()):function(t){var r=ve(57);if(!r)return t;var n=Ce(210,t.pos);return n.condition=t,n.questionToken=r,n.whenTrue=K(20480,cr),n.colonToken=be(58),n.whenFalse=e.nodeIsPresent(n.colonToken)?cr():Ne(75,!1,e.Diagnostics._0_expected,e.tokenToString(58)),Ee(n)}(n)}function ur(t,r){var n;e.Debug.assert(38===ie(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>"),r?(n=Ce(202,r.pos)).modifiers=r:n=Ce(202,t.pos);var i=Ce(156,t.pos);return i.name=t,Ee(i),n.parameters=ke([i],i.pos,i.end),n.equalsGreaterThanToken=be(38),n.body=fr(!!r),M(Ee(n))}function lr(){if(126===ie()){if(oe(),N.hasPrecedingLineBreak())return 0;if(20!==ie()&&29!==ie())return 0}var t=ie(),r=oe();if(20===t){if(21===r)switch(oe()){case 38:case 58:case 18:return 1;default:return 0}if(22===r||18===r)return 2;if(25===r)return 1;if(e.isModifierKind(r)&&126!==r&&pe(We))return 1;if(!ge()&&104!==r)return 0;switch(oe()){case 58:return 1;case 57:return oe(),58===ie()||27===ie()||62===ie()||21===ie()?1:0;case 27:case 62:case 21:return 2}return 0}return e.Debug.assert(29===t),ge()?1===s.languageVariant?pe((function(){var e=oe();if(90===e)switch(oe()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function _r(){var t=N.getTokenPos();if(!S||!S.has(t.toString())){var r=pr(!1);return r||(S||(S=e.createMap())).set(t.toString(),!0),r}}function dr(){if(126===ie()){if(oe(),N.hasPrecedingLineBreak()||38===ie())return 0;var e=gr(0);if(!N.hasPrecedingLineBreak()&&75===e.kind&&38===ie())return 1}return 0}function pr(t){var r=Te(202);if(r.modifiers=In(),Tt(58,ei(r,126)?2:0,r)||t){var n=r.type&&e.isJSDocFunctionType(r.type);if(t||38===ie()||!n&&18===ie())return r}}function fr(e){return 18===ie()?Qr(e?2:0):26===ie()||94===ie()||80===ie()||!sn()||18!==ie()&&94!==ie()&&80!==ie()&&59!==ie()&&ar()?e?W(cr):K(32768,cr):Qr(16|(e?2:0))}function gr(e){return yr(e,xr())}function mr(e){return 97===e||152===e}function yr(t,r){for(;;){ce();var n=e.getBinaryOperatorPrecedence(ie());if(!(42===ie()?n>=t:n>t))break;if(97===ie()&&Q())break;if(123===ie()){if(N.hasPrecedingLineBreak())break;oe(),r=hr(r,tr())}else r=vr(r,xe(),gr(n))}return r}function vr(e,t,r){var n=Ce(209,e.pos);return n.left=e,n.operatorToken=t,n.right=r,Ee(n)}function hr(e,t){var r=Ce(217,e.pos);return r.expression=e,r.type=t,Ee(r)}function br(){var e=Ce(207);return e.operator=ie(),oe(),e.operand=Dr(),Ee(e)}function xr(){if(function(){switch(ie()){case 39:case 40:case 54:case 53:case 85:case 108:case 110:case 127:return!1;case 29:if(1!==s.languageVariant)return!1;default:return!0}}()){var t=Sr();return 42===ie()?yr(e.getBinaryOperatorPrecedence(ie()),t):t}var r=ie(),n=Dr();if(42===ie()){var i=e.skipTrivia(m,n.pos),a=n.end;199===n.kind?ee(i,a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):ee(i,a,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 n}function Dr(){switch(ie()){case 39:case 40:case 54:case 53:return br();case 85:return e=Ce(203),oe(),e.expression=Dr(),Ee(e);case 108:return function(){var e=Ce(204);return oe(),e.expression=Dr(),Ee(e)}();case 110:return function(){var e=Ce(205);return oe(),e.expression=Dr(),Ee(e)}();case 29:return function(){var e=Ce(199);return me(29),e.type=tr(),me(31),e.expression=Dr(),Ee(e)}();case 127:if(127===ie()&&(Y()||pe(nn)))return function(){var e=Ce(206);return oe(),e.expression=Dr(),Ee(e)}();default:return Sr()}var e}function Sr(){if(45===ie()||46===ie())return(t=Ce(207)).operator=ie(),oe(),t.operand=Cr(),Ee(t);if(1===s.languageVariant&&29===ie()&&pe(Ge))return kr(!0);var t,r=Cr();return e.Debug.assert(e.isLeftHandSideExpression(r)),45!==ie()&&46!==ie()||N.hasPrecedingLineBreak()?r:((t=Ce(208,r.pos)).operand=r,t.operator=ie(),oe(),Ee(t))}function Cr(){var t;if(96===ie())if(pe(It))s.flags|=1048576,t=xe();else if(pe(Ot)){var r=N.getStartPos();oe(),oe();var n=Ce(219,r);n.keywordToken=96,n.name=we(),t=Ee(n),s.flags|=2097152}else t=Tr();else t=102===ie()?function(){var t=xe();if(29===ie()){var r=ne();void 0!==fe(jr)&&ee(r,ne(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===ie()||24===ie()||22===ie())return t;var n=Ce(194,t.pos);return n.expression=t,be(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),n.name=lt(!0,!0),Ee(n)}():Tr();return function(t){for(;;){t=Mr(t,!0);var r=ve(28);if(29===ie()||47===ie()){var n=fe(jr);if(n){if(Lr()){t=Rr(t,r,n);continue}(i=Ce(196,t.pos)).expression=t,i.questionDotToken=r,i.typeArguments=n,i.arguments=Br(),(r||32&t.flags)&&(i.flags|=32),t=Ee(i);continue}}else if(20===ie()){var i;(i=Ce(196,t.pos)).expression=t,i.questionDotToken=r,i.arguments=Br(),(r||32&t.flags)&&(i.flags|=32),t=Ee(i);continue}if(r){var a=Ce(194,t.pos);a.expression=t,a.questionDotToken=r,a.name=Ne(75,!1,e.Diagnostics.Identifier_expected),a.flags|=32,t=Ee(a)}break}return t}(t)}function Tr(){return Mr(Jr(),!0)}function kr(t){var r,n=function(e){var t=N.getStartPos();if(me(29),31===ie()){var r=Ce(271,t);return _e(),Ee(r)}var n,i=Ar(),a=Jn(),o=(s=Ce(274),s.properties=$e(13,Pr),Ee(s));var s;31===ie()?(n=Ce(268,t),_e()):(me(43),e?me(31):(me(31,void 0,!1),_e()),n=Ce(267,t));return n.tagName=i,n.typeArguments=a,n.attributes=o,Ee(n)}(t);if(268===n.kind)(i=Ce(266,n.pos)).openingElement=n,i.children=Nr(i.openingElement),i.closingElement=function(e){var t=Ce(269);me(30),t.tagName=Ar(),e?me(31):(me(31,void 0,!1),_e());return Ee(t)}(t),D(i.openingElement.tagName,i.closingElement.tagName)||te(i.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(m,i.openingElement.tagName)),r=Ee(i);else if(271===n.kind){var i;(i=Ce(270,n.pos)).openingFragment=n,i.children=Nr(i.openingFragment),i.closingFragment=function(t){var r=Ce(272);me(30),e.tokenIsIdentifierOrKeyword(ie())&&te(Ar(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);t?me(31):(me(31,void 0,!1),_e());return Ee(r)}(t),r=Ee(i)}else e.Debug.assert(267===n.kind),r=n;if(t&&29===ie()){var a=fe((function(){return kr(!0)}));if(a){Z(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=Ce(209,r.pos);return o.end=a.end,o.left=r,o.right=a,o.operatorToken=Ne(27,!1),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return r}function Er(t,r){switch(r){case 1:return void(e.isJsxOpeningFragment(t)?te(t,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):te(t.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(m,t.tagName)));case 30:case 7:return;case 11:case 12:return(n=Ce(11)).text=N.getTokenValue(),n.containsOnlyTriviaWhiteSpaces=12===l,l=N.scanJsxToken(),Ee(n);case 18:return Fr(!1);case 29:return kr(!1);default:return e.Debug.assertNever(r)}var n}function Nr(e){var t=[],r=ne(),n=x;for(x|=16384;;){var i=Er(e,l=N.reScanJsxToken());if(!i)break;t.push(i)}return x=n,ke(t,r)}function Ar(){le();for(var e=104===ie()?xe():we();ye(24);){var t=Ce(194,e.pos);t.expression=e,t.name=lt(!0,!1),e=Ee(t)}return e}function Fr(e){var t=Ce(276);if(me(18))return 19!==ie()&&(t.dotDotDotToken=ve(25),t.expression=or()),e?me(19):me(19,void 0,!1)&&_e(),Ee(t)}function Pr(){if(18===ie())return function(){var e=Ce(275);return me(18),me(25),e.expression=or(),me(19),Ee(e)}();le();var e=Ce(273);if(e.name=we(),62===ie())switch(l=N.scanJsxAttributeValue()){case 10:e.initializer=pt();break;default:e.initializer=Fr(!0)}return Ee(e)}function wr(){return oe(),e.tokenIsIdentifierOrKeyword(ie())||22===ie()||Lr()}function Ir(t,r){var n=Ce(194,t.pos);return n.expression=t,n.questionDotToken=r,n.name=lt(!0,!0),(r||32&t.flags)&&(n.flags|=32,e.isPrivateIdentifier(n.name)&&te(n.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)),Ee(n)}function Or(t,r){var n=Ce(195,t.pos);if(n.expression=t,n.questionDotToken=r,23===ie())n.argumentExpression=Ne(75,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var i=q(or);e.isStringOrNumericLiteralLike(i)&&(i.text=Ae(i.text)),n.argumentExpression=i}return me(23),(r||32&t.flags)&&(n.flags|=32),Ee(n)}function Mr(t,r){for(;;){var n=void 0,i=!1;if(r&&28===ie()&&pe(wr)?(n=be(28),i=e.tokenIsIdentifierOrKeyword(ie())):i=ye(24),i)t=Ir(t,n);else if(n||53!==ie()||N.hasPrecedingLineBreak())if(!n&&X()||!ye(22)){if(!Lr())return t;t=Rr(t,n,void 0)}else t=Or(t,n);else{oe();var a=Ce(218,t.pos);a.expression=t,t=Ee(a)}}}function Lr(){return 14===ie()||15===ie()}function Rr(e,t,r){var n=Ce(198,e.pos);return n.tag=e,n.questionDotToken=t,n.typeArguments=r,n.template=14===ie()?pt():_t(),(t||32&e.flags)&&(n.flags|=32),Ee(n)}function Br(){me(20);var e=it(11,Ur);return me(21),e}function jr(){if(29===ue()){oe();var e=it(20,tr);if(me(31))return e&&function(){switch(ie()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}()?e:void 0}}function Jr(){switch(ie()){case 8:case 9:case 10:case 14:return pt();case 104:case 102:case 100:case 106:case 91:return xe();case 20:return t=Te(200),me(20),t.expression=q(or),me(21),Ee(t);case 22:return Kr();case 18:return qr();case 126:if(!pe(rn))break;return Wr();case 80:return Ln(Te(0),214);case 94:return Wr();case 99:return function(){var t=N.getStartPos();if(me(99),ye(24)){var r=Ce(219,t);return r.keywordToken=99,r.name=we(),Ee(r)}var n,i=Jr();for(;;){i=Mr(i,!1),n=fe(jr),Lr()&&(e.Debug.assert(!!n,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),i=Rr(i,void 0,n),n=void 0);break}var a=Ce(197,t);a.expression=i,a.typeArguments=n,(a.typeArguments||20===ie())&&(a.arguments=Br());return Ee(a)}();case 43:case 67:if(13===(l=N.reScanSlashToken()))return pt();break;case 15:return _t()}var t;return Pe(e.Diagnostics.Expression_expected)}function zr(){return 25===ie()?(e=Ce(213),me(25),e.expression=cr(),Ee(e)):27===ie()?Ce(215):cr();var e}function Ur(){return K(20480,zr)}function Kr(){var e=Ce(192);return me(22),N.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=it(15,zr),me(23),Ee(e)}function Vr(){var e=Te(0);if(ve(25))return e.kind=283,e.expression=cr(),Ee(e);if(e.decorators=Pn(),e.modifiers=wn(),Re(131))return An(e,163);if(Re(142))return An(e,164);var t=ve(41),r=ge();if(e.name=Me(),e.questionToken=ve(57),e.exclamationToken=ve(53),t||20===ie()||29===ie())return kn(e,t);if(r&&58!==ie()){e.kind=282;var n=ve(62);n&&(e.equalsToken=n,e.objectAssignmentInitializer=q(cr))}else e.kind=281,me(58),e.initializer=q(cr);return Ee(e)}function qr(){var e=Ce(193);return me(18),N.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=it(12,Vr,!0),me(19),Ee(e)}function Wr(){var e=X();e&&z(!1);var t=Te(201);t.modifiers=wn(),me(94),t.asteriskToken=ve(41);var r=t.asteriskToken?1:0,n=ei(t,126)?2:0;return t.name=r&&n?V(40960,Hr):r?function(e){return V(8192,e)}(Hr):n?W(Hr):Hr(),Tt(58,r|n,t),t.body=Qr(r|n),e&&z(!0),Ee(t)}function Hr(){return ge()?Pe():void 0}function Gr(t,r){var n=Ce(223),i=N.getTokenPos();if(me(18,r)||t){if(N.hasPrecedingLineBreak()&&(n.multiLine=!0),n.statements=$e(1,un),!me(19)){var a=e.lastOrUndefined(c);a&&a.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(a,e.createFileDiagnostic(s,i,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}else n.statements=ot();return Ee(n)}function Qr(e,t){var r=G();J(!!(1&e));var n=Y();U(!!(2&e));var i=X();i&&z(!1);var a=Gr(!!(16&e),t);return i&&z(!0),J(r),U(n),a}function Xr(){var e=ne();me(93);var t,r,n=ve(127);if(me(20),26!==ie()&&(t=109===ie()||115===ie()||81===ie()?xn(!0):V(4096,or)),n?me(152):ye(152)){var i=Ce(232,e);i.awaitModifier=n,i.initializer=t,i.expression=q(cr),me(21),r=i}else if(ye(97)){var a=Ce(231,e);a.initializer=t,a.expression=q(or),me(21),r=a}else{var o=Ce(230,e);o.initializer=t,me(26),26!==ie()&&21!==ie()&&(o.condition=q(or)),me(26),21!==ie()&&(o.incrementor=q(or)),me(21),r=o}return r.statement=un(),Ee(r)}function Yr(e){var t=Ce(e);return me(234===e?77:82),De()||(t.label=Pe()),Se(),Ee(t)}function Zr(){return 78===ie()?(e=Ce(277),me(78),e.expression=q(or),me(58),e.statements=$e(3,un),Ee(e)):function(){var e=Ce(278);return me(84),me(58),e.statements=$e(3,un),Ee(e)}();var e}function $r(){var e=Ce(240);return me(107),e.tryBlock=Gr(!1),e.catchClause=79===ie()?function(){var e=Ce(280);me(79),ye(20)?(e.variableDeclaration=bn(),me(21)):e.variableDeclaration=void 0;return e.block=Gr(!1),Ee(e)}():void 0,e.catchClause&&92!==ie()||(me(92),e.finallyBlock=Gr(!1)),Ee(e)}function en(){return oe(),e.tokenIsIdentifierOrKeyword(ie())&&!N.hasPrecedingLineBreak()}function tn(){return oe(),80===ie()&&!N.hasPrecedingLineBreak()}function rn(){return oe(),94===ie()&&!N.hasPrecedingLineBreak()}function nn(){return oe(),(e.tokenIsIdentifierOrKeyword(ie())||8===ie()||9===ie()||10===ie())&&!N.hasPrecedingLineBreak()}function an(){for(;;)switch(ie()){case 109:case 115:case 81:case 94:case 80:case 88:return!0;case 114:case 145:return oe(),!N.hasPrecedingLineBreak()&&ge();case 135:case 136:return pn();case 122:case 126:case 130:case 117:case 118:case 119:case 138:if(oe(),N.hasPrecedingLineBreak())return!1;continue;case 150:return oe(),18===ie()||75===ie()||89===ie();case 96:return oe(),10===ie()||41===ie()||18===ie()||e.tokenIsIdentifierOrKeyword(ie());case 89:var t=oe();if(145===t&&(t=pe(oe)),62===t||41===t||18===t||84===t||123===t)return!0;continue;case 120:oe();continue;default:return!1}}function on(){return pe(an)}function sn(){switch(ie()){case 59:case 26:case 18:case 109:case 115:case 94:case 80:case 88:case 95:case 86:case 111:case 93:case 82:case 77:case 101:case 112:case 103:case 105:case 107:case 83:case 79:case 92:return!0;case 96:return on()||pe(Mt);case 81:case 89:return on();case 126:case 130:case 114:case 135:case 136:case 145:case 150:return!0;case 119:case 117:case 118:case 120:case 138:return on()||!pe(en);default:return ar()}}function cn(){return oe(),ge()||18===ie()||22===ie()}function un(){switch(ie()){case 26:return e=Ce(224),me(26),Ee(e);case 18:return Gr(!1);case 109:return Sn(Te(242));case 115:if(pe(cn))return Sn(Te(242));break;case 94:return Cn(Te(244));case 80:return Mn(Te(245));case 95:return function(){var e=Ce(227);return me(95),me(20),e.expression=q(or),me(21),e.thenStatement=un(),e.elseStatement=ye(87)?un():void 0,Ee(e)}();case 86:return function(){var e=Ce(228);return me(86),e.statement=un(),me(111),me(20),e.expression=q(or),me(21),ye(26),Ee(e)}();case 111:return function(){var e=Ce(229);return me(111),me(20),e.expression=q(or),me(21),e.statement=un(),Ee(e)}();case 93:return Xr();case 82:return Yr(233);case 77:return Yr(234);case 101:return function(){var e=Ce(235);return me(101),De()||(e.expression=q(or)),Se(),Ee(e)}();case 112:return function(){var e=Ce(236);return me(112),me(20),e.expression=q(or),me(21),e.statement=V(16777216,un),Ee(e)}();case 103:return function(){var e=Ce(237);me(103),me(20),e.expression=q(or),me(21);var t=Ce(251);return me(18),t.clauses=$e(2,Zr),me(19),e.caseBlock=Ee(t),Ee(e)}();case 105:return function(){var e=Ce(239);return me(105),e.expression=N.hasPrecedingLineBreak()?void 0:q(or),Se(),Ee(e)}();case 107:case 79:case 92:return $r();case 83:return function(){var e=Ce(241);return me(83),Se(),Ee(e)}();case 59:return _n();case 126:case 114:case 145:case 135:case 136:case 130:case 81:case 88:case 89:case 96:case 117:case 118:case 119:case 122:case 120:case 138:case 150:if(on())return _n()}var e;return function(){var e=Te(0),t=q(or);return 75===t.kind&&ye(58)?(e.kind=238,e.label=t,e.statement=un()):(e.kind=226,e.expression=t,Se()),Ee(e)}()}function ln(e){return 130===e.kind}function _n(){var t=pe((function(){return Pn(),wn()})),r=e.some(t,ln);if(r){var n=V(8388608,(function(){var e=tt(x);if(e)return rt(e)}));if(n)return n}var i=Te(0);if(i.decorators=Pn(),i.modifiers=wn(),r){for(var a=0,o=i.modifiers;a=0),e.Debug.assert(t<=a),e.Debug.assert(a<=i.length),_(i,t)){var o,s,c,u=[];return N.scanRange(t+3,n-5,(function(){var e,r,n=1,_=t-Math.max(i.lastIndexOf("\n",t),0)+4;function p(t){e||(e=_),u.push(t),_+=t.length}for(se();O(5););O(4)&&(n=0,_=0);e:for(;;){switch(ie()){case 59:0===n||1===n?(d(u),h(y(_)),n=0,e=void 0):p(N.getTokenText());break;case 4:u.push(N.getTokenText()),n=0,_=0;break;case 41:var f=N.getTokenText();1===n||2===n?(n=2,p(f)):(n=1,_+=f.length);break;case 5:var g=N.getTokenText();2===n?u.push(g):void 0!==e&&_+g.length>e&&u.push(g.slice(e-_-1)),_+=g.length;break;case 1:break e;default:n=2,p(N.getTokenText())}se()}return l(u),d(u),(r=Ce(303,t)).tags=o&&ke(o,s,c),r.comment=u.length?u.join(""):void 0,Ee(r,a)}))}function l(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function d(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function p(){for(;;){if(se(),1===ie())return!0;if(5!==ie()&&4!==ie())return!1}}function f(){if(5!==ie()&&4!==ie()||!pe(p))for(;5===ie()||4===ie();)se()}function g(){if((5===ie()||4===ie())&&pe(p))return"";for(var e=N.hasPrecedingLineBreak(),t=!1,r="";e&&41===ie()||5===ie()||4===ie();)r+=N.getTokenText(),4===ie()?(e=!0,t=!0,r=""):41===ie()&&(e=!1),se();return t?r:""}function y(t){e.Debug.assert(59===ie());var n=N.getTokenPos();se();var i,a=M(void 0),s=g();switch(a.escapedText){case"author":i=function(e,t,r){var n=Ce(308,e);n.tagName=t;var i=fe((function(){return function(){var e=[],t=!1,r=!1,n=N.getToken();e:for(;;){switch(n){case 75:case 5:case 24:case 59:e.push(N.getTokenText());break;case 29:if(t||r)return;t=!0,e.push(N.getTokenText());break;case 31:if(!t||r)return;r=!0,e.push(N.getTokenText()),N.setTextPos(N.getTokenPos()+1);break e;case 4:case 1:break e}n=se()}if(t&&r)return 0===e.length?void 0:e.join("")}()}));if(!i)return Ee(n);if(n.comment=i,pe((function(){return 4!==oe()}))){var a=v(r);a&&(n.comment+=a)}return Ee(n)}(n,a,t);break;case"augments":case"extends":i=function(e,t){var r=Ce(307,e);return r.tagName=t,r.class=function(){var e=ye(18),t=Ce(216);t.expression=function(){var e=M();for(;ye(24);){var t=Ce(194,e.pos);t.expression=e,t.name=M(),e=Ee(t)}return e}(),t.typeArguments=Jn();var r=Ee(t);e&&me(19);return r}(),Ee(r)}(n,a);break;case"class":case"constructor":i=k(n,309,a);break;case"public":i=k(n,310,a);break;case"private":i=k(n,311,a);break;case"protected":i=k(n,312,a);break;case"readonly":i=k(n,313,a);break;case"this":i=function(e,t){var n=Ce(318,e);return n.tagName=t,n.typeExpression=r(!0),f(),Ee(n)}(n,a);break;case"enum":i=function(e,t){var n=Ce(315,e);return n.tagName=t,n.typeExpression=r(!0),f(),Ee(n)}(n,a);break;case"arg":case"argument":case"param":return C(n,a,2,t);case"return":case"returns":i=function(t,r){e.some(o,e.isJSDocReturnTag)&&ee(r.pos,N.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var n=Ce(317,t);return n.tagName=r,n.typeExpression=x(),Ee(n)}(n,a);break;case"template":i=function(t,n){var i;18===ie()&&(i=r());var a=[],o=ne();do{f();var s=Ce(155);s.name=M(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Ee(s),f(),a.push(s)}while(O(27));var c=Ce(320,t);return c.tagName=n,c.constraint=i,c.typeParameters=ke(a,o),Ee(c),c}(n,a);break;case"type":i=T(n,a);break;case"typedef":i=function(t,r,n){var i=x();g();var a,o=Ce(321,t);if(o.tagName=r,o.fullName=E(),o.name=A(o.fullName),f(),o.comment=v(n),o.typeExpression=i,!i||S(i.type)){for(var s=void 0,c=void 0,u=void 0;s=fe((function(){return P(n)}));)if(c||(c=Ce(304,t)),319===s.kind){if(u)break;u=s}else c.jsDocPropertyTags=e.append(c.jsDocPropertyTags,s);c&&(i&&174===i.type.kind&&(c.isArrayType=!0),o.typeExpression=u&&u.typeExpression&&!S(u.typeExpression.type)?u.typeExpression:Ee(c),a=o.typeExpression.end)}return Ee(o,a||void 0!==o.comment?N.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}(n,a,t);break;case"callback":i=function(t,r,n){var i,a=Ce(314,t);a.tagName=r,a.fullName=E(),a.name=A(a.fullName),f(),a.comment=v(n);var o=Ce(305,t);o.parameters=[];for(;i=fe((function(){return w(4,n)}));)o.parameters=e.append(o.parameters,i);var s=fe((function(){if(O(59)){var e=y(n);if(e&&317===e.kind)return e}}));s&&(o.type=s);return a.typeExpression=Ee(o),Ee(a)}(n,a,t);break;default:i=function(e,t){var r=Ce(306,e);return r.tagName=t,Ee(r)}(n,a)}return i.comment||(s||(t+=i.end-i.pos),i.comment=v(t,s.slice(t))),i}function v(t,r){var n,i=[],a=0;function o(e){n||(n=t),i.push(e),t+=e.length}r&&(o(r),a=2);var s=ie();e:for(;;){switch(s){case 4:a>=1&&(a=0,i.push(N.getTokenText())),t=0;break;case 59:if(3===a){i.push(N.getTokenText());break}N.setTextPos(N.getTextPos()-1);case 1:break e;case 5:if(2===a||3===a)o(N.getTokenText());else{var c=N.getTokenText();void 0!==n&&t+c.length>n&&i.push(c.slice(n-t)),t+=c.length}break;case 18:a=2,pe((function(){return 59===se()&&e.tokenIsIdentifierOrKeyword(se())&&"link"===N.getTokenText()}))&&(o(N.getTokenText()),se(),o(N.getTokenText()),se()),o(N.getTokenText());break;case 61:a=3===a?2:3,o(N.getTokenText());break;case 41:if(0===a){a=1,t+=1;break}default:3!==a&&(a=2),o(N.getTokenText())}s=se()}return l(i),d(i),0===i.length?void 0:i.join("")}function h(e){e&&(o?o.push(e):(o=[e],s=e.pos),c=e.end)}function x(){return g(),18===ie()?r():void 0}function D(){var t=O(22);t&&f();var r,n=O(61),i=function(){var e=M();ye(22)&&me(23);for(;ye(24);){var t=M();ye(22)&&me(23),e=ut(e,t)}return e}();return n&&(he(r=61)||Ne(r,!1,e.Diagnostics._0_expected,e.tokenToString(r))),t&&(f(),ve(62)&&or(),me(23)),{name:i,isBracketed:t}}function S(t){switch(t.kind){case 141:return!0;case 174:return S(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&!t.typeArguments}}function C(t,r,n,i){var a=x(),o=!a;g();var s=D(),c=s.name,u=s.isBracketed;f(),o&&(a=x());var l=Ce(1===n?322:316,t),_=v(i+N.getStartPos()-t),d=4!==n&&function(t,r,n,i){if(t&&S(t.type)){for(var a=Ce(294,N.getTokenPos()),o=void 0,s=void 0,c=N.getStartPos(),u=void 0;o=fe((function(){return w(n,i,r)}));)316!==o.kind&&322!==o.kind||(u=e.append(u,o));if(u)return(s=Ce(304,c)).jsDocPropertyTags=u,174===t.type.kind&&(s.isArrayType=!0),a.type=Ee(s),Ee(a)}}(a,c,n,i);return d&&(a=d,o=!0),l.tagName=r,l.typeExpression=a,l.name=c,l.isNameFirst=o,l.isBracketed=u,l.comment=_,Ee(l)}function T(t,n){e.some(o,e.isJSDocTypeTag)&&ee(n.pos,N.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText);var i=Ce(319,t);return i.tagName=n,i.typeExpression=r(!0),Ee(i)}function k(e,t,r){var n=Ce(t,e);return n.tagName=r,Ee(n)}function E(t){var r=N.getTokenPos();if(e.tokenIsIdentifierOrKeyword(ie())){var n=M();if(ye(24)){var i=Ce(249,r);return t&&(i.flags|=4),i.name=n,i.body=E(!0),Ee(i)}return t&&(n.isInJSDocNamespace=!0),n}}function A(t){if(t)for(var r=t;;){if(e.isIdentifier(r)||!r.body)return e.isIdentifier(r)?r:r.name;r=r.body}}function F(t,r){for(;!e.isIdentifier(t)||!e.isIdentifier(r);){if(e.isIdentifier(t)||e.isIdentifier(r)||t.right.escapedText!==r.right.escapedText)return!1;t=t.left,r=r.left}return t.escapedText===r.escapedText}function P(e){return w(1,e)}function w(t,r,n){for(var i=!0,a=!1;;)switch(se()){case 59:if(i){var o=I(t,r);return!(o&&(316===o.kind||322===o.kind)&&4!==t&&n&&(e.isIdentifier(o.name)||!F(n,o.name.left)))&&o}a=!1;break;case 4:i=!0,a=!1;break;case 41:a&&(i=!1),a=!0;break;case 75:i=!1;break;case 1:return!1}}function I(t,r){e.Debug.assert(59===ie());var n=N.getStartPos();se();var i,a=M();switch(f(),a.escapedText){case"type":return 1===t&&T(n,a);case"prop":case"property":i=1;break;case"arg":case"argument":case"param":i=6;break;default:return!1}return!!(t&i)&&C(n,a,t,r)}function O(e){return ie()===e&&(se(),!0)}function M(t){if(!e.tokenIsIdentifierOrKeyword(ie()))return Ne(75,!t,t||e.Diagnostics.Identifier_expected);b++;var r=N.getTokenPos(),n=N.getTextPos(),i=Ce(75,r);return 75!==ie()&&(i.originalKeywordKind=ie()),i.escapedText=e.escapeLeadingUnderscores(Ae(N.getTokenValue())),Ee(i,n),se(),i}}t.parseJSDocTypeExpressionForTests=function(e,t,n){w(e,99,void 0,1),s=R("file.js",99,1,!1),N.setText(e,t,n),l=N.scan();var i=r(),a=c;return I(),i?{jsDocTypeExpression:i,diagnostics:a}:void 0},t.parseJSDocTypeExpression=r,t.parseIsolatedJSDocComment=function(e,t,r){w(e,99,void 0,1),s={languageVariant:0,text:e};var n=V(4194304,(function(){return a(t,r)})),i=c;return I(),n?{jsDoc:n,diagnostics:i}:void 0},t.parseJSDocComment=function(e,t,r){var n,i=l,o=c.length,u=A,_=V(4194304,(function(){return a(t,r)}));return _&&(_.parent=e),131072&C&&(s.jsDocDiagnostics||(s.jsDocDiagnostics=[]),(n=s.jsDocDiagnostics).push.apply(n,c)),l=i,c.length=o,A=u,_},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks"}(n||(n={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(i||(i={}))}(E=t.JSDocParser||(t.JSDocParser={}))}(s||(s={})),function(t){function r(t,r,i,o,s,c){return void(r?l(t):u(t));function u(t){var r="";if(c&&n(t)&&(r=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=i,t.end+=i,c&&n(t)&&e.Debug.assert(r===s.substring(t.pos,t.end)),d(t,u,l),e.hasJSDocNodes(t))for(var _=0,p=t.jsDoc;_=r,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=n,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end),t.pos=Math.min(t.pos,i),t.end>=n?t.end+=a:t.end=Math.min(t.end,i),e.Debug.assert(t.pos<=t.end),t.parent&&(e.Debug.assert(t.pos>=t.parent.pos),e.Debug.assert(t.end<=t.parent.end))}function a(t,r){if(r){var n=t.pos,i=function(t){e.Debug.assert(t.pos>=n),n=t.end};if(e.hasJSDocNodes(t))for(var a=0,o=t.jsDoc;ar),!0;if(a.pos>=i.pos&&(i=a),ri.pos&&(i=a)}return i}function c(t,r,n,i){var a=t.text;if(n&&(e.Debug.assert(a.length-n.span.length+n.newLength===r.length),i||e.Debug.shouldAssert(3))){var o=a.substr(0,n.span.start),s=r.substr(0,n.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(n.span),a.length),u=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===u)}}var u;t.updateSourceFile=function(t,n,u,l){if(c(t,n,u,l=l||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(u))return t;if(0===t.statements.length)return s.parseSourceFile(t.fileName,n,t.languageVersion,void 0,!0,t.scriptKind);var _=t;e.Debug.assert(!_.hasBeenIncrementallyParsed),_.hasBeenIncrementallyParsed=!0;var p=t.text,f=function(t){var r=t.statements,n=0;e.Debug.assert(n=t.pos&&e=t.pos&&e0&&i<=1;i++){var a=o(t,n);e.Debug.assert(a.pos<=n);var s=a.pos;n=Math.max(0,s-1)}var c=e.createTextSpanFromBounds(n,e.textSpanEnd(r.span)),u=r.newLength+(r.span.start-n);return e.createTextChangeRange(c,u)}(t,u);c(t,n,g,l),e.Debug.assert(g.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var m=e.textChangeRangeNewSpan(g).length-g.span.length;return function(t,n,o,s,c,u,l,_){return void p(t);function p(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!1,c,u,l,_);else{var g=t.end;if(g>=n){if(t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c),d(t,p,f),e.hasJSDocNodes(t))for(var m=0,y=t.jsDoc;mo)r(t,!0,c,u,l,_);else{var a=t.end;if(a>=n){t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c);for(var d=0,f=t;d/im,h=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function b(t,r,n){var i=2===r.kind&&v.exec(n);if(i){var a=i[1].toLowerCase(),o=e.commentPragmas[a];if(!(o&&1&o.kind))return;if(o.args){for(var s={},c=0,u=o.args;c=r.length)break;var o=a;if(34===r.charCodeAt(o)){for(a++;a32;)a++;i.push(r.substring(o,a))}}c(i)}else s.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t))}}function m(t,r,n,i,a,o){if(i.isTSConfigOnly)"null"===(s=t[r])?(a[i.name]=void 0,r++):"boolean"===i.type?"false"===s?(a[i.name]=!1,r++):("true"===s&&r++,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,i.name))):(o.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,i.name)),s&&!e.startsWith(s,"-")&&r++);else if(t[r]||"boolean"===i.type||o.push(e.createCompilerDiagnostic(n.optionTypeMismatchDiagnostic,i.name,R(i))),"null"!==t[r])switch(i.type){case"number":a[i.name]=parseInt(t[r]),r++;break;case"boolean":var s=t[r];a[i.name]="false"!==s,"false"!==s&&"true"!==s||r++;break;case"string":a[i.name]=t[r]||"",r++;break;case"list":var c=d(i,t[r],o);a[i.name]=c||[],c&&r++;break;default:a[i.name]=_(i,t[r],o),r++}else a[i.name]=void 0,r++;return r}function y(e,t){return v(a,e,t)}function v(e,t,r){void 0===r&&(r=!1),t=t.toLowerCase();var n=e(),i=n.optionsNameMap,a=n.shortOptionNames;if(r){var o=a.get(t);void 0!==o&&(t=o)}return i.get(t)}e.libs=n.map((function(e){return e[0]})),e.libMap=e.createMapFromEntries(n),e.optionsForWatch=[{name:"watchFile",type:e.createMapFromTemplate({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory}),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory},{name:"watchDirectory",type:e.createMapFromTemplate({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling}),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling},{name:"fallbackPolling",type:e.createMapFromTemplate({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority}),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority},{name:"synchronousWatchDirectory",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively}],e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.optionDeclarations=s(e.commonOptionsWithBuild,[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},{name:"target",shortName:"t",type:e.createMapFromTemplate({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:99}),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT},{name:"module",shortName:"m",type:e.createMapFromTemplate({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,es2020:e.ModuleKind.ES2020,esnext:e.ModuleKind.ESNext}),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:e.createMapFromTemplate({preserve:1,"react-native":3,react:2}),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"importsNotUsedAsValues",type:e.createMapFromTemplate({remove:0,preserve:1,error:2}),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:e.createMapFromTemplate({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic}),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:e.createMapFromTemplate({crlf:0,lf:1}),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_solution_searching_for_this_project},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(t){return e.hasProperty(t,"transpileOptionValue")})),e.buildOpts=s(e.commonOptionsWithBuild,[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.createOptionNameMap=i,e.getOptionsNameMap=a,e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0},e.convertEnableAutoDiscoveryToEnable=o,e.createCompilerDiagnosticForInvalidCustomType=u,e.parseCustomTypeOption=_,e.parseListTypeOption=d,e.parseCommandLineWorker=g,e.compilerOptionsDidYouMeanDiagnostics={getOptionsNameMap:a,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(t,r){return g(e.compilerOptionsDidYouMeanDiagnostics,t,r)},e.getOptionFromName=y;var h={getOptionsNameMap:function(){return r||(r=i(e.buildOpts))},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 b(t,r){var n=e.parseJsonText(t,r);return{config:M(n,n.parseDiagnostics),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function x(t,r){var n=D(t,r);return e.isString(n)?e.parseJsonText(t,n):{parseDiagnostics:[n]}}function D(t,r){var n;try{n=r(t)}catch(r){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,r.message)}return void 0===n?e.createCompilerDiagnostic(e.Diagnostics.The_specified_path_does_not_exist_Colon_0,t):n}function S(t){return e.arrayToMap(t,p)}e.parseBuildCommand=function(t){var r=g(h,t),n=r.options,i=r.watchOptions,a=r.fileNames,o=r.errors,s=n;return 0===a.length&&a.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:i,projects:a,errors:o}},e.getDiagnosticText=function(t){for(var r=[],n=1;n=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,s(o,[l]).join(" -> "))),{raw:t||M(r,c)};var _=t?function(t,r,n,i,a){e.hasProperty(t,"excludes")&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=ne(t.compilerOptions,n,a,i),c=ae(t.typeAcquisition||t.typingOptions,n,a,i),u=function(e,t,r){return oe(I(),e,t,void 0,P,r)}(t.watchOptions,n,a);if(t.compileOnSave=function(t,r,n){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name))return!1;var i=se(e.compileOnSaveCommandLineOption,t.compileOnSave,r,n);return"boolean"==typeof i&&i}(t,n,a),t.extends)if(e.isString(t.extends)){var l=i?G(i,n):n;o=te(t.extends,r,l,a,e.createCompilerDiagnostic)}else a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:t,options:s,watchOptions:u,typeAcquisition:c,extendedConfigPath:o}}(t,n,i,a,c):function(t,r,n,i,a){var o,s,c,u,l=re(i),_={onSetValidOptionKeyValueInParent:function(t,r,a){var u;switch(t){case"compilerOptions":u=l;break;case"watchOptions":u=c||(c={});break;case"typeAcquisition":u=o||(o=ie(i));break;case"typingOptions":u=s||(s=ie(i));break;default:e.Debug.fail("Unknown option")}u[r.name]=function t(r,n,i){if(H(i))return;if("list"===r.type){var a=r;return a.element.isFilePath||!e.isString(a.element.type)?e.filter(e.map(i,(function(e){return t(a.element,n,e)})),(function(e){return!!e})):i}if(!e.isString(r.type))return r.type.get(e.isString(i)?i.toLowerCase():i);return ce(r,n,i)}(r,n,a)},onSetValidOptionKeyValueInRoot:function(o,s,c,l){switch(o){case"extends":var _=i?G(i,n):n;return void(u=te(c,r,_,a,(function(r,n){return e.createDiagnosticForNodeInSourceFile(t,l,r,n)})))}},onSetUnknownOptionKeyValueInRoot:function(r,n,i,o){"excludes"===r&&a.push(e.createDiagnosticForNodeInSourceFile(t,n,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},d=L(t,a,!0,(void 0===F&&(F={name:void 0,type:"object",elementOptions:S([{name:"compilerOptions",type:"object",elementOptions:w(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:I(),extraKeyDiagnostics:P},{name:"typingOptions",type:"object",elementOptions:O(),extraKeyDiagnostics:T},{name:"typeAcquisition",type:"object",elementOptions:O(),extraKeyDiagnostics:T},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),F),_);o||(o=s?void 0!==s.enableAutoDiscovery?{enable:s.enableAutoDiscovery,include:s.include,exclude:s.exclude}:s:ie(i));return{raw:d,options:l,watchOptions:c,typeAcquisition:o,extendedConfigPath:u}}(r,n,i,a,c);if(_.extendedConfigPath){o=o.concat([l]);var d=function(t,r,n,i,a,o,s){var c,u,l,_,d=n.useCaseSensitiveFileNames?r:e.toFileNameLowerCase(r);if(s&&(u=s.get(d)))l=u.extendedResult,_=u.extendedConfig;else{if(!(l=x(r,(function(e){return n.readFile(e)}))).parseDiagnostics.length){var p=e.getDirectoryPath(r);if($(_=ee(void 0,l,n,p,e.getBaseFileName(r),a,o,s))){var f=e.convertToRelativePath(p,i,e.identity),g=function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(f,t)},m=function(t){y[t]&&(y[t]=e.map(y[t],g))},y=_.raw;m("include"),m("exclude"),m("files")}}s&&s.set(d,{extendedResult:l,extendedConfig:_})}t&&(t.extendedSourceFiles=[l.fileName],l.extendedSourceFiles&&(c=t.extendedSourceFiles).push.apply(c,l.extendedSourceFiles));if(l.parseDiagnostics.length)return void o.push.apply(o,l.parseDiagnostics);return _}(r,_.extendedConfigPath,n,i,o,c,u);if(d&&$(d)){var p=d.raw,f=_.raw,g=function(e){var t=f[e]||p[e];t&&(f[e]=t)};g("include"),g("exclude"),g("files"),void 0===f.compileOnSave&&(f.compileOnSave=p.compileOnSave),_.options=e.assign({},d.options,_.options),_.watchOptions=_.watchOptions&&d.watchOptions?e.assign({},d.watchOptions,_.watchOptions):_.watchOptions||d.watchOptions}}return _}function te(t,r,n,i,a){if(t=e.normalizeSlashes(t),e.isRootedDiskPath(t)||e.startsWith(t,"./")||e.startsWith(t,"../")){var o=e.getNormalizedAbsolutePath(t,n);return r.fileExists(o)||e.endsWith(o,".json")||(o+=".json",r.fileExists(o))?o:void i.push(a(e.Diagnostics.File_0_not_found,t))}var s=e.nodeModuleNameResolver(t,e.combinePaths(n,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},r,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;i.push(a(e.Diagnostics.File_0_not_found,t))}function re(t){return t&&"jsconfig.json"===e.getBaseFileName(t)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function ne(t,r,n,i){var a=re(i);return oe(w(),t,r,a,e.compilerOptionsDidYouMeanDiagnostics,n),i&&(a.configFilePath=e.normalizeSlashes(i)),a}function ie(t){return{enable:!!t&&"jsconfig.json"===e.getBaseFileName(t),include:[],exclude:[]}}function ae(e,t,r,n){var i=ie(n),a=o(e);return oe(O(),a,t,i,T,r),i}function oe(t,r,n,i,a,o){if(r){for(var s in r){var c=t.get(s);c?(i||(i={}))[c.name]=se(c,r[s],n,o):o.push(f(s,a,e.createCompilerDiagnostic))}return i}}function se(t,r,n,i){if(B(t,r)){var a=t.type;return"list"===a&&e.isArray(r)?function(t,r,n,i){return e.filter(e.map(r,(function(e){return se(t.element,e,n,i)})),(function(e){return!!e}))}(t,r,n,i):e.isString(a)?ce(t,n,r):ue(t,r,i)}i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,R(t)))}function ce(t,r,n){return t.isFilePath&&""===(n=e.getNormalizedAbsolutePath(n,r))&&(n="."),n}function ue(e,t,r){if(!H(t)){var n=t.toLowerCase(),i=e.type.get(n);if(void 0!==i)return i;r.push(u(e))}}function le(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.convertToObject=M,e.convertToObjectWorker=L,e.convertToTSConfig=function(t,r,n){var i=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames),a=e.map(e.filter(t.fileNames,t.configFileSpecs&&t.configFileSpecs.validatedIncludeSpecs?function(t,r,n,i){if(!r)return function(e){return!0};var a=e.getFileMatcherPatterns(t,n,r,i.useCaseSensitiveFileNames,i.getCurrentDirectory()),o=a.excludePattern&&e.getRegexFromPattern(a.excludePattern,i.useCaseSensitiveFileNames),s=a.includeFilePattern&&e.getRegexFromPattern(a.includeFilePattern,i.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 function(e){return!0}}(r,t.configFileSpecs.validatedIncludeSpecs,t.configFileSpecs.validatedExcludeSpecs,n):function(e){return!0}),(function(t){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),i)})),o=U(t.options,{configFilePath:e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),s=t.watchOptions&&K(t.watchOptions,k());return c(c({compilerOptions:c(c({},j(o)),{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:s&&j(s),references:e.map(t.projectReferences,(function(e){return c(c({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(a)?a:void 0},t.configFileSpecs?{include:J(t.configFileSpecs.validatedIncludeSpecs),exclude:t.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!t.compileOnSave||void 0})},e.generateTSConfig=function(t,r,n){var i=U(e.extend(t,e.defaultInitCompilerOptions));return function(){for(var t=e.createMultiMap(),c=0,u=e.optionDeclarations;c0)for(var x=function(t){if(e.fileExtensionIs(t,".json")){if(!o){var n=d.filter((function(t){return e.endsWith(t,".json")})),a=e.map(e.getRegularExpressionsForWildcards(n,r,"files"),(function(e){return"^"+e+"$"}));o=a?a.map((function(t){return e.getRegexFromPattern(t,i.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(t)}))){var _=s(t);c.has(_)||l.has(_)||l.set(_,t)}return"continue"}if(function(t,r,n,i,a){for(var o=e.getExtensionPriority(t,i),s=e.adjustExtensionPriority(o,i),c=0;cs&&(s=l),1===s)return s}return s}break;case 250:var _=0;return e.forEachChild(t,(function(t){var r=n(t,a);switch(r){case 0:return;case 2:return void(_=2);case 1:return _=1,!0;default:e.Debug.assertNever(r)}})),_;case 249:return r(t,a);case 75:if(t.isInJSDocNamespace)return 0}return 1}(t,a);return a.set(o,s),s}function i(t,r){for(var i=t.propertyName||t.name,a=t.parent;a;){if(e.isBlock(a)||e.isModuleBlock(a)||e.isSourceFile(a)){for(var o=void 0,s=0,c=a.statements;so)&&(o=l),1===o)return o}}if(void 0!==o)return o}a=a.parent}return 1}function a(t){return e.Debug.attachFlowNodeDebugInfo(t),t}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=r,function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(t||(t={}));var o=function(){var t,n,i,o,p,m,y,v,h,b,x,D,S,C,T,k,E,N,A,F,P,w,I,O,M,L=0,R={flags:1},B={flags:1},j=0;function J(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(r)||t,r,n,i,a,o)}return function(r,s){t=r,n=s,i=e.getEmitScriptTarget(n),w=function(t,r){return!(!e.getStrictOptionValue(r,"alwaysStrict")||t.isDeclarationFile)||!!t.externalModuleIndicator}(t,s),O=e.createUnderscoreEscapedMap(),L=0,M=t.isDeclarationFile,I=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(R),e.Debug.attachFlowNodeDebugInfo(B),t.locals||(Be(t),t.symbolCount=L,t.classifiableNames=O,function(){if(!h)return;for(var r=p,n=v,i=y,s=o,c=x,u=0,_=h;u<_.length;u++){var d=_[u],f=e.getJSDocHost(d);p=e.findAncestor(f.parent,(function(e){return!!(1&Te(e))}))||t,y=e.getEnclosingBlockScopeContainer(f)||t,x=a({flags:2}),o=d,Be(d.typeExpression);var g=e.getNameOfDeclaration(d);if((e.isJSDocEnumTag(d)||!d.fullName)&&g&&e.isPropertyAccessEntityNameExpression(g.parent)){var m=Ze(g.parent);if(m){Xe(t.symbol,g.parent,m,!!e.findAncestor(g,(function(t){return e.isPropertyAccessExpression(t)&&"prototype"===t.name.escapedText})),!1);var b=p;switch(e.getAssignmentDeclarationPropertyAccessKind(g.parent)){case 1:case 2:p=e.isExternalOrCommonJsModule(t)?t:void 0;break;case 4:p=g.parent.expression;break;case 3:p=g.parent.expression.name;break;case 5:p=l(t,g.parent.expression)?t:e.isPropertyAccessExpression(g.parent.expression)?g.parent.expression.name:g.parent.expression;break;case 0:return e.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}p&&H(d,524288,788968),p=b}}else e.isJSDocEnumTag(d)||!d.fullName||75===d.fullName.kind?(o=d.parent,Pe(d,524288,788968)):Be(d.fullName)}p=r,v=n,y=i,o=s,x=c}()),t=void 0,n=void 0,i=void 0,o=void 0,p=void 0,m=void 0,y=void 0,v=void 0,h=void 0,b=!1,x=void 0,D=void 0,S=void 0,C=void 0,T=void 0,k=void 0,E=void 0,A=void 0,F=!1,P=0,j=0};function z(e,t){return L++,new I(e,t)}function U(t,r,n){t.flags|=n,r.symbol=t,t.declarations=e.appendIfUnique(t.declarations,r),1955&n&&!t.exports&&(t.exports=e.createSymbolTable()),6240&n&&!t.members&&(t.members=e.createSymbolTable()),t.constEnumOnlyModule&&304&t.flags&&(t.constEnumOnlyModule=!1),111551&n&&K(t,r)}function K(t,r){var n=t.valueDeclaration;(!n||e.isAssignmentDeclaration(n)&&!e.isAssignmentDeclaration(r)||n.kind!==r.kind&&e.isEffectiveModuleDeclaration(n))&&(t.valueDeclaration=r)}function V(t){if(259===t.kind)return t.isExportEquals?"export=":"default";var r=e.getNameOfDeclaration(t);if(r){if(e.isAmbientModule(t)){var n=e.getTextOfIdentifierOrLiteral(r);return e.isGlobalScopeAugmentation(t)?"__global":'"'+n+'"'}if(154===r.kind){var i=r.expression;return e.isStringOrNumericLiteralLike(i)?e.escapeLeadingUnderscores(i.text):e.isSignedNumericLiteral(i)?e.tokenToString(i.operator)+i.operand.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(i)),e.getPropertyNameForKnownSymbolName(e.idText(i.name)))}if(e.isWellKnownSymbolSyntactically(r))return e.getPropertyNameForKnownSymbolName(e.idText(r.name));if(e.isPrivateIdentifier(r)){var a=e.getContainingClass(t);if(!a)return;var o=a.symbol;return e.getSymbolNameForPrivateIdentifier(o,r.escapedText)}return e.isPropertyNameLiteral(r)?e.getEscapedTextOfIdentifierOrLiteral(r):void 0}switch(t.kind){case 162:return"__constructor";case 170:case 165:case 305:return"__call";case 171:case 166:return"__new";case 167:return"__index";case 260:return"__export";case 290:return"export=";case 209:if(2===e.getAssignmentDeclarationKind(t))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 300:return e.isJSDocConstructSignature(t)?"__new":"__call";case 156:return e.Debug.assert(300===t.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[t.parent.kind]:t.parent.kind)+", expected JSDocFunctionType"})),"arg"+t.parent.parameters.indexOf(t)}}function q(t){return e.isNamedDeclaration(t)?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(e.Debug.assertDefined(V(t)))}function W(r,n,i,a,o,c){e.Debug.assert(!e.hasDynamicName(i));var u,l=e.hasModifier(i,512),_=l&&n?"default":V(i);if(void 0===_)u=z(0,"__missing");else if(u=r.get(_),2885600&a&&O.set(_,!0),u){if(c&&!u.isReplaceableByMethod)return u;if(u.flags&o)if(u.isReplaceableByMethod)r.set(_,u=z(0,_));else if(!(3&a&&67108864&u.flags)){e.isNamedDeclaration(i)&&(i.name.parent=i);var d=2&u.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,p=!0;(384&u.flags||384&a)&&(d=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,p=!1);var f=!1;e.length(u.declarations)&&(l||u.declarations&&u.declarations.length&&259===i.kind&&!i.isExportEquals)&&(d=e.Diagnostics.A_module_cannot_have_multiple_default_exports,p=!1,f=!0);var g=[];e.isTypeAliasDeclaration(i)&&e.nodeIsMissing(i.type)&&e.hasModifier(i,1)&&2887656&u.flags&&g.push(J(i,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(i.name.escapedText)+" }"));var m=e.getNameOfDeclaration(i)||i;e.forEach(u.declarations,(function(r,n){var i=e.getNameOfDeclaration(r)||r,a=J(i,d,p?q(r):void 0);t.bindDiagnostics.push(f?e.addRelatedInfo(a,J(m,0===n?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):a),f&&g.push(J(i,e.Diagnostics.The_first_export_default_is_here))}));var y=J(m,d,p?q(i):void 0);t.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,s([y],g))),u=z(0,_)}}else r.set(_,u=z(0,_)),c&&(u.isReplaceableByMethod=!0);return U(u,i,a),u.parent?e.Debug.assert(u.parent===n,"Existing symbol parent should match new one"):u.parent=n,u}function H(t,r,n){var i=1&e.getCombinedModifierFlags(t);if(2097152&r)return 263===t.kind||253===t.kind&&i?W(p.symbol.exports,p.symbol,t,r,n):W(p.locals,void 0,t,r,n);if(e.isJSDocTypeAlias(t)&&e.Debug.assert(e.isInJSFile(t)),!e.isAmbientModule(t)&&(i||64&p.flags)||e.isJSDocTypeAlias(t)){if(!p.locals||e.hasModifier(t,512)&&!V(t))return W(p.symbol.exports,p.symbol,t,r,n);var a=111551&r?1048576:0,o=W(p.locals,void 0,t,a,n);return o.exportSymbol=W(p.symbol.exports,p.symbol,t,r,n),t.localSymbol=o,o}return W(p.locals,void 0,t,r,n)}function G(e){if(M)Z(e);else if(536870912&e.transformFlags)M=!0,Z(e),M=!1,j|=e.transformFlags&~f(e.kind);else{var t=j;j=0,Z(e),j=t|d(e,j)}}function Q(e){X(e,(function(e){return 244===e.kind?Be(e):void 0})),X(e,(function(e){return 244!==e.kind?Be(e):void 0}))}function X(t,r){if(void 0===r&&(r=Be),void 0!==t)if(M)e.forEach(t,r);else{var n=j;j=0;for(var i=0,a=0,o=t;a=225&&t.kind<=241&&!n.allowUnreachableCode&&(t.flowNode=x),t.kind){case 229:!function(e){var t=ye(e,ae()),r=ie(),n=ie();se(t,x),x=t,ge(e.expression,r,n),x=_e(r),me(e.statement,n,t),se(t,x),x=_e(n)}(t);break;case 228:!function(e){var t=ae(),r=ye(e,ie()),n=ie();se(t,x),x=t,me(e.statement,n,r),se(r,x),x=_e(r),ge(e.expression,t,n),x=_e(n)}(t);break;case 230:!function(e){var t=ye(e,ae()),r=ie(),n=ie();Be(e.initializer),se(t,x),x=t,ge(e.condition,r,n),x=_e(r),me(e.statement,n,t),Be(e.incrementor),se(t,x),x=_e(n)}(t);break;case 231:case 232:!function(e){var t=ye(e,ae()),r=ie();Be(e.expression),se(t,x),x=t,232===e.kind&&Be(e.awaitModifier);se(r,x),Be(e.initializer),243!==e.initializer.kind&&be(e.initializer);me(e.statement,r,t),se(t,x),x=_e(r)}(t);break;case 227:!function(e){var t=ie(),r=ie(),n=ie();ge(e.expression,t,r),x=_e(t),Be(e.thenStatement),se(n,x),x=_e(r),Be(e.elseStatement),se(n,x),x=_e(n)}(t);break;case 235:case 239:!function(e){Be(e.expression),235===e.kind&&(F=!0,C&&se(C,x));x=R}(t);break;case 234:case 233:!function(e){if(Be(e.label),e.label){var t=function(e){for(var t=A;t;t=t.next)if(t.name===e)return t;return}(e.label.escapedText);t&&(t.referenced=!0,ve(e,t.breakTarget,t.continueTarget))}else ve(e,D,S)}(t);break;case 240:!function(e){var t=ie(),r=C,n=E;C=ie(),se(E=e.catchClause?ie():C,x),Be(e.tryBlock),se(t,x);var i=x,o=R;e.catchClause&&(x=_e(E),se(E=C,x),Be(e.catchClause),se(t,x),o=x);var s=_e(E);if(C=r,E=n,e.finallyBlock){var c=a({flags:4096,antecedent:s,lock:{}});if(se(t,c),x=_e(t),Be(e.finallyBlock),1&x.flags||1&i.flags&&1&o.flags&&(x=i===B||o===B?B:R),!(1&x.flags)){var u=a({flags:8192,antecedent:x});c.lock=u,x=u}}else x=_e(t)}(t);break;case 237:!function(t){var r=ie();Be(t.expression);var n=D,i=N;D=r,N=x,Be(t.caseBlock),se(r,x);var a=e.forEach(t.caseBlock.clauses,(function(e){return 278===e.kind}));t.possiblyExhaustive=!a&&!r.antecedents,a||se(r,ue(N,t,0,0));D=n,N=i,x=_e(r)}(t);break;case 251:!function(e){var t=j;j=0;for(var r=e.clauses,i=$(e.parent.expression),a=R,o=0;o=0;)switch(t=r.expr[n],r.state[n]){case 0:t.parent=o;var i=w;ze(t);var a=o;o=t;var s=void 0;if(M);else if(536870912&t.transformFlags)M=!0,s=-1;else{var c=j;j=0,s=c}_(1,i,a,s);break;case 1:if(55===(l=t.operatorToken.kind)||56===l||60===l){if(pe(t)){var u=ie();xe(t,u,u),x=_e(u)}else xe(t,T,k);p()}else _(2),g(t.left);break;case 2:_(3),g(t.operatorToken);break;case 3:_(4),g(t.right);break;case 4:var l=t.operatorToken.kind;if(e.isAssignmentOperator(l)&&!e.isAssignmentTarget(t))if(be(t.left),62===l&&195===t.left.kind)ne(t.left.expression)&&(x=le(256,x,t));p();break;default:return e.Debug.fail("Invalid state "+r.state[n]+" for bindBinaryExpressionFlow")}function _(e,t,i,a){r.state[n]=e,void 0!==t&&(r.inStrictMode[n]=t),void 0!==i&&(r.parent[n]=i),void 0!==a&&(r.subtreeFlags[n]=a)}function p(){void 0!==r.inStrictMode[n]&&(-1===r.subtreeFlags[n]?(M=!1,j|=t.transformFlags&~f(t.kind)):void 0!==r.subtreeFlags[n]&&(j=r.subtreeFlags[n]|d(t,j)),w=r.inStrictMode[n],o=r.parent[n]),n--}function g(t){t&&e.isBinaryExpression(t)?(n++,r.expr[n]=t,r.state[n]=0,r.inStrictMode[n]=void 0,r.parent[n]=void 0,r.subtreeFlags[n]=void 0):Be(t)}}(t);break;case 203:!function(e){Y(e),194===e.expression.kind&&be(e.expression)}(t);break;case 210:!function(e){var t=ie(),r=ie(),n=ie();ge(e.condition,t,r),x=_e(t),Be(e.questionToken),Be(e.whenTrue),se(n,x),x=_e(r),Be(e.colonToken),Be(e.whenFalse),se(n,x),x=_e(n)}(t);break;case 242:!function(t){Y(t),(t.initializer||e.isForInOrOfStatement(t.parent.parent))&&function t(r){var n=e.isOmittedExpression(r)?void 0:r.name;if(e.isBindingPattern(n))for(var i=0,a=n.elements;i=113&&r.originalKeywordKind<=121)||e.isIdentifierName(r)||8388608&r.flags||4194304&r.flags||t.parseDiagnostics.length||t.bindDiagnostics.push(J(r,function(r){if(e.getContainingClass(r))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(t.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}(r),e.declarationNameToString(r)))}function Ie(r,n){if(n&&75===n.kind){var i=n;if(o=i,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var a=e.getErrorSpanForNode(t,n);t.bindDiagnostics.push(e.createFileDiagnostic(t,a.start,a.length,function(r){if(e.getContainingClass(r))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(r),e.idText(i)))}}var o}function Oe(e){w&&Ie(e,e.name)}function Me(r){if(i<2&&290!==y.kind&&249!==y.kind&&!e.isFunctionLike(y)){var n=e.getErrorSpanForNode(t,r);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,function(r){return e.getContainingClass(r)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t.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}(r)))}}function Le(r,n,i,a,o){var s=e.getSpanOfTokenAtPosition(t,r.pos);t.bindDiagnostics.push(e.createFileDiagnostic(t,s.start,s.length,n,i,a,o))}function Re(r,n,i,a){!function(r,n,i){var a=e.createFileDiagnostic(t,n.pos,n.end-n.pos,i);r?t.bindDiagnostics.push(a):t.bindSuggestionDiagnostics=e.append(t.bindSuggestionDiagnostics,c(c({},a),{category:e.DiagnosticCategory.Suggestion}))}(r,{pos:e.getTokenPosOfNode(n,t),end:i.end},a)}function Be(t){if(t){t.parent=o;var r=w;if(ze(t),t.kind>152){var n=o;o=t;var i=Te(t);0===i?G(t):function(t,r){var n=p,i=m,o=y;if(1&r?(202!==t.kind&&(m=p),p=y=t,32&r&&(p.locals=e.createSymbolTable()),ke(p)):2&r&&((y=t).locals=void 0),4&r){var s=x,c=D,u=S,l=C,_=E,d=A,f=F,g=16&r&&!e.hasModifier(t,256)&&!t.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(t);g||(x=a({flags:2}),144&r&&(x.node=t)),C=g||162===t.kind?ie():void 0,E=void 0,D=void 0,S=void 0,A=void 0,F=!1,G(t),t.flags&=-2817,!(1&x.flags)&&8&r&&e.nodeIsPresent(t.body)&&(t.flags|=256,F&&(t.flags|=512),t.endFlowNode=x),290===t.kind&&(t.flags|=P),C&&(se(C,x),x=_e(C),162===t.kind&&(t.returnFlowNode=x)),g||(x=s),D=c,S=u,C=l,E=_,A=d,F=f}else 64&r?(b=!1,G(t),t.flags=b?128|t.flags:-129&t.flags):G(t);p=n,m=i,y=o}(t,i),o=n}else if(!M&&0==(536870912&t.transformFlags)){j|=d(t,0);n=o;1===t.kind&&(o=t),je(t),o=n}w=r}}function je(t){if(e.hasJSDocNodes(t))if(e.isInJSFile(t))for(var r=0,n=t.jsDoc;r=2&&(e.isDeclarationStatement(t.statement)||e.isVariableStatement(t.statement))&&Le(t.label,e.Diagnostics.A_label_is_not_allowed_here)}(r);case 183:return void(b=!0);case 168:break;case 155:return function(t){if(e.isJSDocTemplateTag(t.parent)){var r=e.find(t.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(t.parent);r?(r.locals||(r.locals=e.createSymbolTable()),W(r.locals,void 0,t,262144,526824)):Ee(t,262144,526824)}else if(181===t.parent.kind){var n=function(t){var r=e.findAncestor(t,(function(t){return t.parent&&e.isConditionalTypeNode(t.parent)&&t.parent.extendsType===t}));return r&&r.parent}(t.parent);n?(n.locals||(n.locals=e.createSymbolTable()),W(n.locals,void 0,t,262144,526824)):Fe(t,262144,V(t))}else Ee(t,262144,526824)}(r);case 156:return nt(r);case 242:return rt(r);case 191:return r.flowNode=x,rt(r);case 159:case 158:return function(e){return it(e,4|(e.questionToken?16777216:0),0)}(r);case 281:case 282:return it(r,4,0);case 284:return it(r,8,900095);case 165:case 166:case 167:return Ee(r,131072,0);case 161:case 160:return it(r,8192|(r.questionToken?16777216:0),e.isObjectLiteralMethod(r)?0:103359);case 244:return function(r){t.isDeclarationFile||8388608&r.flags||e.isAsyncFunction(r)&&(P|=2048);Oe(r),w?(Me(r),Pe(r,16,110991)):Ee(r,16,110991)}(r);case 162:return Ee(r,16384,0);case 163:return it(r,32768,46015);case 164:return it(r,65536,78783);case 170:case 300:case 305:case 171:return function(t){var r=z(131072,V(t));U(r,t,131072);var n=z(2048,"__type");U(n,t,2048),n.members=e.createSymbolTable(),n.members.set(r.escapedName,r)}(r);case 173:case 304:case 186:return function(e){return Fe(e,2048,"__type")}(r);case 309:return function(t){Y(t);var r=e.getHostSignatureFromJSDoc(t);r&&161!==r.kind&&U(r.symbol,r,32)}(r);case 193:return function(r){var n;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(n||(n={})),w&&!e.isAssignmentTarget(r))for(var i=e.createUnderscoreEscapedMap(),a=0,o=r.properties;a=168&&e<=188)return-2;switch(e){case 196:case 197:case 192:return 536879104;case 249:return 537991168;case 156:return 536870912;case 202:return 538920960;case 201:case 244:return 538925056;case 243:return 537018368;case 245:case 214:return 536905728;case 162:return 538923008;case 161:case 163:case 164:return 538923008;case 125:case 140:case 151:case 137:case 143:case 141:case 128:case 144:case 110:case 155:case 158:case 160:case 165:case 166:case 167:case 246:case 247:return-2;case 193:return 536922112;case 280:return 536887296;case 189:case 190:return 536879104;case 199:case 217:case 325:case 200:case 102:return 536870912;case 194:case 195:default:return 536870912}}function g(t,r){r.parent=t,e.forEachChild(r,(function(e){return g(r,e)}))}e.bindSourceFile=function(t,r){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+t.fileName),o(t,r),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=l,e.computeTransformFlagsForNode=d,e.getTransformFlagsSubtreeExclusions=f}(p||(p={})),function(e){e.createGetSymbolWalker=function(t,r,n,i,a,o,s,c,u,l,_){return function(d){void 0===d&&(d=function(){return!0});var p=[],f=[];return{walkType:function(t){try{return g(t),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(p),e.clear(f)}},walkSymbol:function(t){try{return v(t),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(p),e.clear(f)}}};function g(t){if(t&&(!p[t.id]&&(p[t.id]=t,!v(t.symbol)))){if(524288&t.flags){var r=t,n=r.objectFlags;4&n&&function(t){g(t.target),e.forEach(_(t),g)}(t),32&n&&function(e){g(e.typeParameter),g(e.constraintType),g(e.templateType),g(e.modifiersType)}(t),3&n&&(y(a=t),e.forEach(a.typeParameters,g),e.forEach(i(a),g),g(a.thisType)),24&n&&y(r)}var a;262144&t.flags&&function(e){g(u(e))}(t),3145728&t.flags&&function(t){e.forEach(t.types,g)}(t),4194304&t.flags&&function(e){g(e.type)}(t),8388608&t.flags&&function(e){g(e.objectType),g(e.indexType),g(e.constraint)}(t)}}function m(i){var a=r(i);a&&g(a.type),e.forEach(i.typeParameters,g);for(var o=0,s=i.parameters;o1&&2097152&b.flags&&(r=e.createSymbolTable()).set("export=",b);return w(r),C(f);function x(e){return!!e&&75===e.kind}function S(t){var r=e.find(t,e.isExportAssignment),n=e.find(t,e.isModuleDeclaration);if(n&&r&&r.isExportEquals&&e.isIdentifier(r.expression)&&e.isIdentifier(n.name)&&e.idText(n.name)===e.idText(r.expression)&&n.body&&e.isModuleBlock(n.body)){var i=e.filter(t,(function(t){return!!(1&e.getModifierFlags(t))}));e.length(i)&&(n.body.statements=e.createNodeArray(s(n.body.statements,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.map(e.flatMap(i,(function(t){return r=t,e.isVariableStatement(r)?e.filter(e.map(r.declarationList.declarations,e.getNameOfDeclaration),x):e.filter([e.getNameOfDeclaration(r)],x);var r})),(function(t){return e.createExportSpecifier(void 0,t)}))),void 0)]))),e.find(t,(function(t){return t!==n&&e.nodeHasName(t,n.name)}))||(f=[],e.forEach(n.body.statements,(function(e){M(e,0)})),t=s(e.filter(t,(function(e){return e!==n&&e!==r})),f))}return t}function C(t){return t=function(t){var r=e.find(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!!t.exportClause}));if(r&&r.exportClause&&e.isNamedExports(r.exportClause)){var n=e.mapDefined(r.exportClause.elements,(function(r){if(!r.propertyName){var n=e.filter(t,(function(t){return e.nodeHasName(t,r.name)}));if(e.length(n)&&e.every(n,N))return void e.forEach(n,A)}return r}));e.length(n)?r.exportClause.elements=e.createNodeArray(n):t=e.filter(t,(function(e){return e!==r}))}return t}(t=function(t){var r=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(r)>1){var n=e.filter(t,(function(t){return!e.isExportDeclaration(t)||!!t.moduleSpecifier||!t.exportClause}));t=s(n,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),void 0)])}var i=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(i)>1){var a=e.group(i,(function(t){return e.isStringLiteral(t.moduleSpecifier)?">"+t.moduleSpecifier.text:">"}));if(a.length!==i.length)for(var o=function(r){r.length>1&&(t=s(e.filter(t,(function(e){return-1===r.indexOf(e)})),[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(r,(function(t){return e.cast(t.exportClause,e.isNamedExports).elements}))),r[0].moduleSpecifier)]))},c=0,u=a;c0&&e.isSingleOrDoubleQuote(a.charCodeAt(0))?e.stripQuotes(a):a}return"default"===r?r="_default":"export="===r&&(r="_exports"),r=e.isIdentifierText(r,z)&&!e.isStringANonContextualKeyword(r)?r:"_"+r.replace(/[^a-zA-Z0-9]/g,"_")}function $(e,t){return n.remappedSymbolNames.has(""+F(e))?n.remappedSymbolNames.get(""+F(e)):(t=Z(e,t),n.remappedSymbolNames.set(""+F(e),t),t)}}(n,r,l)}))}};function r(r,n,i,a){e.Debug.assert(void 0===r||0==(8&r.flags));var o={enclosingDeclaration:r,flags:n||0,tracker:i&&i.trackSymbol?i:{trackSymbol:e.noop,moduleResolverHost:134217728&n?{getCommonSourceDirectory:t.getCommonSourceDirectory?function(){return t.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return t.getSourceFiles()},getCurrentDirectory:e.maybeBind(t,t.getCurrentDirectory),getProbableSymlinks:e.maybeBind(t,t.getProbableSymlinks)}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=a(o);return o.encounteredError?void 0:s}function i(t){return t.truncating?t.truncating:t.truncating=!(1&t.flags)&&t.approximateLength>e.defaultMaximumTruncationLength}function o(t,r){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();var a=8388608&r.flags;if(r.flags&=-8388609,t){if(1&t.flags)return r.approximateLength+=3,e.createKeywordTypeNode(125);if(2&t.flags)return e.createKeywordTypeNode(148);if(4&t.flags)return r.approximateLength+=6,e.createKeywordTypeNode(143);if(8&t.flags)return r.approximateLength+=6,e.createKeywordTypeNode(140);if(64&t.flags)return r.approximateLength+=6,e.createKeywordTypeNode(151);if(16&t.flags)return r.approximateLength+=7,e.createKeywordTypeNode(128);if(1024&t.flags&&!(1048576&t.flags)){var s=_i(t.symbol),c=S(s,r,788968);return uo(s)===t?c:R(c,e.createTypeReferenceNode(e.symbolName(t.symbol),void 0))}if(1056&t.flags)return S(t.symbol,r,788968);if(128&t.flags)return r.approximateLength+=t.value.length+2,e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(t.value,!!(268435456&r.flags)),16777216));if(256&t.flags){var g=t.value;return r.approximateLength+=(""+g).length,e.createLiteralTypeNode(g<0?e.createPrefix(40,e.createLiteral(-g)):e.createLiteral(g))}if(2048&t.flags)return r.approximateLength+=e.pseudoBigIntToString(t.value).length+1,e.createLiteralTypeNode(e.createLiteral(t.value));if(512&t.flags)return r.approximateLength+=t.intrinsicName.length,"true"===t.intrinsicName?e.createTrue():e.createFalse();if(8192&t.flags){if(!(1048576&r.flags)){if(wi(t.symbol,r.enclosingDeclaration))return r.approximateLength+=6,S(t.symbol,r,111551);r.tracker.reportInaccessibleUniqueSymbolError&&r.tracker.reportInaccessibleUniqueSymbolError()}return r.approximateLength+=13,e.createTypeOperatorNode(147,e.createKeywordTypeNode(144))}if(16384&t.flags)return r.approximateLength+=4,e.createKeywordTypeNode(110);if(32768&t.flags)return r.approximateLength+=9,e.createKeywordTypeNode(146);if(65536&t.flags)return r.approximateLength+=4,e.createKeywordTypeNode(100);if(131072&t.flags)return r.approximateLength+=5,e.createKeywordTypeNode(137);if(4096&t.flags)return r.approximateLength+=6,e.createKeywordTypeNode(144);if(67108864&t.flags)return r.approximateLength+=6,e.createKeywordTypeNode(141);if(ku(t))return 4194304&r.flags&&(r.encounteredError||32768&r.flags||(r.encounteredError=!0),r.tracker.reportInaccessibleThisError&&r.tracker.reportInaccessibleThisError()),r.approximateLength+=4,e.createThis();if(!a&&t.aliasSymbol&&(16384&r.flags||Pi(t.aliasSymbol,r.enclosingDeclaration))){var m=_(t.aliasTypeArguments,r);return!Si(t.aliasSymbol.escapedName)||32&t.aliasSymbol.flags?S(t.aliasSymbol,r,788968,m):e.createTypeReferenceNode(e.createIdentifier(""),m)}var y=e.getObjectFlags(t);if(4&y)return e.Debug.assert(!!(524288&t.flags)),t.node?O(t,L):L(t);if(262144&t.flags||3&y){if(262144&t.flags&&e.contains(r.inferTypeParameters,t))return r.approximateLength+=e.symbolName(t.symbol).length+6,e.createInferTypeNode(f(t,r,void 0));if(4&r.flags&&262144&t.flags&&!Pi(t.symbol,r.enclosingDeclaration)){var v=T(t,r);return r.approximateLength+=e.idText(v).length,e.createTypeReferenceNode(e.createIdentifier(e.idText(v)),void 0)}return t.symbol?S(t.symbol,r,788968):e.createTypeReferenceNode(e.createIdentifier("?"),void 0)}if(3145728&t.flags){var h=1048576&t.flags?function(e){for(var t=[],r=0,n=0;n0?e.createUnionOrIntersectionTypeNode(1048576&t.flags?178:179,b):void(r.encounteredError||262144&r.flags||(r.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&t.flags)),I(t);if(4194304&t.flags){var x=t.type;r.approximateLength+=6;var D=o(x,r);return e.createTypeOperatorNode(D)}if(8388608&t.flags){var C=o(t.objectType,r);D=o(t.indexType,r);return r.approximateLength+=2,e.createIndexedAccessTypeNode(C,D)}if(16777216&t.flags){var k=o(t.checkType,r),E=r.inferTypeParameters;r.inferTypeParameters=t.root.inferTypeParameters;var N=o(t.extendsType,r);r.inferTypeParameters=E;var P=o(Ru(t),r),w=o(Bu(t),r);return r.approximateLength+=15,e.createConditionalTypeNode(k,N,P,w)}return 33554432&t.flags?o(t.typeVariable,r):e.Debug.fail("Should be unreachable.")}function I(t){var n=""+t.id,i=t.symbol;if(i){if(Jm(i.valueDeclaration)){var a=t===to(i)?788968:111551;return S(i,r,a)}if(32&i.flags&&!Ma(i)&&!(214===i.valueDeclaration.kind&&2048&r.flags)||896&i.flags||function(){var t=!!(8192&i.flags)&&e.some(i.declarations,(function(t){return e.hasModifier(t,32)})),a=!!(16&i.flags)&&(i.parent||e.forEach(i.declarations,(function(e){return 290===e.parent.kind||250===e.parent.kind})));if(t||a)return(!!(4096&r.flags)||r.visitedTypes&&r.visitedTypes.has(n))&&(!(8&r.flags)||wi(i,r.enclosingDeclaration))}())return S(i,r,111551);if(r.visitedTypes&&r.visitedTypes.has(n)){var o=function(t){if(t.symbol&&2048&t.symbol.flags){var r=e.findAncestor(t.symbol.declarations[0].parent,(function(e){return 182!==e.kind}));if(247===r.kind)return li(r)}return}(t);return o?S(o,r,788968):u(r)}return O(t,M)}return M(t)}function O(t,n){var i,a=""+t.id,o=16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags,s=4&e.getObjectFlags(t)&&t.node?"N"+A(t.node):t.symbol?(o?"+":"")+F(t.symbol):void 0;if(r.visitedTypes||(r.visitedTypes=e.createMap()),s&&!r.symbolDepth&&(r.symbolDepth=e.createMap()),s){if((i=r.symbolDepth.get(s)||0)>10)return u(r);r.symbolDepth.set(s,i+1)}r.visitedTypes.set(a,!0);var c=n(t);return r.visitedTypes.delete(a),s&&r.symbolDepth.set(s,i),c}function M(t){if(is(t))return function(t){e.Debug.assert(!!(524288&t.flags));var n,i=t.declaration.readonlyToken?e.createToken(t.declaration.readonlyToken.kind):void 0,a=t.declaration.questionToken?e.createToken(t.declaration.questionToken.kind):void 0;n=$o(t)?e.createTypeOperatorNode(o(es(t),r)):o(Xo(t),r);var s=f(Qo(t),r,n),c=o(Yo(t),r),u=e.createMappedTypeNode(i,s,a,c);return r.approximateLength+=10,e.setEmitFlags(u,1)}(t);var n=as(t);if(!n.properties.length&&!n.stringIndexInfo&&!n.numberIndexInfo){if(!n.callSignatures.length&&!n.constructSignatures.length)return r.approximateLength+=2,e.setEmitFlags(e.createTypeLiteralNode(void 0),1);if(1===n.callSignatures.length&&!n.constructSignatures.length)return p(n.callSignatures[0],170,r);if(1===n.constructSignatures.length&&!n.callSignatures.length)return p(n.constructSignatures[0],171,r)}var a=r.flags;r.flags|=4194304;var s=function(t){if(i(r))return[e.createPropertySignature(void 0,"...",void 0,void 0,void 0)];for(var n=[],a=0,o=t.callSignatures;a0){var v=(t.target.typeParameters||e.emptyArray).length;y=_(n.slice(T,v),r)}var h=r.flags;r.flags|=16;var b=S(t.symbol,r,788968,y);return r.flags=h,u?R(u,b):b}if(n.length>0){var x=bc(t),D=_(n.slice(0,x),r),C=t.target.hasRestElement;if(D){for(var T=t.target.minLength;T2)return[o(t[0],r),e.createTypeReferenceNode("... "+(t.length-2)+" more ...",void 0),o(t[t.length-1],r)]}for(var a=[],s=0,c=0,u=t;c0)),a}function b(t,r){var n;return 524384&rb(t).flags&&(n=e.createNodeArray(e.map(Wa(t),(function(e){return g(e,r)})))),n}function x(t,r,n){e.Debug.assert(t&&0<=r&&r1?m(a,a.length-1,1):void 0,c=i||x(a,0,r),u=D(a[0],r);!(67108864&r.flags)&&e.getEmitModuleResolutionKind(J)===e.ModuleResolutionKind.NodeJs&&u.indexOf("/node_modules/")>=0&&(r.encounteredError=!0,r.tracker.reportLikelyUnsafeImportRequiredError&&r.tracker.reportLikelyUnsafeImportRequiredError(u));var l=e.createLiteralTypeNode(e.createLiteral(u));if(r.tracker.trackExternalModuleSymbolOfImportTypeNode&&r.tracker.trackExternalModuleSymbolOfImportTypeNode(a[0]),r.approximateLength+=u.length+10,!s||e.isEntityName(s)){if(s)(f=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.createImportTypeNode(l,s,c,o)}var _=function t(r){return e.isIndexedAccessTypeNode(r.objectType)?t(r.objectType):r}(s),d=_.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(l,d,c,o),_.indexType)}var p=m(a,a.length-1,0);if(e.isIndexedAccessTypeNode(p))return p;if(o)return e.createTypeQueryNode(p);var f,g=(f=e.isIdentifier(p)?p:p.right).typeArguments;return f.typeArguments=void 0,e.createTypeReferenceNode(p,g);function m(t,n,a){var o,s=n===t.length-1?i:x(t,n,r),c=t[n],u=t[n-1];if(0===n)r.flags|=16777216,o=Xi(c,r),r.approximateLength+=(o?o.length:0)+1,r.flags^=16777216;else if(u&&ai(u)){var l=ai(u);e.forEachEntry(l,(function(t,r){if(fi(t,c)&&!Do(r)&&"export="!==r)return o=e.unescapeLeadingUnderscores(r),!0}))}if(o||(o=Xi(c,r)),r.approximateLength+=o.length+1,!(16&r.flags)&&u&&No(u)&&No(u).get(c.escapedName)&&fi(No(u).get(c.escapedName),c)){var _=m(t,n-1,a);return e.isIndexedAccessTypeNode(_)?e.createIndexedAccessTypeNode(_,e.createLiteralTypeNode(e.createLiteral(o))):e.createIndexedAccessTypeNode(e.createTypeReferenceNode(_,s),e.createLiteralTypeNode(e.createLiteral(o)))}var d=e.setEmitFlags(e.createIdentifier(o,s),16777216);if(d.symbol=c,n>a){_=m(t,n-1,a);return e.isEntityName(_)?e.createQualifiedName(_,d):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return d}}function C(e,t){return!!yn(t.enclosingDeclaration,e,788968,void 0,e,!1)}function T(t,r){if(4&r.flags&&r.typeParameterNames){var n=r.typeParameterNames.get(""+$c(t));if(n)return n}var i=k(t.symbol,r,788968,!0);if(!(75&i.kind))return e.createIdentifier("(Missing type parameter)");if(4&r.flags){for(var a=i.escapedText,o=0,s=a;r.typeParameterNamesByText&&r.typeParameterNamesByText.get(s)||C(s,r);)s=a+"_"+ ++o;s!==a&&(i=e.createIdentifier(s,i.typeArguments)),(r.typeParameterNames||(r.typeParameterNames=e.createMap())).set(""+$c(t),i),(r.typeParameterNamesByText||(r.typeParameterNamesByText=e.createMap())).set(i.escapedText,!0)}return i}function k(t,r,n,i){var a=v(t,r,n);return!i||1===a.length||r.encounteredError||65536&r.flags||(r.encounteredError=!0),function t(n,i){var a=x(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=Xi(o,r);0===i&&(r.flags^=16777216);var c=e.setEmitFlags(e.createIdentifier(s,a),16777216);return c.symbol=o,i>0?e.createQualifiedName(t(n,i-1),c):c}(a,a.length-1)}function E(t,r,n){var i=v(t,r,n);return function t(n,i){var a=x(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=Xi(o,r);0===i&&(r.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,Li))return e.createLiteral(D(o,r));var u=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),z):e.isIdentifierStart(c,z);if(0===i||u){var l=e.setEmitFlags(e.createIdentifier(s,a),16777216);return l.symbol=o,i>0?e.createPropertyAccess(t(n,i-1),l):l}91===c&&(s=s.substring(1,s.length-1),c=s.charCodeAt(0));var _=void 0;return e.isSingleOrDoubleQuote(c)?(_=e.createLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})))).singleQuote=39===c:""+ +s===s&&(_=e.createLiteral(+s)),_||((_=e.setEmitFlags(e.createIdentifier(s,a),16777216)).symbol=o),e.createElementAccess(t(n,i-1),_)}(i,i.length-1)}function N(t){var r=e.getNameOfDeclaration(t);return!!(r&&e.isStringLiteral(r)&&(r.singleQuote||!e.nodeIsSynthesized(r)&&e.startsWith(e.getTextOfNode(r,!1),"'")))}function P(t,r){var n=!!e.length(t.declarations)&&e.every(t.declarations,N),i=function(t,r,n){var i=dn(t).nameType;if(i){if(384&i.flags){var a=""+i.value;return e.isIdentifierText(a,J.target)||Xf(a)?Xf(a)&&e.startsWith(a,"-")?e.createComputedPropertyName(e.createLiteral(+a)):w(a):e.createLiteral(a,!!n)}if(8192&i.flags)return e.createComputedPropertyName(E(i.symbol,r,111551))}}(t,r,n);return i||(e.isKnownSymbol(t)?e.createComputedPropertyName(e.createPropertyAccess(e.createIdentifier("Symbol"),t.escapedName.substr(3))):w(e.unescapeLeadingUnderscores(t.escapedName),n))}function w(t,r){return e.isIdentifierText(t,J.target)?e.createIdentifier(t):e.createLiteral(Xf(t)?+t:t,!!r)}}(),ee=e.createSymbolTable(),te=rn(4,"undefined");te.declarations=[];var re=rn(1536,"globalThis",8);re.exports=ee,re.declarations=[],ee.set(re.escapedName,re);var ne,ie=rn(4,"arguments"),ae=rn(4,"require"),oe={getNodeCount:function(){return e.sum(t.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(t.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(t.getSourceFiles(),"symbolCount")+h},getTypeCount:function(){return v},getRelationCacheSizes:function(){return{assignable:Wr.size,identity:Gr.size,subtype:Vr.size,strictSubtype:qr.size}},isUndefinedSymbol:function(e){return e===te},isArgumentsSymbol:function(e){return e===ie},isUnknownSymbol:function(e){return e===me},getMergedSymbol:ui,getDiagnostics:Eb,getGlobalDiagnostics:function(){return Nb(),Jr.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(t,r){return(r=e.getParseTreeNode(r))?function(t,r){if(t=t.exportSymbol||t,75===r.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),e.isExpressionNode(r)&&!e.isAssignmentTarget(r))){var n=iv(r);if(gi(pn(r).resolvedSymbol)===t)return n}return ja(t)}(t,r):xe},getSymbolsOfParameterPropertyDeclaration:function(t,r){var n=e.getParseTreeNode(t,e.isParameter);return void 0===n?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(t,r){var n=t.parent,i=t.parent.parent,a=gn(n.locals,r,111551),o=gn(No(i.symbol),r,111551);if(a&&o)return[a,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(n,e.escapeLeadingUnderscores(r))},getDeclaredTypeOfSymbol:uo,getPropertiesOfType:us,getPropertyOfType:function(t,r){return Es(t,e.escapeLeadingUnderscores(r))},getPrivateIdentifierPropertyOfType:function(t,r,n){var i=e.getParseTreeNode(n);if(i){var a=Lg(e.escapeLeadingUnderscores(r),i);return a?Rg(t,a):void 0}},getTypeOfPropertyOfType:function(t,r){return ia(t,e.escapeLeadingUnderscores(r))},getIndexInfoOfType:ws,getSignaturesOfType:As,getIndexTypeOfType:Is,getBaseTypes:$a,getBaseTypeOfLiteralType:U_,getWidenedType:md,getTypeFromTypeNode:function(t){var r=e.getParseTreeNode(t,e.isTypeNode);return r?ol(r):xe},getParameterType:Zm,getPromisedTypeOfPromise:Av,getReturnTypeOfSignature:Xs,isNullableType:kg,getNullableType:td,getNonNullableType:nd,getNonOptionalType:od,getTypeArguments:hc,typeToTypeNode:$.typeToTypeNode,indexInfoToIndexSignatureDeclaration:$.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:$.signatureToSignatureDeclaration,symbolToEntityName:$.symbolToEntityName,symbolToExpression:$.symbolToExpression,symbolToTypeParameterDeclarations:$.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:$.symbolToParameterDeclaration,typeParameterToDeclaration:$.typeParameterToDeclaration,getSymbolsInScope:function(t,r){return(t=e.getParseTreeNode(t))?function(t,r){if(16777216&t.flags)return[];var n=e.createSymbolTable(),i=!1;return a(),n.delete("this"),Ls(n);function a(){for(;t;){switch(t.locals&&!fn(t)&&s(t.locals,r),t.kind){case 290:if(!e.isExternalOrCommonJsModule(t))break;case 249:s(li(t).exports,2623475&r);break;case 248:s(li(t).exports,8&r);break;case 214:t.name&&o(t.symbol,r);case 245:case 246:i||s(No(li(t)),788968&r);break;case 201:t.name&&o(t.symbol,r)}e.introducesArgumentsExoticObject(t)&&o(ie,r),i=e.hasModifier(t,32),t=t.parent}s(ee,r)}function o(t,r){if(e.getCombinedLocalAndExportSymbolFlags(t)&r){var i=t.escapedName;n.has(i)||n.set(i,t)}}function s(e,t){t&&e.forEach((function(e){o(e,t)}))}}(t,r):[]},getSymbolAtLocation:function(t){return(t=e.getParseTreeNode(t))?Mb(t):void 0},getShorthandAssignmentValueSymbol:function(t){return(t=e.getParseTreeNode(t))?function(e){if(e&&282===e.kind)return Gn(e.name,2208703);return}(t):void 0},getExportSpecifierLocalTargetSymbol:function(t){var r=e.getParseTreeNode(t,e.isExportSpecifier);return r?function(e){return e.parent.parent.moduleSpecifier?On(e.parent.parent,e):Gn(e.propertyName||e.name,2998271)}(r):void 0},getExportSymbolOfSymbol:function(e){return ui(e.exportSymbol||e)},getTypeAtLocation:function(t){return(t=e.getParseTreeNode(t))?Lb(t):xe},getTypeOfAssignmentPattern:function(t){var r=e.getParseTreeNode(t,e.isAssignmentPattern);return r&&Rb(r)||xe},getPropertySymbolOfDestructuringAssignment:function(t){var r=e.getParseTreeNode(t,e.isIdentifier);return r?function(t){var r=Rb(e.cast(t.parent.parent,e.isAssignmentPattern));return r&&Es(r,t.escapedText)}(r):void 0},signatureToString:function(t,r,n,i){return Ji(t,e.getParseTreeNode(r),n,i)},typeToString:function(t,r,n){return zi(t,e.getParseTreeNode(r),n)},symbolToString:function(t,r,n,i){return ji(t,e.getParseTreeNode(r),n,i)},typePredicateToString:function(t,r,n){return qi(t,e.getParseTreeNode(r),n)},writeSignature:function(t,r,n,i,a){return Ji(t,e.getParseTreeNode(r),n,i,a)},writeType:function(t,r,n,i){return zi(t,e.getParseTreeNode(r),n,i)},writeSymbol:function(t,r,n,i,a){return ji(t,e.getParseTreeNode(r),n,i,a)},writeTypePredicate:function(t,r,n,i){return qi(t,e.getParseTreeNode(r),n,i)},getAugmentedPropertiesOfType:zb,getRootSymbols:function t(r){var n=function(t){if(6&e.getCheckFlags(t))return e.mapDefined(dn(t).containingType.types,(function(e){return Es(e,t.escapedName)}));if(33554432&t.flags){var r=t,n=r.leftSpread,i=r.rightSpread,a=r.syntheticOrigin;return n?[n,i]:a?[a]:e.singleElementArray(function(e){var t,r=e;for(;r=dn(r).target;)t=r;return t}(t))}return}(r);return n?e.flatMap(n,t):[r]},getContextualType:function(t,r){var n=e.getParseTreeNode(t,e.isExpression);if(n){var i=e.findAncestor(n,e.isCallLikeExpression),a=i&&pn(i).resolvedSignature;if(4&r&&i){var o=n;do{pn(o).skipDirectInference=!0,o=o.parent}while(o&&o!==i);pn(i).resolvedSignature=void 0}var s=Lf(n,r);if(4&r&&i){o=n;do{pn(o).skipDirectInference=void 0,o=o.parent}while(o&&o!==i);pn(i).resolvedSignature=a}return s}},getContextualTypeForObjectLiteralElement:function(t){var r=e.getParseTreeNode(t,e.isObjectLiteralElementLike);return r?Nf(r):void 0},getContextualTypeForArgumentAtIndex:function(t,r){var n=e.getParseTreeNode(t,e.isCallLikeExpression);return n&&Cf(n,r)},getContextualTypeForJsxAttribute:function(t){var r=e.getParseTreeNode(t,e.isJsxAttributeLike);return r&&Pf(r)},isContextSensitive:Pl,getFullyQualifiedName:Hn,getResolvedSignature:function(e,t,r){return se(e,t,r,0)},getResolvedSignatureForSignatureHelp:function(e,t,r){return se(e,t,r,16)},getExpandedParameters:Lo,hasEffectiveRestParameter:ny,getConstantValue:function(t){var r=e.getParseTreeNode(t,cx);return r?ux(r):void 0},isValidPropertyAccess:function(t,r){var n=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!n&&function(e,t){switch(e.kind){case 194:return Gg(e,102===e.expression.kind,t,md(sv(e.expression)));case 153:return Gg(e,!1,t,md(sv(e.left)));case 188:return Gg(e,!1,t,ol(e))}}(n,e.escapeLeadingUnderscores(r))},isValidPropertyAccessForCompletions:function(t,r,n){var i=e.getParseTreeNode(t,e.isPropertyAccessExpression);return!!i&&function(e,t,r){return Gg(e,194===e.kind&&102===e.expression.kind,r.escapedName,t)}(i,r,n)},getSignatureFromDeclaration:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?Vs(r):void 0},isImplementationOfOverload:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?tx(r):void 0},getImmediateAliasedSymbol:$f,getAliasedSymbol:Jn,getEmitResolver:function(e,t){return Eb(e,t),Z},getExportsOfModule:ni,getExportsAndPropertiesOfModule:function(t){var r=ni(t),n=ei(t);n!==t&&e.addRange(r,us(ja(n)));return r},getSymbolWalker:e.createGetSymbolWalker((function(e){return $s(e)||ve}),Qs,Xs,$a,as,ja,Xd,Ps,_s,e.getFirstIdentifier,hc),getAmbientModules:function(){ot||(ot=[],ee.forEach((function(e,t){a.test(t)&&ot.push(e)})));return ot},getJsxIntrinsicTagNamesAt:function(t){var r=sg(E.IntrinsicElements,t);return r?us(r):e.emptyArray},isOptionalParameter:function(t){var r=e.getParseTreeNode(t,e.isParameter);return!!r&&js(r)},tryGetMemberInModuleExports:function(t,r){return ii(e.escapeLeadingUnderscores(t),r)},tryGetMemberInModuleExportsAndProperties:function(t,r){return function(t,r){var n=ii(t,r);if(n)return n;var i=ei(r);if(i===r)return;var a=ja(i);return 131068&a.flags||1&e.getObjectFlags(a)||B_(a)?void 0:Es(a,t)}(e.escapeLeadingUnderscores(t),r)},tryFindAmbientModuleWithoutAugmentations:function(e){return Bs(e,!1)},getApparentType:Ss,getUnionType:au,isTypeAssignableTo:function(e,t){return zl(e,t)},createAnonymousType:ki,createSignature:wo,createSymbol:rn,createIndexInfo:uc,getAnyType:function(){return ve},getStringType:function(){return Ae},getNumberType:function(){return Fe},createPromiseType:ly,createArrayType:Hc,getElementTypeOfArrayType:O_,getBooleanType:function(){return Le},getFalseType:function(e){return e?we:Ie},getTrueType:function(e){return e?Oe:Me},getVoidType:function(){return Be},getUndefinedType:function(){return Ce},getNullType:function(){return Ee},getESSymbolType:function(){return Re},getNeverType:function(){return je},getOptionalType:function(){return ke},isSymbolAccessible:Ii,isArrayType:P_,isTupleType:H_,isArrayLikeType:M_,isTypeInvalidDueToUnionDiscriminant:function(e,t){return t.properties.some((function(t){var r=t.name&&fu(t.name),n=r&&bo(r)?To(r):void 0,i=void 0===n?void 0:ia(e,n);return!!i&&z_(i)&&!zl(Lb(t),i)}))},getAllPossiblePropertiesOfTypes:function(t){var r=au(t);if(!(1048576&r.flags))return zb(r);for(var n=e.createSymbolTable(),i=0,a=t;i>",0,ve),er=wo(void 0,void 0,void 0,e.emptyArray,ve,void 0,0,0),tr=wo(void 0,void 0,void 0,e.emptyArray,xe,void 0,0,0),rr=wo(void 0,void 0,void 0,e.emptyArray,ve,void 0,0,0),nr=wo(void 0,void 0,void 0,e.emptyArray,Je,void 0,0,0),ir=uc(Ae,!0),ar=e.createMap(),or={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},sr=Sh(ve,ve,ve),cr=Sh(ve,ve,Se),ur=Sh(je,ve,Ce),lr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return Bt||(Bt=Bc("AsyncIterator",3,e))||Ze},getGlobalIterableType:function(e){return Rt||(Rt=Bc("AsyncIterable",1,e))||Ze},getGlobalIterableIteratorType:function(e){return jt||(jt=Bc("AsyncIterableIterator",1,e))||Ze},getGlobalGeneratorType:function(e){return Jt||(Jt=Bc("AsyncGenerator",3,e))||Ze},resolveIterationType:Pv,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},_r={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return wt||(wt=Bc("Iterator",3,e))||Ze},getGlobalIterableType:Kc,getGlobalIterableIteratorType:function(e){return It||(It=Bc("IterableIterator",1,e))||Ze},getGlobalGeneratorType:function(e){return Ot||(Ot=Bc("Generator",3,e))||Ze},resolveIterationType:function(e,t){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},dr=e.createMap(),pr=e.createMap(),fr=0,gr=0,mr=0,yr=!1,vr=0,hr=nl(""),br=nl(0),xr=nl({negative:!1,base10Value:"0"}),Dr=[],Sr=[],Cr=[],Tr=0,kr=[],Er=[],Nr=[],Ar=[],Fr=[],Pr=[],wr=[],Ir=[],Or=[],Mr=[],Lr=[],Rr=[],Br=[],jr=[],Jr=e.createDiagnosticCollection(),zr=e.createDiagnosticCollection(),Ur=e.createMapFromTemplate({string:Ae,number:Fe,bigint:Pe,boolean:Le,symbol:Re,undefined:Ce}),Kr=au(e.arrayFrom(S.keys(),nl)),Vr=e.createMap(),qr=e.createMap(),Wr=e.createMap(),Hr=e.createMap(),Gr=e.createMap(),Qr=e.createMap(),Xr=e.createSymbolTable();return Xr.set(te.escapedName,te),function(){for(var r=0,n=t.getSourceFiles();r=5||e.addRelatedInfo(a,e.length(a.relatedInformation)?e.createDiagnosticForNode(c,e.Diagnostics.and_here):e.createDiagnosticForNode(c,e.Diagnostics._0_was_also_declared_here,n))}}function ln(e,t,r){void 0===r&&(r=!1),t.forEach((function(t,n){var i=e.get(n);e.set(n,i?sn(i,t,r):t)}))}function _n(t){var r=t.parent;if(r.symbol.declarations[0]===r)if(e.isGlobalScopeAugmentation(r))ln(ee,r.symbol.exports);else{var n=Yn(t,t,8388608&t.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!n)return;if(1920&(n=ei(n)).flags)if(e.some(st,(function(e){return n===e.symbol}))){var i=sn(r.symbol,n,!0);ct||(ct=e.createMap()),ct.set(t.text,i)}else sn(n,r.symbol);else Zr(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}else e.Debug.assert(r.symbol.declarations.length>1)}function dn(e){if(33554432&e.flags)return e;var t=F(e);return Er[t]||(Er[t]={})}function pn(e){var t=A(e);return Nr[t]||(Nr[t]={flags:0})}function fn(t){return 290===t.kind&&!e.isExternalOrCommonJsModule(t)}function gn(t,r,n){if(n){var i=t.get(r);if(i){if(e.Debug.assert(0==(1&e.getCheckFlags(i)),"Should never get an instantiated symbol here."),i.flags&n)return i;if(2097152&i.flags){var a=Jn(i);if(a===me||a.flags&n)return i}}}}function mn(r,n){var i=e.getSourceFileOfNode(r),a=e.getSourceFileOfNode(n);if(i!==a){if(U&&(i.externalModuleIndicator||a.externalModuleIndicator)||!J.outFile&&!J.out||Yd(n)||8388608&r.flags)return!0;if(l(n,r))return!0;var o=t.getSourceFiles();return o.indexOf(i)<=o.indexOf(a)}if(r.pos<=n.pos){if(191===r.kind){var s=e.getAncestor(n,191);return s?e.findAncestor(s,e.isBindingElement)!==e.findAncestor(r,e.isBindingElement)||r.post.end)&&void 0===e.findAncestor(r,(function(r){if(r===t)return"quit";switch(r.kind){case 202:return!0;case 159:return!n||!(e.isPropertyDeclaration(t)&&r.parent===t.parent||e.isParameterPropertyDeclaration(t,t.parent)&&r.parent===t.parent.parent)||"quit";case 223:switch(r.parent.kind){case 163:case 161:case 164:return!0;default:return!1}default:return!1}}))}}function yn(e,t,r,n,i,a,o,s){return void 0===o&&(o=!1),vn(e,t,r,n,i,a,o,gn,s)}function vn(t,r,n,i,a,o,s,c,u){var l,_,d,p,f,g,m=t,y=!1,v=t,h=!1;e:for(;t;){if(t.locals&&!fn(t)&&(l=c(t.locals,r,n))){var b=!0;if(e.isFunctionLike(t)&&_&&_!==t.body){if(n&l.flags&788968&&303!==_.kind&&(b=!!(262144&l.flags)&&(_===t.type||156===_.kind||155===_.kind)),n&l.flags&3){var x=t;J.target&&J.target>=2&&e.isParameter(_)&&x.body&&l.valueDeclaration.pos>=x.body.pos&&l.valueDeclaration.end<=x.body.end?b=!1:1&l.flags&&(b=156===_.kind||_===t.type&&!!e.findAncestor(l.valueDeclaration,e.isParameter))}}else 180===t.kind&&(b=_===t.trueType);if(b)break e;l=void 0}switch(y=y||hn(t,_),t.kind){case 290:if(!e.isExternalOrCommonJsModule(t))break;h=!0;case 249:var D=li(t).exports||k;if(290===t.kind||e.isModuleDeclaration(t)&&8388608&t.flags&&!e.isGlobalScopeAugmentation(t)){if(l=D.get("default")){var S=e.getLocalSymbolForExportDefault(l);if(S&&l.flags&n&&S.escapedName===r)break e;l=void 0}var C=D.get(r);if(C&&2097152===C.flags&&(e.getDeclarationOfKind(C,263)||e.getDeclarationOfKind(C,262)))break}if("default"!==r&&(l=c(D,r,2623475&n))){if(!e.isSourceFile(t)||!t.commonJsModuleIndicator||l.declarations.some(e.isJSDocTypeAlias))break e;l=void 0}break;case 248:if(l=c(li(t).exports,r,8&n))break e;break;case 159:if(!e.hasModifier(t,32)){var T=yi(t.parent);T&&T.locals&&c(T.locals,r,111551&n)&&(p=t)}break;case 245:case 214:case 246:if(l=c(li(t).members||k,r,788968&n)){if(!Dn(l,t)){l=void 0;break}if(_&&e.hasModifier(_,32))return void Zr(v,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(214===t.kind&&32&n){var E=t.name;if(E&&r===E.escapedText){l=t.symbol;break e}}break;case 216:if(_===t.expression&&90===t.parent.token){var N=t.parent.parent;if(e.isClassLike(N)&&(l=c(li(N).members,r,788968&n)))return void(i&&Zr(v,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 154:if(g=t.parent.parent,(e.isClassLike(g)||246===g.kind)&&(l=c(li(g).members,r,788968&n)))return void Zr(v,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 202:if(J.target>=2)break;case 161:case 162:case 163:case 164:case 244:if(3&n&&"arguments"===r){l=ie;break e}break;case 201:if(3&n&&"arguments"===r){l=ie;break e}if(16&n){var A=t.name;if(A&&r===A.escapedText){l=t.symbol;break e}}break;case 157:t.parent&&156===t.parent.kind&&(t=t.parent),t.parent&&(e.isClassElement(t.parent)||245===t.parent.kind)&&(t=t.parent);break;case 321:case 314:case 315:t=e.getJSDocHost(t);break;case 156:_&&_===t.initializer&&(f=t);break;case 191:if(_&&_===t.initializer)156===(O=e.getRootDeclaration(t)).kind&&(f=t)}bn(t)&&(d=t),_=t,t=t.parent}if(!o||!l||d&&l===d.symbol||(l.isReferenced|=n),!l){if(_&&(e.Debug.assert(290===_.kind),_.commonJsModuleIndicator&&"exports"===r&&n&_.symbol.flags))return _.symbol;s||(l=c(ee,r,n))}if(!l&&m&&e.isInJSFile(m)&&m.parent&&e.isRequireCall(m.parent,!1))return ae;if(l){if(i){if(p&&(99!==J.target||!J.useDefineForClassFields)){var F=p.name;return void Zr(v,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(F),xn(a))}if(v&&(2&n||(32&n||384&n)&&111551==(111551&n))){var P=gi(l);(2&P.flags||32&P.flags||384&P.flags)&&function(t,r){if(e.Debug.assert(!!(2&t.flags||32&t.flags||384&t.flags)),67108881&t.flags&&32&t.flags)return;var n=e.find(t.declarations,(function(t){return e.isBlockOrCatchScoped(t)||e.isClassLike(t)||248===t.kind}));if(void 0===n)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&n.flags||mn(n,r))){var i=void 0,a=e.declarationNameToString(e.getNameOfDeclaration(n));2&t.flags?i=Zr(r,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,a):32&t.flags?i=Zr(r,e.Diagnostics.Class_0_used_before_its_declaration,a):256&t.flags?i=Zr(r,e.Diagnostics.Enum_0_used_before_its_declaration,a):(e.Debug.assert(!!(128&t.flags)),J.preserveConstEnums&&(i=Zr(r,e.Diagnostics.Class_0_used_before_its_declaration,a))),i&&e.addRelatedInfo(i,e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_here,a))}}(P,v)}if(l&&h&&111551==(111551&n)&&!(4194304&m.flags)){var w=ui(l);e.length(w.declarations)&&e.every(w.declarations,(function(t){return e.isNamespaceExportDeclaration(t)||e.isSourceFile(t)&&!!t.symbol.globalExports}))&&en(!J.allowUmdGlobalAccess,v,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(r))}if(l&&f&&!y&&111551==(111551&n)){var I=ui(Ao(l)),O=e.getRootDeclaration(f);I===li(f)?Zr(v,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(f.name)):I.valueDeclaration&&I.valueDeclaration.pos>f.pos&&O.parent.locals&&c(O.parent.locals,I.escapedName,n)===I&&Zr(v,e.Diagnostics.Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(f.name),e.declarationNameToString(v))}l&&v&&111551&n&&2097152&l.flags&&function(t,r,n){if(!e.isValidTypeOnlyAliasUseSite(n)){var i=Kn(t);if(i){var a=e.typeOnlyDeclarationIsExport(i),o=a?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,s=a?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,c=e.unescapeLeadingUnderscores(r);e.addRelatedInfo(Zr(n,o,c),e.createDiagnosticForNode(i,s,c))}}}(l,r,v)}return l}if(i&&!(v&&(function(t,r,n){if(!e.isIdentifier(t)||t.escapedText!==r||Fb(t)||Yd(t))return!1;var i=e.getThisContainer(t,!1),a=i;for(;a;){if(e.isClassLike(a.parent)){var o=li(a.parent);if(!o)break;if(Es(ja(o),r))return Zr(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,xn(n),ji(o)),!0;if(a===i&&!e.hasModifier(a,32))if(Es(uo(o).thisType,r))return Zr(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,xn(n)),!0}a=a.parent}return!1}(v,r,a)||Sn(v)||function(t,r,n){var i=1920|(e.isInJSFile(t)?111551:0);if(n===i){var a=jn(yn(t,r,788968&~i,void 0,void 0,!1)),o=t.parent;if(a){if(e.isQualifiedName(o)){e.Debug.assert(o.left===t,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(Es(uo(a),s))return Zr(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(r),e.unescapeLeadingUnderscores(s)),!0}return Zr(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(r)),!0}}return!1}(v,r,n)||function(t,r){if(Cn(r)&&263===t.parent.kind)return Zr(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,r),!0;return!1}(v,r)||function(t,r,n){if(111551&n){if(Cn(r))return Zr(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(r)),!0;var i=jn(yn(t,r,788544,void 0,void 0,!1));if(i&&!(1024&i.flags)){var a=function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(r)?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:e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here;return Zr(t,a,e.unescapeLeadingUnderscores(r)),!0}}return!1}(v,r,n)||function(t,r,n){if(111127&n){if(jn(yn(t,r,1024,void 0,void 0,!1)))return Zr(t,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(r)),!0}else if(788544&n){if(jn(yn(t,r,1536,void 0,void 0,!1)))return Zr(t,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(r)),!0}return!1}(v,r,n)||function(t,r,n){if(788584&n){var i=jn(yn(t,r,111127,void 0,void 0,!1));if(i&&!(1920&i.flags))return Zr(t,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here,e.unescapeLeadingUnderscores(r)),!0}return!1}(v,r,n)))){var M=void 0;if(u&&Tr<10&&(M=Vg(m,r,n))){var L=ji(M),R=Zr(v,u,xn(a),L);M.valueDeclaration&&e.addRelatedInfo(R,e.createDiagnosticForNode(M.valueDeclaration,e.Diagnostics._0_is_declared_here,L))}M||Zr(v,i,xn(a)),Tr++}}function hn(t,r){return 202!==t.kind&&201!==t.kind?e.isTypeQueryNode(t)||(e.isFunctionLikeDeclaration(t)||159===t.kind&&!e.hasModifier(t,32))&&(!r||r!==t.name):(!r||r!==t.name)&&(!(!t.asteriskToken&&!e.hasModifier(t,256))||!e.getImmediatelyInvokedFunctionExpression(t))}function bn(e){switch(e.kind){case 244:case 245:case 246:case 248:case 247:case 249:return!0;default:return!1}}function xn(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function Dn(t,r){for(var n=0,i=t.declarations;n=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",c=n.exports.get("export=").valueDeclaration,u=Zr(t.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,ji(n),s);e.addRelatedInfo(u,e.createDiagnosticForNode(c,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else n.exports&&n.exports.has(t.symbol.escapedName)?Zr(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,ji(n),ji(t.symbol)):Zr(t.name,e.Diagnostics.Module_0_has_no_default_export,ji(n));return zn(t,i,void 0,!1),i}}(t,r);case 256:return function(e,t){var r=e.parent.parent.moduleSpecifier,n=Xn(e,r),i=ti(n,r,t,!1);return zn(e,n,i,!1),i}(t,r);case 262:return function(e,t){var r=e.parent.moduleSpecifier,n=r&&Xn(e,r),i=r&&ti(n,r,t,!1);return zn(e,n,i,!1),i}(t,r);case 258:return function(e,t){var r=On(e.parent.parent.parent,e,t);return zn(e,void 0,r,!1),r}(t,r);case 263:return Mn(t,901119,r);case 259:case 209:return function(t,r){var n=Ln(e.isExportAssignment(t)?t.expression:t.right,r);return zn(t,void 0,n,!1),n}(t,r);case 252:return function(e,t){var r=ei(e.parent.symbol,t);return zn(e,void 0,r,!1),r}(t,r);case 282:return Gn(t.name,901119,!0,r);case 281:return function(e,t){return Ln(e.initializer,t)}(t,r);case 194:return function(t,r){if(e.isBinaryExpression(t.parent)&&t.parent.left===t&&62===t.parent.operatorToken.kind)return Ln(t.parent.right,r)}(t,r);default:return e.Debug.fail()}}function Bn(e,t){return void 0===t&&(t=901119),!!e&&(2097152==(e.flags&(2097152|t))||!!(2097152&e.flags&&67108864&e.flags))}function jn(e,t){return!t&&Bn(e)?Jn(e):e}function Jn(t){e.Debug.assert(0!=(2097152&t.flags),"Should only get Alias here.");var r=dn(t);if(r.target)r.target===ye&&(r.target=me);else{r.target=ye;var n=En(t);if(!n)return e.Debug.fail();var i=Rn(n);r.target===ye?r.target=i||me:Zr(n,e.Diagnostics.Circular_definition_of_import_alias_0,ji(t))}return r.target}function zn(t,r,n,i){if(!t)return!1;var a=li(t);if(e.isTypeOnlyImportOrExportDeclaration(t))return dn(a).typeOnlyDeclaration=t,!0;var o=dn(a);return Un(o,r,i)||Un(o,n,i)}function Un(t,r,n){var i,a,o;if(r&&(void 0===t.typeOnlyDeclaration||n&&!1===t.typeOnlyDeclaration)){var s=null!==(a=null===(i=r.exports)||void 0===i?void 0:i.get("export="))&&void 0!==a?a:r,c=s.declarations&&e.find(s.declarations,e.isTypeOnlyImportOrExportDeclaration);t.typeOnlyDeclaration=null!==(o=null!=c?c:dn(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!t.typeOnlyDeclaration}function Kn(e){if(2097152&e.flags)return dn(e).typeOnlyDeclaration||void 0}function Vn(e){var t=li(e),r=Jn(t);r&&((r===me||111551&r.flags&&!$b(r)&&!Kn(t))&&qn(t))}function qn(t){var r=dn(t);if(!r.referenced){r.referenced=!0;var n=En(t);if(!n)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(n)){var i=jn(t);(i===me||111551&i.flags)&&Ky(n.moduleReference)}}}function Wn(t,r){return 75===t.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),75===t.kind||153===t.parent.kind?Gn(t,1920,!1,r):(e.Debug.assert(253===t.parent.kind),Gn(t,901119,!1,r))}function Hn(e,t){return e.parent?Hn(e.parent,t)+"."+ji(e):ji(e,t,void 0,20)}function Gn(t,r,n,i,a){if(!e.nodeIsMissing(t)){var o,s=1920|(e.isInJSFile(t)?111551&r:0);if(75===t.kind){var c=r===s?e.Diagnostics.Cannot_find_namespace_0:Qd(e.getFirstIdentifier(t)),u=e.isInJSFile(t)?function(t,r){if(Fc(t.parent)){var n=function(t){if(e.findAncestor(t,(function(t){return e.isJSDocNode(t)||4194304&t.flags?e.isJSDocTypeAlias(t):"quit"})))return;var r=e.getJSDocHost(t);if(e.isExpressionStatement(r)&&e.isBinaryExpression(r.expression)&&3===e.getAssignmentDeclarationKind(r.expression)){if(i=li(r.expression.left))return Qn(i)}if((e.isObjectLiteralMethod(r)||e.isPropertyAssignment(r))&&e.isBinaryExpression(r.parent.parent)&&6===e.getAssignmentDeclarationKind(r.parent.parent)){if(i=li(r.parent.parent.left))return Qn(i)}var n=e.getHostSignatureFromJSDocHost(r);if(n){var i;return(i=li(n))&&i.valueDeclaration}}(t.parent);if(n)return yn(n,t.escapedText,r,void 0,t,!0)}}(t,r):void 0;if(!(o=yn(a||t,t.escapedText,r,n||u?void 0:c,t,!0)))return u}else{if(153!==t.kind&&194!==t.kind)throw e.Debug.assertNever(t,"Unknown entity name kind.");var l=153===t.kind?t.left:t.expression,_=153===t.kind?t.right:t.name,d=Gn(l,s,n,!1,a);if(!d||e.nodeIsMissing(_))return;if(d===me)return d;if(e.isInJSFile(t)&&d.valueDeclaration&&e.isVariableDeclaration(d.valueDeclaration)&&d.valueDeclaration.initializer&&Wm(d.valueDeclaration.initializer)){var p=d.valueDeclaration.initializer.arguments[0],f=Xn(p,p);if(f){var g=ei(f);g&&(d=g)}}if(!(o=gn(ai(d),_.escapedText,r)))return void(n||Zr(_,e.Diagnostics.Namespace_0_has_no_exported_member_1,Hn(d),e.declarationNameToString(_)))}return e.Debug.assert(0==(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),e.isEntityName(t)&&(2097152&o.flags||259===t.parent.kind)&&zn(e.getAliasDeclarationFromName(t),o,void 0,!0),o.flags&r||i?o:Jn(o)}}function Qn(t){var r=t.parent.valueDeclaration;if(r)return(e.isAssignmentDeclaration(r)?e.getAssignedExpandoInitializer(r):e.hasOnlyExpressionInitializer(r)?e.getDeclaredExpandoInitializer(r):void 0)||r}function Xn(t,r,n){return Yn(t,r,n?void 0:e.Diagnostics.Cannot_find_module_0)}function Yn(t,r,n,i){return void 0===i&&(i=!1),e.isStringLiteralLike(r)?Zn(t,r.text,n,r,i):void 0}function Zn(r,n,i,a,o){(void 0===o&&(o=!1),e.startsWith(n,"@types/"))&&Zr(a,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(n,"@types/"),n);var s=Bs(n,!0);if(s)return s;var c=e.getSourceFileOfNode(r),u=e.getResolvedModule(c,n),l=u&&e.getResolutionDiagnostic(J,u),_=u&&!l&&t.getSourceFile(u.resolvedFileName);if(_)return _.symbol?(u.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(u.extension)&&$n(!1,a,u,n),ui(_.symbol)):void(i&&Zr(a,e.Diagnostics.File_0_is_not_a_module,_.fileName));if(st){var d=e.findBestPatternMatch(st,(function(e){return e.pattern}),n);if(d){var p=ct&&ct.get(n);return ui(p?p:d.symbol)}}if(u&&!e.resolutionExtensionIsTSOrJson(u.extension)&&void 0===l||l===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?Zr(a,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,u.resolvedFileName):$n(G&&!!i,a,u,n);else if(i){if(u){var f=t.getProjectReferenceRedirect(u.resolvedFileName);if(f)return void Zr(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,f,u.resolvedFileName)}if(l)Zr(a,l,n,u.resolvedFileName);else{var g=e.tryExtractTSExtension(n);if(g)Zr(a,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,g,e.removeExtension(n,g));else!J.resolveJsonModule&&e.fileExtensionIs(n,".json")&&e.getEmitModuleResolutionKind(J)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(J)?Zr(a,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n):Zr(a,i,n)}}}function $n(t,r,n,i){var a,o=n.packageId,s=n.resolvedFileName,c=!e.isExternalModuleNameRelative(i)&&o?(a=o.name,f().has(e.getTypesPackageName(a))?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)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,i,e.mangleScopedPackageName(o.name))):void 0;en(t,r,e.chainDiagnosticMessages(c,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,s))}function ei(t,r){if(t){var n=function(t,r){if(!t||t===me||t===r||1===r.exports.size||2097152&t.flags)return t;var n=dn(t);if(n.cjsExportMerged)return n.cjsExportMerged;var i=33554432&t.flags?t:on(t);i.flags=512|i.flags,void 0===i.exports&&(i.exports=e.createSymbolTable());return r.exports.forEach((function(e,t){"export="!==t&&i.exports.set(t,i.exports.has(t)?sn(i.exports.get(t),e):e)})),dn(i).cjsExportMerged=i,n.cjsExportMerged=i}(ui(jn(t.exports.get("export="),r)),ui(t));return ui(n)||t}}function ti(t,r,n,i){var a=ei(t,n);if(!n&&a){if(!(i||1539&a.flags||e.getDeclarationOfKind(a,290))){var o=U>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Zr(r,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),a}if(J.esModuleInterop){var s=r.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=ja(a),u=Ns(c,0);if(u&&u.length||(u=Ns(c,1)),u&&u.length){var l=qm(c,a,t),_=rn(a.flags,a.escapedName);_.declarations=a.declarations?a.declarations.slice():[],_.parent=a.parent,_.target=a,_.originatingImport=s,a.valueDeclaration&&(_.valueDeclaration=a.valueDeclaration),a.constEnumOnlyModule&&(_.constEnumOnlyModule=!0),a.members&&(_.members=e.cloneMap(a.members)),a.exports&&(_.exports=e.cloneMap(a.exports));var d=as(l);return _.type=ki(_,d.members,e.emptyArray,e.emptyArray,d.stringIndexInfo,d.numberIndexInfo),_}}}}return a}function ri(e){return void 0!==e.exports.get("export=")}function ni(e){return Ls(oi(e))}function ii(e,t){var r=oi(t);if(r)return r.get(e)}function ai(e){return 6256&e.flags?Eo(e,"resolvedExports"):1536&e.flags?oi(e):e.exports||k}function oi(e){var t=dn(e);return t.resolvedExports||(t.resolvedExports=ci(e))}function si(t,r,n,i){r&&r.forEach((function(r,a){if("default"!==a){var o=t.get(a);if(o){if(n&&i&&o&&jn(o)!==jn(r)){var s=n.get(a);s.exportsWithDuplicate?s.exportsWithDuplicate.push(i):s.exportsWithDuplicate=[i]}}else t.set(a,r),n&&i&&n.set(a,{specifierText:e.getTextOfNode(i.moduleSpecifier)})}}))}function ci(t){var r=[];return function t(n){if(!(n&&n.exports&&e.pushIfUnique(r,n)))return;var i=e.cloneMap(n.exports),a=n.exports.get("__export");if(a){for(var o=e.createSymbolTable(),s=e.createMap(),c=0,u=a.declarations;c=l?u.substr(0,l-"...".length)+"...":u}function Ui(e,t){var r=Ki(e.symbol)?zi(e,e.symbol.valueDeclaration):zi(e),n=Ki(t.symbol)?zi(t,t.symbol.valueDeclaration):zi(t);return r===n&&(r=zi(e,void 0,64),n=zi(t,void 0,64)),[r,n]}function Ki(t){return t&&t.valueDeclaration&&e.isExpression(t.valueDeclaration)&&!Pl(t.valueDeclaration)}function Vi(e){return void 0===e&&(e=0),277904747&e}function qi(t,r,n,i){return void 0===n&&(n=16384),i?a(i).getText():e.usingSingleLineStringWriter(a);function a(i){var a=e.createTypePredicateNodeWithModifier(2===t.kind||3===t.kind?e.createToken(124):void 0,1===t.kind||3===t.kind?e.createIdentifier(t.parameterName):e.createThisTypeNode(),t.type&&$.typeToTypeNode(t.type,r,70222336|Vi(n))),o=e.createPrinter({removeComments:!0}),s=r&&e.getSourceFileOfNode(r);return o.writeNode(4,a,s,i),i}}function Wi(e){return 8===e?"private":16===e?"protected":"public"}function Hi(t){return t&&t.parent&&250===t.parent.kind&&e.isExternalModuleAugmentation(t.parent.parent)}function Gi(t){return 290===t.kind||e.isAmbientModule(t)}function Qi(t,r){var n=dn(t).nameType;if(n){if(384&n.flags){var i=""+n.value;return e.isIdentifierText(i,J.target)||Xf(i)?Xf(i)&&e.startsWith(i,"-")?"["+i+"]":i:'"'+e.escapeString(i,34)+'"'}if(8192&n.flags)return"["+Xi(n.symbol,r)+"]"}}function Xi(t,r){if(r&&"default"===t.escapedName&&!(16384&r.flags)&&(!(16777216&r.flags)||!t.declarations||r.enclosingDeclaration&&e.findAncestor(t.declarations[0],Gi)!==e.findAncestor(r.enclosingDeclaration,Gi)))return"default";if(t.declarations&&t.declarations.length){var n=e.firstDefined(t.declarations,(function(t){return e.getNameOfDeclaration(t)?t:void 0})),i=n&&e.getNameOfDeclaration(n);if(n&&i){if(e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n))return e.symbolName(t);if(e.isComputedPropertyName(i)&&!(4096&e.getCheckFlags(t))){var a=dn(t).nameType;if(a&&384&a.flags){var o=Qi(t,r);if(void 0!==o)return o}}return e.declarationNameToString(i)}if(n||(n=t.declarations[0]),n.parent&&242===n.parent.kind)return e.declarationNameToString(n.parent.name);switch(n.kind){case 214:case 201:case 202:return!r||r.encounteredError||131072&r.flags||(r.encounteredError=!0),214===n.kind?"(Anonymous class)":"(Anonymous function)"}}var s=Qi(t,r);return void 0!==s?s:e.symbolName(t)}function Yi(t){if(t){var r=pn(t);return void 0===r.isVisible&&(r.isVisible=!!function(){switch(t.kind){case 314:case 321:case 315:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&e.isSourceFile(t.parent.parent.parent));case 191:return Yi(t.parent.parent);case 242:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 249:case 245:case 246:case 247:case 244:case 248:case 253:if(e.isExternalModuleAugmentation(t))return!0;var r=na(t);return 1&e.getCombinedModifierFlags(t)||253!==t.kind&&290!==r.kind&&8388608&r.flags?Yi(r):fn(r);case 159:case 158:case 163:case 164:case 161:case 160:if(e.hasModifier(t,24))return!1;case 162:case 166:case 165:case 167:case 156:case 250:case 170:case 171:case 173:case 169:case 174:case 175:case 178:case 179:case 182:return Yi(t.parent);case 255:case 256:case 258:return!1;case 155:case 290:case 252:return!0;case 259:default:return!1}}()),r.isVisible}return!1}function Zi(t,r){var n,i,a;return t.parent&&259===t.parent.kind?n=yn(t,t.escapedText,2998271,void 0,t,!1):263===t.parent.kind&&(n=Mn(t.parent,2998271)),n&&((a=e.createMap()).set(""+F(n),!0),function t(n){e.forEach(n,(function(n){var o=kn(n)||n;if(r?pn(n).isVisible=!0:(i=i||[],e.pushIfUnique(i,o)),e.isInternalModuleImportEqualsDeclaration(n)){var s=n.moduleReference,c=yn(n,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1),u=c&&""+F(c);c&&!a.has(u)&&(a.set(u,!0),t(c.declarations))}}))}(n.declarations)),i}function $i(e,t){var r=ea(e,t);if(r>=0){for(var n=Dr.length,i=r;i=0;r--){if(ta(Dr[r],Cr[r]))return-1;if(Dr[r]===e&&Cr[r]===t)return r}return-1}function ta(t,r){switch(r){case 0:return!!dn(t).type;case 5:return!!pn(t).resolvedEnumType;case 2:return!!dn(t).declaredType;case 1:return!!t.resolvedBaseConstructorType;case 3:return!!t.resolvedReturnType;case 4:return!!t.immediateBaseConstraint;case 6:return!!t.resolvedTypeArguments}return e.Debug.assertNever(r)}function ra(){return Dr.pop(),Cr.pop(),Sr.pop()}function na(t){return e.findAncestor(e.getRootDeclaration(t),(function(e){switch(e.kind){case 242:case 243:case 258:case 257:case 256:case 255:return!1;default:return!0}})).parent}function ia(e,t){var r=Es(e,t);return r?ja(r):void 0}function aa(e){return e&&0!=(1&e.flags)}function oa(e){var t=li(e);return t&&dn(t).type||ma(e,!1)}function sa(t){return 154===t.kind&&!e.isStringOrNumericLiteralLike(t.expression)}function ca(t,r,n){if(131072&(t=kp(t,(function(e){return!(98304&e.flags)}))).flags)return Ge;if(1048576&t.flags)return Np(t,(function(e){return ca(e,r,n)}));var i=au(e.map(r,fu));if(Cu(t)||Tu(i)){if(131072&i.flags)return t;var a=Vt||(Vt=Rc("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return a?Dc(a,[t,i]):xe}for(var o=e.createSymbolTable(),s=0,c=us(t);s=2?(i=ve,qc(Kc(!0),[i])):bt;var c=Yc(e.map(a,(function(t){return e.isOmittedExpression(t)?ve:Da(t,r,n)})),e.findLastIndex(a,(function(t){return!e.isOmittedExpression(t)&&!Vf(t)}),a.length-(s?2:1))+1,s);return r&&((c=yc(c)).pattern=t,c.objectFlags|=1048576),c}function Ca(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),189===t.kind?function(t,r,n){var i,a=e.createSymbolTable(),o=1048704;e.forEach(t.elements,(function(e){var t=e.propertyName||e.name;if(e.dotDotDotToken)i=uc(ve,!1);else{var s=fu(t);if(bo(s)){var c=To(s),u=rn(4|(e.initializer?16777216:0),c);u.type=Da(e,r,n),u.bindingElement=e,a.set(u.escapedName,u)}else o|=512}}));var s=ki(void 0,a,e.emptyArray,e.emptyArray,i,void 0);return s.objectFlags|=o,r&&(s.pattern=t,s.objectFlags|=1048576),s}(t,r,n):Sa(t,r,n)}function Ta(e,t){return ka(ma(e,!0),e,t)}function ka(t,r,n){return t?(n&&hd(r,t),8192&t.flags&&(e.isBindingElement(r)||!r.type)&&t.symbol!==li(r)&&(t=Re),md(t)):(t=e.isParameter(r)&&r.dotDotDotToken?bt:ve,n&&(Ea(r)||vd(r,t)),t)}function Ea(t){var r=e.getRootDeclaration(t);return Cv(156===r.kind?r.parent:r)}function Na(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return ol(r)}function Aa(t){var r=dn(t);if(!r.type){var n=function(t){if(4194304&t.flags)return(r=uo(_i(t))).typeParameters?mc(r,e.map(r.typeParameters,(function(e){return ve}))):r;var r;if(t===ae)return ve;if(134217728&t.flags){var n=li(e.getSourceFileOfNode(t.valueDeclaration)),i=e.createSymbolTable();return i.set("exports",n),ki(t,i,e.emptyArray,e.emptyArray,void 0,void 0)}var a,o=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(o))return ve;if(e.isSourceFile(o)&&e.isJsonSourceFile(o))return o.statements.length?md(K_(sv(o.statements[0].expression))):Ge;if(!$i(t,0))return 512&t.flags&&!(67108864&t.flags)?La(t):Ba(t);if(259===o.kind)a=ka(Ky(o.expression),o);else if(e.isBinaryExpression(o)||e.isInJSFile(o)&&(e.isCallExpression(o)||(e.isPropertyAccessExpression(o)||e.isBindableStaticElementAccessExpression(o))&&e.isBinaryExpression(o.parent)))a=ya(t);else if(e.isJSDocPropertyLikeTag(o)||e.isPropertyAccessExpression(o)||e.isElementAccessExpression(o)||e.isIdentifier(o)||e.isStringLiteralLike(o)||e.isNumericLiteral(o)||e.isClassDeclaration(o)||e.isFunctionDeclaration(o)||e.isMethodDeclaration(o)&&!e.isObjectLiteralMethod(o)||e.isMethodSignature(o)||e.isSourceFile(o)){if(9136&t.flags)return La(t);a=e.isBinaryExpression(o.parent)?ya(t):Na(o)||ve}else if(e.isPropertyAssignment(o))a=Na(o)||Xy(o);else if(e.isJsxAttribute(o))a=Na(o)||ig(o);else if(e.isShorthandPropertyAssignment(o))a=Na(o)||Qy(o.name,0);else if(e.isObjectLiteralMethod(o))a=Na(o)||Yy(o,0);else if(e.isParameter(o)||e.isPropertyDeclaration(o)||e.isPropertySignature(o)||e.isVariableDeclaration(o)||e.isBindingElement(o))a=Ta(o,!0);else if(e.isEnumDeclaration(o))a=La(t);else if(e.isEnumMember(o))a=Ra(t);else{if(!e.isAccessor(o))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(o.kind)+" for "+e.Debug.formatSymbol(t));a=Oa(t)}if(!ra())return 512&t.flags&&!(67108864&t.flags)?La(t):Ba(t);return a}(t);r.type||(r.type=n)}return r.type}function Fa(t){if(t)return 163===t.kind?e.getEffectiveReturnTypeNode(t):e.getEffectiveSetAccessorTypeAnnotationNode(t)}function Pa(e){var t=Fa(e);return t&&ol(t)}function wa(e){return Gs(Vs(e))}function Ia(t){var r=dn(t);return r.type||(r.type=function(t){if(!$i(t,0))return xe;var r=Oa(t);if(!ra()){if(r=ve,G)Zr(e.getDeclarationOfKind(t,163),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,ji(t))}return r}(t))}function Oa(t){var r=e.getDeclarationOfKind(t,163),n=e.getDeclarationOfKind(t,164);if(r&&e.isInJSFile(r)){var i=pa(r);if(i)return i}var a=Pa(r);if(a)return a;var o=Pa(n);return o||(r&&r.body?py(r):(n?Cv(n)||en(G,n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,ji(t)):(e.Debug.assert(!!r,"there must exist a getter as we are current checking either setter or getter in this function"),Cv(r)||en(G,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,ji(t))),ve))}function Ma(t){var r=Za(to(t));return 8650752&r.flags?r:2097152&r.flags?e.find(r.types,(function(e){return!!(8650752&e.flags)})):void 0}function La(t){var r=dn(t),n=r;if(!r.type){var i=e.getDeclarationOfExpando(t.valueDeclaration);if(i){var a=zm(t,li(i));a&&(t=r=a)}n.type=r.type=function(t){var r=t.valueDeclaration;if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))return ve;if(209===r.kind||e.isAccessExpression(r)&&209===r.parent.kind)return ya(t);if(512&t.flags&&r&&e.isSourceFile(r)&&r.commonJsModuleIndicator){var n=ei(t);if(n!==t){if(!$i(t,0))return xe;var i=ui(t.exports.get("export=")),a=ya(i,i===n?void 0:n);return ra()?a:Ba(t)}}var o=xi(16,t);if(32&t.flags){var s=Ma(t);return s?du([o,s]):o}return V&&16777216&t.flags?rd(o):o}(t)}return r.type}function Ra(e){var t=dn(e);return t.type||(t.type=so(e))}function Ba(t){var r=t.valueDeclaration;return e.getEffectiveTypeAnnotationNode(r)?(Zr(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,ji(t)),xe):(G&&(156!==r.kind||r.initializer)&&Zr(t.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,ji(t)),ve)}function ja(t){return 65536&e.getCheckFlags(t)?function(t){var r=dn(t);return r.type||(e.Debug.assertDefined(r.deferralParent),e.Debug.assertDefined(r.deferralConstituents),r.type=1048576&r.deferralParent.flags?au(r.deferralConstituents):du(r.deferralConstituents)),r.type}(t):1&e.getCheckFlags(t)?function(e){var t=dn(e);if(!t.type){if(!$i(e,0))return t.type=xe;var r=El(ja(t.target),t.mapper);ra()||(r=Ba(e)),t.type=r}return t.type}(t):8192&e.getCheckFlags(t)?function(e){return wd(e.propertyType,e.mappedType,e.constraintType)}(t):7&t.flags?Aa(t):9136&t.flags?La(t):8&t.flags?Ra(t):98304&t.flags?Ia(t):2097152&t.flags?function(e){var t=dn(e);if(!t.type){var r=Jn(e);t.type=111551&r.flags?ja(r):xe}return t.type}(t):xe}function Ja(t,r){return void 0!==t&&void 0!==r&&0!=(4&e.getObjectFlags(t))&&t.target===r}function za(t){return 4&e.getObjectFlags(t)?t.target:t}function Ua(t,r){return function t(n){if(7&e.getObjectFlags(n)){var i=za(n);return i===r||e.some($a(i),t)}if(2097152&n.flags)return e.some(n.types,t);return!1}(t)}function Ka(t,r){for(var n=0,i=r;n0)return!0;if(8650752&e.flags){var t=ms(e);return!!t&&Ha(t)}return!1}function Qa(t){return e.getEffectiveBaseTypeNode(t.symbol.valueDeclaration)}function Xa(t,r,n){var i=e.length(r),a=e.isInJSFile(n);return e.filter(As(t,1),(function(t){return(a||i>=Us(t.typeParameters))&&i<=e.length(t.typeParameters)}))}function Ya(t,r,n){var i=Xa(t,r,n),a=e.map(r,ol);return e.sameMap(i,(function(t){return e.some(t.typeParameters)?ec(t,a,e.isInJSFile(n)):t}))}function Za(t){if(!t.resolvedBaseConstructorType){var r=t.symbol.valueDeclaration,n=e.getEffectiveBaseTypeNode(r),i=Qa(t);if(!i)return t.resolvedBaseConstructorType=Ce;if(!$i(t,1))return xe;var a=sv(i.expression);if(n&&i!==n&&(e.Debug.assert(!n.typeArguments),sv(n.expression)),2621440&a.flags&&as(a),!ra())return Zr(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,ji(t.symbol)),t.resolvedBaseConstructorType=xe;if(!(1&a.flags||a===Ne||Ga(a))){var o=Zr(i.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,zi(a));if(262144&a.flags){var s=dc(a),c=Se;if(s){var u=As(s,1);u[0]&&(c=Xs(u[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(a.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,ji(a.symbol),zi(c)))}return t.resolvedBaseConstructorType=xe}t.resolvedBaseConstructorType=a}return t.resolvedBaseConstructorType}function $a(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[Hc(au(t.typeParameters||e.emptyArray),t.readonly)]:96&t.symbol.flags?(32&t.symbol.flags&&function(t){t.resolvedBaseTypes=e.resolvingEmptyArray;var r=Ss(Za(t));if(!(2621441&r.flags))return t.resolvedBaseTypes=e.emptyArray;var n,i=Qa(t),a=r.symbol?uo(r.symbol):void 0;if(r.symbol&&32&r.symbol.flags&&function(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,n=hc(e);return t[r].symbol!==n[r].symbol}return!0}(a))n=xc(i,r.symbol);else if(1&r.flags)n=r;else{var o=Ya(r,i.typeArguments,i);if(!o.length)return Zr(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),t.resolvedBaseTypes=e.emptyArray;n=Xs(o[0])}if(n===xe)return t.resolvedBaseTypes=e.emptyArray;if(!eo(n))return Zr(i.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,zi(n)),t.resolvedBaseTypes=e.emptyArray;if(t===n||Ua(n,t))return Zr(t.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,zi(t,void 0,2)),t.resolvedBaseTypes=e.emptyArray;t.resolvedBaseTypes===e.resolvingEmptyArray&&(t.members=void 0);t.resolvedBaseTypes=[n]}(t),64&t.symbol.flags&&function(t){t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray;for(var r=0,n=t.symbol.declarations;r=a?16384:0);return i.type=n===o?Hc(e):e,i}));return e.concatenate(t.parameters.slice(0,r),s)}}return t.parameters}function Ro(e,t,r,n,i){for(var a=0,o=e;a0)return;for(var i=1;i1&&(n=void 0===n?i:-1);for(var a=0,o=t[i];a1){var l=s.thisParameter,_=e.forEach(c,(function(e){return e.thisParameter}));if(_)l=ld(_,du(e.mapDefined(c,(function(e){return e.thisParameter&&ja(e.thisParameter)}))));(u=Oo(s,c)).thisParameter=l}(r||(r=[])).push(u)}}}}if(!e.length(r)&&-1!==n){for(var d=t[void 0!==n?n:0],p=d.slice(),f=function(t){if(t!==d){var r=t[0];if(e.Debug.assert(!!r,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(p=r.typeParameters&&e.some(p,(function(e){return!!e.typeParameters}))?void 0:e.map(p,(function(t){return function(t,r){var n=t.declaration,i=function(e,t){for(var r=ty(e),n=ty(t),i=r>=n?e:t,a=i===e?t:e,o=i===e?r:n,s=ny(e)||ny(t),c=s&&!ny(i),u=new Array(o+(c?1:0)),l=0;l=ry(i)&&l>=ry(a),m=l>=r?void 0:Ym(e,l),y=l>=n?void 0:Ym(t,l),v=rn(1|(g&&!f?16777216:0),(m===y?m:m?y?void 0:m:y)||"arg"+l);v.type=f?Hc(p):p,u[l]=v}if(c){var h=rn(1,"args");h.type=Hc(Zm(a,o)),u[o]=h}return u}(t,r),a=function(e,t){if(!e||!t)return e||t;var r=du([ja(e),ja(t)]);return ld(e,r)}(t.thisParameter,r.thisParameter),o=Math.max(t.minArgumentCount,r.minArgumentCount),s=wo(n,t.typeParameters||r.typeParameters,a,i,void 0,void 0,o,3&(t.flags|r.flags));return s.unionSignatures=e.concatenate(t.unionSignatures||[t],[r]),s}(t,r)}))))return"break"}},g=0,m=t;g0})),n=e.map(t,Ha);if(r>0&&r===e.countWhere(n,(function(e){return e}))){var i=n.indexOf(!0);n[i]=!1}return n}function qo(t){for(var r,n,i,a,o=t.types,s=Vo(o),c=e.countWhere(s,(function(e){return e})),u=function(u){var l=t.types[u];if(!s[u]){var _=As(l,1);_.length&&c>0&&(_=e.map(_,(function(e){var t=Io(e);return t.resolvedReturnType=function(e,t,r,n){for(var i=[],a=0;a=_&&o<=d){var p=d?rc(l,Ks(a,l.typeParameters,_,i)):Io(l);p.typeParameters=t.localTypeParameters,p.resolvedReturnType=t,s.push(p)}}return s}(l)),t.constructSignatures=i}}}function Go(t){if(131069&t.flags)return t;if(4194304&t.flags)return vu(Ss(t.type));if(16777216&t.flags){if(t.root.isDistributive){var r=t.checkType,n=Go(r);if(n!==r)return kl(t,pl(ll(t.root.checkType,n),t.mapper))}return t}return 1048576&t.flags?au(e.sameMap(t.types,Go)):2097152&t.flags?du(e.sameMap(t.types,Go)):je}function Qo(e){return e.typeParameter||(e.typeParameter=co(li(e.declaration.typeParameter)))}function Xo(e){return e.constraintType||(e.constraintType=_s(Qo(e))||xe)}function Yo(e){return e.templateType||(e.templateType=e.declaration.type?El(ga(ol(e.declaration.type),!!(4&ts(e))),e.mapper||B):xe)}function Zo(t){return e.getEffectiveConstraintOfTypeParameter(t.declaration.typeParameter)}function $o(e){var t=Zo(e);return 184===t.kind&&134===t.operator}function es(e){if(!e.modifiersType)if($o(e))e.modifiersType=El(ol(Zo(e).type),e.mapper||B);else{var t=Xo(Ou(e.declaration)),r=t&&262144&t.flags?_s(t):t;e.modifiersType=r&&4194304&r.flags?El(r.type,e.mapper||B):Se}return e.modifiersType}function ts(e){var t=e.declaration;return(t.readonlyToken?40===t.readonlyToken.kind?2:1:0)|(t.questionToken?40===t.questionToken.kind?8:4:0)}function rs(e){var t=ts(e);return 8&t?-1:4&t?1:0}function ns(e){var t=rs(e),r=es(e);return t||(is(r)?rs(r):0)}function is(t){return!!(32&e.getObjectFlags(t))&&Tu(Xo(t))}function as(t){return t.members||(524288&t.flags?4&t.objectFlags?function(t){var r=ho(t.target),n=e.concatenate(r.typeParameters,[r.thisType]),i=hc(t);Po(t,r,n,i.length===n.length?i:e.concatenate(i,[t]))}(t):3&t.objectFlags?function(t){Po(t,ho(t),e.emptyArray,e.emptyArray)}(t):2048&t.objectFlags?function(t){for(var r=ws(t.source,0),n=ts(t.mappedType),i=!(1&n),a=4&n?0:16777216,o=r&&uc(wd(r.type,t.mappedType,t.constraintType),i&&r.isReadonly),s=e.createSymbolTable(),c=0,u=us(t.source);c=50)return Zr(_,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),r=!0,t.immediateBaseConstraint=et;T++;var n=function(e){if(262144&e.flags){var t=dc(e);return e.isThisType||!t?t:i(t)}if(3145728&e.flags){for(var r=e.types,n=[],a=0,o=r;a=99,qt||(qt=Bc("BigInt",0,r))||Ge):528&n.flags?yt:12288&n.flags?Jc(z>=2):67108864&n.flags?Ge:4194304&n.flags?We:2&n.flags&&!V?Ge:n}function Cs(t,r){for(var n,i=e.createMap(),a=1048576&t.flags,o=a?24:0,s=a?0:16777216,c=4,u=0,l=0,_=t.types;l<_.length;l++){if((T=Ss(_[l]))!==xe){var d=(C=Es(T,r))?e.getDeclarationModifierFlagsFromSymbol(C):0;if(!C||d&o){if(a){var p=!Do(r)&&(Xf(r)&&ws(T,1)||ws(T,0));p?(u|=32|(p.isReadonly?8:0),n=e.append(n,H_(T)?G_(T)||Ce:p.type)):Ud(T)?(u|=32,n=e.append(n,Ce)):u|=16}}else{a?s|=16777216&C.flags:s&=C.flags;var f=""+F(C);i.has(f)||i.set(f,C),u|=(Ty(C)?8:0)|(24&d?0:256)|(16&d?512:0)|(8&d?1024:0)|(32&d?2048:0),Dg(C)||(c=2)}}}if(i.size){var g,m,y,v=e.arrayFrom(i.values());if(!(1!==v.length||16&u||n))return v[0];for(var h,b=[],x=!1,D=0,S=v;D2?(k.checkFlags|=65536,k.deferralParent=t,k.deferralConstituents=b):k.type=a?au(b):du(b),k}}function Ts(t,r){var n=t.propertyCache||(t.propertyCache=e.createSymbolTable()),i=n.get(r);return i||(i=Cs(t,r))&&n.set(r,i),i}function ks(t,r){var n=Ts(t,r);return!n||16&e.getCheckFlags(n)?void 0:n}function Es(e,t){if(524288&(e=Ss(e)).flags){var r=as(e),n=r.members.get(t);if(n&&mi(n))return n;var i=r===$e?lt:r.callSignatures.length?_t:r.constructSignatures.length?dt:void 0;if(i){var a=ss(i,t);if(a)return a}return ss(ut,t)}if(3145728&e.flags)return ks(e,t)}function Ns(t,r){if(3670016&t.flags){var n=as(t);return 0===r?n.callSignatures:n.constructSignatures}return e.emptyArray}function As(e,t){return Ns(Ss(e),t)}function Fs(e,t){if(3670016&e.flags){var r=as(e);return 0===t?r.stringIndexInfo:r.numberIndexInfo}}function Ps(e,t){var r=Fs(e,t);return r&&r.type}function ws(e,t){return Fs(Ss(e),t)}function Is(e,t){return Ps(Ss(e),t)}function Os(t,r){if(ud(t)){for(var n=[],i=0,a=us(t);i=0),n>=ry(r)}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!i&&(!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=i.arguments.length)}function Js(t){if(!e.isJSDocParameterTag(t))return!1;var r=t.isBracketed,n=t.typeExpression;return r||!!n&&299===n.type.kind}function zs(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function Us(t){var r,n=0;if(t)for(var i=0;i=n&&o<=a){for(var s=t?t.slice():[],c=o;cu.arguments.length&&!g||_||Rs(p)||(o=i.length)}if(!(163!==t.kind&&164!==t.kind||Co(t)||c&&s)){var m=163===t.kind?164:163,y=e.getDeclarationOfKind(li(t),m);y&&(s=(r=Bx(y))&&r.symbol)}var v=162===t.kind?to(ui(t.parent.symbol)):void 0,h=v?v.localTypeParameters:Ms(t);(e.hasRestParameter(t)||e.isInJSFile(t)&&function(t,r){if(e.isJSDocSignature(t)||!Ws(t))return!1;var n=e.lastOrUndefined(t.parameters),i=n?e.getJSDocParameterTags(n):e.getJSDocTags(t).filter(e.isJSDocParameterTag),a=e.firstDefined(i,(function(t){return t.typeExpression&&e.isJSDocVariadicType(t.typeExpression.type)?t.typeExpression.type:void 0})),o=rn(3,"args",32768);o.type=a?Hc(ol(a.type)):bt,a&&r.pop();return r.push(o),!0}(t,i))&&(a|=1),n.resolvedSignature=wo(t,h,s,i,void 0,void 0,o,a)}return n.resolvedSignature}function qs(t){var r=e.isInJSFile(t)?e.getJSDocTypeTag(t):void 0,n=r&&r.typeExpression&&sm(ol(r.typeExpression));return n&&nc(n)}function Ws(t){var r=pn(t);return void 0===r.containsArgumentsReference&&(8192&r.flags?r.containsArgumentsReference=!0:r.containsArgumentsReference=function t(r){if(!r)return!1;switch(r.kind){case 75:return"arguments"===r.escapedText&&e.isExpressionNode(r);case 159:case 161:case 163:case 164:return 154===r.name.kind&&t(r.name);default:return!e.nodeStartsNewLexicalEnvironment(r)&&!e.isPartOfTypeNode(r)&&!!e.forEachChild(r,t)}}(t.body)),r.containsArgumentsReference}function Hs(t){if(!t)return e.emptyArray;for(var r=[],n=0;n0&&i.body){var a=t.declarations[n-1];if(i.parent===a.parent&&i.kind===a.kind&&i.pos===a.end)continue}r.push(Vs(i))}}return r}function Gs(e){if(e.thisParameter)return ja(e.thisParameter)}function Qs(t){if(!t.resolvedTypePredicate){if(t.target){var r=Qs(t.target);t.resolvedTypePredicate=r?(o=r,s=t.mapper,zs(o.kind,o.parameterName,o.parameterIndex,El(o.type,s))):$t}else if(t.unionSignatures)t.resolvedTypePredicate=function(e){for(var t,r=[],n=0,i=e;n=0}function $s(e){if(L(e)){var t=ja(e.parameters[e.parameters.length-1]),r=H_(t)?G_(t):t;return r&&Is(r,1)}}function ec(e,t,r,n){var i=tc(e,Ks(t,e.typeParameters,Us(e.typeParameters),r));if(n){var a=cm(Xs(i));if(a){var o=Io(a);o.typeParameters=n;var s=Io(i);return s.resolvedReturnType=oc(o),s}}return i}function tc(t,r){var n=t.instantiations||(t.instantiations=e.createMap()),i=fc(r),a=n.get(i);return a||n.set(i,a=rc(t,r)),a}function rc(e,t){return vl(e,function(e,t){return _l(e.typeParameters,t)}(e,t),!0)}function nc(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return vl(e,dl(e.typeParameters),!0)}(e)):e}function ic(t){return t.typeParameters?t.canonicalSignatureCache||(t.canonicalSignatureCache=function(t){return ec(t,e.map(t.typeParameters,(function(e){return e.target&&!_s(e.target)?e.target:e})),e.isInJSFile(t.declaration))}(t)):t}function ac(t){var r=t.typeParameters;if(r){var n=dl(r);return vl(t,_l(r,e.map(r,(function(e){return El(ms(e),n)||Se}))),!0)}return t}function oc(t){if(!t.isolatedSignatureType){var r=t.declaration?t.declaration.kind:0,n=162===r||166===r||171===r,i=xi(16);i.members=k,i.properties=e.emptyArray,i.callSignatures=n?e.emptyArray:[t],i.constructSignatures=n?[t]:e.emptyArray,t.isolatedSignatureType=i}return t.isolatedSignatureType}function sc(e){return e.members.get("__index")}function cc(t,r){var n=1===r?140:143,i=sc(t);if(i)for(var a=0,o=i.declarations;a1&&(t+=":"+a),n+=a}return t}function gc(t,r){for(var n=0,i=0,a=t;ii.length)){var c=s&&e.isExpressionWithTypeArguments(t)&&!e.isJSDocAugmentsTag(t.parent);if(Zr(t,o===i.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,zi(n,void 0,2),o,i.length),!s)return xe}return 169===t.kind&&Qc(t)?vc(n,t,void 0):mc(n,e.concatenate(n.outerTypeParameters,Ks(Ic(t),i,o,s)))}return Pc(t,r)?n:xe}function Dc(t,r){var n=uo(t),i=dn(t),a=i.typeParameters,o=fc(r),s=i.instantiations.get(o);return s||i.instantiations.set(o,s=El(n,_l(a,Ks(r,a,Us(a),e.isInJSFile(t.valueDeclaration))))),s}function Sc(t){switch(t.kind){case 169:return t.typeName;case 216:var r=t.expression;if(e.isEntityNameExpression(r))return r}}function Cc(e,t,r){return e&&Gn(e,t,r)||me}function Tc(t,r){if(r===me)return xe;if(96&(r=function(t){var r=t.valueDeclaration;if(r&&e.isInJSFile(r)&&!(524288&t.flags)&&!e.getExpandoInitializer(r,!1)){var n=e.isVariableDeclaration(r)?e.getDeclaredExpandoInitializer(r):e.getAssignedExpandoInitializer(r);if(n){var i=li(n);if(i)return zm(i,t)}}}(r)||r).flags)return xc(t,r);if(524288&r.flags)return function(t,r){var n=uo(r),i=dn(r).typeParameters;if(i){var a=e.length(t.typeArguments),o=Us(i);return ai.length?(Zr(t,o===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,ji(r),o,i.length),xe):Dc(r,Ic(t))}return Pc(t,r)?n:xe}(t,r);var n=lo(r);if(n)return Pc(t,r)?262144&n.flags?Ac(n,t):tl(n):xe;if(111551&r.flags&&Fc(t)){var i=function(t,r){var n=pn(t);if(!n.resolvedJSDocType){var i=ja(r),a=i;if(r.valueDeclaration){var o=e.getRootDeclaration(r.valueDeclaration),s=!1;if(e.isVariableDeclaration(o)&&o.initializer){for(var c=o.initializer;e.isPropertyAccessExpression(c);)c=c.expression;s=e.isCallExpression(c)&&e.isRequireCall(c,!0)&&!!i.symbol}var u=188===t.kind&&t.qualifier;i.symbol&&(s||u)&&(a=Tc(t,i.symbol))}n.resolvedJSDocType=a}return n.resolvedJSDocType}(t,r);return i||(Cc(Sc(t),788968),ja(r))}return xe}function kc(e,t){if(3&t.flags||t===e)return e;var r=$c(e)+">"+$c(t),n=pe.get(r);if(n)return n;var i=vi(33554432);return i.typeVariable=e,i.substitute=t,pe.set(r,i),i}function Ec(e){return 175===e.kind&&1===e.elementTypes.length}function Nc(e,t,r){return Ec(t)&&Ec(r)?Nc(e,t.elementTypes[0],r.elementTypes[0]):Mu(ol(t))===e?ol(r):void 0}function Ac(t,r){for(var n;r&&!e.isStatement(r)&&303!==r.kind;){var i=r.parent;if(180===i.kind&&r===i.trueType){var a=Nc(t,i.checkType,i.extendsType);a&&(n=e.append(n,a))}r=i}return n?kc(t,du(e.append(n,t))):t}function Fc(e){return!!(4194304&e.flags)&&(169===e.kind||188===e.kind)}function Pc(t,r){return!t.typeArguments||(Zr(t,e.Diagnostics.Type_0_is_not_generic,r?ji(r):t.typeName?e.declarationNameToString(t.typeName):o),!1)}function wc(t){var r=pn(t);if(!r.resolvedType){var n=void 0,i=void 0;Fc(t)&&((i=function(t){if(e.isIdentifier(t.typeName)){var r=t.typeArguments;switch(t.typeName.escapedText){case"String":return Pc(t),Ae;case"Number":return Pc(t),Fe;case"Boolean":return Pc(t),Le;case"Void":return Pc(t),Be;case"Undefined":return Pc(t),Ce;case"Null":return Pc(t),Ee;case"Function":case"function":return Pc(t),lt;case"array":return r&&r.length||G?void 0:bt;case"promise":return r&&r.length||G?void 0:ly(ve);case"Object":if(r&&2===r.length){if(e.isJSDocIndexSignature(t)){var n=ol(r[0]),i=uc(ol(r[1]),!1);return ki(void 0,k,e.emptyArray,e.emptyArray,n===Ae?i:void 0,n===Fe?i:void 0)}return ve}return Pc(t),G?void 0:ve}}}(t))||((n=Cc(Sc(t),788968,!0))===me?n=Cc(Sc(t),900095):Cc(Sc(t),788968),i=Tc(t,n))),i||(i=Tc(t,n=Cc(Sc(t),788968))),r.resolvedSymbol=n,r.resolvedType=i}return r.resolvedType}function Ic(t){return e.map(t.typeArguments,ol)}function Oc(e){var t=pn(e);return t.resolvedType||(t.resolvedType=tl(md(sv(e.exprName)))),t.resolvedType}function Mc(t,r){function n(e){for(var t=0,r=e.declarations;t=r?16777216:0),""+u,i?8:0);_.type=l,s.push(_)}}}var d=[];for(u=r;u<=c;u++)d.push(nl(u));var p=rn(4,"length");p.type=n?Fe:au(d),s.push(p);var f=xi(12);return f.typeParameters=o,f.outerTypeParameters=void 0,f.localTypeParameters=o,f.instantiations=e.createMap(),f.instantiations.set(fc(f.typeParameters),f),f.target=f,f.resolvedTypeArguments=f.typeParameters,f.thisType=Di(),f.thisType.isThisType=!0,f.thisType.constraint=f,f.declaredProperties=s,f.declaredCallSignatures=e.emptyArray,f.declaredConstructSignatures=e.emptyArray,f.declaredStringIndexInfo=void 0,f.declaredNumberIndexInfo=void 0,f.minLength=r,f.hasRestElement=n,f.readonly=i,f.associatedNames=a,f}(t,r,n,i,a)),s}function Yc(e,t,r,n,i){void 0===t&&(t=e.length),void 0===r&&(r=!1),void 0===n&&(n=!1);var a=e.length;if(1===a&&r)return Hc(e[0],n);var o=Xc(a,t,a>0&&r,n,i);return e.length?mc(o,e):o}function Zc(e,t){var r=e.target;return r.hasRestElement&&(t=Math.min(t,bc(e)-1)),Yc(hc(e).slice(t),Math.max(0,r.minLength-t),r.hasRestElement,r.readonly,r.associatedNames&&r.associatedNames.slice(t))}function $c(e){return e.id}function eu(t,r){return e.binarySearch(t,r,$c,e.compareValues)>=0}function tu(t,r){var n=e.binarySearch(t,r,$c,e.compareValues);return n<0&&(t.splice(~n,0,r),!0)}function ru(t,r,n){var i=n.flags;if(1048576&i)return nu(t,r,n.types);if(!(131072&i))if(r|=68943871&i,66846720&i&&(r|=262144),n===be&&(r|=4194304),!V&&98304&i)524288&e.getObjectFlags(n)||(r|=2097152);else{var a=t.length,o=a&&n.id>t[a-1].id?~a:e.binarySearch(t,n,$c,e.compareValues);o<0&&t.splice(~o,0,n)}return r}function nu(e,t,r){for(var n=0,i=r;n0;)for(var o=t[--i],s=0,c=t;s(r?25e6:1e6))return Zr(_,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(a++,u_(o,u,qr)&&(!(1&e.getObjectFlags(za(o)))||!(1&e.getObjectFlags(za(u)))||Ul(o,u))){e.orderedRemoveItemAt(t,i);break}}}return!0}function au(t,r,n,i){if(void 0===r&&(r=1),0===t.length)return je;if(1===t.length)return t[0];var a=[],o=nu(a,0,t);if(0!==r){if(3&o)return 1&o?4194304&o?be:ve:Se;switch(r){case 1:11136&o&&function(t,r){for(var n=t.length;n>0;){var i=t[--n];(128&i.flags&&4&r||256&i.flags&&8&r||2048&i.flags&&64&r||8192&i.flags&&4096&r||rl(i)&&eu(t,i.regularType))&&e.orderedRemoveItemAt(t,n)}}(a,o);break;case 2:if(!iu(a,!(262144&o)))return xe}if(0===a.length)return 65536&o?2097152&o?Ee:Ne:32768&o?2097152&o?Ce:Te:je}return su(a,66994211&o?0:262144,n,i)}function ou(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function su(e,t,r,n){if(0===e.length)return je;if(1===e.length)return e[0];var i=fc(e),a=ue.get(i);return a||(a=vi(1048576),ue.set(i,a),a.objectFlags=t|gc(e,98304),a.types=e,a.aliasSymbol=r,a.aliasTypeArguments=n),a}function cu(e,t,r){var n=r.flags;return 2097152&n?uu(e,t,r.types):(a_(r)?8388608&t||(t|=8388608,e.set(r.id.toString(),r)):(3&n?r===be&&(t|=4194304):!V&&98304&n||e.has(r.id.toString())||(109440&r.flags&&109440&t&&(t|=67108864),e.set(r.id.toString(),r)),t|=68943871&n),t)}function uu(e,t,r){for(var n=0,i=r;n0;){var i=t[--n];(4&i.flags&&128&r||8&i.flags&&256&r||64&i.flags&&2048&r||4096&i.flags&&8192&r)&&e.orderedRemoveItemAt(t,n)}}(o,a),8388608&a&&524288&a&&e.orderedRemoveItemAt(o,e.findIndex(o,a_)),0===o.length)return Se;if(1===o.length)return o[0];var s=fc(o),c=le.get(s);if(!c){if(1048576&a)if(function(t){var r,n=e.findIndex(t,(function(t){return!!(262144&e.getObjectFlags(t))}));if(n<0)return!1;for(var i=n+1;i=1e5)return Zr(_,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),xe;var u=e.findIndex(o,(function(e){return 0!=(1048576&e.flags)})),l=o[u];c=au(e.map(l.types,(function(t){return du(e.replaceElement(o,u,t))})),1,r,n)}else c=function(e,t,r){var n=vi(2097152);return n.objectFlags=gc(e,98304),n.types=e,n.aliasSymbol=t,n.aliasTypeArguments=r,n}(o,r,n);le.set(s,c)}return c}function pu(e,t){var r=vi(4194304);return r.type=e,r.stringsOnly=t,r}function fu(t){return e.isPrivateIdentifier(t)?je:e.isIdentifier(t)?nl(e.unescapeLeadingUnderscores(t.escapedText)):tl(e.isComputedPropertyName(t)?Yf(t):sv(t))}function gu(t,r){if(!(24&e.getDeclarationModifierFlagsFromSymbol(t))){var n=dn(Ao(t)).nameType;if(!n&&!e.isKnownSymbol(t))if("default"===t.escapedName)n=nl("default");else{var i=t.valueDeclaration&&e.getNameOfDeclaration(t.valueDeclaration);n=i&&fu(i)||nl(e.symbolName(t))}if(n&&n.flags&r)return n}return je}function mu(t,r){return au(e.map(us(t),(function(e){return gu(e,r)})))}function yu(e){var t=ws(e,1);return t!==ir?t:void 0}function vu(t,r,n){return void 0===r&&(r=X),1048576&t.flags?du(e.map(t.types,(function(e){return vu(e,r,n)}))):2097152&t.flags?au(e.map(t.types,(function(e){return vu(e,r,n)}))):Fy(t,58982400)?function(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=pu(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=pu(e,!1))}(t,r):32&e.getObjectFlags(t)?kp(Xo(t),(function(e){return!(n&&5&e.flags)})):t===be?be:2&t.flags?je:131073&t.flags?We:r?!n&&ws(t,0)?Ae:mu(t,128):!n&&ws(t,0)?au([Ae,Fe,mu(t,8192)]):yu(t)?au([Fe,mu(t,8320)]):mu(t,8576)}function hu(t){if(X)return t;var r=Kt||(Kt=Rc("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return r?Dc(r,[t,Ae]):Ae}function bu(t){return!G&&(!!(16384&e.getObjectFlags(t))||(1048576&t.flags?e.every(t.types,bu):2097152&t.flags?e.some(t.types,bu):!!(63176704&t.flags)&&bu(hs(t))))}function xu(t,r){var n=r&&195===r.kind?r:void 0;return bo(t)?To(t):n&&Zg(n.argumentExpression,t,!1)?e.getPropertyNameForKnownSymbolName(e.idText(n.argumentExpression.name)):r&&e.isPropertyName(r)?e.getPropertyNameForPropertyNameNode(r):void 0}function Du(t,r,n,i,a,o,s){var c=o&&195===o.kind?o:void 0,u=o&&e.isPrivateIdentifier(o)?void 0:xu(n,o);if(void 0!==u){var l=Es(r,u);if(l){if(c){if(Hg(l,c,104===c.expression.kind),ky(c,l,e.getAssignmentTargetKind(c)))return void Zr(c.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,ji(l));4&s&&(pn(o).resolvedSymbol=l)}var _=ja(l);return c&&1!==e.getAssignmentTargetKind(c)?Qp(c,_):_}if(Tp(r,H_)&&Xf(u)&&+u>=0){if(o&&Tp(r,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var d=Su(o);H_(r)?Zr(d,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,zi(r),bc(r),e.unescapeLeadingUnderscores(u)):Zr(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(u),zi(r))}return h(ws(r,1)),Np(r,(function(e){return G_(e)||Ce}))}}if(!(98304&n.flags)&&Py(n,12716)){if(131073&r.flags)return r;var p=ws(r,0),f=Py(n,296)&&ws(r,1)||p;if(f)return 1&s&&f===p?void(c&&Zr(c,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,zi(n),zi(t))):o&&!Py(n,12)?(Zr(d=Su(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,zi(n)),f.type):(h(f),f.type);if(131072&n.flags)return je;if(bu(r))return ve;if(c&&!Iy(r)){if(r.symbol===re&&void 0!==u&&re.exports.has(u)&&418&re.exports.get(u).flags)Zr(c,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(u),zi(r));else if(G&&!J.suppressImplicitAnyIndexErrors&&!a)if(void 0!==u&&zg(u,r))Zr(c,e.Diagnostics.Property_0_is_a_static_member_of_type_1,u,zi(r));else if(Is(r,1))Zr(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!==u&&(g=Kg(u,r)))void 0!==g&&Zr(c.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,u,zi(r),g);else{var m=function(t,r,n){var i=e.isAssignmentTarget(r)?"set":"get";if(!function(e){var r=ss(t,e);if(r){var i=sm(ja(r));return!!i&&ry(i)>=1&&zl(n,Zm(i,0))}return!1}(i))return;var a=e.tryGetPropertyAccessOrIdentifierToString(r.expression);void 0===a?a=i:a+="."+i;return a}(r,c,n);if(void 0!==m)Zr(c,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,zi(r),m);else{var y=void 0;if(1024&n.flags)y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+zi(n)+"]",zi(r));else if(8192&n.flags){var v=Hn(n.symbol,c);y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+v+"]",zi(r))}else 128&n.flags||256&n.flags?y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,zi(r)):12&n.flags&&(y=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,zi(n),zi(r)));y=e.chainDiagnosticMessages(y,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,zi(i),zi(r)),Jr.add(e.createDiagnosticForNodeFromMessageChain(c,y))}}}return}}if(bu(r))return ve;if(o){d=Su(o);384&n.flags?Zr(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+n.value,zi(r)):12&n.flags?Zr(d,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,zi(r),zi(n)):Zr(d,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,zi(n))}return aa(n)?n:void 0;function h(t){t&&t.isReadonly&&c&&(e.isAssignmentTarget(c)||e.isDeleteTarget(c))&&Zr(c,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,zi(r))}}function Su(e){return 195===e.kind?e.argumentExpression:185===e.kind?e.indexType:154===e.kind?e.expression:e}function Cu(e){return Fy(e,59113472)}function Tu(e){return Fy(e,63176704)}function ku(e){return!!(262144&e.flags&&e.isThisType)}function Eu(t,r){return 8388608&t.flags?function(t,r){var n=r?"simplifiedForWriting":"simplifiedForReading";if(t[n])return t[n]===tt?t:t[n];t[n]=tt;var i=function(e){if(33554432&e.flags)return e.substitute;return e}(Eu(t.objectType,r)),a=Eu(t.indexType,r),o=function(t,r,n){if(1048576&r.flags){var i=e.map(r.types,(function(e){return Eu(Pu(t,e),n)}));return n?du(i):au(i)}}(i,a,r);if(o)return t[n]=o;if(!(63176704&a.flags)){var s=Nu(i,a,r);if(s)return t[n]=s}if(is(i))return t[n]=Np(Fu(i,t.indexType),(function(e){return Eu(e,r)}));return t[n]=t}(t,r):16777216&t.flags?function(e,t){var r=e.checkType,n=e.extendsType,i=Ru(e),a=Bu(e);if(131072&a.flags&&Mu(i)===Mu(r)){if(1&r.flags||zl(Al(r),Al(n)))return Eu(i,t);if(Au(r,n))return je}else if(131072&i.flags&&Mu(a)===Mu(r)){if(!(1&r.flags)&&zl(Al(r),Al(n)))return je;if(1&r.flags||Au(r,n))return Eu(a,t)}return e}(t,r):t}function Nu(t,r,n){if(3145728&t.flags){var i=e.map(t.types,(function(e){return Eu(Pu(e,r),n)}));return 2097152&t.flags||n?du(i):au(i)}}function Au(e,t){return!!(131072&au([zo(e,t),je]).flags)}function Fu(e,t){var r=_l([Qo(e)],[t]),n=pl(e.mapper,r);return El(Yo(e),n)}function Pu(e,t,r){return wu(e,t,r,0)||(r?xe:Se)}function wu(e,t,r,n){if(void 0===n&&(n=0),e===be||t===be)return be;if(!o_(e)||98304&t.flags||!Py(t,12)||(t=Ae),Tu(t)||(!r||185===r.kind)&&Cu(e)){if(3&e.flags)return e;var i=e.id+","+t.id,a=de.get(i);return a||de.set(i,a=function(e,t){var r=vi(8388608);return r.objectType=e,r.indexType=t,r}(e,t)),a}var o=Ss(e);if(1048576&t.flags&&!(16&t.flags)){for(var s=[],c=!1,u=0,l=t.types;u=i,n)})),o=ts(r),s=4&o?0:8&o?bc(t)-(t.target.hasRestElement?1:0):i,c=Sl(t.target.readonly,o);return e.contains(a,xe)?xe:Yc(a,s,t.target.hasRestElement,c,t.target.associatedNames)}(i,t,a):Tl(t,a)}return i}))}return Tl(t,r)}(n,g):Tl(n,g),a.instantiations.set(p,f)}return f}return t}function xl(t,r){if(t.symbol&&t.symbol.declarations&&1===t.symbol.declarations.length){for(var n=t.symbol.declarations[0].parent,i=r;i!==n;i=i.parent)if(!i||223===i.kind||180===i.kind&&e.forEachChild(i.extendsType,a))return!0;return!!e.forEachChild(r,a)}return!0;function a(r){switch(r.kind){case 183:return!!t.isThisType;case 75:return!t.isThisType&&e.isPartOfTypeNode(r)&&function(e){return!(153===e.kind||169===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||188===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(r)&&ol(r)===t;case 172:return!0}return!!e.forEachChild(r,a)}}function Dl(e){var t=Xo(e);if(4194304&t.flags){var r=Mu(t.type);if(262144&r.flags)return r}}function Sl(e,t){return!!(1&t)||!(2&t)&&e}function Cl(e,t,r,n){var i=pl(n,_l([Qo(e)],[t])),a=El(Yo(e.target||e),i),o=ts(e);return V&&4&o&&!zl(Ce,a)?rd(a):V&&8&o&&r?up(a,524288):a}function Tl(e,t){var r=xi(64|e.objectFlags,e.symbol);if(32&e.objectFlags){r.declaration=e.declaration;var n=Qo(e),i=yl(n);r.typeParameter=i,t=pl(ll(n,i),t),i.mapper=t}return r.target=e,r.mapper=t,r.aliasSymbol=e.aliasSymbol,r.aliasTypeArguments=cl(e.aliasTypeArguments,t),r}function kl(t,r){var n=t.root;if(n.outerTypeParameters){var i=e.map(n.outerTypeParameters,r),a=fc(i),o=n.instantiations.get(a);if(!o)o=function(e,t){if(e.isDistributive){var r=e.checkType,n=t(r);if(r!==n&&1179648&n.flags)return Np(n,(function(n){return Lu(e,fl(r,n,t))}))}return Lu(e,t)}(n,_l(n.outerTypeParameters,i)),n.instantiations.set(a,o);return o}return t}function El(t,r){if(!t||!r||r===B)return t;if(50===D||x>=5e6)return Zr(_,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),xe;x++,D++;var n=function(e,t){var r=e.flags;if(262144&r)return t(e);if(524288&r){var n=e.objectFlags;if(16&n)return Ad(e)?bl(e,t):e;if(32&n)return bl(e,t);if(4&n){if(e.node)return bl(e,t);var i=e.resolvedTypeArguments,a=cl(i,t);return a!==i?mc(e.target,a):e}return e}if(1048576&r&&!(131068&r)){var o=e.types;return(s=cl(o,t))!==o?au(s,1,e.aliasSymbol,cl(e.aliasTypeArguments,t)):e}if(2097152&r){var s;o=e.types;return(s=cl(o,t))!==o?du(s,e.aliasSymbol,cl(e.aliasTypeArguments,t)):e}if(4194304&r)return vu(El(e.type,t));if(8388608&r)return Pu(El(e.objectType,t),El(e.indexType,t));if(16777216&r)return kl(e,pl(e.mapper,t));if(33554432&r){var c=El(e.typeVariable,t);if(8650752&c.flags)return kc(c,El(e.substitute,t));var u=El(e.substitute,t);return 3&u.flags||zl(Al(c),Al(u))?c:u}return e}(t,r);return D--,n}function Nl(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=El(e,gl))}function Al(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=El(e,ml),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function Fl(e,t){return e&&uc(El(e.type,t),e.isReadonly,e.declaration)}function Pl(t){switch(e.Debug.assert(161!==t.kind||e.isObjectLiteralMethod(t)),t.kind){case 201:case 202:case 161:case 244:return wl(t);case 193:return e.some(t.properties,Pl);case 192:return e.some(t.elements,Pl);case 210:return Pl(t.whenTrue)||Pl(t.whenFalse);case 209:return(56===t.operatorToken.kind||60===t.operatorToken.kind)&&(Pl(t.left)||Pl(t.right));case 281:return Pl(t.initializer);case 200:return Pl(t.expression);case 274:return e.some(t.properties,Pl)||e.isJsxOpeningElement(t.parent)&&e.some(t.parent.parent.children,Pl);case 273:var r=t.initializer;return!!r&&Pl(r);case 276:var n=t.expression;return!!n&&Pl(n)}return!1}function wl(t){return(!e.isFunctionDeclaration(t)||e.isInJSFile(t)&&!!pa(t))&&(Il(t)||function(t){return!e.getEffectiveReturnTypeNode(t)&&!!t.body&&223!==t.body.kind&&Pl(t.body)}(t))}function Il(t){if(!t.typeParameters){if(e.some(t.parameters,(function(t){return!e.getEffectiveTypeAnnotationNode(t)})))return!0;if(202!==t.kind){var r=e.firstOrUndefined(t.parameters);if(!r||!e.parameterIsThisKeyword(r))return!0}}return!1}function Ol(t){return(e.isInJSFile(t)&&e.isFunctionDeclaration(t)||zf(t)||e.isObjectLiteralMethod(t))&&wl(t)}function Ml(t){if(524288&t.flags){var r=as(t);if(r.constructSignatures.length||r.callSignatures.length){var n=xi(16,t.symbol);return n.members=r.members,n.properties=r.properties,n.callSignatures=e.emptyArray,n.constructSignatures=e.emptyArray,n}}else if(2097152&t.flags)return du(e.map(t.types,Ml));return t}function Ll(e,t){return u_(e,t,Gr)}function Rl(e,t){return u_(e,t,Gr)?-1:0}function Bl(e,t){return u_(e,t,Wr)?-1:0}function jl(e,t){return u_(e,t,Vr)?-1:0}function Jl(e,t){return u_(e,t,Vr)}function zl(e,t){return u_(e,t,Wr)}function Ul(t,r){return 1048576&t.flags?e.every(t.types,(function(e){return Ul(e,r)})):1048576&r.flags?e.some(r.types,(function(e){return Ul(t,e)})):58982400&t.flags?Ul(ms(t)||Se,r):r===ut?!!(67633152&t.flags):r===lt?!!(524288&t.flags)&&sp(t):Ua(t,za(r))}function Kl(e,t){return u_(e,t,Hr)}function Vl(e,t){return Kl(e,t)||Kl(t,e)}function ql(e,t,r,n,i,a){return d_(e,t,Wr,r,n,i,a)}function Wl(e,t,r,n,i,a){return Hl(e,t,Wr,r,n,i,a,void 0)}function Hl(e,t,r,n,i,a,o,s){return!!u_(e,t,r)||(!n||!Ql(i,e,t,r,a,o,s))&&d_(e,t,r,n,a,o,s)}function Gl(t){return!!(16777216&t.flags||2097152&t.flags&&e.some(t.types,Gl))}function Ql(t,r,n,i,a,o,s){if(!t||Gl(n))return!1;if(!d_(r,n,i,void 0)&&function(t,r,n,i,a,o,s){for(var c=As(r,0),u=As(r,1),l=0,_=[u,c];l<_.length;l++){var d=_[l];if(e.some(d,(function(e){var t=Xs(e);return!(131073&t.flags)&&d_(t,n,i,void 0)}))){var p=s||{};ql(r,n,t,a,o,p);var f=p.errors[p.errors.length-1];return e.addRelatedInfo(f,e.createDiagnosticForNode(t,d===u?e.Diagnostics.Did_you_mean_to_use_new_with_this_expression:e.Diagnostics.Did_you_mean_to_call_this_expression)),!0}}return!1}(t,r,n,i,a,o,s))return!0;switch(t.kind){case 276:case 200:return Ql(t.expression,r,n,i,a,o,s);case 209:switch(t.operatorToken.kind){case 62:case 27:return Ql(t.right,r,n,i,a,o,s)}break;case 193:return function(t,r,n,i,a,o){return!(131068&n.flags)&&Yl(function(t){var r,n,i,a;return u(this,(function(o){switch(o.label){case 0:if(!e.length(t.properties))return[2];r=0,n=t.properties,o.label=1;case 1:if(!(r1,v=kp(g,B_),h=kp(g,(function(e){return!B_(e)}));if(y){if(v!==je){var b=Yc(ag(_,0)),x=function(t,r){var n,i,a,o,s;return u(this,(function(c){switch(c.label){case 0:if(!e.length(t.children))return[2];n=0,i=0,c.label=1;case 1:return il:ry(t)>l))return 0;t.typeParameters&&t.typeParameters!==r.typeParameters&&(t=lm(t,r=ic(r),void 0,s));var _=ty(t),d=ay(t),p=ay(r);if((d||p)&&El(d||p,c),d&&p&&_!==l)return 0;var f=r.declaration?r.declaration.kind:0,g=!(3&n)&&q&&161!==f&&160!==f&&162!==f,m=-1,y=Gs(t);if(y&&y!==Be){var v=Gs(r);if(v){if(!(D=!g&&s(y,v,!1)||s(v,y,i)))return i&&a(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;m&=D}}for(var h=d||p?Math.min(_,l):Math.max(_,l),b=d||p?h-1:-1,x=0;x=ry(t)&&x0||Ub(c));if(f&&!function(e,t,r){for(var n=0,i=us(e);n0&&L(Xs(m[0]),u,!1)||y.length>0&&L(Xs(y[0]),u,!1)?I(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,zi(c),zi(u)):I(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,zi(c),zi(u))}return 0}var v=0,h=F();if(1048576&c.flags)v=n===Hr?j(c,u,a&&!(131068&c.flags),s):function(e,t,r){for(var n=-1,i=e.types,a=0,o=i;a0;if(D&&b--,524288&c.flags&&524288&u.flags){var S=l;M(c,u,a),l!==S&&(D=!!l)}if(524288&c.flags&&131068&u.flags)!function(t,r){var n=Ki(t.symbol)?zi(t,t.symbol.valueDeclaration):zi(t),i=Ki(r.symbol)?zi(r,r.symbol.valueDeclaration):zi(r);(gt===t&&Ae===r||mt===t&&Fe===r||yt===t&&Le===r||Jc(!1)===t&&Re===r)&&I(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,i,n)}(c,u);else if(c.symbol&&524288&c.flags&&ut===c)I(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(d&&2097152&u.flags){var C=u.types,T=sg(E.IntrinsicAttributes,i),k=sg(E.IntrinsicClassAttributes,i);if(T!==xe&&k!==xe&&(e.contains(C,T)||e.contains(C,k)))return v}if(!o&&D)return g=[c,u],v;O(o,c,u)}return v}function R(e,t){for(var r=-1,n=0,i=e.types;n25)return 0}for(var c=new Array(n.length),u=e.createUnderscoreEscapedMap(),l=0;l5?I(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,zi(t),zi(r),e.map(m.slice(0,4),(function(e){return ji(e)})).join(", "),m.length-4):I(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,zi(t),zi(r),e.map(m,(function(e){return ji(e)})).join(", ")),c&&l&&b++)}function Q(t,r,i,a,o){if(n===Gr)return function(e,t,r){if(!(524288&e.flags&&524288&t.flags))return 0;var n=q(os(e),r),i=q(os(t),r);if(n.length!==i.length)return 0;for(var a=-1,o=0,s=n;o0||As(t,n=1).length>0)return e.find(r.types,(function(e){return As(e,n).length>0}))}(t,r)||function(t,r){for(var n,i=0,a=0,o=r.types;a=i&&(n=s,i=u)}else J_(c)&&1>=i&&(n=s,i=1)}return n}(t,r)}function f_(e,t,r,n){for(var i=e.types.map((function(e){})),a=0,o=t;a0&&e.every(r.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&t.flags)&&e.every(t.types,g_)}function m_(t,r,n){var i=mc(t,e.map(t.typeParameters,(function(e){return e===r?n:e})));return i.objectFlags|=8192,i}function y_(e){var t=dn(e);return v_(t.typeParameters,t,(function(r,n,i){var a=Dc(e,cl(t.typeParameters,ll(n,i)));return a.aliasTypeArgumentsContainsMarker=!0,a}))}function v_(t,r,n){void 0===t&&(t=e.emptyArray);var i=r.variances;if(!i){r.variances=e.emptyArray,i=[];for(var a=function(e){var t=!1,a=!1,o=Yt;Yt=function(e){return e?a=!0:t=!0};var s=n(r,e,nt),c=n(r,e,it),u=(zl(c,s)?1:0)|(zl(s,c)?2:0);3===u&&zl(n(r,e,Zt),s)&&(u=4),Yt=o,(t||a)&&(t&&(u|=8),a&&(u|=16)),i.push(u)},o=0,s=t;o":n+="-"+o.id}return n}function S_(e,t,r,n){if(n===Gr&&e.id>t.id){var i=e;e=t,t=i}var a=r?":"+r:"";if(x_(e)&&x_(t)){var o=[];return D_(e,o)+","+D_(t,o)+a}return e.id+","+t.id+a}function C_(t,r){if(!(6&e.getCheckFlags(t)))return r(t);for(var n=0,i=t.containingType.types;n=5&&524288&e.flags&&!Kd(e)){var n=e.symbol;if(n)for(var i=0,a=0;a=5)return!0}}if(r>=5&&8388608&e.flags){var o=E_(e);for(i=0,a=0;a=5)return!0}}return!1}function E_(e){for(var t=e;8388608&t.flags;)t=t.objectType;return t}function N_(t,r,n){if(t===r)return-1;var i=24&e.getDeclarationModifierFlagsFromSymbol(t);if(i!==(24&e.getDeclarationModifierFlagsFromSymbol(r)))return 0;if(i){if(rb(t)!==rb(r))return 0}else if((16777216&t.flags)!=(16777216&r.flags))return 0;return Ty(t)!==Ty(r)?0:n(ja(t),ja(r))}function A_(t,r,n,i,a,o){if(t===r)return-1;if(!function(e,t,r){var n=ty(e),i=ty(t),a=ry(e),o=ry(t),s=ny(e),c=ny(t);return n===i&&a===o&&s===c||!!(r&&a<=o)}(t,r,n))return 0;if(e.length(t.typeParameters)!==e.length(r.typeParameters))return 0;if(r.typeParameters){for(var s=_l(t.typeParameters,r.typeParameters),c=0;c-1&&(yn(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);return void en(G,t,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}a=t.dotDotDotToken?G?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:G?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 191:if(a=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!G)return;break;case 300:return void Zr(t,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);case 244:case 161:case 160:case 163:case 164:case 201:case 202:if(G&&!t.name)return void Zr(t,1===n?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,i);a=G?1===n?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 186:return void(G&&Zr(t,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:a=G?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}en(G,t,a,e.declarationNameToString(e.getNameOfDeclaration(t)),i)}}function hd(t,n,i){r&&G&&524288&e.getObjectFlags(n)&&(function t(r){var n=!1;if(524288&e.getObjectFlags(r)){if(1048576&r.flags)if(e.some(r.types,i_))n=!0;else for(var i=0,a=r.types;ie.target.minLength||!G_(t)&&(!!G_(e)||Q_(t)0)for(var D=0,S=r;D1){var r=e.filter(t,Kd);if(r.length){var n=au(r,2);return e.concatenate(e.filter(t,(function(e){return!Kd(e)})),[n])}}return t}(t.candidates),o=(n=t.typeParameter,!!(i=_s(n))&&Fy(16777216&i.flags?ps(i):i,4325372)),s=!o&&t.topLevel&&(t.isFixed||!Fd(Xs(r),t.typeParameter)),c=o?e.sameMap(a,tl):s?e.sameMap(a,K_):a;return md(104&t.priority?au(c,2):function(t){if(!V)return F_(t);var r=e.filter(t,(function(e){return!(98304&e.flags)}));return r.length?td(F_(r),98304&Y_(t)):au(t,2)}(c))}function Wd(t,r){var n=t.inferences[r];if(!n.inferredType){var i=void 0,a=t.signature;if(a){var o=n.candidates?qd(n,a):void 0;if(n.contraCandidates){var s=Vd(n);i=!o||131072&o.flags||!Jl(o,s)?s:o}else if(o)i=o;else if(1&t.flags)i=Je;else{var c=xs(n.typeParameter);c&&(i=El(c,pl(function(t,r){return function(n){return e.findIndex(t.inferences,(function(e){return e.typeParameter===n}))>=r?Se:n}}(t,r),t.nonFixingMapper)))}}else i=Ld(n);n.inferredType=i||Hd(!!(2&t.flags));var u=_s(n.typeParameter);if(u){var l=El(u,t.nonFixingMapper);i&&t.compareTypes(i,Fo(l,i))||(n.inferredType=i=l)}}return n.inferredType}function Hd(e){return e?ve:Se}function Gd(e){for(var t=[],r=0;r=0&&n.parameterIndex=n&&c-1){var l=a.filter((function(e){return void 0!==e})),_=c=2||0==(34&r.flags)||e.isSourceFile(r.valueDeclaration)||280===r.valueDeclaration.parent.kind)return;var n=e.getEnclosingBlockScopeContainer(r.valueDeclaration),i=function(t,r){return!!e.findAncestor(t,(function(t){return t===r?"quit":e.isFunctionLike(t)}))}(t.parent,n),a=n,o=!1;for(;a&&!e.nodeStartsNewLexicalEnvironment(a);){if(e.isIterationStatement(a,!1)){o=!0;break}a=a.parent}if(o){if(i){var s=!0;if(e.isForStatement(n))if((_=e.getAncestor(r.valueDeclaration,243))&&_.parent===n){var c=function(t,r){return e.findAncestor(t,(function(e){return e===r?"quit":e===r.initializer||e===r.condition||e===r.incrementor||e===r.statement}))}(t.parent,n);if(c){var u=pn(c);u.flags|=131072;var l=u.capturedBlockScopeBindings||(u.capturedBlockScopeBindings=[]);e.pushIfUnique(l,r),c===n.initializer&&(s=!1)}}s&&(pn(a).flags|=65536)}var _;if(e.isForStatement(n))(_=e.getAncestor(r.valueDeclaration,243))&&_.parent===n&&function(t,r){var n=t;for(;200===n.parent.kind;)n=n.parent;var i=!1;if(e.isAssignmentTarget(n))i=!0;else if(207===n.parent.kind||208===n.parent.kind){var a=n.parent;i=45===a.operator||46===a.operator}if(!i)return!1;return!!e.findAncestor(n,(function(e){return e===r?"quit":e===r.statement}))}(t,n)&&(pn(r.valueDeclaration).flags|=4194304);pn(r.valueDeclaration).flags|=524288}i&&(pn(r.valueDeclaration).flags|=262144)}(t,r);var o=rf(ja(i),t),s=e.getAssignmentTargetKind(t);if(s){if(!(3&i.flags||e.isInJSFile(t)&&512&i.flags))return Zr(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,ji(r)),xe;if(Ty(i))return 3&i.flags?Zr(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,ji(r)):Zr(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,ji(r)),xe}var c=2097152&i.flags;if(3&i.flags){if(1===s)return o}else{if(!c)return o;a=e.find(r.declarations,O)}if(!a)return o;for(var u=156===e.getRootDeclaration(a).kind,l=Xp(a),_=Xp(t),d=_!==l,p=t.parent&&t.parent.parent&&e.isSpreadAssignment(t.parent)&&fp(t.parent.parent),f=134217728&r.flags;_!==l&&(201===_.kind||202===_.kind||e.isObjectLiteralOrClassExpressionMethod(_))&&($p(i)||u&&!Yp(i));)_=Xp(_);var g=u||c||d||p||f||e.isBindingElement(a)||o!==he&&o!==xt&&(!V||0!=(16387&o.flags)||Yd(t)||263===t.parent.kind)||218===t.parent.kind||242===a.kind&&a.exclamationToken||8388608&a.flags,m=Qp(t,o,g?u?function(e,t){return V&&156===t.kind&&t.initializer&&32768&Z_(e)&&!(32768&Z_(sv(t.initializer)))?up(e,524288):e}(o,a):o:o===he||o===xt?Ce:rd(o),_,!g);if(Jp(t)||o!==he&&o!==xt){if(!g&&!(32768&Z_(o))&&32768&Z_(m))return Zr(t,e.Diagnostics.Variable_0_is_used_before_being_assigned,ji(r)),o}else if(m===he||m===xt)return G&&(Zr(e.getNameOfDeclaration(a),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,ji(r),zi(m)),Zr(t,e.Diagnostics.Variable_0_implicitly_has_an_1_type,ji(r),zi(m))),sh(m);return s?U_(m):m}function of(e,t){(pn(e).flags|=2,159===t.kind||162===t.kind)?pn(t.parent).flags|=4:pn(t).flags|=4}function sf(t){return e.isSuperCall(t)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,sf)}function cf(e){var t=pn(e);return void 0===t.hasSuperCall&&(t.superCall=sf(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function uf(e){return Za(uo(li(e)))===Ne}function lf(t,r,n){var i=r.parent;if(e.getClassExtendsHeritageElement(i)&&!uf(i)){var a=cf(r);(!a||a.end>t.pos)&&Zr(t,n)}}function _f(t){var r=e.getThisContainer(t,!0),n=!1;switch(162===r.kind&&lf(t,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),202===r.kind&&(r=e.getThisContainer(r,!1),n=!0),r.kind){case 249:Zr(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 248:Zr(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 162:pf(t,r)&&Zr(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 159:case 158:e.hasModifier(r,32)&&Zr(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 154:Zr(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}n&&z<2&&of(t,r);var i=df(t,!0,r);if(Q){var a=ja(re);if(i===a&&n)Zr(t,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!i){var o=Zr(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(r)){var s=df(r);s&&s!==a&&e.addRelatedInfo(o,e.createDiagnosticForNode(r,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return i||ve}function df(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=e.getThisContainer(t,!1));var i=e.isInJSFile(t);if(e.isFunctionLike(n)&&(!bf(t)||e.getThisParameter(n))){var a=function(t){if(201===t.kind&&e.isBinaryExpression(t.parent)&&3===e.getAssignmentDeclarationKind(t.parent))return t.parent.left.expression.expression;if(161===t.kind&&193===t.parent.kind&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent))return t.parent.parent.left.expression;if(201===t.kind&&281===t.parent.kind&&193===t.parent.parent.kind&&e.isBinaryExpression(t.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent.parent))return t.parent.parent.parent.left.expression;if(201===t.kind&&e.isPropertyAssignment(t.parent)&&e.isIdentifier(t.parent.name)&&("value"===t.parent.name.escapedText||"get"===t.parent.name.escapedText||"set"===t.parent.name.escapedText)&&e.isObjectLiteralExpression(t.parent.parent)&&e.isCallExpression(t.parent.parent.parent)&&t.parent.parent.parent.arguments[2]===t.parent.parent&&9===e.getAssignmentDeclarationKind(t.parent.parent.parent))return t.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(t)&&e.isIdentifier(t.name)&&("value"===t.name.escapedText||"get"===t.name.escapedText||"set"===t.name.escapedText)&&e.isObjectLiteralExpression(t.parent)&&e.isCallExpression(t.parent.parent)&&t.parent.parent.arguments[2]===t.parent&&9===e.getAssignmentDeclarationKind(t.parent.parent))return t.parent.parent.arguments[0].expression}(n);if(i&&a){var o=sv(a).symbol;if(o&&o.members&&16&o.flags)return Qp(t,uo(o).thisType)}else if(i&&(201===n.kind||244===n.kind)&&e.getJSDocClassTag(n)){return Qp(t,uo(ui(n.symbol)).thisType)}var s=wa(n)||yf(n);if(s)return Qp(t,s)}if(e.isClassLike(n.parent)){var c,u=li(n.parent);return Qp(t,c=e.hasModifier(n,32)?ja(u):uo(u).thisType)}if(i&&((c=function(t){var r=e.getJSDocType(t);if(r&&300===r.kind){var n=r;if(n.parameters.length>0&&n.parameters[0].name&&"this"===n.parameters[0].name.escapedText)return ol(n.parameters[0].type)}var i=e.getJSDocThisTag(t);if(i&&i.typeExpression)return ol(i.typeExpression)}(n))&&c!==xe))return Qp(t,c);if(e.isSourceFile(n)){if(n.commonJsModuleIndicator){var l=li(n);return l&&ja(l)}if(r)return ja(re)}}function pf(t,r){return!!e.findAncestor(t,(function(t){return e.isFunctionLikeDeclaration(t)?"quit":156===t.kind&&t.parent===r}))}function ff(t){var r=196===t.parent.kind&&t.parent.expression===t,n=e.getSuperContainer(t,!0),i=!1;if(!r)for(;n&&202===n.kind;)n=e.getSuperContainer(n,!0),i=z<2;var a=0;if(!function(t){if(!t)return!1;if(r)return 162===t.kind;if(e.isClassLike(t.parent)||193===t.parent.kind)return e.hasModifier(t,32)?161===t.kind||160===t.kind||163===t.kind||164===t.kind:161===t.kind||160===t.kind||163===t.kind||164===t.kind||159===t.kind||158===t.kind||162===t.kind;return!1}(n)){var o=e.findAncestor(t,(function(e){return e===n?"quit":154===e.kind}));return o&&154===o.kind?Zr(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?Zr(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):n&&n.parent&&(e.isClassLike(n.parent)||193===n.parent.kind)?Zr(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Zr(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),xe}if(r||162!==n.kind||lf(t,n,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),a=e.hasModifier(n,32)||r?512:256,pn(t).flags|=a,161===n.kind&&e.hasModifier(n,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?pn(n).flags|=4096:pn(n).flags|=2048),i&&of(t.parent,n),193===n.parent.kind)return z<2?(Zr(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),xe):ve;var s=n.parent;if(!e.getClassExtendsHeritageElement(s))return Zr(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),xe;var c=uo(li(s)),u=c&&$a(c)[0];return u?162===n.kind&&pf(t,n)?(Zr(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),xe):512===a?Za(c):Fo(u,c.thisType):xe}function gf(t){return 4&e.getObjectFlags(t)&&t.target===ht?hc(t)[0]:void 0}function mf(t){return Np(t,(function(t){return 2097152&t.flags?e.forEach(t.types,gf):gf(t)}))}function yf(t){if(202!==t.kind){if(Ol(t)){var r=Kf(t);if(r){var n=r.thisParameter;if(n)return ja(n)}}var i=e.isInJSFile(t);if(Q||i){var a=function(e){return 161!==e.kind&&163!==e.kind&&164!==e.kind||193!==e.parent.kind?201===e.kind&&281===e.parent.kind?e.parent.parent:void 0:e.parent}(t);if(a){for(var o=If(a),s=a,c=o;c;){var u=mf(c);if(u)return El(u,Nd(Rf(a)));if(281!==s.parent.kind)break;c=If(s=s.parent.parent)}return md(o?nd(o):Ky(a))}var l=e.walkUpParenthesizedExpressions(t.parent);if(209===l.kind&&62===l.operatorToken.kind){var _=l.left;if(e.isAccessExpression(_)){var d=_.expression;if(i&&e.isIdentifier(d)){var p=e.getSourceFileOfNode(l);if(p.commonJsModuleIndicator&&Xd(d)===p.symbol)return}return md(Ky(d))}}}}}function vf(t){var r=t.parent;if(Ol(r)){var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=hm(n),a=r.parameters.indexOf(t);if(t.dotDotDotToken)return pm(i,a,i.length,ve,void 0);var o=pn(n),s=o.resolvedSignature;o.resolvedSignature=er;var c=a=0)return s}return Xf(r)&&Ef(t,1)||Ef(t,0)}}),!0)}function Ef(e,t){return Np(e,(function(e){return Ps(e,t)}),!0)}function Nf(e,t){var r=If(e.parent,t);if(r){if(!Co(e)){var n=kf(r,li(e).escapedName);if(n)return n}return Gf(e.name)&&Ef(r,1)||Ef(r,0)}}function Af(e,t){return e&&(kf(e,""+t)||xh(1,e,Ce,void 0,!1))}function Ff(t){var r=t.parent;return e.isJsxAttributeLike(r)?Lf(t):e.isJsxElement(r)?function(e,t){var r=If(e.openingElement.tagName),n=_g(ug(e));if(r&&!aa(r)&&n&&""!==n){var i=$l(e.children),a=i.indexOf(t),o=kf(r,n);return o&&(1===i.length?o:Np(o,(function(e){return M_(e)?Pu(e,nl(a)):e}),!0))}}(r,t):void 0}function Pf(t){if(e.isJsxAttribute(t)){var r=If(t.parent);if(!r||aa(r))return;return kf(r,t.name.escapedText)}return Lf(t.parent)}function wf(e){switch(e.kind){case 10:case 8:case 9:case 14:case 106:case 91:case 100:case 75:case 146:return!0;case 194:case 200:return wf(e.expression);case 276:return!e.expression||wf(e.expression)}return!1}function If(t,r){var n=Of(e.isObjectLiteralMethod(t)?function(t,r){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!(16777216&t.flags))return Nf(t,r)}(t,r):Lf(t,r),t,r);if(n&&!(r&&2&r&&8650752&n.flags)){var i=Np(n,Ss,!0);if(1048576&i.flags){if(e.isObjectLiteralExpression(t))return function(t,r){return f_(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&281===e.kind&&wf(e.initializer)&&rp(r,e.symbol.escapedName)})),(function(e){return[function(){return sv(e.initializer)},e.symbol.escapedName]})),zl,r)}(t,i);if(e.isJsxAttributes(t))return function(t,r){return f_(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&273===e.kind&&rp(r,e.symbol.escapedName)&&(!e.initializer||wf(e.initializer))})),(function(e){return[e.initializer?function(){return sv(e.initializer)}:function(){return Oe},e.symbol.escapedName]})),zl,r)}(t,i)}return i}}function Of(t,r,n){if(t&&Fy(t,63176704)){var i=Rf(r);if(i&&e.some(i.inferences,ev)){if(n&&1&n)return Mf(t,i.nonFixingMapper);if(i.returnMapper)return Mf(t,i.returnMapper)}}return t}function Mf(t,r){return 63176704&t.flags?El(t,r):1048576&t.flags?au(e.map(t.types,(function(e){return Mf(e,r)})),0):2097152&t.flags?du(e.map(t.types,(function(e){return Mf(e,r)}))):t}function Lf(t,r){if(!(16777216&t.flags)){if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 242:case 156:case 159:case 158:case 191:return function(t){var r=t.parent;if(e.hasInitializer(r)&&t===r.initializer){var n=hf(r);if(n)return n;if(e.isBindingPattern(r.name))return Ca(r.name,!0,!1)}}(t);case 202:case 235:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r);if(1&n)return;var i=Df(r);if(i){if(2&n){var a=Nv(i);return a&&au([a,_y(a)])}return i}}}(t);case 212:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r),i=Df(r);if(i)return t.asteriskToken?i:Kh(0,i,0!=(2&n))}}(n);case 206:return function(e){var t=Lf(e);if(t){var r=Pv(t);return r&&au([r,_y(r)])}}(n);case 196:if(96===n.expression.kind)return Ae;case 197:return Sf(n,t);case 199:case 217:return e.isConstTypeReference(n.type)?void 0:ol(n.type);case 209:return Tf(t,r);case 281:case 282:return Nf(n,r);case 283:return If(n.parent,r);case 192:var i=n;return Af(If(i,r),e.indexOfNode(i.elements,t));case 210:return function(e,t){var r=e.parent;return e===r.whenTrue||e===r.whenFalse?Lf(r,t):void 0}(t,r);case 221:return e.Debug.assert(211===n.parent.kind),function(e,t){if(198===e.parent.kind)return Sf(e.parent,t)}(n.parent,t);case 200:var a=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;return a?ol(a.typeExpression.type):Lf(n,r);case 276:return Ff(n);case 273:case 275:return Pf(n);case 268:case 267:return function(t,r){if(e.isJsxOpeningElement(t)&&t.parent.contextualType&&4!==r)return t.parent.contextualType;return Cf(t,0)}(n,r)}}}function Rf(t){var r=e.findAncestor(t,(function(e){return!!e.inferenceContext}));return r&&r.inferenceContext}function Bf(t,r){return 0!==gm(r)?function(e,t){var r=sy(e,Se);r=jf(t,ug(t),r);var n=sg(E.IntrinsicAttributes,t);n!==xe&&(r=zo(n,r));return r}(t,r):function(t,r){var n=ug(r),i=(o=n,lg(E.ElementAttributesPropertyNameContainer,o)),a=void 0===i?sy(t,Se):""===i?Xs(t):function(e,t){if(e.unionSignatures){for(var r=[],n=0,i=e.unionSignatures;n=2)return mc(o,c=Ks([s,n],o.typeParameters,2,e.isInJSFile(t)));if(e.length(o.aliasTypeArguments)>=2){var c=Ks([s,n],o.aliasTypeArguments,2,e.isInJSFile(t));return Dc(o.aliasSymbol,c)}}return n}function Jf(t,r){var n=As(t,0);if(1===n.length){var i=n[0];if(!function(t,r){for(var n=0;n0&&213===i[a-1].kind,y=a-(m?1:0),v=void 0;if(c&&y>0)return(g=yc(Yc(s,y,m))).pattern=t,g;if(v=Hf(s,u,m,a,l))return Wf(v);if(n)return Wf(Yc(s,y,m))}return Wf(Hc(s.length?au(s,2):V?Ue:Te,l))}function Wf(t){if(!(4&e.getObjectFlags(t)))return t;var r=t.literalType;return r||((r=t.literalType=yc(t)).objectFlags|=1114112),r}function Hf(e,t,r,n,i){if(void 0===n&&(n=e.length),void 0===i&&(i=!1),i||t&&Cp(t,R_))return Yc(e,n-(r?1:0),r,i)}function Gf(e){switch(e.kind){case 154:return function(e){return Py(Yf(e),296)}(e);case 75:return Xf(e.escapedText);case 8:case 10:return Xf(e.text);default:return!1}}function Qf(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function Xf(e){return(+e).toString()===e}function Yf(t){var r=pn(t.expression);return r.resolvedType||(r.resolvedType=sv(t.expression),98304&r.resolvedType.flags||!Py(r.resolvedType,12716)&&!zl(r.resolvedType,qe)?Zr(t,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Zg(t.expression,r.resolvedType,!0)),r.resolvedType}function Zf(e,t,r,n){for(var i=[],a=0;a0&&(o=Qu(o,F(),t.symbol,f,u),a=[],n=e.createSymbolTable(),m=!1,y=!1),!tg(S=sv(b.expression)))return Zr(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),xe;o=Qu(o,S,t.symbol,f,u),v=h+1;continue}e.Debug.assert(163===b.kind||164===b.kind),Db(b)}!D||8576&D.flags?n.set(x.escapedName,x):zl(D,qe)&&(zl(D,Fe)?y=!0:m=!0,i&&(g=!0)),a.push(x)}if(c)for(var N=0,A=us(s);N0&&(o=Qu(o,F(),t.symbol,f,u),a=[],n=e.createSymbolTable(),m=!1,y=!1),Np(o,(function(e){return e===Ge?F():e}))):F();function F(){var r=m?Zf(t,v,a,0):void 0,o=y?Zf(t,v,a,1):void 0,s=ki(t.symbol,n,e.emptyArray,e.emptyArray,r,o);return s.objectFlags|=1048704|f,p&&(s.objectFlags|=16384),g&&(s.objectFlags|=512),i&&(s.pattern=t),s}}function tg(t){if(63176704&t.flags){var r=ms(t);if(void 0!==r)return tg(r)}return!!(126615553&t.flags||117632&Z_(t)&&tg($_(t))||3145728&t.flags&&e.every(t.types,tg))}function rg(t){return!e.stringContains(t,"-")}function ng(t){return 75===t.kind&&e.isIntrinsicJsxName(t.escapedText)}function ig(e,t){return e.initializer?Qy(e.initializer,t):Oe}function ag(e,t){for(var r=[],n=0,i=e.children;n0&&(o=Qu(o,S(),i.symbol,u,!1),a=e.createSymbolTable()),aa(g=Ky(p.expression,r))&&(s=!0),tg(g)?o=Qu(o,g,i.symbol,u,!1):n=n?du([n,g]):g}}s||a.size>0&&(o=Qu(o,S(),i.symbol,u,!1));var y=266===t.parent.kind?t.parent:void 0;if(y&&y.openingElement===t&&y.children.length>0){var v=ag(y,r);if(!s&&l&&""!==l){c&&Zr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(l));var h=If(t.attributes),b=h&&kf(h,l),x=rn(33554436,l);x.type=1===v.length?v[0]:Hf(v,b,!1)||Hc(au(v)),x.valueDeclaration=e.createPropertySignature(void 0,e.unescapeLeadingUnderscores(l),void 0,void 0,void 0),x.valueDeclaration.parent=i,x.valueDeclaration.symbol=x;var D=e.createSymbolTable();D.set(l,x),o=Qu(o,ki(i.symbol,D,e.emptyArray,e.emptyArray,void 0,void 0),i.symbol,u,!1)}}return s?ve:n&&o!==Qe?du([n,o]):n||(o===Qe?S():o);function S(){u|=Y;var t=ki(i.symbol,a,e.emptyArray,e.emptyArray,void 0,void 0);return t.objectFlags|=1048704|u,t}}(t.parent,r)}function sg(e,t){var r=ug(t),n=r&&ai(r),i=n&&gn(n,e,788968);return i?uo(i):xe}function cg(t){var r=pn(t);if(!r.resolvedSymbol){var n=sg(E.IntrinsicElements,t);if(n!==xe){if(!e.isIdentifier(t.tagName))return e.Debug.fail();var i=Es(n,t.tagName.escapedText);return i?(r.jsxFlags|=1,r.resolvedSymbol=i):Is(n,0)?(r.jsxFlags|=2,r.resolvedSymbol=n.symbol):(Zr(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(t.tagName),"JSX."+E.IntrinsicElements),r.resolvedSymbol=me)}return G&&Zr(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(E.IntrinsicElements)),r.resolvedSymbol=me}return r.resolvedSymbol}function ug(e){var t=e&&pn(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){var r=Yr(e),n=yn(e,r,1920,void 0,r,!1);if(n){var i=jn(gn(ai(jn(n)),E.JSX,1920));if(i)return t&&(t.jsxNamespace=i),i;t&&(t.jsxNamespace=!1)}}return Rc(E.JSX,1920,void 0)}function lg(t,r){var n=r&&gn(r.exports,t,788968),i=n&&uo(n),a=i&&us(i);if(a){if(0===a.length)return"";if(1===a.length)return a[0].escapedName;a.length>1&&Zr(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function _g(e){return lg(E.ElementChildrenAttributeNameContainer,e)}function dg(t,r){var n=sg(E.IntrinsicElements,r);if(n!==xe){var i=t.value,a=Es(n,e.escapeLeadingUnderscores(i));if(a)return ja(a);var o=Is(n,0);return o||void 0}return ve}function pg(t){e.Debug.assert(ng(t.tagName));var r=pn(t);if(!r.resolvedJsxElementAttributesType){var n=cg(t);return 1&r.jsxFlags?r.resolvedJsxElementAttributesType=ja(n):2&r.jsxFlags?r.resolvedJsxElementAttributesType=Is(uo(n),0):r.resolvedJsxElementAttributesType=xe}return r.resolvedJsxElementAttributesType}function fg(e){var t=sg(E.ElementClass,e);if(t!==xe)return t}function gg(e){return sg(E.Element,e)}function mg(e){var t=gg(e);if(t)return au([t,Ee])}function yg(t){var r,n=e.isJsxOpeningLikeElement(t);n&&function(t){Ax(t,t.typeArguments);for(var r=e.createUnderscoreEscapedMap(),n=0,i=t.attributes.properties;n=0)return _>=ry(n)&&(ny(n)||_s)return!1;if(o||a>=c)return!0;for(var d=a;d=i&&r.length<=n}function sm(e){return um(e,0,!1)}function cm(e){return um(e,0,!1)||um(e,1,!1)}function um(e,t,r){if(524288&e.flags){var n=as(e);if(r||0===n.properties.length&&!n.stringIndexInfo&&!n.numberIndexInfo){if(0===t&&1===n.callSignatures.length&&0===n.constructSignatures.length)return n.callSignatures[0];if(1===t&&1===n.constructSignatures.length&&0===n.callSignatures.length)return n.constructSignatures[0]}}}function lm(t,r,n,i){var a=Dd(t.typeParameters,t,0,i),o=iy(r),s=n&&(o&&262144&o.flags?n.nonFixingMapper:n.mapper);return bd(s?vl(r,s):r,t,(function(e,t){jd(a.inferences,e,t)})),n||xd(r,t,(function(e,t){jd(a.inferences,e,t,32)})),ec(t,Gd(a),e.isInJSFile(r.declaration))}function _m(t,r,n,i,a){if(e.isJsxOpeningLikeElement(t))return function(e,t,r,n){var i=Bf(t,e),a=Uy(e.attributes,i,n,r);return jd(n.inferences,a,i),Gd(n)}(t,r,i,a);if(157!==t.kind){var o=Lf(t);if(o){var s=Rf(t),c=El(o,Nd(function(t,r){return void 0===r&&(r=0),t&&Sd(e.map(t.inferences,Ed),t.signature,t.flags|r,t.compareTypes)}(s,1))),u=sm(c),l=u&&u.typeParameters?oc(tc(u,u.typeParameters)):c,_=Xs(r);jd(a.inferences,l,_,32);var d=Dd(r.typeParameters,r,a.flags),p=El(o,s&&s.returnMapper);jd(d.inferences,p,_),a.returnMapper=e.some(d.inferences,ev)?Nd(function(t){var r=e.filter(t.inferences,ev);return r.length?Sd(e.map(r,Ed),t.signature,t.flags,t.compareTypes):void 0}(d)):void 0}}var f=Gs(r);if(f){var g=ym(t),m=g?sv(g):Be;jd(a.inferences,m,f)}for(var y=ay(r),v=y?Math.min(ty(r)-1,n.length):n.length,h=0;h=n-1){var o=t[n-1];if(rm(o))return 220===o.kind?Hc(o.type):dm(Uy(o.expression,i,a,0))}for(var s=[],c=-1,u=r;u0||e.isJsxOpeningElement(t)&&t.parent.children.length>0?[t.attributes]:e.emptyArray;var i=t.arguments||e.emptyArray,a=i.length;if(a&&rm(i[a-1])&&nm(i)===a-1){var o=i[a-1],s=gr?sv(o.expression):Ky(o.expression);if(H_(s)){var c=hc(s),u=s.target.hasRestElement?c.length-1:-1,l=e.map(c,(function(e,t){return vm(o,e,t===u)}));return e.concatenate(i.slice(0,a-1),l)}}return i}function bm(t,r){switch(t.parent.kind){case 245:case 214:return 1;case 159:return 2;case 161:case 163:case 164:return 0===z||r.parameters.length<=2?2:3;case 156:return 3;default:return e.Debug.fail()}}function xm(t,r){var n,i,a=e.getSourceFileOfNode(t);if(e.isPropertyAccessExpression(t.expression)){var o=e.getErrorSpanForNode(a,t.expression.name);n=o.start,i=r?o.length:t.end-n}else{var s=e.getErrorSpanForNode(a,t.expression);n=s.start,i=r?s.length:t.end-n}return{start:n,length:i,sourceFile:a}}function Dm(t,r,n,i,a,o){if(e.isCallExpression(t)){var s=xm(t),c=s.sourceFile,u=s.start,l=s.length;return e.createFileDiagnostic(c,u,l,r,n,i,a,o)}return e.createDiagnosticForNode(t,r,n,i,a,o)}function Sm(t,r,n){for(var i,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,u=n.length,l=0,_=r;l<_.length;l++){var d=_[l],p=ry(d),f=ty(d);ps&&(s=p),u-1;u<=o&&h&&u--;var b=y||h?y&&h?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(i&&ry(i)>u&&i.declaration){var x=i.declaration.parameters[i.thisParameter?u+1:u];x&&(m=e.createDiagnosticForNode(x,e.isBindingPattern(x.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,x.name?e.isBindingPattern(x.name)?void 0:e.idText(e.getFirstIdentifier(x.name)):u))}if(au&&S?n.indexOf(S):Math.min(o,n.length-1)))}}else g=e.createNodeArray(n.slice(o));g.pos=e.first(g).pos,g.end=e.last(g).end,g.end===g.pos&&g.end++;var C=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),g,b,v,u);return m?e.addRelatedInfo(C,m):C}function Cm(t,n,i,a,o,s){var c,u=198===t.kind,l=157===t.kind,_=e.isJsxOpeningLikeElement(t),d=!i;l||(c=t.typeArguments,(u||_||102!==t.expression.kind)&&e.forEach(c,bb));var p=i||[];if(function(t,r,n){var i,a,o,s,c=0,u=-1;e.Debug.assert(!r.length);for(var l=0,_=t;l<_.length;l++){var d=_[l],p=d.declaration&&li(d.declaration),f=d.declaration&&d.declaration.parent;a&&p!==a?(o=c=r.length,i=f):i&&f===i?o+=1:(i=f,o=c),a=p,R(d)?(s=++u,c++):s=o,r.splice(s,0,n?Mo(d,n):d)}}(n,p,o),!p.length)return d&&Jr.add(Dm(t,e.Diagnostics.Call_target_does_not_contain_any_signatures)),tm(t);var f,g,m,y,v=hm(t),h=1===p.length&&!p[0].typeParameters,b=l||h||!e.some(v,Pl)?0:4,x=!!(16&a)&&196===t.kind&&t.arguments.hasTrailingComma;if(p.length>1&&(y=W(p,Vr,x)),y||(y=W(p,Wr,x)),y)return y;if(d)if(f)if(1===f.length||f.length>3){var D,S=f[f.length-1];f.length>3&&(D=e.chainDiagnosticMessages(D,e.Diagnostics.The_last_overload_gave_the_following_error),D=e.chainDiagnosticMessages(D,e.Diagnostics.No_overload_matches_this_call));var C=mm(t,v,S,Wr,0,!0,(function(){return D}));if(C)for(var T=0,k=C;T3&&e.addRelatedInfo(E,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Jr.add(E)}else e.Debug.fail("No error for last overload signature")}else{for(var N=[],A=0,F=Number.MAX_VALUE,P=0,w=0,I=function(r){var n=mm(t,v,r,Wr,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,w+1,p.length,Ji(r))}));n?(n.length<=F&&(F=n.length,P=w),A=Math.max(A,n.length),N.push(n)):e.Debug.fail("No error for 3 or fewer overload signatures"),w++},O=0,M=f;O1?N[P]:e.flatten(N);e.Debug.assert(B.length>0,"No errors reported for 3 or fewer overload signatures");var j=e.chainDiagnosticMessages(e.map(B,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),J=e.flatMap(B,(function(e){return e.relatedInformation}));if(e.every(B,(function(e){return e.start===B[0].start&&e.length===B[0].length&&e.file===B[0].file}))){var z=B[0],U=z.file,K=z.start,V=z.length;Jr.add({file:U,start:K,length:V,code:j.code,category:j.category,messageText:j,relatedInformation:J})}else Jr.add(e.createDiagnosticForNodeFromMessageChain(t,j,J))}else if(g)Jr.add(Sm(t,[g],v));else if(m)fm(m,t.typeArguments,!0,s);else{var q=e.filter(n,(function(e){return om(e,c)}));0===q.length?Jr.add(function(t,r,n){var i=n.length;if(1===r.length){var a=Us((_=r[0]).typeParameters),o=e.length(_.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.Expected_0_type_arguments_but_got_1,ai?c=Math.min(c,d):o0),i||1===r.length||r.some((function(e){return!!e.typeParameters}))?function(t,r,n){var i=function(e,t){for(var r=-1,n=-1,i=0;i=t)return i;o>n&&(n=o,r=i)}return r}(r,void 0===ne?n.length:ne),a=r[i],o=a.typeParameters;if(!o)return a;var s=$g(t)?t.typeArguments:void 0,c=s?rc(a,function(e,t,r){var n=e.map(Lb);for(;n.length>t.length;)n.pop();for(;n.length=0&&Zr(t.arguments[i],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var a=Tg(t.expression);if(a===Je)return nr;if((a=Ss(a))===xe)return tm(t);if(aa(a))return t.typeArguments&&Zr(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),em(t);var o=As(a,1);if(o.length){if(!function(t,r){if(!r||!r.declaration)return!0;var n=r.declaration,i=e.getSelectedModifierFlags(n,24);if(!i||162!==n.kind)return!0;var a=e.getClassLikeDeclarationOfSymbol(n.parent.symbol),o=uo(n.parent.symbol);if(!wb(t,a)){var s=e.getContainingClass(t);if(s&&16&i){var c=Lb(s);if(function t(r,n){var i=$a(n);if(!e.length(i))return!1;var a=i[0];if(2097152&a.flags){for(var o=Vo(a.types),s=0,c=0,u=a.types;c0;if(1048576&t.flags){for(var s=!1,c=0,u=t.types;c0)return e.parameters.length-1+r}}return e.minArgumentCount}function ny(e){if(L(e)){var t=ja(e.parameters[e.parameters.length-1]);return!H_(t)||t.target.hasRestElement}return!1}function iy(e){if(L(e)){var t=ja(e.parameters[e.parameters.length-1]);return H_(t)?function(e){var t=G_(e);return t&&Hc(t)}(t):t}}function ay(e){var t=iy(e);return!t||P_(t)||aa(t)?void 0:t}function oy(e){return sy(e,je)}function sy(e,t){return e.parameters.length>0?Zm(e,0):t}function cy(t,r){(t.typeParameters=r.typeParameters,r.thisParameter)&&((!(a=t.thisParameter)||a.valueDeclaration&&!a.valueDeclaration.type)&&(a||(t.thisParameter=ld(r.thisParameter,void 0)),uy(t.thisParameter,ja(r.thisParameter))));for(var n=t.parameters.length-(L(t)?1:0),i=0;i0&&(n=au(l,2)):u=je;var _=function(t,r){var n=[],i=[],a=0!=(2&e.getFunctionFlags(t));return e.forEachYieldExpression(t.body,(function(t){var o,s=t.expression?sv(t.expression,r):Te;if(e.pushIfUnique(n,gy(t,s,ve,a)),t.asteriskToken){var c=Eh(s,a?19:17,t.expression);o=c&&c.nextType}else o=Lf(t);o&&e.pushIfUnique(i,o)})),{yieldTypes:n,nextTypes:i}}(t,r),d=_.yieldTypes,p=_.nextTypes;i=e.some(d)?au(d,2):void 0,a=e.some(p)?du(p):void 0}else{var f=hy(t,r);if(!f)return 2&o?dy(t,je):je;if(0===f.length)return 2&o?dy(t,Be):Be;n=au(f,2)}if(n||i||a){var g=Uf(t);if(g||(i&&hd(t,i,1),n&&hd(t,n),a&&hd(t,a)),n&&J_(n)||i&&J_(i)||a&&J_(a)){var m=g?g===Vs(t)?c?void 0:n:Of(Xs(g),t):void 0;c?(i=W_(i,m,0,s),n=W_(n,m,1,s),a=W_(a,m,2,s)):n=function(e,t,r){return e&&J_(e)&&(e=q_(e,t?r?Av(t):t:void 0)),e}(n,m,s)}i&&(i=md(i)),n&&(n=md(n)),a&&(a=md(a))}return c?fy(i||je,n||u,a||xf(2,t)||Se,s):s?ly(n||u):n||u}function fy(e,t,r,n){var i=n?lr:_r,a=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||Se,t=i.resolveIterationType(t,void 0)||Se,r=i.resolveIterationType(r,void 0)||Se,a===Ze){var o=i.getGlobalIterableIteratorType(!1),s=o!==Ze?Ph(o,i):void 0,c=s?s.returnType:ve,u=s?s.nextType:Ce;return zl(t,c)&&zl(u,r)?o!==Ze?qc(o,[e]):(i.getGlobalIterableIteratorType(!0),Ge):(i.getGlobalGeneratorType(!0),Ge)}return qc(a,[e,t,r])}function gy(t,r,n,i){var a=t.expression||t,o=t.asteriskToken?bh(i?19:17,r,n,a):r;return i?Pv(o,a,t.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 my(e,t,r,n){var i=0;if(n){for(var a=t;a=0;)switch(t=i.expr[a],i.state[a]){case 0:if(e.isInJSFile(t)&&e.getAssignedExpandoInitializer(t)){u(sv(t.right,r));break}if(Jy(t),62===(o=t.operatorToken.kind)&&(193===t.left.kind||192===t.left.kind)){u(Ry(t.left,sv(t.right,r),r,104===t.right.kind));break}l(1),_(t.left);break;case 1:var o,s=n;i.leftType[a]=s,55!==(o=t.operatorToken.kind)&&56!==o&&60!==o||gh(s,t.left),l(2),_(t.right);break;case 2:s=i.leftType[a];var c=n;u(zy(t.left,t.operatorToken,t.right,s,c,t));break;default:return e.Debug.fail("Invalid state "+i.state[a]+" for checkBinaryExpression")}return n;function u(e){n=e,a--}function l(e){i.state[a]=e}function _(t){e.isBinaryExpression(t)?(a++,i.expr[a]=t,i.state[a]=0,i.leftType[a]=void 0):n=sv(t,r)}}function Jy(t){var r=t.left,n=t.operatorToken,i=t.right;60===n.kind&&(!e.isBinaryExpression(r)||56!==r.operatorToken.kind&&55!==r.operatorToken.kind||Hx(r,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(r.operatorToken.kind),e.tokenToString(n.kind)),!e.isBinaryExpression(i)||56!==i.operatorToken.kind&&55!==i.operatorToken.kind||Hx(i,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(i.operatorToken.kind),e.tokenToString(n.kind)))}function zy(t,n,i,a,o,s){var c,u,l=n.kind;switch(l){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 74:case 50:case 72:if(a===Je||o===Je)return Je;a=Pg(a,t),o=Pg(o,i);var _=void 0;if(528&a.flags&&528&o.flags&&void 0!==(_=function(e){switch(e){case 51:case 73:return 56;case 52:case 74:return 37;case 50:case 72:return 55;default:return}}(n.kind)))return Zr(s||n,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(n.kind),e.tokenToString(_)),Fe;var d,p=Sy(t,a,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),f=Sy(i,o,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);if(Py(a,3)&&Py(o,3)||!Fy(a,2112)&&!Fy(o,2112))d=Fe;else if(y(a,o)){switch(l){case 49:case 71:x()}d=Pe}else x(y),d=xe;return p&&f&&h(d),d;case 39:case 63:if(a===Je||o===Je)return Je;Py(a,132)||Py(o,132)||(a=Pg(a,t),o=Pg(o,i));var g=void 0;if(Py(a,296,!0)&&Py(o,296,!0)?g=Fe:Py(a,2112,!0)&&Py(o,2112,!0)?g=Pe:Py(a,132,!0)||Py(o,132,!0)?g=Ae:(aa(a)||aa(o))&&(g=a===xe||o===xe?xe:ve),g&&!v(l))return g;if(!g){return x((function(e,t){return Py(e,2543)&&Py(t,2543)})),ve}return 63===l&&h(g),g;case 29:case 31:case 32:case 33:return v(l)&&(a=U_(Pg(a,t)),o=U_(Pg(o,i)),b((function(e,t){return Kl(e,t)||Kl(t,e)||zl(e,He)&&zl(t,He)}))),Le;case 34:case 35:case 36:case 37:return b((function(e,t){return By(e,t)||By(t,e)})),Le;case 98:return function(t,r,n,i){return n===Je||i===Je?Je:(!aa(n)&&wy(n,131068)&&Zr(t,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),aa(i)||Ub(i)||Jl(i,lt)||Zr(r,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Le)}(t,i,a,o);case 97:return function(t,r,n,i){return n===Je||i===Je?Je:(n=Pg(n,t),i=Pg(i,r),Kl(n,Ae)||Py(n,12584)||Zr(t,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol),wy(i,126091264)||Zr(r,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Le)}(t,i,a,o);case 55:return 4194304&cp(a)?au([(u=V?a:U_(o),Np(u,ed)),o]):a;case 56:return 8388608&cp(a)?au([$_(a),o],2):a;case 60:return 262144&cp(a)?au([nd(a),o],2):a;case 62:var m=e.isBinaryExpression(t.parent)?e.getAssignmentDeclarationKind(t.parent):0;return function(t,r){if(2===t)for(var n=0,i=os(r);n1&&t.charCodeAt(r-1)>=48&&t.charCodeAt(r-1)<=57;)r--;for(var n=t.slice(0,r),i=1;;i++){var a=n+i;if(!tv(e,a))return a}}function nv(e){var t=sm(e);if(t&&!t.typeParameters)return Xs(t)}function iv(e){var t=av(e);if(t)return t;if(67108864&e.flags&&Gt){var r=Gt[A(e)];if(r)return r}var n=vr,i=sv(e);vr!==n&&((Gt||(Gt=[]))[A(e)]=i,e.flags|=67108864);return i}function av(t){var r=e.skipParentheses(t);if(!e.isCallExpression(r)||102===r.expression.kind||e.isRequireCall(r,!0)||Km(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return ol(r.type);if(8===t.kind||10===t.kind||106===t.kind||91===t.kind)return sv(t)}else{var n=e.isCallChain(r)?function(e){var t=sv(e.expression),r=cd(t,e.expression),n=nv(t);return n&&sd(n,e,r!==t)}(r):nv(Tg(r.expression));if(n)return n}}function ov(e){var t=pn(e);if(t.contextFreeType)return t.contextFreeType;var r=e.contextualType;e.contextualType=ve;try{return t.contextFreeType=sv(e,4)}finally{e.contextualType=r}}function sv(t,i,a){var o=_;_=t,x=0;var s=Zy(t,function(t,i,a){var o=t.kind;if(n)switch(o){case 214:case 201:case 202:n.throwIfCancellationRequested()}switch(o){case 75:return af(t);case 104:return _f(t);case 102:return ff(t);case 100:return Ne;case 14:case 10:return el(nl(t.text));case 8:return Xx(t),el(nl(+t.text));case 9:return function(t){if(!(e.isLiteralTypeNode(t.parent)||e.isPrefixUnaryExpression(t.parent)&&e.isLiteralTypeNode(t.parent.parent))&&z<7&&Hx(t,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(t),el(function(t){return nl({negative:!1,base10Value:e.parsePseudoBigInt(t.text)})}(t));case 106:return Oe;case 91:return we;case 211:return function(t){return e.forEach(t.templateSpans,(function(t){Fy(sv(t.expression),12288)&&Zr(t.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)})),Ae}(t);case 13:return vt;case 192:return qf(t,i,a);case 193:return eg(t,i);case 194:return Ig(t);case 153:return Og(t);case 195:return Xg(t);case 196:if(96===t.expression.kind)return Vm(t);case 197:return Um(t,i);case 198:return Hm(t);case 200:return function(t,r){var n=e.isInJSFile(t)?e.getJSDocTypeTag(t):void 0;if(n)return Gm(n,n.typeExpression.type,t.expression,r);return sv(t.expression,r)}(t,i);case 214:return function(e){return eb(e),Db(e),ja(li(e))}(t);case 201:case 202:return xy(t,i);case 204:return function(e){return sv(e.expression),Kr}(t);case 199:case 217:return function(e){return Gm(e,e.type,e.expression)}(t);case 218:return function(e){return nd(sv(e.expression))}(t);case 219:return Qm(t);case 203:return function(t){sv(t.expression);var r=e.skipParentheses(t.expression);if(!e.isAccessExpression(r))return Zr(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Le;194===r.kind&&e.isPrivateIdentifier(r.name)&&Zr(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var n=gi(pn(r).resolvedSymbol);return n&&Ty(n)&&Zr(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),Le}(t);case 205:return function(e){return sv(e.expression),Te}(t);case 206:return Ny(t);case 207:return function(t){var r=sv(t.operand);if(r===Je)return Je;switch(t.operand.kind){case 8:switch(t.operator){case 40:return el(nl(-t.operand.text));case 39:return el(nl(+t.operand.text))}break;case 9:if(40===t.operator)return el(nl({negative:!0,base10Value:e.parsePseudoBigInt(t.operand.text)}))}switch(t.operator){case 39:case 40:case 54:return Pg(r,t.operand),Fy(r,12288)&&Zr(t.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t.operator)),39===t.operator?(Fy(r,2112)&&Zr(t.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(t.operator),zi(U_(r))),Fe):Ay(r);case 53:mh(t.operand);var n=12582912&cp(r);return 4194304===n?we:8388608===n?Oe:Le;case 45:case 46:return Sy(t.operand,Pg(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Ey(t.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),Ay(r)}return xe}(t);case 208:return function(t){var r=sv(t.operand);return r===Je?Je:(Sy(t.operand,Pg(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Ey(t.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),Ay(r))}(t);case 209:return jy(t,i);case 210:return function(e,t){return mh(e.condition),au([sv(e.whenTrue,t),sv(e.whenFalse,t)],2)}(t,i);case 213:return function(e,t){return z<2&&xx(e,J.downlevelIteration?1536:2048),bh(33,sv(e.expression,t),Ce,e.expression)}(t,i);case 215:return Te;case 212:return function(t){r&&(8192&t.flags||qx(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),bf(t)&&Zr(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var n=e.getContainingFunction(t);if(!n)return ve;var i=e.getFunctionFlags(n);if(!(1&i))return ve;var a=0!=(2&i);t.asteriskToken&&(a&&z<99&&xx(t,53248),!a&&z<2&&J.downlevelIteration&&xx(t,256));var o=Ys(n),s=o&&Vh(o,a),c=s&&s.yieldType||ve,u=s&&s.nextType||ve,l=a?Pv(u)||ve:u,_=t.expression?sv(t.expression):Te,d=gy(t,_,l,a);return o&&d&&Wl(d,c,t.expression||t,t.expression),t.asteriskToken?Dh(a?19:17,1,_,t.expression)||ve:o?Kh(2,o,a)||ve:xf(2,n)||ve}(t);case 220:return t.type;case 276:return bg(t,i);case 266:case 267:return function(e,t){return Db(e),gg(e)||ve}(t);case 270:return function(t){return yg(t.openingFragment),2===J.jsx&&(J.jsxFactory||e.getSourceFileOfNode(t).pragmas.has("jsx"))&&Zr(t,J.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma),ag(t),gg(t)||ve}(t);case 274:return og(t,i);case 268:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return xe}(t,i,a),i);return Iy(s)&&function(t,r){194===t.parent.kind&&t.parent.expression===t||195===t.parent.kind&&t.parent.expression===t||(75===t.kind||153===t.kind)&&Ib(t)||172===t.parent.kind&&t.parent.exprName===t||263===t.parent.kind||Zr(t,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(J.isolatedModules){e.Debug.assert(!!(128&r.symbol.flags)),8388608&r.symbol.valueDeclaration.flags&&Zr(t,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(t,s),_=o,s}function cv(t){t.expression&&qx(t.expression,e.Diagnostics.Type_expected),bb(t.constraint),bb(t.default);var n=co(li(t));ms(n),function(e){return bs(e)!==tt}(n)||Zr(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,zi(n));var i=_s(n),a=xs(n);i&&a&&ql(a,Fo(El(i,ll(n,a)),a),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),r&&Xh(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function uv(t){Sx(t),ch(t);var r=e.getContainingFunction(t);e.hasModifier(t,92)&&(162===r.kind&&e.nodeIsPresent(r.body)||Zr(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),t.questionToken&&e.isBindingPattern(t.name)&&r.body&&Zr(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),t.name&&e.isIdentifier(t.name)&&("this"===t.name.escapedText||"new"===t.name.escapedText)&&(0!==r.parameters.indexOf(t)&&Zr(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText),162!==r.kind&&166!==r.kind&&171!==r.kind||Zr(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),202===r.kind&&Zr(t,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)),!t.dotDotDotToken||e.isBindingPattern(t.name)||zl(ja(t.symbol),Dt)||Zr(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function lv(t,r,n){for(var i=0,a=t.elements;i=2||J.noEmit||!e.hasRestParameter(t)||8388608&t.flags||e.nodeIsMissing(t.body))return;e.forEach(t.parameters,(function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===ie.escapedName&&Zr(t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(t);var i=e.getEffectiveReturnTypeNode(t);if(G&&!i)switch(t.kind){case 166:Zr(t,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 165:Zr(t,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(i){var a=e.getFunctionFlags(t);if(1==(5&a)){var o=ol(i);if(o===Be)Zr(i,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=Kh(0,o,0!=(2&a))||ve;ql(fy(s,Kh(1,o,0!=(2&a))||s,Kh(2,o,0!=(2&a))||Se,!!(2&a)),o,i)}}else 2==(3&a)&&function(t,r){var n=ol(r);if(z>=2){if(n===xe)return;var i=zc(!0);if(i!==Ze&&!Ja(n,i))return void Zr(r,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)}else{if(function(t){Iv(t&&e.getEntityNameFromTypeNode(t))}(r),n===xe)return;var a=e.getEntityNameFromTypeNode(r);if(void 0===a)return void Zr(r,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,zi(n));var o=Gn(a,111551,!0),s=o?ja(o):xe;if(s===xe)return void(75===a.kind&&"Promise"===a.escapedText&&za(n)===zc(!1)?Zr(r,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):Zr(r,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(a)));var c=(_=!0,Ft||(Ft=Bc("PromiseConstructorLike",0,_))||Ge);if(c===Ge)return void Zr(r,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(a));if(!ql(s,c,r,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 u=a&&e.getFirstIdentifier(a),l=gn(t.locals,u.escapedText,111551);if(l)return void Zr(l.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(u),e.entityNameToString(a))}var _;Fv(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(t,i)}167!==t.kind&&300!==t.kind&&zv(t)}}function dv(t){for(var r=e.createMap(),n=0,i=t.members;n0&&r.declarations[0]!==t)return}var n=sc(li(t));if(n)for(var i=!1,a=!1,o=0,s=n.declarations;o=0)return void(r&&Zr(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));jr.push(t.id);var _=Pv(l,r,n,i);if(jr.pop(),!_)return;return a.awaitedTypeOfType=_}var d=ia(t,"then");if(!(d&&As(d,0).length>0))return a.awaitedTypeOfType=t;if(r){if(!n)return e.Debug.fail();Zr(r,n,i)}}function wv(t){var r=Xs(jm(t));if(!(1&r.flags)){var n,i,a=Om(t);switch(t.parent.kind){case 245:n=au([ja(li(t.parent)),Be]);break;case 156:n=Be,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 159:n=Be,i=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 161:case 163:case 164:n=au([Wc(Lb(t.parent)),Be]);break;default:return e.Debug.fail()}ql(r,n,t,a,(function(){return i}))}}function Iv(t){if(t){var r=e.getFirstIdentifier(t),n=2097152|(75===t.kind?788968:1920),i=yn(r,r.escapedText,n,void 0,void 0,!0);i&&2097152&i.flags&&mi(i)&&!$b(Jn(i))&&!Kn(i)&&qn(i)}}function Ov(t){var r=Mv(t);r&&e.isEntityName(r)&&Iv(r)}function Mv(e){if(e)switch(e.kind){case 179:case 178:return Lv(e.types);case 180:return Lv([e.trueType,e.falseType]);case 182:return Mv(e.type);case 169:return e.typeName}}function Lv(t){for(var r,n=0,i=t;n=e.ModuleKind.ES2015||J.noEmit)&&(th(t,r,"require")||th(t,r,"exports"))&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=na(t);290===n.kind&&e.isExternalOrCommonJsModule(n)&&Zr(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function oh(t,r){if(!(z>=4||J.noEmit)&&th(t,r,"Promise")&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=na(t);290===n.kind&&e.isExternalOrCommonJsModule(n)&&2048&n.flags&&Zr(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}function sh(e){return e===he?ve:e===xt?bt:e}function ch(t){if(Bv(t),e.isBindingElement(t)||bb(t.type),t.name){if(154===t.name.kind&&(Yf(t.name),t.initializer&&Ky(t.initializer)),191===t.kind){189===t.parent.kind&&z<99&&xx(t,4),t.propertyName&&154===t.propertyName.kind&&Yf(t.propertyName);var r=t.parent.parent,n=oa(r),i=t.propertyName||t.name;if(n&&!e.isBindingPattern(i)){var a=fu(i);if(bo(a)){var o=Es(n,To(a));o&&(Hg(o,void 0,!1),Sg(r,!!r.initializer&&102===r.initializer.kind,n,o))}}}if(e.isBindingPattern(t.name)&&(190===t.name.kind&&z<2&&J.downlevelIteration&&xx(t,512),e.forEach(t.name.elements,bb)),t.initializer&&156===e.getRootDeclaration(t).kind&&e.nodeIsMissing(e.getContainingFunction(t).body))Zr(t,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(t.name)){var s=t.initializer&&231!==t.parent.parent.kind,c=0===t.name.elements.length;if(s||c){var u=Ta(t);if(s){var l=Ky(t.initializer);V&&c?wg(l,t):Wl(l,Ta(t),t,t.initializer)}c&&(e.isArrayBindingPattern(t.name)?bh(65,u,Ce,t):V&&wg(u,t))}}else{var _=li(t),d=sh(ja(_));if(t===_.valueDeclaration){var p=e.getEffectiveInitializer(t);if(p)e.isInJSFile(t)&&e.isObjectLiteralExpression(p)&&(0===p.properties.length||e.isPrototypeAccess(t.name))&&e.hasEntries(_.exports)||231===t.parent.parent.kind||Wl(Ky(p),d,t,p,void 0);_.declarations.length>1&&e.some(_.declarations,(function(r){return r!==t&&e.isVariableLike(r)&&!lh(r,t)}))&&Zr(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}else{var f=sh(Ta(t));d===xe||f===xe||Ll(d,f)||67108864&_.flags||uh(_.valueDeclaration,d,t,f),t.initializer&&Wl(Ky(t.initializer),f,t,t.initializer,void 0),lh(t,_.valueDeclaration)||Zr(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}159!==t.kind&&158!==t.kind&&(Ev(t),242!==t.kind&&191!==t.kind||function(t){if(0==(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(242!==t.kind||t.initializer)){var r=li(t);if(1&r.flags){if(!e.isIdentifier(t.name))return e.Debug.fail();var n=yn(t,t.name.escapedText,3,void 0,void 0,!1);if(n&&n!==r&&2&n.flags&&3&xg(n)){var i=e.getAncestor(n.valueDeclaration,243),a=225===i.parent.kind&&i.parent.parent?i.parent.parent:void 0;if(!(a&&(223===a.kind&&e.isFunctionLike(a.parent)||250===a.kind||249===a.kind||290===a.kind))){var o=ji(n);Zr(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(t),ah(t,t.name),oh(t,t.name),!J.noEmit&&z<99&&th(t,t.name,"WeakMap")&&Br.push(t))}}}function uh(t,r,n,i){var a=e.getNameOfDeclaration(n),o=159===n.kind||158===n.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(a),c=Zr(a,o,s,zi(r),zi(i));t&&e.addRelatedInfo(c,e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,s))}function lh(t,r){if(156===t.kind&&242===r.kind||242===t.kind&&156===r.kind)return!0;if(e.hasQuestionToken(t)!==e.hasQuestionToken(r))return!1;return e.getSelectedModifierFlags(t,504)===e.getSelectedModifierFlags(r,504)}function _h(t){return function(t){if(231!==t.parent.parent.kind&&232!==t.parent.parent.kind)if(8388608&t.flags)Ux(t);else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return Hx(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(t))return Hx(t,e.Diagnostics.const_declarations_must_be_initialized)}if(t.exclamationToken&&(225!==t.parent.parent.kind||!t.type||t.initializer||8388608&t.flags))return Hx(t.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);var r=e.getEmitModuleKind(J);r=1&&_h(t.declarations[0])}function hh(e,t){return bh(t?15:13,Tg(e),Ce,e)}function bh(e,t,r,n){return aa(t)?t:xh(e,t,r,n,!0)||ve}function xh(t,r,n,i,a){var o=0!=(2&t);if(r!==je){var s=z>=2,c=!s&&J.downlevelIteration;if(s||c||o){var u=Eh(r,t,s?i:void 0);if(a&&u){var l=8&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&t?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&t?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;l&&ql(n,u.nextType,i,l)}if(u||s)return u&&u.yieldType}var _=r,d=!1,p=!1;if(4&t){if(1048576&_.flags){var f=r.types,g=e.filter(f,(function(e){return!(132&e.flags)}));g!==f&&(_=au(g,2))}else 132&_.flags&&(_=je);if((p=_!==r)&&(z<1&&i&&(Zr(i,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),d=!0),131072&_.flags))return Ae}if(!M_(_)){if(i&&!d){var m=Dh(t,0,r,void 0),y=4&t&&!p?c?[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]:m?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:m?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],v=y[0];tn(i,y[1]&&!!Nv(_),v,zi(_))}return p?Ae:void 0}var h=Is(_,1);return p&&h?132&h.flags?Ae:au([h,Ae],2):h}Oh(i,r,o)}function Dh(e,t,r,n){if(!aa(r)){var i=Eh(r,e,n);return i&&i[M(t)]}}function Sh(e,t,r){if(void 0===e&&(e=je),void 0===t&&(t=je),void 0===r&&(r=Se),67359327&e.flags&&180227&t.flags&&180227&r.flags){var n=fc([e,t,r]),i=ar.get(n);return i||(i={yieldType:e,returnType:t,nextType:r},ar.set(n,i)),i}return{yieldType:e,returnType:t,nextType:r}}function Ch(t){for(var r,n,i,a=0,o=t;an)return!1;for(var l=0;l1)return qx(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(113===o.token),n)return qx(o,e.Diagnostics.implements_clause_already_seen);n=!0}Px(o)}})(t)||kx(t.typeParameters,r)}(t),Bv(t),t.name&&(Xh(t.name,e.Diagnostics.Class_name_cannot_be_0),ah(t,t.name),oh(t,t.name),8388608&t.flags||(n=t.name,1===z&&"Object"===n.escapedText&&U>s;case 49:return a>>>s;case 47:return a<1&&P(t,!!J.preserveConstEnums||!!J.isolatedModules)){var s=function(t){for(var r=0,n=t.declarations;r1)for(var o=0,s=n;o=225&&i<=241&&t.flowNode&&!qp(t.flowNode)&&en(!1===J.allowUnreachableCode,t,e.Diagnostics.Unreachable_code_detected);switch(i){case 155:return cv(t);case 156:return uv(t);case 159:return fv(t);case 158:return function(t){return e.isPrivateIdentifier(t.name)&&Zr(t,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),fv(t)}(t);case 170:case 171:case 165:case 166:case 167:return _v(t);case 161:case 160:return function(t){Jx(t)||Ix(t.name),e.isPrivateIdentifier(t.name)&&Zr(t,e.Diagnostics.A_method_cannot_be_named_with_a_private_identifier),Jv(t),e.hasModifier(t,128)&&161===t.kind&&t.body&&Zr(t,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(t.name))}(t);case 162:return gv(t);case 163:case 164:return mv(t);case 169:return xv(t);case 168:return function(t){var r=function(e){switch(e.parent.kind){case 202:case 165:case 244:case 201:case 170:case 161:case 160:var t=e.parent;if(e===t.type)return t}}(t);if(r){var n=Vs(r),i=Qs(n);if(i){bb(t.type);var a=t.parameterName;if(0===i.kind||2===i.kind)al(a);else if(i.parameterIndex>=0){if(L(n)&&i.parameterIndex===n.parameters.length-1)Zr(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(i.type){ql(i.type,ja(n.parameters[i.parameterIndex]),t.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(a){for(var o=!1,s=0,c=r.parameters;s0),n.length>1&&Zr(n[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var i=jv(t.class.expression),a=e.getClassExtendsHeritageElement(r);if(a){var o=jv(a.expression);o&&i.escapedText!==o.escapedText&&Zr(i,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(i),e.idText(o))}}else Zr(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 321:case 314:case 315:return function(t){t.typeExpression||Zr(t.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),t.name&&Xh(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),bb(t.typeExpression)}(t);case 320:return function(e){bb(e.constraint);for(var t=0,r=e.typeParameters;t-1&&n1){var i=e.isEnumConst(t);e.forEach(n.declarations,(function(t){e.isEnumDeclaration(t)&&e.isEnumConst(t)!==i&&Zr(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var a=!1;e.forEach(n.declarations,(function(t){if(248!==t.kind)return!1;var r=t;if(!r.members.length)return!1;var n=r.members[0];n.initializer||(a?Zr(n.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0)}))}}}(t);case 249:return ub(t);case 254:return fb(t);case 253:return function(t){if(!mb(t,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(Sx(t),e.isInternalModuleImportEqualsDeclaration(t)||_b(t)))if(pb(t),e.hasModifier(t,1)&&Vn(t),265!==t.moduleReference.kind){var r=Jn(li(t));if(r!==me){if(111551&r.flags){var n=e.getFirstIdentifier(t.moduleReference);1920&Gn(n,112575).flags||Zr(n,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(n))}788968&r.flags&&Xh(t.name,e.Diagnostics.Import_name_cannot_be_0)}}else U>=e.ModuleKind.ES2015&&!(8388608&t.flags)&&Hx(t,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)}(t);case 260:return gb(t);case 259:return function(t){if(!mb(t,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var r=290===t.parent.kind?t.parent:t.parent.parent;if(249!==r.kind||e.isAmbientModule(r)){if(!Sx(t)&&e.hasModifiers(t)&&qx(t,e.Diagnostics.An_export_assignment_cannot_have_modifiers),75===t.expression.kind){var n=t.expression,i=Gn(n,67108863,!0,!0,t);if(i){nf(i,n);var a=2097152&i.flags?Jn(i):i;(a===me||111551&a.flags)&&Ky(t.expression)}e.getEmitDeclarations(J)&&Zi(t.expression,!0)}else Ky(t.expression);hb(r),8388608&t.flags&&!e.isEntityNameExpression(t.expression)&&Hx(t.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!t.isExportEquals||8388608&t.flags||(U>=e.ModuleKind.ES2015?Hx(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):U===e.ModuleKind.System&&Hx(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else t.isExportEquals?Zr(t,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):Zr(t,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(t);case 224:case 241:return void Qx(t);case 264:(function(e){Bv(e)})(t)}}(t),_=i}}function xb(t){e.isInJSFile(t)||Hx(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function Db(t){var r=pn(e.getSourceFileOfNode(t));if(!(1&r.flags)){r.deferredNodes=r.deferredNodes||e.createMap();var n=""+A(t);r.deferredNodes.set(n,t)}}function Sb(t){var r=_;switch(_=t,x=0,t.kind){case 201:case 202:case 161:case 160:!function(t){e.Debug.assert(161!==t.kind||e.isObjectLiteralMethod(t));var r=e.getFunctionFlags(t),n=Ys(t);if(by(t,n),t.body)if(e.getEffectiveReturnTypeNode(t)||Xs(Vs(t)),223===t.body.kind)bb(t.body);else{var i=sv(t.body),a=Dy(n,r);if(a)if(2==(3&r))Wl(Fv(i,t.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,t.body,t.body);else Wl(i,a,t.body,t.body)}}(t);break;case 163:case 164:mv(t);break;case 214:!function(t){e.forEach(t.members,bb),zv(t)}(t);break;case 267:!function(e){yg(e)}(t);break;case 266:!function(e){yg(e.openingElement),ng(e.closingElement.tagName)?cg(e.closingElement):sv(e.closingElement.tagName),ag(e)}(t)}_=r}function Cb(r){e.performance.mark("beforeCheck"),function(r){var n=pn(r);if(!(1&n.flags)){if(e.skipTypeChecking(r,J,t))return;!function(t){!!(8388608&t.flags)&&function(t){for(var r=0,n=t.statements;r0?e.concatenate(o,a):a}return e.forEach(t.getSourceFiles(),Cb),Jr.getDiagnostics()}(r)}finally{n=void 0}}function Nb(){if(!r)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function Ab(e){switch(e.kind){case 155:case 245:case 246:case 247:case 248:return!0;case 255:return e.isTypeOnly;case 258:case 263:return e.parent.parent.isTypeOnly;default:return!1}}function Fb(e){for(;153===e.parent.kind;)e=e.parent;return 169===e.parent.kind}function Pb(t,r){for(var n;(t=e.getContainingClass(t))&&!(n=r(t)););return n}function wb(e,t){return!!Pb(e,(function(e){return e===t}))}function Ib(e){return void 0!==function(e){for(;153===e.parent.kind;)e=e.parent;return 253===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:259===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function Ob(t){if(e.isDeclarationName(t))return li(t.parent);if(e.isInJSFile(t)&&194===t.parent.kind&&t.parent===t.parent.parent.left&&!e.isPrivateIdentifier(t)){var r=function(t){switch(e.getAssignmentDeclarationKind(t.parent.parent)){case 1:case 3:return li(t.parent);case 4:case 2:case 5:return li(t.parent.parent)}}(t);if(r)return r}if(259===t.parent.kind&&e.isEntityNameExpression(t)){var n=Gn(t,2998271,!0);if(n&&n!==me)return n}else if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)&&Ib(t)){var i=e.getAncestor(t,253);return e.Debug.assert(void 0!==i),Wn(t,!0)}if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)){var a=function(t){for(var r=t.parent;e.isQualifiedName(r);)t=r,r=r.parent;if(r&&188===r.kind&&r.qualifier===t)return r}(t);if(a){ol(a);var o=pn(t).resolvedSymbol;return o===me?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;if(function(e){for(;194===e.parent.kind;)e=e.parent;return 216===e.parent.kind}(t)){var s=0;216===t.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(t)?Gn(t,s):void 0;if(c)return c}if(316===t.parent.kind)return e.getParameterSymbolFromJSDoc(t.parent);if(155===t.parent.kind&&320===t.parent.parent.kind){e.Debug.assert(!e.isInJSFile(t));var u=e.getTypeParameterFromJsDoc(t.parent);return u&&u.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t))return;if(75===t.kind){if(e.isJSXTagName(t)&&ng(t)){var l=cg(t.parent);return l===me?void 0:l}return Gn(t,111551,!1,!0)}if(194===t.kind||153===t.kind){var _=pn(t);return _.resolvedSymbol||(194===t.kind?Ig(t):Og(t)),_.resolvedSymbol}}else if(Fb(t)){return Gn(t,s=169===t.parent.kind?788968:1920,!1,!0)}return 168===t.parent.kind?Gn(t,1):void 0}function Mb(t){if(290===t.kind)return e.isExternalModule(t)?ui(t.symbol):void 0;var r=t.parent,n=r.parent;if(!(16777216&t.flags)){if(I(t)){var i=li(r);return e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t?$f(i):i}if(e.isLiteralComputedPropertyDeclarationName(t))return li(r.parent);if(75===t.kind){if(Ib(t))return Ob(t);if(191===r.kind&&189===n.kind&&t===r.propertyName){var a=Es(Lb(n),t.escapedText);if(a)return a}}switch(t.kind){case 75:case 76:case 194:case 153:return Ob(t);case 104:var o=e.getThisContainer(t,!1);if(e.isFunctionLike(o)){var s=Vs(o);if(s.thisParameter)return s.thisParameter}if(e.isInExpressionContext(t))return sv(t).symbol;case 183:return al(t).symbol;case 102:return sv(t).symbol;case 129:var c=t.parent;return c&&162===c.kind?c.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(254===t.parent.kind||260===t.parent.kind)&&t.parent.moduleSpecifier===t||e.isInJSFile(t)&&e.isRequireCall(t.parent,!1)||e.isImportCall(t.parent)||e.isLiteralTypeNode(t.parent)&&e.isLiteralImportTypeNode(t.parent.parent)&&t.parent.parent.argument===t.parent)return Xn(t,t);if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r)&&r.arguments[1]===t)return li(r);case 8:var u=e.isElementAccessExpression(r)?r.argumentExpression===t?iv(r.expression):void 0:e.isLiteralTypeNode(r)&&e.isIndexedAccessTypeNode(n)?ol(n.objectType):void 0;return u&&Es(u,e.escapeLeadingUnderscores(t.text));case 84:case 94:case 38:case 80:return li(t.parent);case 188:return e.isLiteralImportTypeNode(t)?Mb(t.argument.literal):void 0;case 89:return e.isExportAssignment(t.parent)?e.Debug.assertDefined(t.parent.symbol):void 0;default:return}}}function Lb(t){if(16777216&t.flags)return xe;var r,n,i=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t),a=i&&to(li(i.class));if(e.isPartOfTypeNode(t)){var o=ol(t);return a?Fo(o,a.thisType):o}if(e.isExpressionNode(t))return Bb(t);if(a&&!i.isImplements){var s=e.firstOrUndefined($a(a));return s?Fo(s,a.thisType):xe}if(Ab(t))return uo(n=li(t));if(75===(r=t).kind&&Ab(r.parent)&&r.parent.name===r)return(n=Mb(t))?uo(n):xe;if(e.isDeclaration(t))return ja(n=li(t));if(I(t))return(n=Mb(t))?ja(n):xe;if(e.isBindingPattern(t))return ma(t.parent,!0)||xe;if(Ib(t)&&(n=Mb(t))){var c=uo(n);return c!==xe?c:ja(n)}return xe}function Rb(t){if(e.Debug.assert(193===t.kind||192===t.kind),232===t.parent.kind)return Ry(t,hh(t.parent.expression,t.parent.awaitModifier)||xe);if(209===t.parent.kind)return Ry(t,iv(t.parent.right)||xe);if(281===t.parent.kind){var r=e.cast(t.parent.parent,e.isObjectLiteralExpression);return My(r,Rb(r)||xe,e.indexOfNode(r.properties,t.parent))}var n=e.cast(t.parent,e.isArrayLiteralExpression),i=Rb(n)||xe,a=bh(65,i,Ce,t.parent)||xe;return Ly(n,i,n.elements.indexOf(t),a)}function Bb(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),tl(iv(t))}function jb(t){var r=li(t.parent);return e.hasModifier(t,32)?ja(r):uo(r)}function Jb(t){var r=t.name;switch(r.kind){case 75:return nl(e.idText(r));case 8:case 10:return nl(r.text);case 154:var n=Yf(r);return Py(n,12288)?n:Ae;default:return e.Debug.fail("Unsupported property name.")}}function zb(t){t=Ss(t);var r=e.createSymbolTable(us(t)),n=As(t,0).length?_t:As(t,1).length?dt:void 0;return n&&e.forEach(us(n),(function(e){r.has(e.escapedName)||r.set(e.escapedName,e)})),Ci(r)}function Ub(t){return e.typeHasCallOrConstructSignatures(t,oe)}function Kb(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r)return!(194===r.parent.kind&&r.parent.name===r)&&mx(r)===ie}return!1}function Vb(t){var r=Xn(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var n=ri(r),i=dn(r=ei(r));return void 0===i.exportsSomeValue&&(i.exportsSomeValue=n?!!(111551&r.flags):e.forEachEntry(oi(r),(function(e){return(e=jn(e))&&!!(111551&e.flags)}))),i.exportsSomeValue}function qb(t,r){var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=mx(n,function(t){return e.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name}(n));if(i){if(1048576&i.flags){var a=ui(i.exportSymbol);if(!r&&944&a.flags&&!(3&a.flags))return;i=a}var o=_i(i);if(o){if(512&o.flags&&290===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(n)?void 0:s}return e.findAncestor(n.parent,(function(t){return e.isModuleOrEnumDeclaration(t)&&li(t)===o}))}}}}function Wb(t){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=mx(r);if(Bn(n,111551)&&!Kn(n))return En(n)}}function Hb(t){if(418&t.flags&&!e.isSourceFile(t.valueDeclaration)){var r=dn(t);if(void 0===r.isDeclarationWithCollidingName){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)||function(t){return e.isBindingElement(t.valueDeclaration)&&280===e.walkUpBindingElementsAndPatterns(t.valueDeclaration).parent.kind}(t)){var i=pn(t.valueDeclaration);if(yn(n.parent,t.escapedName,111551,void 0,void 0,!1))r.isDeclarationWithCollidingName=!0;else if(262144&i.flags){var a=524288&i.flags,o=e.isIterationStatement(n,!1),s=223===n.kind&&e.isIterationStatement(n.parent,!1);r.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(n)||a&&(o||s))}else r.isDeclarationWithCollidingName=!1}}return r.isDeclarationWithCollidingName}return!1}function Gb(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=mx(r);if(n&&Hb(n))return n.valueDeclaration}}}function Qb(t){var r=e.getParseTreeNode(t,e.isDeclaration);if(r){var n=li(r);if(n)return Hb(n)}return!1}function Xb(t){switch(t.kind){case 253:return Zb(li(t)||me);case 255:case 256:case 258:case 263:var r=li(t)||me;return Zb(r)&&!Kn(r);case 260:var n=t.exportClause;return!!n&&(e.isNamespaceExport(n)||e.some(n.elements,Xb));case 259:return!t.expression||75!==t.expression.kind||Zb(li(t)||me)}return!1}function Yb(t){var r=e.getParseTreeNode(t,e.isImportEqualsDeclaration);return!(void 0===r||290!==r.parent.kind||!e.isInternalModuleImportEqualsDeclaration(r))&&(Zb(li(r))&&r.moduleReference&&!e.nodeIsMissing(r.moduleReference))}function Zb(e){var t=Jn(e);return t===me||!!(111551&t.flags)&&(J.preserveConstEnums||!$b(t))}function $b(e){return Oy(e)||!!e.constEnumOnlyModule}function ex(t,r){if(Nn(t)){var n=li(t);if(n&&dn(n).referenced)return!0;var i=dn(n).target;if(i&&1&e.getModifierFlags(t)&&111551&i.flags&&(J.preserveConstEnums||!$b(i)))return!0}return!!r&&!!e.forEachChild(t,(function(e){return ex(e,r)}))}function tx(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return!1;var r=Hs(li(t));return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function rx(t){return!(!V||js(t)||e.isJSDocParameterTag(t)||!t.initializer||e.hasModifier(t,92))}function nx(t){return V&&js(t)&&!t.initializer&&e.hasModifier(t,92)}function ix(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return!1;var n=li(r);return!!(n&&16&n.flags)&&!!e.forEachEntry(ai(n),(function(t){return 111551&t.flags&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)}))}function ax(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return e.emptyArray;var n=li(r);return n&&us(ja(n))||e.emptyArray}function ox(e){return pn(e).flags||0}function sx(e){return ob(e.parent),pn(e).enumMemberValue}function cx(e){switch(e.kind){case 284:case 194:case 195:return!0}return!1}function ux(t){if(284===t.kind)return sx(t);var r=pn(t).resolvedSymbol;if(r&&8&r.flags){var n=r.valueDeclaration;if(e.isEnumConst(n.parent))return sx(n)}}function lx(e){return!!(524288&e.flags)&&As(e,0).length>0}function _x(t,r){var n=e.getParseTreeNode(t,e.isEntityName);if(!n)return e.TypeReferenceSerializationKind.Unknown;if(r&&!(r=e.getParseTreeNode(r)))return e.TypeReferenceSerializationKind.Unknown;var i=Gn(n,111551,!0,!1,r),a=Gn(n,788968,!0,!1,r);if(i&&i===a){var o=Uc(!1);if(o&&i===o)return e.TypeReferenceSerializationKind.Promise;var s=ja(i);if(s&&Ga(s))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!a)return e.TypeReferenceSerializationKind.Unknown;var c=uo(a);return c===xe?e.TypeReferenceSerializationKind.Unknown:3&c.flags?e.TypeReferenceSerializationKind.ObjectType:Py(c,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Py(c,528)?e.TypeReferenceSerializationKind.BooleanType:Py(c,296)?e.TypeReferenceSerializationKind.NumberLikeType:Py(c,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Py(c,132)?e.TypeReferenceSerializationKind.StringLikeType:H_(c)?e.TypeReferenceSerializationKind.ArrayLikeType:Py(c,12288)?e.TypeReferenceSerializationKind.ESSymbolType:lx(c)?e.TypeReferenceSerializationKind.TypeWithCallSignature:P_(c)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function dx(t,r,n,i,a){var o=e.getParseTreeNode(t,e.isVariableLikeOrAccessor);if(!o)return e.createToken(125);var s=li(o),c=!s||133120&s.flags?xe:K_(ja(s));return 8192&c.flags&&c.symbol===s&&(n|=1048576),a&&(c=rd(c)),$.typeToTypeNode(c,r,1024|n,i)}function px(t,r,n,i){var a=e.getParseTreeNode(t,e.isFunctionLike);if(!a)return e.createToken(125);var o=Vs(a);return $.typeToTypeNode(Xs(o),r,1024|n,i)}function fx(t,r,n,i){var a=e.getParseTreeNode(t,e.isExpression);if(!a)return e.createToken(125);var o=md(Bb(a));return $.typeToTypeNode(o,r,1024|n,i)}function gx(t){return ee.has(e.escapeLeadingUnderscores(t))}function mx(t,r){var n=pn(t).resolvedSymbol;if(n)return n;var i=t;if(r){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=na(a))}return yn(i,t.escapedText,3257279,void 0,void 0,!0)}function yx(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=mx(r);if(n)return gi(n).valueDeclaration}}}function vx(t){return!!(e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t))&&rl(ja(li(t)))}function hx(t,r){return function(t,r,n){return(1024&t.flags?$.symbolToExpression(t.symbol,111551,r,void 0,n):t===Oe?e.createTrue():t===we&&e.createFalse())||e.createLiteral(t.value)}(ja(li(t)),t,r)}function bx(t){var r=249===t.kind?e.tryCast(t.name,e.isStringLiteral):e.getExternalModuleName(t),n=Yn(r,r,void 0);if(n)return e.getDeclarationOfKind(n,290)}function xx(t,r){if((i&r)!==r&&J.importHelpers){var n=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(n,J)&&!(8388608&t.flags)){var a=function(t,r){l||(l=Zn(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,r)||me);return l}(n,t);if(a!==me)for(var o=r&~i,s=1;s<=524288;s<<=1)if(o&s){var c=Dx(s);gn(a.exports,e.escapeLeadingUnderscores(c),111551)||Zr(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,c)}i|=r}}}function Dx(t){switch(t){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"__spread";case 2048:return"__spreadArrays";case 4096:return"__await";case 8192:return"__asyncGenerator";case 16384:return"__asyncDelegator";case 32768:return"__asyncValues";case 65536:return"__exportStar";case 131072:return"__makeTemplateObject";case 262144:return"__classPrivateFieldGet";case 524288:return"__classPrivateFieldSet";default:return e.Debug.fail("Unrecognized helper")}}function Sx(t){return function(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t,t.parent,t.parent.parent))return 161!==t.kind||e.nodeIsPresent(t.body)?qx(t,e.Diagnostics.Decorators_are_not_valid_here):qx(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(163===t.kind||164===t.kind){var r=e.getAllAccessorDeclarations(t.parent.members,t);if(r.firstAccessor.decorators&&t===r.secondAccessor)return qx(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(t)||function(t){var r,n,i,a,o=function(t){return!!t.modifiers&&(function(t){switch(t.kind){case 163:case 164:case 162:case 159:case 158:case 161:case 160:case 167:case 249:case 254:case 253:case 260:case 259:case 201:case 202:case 156:return!1;default:if(250===t.parent.kind||290===t.parent.kind)return!1;switch(t.kind){case 244:return Cx(t,126);case 245:return Cx(t,122);case 246:case 225:case 247:return!0;case 248:return Cx(t,81);default:return e.Debug.fail(),!1}}}(t)?qx(t,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(t);if(void 0!==o)return o;for(var s=0,c=0,u=t.modifiers;c1||e.modifiers[0].kind!==t}function Tx(t,r){return void 0===r&&(r=e.Diagnostics.Trailing_comma_not_allowed),!(!t||!t.hasTrailingComma)&&Wx(t[0],t.end-",".length,",".length,r)}function kx(t,r){if(t&&0===t.length){var n=t.pos-"<".length;return Wx(r,n,e.skipTrivia(r.text,t.end)+">".length-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function Ex(t){if(z>=3){var r=t.body&&e.isBlock(t.body)&&e.findUseStrictPrologue(t.body.statements);if(r){var n=(a=t.parameters,e.filter(a,(function(t){return!!t.initializer||e.isBindingPattern(t.name)||e.isRestParameter(t)})));if(e.length(n)){e.forEach(n,(function(t){e.addRelatedInfo(Zr(t,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(r,e.Diagnostics.use_strict_directive_used_here))}));var i=n.map((function(t,r){return 0===r?e.createDiagnosticForNode(t,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(t,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,s([Zr(r,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],i)),!0}}}var a;return!1}function Nx(t){var r=e.getSourceFileOfNode(t);return Sx(t)||kx(t.typeParameters,r)||function(t){for(var r=!1,n=t.length,i=0;i".length-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(t,r)}function Fx(t){return function(t){if(t)for(var r=0,n=t;r1){r=231===t.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 qx(a.declarations[1],r)}var s=o[0];if(s.initializer){var r=231===t.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 Hx(s.name,r)}if(s.type)return Hx(s,r=231===t.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 Bx(t){if(t.parameters.length===(163===t.kind?1:2))return e.getThisParameter(t)}function jx(t,r){if(function(t){return e.isDynamicName(t)&&!xo(t)}(t))return Hx(t,r)}function Jx(t){if(Nx(t))return!0;if(161===t.kind){if(193===t.parent.kind){if(t.modifiers&&(1!==t.modifiers.length||126!==e.first(t.modifiers).kind))return qx(t,e.Diagnostics.Modifiers_cannot_appear_here);if(Mx(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(Lx(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===t.body)return Wx(t,t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(Ox(t))return!0}if(e.isClassLike(t.parent)){if(8388608&t.flags)return jx(t.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(161===t.kind&&!t.body)return jx(t.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(246===t.parent.kind)return jx(t.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(173===t.parent.kind)return jx(t.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 zx(t){return e.isStringOrNumericLiteralLike(t)||207===t.kind&&40===t.operator&&8===t.operand.kind}function Ux(t){var r,n=t.initializer;if(n){var i=!(zx(n)||function(t){if((e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)&&zx(t.argumentExpression))&&e.isEntityNameExpression(t.expression))return!!(1024&Ky(t).flags)}(n)||106===n.kind||91===n.kind||(r=n,9===r.kind||207===r.kind&&40===r.operator&&9===r.operand.kind)),a=e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t);if(!a||t.type)return Hx(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(i)return Hx(n,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!a||i)return Hx(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function Kx(t){var r=t.declarations;return!!Tx(t.declarations)||!t.declarations.length&&Wx(t,r.pos,r.end-r.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function Vx(e){return e.parseDiagnostics.length>0}function qx(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!Vx(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Jr.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a)),!0}return!1}function Wx(t,r,n,i,a,o,s){var c=e.getSourceFileOfNode(t);return!Vx(c)&&(Jr.add(e.createFileDiagnostic(c,r,n,i,a,o,s)),!0)}function Hx(t,r,n,i,a){return!Vx(e.getSourceFileOfNode(t))&&(Jr.add(e.createDiagnosticForNode(t,r,n,i,a)),!0)}function Gx(t){return 246!==t.kind&&247!==t.kind&&254!==t.kind&&253!==t.kind&&260!==t.kind&&259!==t.kind&&252!==t.kind&&!e.hasModifier(t,515)&&qx(t,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function Qx(t){if(8388608&t.flags){if(!pn(t).hasReportedStatementInAmbientContext&&(e.isFunctionLike(t.parent)||e.isAccessor(t.parent)))return pn(t).hasReportedStatementInAmbientContext=qx(t,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(223===t.parent.kind||250===t.parent.kind||290===t.parent.kind){var r=pn(t.parent);if(!r.hasReportedStatementInAmbientContext)return r.hasReportedStatementInAmbientContext=qx(t,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function Xx(t){if(32&t.numericLiteralFlags){var r=void 0;if(z>=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,187)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,284)&&(r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),r){var n=e.isPrefixUnaryExpression(t.parent)&&40===t.parent.operator,i=(n?"-":"")+"0o"+t.text;return Hx(n?t.parent:t,r,i)}}return function(t){if(16&t.numericLiteralFlags||t.text.length<=15||-1!==t.text.indexOf("."))return;var r=+e.getTextOfNode(t);if(r<=Math.pow(2,53)-1&&r+1>r)return;$r(!1,e.createDiagnosticForNode(t,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(t),!1}function Yx(t,r,n){if(1048576&r.flags&&2621440&t.flags){var i=us(t);if(i){var a=np(i,r);if(a)return f_(r,e.map(a,(function(e){return[function(){return ja(e)},e.escapedName]})),n)}}}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(E||(E={})),e.signatureHasRestParameter=L,e.signatureHasLiteralTypes=R}(p||(p={})),function(e){function t(t){var r=e.createNode(t,-1,-1);return r.flags|=8,r}function r(t,r){return t!==r&&(pr(t,r),sr(t,r),e.aggregateTransformFlags(t)),t}function n(t,r){if(t&&t!==e.emptyArray){if(e.isNodeArray(t))return t}else t=[];var n=t;return n.pos=-1,n.end=-1,n.hasTrailingComma=r,n}function i(e){if(void 0===e)return e;var r=t(e.kind);for(var n in r.flags|=e.flags,pr(r,e),e)!r.hasOwnProperty(n)&&e.hasOwnProperty(n)&&(r[n]=e[n]);return r}function a(t,r){if("number"==typeof t)return o(t+"");if("object"==typeof t&&"base10Value"in t)return s(e.pseudoBigIntToString(t)+"n");if("boolean"==typeof t)return t?f():g();if(e.isString(t)){var n=c(t);return r&&(n.singleQuote=!0),n}return i=t,(a=c(e.getTextOfIdentifierOrLiteral(i))).textSourceNode=i,a;var i,a}function o(e,r){void 0===r&&(r=0);var n=t(8);return n.text=e,n.numericLiteralFlags=r,n}function s(e){var r=t(9);return r.text=e,r}function c(e){var r=t(10);return r.text=e,r}function u(r,i){var a=t(75);return a.escapedText=e.escapeLeadingUnderscores(r),a.originalKeywordKind=r?e.stringToToken(r):0,a.autoGenerateFlags=0,a.autoGenerateId=0,i&&(a.typeArguments=n(i)),a}e.updateNode=r,e.createNodeArray=n,e.getSynthesizedClone=i,e.createLiteral=a,e.createNumericLiteral=o,e.createBigIntLiteral=s,e.createStringLiteral=c,e.createRegularExpressionLiteral=function(e){var r=t(13);return r.text=e,r},e.createIdentifier=u,e.updateIdentifier=function(t,n){return t.typeArguments!==n?r(u(e.idText(t),n),t):t};var l,_=0;function d(e){var t=u(e);return t.autoGenerateFlags=19,t.autoGenerateId=_,_++,t}function p(e){return t(e)}function f(){return t(106)}function g(){return t(91)}function m(e){return p(e)}function y(e,r){var n=t(153);return n.left=e,n.right=rr(r),n}function v(r){var n=t(154);return n.expression=function(t){return e.isCommaSequence(t)?me(t):t}(r),n}function h(e,r,n){var i=t(155);return i.name=rr(e),i.constraint=r,i.default=n,i}function b(r,n,i,a,o,s,c){var u=t(156);return u.decorators=ir(r),u.modifiers=ir(n),u.dotDotDotToken=i,u.name=rr(a),u.questionToken=o,u.type=s,u.initializer=c?e.parenthesizeExpressionForList(c):void 0,u}function x(r){var n=t(157);return n.expression=e.parenthesizeForAccess(r),n}function D(e,r,n,i,a){var o=t(158);return o.modifiers=ir(e),o.name=rr(r),o.questionToken=n,o.type=i,o.initializer=a,o}function S(e,r,n,i,a,o){var s=t(159);return s.decorators=ir(e),s.modifiers=ir(r),s.name=rr(n),s.questionToken=void 0!==i&&57===i.kind?i:void 0,s.exclamationToken=void 0!==i&&53===i.kind?i:void 0,s.type=a,s.initializer=o,s}function C(e,t,r,n,i){var a=w(160,e,t,r);return a.name=rr(n),a.questionToken=i,a}function T(e,r,i,a,o,s,c,u,l){var _=t(161);return _.decorators=ir(e),_.modifiers=ir(r),_.asteriskToken=i,_.name=rr(a),_.questionToken=o,_.typeParameters=ir(s),_.parameters=n(c),_.type=u,_.body=l,_}function k(e,t,r){return function(e,t,r){return le(ie(e,rr(t)),void 0,r)}(u(e),t,r)}function E(e,t,r){return!!r&&(e.push(Vt(t,r)),!0)}function N(e,r,i,a){var o=t(162);return o.decorators=ir(e),o.modifiers=ir(r),o.typeParameters=void 0,o.parameters=n(i),o.type=void 0,o.body=a,o}function A(e,r,i,a,o,s){var c=t(163);return c.decorators=ir(e),c.modifiers=ir(r),c.name=rr(i),c.typeParameters=void 0,c.parameters=n(a),c.type=o,c.body=s,c}function F(e,r,i,a,o){var s=t(164);return s.decorators=ir(e),s.modifiers=ir(r),s.name=rr(i),s.typeParameters=void 0,s.parameters=n(a),s.body=o,s}function P(e,r,i,a){var o=t(167);return o.decorators=ir(e),o.modifiers=ir(r),o.parameters=n(i),o.type=a,o}function w(e,r,n,i,a){var o=t(e);return o.typeParameters=ir(r),o.parameters=ir(n),o.type=i,o.typeArguments=ir(a),o}function I(e,t,n,i){return e.typeParameters!==t||e.parameters!==n||e.type!==i?r(w(e.kind,t,n,i),e):e}function O(e,r,n){var i=t(168);return i.assertsModifier=e,i.parameterName=rr(r),i.type=n,i}function M(e,t,n,i){return e.assertsModifier!==t||e.parameterName!==n||e.type!==i?r(O(t,n,i),e):e}function L(r,n){var i=t(169);return i.typeName=rr(r),i.typeArguments=n&&e.parenthesizeTypeParameters(n),i}function R(e){var r=t(172);return r.exprName=e,r}function B(e){var r=t(173);return r.members=n(e),r}function j(r){var n=t(174);return n.elementType=e.parenthesizeArrayTypeMember(r),n}function J(e){var r=t(175);return r.elementTypes=n(e),r}function z(r){var n=t(176);return n.type=e.parenthesizeArrayTypeMember(r),n}function U(e){var r=t(177);return r.type=e,r}function K(r,n){var i=t(r);return i.types=e.parenthesizeElementTypeMembers(n),i}function V(e,t){return e.types!==t?r(K(e.kind,t),e):e}function q(r,n,i,a){var o=t(180);return o.checkType=e.parenthesizeConditionalTypeMember(r),o.extendsType=e.parenthesizeConditionalTypeMember(n),o.trueType=i,o.falseType=a,o}function W(e){var r=t(181);return r.typeParameter=e,r}function H(r,n,i,a){var o=t(188);return o.argument=r,o.qualifier=n,o.typeArguments=e.parenthesizeTypeParameters(i),o.isTypeOf=a,o}function G(e){var r=t(182);return r.type=e,r}function Q(r,n){var i=t(184);return i.operator="number"==typeof r?r:134,i.type=e.parenthesizeElementTypeMember("number"==typeof r?n:r),i}function X(r,n){var i=t(185);return i.objectType=e.parenthesizeElementTypeMember(r),i.indexType=n,i}function Y(e,r,n,i){var a=t(186);return a.readonlyToken=e,a.typeParameter=r,a.questionToken=n,a.type=i,a}function Z(e){var r=t(187);return r.literal=e,r}function $(e){var r=t(189);return r.elements=n(e),r}function ee(e){var r=t(190);return r.elements=n(e),r}function te(e,r,n,i){var a=t(191);return a.dotDotDotToken=e,a.propertyName=rr(r),a.name=rr(n),a.initializer=i,a}function re(r,i){var a=t(192);return a.elements=e.parenthesizeListElements(n(r)),i&&(a.multiLine=!0),a}function ne(e,r){var i=t(193);return i.properties=n(e),r&&(i.multiLine=!0),i}function ie(r,n){var i=t(194);return i.expression=e.parenthesizeForAccess(r),i.name=rr(n),cr(i,131072),i}function ae(r,n,i){var a=t(194);return a.flags|=32,a.expression=e.parenthesizeForAccess(r),a.questionDotToken=n,a.name=rr(i),cr(a,131072),a}function oe(t,n,i,a){return e.Debug.assert(!!(32&t.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),t.expression!==n||t.questionDotToken!==i||t.name!==a?r(cr(ae(n,i,a),e.getEmitFlags(t)),t):t}function se(r,n){var i=t(195);return i.expression=e.parenthesizeForAccess(r),i.argumentExpression=nr(n),i}function ce(r,n,i){var a=t(195);return a.flags|=32,a.expression=e.parenthesizeForAccess(r),a.questionDotToken=n,a.argumentExpression=nr(i),a}function ue(t,n,i,a){return e.Debug.assert(!!(32&t.flags),"Cannot update an ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),t.expression!==n||t.questionDotToken!==i||t.argumentExpression!==a?r(ce(n,i,a),t):t}function le(r,i,a){var o=t(196);return o.expression=e.parenthesizeForAccess(r),o.typeArguments=ir(i),o.arguments=e.parenthesizeListElements(n(a)),o}function _e(r,i,a,o){var s=t(196);return s.flags|=32,s.expression=e.parenthesizeForAccess(r),s.questionDotToken=i,s.typeArguments=ir(a),s.arguments=e.parenthesizeListElements(n(o)),s}function de(t,n,i,a,o){return e.Debug.assert(!!(32&t.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),t.expression!==n||t.questionDotToken!==i||t.typeArguments!==a||t.arguments!==o?r(_e(n,i,a,o),t):t}function pe(r,i,a){var o=t(197);return o.expression=e.parenthesizeForNew(r),o.typeArguments=ir(i),o.arguments=a?e.parenthesizeListElements(n(a)):void 0,o}function fe(r,n,i){var a=t(198);return a.tag=e.parenthesizeForAccess(r),i?(a.typeArguments=ir(n),a.template=i):(a.typeArguments=void 0,a.template=n),a}function ge(r,n){var i=t(199);return i.type=r,i.expression=e.parenthesizePrefixOperand(n),i}function me(e){var r=t(200);return r.expression=e,r}function ye(e,r,i,a,o,s,c){var u=t(201);return u.modifiers=ir(e),u.asteriskToken=r,u.name=rr(i),u.typeParameters=ir(a),u.parameters=n(o),u.type=s,u.body=c,u}function ve(r,i,a,o,s,c){var u=t(202);return u.modifiers=ir(r),u.typeParameters=ir(i),u.parameters=n(a),u.type=o,u.equalsGreaterThanToken=s||p(38),u.body=e.parenthesizeConciseBody(c),u}function he(r){var n=t(203);return n.expression=e.parenthesizePrefixOperand(r),n}function be(r){var n=t(204);return n.expression=e.parenthesizePrefixOperand(r),n}function xe(r){var n=t(205);return n.expression=e.parenthesizePrefixOperand(r),n}function De(r){var n=t(206);return n.expression=e.parenthesizePrefixOperand(r),n}function Se(r,n){var i=t(207);return i.operator=r,i.operand=e.parenthesizePrefixOperand(n),i}function Ce(r,n){var i=t(208);return i.operand=e.parenthesizePostfixOperand(r),i.operator=n,i}function Te(r,n,i){var a,o=t(209),s="number"==typeof(a=n)?p(a):a,c=s.kind;return o.left=e.parenthesizeBinaryOperand(c,r,!0,void 0),o.operatorToken=s,o.right=e.parenthesizeBinaryOperand(c,i,!1,o.left),o}function ke(r,n,i,a,o){var s=t(210);return s.condition=e.parenthesizeForConditionalHead(r),s.questionToken=o?n:p(57),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?i:n),s.colonToken=o?a:p(58),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||i),s}function Ee(e,r){var i=t(211);return i.head=e,i.templateSpans=n(r),i}e.createTempVariable=function(e,t){var r=u("");return r.autoGenerateFlags=1,r.autoGenerateId=_,_++,e&&e(r),t&&(r.autoGenerateFlags|=8),r},e.createLoopVariable=function(){var e=u("");return e.autoGenerateFlags=2,e.autoGenerateId=_,_++,e},e.createUniqueName=function(e){var t=u(e);return t.autoGenerateFlags=3,t.autoGenerateId=_,_++,t},e.createOptimisticUniqueName=d,e.createFileLevelUniqueName=function(e){var t=d(e);return t.autoGenerateFlags|=32,t},e.getGeneratedNameForNode=function(t,r){var n=u(t&&e.isIdentifier(t)?e.idText(t):"");return n.autoGenerateFlags=4|r,n.autoGenerateId=_,n.original=t,_++,n},e.createPrivateIdentifier=function(r){"#"!==r[0]&&e.Debug.fail("First character of private identifier must be #: "+r);var n=t(76);return n.escapedText=e.escapeLeadingUnderscores(r),n},e.createToken=p,e.createSuper=function(){return t(102)},e.createThis=function(){return t(104)},e.createNull=function(){return t(100)},e.createTrue=f,e.createFalse=g,e.createModifier=m,e.createModifiersFromModifierFlags=function(e){var t=[];return 1&e&&t.push(m(89)),2&e&&t.push(m(130)),512&e&&t.push(m(84)),2048&e&&t.push(m(81)),4&e&&t.push(m(119)),8&e&&t.push(m(117)),16&e&&t.push(m(118)),128&e&&t.push(m(122)),32&e&&t.push(m(120)),64&e&&t.push(m(138)),256&e&&t.push(m(126)),t},e.createQualifiedName=y,e.updateQualifiedName=function(e,t,n){return e.left!==t||e.right!==n?r(y(t,n),e):e},e.createComputedPropertyName=v,e.updateComputedPropertyName=function(e,t){return e.expression!==t?r(v(t),e):e},e.createTypeParameterDeclaration=h,e.updateTypeParameterDeclaration=function(e,t,n,i){return e.name!==t||e.constraint!==n||e.default!==i?r(h(t,n,i),e):e},e.createParameter=b,e.updateParameter=function(e,t,n,i,a,o,s,c){return e.decorators!==t||e.modifiers!==n||e.dotDotDotToken!==i||e.name!==a||e.questionToken!==o||e.type!==s||e.initializer!==c?r(b(t,n,i,a,o,s,c),e):e},e.createDecorator=x,e.updateDecorator=function(e,t){return e.expression!==t?r(x(t),e):e},e.createPropertySignature=D,e.updatePropertySignature=function(e,t,n,i,a,o){return e.modifiers!==t||e.name!==n||e.questionToken!==i||e.type!==a||e.initializer!==o?r(D(t,n,i,a,o),e):e},e.createProperty=S,e.updateProperty=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.questionToken!==(void 0!==a&&57===a.kind?a:void 0)||e.exclamationToken!==(void 0!==a&&53===a.kind?a:void 0)||e.type!==o||e.initializer!==s?r(S(t,n,i,a,o,s),e):e},e.createMethodSignature=C,e.updateMethodSignature=function(e,t,n,i,a,o){return e.typeParameters!==t||e.parameters!==n||e.type!==i||e.name!==a||e.questionToken!==o?r(C(t,n,i,a,o),e):e},e.createMethod=T,e.createObjectDefinePropertyCall=function(e,t,r){return k("Object","defineProperty",[e,nr(t),r])},e.createPropertyDescriptor=function(t,r){var n=[];E(n,"enumerable",nr(t.enumerable)),E(n,"configurable",nr(t.configurable));var i=E(n,"writable",nr(t.writable));i=E(n,"value",t.value)||i;var a=E(n,"get",t.get);return a=E(n,"set",t.set)||a,e.Debug.assert(!(i&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),ne(n,!r)},e.updateMethod=function(e,t,n,i,a,o,s,c,u,l){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.questionToken!==o||e.typeParameters!==s||e.parameters!==c||e.type!==u||e.body!==l?r(T(t,n,i,a,o,s,c,u,l),e):e},e.createConstructor=N,e.updateConstructor=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.parameters!==i||e.body!==a?r(N(t,n,i,a),e):e},e.createGetAccessor=A,e.updateGetAccessor=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.type!==o||e.body!==s?r(A(t,n,i,a,o,s),e):e},e.createSetAccessor=F,e.updateSetAccessor=function(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.body!==o?r(F(t,n,i,a,o),e):e},e.createCallSignature=function(e,t,r){return w(165,e,t,r)},e.updateCallSignature=function(e,t,r,n){return I(e,t,r,n)},e.createConstructSignature=function(e,t,r){return w(166,e,t,r)},e.updateConstructSignature=function(e,t,r,n){return I(e,t,r,n)},e.createIndexSignature=P,e.updateIndexSignature=function(e,t,n,i,a){return e.parameters!==i||e.type!==a||e.decorators!==t||e.modifiers!==n?r(P(t,n,i,a),e):e},e.createSignatureDeclaration=w,e.createKeywordTypeNode=function(e){return t(e)},e.createTypePredicateNode=function(e,t){return O(void 0,e,t)},e.createTypePredicateNodeWithModifier=O,e.updateTypePredicateNode=function(e,t,r){return M(e,e.assertsModifier,t,r)},e.updateTypePredicateNodeWithModifier=M,e.createTypeReferenceNode=L,e.updateTypeReferenceNode=function(e,t,n){return e.typeName!==t||e.typeArguments!==n?r(L(t,n),e):e},e.createFunctionTypeNode=function(e,t,r){return w(170,e,t,r)},e.updateFunctionTypeNode=function(e,t,r,n){return I(e,t,r,n)},e.createConstructorTypeNode=function(e,t,r){return w(171,e,t,r)},e.updateConstructorTypeNode=function(e,t,r,n){return I(e,t,r,n)},e.createTypeQueryNode=R,e.updateTypeQueryNode=function(e,t){return e.exprName!==t?r(R(t),e):e},e.createTypeLiteralNode=B,e.updateTypeLiteralNode=function(e,t){return e.members!==t?r(B(t),e):e},e.createArrayTypeNode=j,e.updateArrayTypeNode=function(e,t){return e.elementType!==t?r(j(t),e):e},e.createTupleTypeNode=J,e.updateTupleTypeNode=function(e,t){return e.elementTypes!==t?r(J(t),e):e},e.createOptionalTypeNode=z,e.updateOptionalTypeNode=function(e,t){return e.type!==t?r(z(t),e):e},e.createRestTypeNode=U,e.updateRestTypeNode=function(e,t){return e.type!==t?r(U(t),e):e},e.createUnionTypeNode=function(e){return K(178,e)},e.updateUnionTypeNode=function(e,t){return V(e,t)},e.createIntersectionTypeNode=function(e){return K(179,e)},e.updateIntersectionTypeNode=function(e,t){return V(e,t)},e.createUnionOrIntersectionTypeNode=K,e.createConditionalTypeNode=q,e.updateConditionalTypeNode=function(e,t,n,i,a){return e.checkType!==t||e.extendsType!==n||e.trueType!==i||e.falseType!==a?r(q(t,n,i,a),e):e},e.createInferTypeNode=W,e.updateInferTypeNode=function(e,t){return e.typeParameter!==t?r(W(t),e):e},e.createImportTypeNode=H,e.updateImportTypeNode=function(e,t,n,i,a){return e.argument!==t||e.qualifier!==n||e.typeArguments!==i||e.isTypeOf!==a?r(H(t,n,i,a),e):e},e.createParenthesizedType=G,e.updateParenthesizedType=function(e,t){return e.type!==t?r(G(t),e):e},e.createThisTypeNode=function(){return t(183)},e.createTypeOperatorNode=Q,e.updateTypeOperatorNode=function(e,t){return e.type!==t?r(Q(e.operator,t),e):e},e.createIndexedAccessTypeNode=X,e.updateIndexedAccessTypeNode=function(e,t,n){return e.objectType!==t||e.indexType!==n?r(X(t,n),e):e},e.createMappedTypeNode=Y,e.updateMappedTypeNode=function(e,t,n,i,a){return e.readonlyToken!==t||e.typeParameter!==n||e.questionToken!==i||e.type!==a?r(Y(t,n,i,a),e):e},e.createLiteralTypeNode=Z,e.updateLiteralTypeNode=function(e,t){return e.literal!==t?r(Z(t),e):e},e.createObjectBindingPattern=$,e.updateObjectBindingPattern=function(e,t){return e.elements!==t?r($(t),e):e},e.createArrayBindingPattern=ee,e.updateArrayBindingPattern=function(e,t){return e.elements!==t?r(ee(t),e):e},e.createBindingElement=te,e.updateBindingElement=function(e,t,n,i,a){return e.propertyName!==n||e.dotDotDotToken!==t||e.name!==i||e.initializer!==a?r(te(t,n,i,a),e):e},e.createArrayLiteral=re,e.updateArrayLiteral=function(e,t){return e.elements!==t?r(re(t,e.multiLine),e):e},e.createObjectLiteral=ne,e.updateObjectLiteral=function(e,t){return e.properties!==t?r(ne(t,e.multiLine),e):e},e.createPropertyAccess=ie,e.updatePropertyAccess=function(t,n,i){return e.isOptionalChain(t)&&e.isIdentifier(t.name)&&e.isIdentifier(i)?oe(t,n,t.questionDotToken,i):t.expression!==n||t.name!==i?r(cr(ie(n,i),e.getEmitFlags(t)),t):t},e.createPropertyAccessChain=ae,e.updatePropertyAccessChain=oe,e.createElementAccess=se,e.updateElementAccess=function(t,n,i){return e.isOptionalChain(t)?ue(t,n,t.questionDotToken,i):t.expression!==n||t.argumentExpression!==i?r(se(n,i),t):t},e.createElementAccessChain=ce,e.updateElementAccessChain=ue,e.createCall=le,e.updateCall=function(t,n,i,a){return e.isOptionalChain(t)?de(t,n,t.questionDotToken,i,a):t.expression!==n||t.typeArguments!==i||t.arguments!==a?r(le(n,i,a),t):t},e.createCallChain=_e,e.updateCallChain=de,e.createNew=pe,e.updateNew=function(e,t,n,i){return e.expression!==t||e.typeArguments!==n||e.arguments!==i?r(pe(t,n,i),e):e},e.createTaggedTemplate=fe,e.updateTaggedTemplate=function(e,t,n,i){return e.tag!==t||(i?e.typeArguments!==n||e.template!==i:void 0!==e.typeArguments||e.template!==n)?r(fe(t,n,i),e):e},e.createTypeAssertion=ge,e.updateTypeAssertion=function(e,t,n){return e.type!==t||e.expression!==n?r(ge(t,n),e):e},e.createParen=me,e.updateParen=function(e,t){return e.expression!==t?r(me(t),e):e},e.createFunctionExpression=ye,e.updateFunctionExpression=function(e,t,n,i,a,o,s,c){return e.name!==i||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==a||e.parameters!==o||e.type!==s||e.body!==c?r(ye(t,n,i,a,o,s,c),e):e},e.createArrowFunction=ve,e.updateArrowFunction=function(e,t,n,i,a,o,s){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==i||e.type!==a||e.equalsGreaterThanToken!==o||e.body!==s?r(ve(t,n,i,a,o,s),e):e},e.createDelete=he,e.updateDelete=function(e,t){return e.expression!==t?r(he(t),e):e},e.createTypeOf=be,e.updateTypeOf=function(e,t){return e.expression!==t?r(be(t),e):e},e.createVoid=xe,e.updateVoid=function(e,t){return e.expression!==t?r(xe(t),e):e},e.createAwait=De,e.updateAwait=function(e,t){return e.expression!==t?r(De(t),e):e},e.createPrefix=Se,e.updatePrefix=function(e,t){return e.operand!==t?r(Se(e.operator,t),e):e},e.createPostfix=Ce,e.updatePostfix=function(e,t){return e.operand!==t?r(Ce(t,e.operator),e):e},e.createBinary=Te,e.updateBinary=function(e,t,n,i){return e.left!==t||e.right!==n?r(Te(t,i||e.operatorToken,n),e):e},e.createConditional=ke,e.updateConditional=function(e,t,n,i,a,o){return e.condition!==t||e.questionToken!==n||e.whenTrue!==i||e.colonToken!==a||e.whenFalse!==o?r(ke(t,n,i,a,o),e):e},e.createTemplateExpression=Ee,e.updateTemplateExpression=function(e,t,n){return e.head!==t||e.templateSpans!==n?r(Ee(t,n),e):e};var Ne,Ae,Fe={};function Pe(r,n,i){var a=t(r);if(a.text=n,void 0===i||n===i)a.rawText=i;else{var o=function(t,r){switch(l||(l=e.createScanner(99,!1,0)),t){case 14:l.setText("`"+r+"`");break;case 15:l.setText("`"+r+"${");break;case 16:l.setText("}"+r+"${");break;case 17:l.setText("}"+r+"`")}var n,i=l.scan();if(23===i&&(i=l.reScanTemplateToken()),l.isUnterminated())return l.setText(void 0),Fe;switch(i){case 14:case 15:case 16:case 17:n=l.getTokenValue()}return 1!==l.scan()?(l.setText(void 0),Fe):(l.setText(void 0),n)}(r,i);if("object"==typeof o)return e.Debug.fail("Invalid raw text");e.Debug.assert(n===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."),a.rawText=i}return a}function we(e,r){var n=t(212);return n.asteriskToken=e&&41===e.kind?e:void 0,n.expression=e&&41!==e.kind?e:r,n}function Ie(r){var n=t(213);return n.expression=e.parenthesizeExpressionForList(r),n}function Oe(e,r,i,a,o){var s=t(214);return s.decorators=void 0,s.modifiers=ir(e),s.name=rr(r),s.typeParameters=ir(i),s.heritageClauses=ir(a),s.members=n(o),s}function Me(r,n){var i=t(216);return i.expression=e.parenthesizeForAccess(n),i.typeArguments=ir(r),i}function Le(e,r){var n=t(217);return n.expression=e,n.type=r,n}function Re(r){var n=t(218);return n.expression=e.parenthesizeForAccess(r),n}function Be(e,r){var n=t(219);return n.keywordToken=e,n.name=r,n}function je(e,r){var n=t(221);return n.expression=e,n.literal=r,n}function Je(e,r){var i=t(223);return i.statements=n(e),r&&(i.multiLine=r),i}function ze(r,n){var i=t(225);return i.decorators=void 0,i.modifiers=ir(r),i.declarationList=e.isArray(n)?st(n):n,i}function Ue(){return t(224)}function Ke(r){var n=t(226);return n.expression=e.parenthesizeExpressionForExpressionStatement(r),n}function Ve(e,t){return e.expression!==t?r(Ke(t),e):e}function qe(e,r,n){var i=t(227);return i.expression=e,i.thenStatement=ar(r),i.elseStatement=ar(n),i}function We(e,r){var n=t(228);return n.statement=ar(e),n.expression=r,n}function He(e,r){var n=t(229);return n.expression=e,n.statement=ar(r),n}function Ge(e,r,n,i){var a=t(230);return a.initializer=e,a.condition=r,a.incrementor=n,a.statement=ar(i),a}function Qe(e,r,n){var i=t(231);return i.initializer=e,i.expression=r,i.statement=ar(n),i}function Xe(r,n,i,a){var o=t(232);return o.awaitModifier=r,o.initializer=n,o.expression=e.isCommaSequence(i)?me(i):i,o.statement=ar(a),o}function Ye(e){var r=t(233);return r.label=rr(e),r}function Ze(e){var r=t(234);return r.label=rr(e),r}function $e(e){var r=t(235);return r.expression=e,r}function et(e,r){var n=t(236);return n.expression=e,n.statement=ar(r),n}function tt(r,n){var i=t(237);return i.expression=e.parenthesizeExpressionForList(r),i.caseBlock=n,i}function rt(e,r){var n=t(238);return n.label=rr(e),n.statement=ar(r),n}function nt(e){var r=t(239);return r.expression=e,r}function it(e,r,n){var i=t(240);return i.tryBlock=e,i.catchClause=r,i.finallyBlock=n,i}function at(r,n,i){var a=t(242);return a.name=rr(r),a.type=n,a.initializer=void 0!==i?e.parenthesizeExpressionForList(i):void 0,a}function ot(r,n,i,a){var o=t(242);return o.name=rr(r),o.type=i,o.initializer=void 0!==a?e.parenthesizeExpressionForList(a):void 0,o.exclamationToken=n,o}function st(e,r){void 0===r&&(r=0);var i=t(243);return i.flags|=3&r,i.declarations=n(e),i}function ct(e,r,i,a,o,s,c,u){var l=t(244);return l.decorators=ir(e),l.modifiers=ir(r),l.asteriskToken=i,l.name=rr(a),l.typeParameters=ir(o),l.parameters=n(s),l.type=c,l.body=u,l}function ut(e,r,i,a,o,s){var c=t(245);return c.decorators=ir(e),c.modifiers=ir(r),c.name=rr(i),c.typeParameters=ir(a),c.heritageClauses=ir(o),c.members=n(s),c}function lt(e,r,i,a,o,s){var c=t(246);return c.decorators=ir(e),c.modifiers=ir(r),c.name=rr(i),c.typeParameters=ir(a),c.heritageClauses=ir(o),c.members=n(s),c}function _t(e,r,n,i,a){var o=t(247);return o.decorators=ir(e),o.modifiers=ir(r),o.name=rr(n),o.typeParameters=ir(i),o.type=a,o}function dt(e,r,i,a){var o=t(248);return o.decorators=ir(e),o.modifiers=ir(r),o.name=rr(i),o.members=n(a),o}function pt(e,r,n,i,a){void 0===a&&(a=0);var o=t(249);return o.flags|=1044&a,o.decorators=ir(e),o.modifiers=ir(r),o.name=n,o.body=i,o}function ft(e){var r=t(250);return r.statements=n(e),r}function gt(e){var r=t(251);return r.clauses=n(e),r}function mt(e){var r=t(252);return r.name=rr(e),r}function yt(e,r,n,i){var a=t(253);return a.decorators=ir(e),a.modifiers=ir(r),a.name=rr(n),a.moduleReference=i,a}function vt(e,r,n,i){var a=t(254);return a.decorators=ir(e),a.modifiers=ir(r),a.importClause=n,a.moduleSpecifier=i,a}function ht(e,r,n){void 0===n&&(n=!1);var i=t(255);return i.name=e,i.namedBindings=r,i.isTypeOnly=n,i}function bt(e){var r=t(256);return r.name=e,r}function xt(e){var r=t(262);return r.name=e,r}function Dt(e){var r=t(257);return r.elements=n(e),r}function St(e,r){var n=t(258);return n.propertyName=e,n.name=r,n}function Ct(r,n,i,a){var o=t(259);return o.decorators=ir(r),o.modifiers=ir(n),o.isExportEquals=i,o.expression=i?e.parenthesizeBinaryOperand(62,a,!1,void 0):e.parenthesizeDefaultExpression(a),o}function Tt(e,r,n,i,a){void 0===a&&(a=!1);var o=t(260);return o.decorators=ir(e),o.modifiers=ir(r),o.isTypeOnly=a,o.exportClause=n,o.moduleSpecifier=i,o}function kt(e){var r=t(261);return r.elements=n(e),r}function Et(e,r){var n=t(263);return n.propertyName=rr(e),n.name=rr(r),n}function Nt(e){var r=t(265);return r.expression=e,r}function At(e,r){var n=t(e);return n.tagName=u(r),n}function Ft(e,r,i){var a=t(266);return a.openingElement=e,a.children=n(r),a.closingElement=i,a}function Pt(e,r,n){var i=t(267);return i.tagName=e,i.typeArguments=ir(r),i.attributes=n,i}function wt(e,r,n){var i=t(268);return i.tagName=e,i.typeArguments=ir(r),i.attributes=n,i}function It(e){var r=t(269);return r.tagName=e,r}function Ot(e,r,i){var a=t(270);return a.openingFragment=e,a.children=n(r),a.closingFragment=i,a}function Mt(e,r){var n=t(11);return n.text=e,n.containsOnlyTriviaWhiteSpaces=!!r,n}function Lt(e,r){var n=t(273);return n.name=e,n.initializer=r,n}function Rt(e){var r=t(274);return r.properties=n(e),r}function Bt(e){var r=t(275);return r.expression=e,r}function jt(e,r){var n=t(276);return n.dotDotDotToken=e,n.expression=r,n}function Jt(r,i){var a=t(277);return a.expression=e.parenthesizeExpressionForList(r),a.statements=n(i),a}function zt(e){var r=t(278);return r.statements=n(e),r}function Ut(e,r){var i=t(279);return i.token=e,i.types=n(r),i}function Kt(r,n){var i=t(280);return i.variableDeclaration=e.isString(r)?at(r):r,i.block=n,i}function Vt(r,n){var i=t(281);return i.name=rr(r),i.questionToken=void 0,i.initializer=e.parenthesizeExpressionForList(n),i}function qt(r,n){var i=t(282);return i.name=rr(r),i.objectAssignmentInitializer=void 0!==n?e.parenthesizeExpressionForList(n):void 0,i}function Wt(r){var n=t(283);return n.expression=e.parenthesizeExpressionForList(r),n}function Ht(r,n){var i=t(284);return i.name=rr(r),i.initializer=n&&e.parenthesizeExpressionForList(n),i}function Gt(e,r){var n=t(325);return n.expression=e,n.original=r,sr(n,r),n}function Qt(t){if(e.nodeIsSynthesized(t)&&!e.isParseTreeNode(t)&&!t.original&&!t.emitNode&&!t.id){if(326===t.kind)return t.elements;if(e.isBinaryExpression(t)&&27===t.operatorToken.kind)return[t.left,t.right]}return t}function Xt(r){var i=t(326);return i.elements=n(e.sameFlatMap(r,Qt)),i}function Yt(e,r){var n=t(329);return n.expression=e,n.thisArg=r,n}function Zt(t,r){void 0===r&&(r=e.emptyArray);var n=e.createNode(291);return n.prepends=r,n.sourceFiles=t,n}function $t(){return Ne||(Ne=e.arrayToMap([e.valuesHelper,e.readHelper,e.spreadHelper,e.spreadArraysHelper,e.restHelper,e.decorateHelper,e.metadataHelper,e.paramHelper,e.awaiterHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.extendsHelper,e.templateObjectHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper],(function(e){return e.name})))}function er(t,r){var n=e.createNode(function(t){switch(t){case"prologue":return 285;case"prepend":return 286;case"internal":return 288;case"text":return 287;case"emitHelpers":case"no-default-lib":case"reference":case"type":case"lib":return e.Debug.fail("BundleFileSectionKind: "+t+" not yet mapped to SyntaxKind");default:return e.Debug.assertNever(t)}}(t.kind),t.pos,t.end);return n.parent=r,n.data=t.data,n}function tr(t,r){var n=e.createNode(289,t.pos,t.end);return n.parent=r,n.data=t.data,n.section=t,n}function rr(t){return e.isString(t)?u(t):t}function nr(e){return"string"==typeof e?c(e):"number"==typeof e?o(""+e):"boolean"==typeof e?e?f():g():e}function ir(e){return e?n(e):void 0}function ar(t){return t&&e.isNotEmittedStatement(t)?sr(pr(Ue(),t),t):t}function or(t){if(!t.emitNode){if(e.isParseTreeNode(t)){if(290===t.kind)return t.emitNode={annotatedNodes:[t]};or(e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(t)))).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function sr(e,t){return t&&(e.pos=t.pos,e.end=t.end),e}function cr(e,t){return or(e).flags=t,e}function ur(e){var t=e.emitNode;return t&&t.leadingComments}function lr(e,t){return or(e).leadingComments=t,e}function _r(e){var t=e.emitNode;return t&&t.trailingComments}function dr(e,t){return or(e).trailingComments=t,e}function pr(t,r){if(t.original=r,r){var n=r.emitNode;n&&(t.emitNode=function(t,r){var n=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers,_=t.startsOnNewLine;r||(r={});i&&(r.leadingComments=e.addRange(i.slice(),r.leadingComments));a&&(r.trailingComments=e.addRange(a.slice(),r.trailingComments));n&&(r.flags=n);o&&(r.commentRange=o);s&&(r.sourceMapRange=s);c&&(r.tokenSourceMapRanges=function(e,t){t||(t=[]);for(var r in e)t[r]=e[r];return t}(c,r.tokenSourceMapRanges));void 0!==u&&(r.constantValue=u);l&&(r.helpers=e.addRange(r.helpers,l));void 0!==_&&(r.startsOnNewLine=_);return r}(n,t.emitNode))}return t}e.createTemplateHead=function(e,t){var r=Pe(15,e,t);return r.text=e,r},e.createTemplateMiddle=function(e,t){var r=Pe(16,e,t);return r.text=e,r},e.createTemplateTail=function(e,t){var r=Pe(17,e,t);return r.text=e,r},e.createNoSubstitutionTemplateLiteral=function(e,t){return Pe(14,e,t)},e.createYield=we,e.updateYield=function(e,t,n){return e.expression!==n||e.asteriskToken!==t?r(we(t,n),e):e},e.createSpread=Ie,e.updateSpread=function(e,t){return e.expression!==t?r(Ie(t),e):e},e.createClassExpression=Oe,e.updateClassExpression=function(e,t,n,i,a,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?r(Oe(t,n,i,a,o),e):e},e.createOmittedExpression=function(){return t(215)},e.createExpressionWithTypeArguments=Me,e.updateExpressionWithTypeArguments=function(e,t,n){return e.typeArguments!==t||e.expression!==n?r(Me(t,n),e):e},e.createAsExpression=Le,e.updateAsExpression=function(e,t,n){return e.expression!==t||e.type!==n?r(Le(t,n),e):e},e.createNonNullExpression=Re,e.updateNonNullExpression=function(e,t){return e.expression!==t?r(Re(t),e):e},e.createMetaProperty=Be,e.updateMetaProperty=function(e,t){return e.name!==t?r(Be(e.keywordToken,t),e):e},e.createTemplateSpan=je,e.updateTemplateSpan=function(e,t,n){return e.expression!==t||e.literal!==n?r(je(t,n),e):e},e.createSemicolonClassElement=function(){return t(222)},e.createBlock=Je,e.updateBlock=function(e,t){return e.statements!==t?r(Je(t,e.multiLine),e):e},e.createVariableStatement=ze,e.updateVariableStatement=function(e,t,n){return e.modifiers!==t||e.declarationList!==n?r(ze(t,n),e):e},e.createEmptyStatement=Ue,e.createExpressionStatement=Ke,e.updateExpressionStatement=Ve,e.createStatement=Ke,e.updateStatement=Ve,e.createIf=qe,e.updateIf=function(e,t,n,i){return e.expression!==t||e.thenStatement!==n||e.elseStatement!==i?r(qe(t,n,i),e):e},e.createDo=We,e.updateDo=function(e,t,n){return e.statement!==t||e.expression!==n?r(We(t,n),e):e},e.createWhile=He,e.updateWhile=function(e,t,n){return e.expression!==t||e.statement!==n?r(He(t,n),e):e},e.createFor=Ge,e.updateFor=function(e,t,n,i,a){return e.initializer!==t||e.condition!==n||e.incrementor!==i||e.statement!==a?r(Ge(t,n,i,a),e):e},e.createForIn=Qe,e.updateForIn=function(e,t,n,i){return e.initializer!==t||e.expression!==n||e.statement!==i?r(Qe(t,n,i),e):e},e.createForOf=Xe,e.updateForOf=function(e,t,n,i,a){return e.awaitModifier!==t||e.initializer!==n||e.expression!==i||e.statement!==a?r(Xe(t,n,i,a),e):e},e.createContinue=Ye,e.updateContinue=function(e,t){return e.label!==t?r(Ye(t),e):e},e.createBreak=Ze,e.updateBreak=function(e,t){return e.label!==t?r(Ze(t),e):e},e.createReturn=$e,e.updateReturn=function(e,t){return e.expression!==t?r($e(t),e):e},e.createWith=et,e.updateWith=function(e,t,n){return e.expression!==t||e.statement!==n?r(et(t,n),e):e},e.createSwitch=tt,e.updateSwitch=function(e,t,n){return e.expression!==t||e.caseBlock!==n?r(tt(t,n),e):e},e.createLabel=rt,e.updateLabel=function(e,t,n){return e.label!==t||e.statement!==n?r(rt(t,n),e):e},e.createThrow=nt,e.updateThrow=function(e,t){return e.expression!==t?r(nt(t),e):e},e.createTry=it,e.updateTry=function(e,t,n,i){return e.tryBlock!==t||e.catchClause!==n||e.finallyBlock!==i?r(it(t,n,i),e):e},e.createDebuggerStatement=function(){return t(241)},e.createVariableDeclaration=at,e.updateVariableDeclaration=function(e,t,n,i){return e.name!==t||e.type!==n||e.initializer!==i?r(at(t,n,i),e):e},e.createTypeScriptVariableDeclaration=ot,e.updateTypeScriptVariableDeclaration=function(e,t,n,i,a){return e.name!==t||e.type!==i||e.initializer!==a||e.exclamationToken!==n?r(ot(t,n,i,a),e):e},e.createVariableDeclarationList=st,e.updateVariableDeclarationList=function(e,t){return e.declarations!==t?r(st(t,e.flags),e):e},e.createFunctionDeclaration=ct,e.updateFunctionDeclaration=function(e,t,n,i,a,o,s,c,u){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==u?r(ct(t,n,i,a,o,s,c,u),e):e},e.createClassDeclaration=ut,e.updateClassDeclaration=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.heritageClauses!==o||e.members!==s?r(ut(t,n,i,a,o,s),e):e},e.createInterfaceDeclaration=lt,e.updateInterfaceDeclaration=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.heritageClauses!==o||e.members!==s?r(lt(t,n,i,a,o,s),e):e},e.createTypeAliasDeclaration=_t,e.updateTypeAliasDeclaration=function(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.type!==o?r(_t(t,n,i,a,o),e):e},e.createEnumDeclaration=dt,e.updateEnumDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.members!==a?r(dt(t,n,i,a),e):e},e.createModuleDeclaration=pt,e.updateModuleDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.body!==a?r(pt(t,n,i,a,e.flags),e):e},e.createModuleBlock=ft,e.updateModuleBlock=function(e,t){return e.statements!==t?r(ft(t),e):e},e.createCaseBlock=gt,e.updateCaseBlock=function(e,t){return e.clauses!==t?r(gt(t),e):e},e.createNamespaceExportDeclaration=mt,e.updateNamespaceExportDeclaration=function(e,t){return e.name!==t?r(mt(t),e):e},e.createImportEqualsDeclaration=yt,e.updateImportEqualsDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.moduleReference!==a?r(yt(t,n,i,a),e):e},e.createImportDeclaration=vt,e.updateImportDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.importClause!==i||e.moduleSpecifier!==a?r(vt(t,n,i,a),e):e},e.createImportClause=ht,e.updateImportClause=function(e,t,n,i){return e.name!==t||e.namedBindings!==n||e.isTypeOnly!==i?r(ht(t,n,i),e):e},e.createNamespaceImport=bt,e.createNamespaceExport=xt,e.updateNamespaceImport=function(e,t){return e.name!==t?r(bt(t),e):e},e.updateNamespaceExport=function(e,t){return e.name!==t?r(xt(t),e):e},e.createNamedImports=Dt,e.updateNamedImports=function(e,t){return e.elements!==t?r(Dt(t),e):e},e.createImportSpecifier=St,e.updateImportSpecifier=function(e,t,n){return e.propertyName!==t||e.name!==n?r(St(t,n),e):e},e.createExportAssignment=Ct,e.updateExportAssignment=function(e,t,n,i){return e.decorators!==t||e.modifiers!==n||e.expression!==i?r(Ct(t,n,e.isExportEquals,i),e):e},e.createExportDeclaration=Tt,e.updateExportDeclaration=function(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.isTypeOnly!==o||e.exportClause!==i||e.moduleSpecifier!==a?r(Tt(t,n,i,a,o),e):e},e.createEmptyExports=function(){return Tt(void 0,void 0,kt([]),void 0)},e.createNamedExports=kt,e.updateNamedExports=function(e,t){return e.elements!==t?r(kt(t),e):e},e.createExportSpecifier=Et,e.updateExportSpecifier=function(e,t,n){return e.propertyName!==t||e.name!==n?r(Et(t,n),e):e},e.createExternalModuleReference=Nt,e.updateExternalModuleReference=function(e,t){return e.expression!==t?r(Nt(t),e):e},e.createJSDocTypeExpression=function(e){var r=t(294);return r.type=e,r},e.createJSDocTypeTag=function(e,t){var r=At(319,"type");return r.typeExpression=e,r.comment=t,r},e.createJSDocReturnTag=function(e,t){var r=At(317,"returns");return r.typeExpression=e,r.comment=t,r},e.createJSDocThisTag=function(e){var t=At(318,"this");return t.typeExpression=e,t},e.createJSDocParamTag=function(e,t,r,n){var i=At(316,"param");return i.typeExpression=r,i.name=e,i.isBracketed=t,i.comment=n,i},e.createJSDocComment=function(e,r){var n=t(303);return n.comment=e,n.tags=r,n},e.createJsxElement=Ft,e.updateJsxElement=function(e,t,n,i){return e.openingElement!==t||e.children!==n||e.closingElement!==i?r(Ft(t,n,i),e):e},e.createJsxSelfClosingElement=Pt,e.updateJsxSelfClosingElement=function(e,t,n,i){return e.tagName!==t||e.typeArguments!==n||e.attributes!==i?r(Pt(t,n,i),e):e},e.createJsxOpeningElement=wt,e.updateJsxOpeningElement=function(e,t,n,i){return e.tagName!==t||e.typeArguments!==n||e.attributes!==i?r(wt(t,n,i),e):e},e.createJsxClosingElement=It,e.updateJsxClosingElement=function(e,t){return e.tagName!==t?r(It(t),e):e},e.createJsxFragment=Ot,e.createJsxText=Mt,e.updateJsxText=function(e,t,n){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==n?r(Mt(t,n),e):e},e.createJsxOpeningFragment=function(){return t(271)},e.createJsxJsxClosingFragment=function(){return t(272)},e.updateJsxFragment=function(e,t,n,i){return e.openingFragment!==t||e.children!==n||e.closingFragment!==i?r(Ot(t,n,i),e):e},e.createJsxAttribute=Lt,e.updateJsxAttribute=function(e,t,n){return e.name!==t||e.initializer!==n?r(Lt(t,n),e):e},e.createJsxAttributes=Rt,e.updateJsxAttributes=function(e,t){return e.properties!==t?r(Rt(t),e):e},e.createJsxSpreadAttribute=Bt,e.updateJsxSpreadAttribute=function(e,t){return e.expression!==t?r(Bt(t),e):e},e.createJsxExpression=jt,e.updateJsxExpression=function(e,t){return e.expression!==t?r(jt(e.dotDotDotToken,t),e):e},e.createCaseClause=Jt,e.updateCaseClause=function(e,t,n){return e.expression!==t||e.statements!==n?r(Jt(t,n),e):e},e.createDefaultClause=zt,e.updateDefaultClause=function(e,t){return e.statements!==t?r(zt(t),e):e},e.createHeritageClause=Ut,e.updateHeritageClause=function(e,t){return e.types!==t?r(Ut(e.token,t),e):e},e.createCatchClause=Kt,e.updateCatchClause=function(e,t,n){return e.variableDeclaration!==t||e.block!==n?r(Kt(t,n),e):e},e.createPropertyAssignment=Vt,e.updatePropertyAssignment=function(e,t,n){return e.name!==t||e.initializer!==n?r(Vt(t,n),e):e},e.createShorthandPropertyAssignment=qt,e.updateShorthandPropertyAssignment=function(e,t,n){return e.name!==t||e.objectAssignmentInitializer!==n?r(qt(t,n),e):e},e.createSpreadAssignment=Wt,e.updateSpreadAssignment=function(e,t){return e.expression!==t?r(Wt(t),e):e},e.createEnumMember=Ht,e.updateEnumMember=function(e,t,n){return e.name!==t||e.initializer!==n?r(Ht(t,n),e):e},e.updateSourceFileNode=function(e,i,a,o,s,c,u){if(e.statements!==i||void 0!==a&&e.isDeclarationFile!==a||void 0!==o&&e.referencedFiles!==o||void 0!==s&&e.typeReferenceDirectives!==s||void 0!==u&&e.libReferenceDirectives!==u||void 0!==c&&e.hasNoDefaultLib!==c){var l=t(290);return l.flags|=e.flags,l.statements=n(i),l.endOfFileToken=e.endOfFileToken,l.fileName=e.fileName,l.path=e.path,l.text=e.text,l.isDeclarationFile=void 0===a?e.isDeclarationFile:a,l.referencedFiles=void 0===o?e.referencedFiles:o,l.typeReferenceDirectives=void 0===s?e.typeReferenceDirectives:s,l.hasNoDefaultLib=void 0===c?e.hasNoDefaultLib:c,l.libReferenceDirectives=void 0===u?e.libReferenceDirectives:u,void 0!==e.amdDependencies&&(l.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(l.moduleName=e.moduleName),void 0!==e.languageVariant&&(l.languageVariant=e.languageVariant),void 0!==e.renamedDependencies&&(l.renamedDependencies=e.renamedDependencies),void 0!==e.languageVersion&&(l.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(l.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(l.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(l.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(l.identifiers=e.identifiers),void 0!==e.nodeCount&&(l.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(l.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(l.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(l.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(l.bindDiagnostics=e.bindDiagnostics),void 0!==e.bindSuggestionDiagnostics&&(l.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics),void 0!==e.lineMap&&(l.lineMap=e.lineMap),void 0!==e.classifiableNames&&(l.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(l.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(l.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(l.imports=e.imports),void 0!==e.moduleAugmentations&&(l.moduleAugmentations=e.moduleAugmentations),void 0!==e.pragmas&&(l.pragmas=e.pragmas),void 0!==e.localJsxFactory&&(l.localJsxFactory=e.localJsxFactory),void 0!==e.localJsxNamespace&&(l.localJsxNamespace=e.localJsxNamespace),r(l,e)}return e},e.getMutableClone=function(e){var t=i(e);return t.pos=e.pos,t.end=e.end,t.parent=e.parent,t},e.createNotEmittedStatement=function(e){var r=t(324);return r.original=e,sr(r,e),r},e.createEndOfDeclarationMarker=function(e){var r=t(328);return r.emitNode={},r.original=e,r},e.createMergeDeclarationMarker=function(e){var r=t(327);return r.emitNode={},r.original=e,r},e.createPartiallyEmittedExpression=Gt,e.updatePartiallyEmittedExpression=function(e,t){return e.expression!==t?r(Gt(t,e.original),e):e},e.createCommaList=Xt,e.updateCommaList=function(e,t){return e.elements!==t?r(Xt(t),e):e},e.createSyntheticReferenceExpression=Yt,e.updateSyntheticReferenceExpression=function(e,t,n){return e.expression!==t||e.thisArg!==n?r(Yt(t,n),e):e},e.createBundle=Zt,e.createUnparsedSourceFile=function(t,r,n){var i,a,o=function(){var t=e.createNode(292);return t.prologues=e.emptyArray,t.referencedFiles=e.emptyArray,t.libReferenceDirectives=e.emptyArray,t.getLineAndCharacterOfPosition=function(r){return e.getLineAndCharacterOfPosition(t,r)},t}();if(e.isString(t))o.fileName="",o.text=t,o.sourceMapPath=r,o.sourceMapText=n;else if(e.Debug.assert("js"===r||"dts"===r),o.fileName=("js"===r?t.javascriptPath:t.declarationPath)||"",o.sourceMapPath="js"===r?t.javascriptMapPath:t.declarationMapPath,Object.defineProperties(o,{text:{get:function(){return"js"===r?t.javascriptText:t.declarationText}},sourceMapText:{get:function(){return"js"===r?t.javascriptMapText:t.declarationMapText}}}),t.buildInfo&&t.buildInfo.bundle&&(o.oldFileOfCurrentEmit=t.oldFileOfCurrentEmit,e.Debug.assert(void 0===n||"boolean"==typeof n),i=n,a="js"===r?t.buildInfo.bundle.js:t.buildInfo.bundle.dts,o.oldFileOfCurrentEmit))return function(t,r){var n,i;e.Debug.assert(!!t.oldFileOfCurrentEmit);for(var a=0,o=r.sections;a0&&(a[c-s]=u)}s>0&&(a.length-=s)}},e.compareEmitHelpers=function(t,r){return t===r||t.priority===r.priority?0:void 0===t.priority?1:void 0===r.priority?-1:e.compareValues(t.priority,r.priority)},e.setOriginalNode=pr}(p||(p={})),function(e){function t(t,r,n){if(e.isComputedPropertyName(r))return e.setTextRange(e.createElementAccess(t,r.expression),n);var i=e.setTextRange(e.isIdentifier(r)||e.isPrivateIdentifier(r)?e.createPropertyAccess(t,r):e.createElementAccess(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function r(t,r){var n=e.createIdentifier(t||"React");return n.flags&=-9,n.parent=e.getParseTreeNode(r),n}function n(t,n,i){return t?function t(n,i){if(e.isQualifiedName(n)){var a=t(n.left,i),o=e.createIdentifier(e.idText(n.right));return o.escapedText=n.right.escapedText,e.createPropertyAccess(a,o)}return r(e.idText(n),i)}(t,i):e.createPropertyAccess(r(n,i),"createElement")}function i(t){return e.setEmitFlags(e.createIdentifier(t),4098)}function a(t,r){var n=e.skipParentheses(t);switch(n.kind){case 75:return r;case 104:case 8:case 9:case 10:return!1;case 192:return 0!==n.elements.length;case 193:return n.properties.length>0;default:return!0}}function o(t){return e.isIdentifier(t)?e.createLiteral(t):e.isComputedPropertyName(t)?e.getMutableClone(t.expression):e.getMutableClone(t)}function c(e,t,r){return u(e,t,r,8192)}function u(t,r,n,i){void 0===i&&(i=0);var a=e.getNameOfDeclaration(t);if(a&&e.isIdentifier(a)&&!e.isGeneratedIdentifier(a)){var o=e.getMutableClone(a);return i|=e.getEmitFlags(a),n||(i|=48),r||(i|=1536),i&&e.setEmitFlags(o,i),o}return e.getGeneratedNameForNode(t)}function l(t,r,n,i){var a=e.createPropertyAccess(t,e.nodeIsSynthesized(r)?r:e.getSynthesizedClone(r));e.setTextRange(a,r);var o=0;return i||(o|=48),n||(o|=1536),o&&e.setEmitFlags(a,o),a}function _(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function d(t,r,n){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var i=!1,a=0,o=r.length;ae.getOperatorPrecedence(209,27)?t:e.setTextRange(e.createParen(t),t)}function v(t){return 180===t.kind?e.createParenthesizedType(t):t}function h(t){switch(t.kind){case 178:case 179:case 170:case 171:return e.createParenthesizedType(t)}return v(t)}function b(e,t){for(;;){switch(e.kind){case 208:e=e.operand;continue;case 209:e=e.left;continue;case 210:e=e.condition;continue;case 198:e=e.tag;continue;case 196:if(t)return e;case 217:case 195:case 194:case 218:case 325:e=e.expression;continue}return e}}function x(e){return 209===e.kind&&27===e.operatorToken.kind||326===e.kind}function D(e,t){switch(void 0===t&&(t=7),e.kind){case 200:return 0!=(1&t);case 199:case 217:case 218:return 0!=(2&t);case 325:return 0!=(4&t)}return!1}function S(t,r){var n;void 0===r&&(r=7);do{n=t,1&r&&(t=e.skipParentheses(t)),2&r&&(t=C(t)),4&r&&(t=e.skipPartiallyEmittedExpressions(t))}while(n!==t);return t}function C(t){for(;e.isAssertionExpression(t)||218===t.kind;)t=t.expression;return t}function T(t,r,n){return void 0===n&&(n=7),t&&D(t,n)&&(!(200===(i=t).kind&&e.nodeIsSynthesized(i)&&e.nodeIsSynthesized(e.getSourceMapRange(i))&&e.nodeIsSynthesized(e.getCommentRange(i)))||e.some(e.getSyntheticLeadingComments(i))||e.some(e.getSyntheticTrailingComments(i)))?function(t,r){switch(t.kind){case 200:return e.updateParen(t,r);case 199:return e.updateTypeAssertion(t,t.type,r);case 217:return e.updateAsExpression(t,r,t.type);case 218:return e.updateNonNullExpression(t,r);case 325:return e.updatePartiallyEmittedExpression(t,r)}}(t,T(t.expression,r)):r;var i}function k(t){return e.setStartsOnNewLine(t,!0)}function E(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return n&&n.externalHelpersModuleName}function N(t,r,n,i){if(r.importHelpers&&e.isEffectiveExternalModule(t,r)){var a=E(t);if(a)return a;var o=e.getEmitModuleKind(r),s=(n||r.esModuleInterop&&i)&&o!==e.ModuleKind.System&&o0)if(a||u.push(e.createNull()),o.length>1)for(var l=0,_=o;l<_.length;l++){var d=_[l];k(d),u.push(d)}else u.push(o[0]);return e.setTextRange(e.createCall(n(t,r,s),void 0,u),c)},e.createExpressionForJsxFragment=function(t,i,a,o,s){var c=[e.createPropertyAccess(r(i,o),"Fragment")];if(c.push(e.createNull()),a&&a.length>0)if(a.length>1)for(var u=0,l=a;u= 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.createValuesHelper=function(t,r,n){return t.requestEmitHelper(e.valuesHelper),e.setTextRange(e.createCall(i("__values"),void 0,[r]),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.createReadHelper=function(t,r,n,a){return t.requestEmitHelper(e.readHelper),e.setTextRange(e.createCall(i("__read"),void 0,void 0!==n?[r,e.createLiteral(n)]:[r]),a)},e.spreadHelper={name:"typescript:spread",importName:"__spread",scoped:!1,text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"},e.createSpreadHelper=function(t,r,n){return t.requestEmitHelper(e.readHelper),t.requestEmitHelper(e.spreadHelper),e.setTextRange(e.createCall(i("__spread"),void 0,r),n)},e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:!1,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"},e.createSpreadArraysHelper=function(t,r,n){return t.requestEmitHelper(e.spreadArraysHelper),e.setTextRange(e.createCall(i("__spreadArrays"),void 0,r),n)},e.createForOfBindingStatement=function(t,r){if(e.isVariableDeclarationList(t)){var n=e.first(t.declarations),i=e.updateVariableDeclaration(n,n.name,void 0,r);return e.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[i])),t)}var a=e.setTextRange(e.createAssignment(t,r),t);return e.setTextRange(e.createStatement(a),t)},e.insertLeadingStatement=function(t,r){return e.isBlock(t)?e.updateBlock(t,e.setTextRange(e.createNodeArray(s([r],t.statements)),t.statements)):e.createBlock(e.createNodeArray([t,r]),!0)},e.restoreEnclosingLabel=function t(r,n,i){if(!n)return r;var a=e.updateLabel(n,n.label,238===n.statement.kind?t(r,n.statement):r);return i&&i(n),a},e.createCallBinding=function(t,r,n,i){void 0===i&&(i=!1);var o,s,c=S(t,7);if(e.isSuperProperty(c))o=e.createThis(),s=c;else if(102===c.kind)o=e.createThis(),s=n<2?e.setTextRange(e.createIdentifier("_super"),c):c;else if(4096&e.getEmitFlags(c))o=e.createVoidZero(),s=m(c);else switch(c.kind){case 194:a(c.expression,i)?(o=e.createTempVariable(r),s=e.createPropertyAccess(e.setTextRange(e.createAssignment(o,c.expression),c.expression),c.name),e.setTextRange(s,c)):(o=c.expression,s=c);break;case 195:a(c.expression,i)?(o=e.createTempVariable(r),s=e.createElementAccess(e.setTextRange(e.createAssignment(o,c.expression),c.expression),c.argumentExpression),e.setTextRange(s,c)):(o=c.expression,s=c);break;default:o=e.createVoidZero(),s=m(t)}return{target:s,thisArg:o}},e.inlineExpressions=function(t){return t.length>10?e.createCommaList(t):e.reduceLeft(t,e.createComma)},e.createExpressionFromEntityName=function t(r){if(e.isQualifiedName(r)){var n=t(r.left),i=e.getMutableClone(r.right);return e.setTextRange(e.createPropertyAccess(n,i),r)}return e.getMutableClone(r)},e.createExpressionForPropertyName=o,e.createExpressionForObjectLiteralElementLike=function(r,n,i){switch(n.name&&e.isPrivateIdentifier(n.name)&&e.Debug.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 163:case 164:return function(t,r,n,i){var a=e.getAllAccessorDeclarations(t,r),s=a.firstAccessor,c=a.getAccessor,u=a.setAccessor;if(r===s){var l=[];if(c){var _=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(_,c),e.setOriginalNode(_,c);var d=e.createPropertyAssignment("get",_);l.push(d)}if(u){var p=e.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body);e.setTextRange(p,u),e.setOriginalNode(p,u);var f=e.createPropertyAssignment("set",p);l.push(f)}l.push(e.createPropertyAssignment("enumerable",e.createTrue())),l.push(e.createPropertyAssignment("configurable",e.createTrue()));var g=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[n,o(r.name),e.createObjectLiteral(l,i)]),s);return e.aggregateTransformFlags(g)}return}(r.properties,n,i,!!r.multiLine);case 281:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),r.initializer),r),r))}(n,i);case 282:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),e.getSynthesizedClone(r.name)),r),r))}(n,i);case 161:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(r.modifiers,r.asteriskToken,void 0,void 0,r.parameters,void 0,r.body),r),r)),r),r))}(n,i)}},e.getInternalName=function(e,t,r){return u(e,t,r,49152)},e.isInternalName=function(t){return 0!=(32768&e.getEmitFlags(t))},e.getLocalName=function(e,t,r){return u(e,t,r,16384)},e.isLocalName=function(t){return 0!=(16384&e.getEmitFlags(t))},e.getExportName=c,e.isExportName=function(t){return 0!=(8192&e.getEmitFlags(t))},e.getDeclarationName=function(e,t,r){return u(e,t,r)},e.getExternalModuleOrNamespaceExportName=function(t,r,n,i){return t&&e.hasModifier(r,1)?l(t,u(r),n,i):c(r,n,i)},e.getNamespaceMemberName=l,e.convertToFunctionBody=function(t,r){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],r),t)},e.convertFunctionDeclarationToExpression=function(t){if(!t.body)return e.Debug.fail();var r=e.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);return e.setOriginalNode(r,t),e.setTextRange(r,t),e.getStartsOnNewLine(t)&&e.setStartsOnNewLine(r,!0),e.aggregateTransformFlags(r),r},e.addPrologue=function(e,t,r,n){return p(e,t,d(e,t,r),n)},e.addStandardPrologue=d,e.addCustomPrologue=p,e.findUseStrictPrologue=f,e.startsWithUseStrict=function(t){var r=e.firstOrUndefined(t);return void 0!==r&&e.isPrologueDirective(r)&&_(r)},e.ensureUseStrict=function(t){return f(t)?t:e.setTextRange(e.createNodeArray(s([k(e.createStatement(e.createLiteral("use strict")))],t)),t)},e.parenthesizeBinaryOperand=function(t,r,n,i){return 200===e.skipPartiallyEmittedExpressions(r).kind?r:function(t,r,n,i){var a=e.getOperatorPrecedence(209,t),o=e.getOperatorAssociativity(209,t),s=e.skipPartiallyEmittedExpressions(r);if(!n&&202===r.kind&&a>3)return!0;var c=e.getExpressionPrecedence(s);switch(e.compareValues(c,a)){case-1:return!(!n&&1===o&&212===r.kind);case 1:return!1;case 0:if(n)return 1===o;if(e.isBinaryExpression(s)&&s.operatorToken.kind===t){if(function(e){return 41===e||51===e||50===e||52===e}(t))return!1;if(39===t){var u=i?g(i):0;if(e.isLiteralKind(u)&&u===g(s))return!1}}return 0===e.getExpressionAssociativity(s)}}(t,r,n,i)?e.createParen(r):r},e.parenthesizeForConditionalHead=function(t){var r=e.getOperatorPrecedence(210,57),n=e.skipPartiallyEmittedExpressions(t),i=e.getExpressionPrecedence(n);return 1!==e.compareValues(i,r)?e.createParen(t):t},e.parenthesizeSubexpressionOfConditionalExpression=function(t){return x(e.skipPartiallyEmittedExpressions(t))?e.createParen(t):t},e.parenthesizeDefaultExpression=function(t){var r=e.skipPartiallyEmittedExpressions(t),n=x(r);if(!n)switch(b(r,!1).kind){case 214:case 201:n=!0}return n?e.createParen(t):t},e.parenthesizeForNew=function(t){var r=b(t,!0);switch(r.kind){case 196:return e.createParen(t);case 197:return r.arguments?t:e.createParen(t)}return m(t)},e.parenthesizeForAccess=m,e.parenthesizePostfixOperand=function(t){return e.isLeftHandSideExpression(t)?t:e.setTextRange(e.createParen(t),t)},e.parenthesizePrefixOperand=function(t){return e.isUnaryExpression(t)?t:e.setTextRange(e.createParen(t),t)},e.parenthesizeListElements=function(t){for(var r,n=0;n=e.ModuleKind.ES2015&&c<=e.ModuleKind.ESNext){var u=e.getEmitHelpers(t);if(u){for(var l=[],_=0,d=u;_s-i)&&(a=s-i),(i>0||a0&&d<=152||183===d)return s;switch(d){case 75:return e.updateIdentifier(s,l(s.typeArguments,c,t));case 153:return e.updateQualifiedName(s,r(s.left,c,e.isEntityName),r(s.right,c,e.isIdentifier));case 154:return e.updateComputedPropertyName(s,r(s.expression,c,e.isExpression));case 155:return e.updateTypeParameterDeclaration(s,r(s.name,c,e.isIdentifier),r(s.constraint,c,e.isTypeNode),r(s.default,c,e.isTypeNode));case 156:return e.updateParameter(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.dotDotDotToken,_,e.isToken),r(s.name,c,e.isBindingName),r(s.questionToken,_,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 157:return e.updateDecorator(s,r(s.expression,c,e.isExpression));case 158:return e.updatePropertySignature(s,l(s.modifiers,c,e.isToken),r(s.name,c,e.isPropertyName),r(s.questionToken,_,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 159:return e.updateProperty(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),r(s.questionToken||s.exclamationToken,_,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 160:return e.updateMethodSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode),r(s.name,c,e.isPropertyName),r(s.questionToken,_,e.isToken));case 161:return e.updateMethod(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.asteriskToken,_,e.isToken),r(s.name,c,e.isPropertyName),r(s.questionToken,_,e.isToken),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 162:return e.updateConstructor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),a(s.parameters,c,u,l),o(s.body,c,u));case 163:return e.updateGetAccessor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 164:return e.updateSetAccessor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),a(s.parameters,c,u,l),o(s.body,c,u));case 165:return e.updateCallSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 166:return e.updateConstructSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 167:return e.updateIndexSignature(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 168:return e.updateTypePredicateNodeWithModifier(s,r(s.assertsModifier,c),r(s.parameterName,c),r(s.type,c,e.isTypeNode));case 169:return e.updateTypeReferenceNode(s,r(s.typeName,c,e.isEntityName),l(s.typeArguments,c,e.isTypeNode));case 170:return e.updateFunctionTypeNode(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 171:return e.updateConstructorTypeNode(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 172:return e.updateTypeQueryNode(s,r(s.exprName,c,e.isEntityName));case 173:return e.updateTypeLiteralNode(s,l(s.members,c,e.isTypeElement));case 174:return e.updateArrayTypeNode(s,r(s.elementType,c,e.isTypeNode));case 175:return e.updateTupleTypeNode(s,l(s.elementTypes,c,e.isTypeNode));case 176:return e.updateOptionalTypeNode(s,r(s.type,c,e.isTypeNode));case 177:return e.updateRestTypeNode(s,r(s.type,c,e.isTypeNode));case 178:return e.updateUnionTypeNode(s,l(s.types,c,e.isTypeNode));case 179:return e.updateIntersectionTypeNode(s,l(s.types,c,e.isTypeNode));case 180:return e.updateConditionalTypeNode(s,r(s.checkType,c,e.isTypeNode),r(s.extendsType,c,e.isTypeNode),r(s.trueType,c,e.isTypeNode),r(s.falseType,c,e.isTypeNode));case 181:return e.updateInferTypeNode(s,r(s.typeParameter,c,e.isTypeParameterDeclaration));case 188:return e.updateImportTypeNode(s,r(s.argument,c,e.isTypeNode),r(s.qualifier,c,e.isEntityName),n(s.typeArguments,c,e.isTypeNode),s.isTypeOf);case 182:return e.updateParenthesizedType(s,r(s.type,c,e.isTypeNode));case 184:return e.updateTypeOperatorNode(s,r(s.type,c,e.isTypeNode));case 185:return e.updateIndexedAccessTypeNode(s,r(s.objectType,c,e.isTypeNode),r(s.indexType,c,e.isTypeNode));case 186:return e.updateMappedTypeNode(s,r(s.readonlyToken,_,e.isToken),r(s.typeParameter,c,e.isTypeParameterDeclaration),r(s.questionToken,_,e.isToken),r(s.type,c,e.isTypeNode));case 187:return e.updateLiteralTypeNode(s,r(s.literal,c,e.isExpression));case 189:return e.updateObjectBindingPattern(s,l(s.elements,c,e.isBindingElement));case 190:return e.updateArrayBindingPattern(s,l(s.elements,c,e.isArrayBindingElement));case 191:return e.updateBindingElement(s,r(s.dotDotDotToken,_,e.isToken),r(s.propertyName,c,e.isPropertyName),r(s.name,c,e.isBindingName),r(s.initializer,c,e.isExpression));case 192:return e.updateArrayLiteral(s,l(s.elements,c,e.isExpression));case 193:return e.updateObjectLiteral(s,l(s.properties,c,e.isObjectLiteralElementLike));case 194:return 32&s.flags?e.updatePropertyAccessChain(s,r(s.expression,c,e.isExpression),r(s.questionDotToken,c,e.isToken),r(s.name,c,e.isIdentifier)):e.updatePropertyAccess(s,r(s.expression,c,e.isExpression),r(s.name,c,e.isIdentifierOrPrivateIdentifier));case 195:return 32&s.flags?e.updateElementAccessChain(s,r(s.expression,c,e.isExpression),r(s.questionDotToken,c,e.isToken),r(s.argumentExpression,c,e.isExpression)):e.updateElementAccess(s,r(s.expression,c,e.isExpression),r(s.argumentExpression,c,e.isExpression));case 196:return 32&s.flags?e.updateCallChain(s,r(s.expression,c,e.isExpression),r(s.questionDotToken,c,e.isToken),l(s.typeArguments,c,e.isTypeNode),l(s.arguments,c,e.isExpression)):e.updateCall(s,r(s.expression,c,e.isExpression),l(s.typeArguments,c,e.isTypeNode),l(s.arguments,c,e.isExpression));case 197:return e.updateNew(s,r(s.expression,c,e.isExpression),l(s.typeArguments,c,e.isTypeNode),l(s.arguments,c,e.isExpression));case 198:return e.updateTaggedTemplate(s,r(s.tag,c,e.isExpression),n(s.typeArguments,c,e.isExpression),r(s.template,c,e.isTemplateLiteral));case 199:return e.updateTypeAssertion(s,r(s.type,c,e.isTypeNode),r(s.expression,c,e.isExpression));case 200:return e.updateParen(s,r(s.expression,c,e.isExpression));case 201:return e.updateFunctionExpression(s,l(s.modifiers,c,e.isModifier),r(s.asteriskToken,_,e.isToken),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 202:return e.updateArrowFunction(s,l(s.modifiers,c,e.isModifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),r(s.equalsGreaterThanToken,c,e.isToken),o(s.body,c,u));case 203:return e.updateDelete(s,r(s.expression,c,e.isExpression));case 204:return e.updateTypeOf(s,r(s.expression,c,e.isExpression));case 205:return e.updateVoid(s,r(s.expression,c,e.isExpression));case 206:return e.updateAwait(s,r(s.expression,c,e.isExpression));case 207:return e.updatePrefix(s,r(s.operand,c,e.isExpression));case 208:return e.updatePostfix(s,r(s.operand,c,e.isExpression));case 209:return e.updateBinary(s,r(s.left,c,e.isExpression),r(s.right,c,e.isExpression),r(s.operatorToken,c,e.isToken));case 210:return e.updateConditional(s,r(s.condition,c,e.isExpression),r(s.questionToken,c,e.isToken),r(s.whenTrue,c,e.isExpression),r(s.colonToken,c,e.isToken),r(s.whenFalse,c,e.isExpression));case 211:return e.updateTemplateExpression(s,r(s.head,c,e.isTemplateHead),l(s.templateSpans,c,e.isTemplateSpan));case 212:return e.updateYield(s,r(s.asteriskToken,_,e.isToken),r(s.expression,c,e.isExpression));case 213:return e.updateSpread(s,r(s.expression,c,e.isExpression));case 214:return e.updateClassExpression(s,l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isClassElement));case 216:return e.updateExpressionWithTypeArguments(s,l(s.typeArguments,c,e.isTypeNode),r(s.expression,c,e.isExpression));case 217:return e.updateAsExpression(s,r(s.expression,c,e.isExpression),r(s.type,c,e.isTypeNode));case 218:return e.updateNonNullExpression(s,r(s.expression,c,e.isExpression));case 219:return e.updateMetaProperty(s,r(s.name,c,e.isIdentifier));case 221:return e.updateTemplateSpan(s,r(s.expression,c,e.isExpression),r(s.literal,c,e.isTemplateMiddleOrTemplateTail));case 223:return e.updateBlock(s,l(s.statements,c,e.isStatement));case 225:return e.updateVariableStatement(s,l(s.modifiers,c,e.isModifier),r(s.declarationList,c,e.isVariableDeclarationList));case 226:return e.updateExpressionStatement(s,r(s.expression,c,e.isExpression));case 227:return e.updateIf(s,r(s.expression,c,e.isExpression),r(s.thenStatement,c,e.isStatement,e.liftToBlock),r(s.elseStatement,c,e.isStatement,e.liftToBlock));case 228:return e.updateDo(s,r(s.statement,c,e.isStatement,e.liftToBlock),r(s.expression,c,e.isExpression));case 229:return e.updateWhile(s,r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 230:return e.updateFor(s,r(s.initializer,c,e.isForInitializer),r(s.condition,c,e.isExpression),r(s.incrementor,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 231:return e.updateForIn(s,r(s.initializer,c,e.isForInitializer),r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 232:return e.updateForOf(s,r(s.awaitModifier,c,e.isToken),r(s.initializer,c,e.isForInitializer),r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 233:return e.updateContinue(s,r(s.label,c,e.isIdentifier));case 234:return e.updateBreak(s,r(s.label,c,e.isIdentifier));case 235:return e.updateReturn(s,r(s.expression,c,e.isExpression));case 236:return e.updateWith(s,r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 237:return e.updateSwitch(s,r(s.expression,c,e.isExpression),r(s.caseBlock,c,e.isCaseBlock));case 238:return e.updateLabel(s,r(s.label,c,e.isIdentifier),r(s.statement,c,e.isStatement,e.liftToBlock));case 239:return e.updateThrow(s,r(s.expression,c,e.isExpression));case 240:return e.updateTry(s,r(s.tryBlock,c,e.isBlock),r(s.catchClause,c,e.isCatchClause),r(s.finallyBlock,c,e.isBlock));case 242:return e.updateTypeScriptVariableDeclaration(s,r(s.name,c,e.isBindingName),r(s.exclamationToken,_,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 243:return e.updateVariableDeclarationList(s,l(s.declarations,c,e.isVariableDeclaration));case 244:return e.updateFunctionDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.asteriskToken,_,e.isToken),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 245:return e.updateClassDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isClassElement));case 246:return e.updateInterfaceDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isTypeElement));case 247:return e.updateTypeAliasDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),r(s.type,c,e.isTypeNode));case 248:return e.updateEnumDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.members,c,e.isEnumMember));case 249:return e.updateModuleDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),r(s.body,c,e.isModuleBody));case 250:return e.updateModuleBlock(s,l(s.statements,c,e.isStatement));case 251:return e.updateCaseBlock(s,l(s.clauses,c,e.isCaseOrDefaultClause));case 252:return e.updateNamespaceExportDeclaration(s,r(s.name,c,e.isIdentifier));case 253:return e.updateImportEqualsDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),r(s.moduleReference,c,e.isModuleReference));case 254:return e.updateImportDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.importClause,c,e.isImportClause),r(s.moduleSpecifier,c,e.isExpression));case 255:return e.updateImportClause(s,r(s.name,c,e.isIdentifier),r(s.namedBindings,c,e.isNamedImportBindings),s.isTypeOnly);case 256:return e.updateNamespaceImport(s,r(s.name,c,e.isIdentifier));case 262:return e.updateNamespaceExport(s,r(s.name,c,e.isIdentifier));case 257:return e.updateNamedImports(s,l(s.elements,c,e.isImportSpecifier));case 258:return e.updateImportSpecifier(s,r(s.propertyName,c,e.isIdentifier),r(s.name,c,e.isIdentifier));case 259:return e.updateExportAssignment(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.expression,c,e.isExpression));case 260:return e.updateExportDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.exportClause,c,e.isNamedExportBindings),r(s.moduleSpecifier,c,e.isExpression),s.isTypeOnly);case 261:return e.updateNamedExports(s,l(s.elements,c,e.isExportSpecifier));case 263:return e.updateExportSpecifier(s,r(s.propertyName,c,e.isIdentifier),r(s.name,c,e.isIdentifier));case 265:return e.updateExternalModuleReference(s,r(s.expression,c,e.isExpression));case 266:return e.updateJsxElement(s,r(s.openingElement,c,e.isJsxOpeningElement),l(s.children,c,e.isJsxChild),r(s.closingElement,c,e.isJsxClosingElement));case 267:return e.updateJsxSelfClosingElement(s,r(s.tagName,c,e.isJsxTagNameExpression),l(s.typeArguments,c,e.isTypeNode),r(s.attributes,c,e.isJsxAttributes));case 268:return e.updateJsxOpeningElement(s,r(s.tagName,c,e.isJsxTagNameExpression),l(s.typeArguments,c,e.isTypeNode),r(s.attributes,c,e.isJsxAttributes));case 269:return e.updateJsxClosingElement(s,r(s.tagName,c,e.isJsxTagNameExpression));case 270:return e.updateJsxFragment(s,r(s.openingFragment,c,e.isJsxOpeningFragment),l(s.children,c,e.isJsxChild),r(s.closingFragment,c,e.isJsxClosingFragment));case 273:return e.updateJsxAttribute(s,r(s.name,c,e.isIdentifier),r(s.initializer,c,e.isStringLiteralOrJsxExpression));case 274:return e.updateJsxAttributes(s,l(s.properties,c,e.isJsxAttributeLike));case 275:return e.updateJsxSpreadAttribute(s,r(s.expression,c,e.isExpression));case 276:return e.updateJsxExpression(s,r(s.expression,c,e.isExpression));case 277:return e.updateCaseClause(s,r(s.expression,c,e.isExpression),l(s.statements,c,e.isStatement));case 278:return e.updateDefaultClause(s,l(s.statements,c,e.isStatement));case 279:return e.updateHeritageClause(s,l(s.types,c,e.isExpressionWithTypeArguments));case 280:return e.updateCatchClause(s,r(s.variableDeclaration,c,e.isVariableDeclaration),r(s.block,c,e.isBlock));case 281:return e.updatePropertyAssignment(s,r(s.name,c,e.isPropertyName),r(s.initializer,c,e.isExpression));case 282:return e.updateShorthandPropertyAssignment(s,r(s.name,c,e.isIdentifier),r(s.objectAssignmentInitializer,c,e.isExpression));case 283:return e.updateSpreadAssignment(s,r(s.expression,c,e.isExpression));case 284:return e.updateEnumMember(s,r(s.name,c,e.isPropertyName),r(s.initializer,c,e.isExpression));case 290:return e.updateSourceFileNode(s,i(s.statements,c,u));case 325:return e.updatePartiallyEmittedExpression(s,r(s.expression,c,e.isExpression));case 326:return e.updateCommaList(s,l(s.elements,c,e.isExpression));default:return s}}}}(p||(p={})),function(e){function t(e,t,r){return e?t(r,e):r}function r(e,t,r){return e?t(r,e):r}function n(n,i,a,o){if(void 0===n)return i;var s=o?r:e.reduceLeft,c=o||a,u=n.kind;if(u>0&&u<=152)return i;if(u>=168&&u<=187)return i;var l=i;switch(n.kind){case 222:case 224:case 215:case 241:case 324:break;case 153:l=t(n.left,a,l),l=t(n.right,a,l);break;case 154:l=t(n.expression,a,l);break;case 156:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 157:l=t(n.expression,a,l);break;case 158:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.questionToken,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 159:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 161:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 162:l=s(n.modifiers,c,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 163:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 164:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 189:case 190:l=s(n.elements,c,l);break;case 191:l=t(n.propertyName,a,l),l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 192:l=s(n.elements,c,l);break;case 193:l=s(n.properties,c,l);break;case 194:l=t(n.expression,a,l),l=t(n.name,a,l);break;case 195:l=t(n.expression,a,l),l=t(n.argumentExpression,a,l);break;case 196:case 197:l=t(n.expression,a,l),l=s(n.typeArguments,c,l),l=s(n.arguments,c,l);break;case 198:l=t(n.tag,a,l),l=s(n.typeArguments,c,l),l=t(n.template,a,l);break;case 199:l=t(n.type,a,l),l=t(n.expression,a,l);break;case 201:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 202:l=s(n.modifiers,c,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 200:case 203:case 204:case 205:case 206:case 212:case 213:case 218:l=t(n.expression,a,l);break;case 207:case 208:l=t(n.operand,a,l);break;case 209:l=t(n.left,a,l),l=t(n.right,a,l);break;case 210:l=t(n.condition,a,l),l=t(n.whenTrue,a,l),l=t(n.whenFalse,a,l);break;case 211:l=t(n.head,a,l),l=s(n.templateSpans,c,l);break;case 214:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 216:l=t(n.expression,a,l),l=s(n.typeArguments,c,l);break;case 217:l=t(n.expression,a,l),l=t(n.type,a,l);break;case 221:l=t(n.expression,a,l),l=t(n.literal,a,l);break;case 223:l=s(n.statements,c,l);break;case 225:l=s(n.modifiers,c,l),l=t(n.declarationList,a,l);break;case 226:l=t(n.expression,a,l);break;case 227:l=t(n.expression,a,l),l=t(n.thenStatement,a,l),l=t(n.elseStatement,a,l);break;case 228:l=t(n.statement,a,l),l=t(n.expression,a,l);break;case 229:case 236:l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 230:l=t(n.initializer,a,l),l=t(n.condition,a,l),l=t(n.incrementor,a,l),l=t(n.statement,a,l);break;case 231:case 232:l=t(n.initializer,a,l),l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 235:case 239:l=t(n.expression,a,l);break;case 237:l=t(n.expression,a,l),l=t(n.caseBlock,a,l);break;case 238:l=t(n.label,a,l),l=t(n.statement,a,l);break;case 240:l=t(n.tryBlock,a,l),l=t(n.catchClause,a,l),l=t(n.finallyBlock,a,l);break;case 242:l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 243:l=s(n.declarations,c,l);break;case 244:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 245:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 248:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.members,c,l);break;case 249:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.body,a,l);break;case 250:l=s(n.statements,c,l);break;case 251:l=s(n.clauses,c,l);break;case 253:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.moduleReference,a,l);break;case 254:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.importClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 255:l=t(n.name,a,l),l=t(n.namedBindings,a,l);break;case 256:case 262:l=t(n.name,a,l);break;case 257:case 261:l=s(n.elements,c,l);break;case 258:case 263:l=t(n.propertyName,a,l),l=t(n.name,a,l);break;case 259:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.expression,a,l);break;case 260:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.exportClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 265:l=t(n.expression,a,l);break;case 266:l=t(n.openingElement,a,l),l=e.reduceLeft(n.children,a,l),l=t(n.closingElement,a,l);break;case 270:l=t(n.openingFragment,a,l),l=e.reduceLeft(n.children,a,l),l=t(n.closingFragment,a,l);break;case 267:case 268:l=t(n.tagName,a,l),l=s(n.typeArguments,a,l),l=t(n.attributes,a,l);break;case 274:l=s(n.properties,c,l);break;case 269:l=t(n.tagName,a,l);break;case 273:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 275:case 276:l=t(n.expression,a,l);break;case 277:l=t(n.expression,a,l);case 278:l=s(n.statements,c,l);break;case 279:l=s(n.types,c,l);break;case 280:l=t(n.variableDeclaration,a,l),l=t(n.block,a,l);break;case 281:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 282:l=t(n.name,a,l),l=t(n.objectAssignmentInitializer,a,l);break;case 283:l=t(n.expression,a,l);break;case 284:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 290:l=s(n.statements,c,l);break;case 325:l=t(n.expression,a,l);break;case 326:l=s(n.elements,c,l)}return l}function i(t){if(void 0===t)return 0;if(536870912&t.transformFlags)return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind);var r=function(t){if(e.hasModifier(t,2)||e.isTypeNode(t)&&216!==t.kind)return 0;return n(t,0,a,o)}(t);return e.computeTransformFlagsForNode(t,r)}function a(e,t){return e|i(t)}function o(e,t){return e|function(e){if(void 0===e)return 0;for(var t=0,r=0,n=0,a=e;n=T,"generatedLine cannot backtrack"),e.Debug.assert(r>=0,"generatedCharacter cannot be negative"),_();for(var c,u=[],l=a(n.mappings),p=l.next();!p.done;p=l.next()){var f=p.value;if(s&&(f.generatedLine>s.line||f.generatedLine===s.line&&f.generatedCharacter>s.character))break;if(!o||!(f.generatedLine=T,"generatedLine cannot backtrack"),e.Debug.assert(r>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===n||n>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceCharacter cannot be negative"),_(),(function(e,t){return!P||T!==e||k!==t}(t,r)||function(e,t,r){return void 0!==e&&void 0!==t&&void 0!==r&&E===e&&(N>t||N===t&&A>r)}(n,i,a))&&(B(),T=t,k=r,w=!1,I=!1,P=!0),void 0!==n&&void 0!==i&&void 0!==a&&(E=n,N=i,A=a,w=!0,void 0!==o&&(F=o,I=!0)),d()}function B(){if(P&&(!C||v!==T||h!==k||b!==E||x!==N||D!==A||S!==F)){if(_(),v=e.length)return d("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(t=e.charCodeAt(n))>=65&&t<=90?t-65:t>=97&&t<=122?t-97+26:t>=48&&t<=57?t-48+52:43===t?62:47===t?63:-1;if(-1===o)return d("Invalid character in VLQ"),-1;r=0!=(32&o),a|=(31&o)<>=1:a=-(a>>=1),a}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(t){t<0?t=1+(-t<<1):t<<=1;var r,n="";do{var i=31&t;(t>>=5)>0&&(i|=32),n+=String.fromCharCode((r=i)>=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(r+": not a base64 value"))}while(t>0);return n}function c(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function u(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function l(t,r){return e.Debug.assert(t.sourceIndex===r.sourceIndex),e.compareValues(t.sourcePosition,r.sourcePosition)}function _(t,r){return e.compareValues(t.generatedPosition,r.generatedPosition)}function d(e){return e.sourcePosition}function p(e){return e.generatedPosition}e.getLineInfo=function(e,t){return{getLineCount:function(){return t.length},getLineText:function(r){return e.substring(t[r],t[r+1])}}},e.tryGetSourceMappingURL=function(e){for(var n=e.getLineCount()-1;n>=0;n--){var i=e.getLineText(n),a=t.exec(i);if(a)return a[1];if(!i.match(r))break}},e.isRawSourceMap=i,e.tryParseRawSourceMap=function(e){try{var t=JSON.parse(e);if(i(t))return t}catch(e){}},e.decodeMappings=a,e.sameMapping=function(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(t,r,n){var i,s,f,g=e.getDirectoryPath(n),m=r.sourceRoot?e.getNormalizedAbsolutePath(r.sourceRoot,g):g,y=e.getNormalizedAbsolutePath(r.file,g),v=t.getSourceFileLike(y),h=r.sources.map((function(t){return e.getNormalizedAbsolutePath(t,m)})),b=e.createMapFromEntries(h.map((function(e,r){return[t.getCanonicalFileName(e),r]})));return{getSourcePosition:function(t){var r=C();if(!e.some(r))return t;var n=e.binarySearchKey(r,t.pos,p,e.compareValues);n<0&&(n=~n);var i=r[n];if(void 0===i||!c(i))return t;return{fileName:h[i.sourceIndex],pos:i.sourcePosition}},getGeneratedPosition:function(r){var n=b.get(t.getCanonicalFileName(r.fileName));if(void 0===n)return r;var i=S(n);if(!e.some(i))return r;var a=e.binarySearchKey(i,r.pos,d,e.compareValues);a<0&&(a=~a);var o=i[a];if(void 0===o||o.sourceIndex!==n)return r;return{fileName:y,pos:o.generatedPosition}}};function x(n){var i,a,s=void 0!==v?e.getPositionOfLineAndCharacter(v,n.generatedLine,n.generatedCharacter,!0):-1;if(o(n)){var c=t.getSourceFileLike(h[n.sourceIndex]);i=r.sources[n.sourceIndex],a=void 0!==c?e.getPositionOfLineAndCharacter(c,n.sourceLine,n.sourceCharacter,!0):-1}return{generatedPosition:s,source:i,sourceIndex:n.sourceIndex,sourcePosition:a,nameIndex:n.nameIndex}}function D(){if(void 0===i){var n=a(r.mappings),o=e.arrayFrom(n,x);void 0!==n.error?(t.log&&t.log("Encountered error while decoding sourcemap: "+n.error),i=e.emptyArray):i=o}return i}function S(t){if(void 0===f){for(var r=[],n=0,i=D();n0&&i!==n.elements.length||!!(n.elements.length-i)&&e.isDefaultImport(t)}function i(t){return!n(t)&&(e.isDefaultImport(t)||!!t.importClause&&e.isNamedImports(t.importClause.namedBindings)&&function(t){return!!t&&(!!e.isNamedImports(t)&&e.some(t.elements,r))}(t.importClause.namedBindings))}function a(t,r,n){if(e.isBindingPattern(t.name))for(var i=0,o=t.name.elements;i=63&&e<=74},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 74:return 52}},e.addPrologueDirectivesAndInitialSuperCall=function(t,r,n){if(t.body){var i=t.body.statements,a=e.addPrologue(r,i,!1,n);if(a===i.length)return a;var o=e.findIndex(i,(function(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)}),a);if(o>-1){for(var s=a;s<=o;s++)r.push(e.visitNode(i[s],n,e.isStatement));return o+1}return a}return 0},e.helperString=function(e){for(var t=[],r=1;r=1)||24576&m.transformFlags||24576&e.getTargetOfBindingOrAssignmentElement(m).transformFlags||e.isComputedPropertyName(y)){u&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(u),s,c,o),u=void 0);var v=i(t,s,y);e.isComputedPropertyName(y)&&(l=e.append(l,v.argumentExpression)),n(t,m,v,m)}else u=e.append(u,e.visitNode(m,t.visitor))}}u&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(u),s,c,o)}(t,r,l,o,s):e.isArrayBindingOrAssignmentPattern(l)?function(t,r,i,o,s){var c,u,l=e.getElementsOfBindingOrAssignmentPattern(i),_=l.length;if(t.level<1&&t.downlevelIteration)o=a(t,e.createReadHelper(t.context,o,_>0&&e.getRestIndicatorOfBindingOrAssignmentElement(l[_-1])?void 0:_,s),!1,s);else if(1!==_&&(t.level<1||0===_)||e.every(l,e.isOmittedExpression)){var d=!e.isDeclarationBindingElement(r)||0!==_;o=a(t,o,d,s)}for(var p=0;p<_;p++){var f=l[p];if(t.level>=1)if(16384&f.transformFlags){var g=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(g),u=e.append(u,[g,f]),c=e.append(c,t.createArrayBindingOrAssignmentElement(g))}else c=e.append(c,f);else{if(e.isOmittedExpression(f))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(f)){if(p===_-1){m=e.createArraySlice(o,p);n(t,f,m,f)}}else{var m=e.createElementAccess(o,p);n(t,f,m,f)}}}c&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(c),o,s,i);if(u)for(var y=0,v=u;y0)return!0;var r=e.getFirstConstructorWithBody(t);if(r)return e.forEach(r.parameters,j);return!1})(t)&&(n|=2);e.childIsDecorated(t)&&(n|=4);Fe(t)?n|=8:!function(t){return Pe(t)&&e.hasModifier(t,512)}(t)?we(t)&&(n|=16):n|=32;D<=1&&7&n&&(n|=128);return n}(i,a);128&s&&t.startLexicalEnvironment();var c=i.name||(5&s?e.getGeneratedNameForNode(i):void 0),u=2&s?function(r,n){var i=e.moveRangePastDecorators(r),a=function(r){if(16777216&h.getNodeCheckFlags(r)){0==(1&d)&&(d|=1,t.enableSubstitution(75),p=[]);var n=e.createUniqueName(r.name&&!e.isGeneratedIdentifier(r.name)?e.idText(r.name):"default");return p[e.getOriginalNodeId(r)]=n,v(n),n}}(r),o=e.getLocalName(r,!1,!0),s=e.visitNodes(r.heritageClauses,N,e.isHeritageClause),c=U(r),u=e.createClassExpression(void 0,n,void 0,s,c);e.aggregateTransformFlags(u),e.setOriginalNode(u,r),e.setTextRange(u,i);var l=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,a?e.createAssignment(a,u):u)],1));return e.setOriginalNode(l,r),e.setTextRange(l,i),e.setCommentRange(l,r),l}(i,c):function(t,r,n){var i=128&n?void 0:e.visitNodes(t.modifiers,L,e.isModifier),a=e.createClassDeclaration(void 0,i,r,void 0,e.visitNodes(t.heritageClauses,N,e.isHeritageClause),U(t)),o=e.getEmitFlags(t);1&n&&(o|=32);return e.aggregateTransformFlags(a),e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}(i,c,s),l=[u];if(G(l,i,!1),G(l,i,!0),function(r,i){var a=function(r){var i=function(t){var r=t.decorators,n=q(e.getFirstConstructorWithBody(t));if(!r&&!n)return;return{decorators:r,parameters:n}}(r),a=H(r,r,i);if(!a)return;var o=p&&p[e.getOriginalNodeId(r)],s=e.getLocalName(r,!1,!0),c=n(t,a,s),u=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(u,1536),e.setSourceMapRange(u,e.moveRangePastDecorators(r)),u}(i);a&&r.push(e.setOriginalNode(e.createExpressionStatement(a),i))}(l,i),128&s){var _=e.createTokenRange(e.skipTrivia(r.text,i.members.end),19),f=e.getInternalName(i),g=e.createPartiallyEmittedExpression(f);g.end=_.end,e.setEmitFlags(g,1536);var m=e.createReturn(g);m.pos=_.pos,e.setEmitFlags(m,1920),l.push(m),e.insertStatementsAfterStandardPrologue(l,t.endLexicalEnvironment());var y=e.createImmediatelyInvokedArrowFunction(l);e.setEmitFlags(y,33554432);var b=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(i,!1,!1),void 0,y)]));e.setOriginalNode(b,i),e.setCommentRange(b,i),e.setSourceMapRange(b,e.moveRangePastDecorators(i)),e.startOnNewLine(b),l=[b]}8&s?Oe(l,i):(128&s||2&s)&&(32&s?l.push(e.createExportDefault(e.getLocalName(i,!1,!0))):16&s&&l.push(e.createExternalModuleExport(e.getLocalName(i,!1,!0))));l.length>1&&(l.push(e.createEndOfDeclarationMarker(i)),e.setEmitFlags(u,4194304|e.getEmitFlags(u)));return e.singleOrMany(l)}(i);case 214:return function(r){if(!z(r))return e.visitEachChild(r,N,t);var n=e.createClassExpression(void 0,r.name,void 0,e.visitNodes(r.heritageClauses,N,e.isHeritageClause),U(r));return e.aggregateTransformFlags(n),e.setOriginalNode(n,r),e.setTextRange(n,r),n}(i);case 279:return function(r){if(113===r.token)return;return e.visitEachChild(r,N,t)}(i);case 216:return function(t){return e.updateExpressionWithTypeArguments(t,void 0,e.visitNode(t.expression,N,e.isLeftHandSideExpression))}(i);case 161:return function(r){if(!de(r))return;var n=e.updateMethod(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,_e(r),void 0,void 0,e.visitParameterList(r.parameters,N,t),void 0,e.visitFunctionBody(r.body,N,t));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(i);case 163:return function(r){if(!me(r))return;var n=e.updateGetAccessor(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),_e(r),e.visitParameterList(r.parameters,N,t),void 0,e.visitFunctionBody(r.body,N,t)||e.createBlock([]));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(i);case 164:return function(r){if(!me(r))return;var n=e.updateSetAccessor(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),_e(r),e.visitParameterList(r.parameters,N,t),e.visitFunctionBody(r.body,N,t)||e.createBlock([]));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(i);case 244:return function(r){if(!de(r))return e.createNotEmittedStatement(r);var n=e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,N,t),void 0,e.visitFunctionBody(r.body,N,t)||e.createBlock([]));if(Fe(r)){var i=[n];return Oe(i,r),i}return n}(i);case 201:return function(r){if(!de(r))return e.createOmittedExpression();return e.updateFunctionExpression(r,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,N,t),void 0,e.visitFunctionBody(r.body,N,t)||e.createBlock([]))}(i);case 202:return function(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,L,e.isModifier),void 0,e.visitParameterList(r.parameters,N,t),void 0,r.equalsGreaterThanToken,e.visitFunctionBody(r.body,N,t))}(i);case 156:return function(t){if(e.parameterIsThisKeyword(t))return;var r=e.updateParameter(t,void 0,void 0,t.dotDotDotToken,e.visitNode(t.name,N,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,N,e.isExpression));r!==t&&(e.setCommentRange(r,t),e.setTextRange(r,e.moveRangePastModifiers(t)),e.setSourceMapRange(r,e.moveRangePastModifiers(t)),e.setEmitFlags(r.name,32));return r}(i);case 200:return function(n){var i=e.skipOuterExpressions(n.expression,-3);if(e.isAssertionExpression(i)){var a=e.visitNode(n.expression,N,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(a,r))?e.updateParen(n,a):e.createPartiallyEmittedExpression(a,n)}return e.visitEachChild(n,N,t)}(i);case 199:case 217:return function(t){var r=e.visitNode(t.expression,N,e.isExpression);return e.createPartiallyEmittedExpression(r,t)}(i);case 196:return function(t){return e.updateCall(t,e.visitNode(t.expression,N,e.isExpression),void 0,e.visitNodes(t.arguments,N,e.isExpression))}(i);case 197:return function(t){return e.updateNew(t,e.visitNode(t.expression,N,e.isExpression),void 0,e.visitNodes(t.arguments,N,e.isExpression))}(i);case 198:return function(t){return e.updateTaggedTemplate(t,e.visitNode(t.tag,N,e.isExpression),void 0,e.visitNode(t.template,N,e.isExpression))}(i);case 218:return function(t){var r=e.visitNode(t.expression,N,e.isLeftHandSideExpression);return e.createPartiallyEmittedExpression(r,t)}(i);case 248:return function(t){if(!function(t){return!e.isEnumConst(t)||b.preserveConstEnums||b.isolatedModules}(t))return e.createNotEmittedStatement(t);var n=[],i=2,a=De(n,t);a&&(S===e.ModuleKind.System&&c===r||(i|=512));var o=Re(t),u=Be(t),l=e.hasModifier(t,1)?e.getExternalModuleOrNamespaceExportName(s,t,!1,!0):e.getLocalName(t,!1,!0),_=e.createLogicalOr(l,e.createAssignment(l,e.createObjectLiteral()));if(he(t)){var d=e.getLocalName(t,!1,!0);_=e.createAssignment(d,_)}var p=e.createExpressionStatement(e.createCall(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,o)],void 0,function(t,r){var n=s;s=r;var i=[];g();var a=e.map(t.members,ve);return e.insertStatementsAfterStandardPrologue(i,y()),e.addRange(i,a),s=n,e.createBlock(e.setTextRange(e.createNodeArray(i),t.members),!0)}(t,u)),void 0,[_]));e.setOriginalNode(p,t),a&&(e.setSyntheticLeadingComments(p,void 0),e.setSyntheticTrailingComments(p,void 0));return e.setTextRange(p,t),e.addEmitFlags(p,i),n.push(p),n.push(e.createEndOfDeclarationMarker(t)),n}(i);case 225:return function(r){if(Fe(r)){var n=e.getInitializedVariables(r.declarationList);if(0===n.length)return;return e.setTextRange(e.createExpressionStatement(e.inlineExpressions(e.map(n,ye))),r)}return e.visitEachChild(r,N,t)}(i);case 242:return function(t){return e.updateTypeScriptVariableDeclaration(t,e.visitNode(t.name,N,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,N,e.isExpression))}(i);case 249:return Se(i);case 253:return Ae(i);default:return e.visitEachChild(i,N,t)}}function B(r){var n=e.getStrictOptionValue(b,"alwaysStrict")&&!(e.isExternalModule(r)&&S>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(r);return e.updateSourceFileNode(r,e.visitLexicalEnvironment(r.statements,F,t,0,n))}function j(e){return void 0!==e.decorators&&e.decorators.length>0}function J(e){return!!(2048&e.transformFlags)}function z(t){return e.some(t.decorators)||e.some(t.typeParameters)||e.some(t.heritageClauses,J)||e.some(t.members,J)}function U(t){var r=[],n=e.getFirstConstructorWithBody(t),i=n&&e.filter(n.parameters,(function(t){return e.isParameterPropertyDeclaration(t,n)}));if(i)for(var a=0,o=i;a0&&e.parameterIsThisKeyword(n[0]),a=i?1:0,o=i?n.length-1:n.length,s=0;s0?159===i.kind?e.createVoidZero():e.createNull():void 0,u=n(t,a,o,s,c,e.moveRangePastDecorators(i));return e.setEmitFlags(u,1536),u}}function X(t){return e.visitNode(t.expression,N,e.isExpression)}function Y(r,n){var i;if(r){i=[];for(var o=0,s=r;o= 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 };"}}(p||(p={})),function(e){var t,r;function n(t,r,n){return t.requestEmitHelper(e.classPrivateFieldGetHelper),e.createCall(e.getUnscopedHelperName("__classPrivateFieldGet"),void 0,[r,n])}function i(t,r,n,i){return t.requestEmitHelper(e.classPrivateFieldSetHelper),e.createCall(e.getUnscopedHelperName("__classPrivateFieldSet"),void 0,[r,n,i])}!function(e){e[e.ClassAliases=1]="ClassAliases"}(t||(t={})),function(e){e[e.InstanceField=0]="InstanceField"}(r||(r={})),e.transformClassFields=function(t){var r,a,o,c,u=t.hoistVariableDeclaration,l=t.endLexicalEnvironment,_=t.resumeLexicalEnvironment,d=t.getEmitResolver(),p=t.getCompilerOptions(),f=e.getEmitScriptTarget(p),g=f<99,m=t.onSubstituteNode;t.onSubstituteNode=function(t,n){if(n=m(t,n),1===t)return function(t){switch(t.kind){case 75:return function(t){return function(t){if(1&r&&33554432&d.getNodeCheckFlags(t)){var n=d.getReferencedValueDeclaration(t);if(n){var i=a[n.id];if(i){var o=e.getSynthesizedClone(i);return e.setSourceMapRange(o,t),e.setCommentRange(o,t),o}}}return}(t)||t}(t)}return t}(n);return n};var y,v=[];return e.chainBundle((function(r){var n=t.getCompilerOptions();if(r.isDeclarationFile||n.useDefineForClassFields&&99===n.target)return r;var i=e.visitEachChild(r,h,t);return e.addEmitHelpers(i,t.readEmitHelpers()),i}));function h(n){if(!(4194304&n.transformFlags))return n;switch(n.kind){case 214:case 245:return function(n){var i=o;o=void 0,g&&(v.push(y),y=void 0);var s=e.isClassDeclaration(n)?function(r){if(!e.forEach(r.members,N))return e.visitEachChild(r,h,t);var n=e.getEffectiveBaseTypeNode(r),i=!(!n||100===e.skipOuterExpressions(n.expression).kind),a=[e.updateClassDeclaration(r,void 0,r.modifiers,r.name,void 0,e.visitNodes(r.heritageClauses,h,e.isHeritageClause),A(r,i))];e.some(o)&&a.push(e.createExpressionStatement(e.inlineExpressions(o)));var s=e.getProperties(r,!0,!0);e.some(s)&&P(a,s,e.getInternalName(r));return a}(n):function(n){if(!e.forEach(n.members,N))return e.visitEachChild(n,h,t);var i=e.isClassDeclaration(e.getOriginalNode(n)),s=e.getProperties(n,!0,!0),l=e.getEffectiveBaseTypeNode(n),_=!(!l||100===e.skipOuterExpressions(l.expression).kind),p=e.updateClassExpression(n,n.modifiers,n.name,void 0,e.visitNodes(n.heritageClauses,h,e.isHeritageClause),A(n,_));if(e.some(s)||e.some(o)){if(i)return e.Debug.assertDefined(c,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),c&&o&&e.some(o)&&c.push(e.createExpressionStatement(e.inlineExpressions(o))),c&&e.some(s)&&P(c,s,e.getInternalName(n)),p;var f=[],g=16777216&d.getNodeCheckFlags(n),m=e.createTempVariable(u,!!g);if(g){0==(1&r)&&(r|=1,t.enableSubstitution(75),a=[]);var y=e.getSynthesizedClone(m);y.autoGenerateFlags&=-9,a[e.getOriginalNodeId(n)]=y}return e.setEmitFlags(p,65536|e.getEmitFlags(p)),f.push(e.startOnNewLine(e.createAssignment(m,p))),e.addRange(f,e.map(o,e.startOnNewLine)),e.addRange(f,function(t,r){for(var n=[],i=0,a=t;is&&(a||e.addRange(c,e.visitNodes(n.body.statements,h,e.isStatement,s,u-s)),s=u)}P(c,o,e.createThis()),n&&e.addRange(c,e.visitNodes(n.body.statements,h,e.isStatement,s));return c=e.mergeLexicalEnvironment(c,l()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(c),n?n.body.statements:r.members),!0),n?n.body:void 0)}(r,i,n);if(!s)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,o,s),i||r),i))}(r,n);return c&&s.push(c),e.addRange(s,e.visitNodes(r.members,x,e.isClassElement)),e.setTextRange(e.createNodeArray(s),r.members)}function F(r){return!(!e.isPropertyDeclaration(r)||e.hasStaticModifier(r))&&(t.getCompilerOptions().useDefineForClassFields?f<99:e.isInitializedProperty(r)||g&&e.isPrivateIdentifierPropertyDeclaration(r))}function P(t,r,n){for(var i=0,a=r;i=0;--t){var r,n=v[t];if(n)if(r=n.get(e.escapedText))return r}}function M(r){var n=e.getGeneratedNameForNode(r),i=O(r.name);if(!i)return e.visitEachChild(r,h,t);var a=r.expression;return(e.isThisProperty(r)||e.isSuperProperty(r)||!e.isSimpleCopiableExpression(r.expression))&&((a=e.createTempVariable(u)).autoGenerateFlags|=8,(o||(o=[])).push(e.createBinary(a,62,r.expression))),e.createPropertyAccess(e.createParen(e.createObjectLiteral([e.createSetAccessor(void 0,void 0,"value",[e.createParameter(void 0,void 0,void 0,n,void 0,void 0,void 0)],e.createBlock([e.createExpressionStatement(E(i,a,n,62))]))])),"value")}function L(t){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=M(r);return e.isAssignmentExpression(t)?e.updateBinary(t,n,e.visitNode(t.right,h,e.isExpression),t.operatorToken):e.isSpreadElement(t)?e.updateSpread(t,n):n}return e.visitNode(t,b)}function R(t){if(e.isPropertyAssignment(t)){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=e.getInitializerOfBindingOrAssignmentElement(t),i=M(r);return e.updatePropertyAssignment(t,e.visitNode(t.name,h),n?e.createAssignment(i,e.visitNode(n,h)):i)}return e.updatePropertyAssignment(t,e.visitNode(t.name,h),e.visitNode(t.initializer,b))}return e.visitNode(t,h)}},e.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n };'}}(p||(p={})),function(e){var t,r;function n(t,r,n){var i=0!=(4096&t.getNodeCheckFlags(r)),a=[];return n.forEach((function(t,r){var n=e.unescapeLeadingUnderscores(r),o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),n),4)))),i&&o.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameter(void 0,void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(e.setEmitFlags(e.createPropertyAccess(e.setEmitFlags(e.createSuper(),4),n),4),e.createIdentifier("v"))))),a.push(e.createPropertyAssignment(n,e.createObjectLiteral(o)))})),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_super"),void 0,e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteral(a,!0)]))],2))}function i(t,r,n,i,a){t.requestEmitHelper(e.awaiterHelper);var o=e.createFunctionExpression(void 0,e.createToken(41),void 0,void 0,[],void 0,a);return(o.emitNode||(o.emitNode={})).flags|=786432,e.createCall(e.getUnscopedHelperName("__awaiter"),void 0,[r?e.createThis():e.createVoidZero(),n?e.createIdentifier("arguments"):e.createVoidZero(),i?e.createExpressionFromEntityName(i):e.createVoidZero(),o])}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),function(e){e[e.NonTopLevel=1]="NonTopLevel",e[e.HasLexicalThis=2]="HasLexicalThis"}(r||(r={})),e.transformES2017=function(t){var r,a,o,c,u=t.resumeLexicalEnvironment,l=t.endLexicalEnvironment,_=t.hoistVariableDeclaration,d=t.getEmitResolver(),p=t.getCompilerOptions(),f=e.getEmitScriptTarget(p),g=0,m=[],y=0,v=t.onEmitNode,h=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){if(1&r&&function(e){var t=e.kind;return 245===t||162===t||161===t||163===t||164===t}(n)){var a=6144&d.getNodeCheckFlags(n);if(a!==g){var o=g;return g=a,v(t,n,i),void(g=o)}}else if(r&&m[e.getNodeId(n)]){o=g;return g=0,v(t,n,i),void(g=o)}v(t,n,i)},t.onSubstituteNode=function(t,r){if(r=h(t,r),1===t&&g)return function(t){switch(t.kind){case 194:return j(t);case 195:return J(t);case 196:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?j(r):J(r);return e.createCall(e.createPropertyAccess(n,"call"),void 0,s([e.createThis()],t.arguments))}return t}(t)}return t}(r);return r},e.chainBundle((function(r){if(r.isDeclarationFile)return r;b(1,!1),b(2,!e.isEffectiveStrictModeSourceFile(r,p));var n=e.visitEachChild(r,T,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function b(e,t){y=t?y|e:y&~e}function x(e){return 0!=(y&e)}function D(){return x(2)}function S(e,t,r){var n=e&~y;if(n){b(n,!0);var i=t(r);return b(n,!1),i}return t(r)}function C(r){return e.visitEachChild(r,T,t)}function T(r){if(0==(64&r.transformFlags))return r;switch(r.kind){case 126:return;case 206:return function(r){if(!x(1))return e.visitEachChild(r,T,t);return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.visitNode(r.expression,T,e.isExpression)),r),r)}(r);case 161:return S(3,E,r);case 244:return S(3,N,r);case 201:return S(3,A,r);case 202:return S(1,F,r);case 194:return o&&e.isPropertyAccessExpression(r)&&102===r.expression.kind&&o.set(r.name.escapedText,!0),e.visitEachChild(r,T,t);case 195:return o&&102===r.expression.kind&&(c=!0),e.visitEachChild(r,T,t);case 163:case 164:case 162:case 245:case 214:return S(3,C,r);default:return e.visitEachChild(r,T,t)}}function k(r){if(e.isNodeWithPossibleHoistedDeclaration(r))switch(r.kind){case 225:return function(r){if(w(r.declarationList)){var n=I(r.declarationList,!1);return n?e.createExpressionStatement(n):void 0}return e.visitEachChild(r,T,t)}(r);case 230:return function(t){var r=t.initializer;return e.updateFor(t,w(r)?I(r,!1):e.visitNode(t.initializer,T,e.isForInitializer),e.visitNode(t.condition,T,e.isExpression),e.visitNode(t.incrementor,T,e.isExpression),e.visitNode(t.statement,k,e.isStatement,e.liftToBlock))}(r);case 231:return function(t){return e.updateForIn(t,w(t.initializer)?I(t.initializer,!0):e.visitNode(t.initializer,T,e.isForInitializer),e.visitNode(t.expression,T,e.isExpression),e.visitNode(t.statement,k,e.isStatement,e.liftToBlock))}(r);case 232:return function(t){return e.updateForOf(t,e.visitNode(t.awaitModifier,T,e.isToken),w(t.initializer)?I(t.initializer,!0):e.visitNode(t.initializer,T,e.isForInitializer),e.visitNode(t.expression,T,e.isExpression),e.visitNode(t.statement,k,e.isStatement,e.liftToBlock))}(r);case 280:return function(r){var n,i=e.createUnderscoreEscapedMap();if(P(r.variableDeclaration,i),i.forEach((function(t,r){a.has(r)&&(n||(n=e.cloneMap(a)),n.delete(r))})),n){var o=a;a=n;var s=e.visitEachChild(r,k,t);return a=o,s}return e.visitEachChild(r,k,t)}(r);case 223:case 237:case 251:case 277:case 278:case 240:case 228:case 229:case 227:case 236:case 238:return e.visitEachChild(r,k,t);default:return e.Debug.assertNever(r,"Unhandled node.")}return T(r)}function E(r){return e.updateMethod(r,void 0,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?R(r):e.visitFunctionBody(r.body,T,t))}function N(r){return e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?R(r):e.visitFunctionBody(r.body,T,t))}function A(r){return e.updateFunctionExpression(r,e.visitNodes(r.modifiers,T,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,2&e.getFunctionFlags(r)?R(r):e.visitFunctionBody(r.body,T,t))}function F(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,T,e.isModifier),void 0,e.visitParameterList(r.parameters,T,t),void 0,r.equalsGreaterThanToken,2&e.getFunctionFlags(r)?R(r):e.visitFunctionBody(r.body,T,t))}function P(t,r){var n=t.name;if(e.isIdentifier(n))r.set(n.escapedText,!0);else for(var i=0,a=n.elements;i=2&&6144&d.getNodeCheckFlags(s);if(F&&(0==(1&r)&&(r|=1,t.enableSubstitution(196),t.enableSubstitution(194),t.enableSubstitution(195),t.enableEmitNotification(245),t.enableEmitNotification(161),t.enableEmitNotification(163),t.enableEmitNotification(164),t.enableEmitNotification(162),t.enableEmitNotification(225)),e.hasEntries(o))){var w=n(d,s,o);m[e.getNodeId(w)]=!0,e.insertStatementsAfterStandardPrologue(N,[w])}var I=e.createBlock(N,!0);e.setTextRange(I,s.body),F&&c&&(4096&d.getNodeCheckFlags(s)?e.addEmitHelper(I,e.advancedAsyncSuperHelper):2048&d.getNodeCheckFlags(s)&&e.addEmitHelper(I,e.asyncSuperHelper)),x=I}return a=v,g||(o=S,c=C),x}function B(t,r){return e.isBlock(t)?e.updateBlock(t,e.visitNodes(t.statements,k,e.isStatement,r)):e.convertToFunctionBody(e.visitNode(t,k,e.isConciseBody))}function j(t){return 102===t.expression.kind?e.setTextRange(e.createPropertyAccess(e.createFileLevelUniqueName("_super"),t.name),t):t}function J(t){return 102===t.expression.kind?(r=t.argumentExpression,n=t,4096&g?e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[r]),"value"),n):e.setTextRange(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[r]),n)):t;var r,n}},e.createSuperAccessVariableStatement=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.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e.helperString(l(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e.helperString(l(["\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")}}(p||(p={})),function(e){var t;function r(t,r){return t.getCompilerOptions().target>=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,r):(t.requestEmitHelper(e.assignHelper),e.createCall(e.getUnscopedHelperName("__assign"),void 0,r))}function n(t,r){return t.requestEmitHelper(e.awaitHelper),e.createCall(e.getUnscopedHelperName("__await"),void 0,[r])}function i(t,r,n){return t.requestEmitHelper(e.asyncValues),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncValues"),void 0,[r]),n)}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),e.transformES2018=function(t){var a=t.resumeLexicalEnvironment,o=t.endLexicalEnvironment,c=t.hoistVariableDeclaration,u=t.getEmitResolver(),l=t.getCompilerOptions(),_=e.getEmitScriptTarget(l),d=t.onEmitNode;t.onEmitNode=function(t,r,n){if(1&f&&function(e){var t=e.kind;return 245===t||162===t||161===t||163===t||164===t}(r)){var i=6144&u.getNodeCheckFlags(r);if(i!==b){var a=b;return b=i,d(t,r,n),void(b=a)}}else if(f&&x[e.getNodeId(r)]){a=b;return b=0,d(t,r,n),void(b=a)}d(t,r,n)};var p=t.onSubstituteNode;t.onSubstituteNode=function(t,r){if(r=p(t,r),1===t&&b)return function(t){switch(t.kind){case 194:return J(t);case 195:return z(t);case 196:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?J(r):z(r);return e.createCall(e.createPropertyAccess(n,"call"),void 0,s([e.createThis()],t.arguments))}return t}(t)}return t}(r);return r};var f,g,m,y,v,h=!1,b=0,x=[];return e.chainBundle((function(r){if(r.isDeclarationFile)return r;h=!1,m=!e.isEffectiveStrictModeSourceFile(r,l);var n=e.visitEachChild(r,D,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function D(e){return E(e,!1)}function S(e){return E(e,!0)}function C(e){if(126!==e.kind)return e}function T(e,t){if(!m){m=!0;var r=e(t);return m=!1,r}return e(t)}function k(r){return e.visitEachChild(r,D,t)}function E(a,o){if(0==(32&a.transformFlags))return a;switch(a.kind){case 206:return function(r){if(2&g&&1&g)return e.setOriginalNode(e.setTextRange(e.createYield(n(t,e.visitNode(r.expression,D,e.isExpression))),r),r);return e.visitEachChild(r,D,t)}(a);case 212:return function(r){if(2&g&&1&g){if(r.asteriskToken){var a=e.visitNode(r.expression,D,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(n(t,e.updateYield(r,r.asteriskToken,function(t,r,n){return t.requestEmitHelper(e.awaitHelper),t.requestEmitHelper(e.asyncDelegator),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncDelegator"),void 0,[r]),n)}(t,i(t,a,a),a)))),r),r)}return e.setOriginalNode(e.setTextRange(e.createYield(F(r.expression?e.visitNode(r.expression,D,e.isExpression):e.createVoidZero())),r),r)}return e.visitEachChild(r,D,t)}(a);case 235:return function(r){if(2&g&&1&g)return e.updateReturn(r,F(r.expression?e.visitNode(r.expression,D,e.isExpression):e.createVoidZero()));return e.visitEachChild(r,D,t)}(a);case 238:return function(r){if(2&g){var n=e.unwrapInnermostStatementOfLabel(r);return 232===n.kind&&n.awaitModifier?A(n,r):e.restoreEnclosingLabel(e.visitEachChild(n,D,t),r)}return e.visitEachChild(r,D,t)}(a);case 193:return function(n){if(16384&n.transformFlags){var i=function(t){for(var r,n=[],i=0,a=t;i1){for(var o=1;o=2&&6144&u.getNodeCheckFlags(r);if(d){0==(1&f)&&(f|=1,t.enableSubstitution(196),t.enableSubstitution(194),t.enableSubstitution(195),t.enableEmitNotification(245),t.enableEmitNotification(161),t.enableEmitNotification(163),t.enableEmitNotification(164),t.enableEmitNotification(162),t.enableEmitNotification(225));var p=e.createSuperAccessVariableStatement(u,r,y);x[e.getNodeId(p)]=!0,e.insertStatementsAfterStandardPrologue(n,[p])}n.push(l),e.insertStatementsAfterStandardPrologue(n,o());var g=e.updateBlock(r.body,n);return d&&v&&(4096&u.getNodeCheckFlags(r)?e.addEmitHelper(g,e.advancedAsyncSuperHelper):2048&u.getNodeCheckFlags(r)&&e.addEmitHelper(g,e.asyncSuperHelper)),y=s,v=c,g}function B(t){a();var r=0,n=[],i=e.visitNode(t.body,D,e.isConciseBody);e.isBlock(i)&&(r=e.addPrologue(n,i.statements,!1,D)),e.addRange(n,j(void 0,t));var s=o();if(r>0||e.some(n)||e.some(s)){var c=e.convertToFunctionBody(i,!0);return e.insertStatementsAfterStandardPrologue(n,s),e.addRange(n,c.statements.slice(r)),e.updateBlock(c,e.setTextRange(e.createNodeArray(n),c.statements))}return i}function j(r,n){for(var i=0,a=n.parameters;i 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,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 };'}}(p||(p={})),function(e){e.transformES2019=function(t){return e.chainBundle((function(n){if(n.isDeclarationFile)return n;return e.visitEachChild(n,r,t)}));function r(n){if(0==(16&n.transformFlags))return n;switch(n.kind){case 280:return function(n){if(!n.variableDeclaration)return e.updateCatchClause(n,e.createVariableDeclaration(e.createTempVariable(void 0)),e.visitNode(n.block,r,e.isBlock));return e.visitEachChild(n,r,t)}(n);default:return e.visitEachChild(n,r,t)}}}}(p||(p={})),function(e){e.transformES2020=function(t){var r=t.hoistVariableDeclaration;return e.chainBundle((function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,n,t)}));function n(c){if(0==(8&c.transformFlags))return c;switch(c.kind){case 194:case 195:case 196:if(32&c.flags){var u=a(c,!1,!1);return e.Debug.assertNotNode(u,e.isSyntheticReference),u}return e.visitEachChild(c,n,t);case 209:return 60===c.operatorToken.kind?function(t){var i=e.visitNode(t.left,n,e.isExpression),a=i;s(i)&&(a=e.createTempVariable(r),i=e.createAssignment(a,i));return e.createConditional(o(i,a),a,e.visitNode(t.right,n,e.isExpression))}(c):e.visitEachChild(c,n,t);case 203:return function(t){return e.isOptionalChain(e.skipParentheses(t.expression))?e.setOriginalNode(i(t.expression,!1,!0),t):e.updateDelete(t,e.visitNode(t.expression,n,e.isExpression))}(c);default:return e.visitEachChild(c,n,t)}}function i(o,c,u){switch(o.kind){case 200:return function(t,r,n){var a=i(t.expression,r,n);return e.isSyntheticReference(a)?e.createSyntheticReferenceExpression(e.updateParen(t,a.expression),a.thisArg):e.updateParen(t,a)}(o,c,u);case 194:case 195:return function(t,i,o){if(e.isOptionalChain(t))return a(t,i,o);var c,u=e.visitNode(t.expression,n,e.isExpression);return e.Debug.assertNotNode(u,e.isSyntheticReference),i&&(s(u)?(c=e.createTempVariable(r),u=e.createAssignment(c,u)):c=u),u=194===t.kind?e.updatePropertyAccess(t,u,e.visitNode(t.name,n,e.isIdentifier)):e.updateElementAccess(t,u,e.visitNode(t.argumentExpression,n,e.isExpression)),c?e.createSyntheticReferenceExpression(u,c):u}(o,c,u);case 196:return function(r,i){return e.isOptionalChain(r)?a(r,i,!1):e.visitEachChild(r,n,t)}(o,c);default:return e.visitNode(o,n,e.isExpression)}}function a(t,a,c){var u=function(t){for(var r=[t];!t.questionDotToken&&!e.isTaggedTemplateExpression(t);)t=e.cast(t.expression,e.isOptionalChain),r.unshift(t);return{expression:t.expression,chain:r}}(t),l=u.expression,_=u.chain,d=i(l,e.isCallChain(_[0]),!1),p=e.isSyntheticReference(d)?d.thisArg:void 0,f=e.isSyntheticReference(d)?d.expression:d,g=f;s(f)&&(g=e.createTempVariable(r),f=e.createAssignment(g,f));for(var m,y=g,v=0;v<_.length;v++){var h=_[v];switch(h.kind){case 194:case 195:v===_.length-1&&a&&(s(y)?(m=e.createTempVariable(r),y=e.createAssignment(m,y)):m=y),y=194===h.kind?e.createPropertyAccess(y,e.visitNode(h.name,n,e.isIdentifier)):e.createElementAccess(y,e.visitNode(h.argumentExpression,n,e.isExpression));break;case 196:y=0===v&&p?e.createFunctionCall(y,102===p.kind?e.createThis():p,e.visitNodes(h.arguments,n,e.isExpression)):e.createCall(y,void 0,e.visitNodes(h.arguments,n,e.isExpression))}e.setOriginalNode(y,h)}var b=c?e.createConditional(o(f,g,!0),e.createTrue(),e.createDelete(y)):e.createConditional(o(f,g,!0),e.createVoidZero(),y);return m?e.createSyntheticReferenceExpression(b,m):b}function o(t,r,n){return e.createBinary(e.createBinary(t,e.createToken(n?36:37),e.createNull()),e.createToken(n?56:55),e.createBinary(r,e.createToken(n?36:37),e.createVoidZero()))}function s(t){return!e.isIdentifier(t)&&104!==t.kind&&102!==t.kind}}}(p||(p={})),function(e){e.transformESNext=function(t){return e.chainBundle((function(n){if(n.isDeclarationFile)return n;return e.visitEachChild(n,r,t)}));function r(n){return 0==(4&n.transformFlags)?n:(n.kind,e.visitEachChild(n,r,t))}}}(p||(p={})),function(e){e.transformJsx=function(r){var n,i=r.getCompilerOptions();return e.chainBundle((function(t){if(t.isDeclarationFile)return t;n=t;var i=e.visitEachChild(t,a,r);return e.addEmitHelpers(i,r.readEmitHelpers()),i}));function a(t){return 2&t.transformFlags?function(t){switch(t.kind){case 266:return s(t,!1);case 267:return c(t,!1);case 270:return u(t,!1);case 276:return g(t);default:return e.visitEachChild(t,a,r)}}(t):t}function o(t){switch(t.kind){case 11:return function(t){var r=function(t){for(var r,n=0,i=-1,a=0;a=t.end)return!1;var i=e.getEnclosingBlockScopeContainer(t);for(;n;){if(n===i||n===t)return!1;if(e.isClassElement(n)&&n.parent===t)return!0;n=n.parent}return!1}(r,t)))return e.setTextRange(e.getGeneratedNameForNode(e.getNameOfDeclaration(r)),t)}return t}(t);case 104:return function(t){if(1&c&&16&i)return e.setTextRange(e.createFileLevelUniqueName("_this"),t);return t}(t)}return t}(r);if(e.isIdentifier(r))return function(t){if(2&c&&!e.isInternalName(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r&&function(e){switch(e.parent.kind){case 191:case 245:case 248:case 242:return e.parent.name===e&&f.isDeclarationWithCollidingName(e.parent)}return!1}(r))return e.setTextRange(e.getGeneratedNameForNode(r),t)}return t}(r);return r},e.chainBundle((function(o){if(o.isDeclarationFile)return o;r=o,n=o.text;var s=function(t){var r=y(8064,64),n=[],i=[];u();var o=e.addStandardPrologue(n,t.statements,!1);o=e.addCustomPrologue(n,t.statements,o,b),e.addRange(i,e.visitNodes(t.statements,b,e.isStatement,o)),a&&i.push(e.createVariableStatement(void 0,e.createVariableDeclarationList(a)));return e.mergeLexicalEnvironment(n,_()),P(n,t),v(r,0,0),e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray(e.concatenate(n,i)),t.statements))}(o);return e.addEmitHelpers(s,t.readEmitHelpers()),r=void 0,n=void 0,a=void 0,i=0,s}));function y(e,t){var r=i;return i=16383&(i&~e|t),r}function v(e,t,r){i=-16384&(i&~t|r)|e}function h(e){return 0!=(8192&i)&&235===e.kind&&!e.expression}function b(n){return function(t){return 0!=(256&t.transformFlags)||void 0!==o||8192&i&&(e.isStatement(t)||223===t.kind)||e.isIterationStatement(t,!1)&&ie(t)||0!=(33554432&e.getEmitFlags(t))}(n)?function(n){switch(n.kind){case 120:return;case 245:return function(t){var r=e.createVariableDeclaration(e.getLocalName(t,!0),void 0,S(t));e.setOriginalNode(r,t);var n=[],i=e.createVariableStatement(void 0,e.createVariableDeclarationList([r]));if(e.setOriginalNode(i,t),e.setTextRange(i,t),e.startOnNewLine(i),n.push(i),e.hasModifier(t,1)){var a=e.hasModifier(t,512)?e.createExportDefault(e.getLocalName(t)):e.createExternalModuleExport(e.getLocalName(t));e.setOriginalNode(a,i),n.push(a)}var o=e.getEmitFlags(t);0==(4194304&o)&&(n.push(e.createEndOfDeclarationMarker(t)),e.setEmitFlags(i,4194304|o));return e.singleOrMany(n)}(n);case 214:return function(e){return S(e)}(n);case 156:return function(t){return t.dotDotDotToken?void 0:e.isBindingPattern(t.name)?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,e.getGeneratedNameForNode(t),void 0,void 0,void 0),t),t):t.initializer?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,t.name,void 0,void 0,void 0),t),t):t}(n);case 244:return function(r){var n=o;o=void 0;var a=y(16286,65),s=e.visitParameterList(r.parameters,b,t),c=j(r),u=16384&i?e.getLocalName(r):r.name;return v(a,49152,0),o=n,e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,b,e.isModifier),r.asteriskToken,u,void 0,s,void 0,c)}(n);case 202:return function(r){4096&r.transformFlags&&(i|=32768);var n=o;o=void 0;var a=y(15232,66),s=e.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(r.parameters,b,t),void 0,j(r));e.setTextRange(s,r),e.setOriginalNode(s,r),e.setEmitFlags(s,8),32768&i&&Ne();return v(a,0,0),o=n,s}(n);case 201:return function(r){var n=262144&e.getEmitFlags(r)?y(16278,69):y(16286,65),a=o;o=void 0;var s=e.visitParameterList(r.parameters,b,t),c=j(r),u=16384&i?e.getLocalName(r):r.name;return v(n,49152,0),o=a,e.updateFunctionExpression(r,void 0,r.asteriskToken,u,void 0,s,void 0,c)}(n);case 242:return K(n);case 75:return function(t){if(!o)return t;if(e.isGeneratedIdentifier(t))return t;if("arguments"!==t.escapedText||!f.isArgumentsLocalBinding(t))return t;return o.argumentsName||(o.argumentsName=e.createUniqueName("arguments"))}(n);case 243:return function(r){if(3&r.flags||131072&r.transformFlags){3&r.flags&&Ee();var n=e.flatMap(r.declarations,1&r.flags?U:K),i=e.createVariableDeclarationList(n);return e.setOriginalNode(i,r),e.setTextRange(i,r),e.setCommentRange(i,r),131072&r.transformFlags&&(e.isBindingPattern(r.declarations[0].name)||e.isBindingPattern(e.last(r.declarations).name))&&e.setSourceMapRange(i,function(t){for(var r=-1,n=-1,i=0,a=t;i0?(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(n,b,t,0,e.getGeneratedNameForNode(n)))),1048576)),!0):!!a&&(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(e.createExpressionStatement(e.createAssignment(e.getGeneratedNameForNode(n),e.visitNode(a,b,e.isExpression))),1048576)),!0)}function A(t,r,n,i){i=e.visitNode(i,b,e.isExpression);var a=e.createIf(e.createTypeCheck(e.getSynthesizedClone(n),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createExpressionStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(n),48),e.setEmitFlags(i,1584|e.getEmitFlags(i))),r),1536))]),r),1953));e.startOnNewLine(a),e.setTextRange(a,r),e.setEmitFlags(a,1050528),e.insertStatementAfterCustomPrologue(t,a)}function F(r,n,i){var a=[],o=e.lastOrUndefined(n.parameters);if(!function(e,t){return!(!e||!e.dotDotDotToken||t)}(o,i))return!1;var s=75===o.name.kind?e.getMutableClone(o.name):e.createTempVariable(void 0);e.setEmitFlags(s,48);var c=75===o.name.kind?e.getSynthesizedClone(o.name):s,u=n.parameters.length-1,l=e.createLoopVariable();a.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(s,void 0,e.createArrayLiteral([]))])),o),1048576));var _=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(l,void 0,e.createLiteral(u))]),o),e.setTextRange(e.createLessThan(l,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),o),e.setTextRange(e.createPostfixIncrement(l),o),e.createBlock([e.startOnNewLine(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.createElementAccess(c,0===u?l:e.createSubtract(l,e.createLiteral(u))),e.createElementAccess(e.createIdentifier("arguments"),l))),o))]));return e.setEmitFlags(_,1048576),e.startOnNewLine(_),a.push(_),75!==o.name.kind&&a.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(o,b,t,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(r,a),!0}function P(t,r){return!!(32768&i&&202!==r.kind)&&(w(t,r,e.createThis()),!0)}function w(t,r,n){Ne();var i=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),void 0,n)]));e.setEmitFlags(i,1050112),e.setSourceMapRange(i,r),e.insertStatementAfterCustomPrologue(t,i)}function I(t,r,n){if(16384&i){var a=void 0;switch(r.kind){case 202:return t;case 161:case 163:case 164:a=e.createVoidZero();break;case 162:a=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 244:case 201:a=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),98,e.getLocalName(r))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(r)}var o=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),void 0,a)]));e.setEmitFlags(o,1050112),n&&(t=t.slice()),e.insertStatementAfterCustomPrologue(t,o)}return t}function O(t){return e.setTextRange(e.createEmptyStatement(),t)}function M(r,n,i){var a,o=e.getCommentRange(n),s=e.getSourceMapRange(n),c=B(n,n,void 0,i),u=e.visitNode(n.name,b,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&t.getCompilerOptions().useDefineForClassFields){var l=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?e.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;a=e.createObjectDefinePropertyCall(r,l,e.createPropertyDescriptor({value:c,enumerable:!1,writable:!0,configurable:!0}))}else{var _=e.createMemberAccessForPropertyName(r,u,n.name);a=e.createAssignment(_,c)}e.setEmitFlags(c,1536),e.setSourceMapRange(c,s);var d=e.setTextRange(e.createExpressionStatement(a),n);return e.setOriginalNode(d,n),e.setCommentRange(d,o),e.setEmitFlags(d,48),d}function L(t,r,n){var i=e.createExpressionStatement(R(t,r,n,!1));return e.setEmitFlags(i,1536),e.setSourceMapRange(i,e.getSourceMapRange(r.firstAccessor)),i}function R(t,r,n,i){var a=r.firstAccessor,o=r.getAccessor,s=r.setAccessor,c=e.getMutableClone(t);e.setEmitFlags(c,1568),e.setSourceMapRange(c,a.name);var u=e.visitNode(a.name,b,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var l=e.createExpressionForPropertyName(u);e.setEmitFlags(l,1552),e.setSourceMapRange(l,a.name);var _=[];if(o){var d=B(o,void 0,void 0,n);e.setSourceMapRange(d,e.getSourceMapRange(o)),e.setEmitFlags(d,512);var p=e.createPropertyAssignment("get",d);e.setCommentRange(p,e.getCommentRange(o)),_.push(p)}if(s){var f=B(s,void 0,void 0,n);e.setSourceMapRange(f,e.getSourceMapRange(s)),e.setEmitFlags(f,512);var g=e.createPropertyAssignment("set",f);e.setCommentRange(g,e.getCommentRange(s)),_.push(g)}_.push(e.createPropertyAssignment("enumerable",e.createTrue()),e.createPropertyAssignment("configurable",e.createTrue()));var m=e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[c,l,e.createObjectLiteral(_,!0)]);return i&&e.startOnNewLine(m),m}function B(r,n,a,s){var c=o;o=void 0;var u=s&&e.isClassLike(s)&&!e.hasModifier(r,32)?y(16286,73):y(16286,65),l=e.visitParameterList(r.parameters,b,t),_=j(r);return 16384&i&&!a&&(244===r.kind||201===r.kind)&&(a=e.getGeneratedNameForNode(r)),v(u,49152,0),o=c,e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,r.asteriskToken,a,void 0,l,void 0,_),n),r)}function j(t){var n,i,a,o=!1,s=!1,c=[],u=[],d=t.body;if(l(),e.isBlock(d)&&(a=e.addStandardPrologue(c,d.statements,!1)),o=E(u,t)||o,o=F(u,t,!1)||o,e.isBlock(d))a=e.addCustomPrologue(u,d.statements,a,b),n=d.statements,e.addRange(u,e.visitNodes(d.statements,b,e.isStatement,a)),!o&&d.multiLine&&(o=!0);else{e.Debug.assert(202===t.kind),n=e.moveRangeEnd(d,-1);var p=t.equalsGreaterThanToken;e.nodeIsSynthesized(p)||e.nodeIsSynthesized(d)||(e.rangeEndIsOnSameLineAsRangeStart(p,d,r)?s=!0:o=!0);var f=e.visitNode(d,b,e.isExpression),g=e.createReturn(f);e.setTextRange(g,d),e.moveSyntheticComments(g,d),e.setEmitFlags(g,1440),u.push(g),i=d}if(e.mergeLexicalEnvironment(c,_()),I(c,t,!1),P(c,t),e.some(c)&&(o=!0),u.unshift.apply(u,c),e.isBlock(d)&&e.arrayIsEqualTo(u,d.statements))return d;var m=e.createBlock(e.setTextRange(e.createNodeArray(u),n),o);return e.setTextRange(m,t.body),!o&&s&&e.setEmitFlags(m,1),i&&e.setTokenSourceMapRange(m,19,i),e.setOriginalNode(m,t.body),m}function J(r,n){if(!n)switch(r.expression.kind){case 200:return e.updateParen(r,J(r.expression,!1));case 209:return e.updateParen(r,z(r.expression,!1))}return e.visitEachChild(r,b,t)}function z(r,n){return e.isDestructuringAssignment(r)?e.flattenDestructuringAssignment(r,b,t,0,n):e.visitEachChild(r,b,t)}function U(r){var n=r.name;if(e.isBindingPattern(n))return K(r);if(!r.initializer&&function(e){var t=f.getNodeCheckFlags(e),r=262144&t,n=524288&t;return!(0!=(64&i)||r&&n&&0!=(512&i))&&0==(4096&i)&&(!f.isDeclarationWithCollidingName(e)||n&&!r&&0==(6144&i))}(r)){var a=e.getMutableClone(r);return a.initializer=e.createVoidZero(),a}return e.visitEachChild(r,b,t)}function K(r){var n,i=y(32,0);return n=e.isBindingPattern(r.name)?e.flattenDestructuringBinding(r,b,t,0,void 0,0!=(32&i)):e.visitEachChild(r,b,t),v(i,0,0),n}function V(t){o.labels.set(e.idText(t.label),!0)}function q(t){o.labels.set(e.idText(t.label),!1)}function W(r,n,a,s,c){var l=y(r,n),d=function(r,n,a,s){if(!ie(r)){var c=void 0;o&&(c=o.allowedNonLabeledJumps,o.allowedNonLabeledJumps=6);var l=s?s(r,n,void 0,a):e.restoreEnclosingLabel(e.visitEachChild(r,b,t),n,o&&q);return o&&(o.allowedNonLabeledJumps=c),l}var d=function(t){var r;switch(t.kind){case 230:case 231:case 232:var n=t.initializer;n&&243===n.kind&&(r=n)}var i=[],a=[];if(r&&3&e.getCombinedNodeFlags(r))for(var s=re(t),c=0,u=r.declarations;c=77&&r<=112)return e.setTextRange(e.createLiteral(t),t)}}}(p||(p={})),function(e){var t,r,n,i,a;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(t||(t={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(r||(r={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(n||(n={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(i||(i={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(a||(a={})),e.transformGenerators=function(t){var r,n,i,a,o,c,u,l,_,d,p=t.resumeLexicalEnvironment,f=t.endLexicalEnvironment,g=t.hoistFunctionDeclaration,m=t.hoistVariableDeclaration,y=t.getCompilerOptions(),v=e.getEmitScriptTarget(y),h=t.getEmitResolver(),b=t.onSubstituteNode;t.onSubstituteNode=function(t,i){if(i=b(t,i),1===t)return function(t){if(e.isIdentifier(t))return function(t){if(!e.isGeneratedIdentifier(t)&&r&&r.has(e.idText(t))){var i=e.getOriginalNode(t);if(e.isIdentifier(i)&&i.parent){var a=h.getReferencedValueDeclaration(i);if(a){var o=n[e.getOriginalNodeId(a)];if(o){var s=e.getMutableClone(o);return e.setSourceMapRange(s,t),e.setCommentRange(s,t),s}}}}return t}(t);return t}(i);return i};var x,D,S,C,T,k,E,N,A,F,P,w,I=1,O=0,M=0;return e.chainBundle((function(r){if(r.isDeclarationFile||0==(512&r.transformFlags))return r;var n=e.visitEachChild(r,L,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function L(r){var n=r.transformFlags;return a?function(r){switch(r.kind){case 228:case 229:return function(r){return a?(ne(),r=e.visitEachChild(r,L,t),ae(),r):e.visitEachChild(r,L,t)}(r);case 237:return function(r){a&&$({kind:2,isScript:!0,breakLabel:-1});r=e.visitEachChild(r,L,t),a&&oe();return r}(r);case 238:return function(r){a&&$({kind:4,isScript:!0,labelText:e.idText(r.label),breakLabel:-1});r=e.visitEachChild(r,L,t),a&&se();return r}(r);default:return R(r)}}(r):i?R(r):e.isFunctionLikeDeclaration(r)&&r.asteriskToken?function(t){switch(t.kind){case 244:return B(t);case 201:return j(t);default:return e.Debug.failBadSyntaxKind(t)}}(r):512&n?e.visitEachChild(r,L,t):r}function R(r){switch(r.kind){case 244:return B(r);case 201:return j(r);case 163:case 164:return function(r){var n=i,o=a;return i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o,r}(r);case 225:return function(t){if(262144&t.transformFlags)return void q(t.declarationList);if(1048576&e.getEmitFlags(t))return t;for(var r=0,n=t.declarationList.declarations;r0?e.inlineExpressions(e.map(c,W)):void 0,e.visitNode(r.condition,L,e.isExpression),e.visitNode(r.incrementor,L,e.isExpression),e.visitNode(r.statement,L,e.isStatement,e.liftToBlock))}else r=e.visitEachChild(r,L,t);a&&ae();return r}(r);case 231:return function(r){a&&ne();var n=r.initializer;if(e.isVariableDeclarationList(n)){for(var i=0,o=n.declarations;i0)return me(n,r)}return e.visitEachChild(r,L,t)}(r);case 233:return function(r){if(a){var n=pe(r.label&&e.idText(r.label));if(n>0)return me(n,r)}return e.visitEachChild(r,L,t)}(r);case 235:return function(t){return r=e.visitNode(t.expression,L,e.isExpression),n=t,e.setTextRange(e.createReturn(e.createArrayLiteral(r?[ge(2),r]:[ge(2)])),n);var r,n}(r);default:return 262144&r.transformFlags?function(r){switch(r.kind){case 209:return function(r){var n=e.getExpressionAssociativity(r);switch(n){case 0:return function(r){if(H(r.right)){if(e.isLogicalOperator(r.operatorToken.kind))return function(t){var r=Y(),n=X();he(n,e.visitNode(t.left,L,e.isExpression),t.left),55===t.operatorToken.kind?De(r,n,t.left):xe(r,n,t.left);return he(n,e.visitNode(t.right,L,e.isExpression),t.right),Z(r),n}(r);if(27===r.operatorToken.kind)return function(t){var r=[];return n(t.left),n(t.right),e.inlineExpressions(r);function n(t){e.isBinaryExpression(t)&&27===t.operatorToken.kind?(n(t.left),n(t.right)):(H(t)&&r.length>0&&(Se(1,[e.createExpressionStatement(e.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,L,e.isExpression)))}}(r);var n=e.getMutableClone(r);return n.left=Q(e.visitNode(r.left,L,e.isExpression)),n.right=e.visitNode(r.right,L,e.isExpression),n}return e.visitEachChild(r,L,t)}(r);case 1:return function(r){var n=r.left,i=r.right;if(H(i)){var a=void 0;switch(n.kind){case 194:a=e.updatePropertyAccess(n,Q(e.visitNode(n.expression,L,e.isLeftHandSideExpression)),n.name);break;case 195:a=e.updateElementAccess(n,Q(e.visitNode(n.expression,L,e.isLeftHandSideExpression)),Q(e.visitNode(n.argumentExpression,L,e.isExpression)));break;default:a=e.visitNode(n,L,e.isExpression)}var o=r.operatorToken.kind;return e.isCompoundAssignment(o)?e.setTextRange(e.createAssignment(a,e.setTextRange(e.createBinary(Q(a),e.getNonAssignmentOperatorForCompoundAssignment(o),e.visitNode(i,L,e.isExpression)),r)),r):e.updateBinary(r,a,e.visitNode(i,L,e.isExpression))}return e.visitEachChild(r,L,t)}(r);default:return e.Debug.assertNever(n)}}(r);case 210:return function(r){if(H(r.whenTrue)||H(r.whenFalse)){var n=Y(),i=Y(),a=X();return De(n,e.visitNode(r.condition,L,e.isExpression),r.condition),he(a,e.visitNode(r.whenTrue,L,e.isExpression),r.whenTrue),be(i),Z(n),he(a,e.visitNode(r.whenFalse,L,e.isExpression),r.whenFalse),Z(i),a}return e.visitEachChild(r,L,t)}(r);case 212:return function(r){var n=Y(),i=e.visitNode(r.expression,L,e.isExpression);if(r.asteriskToken){!function(e,t){Se(7,[e],t)}(0==(8388608&e.getEmitFlags(r.expression))?e.createValuesHelper(t,i,r):i,r)}else!function(e,t){Se(6,[e],t)}(i,r);return Z(n),function(t){return e.setTextRange(e.createCall(e.createPropertyAccess(C,"sent"),void 0,[]),t)}(r)}(r);case 192:return function(e){return z(e.elements,void 0,void 0,e.multiLine)}(r);case 193:return function(t){var r=t.properties,n=t.multiLine,i=G(r),a=X();he(a,e.createObjectLiteral(e.visitNodes(r,L,e.isObjectLiteralElementLike,0,i),n));var o=e.reduceLeft(r,(function(r,i){H(i)&&r.length>0&&(ve(e.createExpressionStatement(e.inlineExpressions(r))),r=[]);var o=e.createExpressionForObjectLiteralElementLike(t,i,a),s=e.visitNode(o,L,e.isExpression);s&&(n&&e.startOnNewLine(s),r.push(s));return r}),[],i);return o.push(n?e.startOnNewLine(e.getMutableClone(a)):a),e.inlineExpressions(o)}(r);case 195:return function(r){if(H(r.argumentExpression)){var n=e.getMutableClone(r);return n.expression=Q(e.visitNode(r.expression,L,e.isLeftHandSideExpression)),n.argumentExpression=e.visitNode(r.argumentExpression,L,e.isExpression),n}return e.visitEachChild(r,L,t)}(r);case 196:return function(r){if(!e.isImportCall(r)&&e.forEach(r.arguments,H)){var n=e.createCallBinding(r.expression,m,v,!0),i=n.target,a=n.thisArg;return e.setOriginalNode(e.createFunctionApply(Q(e.visitNode(i,L,e.isLeftHandSideExpression)),a,z(r.arguments),r),r)}return e.visitEachChild(r,L,t)}(r);case 197:return function(r){if(e.forEach(r.arguments,H)){var n=e.createCallBinding(e.createPropertyAccess(r.expression,"bind"),m),i=n.target,a=n.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(Q(e.visitNode(i,L,e.isExpression)),a,z(r.arguments,e.createVoidZero())),void 0,[]),r),r)}return e.visitEachChild(r,L,t)}(r);default:return e.visitEachChild(r,L,t)}}(r):1049088&r.transformFlags?e.visitEachChild(r,L,t):r}}function B(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,r.modifiers,void 0,r.name,void 0,e.visitParameterList(r.parameters,L,t),void 0,J(r.body)),r),r);else{var n=i,o=a;i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o}return i?void g(r):r}function j(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,r.name,void 0,e.visitParameterList(r.parameters,L,t),void 0,J(r.body)),r),r);else{var n=i,o=a;i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o}return r}function J(t){var r=[],n=i,s=a,g=o,m=c,y=u,v=l,h=_,b=d,T=I,k=x,E=D,N=S,A=C;i=!0,a=!1,o=void 0,c=void 0,u=void 0,l=void 0,_=void 0,d=void 0,I=1,x=void 0,D=void 0,S=void 0,C=e.createTempVariable(void 0),p();var F=e.addPrologue(r,t.statements,!1,L);U(t.statements,F);var P=Ce();return e.insertStatementsAfterStandardPrologue(r,f()),r.push(e.createReturn(P)),i=n,a=s,o=g,c=m,u=y,l=v,_=h,d=b,I=T,x=k,D=E,S=N,C=A,e.setTextRange(e.createBlock(r,t.multiLine),t)}function z(t,r,n,i){var a,o=G(t);if(o>0){a=X();var c=e.visitNodes(t,L,e.isExpression,0,o);he(a,e.createArrayLiteral(r?s([r],c):c)),r=void 0}var u=e.reduceLeft(t,(function(t,n){if(H(n)&&t.length>0){var o=void 0!==a;a||(a=X()),he(a,o?e.createArrayConcat(a,[e.createArrayLiteral(t,i)]):e.createArrayLiteral(r?s([r],t):t,i)),r=void 0,t=[]}return t.push(e.visitNode(n,L,e.isExpression)),t}),[],o);return a?e.createArrayConcat(a,[e.createArrayLiteral(u,i)]):e.setTextRange(e.createArrayLiteral(r?s([r],u):u,i),n)}function U(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n0?be(r,t):ve(t)}(i);case 234:return function(t){var r=de(t.label?e.idText(t.label):void 0);r>0?be(r,t):ve(t)}(i);case 235:return function(t){r=e.visitNode(t.expression,L,e.isExpression),n=t,Se(8,[r],n);var r,n}(i);case 236:return function(t){H(t)?(r=Q(e.visitNode(t.expression,L,e.isExpression)),n=Y(),i=Y(),Z(n),$({kind:1,expression:r,startLabel:n,endLabel:i}),K(t.statement),e.Debug.assert(1===re()),Z(ee().endLabel)):ve(e.visitNode(t,L,e.isStatement));var r,n,i}(i);case 237:return function(t){if(H(t.caseBlock)){for(var r=t.caseBlock,n=r.clauses.length,i=($({kind:2,isScript:!1,breakLabel:p=Y()}),p),a=Q(e.visitNode(t.expression,L,e.isExpression)),o=[],s=-1,c=0;c0)break;_.push(e.createCaseClause(e.visitNode(u.expression,L,e.isExpression),[me(o[c],u.expression)]))}else d++}_.length&&(ve(e.createSwitch(a,e.createCaseBlock(_))),l+=_.length,_=[]),d>0&&(l+=d,d=0)}be(s>=0?o[s]:i);for(c=0;c0)break;u.push(W(i))}u.length&&(ve(e.createExpressionStatement(e.inlineExpressions(u))),c+=u.length,u=[])}}function W(t){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(t.name),t.name),e.visitNode(t.initializer,L,e.isExpression)),t)}function H(e){return!!e&&0!=(262144&e.transformFlags)}function G(e){for(var t=e.length,r=0;r=0;r--){var n=l[r];if(!ue(n))break;if(n.labelText===e)return!0}return!1}function de(e){if(l)if(e)for(var t=l.length-1;t>=0;t--){if(ue(r=l[t])&&r.labelText===e)return r.breakLabel;if(ce(r)&&_e(e,t-1))return r.breakLabel}else for(t=l.length-1;t>=0;t--){var r;if(ce(r=l[t]))return r.breakLabel}return 0}function pe(e){if(l)if(e)for(var t=l.length-1;t>=0;t--){if(le(r=l[t])&&_e(e,t-1))return r.continueLabel}else for(t=l.length-1;t>=0;t--){var r;if(le(r=l[t]))return r.continueLabel}return 0}function fe(t){if(void 0!==t&&t>0){void 0===d&&(d=[]);var r=e.createLiteral(-1);return void 0===d[t]?d[t]=[r]:d[t].push(r),r}return e.createOmittedExpression()}function ge(t){var r=e.createLiteral(t);return e.addSyntheticTrailingComment(r,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}}(t)),r}function me(t,r){return e.Debug.assertLessThan(0,t,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([ge(3),fe(t)])),r)}function ye(){Se(0)}function ve(e){e?Se(1,[e]):ye()}function he(e,t,r){Se(2,[e,t],r)}function be(e,t){Se(3,[e],t)}function xe(e,t,r){Se(4,[e,t],r)}function De(e,t,r){Se(5,[e,t],r)}function Se(e,t,r){void 0===x&&(x=[],D=[],S=[]),void 0===_&&Z(Y());var n=x.length;x[n]=e,D[n]=t,S[n]=r}function Ce(){O=0,M=0,T=void 0,k=!1,E=!1,N=void 0,A=void 0,F=void 0,P=void 0,w=void 0;var r=function(){if(x){for(var t=0;t0)),524288))}function Te(e){(function(e){if(!E)return!0;if(!_||!d)return!1;for(var t=0;t<_.length;t++)if(_[t]===e&&d[t])return!0;return!1})(e)&&(Ee(e),w=void 0,Fe(void 0,void 0)),A&&N&&ke(!1),function(){if(void 0!==d&&void 0!==T)for(var e=0;e=0;r--){var n=w[r];A=[e.createWith(n.expression,e.createBlock(A))]}if(P){var i=P.startLabel,a=P.catchLabel,o=P.finallyLabel,s=P.endLabel;A.unshift(e.createExpressionStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(C,"trys"),"push"),void 0,[e.createArrayLiteral([fe(i),fe(a),fe(o),fe(s)])]))),P=void 0}t&&A.push(e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(C,"label"),e.createLiteral(M+1))))}N.push(e.createCaseClause(e.createLiteral(M),A||[])),A=void 0}function Ee(e){if(_)for(var t=0;t<_.length;t++)_[t]===e&&(A&&(ke(!k),k=!1,E=!1,M++),void 0===T&&(T=[]),void 0===T[M]?T[M]=[t]:T[M].push(t))}function Ne(t){if(Ee(t),function(e){if(o)for(;O 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 };'}}(p||(p={})),function(e){e.transformModule=function(n){var i=n.startLexicalEnvironment,a=n.endLexicalEnvironment,o=n.hoistVariableDeclaration,c=n.getCompilerOptions(),u=n.getEmitResolver(),l=n.getEmitHost(),_=e.getEmitScriptTarget(c),d=e.getEmitModuleKind(c),p=n.onSubstituteNode,f=n.onEmitNode;n.onSubstituteNode=function(t,r){if((r=p(t,r)).id&&y[r.id])return r;if(1===t)return function(t){switch(t.kind){case 75:return G(t);case 209:return function(t){if(e.isAssignmentOperator(t.operatorToken.kind)&&e.isIdentifier(t.left)&&!e.isGeneratedIdentifier(t.left)&&!e.isLocalName(t.left)&&!e.isDeclarationNameOfEnumOrNamespace(t.left)){var r=Q(t.left);if(r){for(var n=t,i=0,a=r;i=2?2:0)),t),t))}else n&&e.isDefaultImport(t)&&(r=e.append(r,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,e.getGeneratedNameForNode(t)),t),t)],_>=2?2:0))));if(R(t)){var a=e.getOriginalNodeId(t);b[a]=B(b[a],t)}else r=B(r,t);return e.singleOrMany(r)}(t);case 253:return function(t){var r;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),d!==e.ModuleKind.AMD?r=e.hasModifier(t,1)?e.append(r,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(W(t.name,O(t))),t),t)):e.append(r,e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),void 0,O(t))],_>=2?2:0)),t),t)):e.hasModifier(t,1)&&(r=e.append(r,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(W(e.getExportName(t),e.getLocalName(t))),t),t)));if(R(t)){var n=e.getOriginalNodeId(t);b[n]=j(b[n],t)}else r=j(r,t);return e.singleOrMany(r)}(t);case 260:return function(t){if(!t.moduleSpecifier)return;var r=e.getGeneratedNameForNode(t);if(t.exportClause&&e.isNamedExports(t.exportClause)){var i=[];d!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(r,void 0,O(t))])),t),t));for(var a=0,o=t.exportClause.elements;a(e.isExportName(r)?1:0);return!1}(t.left))return e.flattenDestructuringAssignment(t,F,n,0,!1,M);return e.visitEachChild(t,F,n)}(t):e.visitEachChild(t,F,n):t}function P(t,r){var i,a=e.createUniqueName("resolve"),o=e.createUniqueName("reject"),s=[e.createParameter(void 0,void 0,void 0,a),e.createParameter(void 0,void 0,void 0,o)],u=e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("require"),void 0,[e.createArrayLiteral([t||e.createOmittedExpression()]),a,o]))]);_>=2?i=e.createArrowFunction(void 0,void 0,s,void 0,void 0,u):(i=e.createFunctionExpression(void 0,void 0,void 0,void 0,s,void 0,u),r&&e.setEmitFlags(i,8));var l=e.createNew(e.createIdentifier("Promise"),void 0,[i]);return c.esModuleInterop?(n.requestEmitHelper(e.importStarHelper),e.createCall(e.createPropertyAccess(l,e.createIdentifier("then")),void 0,[e.getUnscopedHelperName("__importStar")])):l}function w(t,r){var i,a=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),void 0,[]),o=e.createCall(e.createIdentifier("require"),void 0,t?[t]:[]);return c.esModuleInterop&&(n.requestEmitHelper(e.importStarHelper),o=e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[o])),_>=2?i=e.createArrowFunction(void 0,void 0,[],void 0,void 0,o):(i=e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock([e.createReturn(o)])),r&&e.setEmitFlags(i,8)),e.createCall(e.createPropertyAccess(a,"then"),void 0,[i])}function I(t,r){return!c.esModuleInterop||67108864&e.getEmitFlags(t)?r:e.getImportNeedsImportStarHelper(t)?(n.requestEmitHelper(e.importStarHelper),e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[r])):e.getImportNeedsImportDefaultHelper(t)?(n.requestEmitHelper(e.importDefaultHelper),e.createCall(e.getUnscopedHelperName("__importDefault"),void 0,[r])):r}function O(t){var r=e.getExternalModuleNameLiteral(t,g,l,u,c),n=[];return r&&n.push(r),e.createCall(e.createIdentifier("require"),void 0,n)}function M(t,r,n){var i=Q(t);if(i){for(var a=e.isExportName(t)?r:e.createAssignment(t,r),o=0,s=i;oe.ModuleKind.ES2015)return t;if(!t.exportClause||!e.isNamespaceExport(t.exportClause)||!t.moduleSpecifier)return t;var r=t.exportClause.name,i=e.getGeneratedNameForNode(r),a=e.createImportDeclaration(void 0,void 0,e.createImportClause(void 0,e.createNamespaceImport(i)),t.moduleSpecifier);e.setOriginalNode(a,t.exportClause);var o=e.createExportDeclaration(void 0,void 0,e.createNamedExports([e.createExportSpecifier(i,r)]));return e.setOriginalNode(o,t),[a,o]}(t)}return t}}}(p||(p={})),function(e){function t(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isPropertyAccessExpression(t)||e.isBindingElement(t)||e.isConstructorDeclaration(t)?r:e.isSetAccessor(t)||e.isGetAccessor(t)?function(r){var n;n=164===t.kind?e.hasModifier(t,32)?r.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:r.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.hasModifier(t,32)?r.errorModuleName?2===r.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:r.errorModuleName?2===r.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:n,errorNode:t.name,typeName:t.name}}:e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isIndexSignatureDeclaration(t)?function(r){var n;switch(t.kind){case 166:n=r.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 165:n=r.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 167:n=r.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 161:case 160:n=e.hasModifier(t,32)?r.errorModuleName?2===r.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:245===t.parent.kind?r.errorModuleName?2===r.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:r.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 244:n=r.errorModuleName?2===r.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: "+t.kind)}return{diagnosticMessage:n,errorNode:t.name||t}}:e.isParameter(t)?e.isParameterPropertyDeclaration(t,t.parent)&&e.hasModifier(t.parent,8)?r:function(r){var n=function(r){switch(t.parent.kind){case 162:return r.errorModuleName?2===r.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 166:case 171:return r.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 165:return r.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 167:return r.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 161:case 160:return e.hasModifier(t.parent,32)?r.errorModuleName?2===r.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:245===t.parent.parent.kind?r.errorModuleName?2===r.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:r.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 244:case 170:return r.errorModuleName?2===r.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 164:case 163:return r.errorModuleName?2===r.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: "+e.SyntaxKind[t.parent.kind])}}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}:e.isTypeParameterDeclaration(t)?function(){var r;switch(t.parent.kind){case 245:r=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 246:r=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 186:r=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 171:case 166:r=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 165:r=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 161:case 160:r=e.hasModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:245===t.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 170:case 244:r=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 247:r=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: "+t.parent.kind)}return{diagnosticMessage:r,errorNode:t,typeName:t.name}}:e.isExpressionWithTypeArguments(t)?function(){var r;r=245===t.parent.parent.kind?e.isHeritageClause(t.parent)&&113===t.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:r,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}}:e.isImportEqualsDeclaration(t)?function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}:e.isTypeAliasDeclaration(t)?function(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}}:e.Debug.assertNever(t,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[t.kind]);function r(r){var n=function(r){return 242===t.kind||191===t.kind?r.errorModuleName?2===r.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:159===t.kind||194===t.kind||158===t.kind||156===t.kind&&e.hasModifier(t.parent,8)?e.hasModifier(t,32)?r.errorModuleName?2===r.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:245===t.parent.kind||156===t.kind?r.errorModuleName?2===r.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:r.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}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}}e.canProduceDiagnostics=function(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isBindingElement(t)||e.isSetAccessor(t)||e.isGetAccessor(t)||e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isParameter(t)||e.isTypeParameterDeclaration(t)||e.isExpressionWithTypeArguments(t)||e.isImportEqualsDeclaration(t)||e.isTypeAliasDeclaration(t)||e.isConstructorDeclaration(t)||e.isIndexSignatureDeclaration(t)||e.isPropertyAccessExpression(t)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(r){return e.isSetAccessor(r)||e.isGetAccessor(r)?function(t){var n=function(t){return e.hasModifier(r,32)?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:245===r.parent.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}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:e.isMethodSignature(r)||e.isMethodDeclaration(r)?function(t){var n=function(t){return e.hasModifier(r,32)?t.errorModuleName?2===t.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:245===r.parent.kind?t.errorModuleName?2===t.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:t.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}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:t(r)},e.createGetSymbolAccessibilityDiagnosticForNode=t}(p||(p={})),function(e){function t(t,r){var n=r.text.substring(t.pos,t.end);return e.stringContains(n,"@internal")}function r(r,n){var i=e.getParseTreeNode(r);if(i&&156===i.kind){var a=i.parent.parameters.indexOf(i),o=a>0?i.parent.parameters[a-1]:void 0,s=n.text,c=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,r.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,r.pos,!1,!0));return c&&c.length&&t(e.last(c),n)}var u=i&&e.getLeadingCommentRangesOfNode(i,n);return!!e.forEach(u,(function(e){return t(e,n)}))}e.getDeclarationDiagnostics=function(t,r,i){if(i&&e.isJsonSourceFile(i))return[];var a=t.getCompilerOptions();return e.transformNodes(r,t,a,i?[i]:e.filter(t.getSourceFiles(),e.isSourceFileNotJson),[n],!1).diagnostics},e.isInternalDeclaration=r;function n(t){var n,o,u,l,_,d,p,f,g,m,y,v=function(){return e.Debug.fail("Diagnostic emitted without context")},h=v,b=!0,x=!1,D=!1,S=!1,C=!1,T=t.getEmitHost(),k={trackSymbol:function(e,t,r){if(262144&e.flags)return;w(E.isSymbolAccessible(e,t,r,!0)),P(E.getTypeReferenceDirectivesForSymbol(e,r))},reportInaccessibleThisError:function(){p&&t.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"this"))},reportInaccessibleUniqueSymbolError:function(){p&&t.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"unique symbol"))},reportPrivateInBaseOfClassExpression:function(r){p&&t.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,r))},reportLikelyUnsafeImportRequiredError:function(r){p&&t.addDiagnostic(e.createDiagnosticForNode(p,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,e.declarationNameToString(p),r))},moduleResolverHost:T,trackReferencedAmbientModule:function(t,r){var n=E.getTypeReferenceDirectivesForSymbol(r,67108863);if(e.length(n))return P(n);var i=e.getSourceFileOfNode(t);g.set(""+e.getOriginalNodeId(i),i)},trackExternalModuleSymbolOfImportTypeNode:function(e){x||(d||(d=[])).push(e)}},E=t.getEmitResolver(),N=t.getCompilerOptions(),A=N.noResolve,F=N.stripInternal;return function(r){if(290===r.kind&&r.isDeclarationFile)return r;if(291===r.kind){x=!0,g=e.createMap(),m=e.createMap();var i=!1,a=e.createBundle(e.map(r.sourceFiles,(function(r){if(!r.isDeclarationFile){if(i=i||r.hasNoDefaultLib,f=r,n=r,u=void 0,_=!1,l=e.createMap(),h=v,S=!1,C=!1,O(r,g),M(r,m),e.isExternalOrCommonJsModule(r)||e.isJsonSourceFile(r)){D=!1,b=!1;var a=e.isSourceFileJS(r)?e.createNodeArray(I(r,!0)):e.visitNodes(r.statements,Y);return e.updateSourceFileNode(r,[e.createModuleDeclaration([],[e.createModifier(130)],e.createLiteral(e.getResolvedExternalModuleName(t.getEmitHost(),r)),e.createModuleBlock(e.setTextRange(e.createNodeArray(Q(a)),r.statements)))],!0,[],[],!1,[])}b=!0;var o=e.isSourceFileJS(r)?e.createNodeArray(I(r)):e.visitNodes(r.statements,Y);return e.updateSourceFileNode(r,Q(o),!0,[],[],!1,[])}})),e.mapDefined(r.prepends,(function(t){if(293===t.kind){var r=e.createUnparsedSourceFile(t,"dts",F);return i=i||!!r.hasNoDefaultLib,O(r,g),P(r.typeReferenceDirectives),M(r,m),r}return t})));a.syntheticFileReferences=[],a.syntheticTypeReferences=J(),a.syntheticLibReferences=j(),a.hasNoDefaultLib=i;var p=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,T,!0).declarationFilePath)),k=U(a.syntheticFileReferences,p);return g.forEach(k),a}b=!0,S=!1,C=!1,n=r,f=r,h=v,x=!1,D=!1,_=!1,u=void 0,l=e.createMap(),o=void 0,g=O(f,e.createMap()),m=M(f,e.createMap());var E,A=[],w=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,T,!0).declarationFilePath)),L=U(A,w);if(e.isSourceFileJS(f))E=e.createNodeArray(I(r)),g.forEach(L),y=e.filter(E,e.isAnyImportSyntax);else{var R=e.visitNodes(r.statements,Y);E=e.setTextRange(e.createNodeArray(Q(R)),r.statements),g.forEach(L),y=e.filter(E,e.isAnyImportSyntax),e.isExternalModule(r)&&(!D||S&&!C)&&(E=e.setTextRange(e.createNodeArray(s(E,[e.createEmptyExports()])),E))}var B=e.updateSourceFileNode(r,E,!0,A,J(),r.hasNoDefaultLib,j());return B.exportedModulesFromDeclarationEmit=d,B;function j(){return e.map(e.arrayFrom(m.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function J(){return o?e.mapDefined(e.arrayFrom(o.keys()),z):[]}function z(t){if(y)for(var r=0,n=y;r0?e.parameters[0].type:void 0}e.transformDeclarations=n}(p||(p={})),function(e){var t,r;function n(t,r,n){if(n)return e.emptyArray;var i=t.jsx,a=e.getEmitScriptTarget(t),s=e.getEmitModuleKind(t),c=[];return e.addRange(c,r&&e.map(r.before,o)),c.push(e.transformTypeScript),c.push(e.transformClassFields),2===i&&c.push(e.transformJsx),a<99&&c.push(e.transformESNext),a<7&&c.push(e.transformES2020),a<6&&c.push(e.transformES2019),a<5&&c.push(e.transformES2018),a<4&&c.push(e.transformES2017),a<3&&c.push(e.transformES2016),a<2&&(c.push(e.transformES2015),c.push(e.transformGenerators)),c.push(function(t){switch(t){case e.ModuleKind.ESNext:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(s)),a<1&&c.push(e.transformES5),e.addRange(c,r&&e.map(r.after,o)),c}function i(t){var r=[];return r.push(e.transformDeclarations),e.addRange(r,t&&e.map(t.afterDeclarations,c)),r}function a(t,r){return function(n){var i=t(n);return"function"==typeof i?r(i):function(t){return function(r){return e.isBundle(r)?t.transformBundle(r):t.transformSourceFile(r)}}(i)}}function o(t){return a(t,e.chainBundle)}function c(t){return a(t,e.identity)}function u(e,t){return t}function l(e,t,r){r(e,t)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(t||(t={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(r||(r={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,t,r){return{scriptTransformers:n(e,t,r),declarationTransformers:i(t)}},e.noEmitSubstitution=u,e.noEmitNotification=l,e.transformNodes=function(t,r,n,i,a,o){for(var c,_,d,p=new Array(330),f=[],g=[],m=0,y=!1,v=u,h=l,b=0,x=[],D={getCompilerOptions:function(){return n},getEmitResolver:function(){return t},getEmitHost:function(){return r},startLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),f[m]=c,g[m]=_,m++,c=void 0,_=void 0},suspendLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is already suspended."),y=!0},resumeLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(y,"Lexical environment is not suspended."),y=!1},endLexicalEnvironment:function(){var t;if(e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),(c||_)&&(_&&(t=s(_)),c)){var r=e.createVariableStatement(void 0,e.createVariableDeclarationList(c));e.setEmitFlags(r,1048576),t?t.push(r):t=[r]}m--,c=f[m],_=g[m],0===m&&(f=[],g=[]);return t},hoistVariableDeclaration:function(t){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed.");var r=e.setEmitFlags(e.createVariableDeclaration(t),64);c?c.push(r):c=[r]},hoistFunctionDeclaration:function(t){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),_?_.push(t):_=[t]},requestEmitHelper:function(t){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),d=e.append(d,t)},readEmitHelpers:function(){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed.");var t=d;return d=void 0,t},enableSubstitution:function(t){e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),p[t]|=1},enableEmitNotification:function(t){e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),p[t]|=2},isSubstitutionEnabled:A,isEmitNotificationEnabled:F,get onSubstituteNode(){return v},set onSubstituteNode(t){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),v=t},get onEmitNode(){return h},set onEmitNode(t){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),h=t},addDiagnostic:function(e){x.push(e)}},S=0,C=i;S"],e[8192]=["[","]"],e}(),i={pos:-1,end:-1};function a(t,r,n,i,a,s){void 0===i&&(i=!1);var c=e.isArray(n)?n:e.getSourceFilesToEmit(t,n,i),l=t.getCompilerOptions();if(l.outFile||l.out){var _=t.getPrependNodes();if(c.length||_.length){var d=e.createBundle(c,_);if(g=r(u(d,t,i),d))return g}}else{if(!a)for(var p=0,f=c;p"),At(),me(e.type),Yt(e)}(r);case 300:return function(e){Tt("function"),mt(e,e.parameters),St(":"),me(e.type)}(r);case 171:return function(e){Xt(e),Tt("new"),At(),gt(e,e.typeParameters),mt(e,e.parameters),At(),St("=>"),At(),me(e.type),Yt(e)}(r);case 172:return function(e){Tt("typeof"),At(),me(e.exprName)}(r);case 173:return function(t){St("{");var r=1&e.getEmitFlags(t)?768:32897;vt(t,t.members,524288|r),St("}")}(r);case 174:return function(e){me(e.elementType),St("["),St("]")}(r);case 175:return function(e){St("["),vt(e,e.elementTypes,528),St("]")}(r);case 176:return function(e){me(e.type),St("?")}(r);case 178:return function(e){vt(e,e.types,516)}(r);case 179:return function(e){vt(e,e.types,520)}(r);case 180:return function(e){me(e.checkType),At(),Tt("extends"),At(),me(e.extendsType),At(),St("?"),At(),me(e.trueType),At(),St(":"),At(),me(e.falseType)}(r);case 181:return function(e){Tt("infer"),At(),me(e.typeParameter)}(r);case 182:return function(e){St("("),me(e.type),St(")")}(r);case 216:return function(e){ve(e.expression),ft(e,e.typeArguments)}(r);case 183:return void Tt("this");case 184:return function(e){Lt(e.operator,Tt),At(),me(e.type)}(r);case 185:return function(e){me(e.objectType),St("["),me(e.indexType),St("]")}(r);case 186:return function(t){var r=e.getEmitFlags(t);St("{"),1&r?At():(Pt(),wt());t.readonlyToken&&(me(t.readonlyToken),138!==t.readonlyToken.kind&&Tt("readonly"),At());St("["),be(3,t.typeParameter),St("]"),t.questionToken&&(me(t.questionToken),57!==t.questionToken.kind&&St("?"));St(":"),At(),me(t.type),Ct(),1&r?At():(Pt(),It());St("}")}(r);case 187:return function(e){ve(e.literal)}(r);case 188:return function(e){e.isTypeOf&&(Tt("typeof"),At());Tt("import"),St("("),me(e.argument),St(")"),e.qualifier&&(St("."),me(e.qualifier));ft(e,e.typeArguments)}(r);case 295:return void St("*");case 296:return void St("?");case 297:return function(e){St("?"),me(e.type)}(r);case 298:return function(e){St("!"),me(e.type)}(r);case 299:return function(e){me(e.type),St("=")}(r);case 177:case 301:return function(e){St("..."),me(e.type)}(r);case 189:return function(e){St("{"),vt(e,e.elements,525136),St("}")}(r);case 190:return function(e){St("["),vt(e,e.elements,524880),St("]")}(r);case 191:return function(e){me(e.dotDotDotToken),e.propertyName&&(me(e.propertyName),St(":"),At());me(e.name),ut(e.initializer,e.name.end,e)}(r);case 221:return function(e){ve(e.expression),me(e.literal)}(r);case 222:return void Ct();case 223:return function(e){we(e,!e.multiLine&&Wt(e))}(r);case 225:return function(e){st(e,e.modifiers),me(e.declarationList),Ct()}(r);case 224:return Ie(!1);case 226:return function(t){ve(t.expression),(!e.isJsonSourceFile(a)||e.nodeIsSynthesized(t.expression))&&Ct()}(r);case 227:return function(e){var t=Le(95,e.pos,Tt,e);At(),Le(20,t,St,e),ve(e.expression),Le(21,e.expression.end,St,e),dt(e,e.thenStatement),e.elseStatement&&(Rt(e),Le(87,e.thenStatement.end,Tt,e),227===e.elseStatement.kind?(At(),me(e.elseStatement)):dt(e,e.elseStatement))}(r);case 228:return function(t){Le(86,t.pos,Tt,t),dt(t,t.statement),e.isBlock(t.statement)?At():Rt(t);Oe(t,t.statement.end),Ct()}(r);case 229:return function(e){Oe(e,e.pos),dt(e,e.statement)}(r);case 230:return function(e){var t=Le(93,e.pos,Tt,e);At();var r=Le(20,t,St,e);Me(e.initializer),r=Le(26,e.initializer?e.initializer.end:r,St,e),_t(e.condition),r=Le(26,e.condition?e.condition.end:r,St,e),_t(e.incrementor),Le(21,e.incrementor?e.incrementor.end:r,St,e),dt(e,e.statement)}(r);case 231:return function(e){var t=Le(93,e.pos,Tt,e);At(),Le(20,t,St,e),Me(e.initializer),At(),Le(97,e.initializer.end,Tt,e),At(),ve(e.expression),Le(21,e.expression.end,St,e),dt(e,e.statement)}(r);case 232:return function(e){var t=Le(93,e.pos,Tt,e);At(),function(e){e&&(me(e),At())}(e.awaitModifier),Le(20,t,St,e),Me(e.initializer),At(),Le(152,e.initializer.end,Tt,e),At(),ve(e.expression),Le(21,e.expression.end,St,e),dt(e,e.statement)}(r);case 233:return function(e){Le(82,e.pos,Tt,e),lt(e.label),Ct()}(r);case 234:return function(e){Le(77,e.pos,Tt,e),lt(e.label),Ct()}(r);case 235:return function(e){Le(101,e.pos,Tt,e),_t(e.expression),Ct()}(r);case 236:return function(e){var t=Le(112,e.pos,Tt,e);At(),Le(20,t,St,e),ve(e.expression),Le(21,e.expression.end,St,e),dt(e,e.statement)}(r);case 237:return function(e){var t=Le(103,e.pos,Tt,e);At(),Le(20,t,St,e),ve(e.expression),Le(21,e.expression.end,St,e),At(),me(e.caseBlock)}(r);case 238:return function(e){me(e.label),Le(58,e.label.end,St,e),At(),me(e.statement)}(r);case 239:return function(e){Le(105,e.pos,Tt,e),_t(e.expression),Ct()}(r);case 240:return function(e){Le(107,e.pos,Tt,e),At(),me(e.tryBlock),e.catchClause&&(Rt(e),me(e.catchClause));e.finallyBlock&&(Rt(e),Le(92,(e.catchClause||e.tryBlock).end,Tt,e),At(),me(e.finallyBlock))}(r);case 241:return function(e){Ot(83,e.pos,Tt),Ct()}(r);case 242:return function(e){me(e.name),me(e.exclamationToken),ct(e.type),ut(e.initializer,e.type?e.type.end:e.name.end,e)}(r);case 243:return function(t){Tt(e.isLet(t)?"let":e.isVarConst(t)?"const":"var"),At(),vt(t,t.declarations,528)}(r);case 244:return function(e){Re(e)}(r);case 245:return function(e){Ve(e)}(r);case 246:return function(e){pt(e,e.decorators),st(e,e.modifiers),Tt("interface"),At(),me(e.name),gt(e,e.typeParameters),vt(e,e.heritageClauses,512),At(),St("{"),vt(e,e.members,129),St("}")}(r);case 247:return function(e){pt(e,e.decorators),st(e,e.modifiers),Tt("type"),At(),me(e.name),gt(e,e.typeParameters),At(),St("="),At(),me(e.type),Ct()}(r);case 248:return function(e){st(e,e.modifiers),Tt("enum"),At(),me(e.name),At(),St("{"),vt(e,e.members,145),St("}")}(r);case 249:return function(e){st(e,e.modifiers),1024&~e.flags&&(Tt(16&e.flags?"namespace":"module"),At());me(e.name);var t=e.body;if(!t)return Ct();for(;249===t.kind;)St("."),me(t.name),t=t.body;At(),me(t)}(r);case 250:return function(t){Xt(t),e.forEach(t.statements,$t),we(t,Wt(t)),Yt(t)}(r);case 251:return function(e){Le(18,e.pos,St,e),vt(e,e.clauses,129),Le(19,e.clauses.end,St,e,!0)}(r);case 252:return function(e){var t=Le(89,e.pos,Tt,e);At(),t=Le(123,t,Tt,e),At(),t=Le(136,t,Tt,e),At(),me(e.name),Ct()}(r);case 253:return function(e){st(e,e.modifiers),Le(96,e.modifiers?e.modifiers.end:e.pos,Tt,e),At(),me(e.name),At(),Le(62,e.name.end,St,e),At(),function(e){75===e.kind?ve(e):me(e)}(e.moduleReference),Ct()}(r);case 254:return function(e){st(e,e.modifiers),Le(96,e.modifiers?e.modifiers.end:e.pos,Tt,e),At(),e.importClause&&(me(e.importClause),At(),Le(149,e.importClause.end,Tt,e),At());ve(e.moduleSpecifier),Ct()}(r);case 255:return function(e){e.isTypeOnly&&(Le(145,e.pos,Tt,e),At());me(e.name),e.name&&e.namedBindings&&(Le(27,e.name.end,St,e),At());me(e.namedBindings)}(r);case 256:return function(e){var t=Le(41,e.pos,St,e);At(),Le(123,t,Tt,e),At(),me(e.name)}(r);case 262:return function(e){var t=Le(41,e.pos,St,e);At(),Le(123,t,Tt,e),At(),me(e.name)}(r);case 257:return function(e){qe(e)}(r);case 258:return function(e){We(e)}(r);case 259:return function(e){var t=Le(89,e.pos,Tt,e);At(),e.isExportEquals?Le(62,t,kt,e):Le(84,t,Tt,e);At(),ve(e.expression),Ct()}(r);case 260:return function(e){var t=Le(89,e.pos,Tt,e);At(),e.isTypeOnly&&(t=Le(145,t,Tt,e),At());e.exportClause?me(e.exportClause):t=Le(41,t,St,e);if(e.moduleSpecifier){At(),Le(149,e.exportClause?e.exportClause.end:t,Tt,e),At(),ve(e.moduleSpecifier)}Ct()}(r);case 261:return function(e){qe(e)}(r);case 263:return function(e){We(e)}(r);case 264:return;case 265:return function(e){Tt("require"),St("("),ve(e.expression),St(")")}(r);case 11:return function(e){p.writeLiteral(e.text)}(r);case 268:case 271:return function(t){St("<"),e.isJsxOpeningElement(t)&&(He(t.tagName),ft(t,t.typeArguments),t.attributes.properties&&t.attributes.properties.length>0&&At(),me(t.attributes));St(">")}(r);case 269:case 272:return function(t){St("")}(r);case 273:return function(e){me(e.name),function(e,t,r,n){r&&(t(e),n(r))}("=",St,e.initializer,he)}(r);case 274:return function(e){vt(e,e.properties,262656)}(r);case 275:return function(e){St("{..."),ve(e.expression),St("}")}(r);case 276:return function(e){e.expression&&(St("{"),me(e.dotDotDotToken),ve(e.expression),St("}"))}(r);case 277:return function(e){Le(78,e.pos,Tt,e),At(),ve(e.expression),Ge(e,e.statements,e.expression.end)}(r);case 278:return function(e){var t=Le(84,e.pos,Tt,e);Ge(e,e.statements,t)}(r);case 279:return function(e){At(),Lt(e.token,Tt),At(),vt(e,e.types,528)}(r);case 280:return function(e){var t=Le(79,e.pos,Tt,e);At(),e.variableDeclaration&&(Le(20,t,St,e),me(e.variableDeclaration),Le(21,e.variableDeclaration.end,St,e),At());me(e.block)}(r);case 281:return function(t){me(t.name),St(":"),At();var r=t.initializer;if(br&&0==(512&e.getEmitFlags(r))){br(e.getCommentRange(r).pos)}ve(r)}(r);case 282:return function(e){me(e.name),e.objectAssignmentInitializer&&(At(),St("="),At(),ve(e.objectAssignmentInitializer))}(r);case 283:return function(e){e.expression&&(Le(25,e.pos,St,e),ve(e.expression))}(r);case 284:return function(e){me(e.name),ut(e.initializer,e.name.end,e)}(r);case 316:case 322:return function(e){Ye(e.tagName),$e(e.typeExpression),At(),e.isBracketed&&St("[");me(e.name),e.isBracketed&&St("]");Ze(e.comment)}(r);case 317:case 319:case 318:case 315:return Ye((n=r).tagName),$e(n.typeExpression),void Ze(n.comment);case 307:return function(e){Ye(e.tagName),At(),St("{"),me(e.class),St("}"),Ze(e.comment)}(r);case 320:return function(e){Ye(e.tagName),$e(e.constraint),At(),vt(e,e.typeParameters,528),Ze(e.comment)}(r);case 321:return function(e){Ye(e.tagName),e.typeExpression&&(294===e.typeExpression.kind?$e(e.typeExpression):(At(),St("{"),L("Object"),e.typeExpression.isArrayType&&(St("["),St("]")),St("}")));e.fullName&&(At(),me(e.fullName));Ze(e.comment),e.typeExpression&&304===e.typeExpression.kind&&Qe(e.typeExpression)}(r);case 314:return function(e){Ye(e.tagName),e.name&&(At(),me(e.name));Ze(e.comment),Xe(e.typeExpression)}(r);case 305:return Xe(r);case 304:return Qe(r);case 309:case 306:return function(e){Ye(e.tagName),Ze(e.comment)}(r);case 303:return function(e){if(L("/**"),e.comment)for(var t=e.comment.split(/\r\n?|\n/g),r=0,n=t;r=1&&!e.isJsonSourceFile(a)?64:0;vt(t,t.properties,526226|i|n),r&&It()}(r);case 194:return function(t){var r=e.cast(ve(t.expression),e.isExpression),n=e.getDotOrQuestionDotToken(t),i=qt(t,t.expression,n),a=qt(t,n,t.name);jt(i,!1),28===n.kind||!function(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isNumericLiteral(t)){var r=Qt(t,!0,!1);return!t.numericLiteralFlags&&!e.stringContains(r,e.tokenToString(24))}if(e.isAccessExpression(t)){var n=e.getConstantValue(t);return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}}(r)||p.hasTrailingComment()||p.hasTrailingWhitespace()||St(".");Le(n.kind,t.expression.end,St,t),jt(a,!1),me(t.name),Jt(i,a)}(r);case 195:return function(e){ve(e.expression),me(e.questionDotToken),Le(22,e.expression.end,St,e),ve(e.argumentExpression),Le(23,e.argumentExpression.end,St,e)}(r);case 196:return function(e){ve(e.expression),me(e.questionDotToken),ft(e,e.typeArguments),ht(e,e.arguments,2576)}(r);case 197:return function(e){Le(99,e.pos,Tt,e),At(),ve(e.expression),ft(e,e.typeArguments),ht(e,e.arguments,18960)}(r);case 198:return function(e){ve(e.tag),ft(e,e.typeArguments),At(),ve(e.template)}(r);case 199:return function(e){St("<"),me(e.type),St(">"),ve(e.expression)}(r);case 200:return function(e){var t=Le(20,e.pos,St,e);ve(e.expression),Le(21,e.expression?e.expression.end:t,St,e)}(r);case 201:return function(e){tr(e.name),Re(e)}(r);case 202:return function(e){pt(e,e.decorators),st(e,e.modifiers),je(e,Pe)}(r);case 203:return function(e){Le(85,e.pos,Tt,e),At(),ve(e.expression)}(r);case 204:return function(e){Le(108,e.pos,Tt,e),At(),ve(e.expression)}(r);case 205:return function(e){Le(110,e.pos,Tt,e),At(),ve(e.expression)}(r);case 206:return function(e){Le(127,e.pos,Tt,e),At(),ve(e.expression)}(r);case 207:return function(e){Lt(e.operator,kt),function(e){var t=e.operand;return 207===t.kind&&(39===e.operator&&(39===t.operator||45===t.operator)||40===e.operator&&(40===t.operator||46===t.operator))}(e)&&At();ve(e.operand)}(r);case 208:return function(e){ve(e.operand),Lt(e.operator,kt)}(r);case 209:return function(t){var r=[t],n=[0],i=0;for(;i>=0;)switch(t=r[i],n[i]){case 0:c(t.left);break;case 1:var a=27!==t.operatorToken.kind,o=qt(t,t.left,t.operatorToken),s=qt(t,t.operatorToken,t.right);jt(o,a),vr(t.operatorToken.pos),Mt(t.operatorToken,97===t.operatorToken.kind?Tt:kt),br(t.operatorToken.end,!0),jt(s,!0),c(t.right);break;case 2:o=qt(t,t.left,t.operatorToken),s=qt(t,t.operatorToken,t.right);Jt(o,s),i--;break;default:return e.Debug.fail("Invalid state "+n[i]+" for emitBinaryExpressionWorker")}function c(t){n[i]++;var a=b,o=x;b=t,x=void 0;var s=xe(0,1,t);s===Ce&&e.isBinaryExpression(t)?(i++,n[i]=0,r[i]=t):s(1,t),e.Debug.assert(b===t),b=a,x=o}}(r);case 210:return function(e){var t=qt(e,e.condition,e.questionToken),r=qt(e,e.questionToken,e.whenTrue),n=qt(e,e.whenTrue,e.colonToken),i=qt(e,e.colonToken,e.whenFalse);ve(e.condition),jt(t,!0),me(e.questionToken),jt(r,!0),ve(e.whenTrue),Jt(t,r),jt(n,!0),me(e.colonToken),jt(i,!0),ve(e.whenFalse),Jt(n,i)}(r);case 211:return function(e){me(e.head),vt(e,e.templateSpans,262144)}(r);case 212:return function(e){Le(121,e.pos,Tt,e),me(e.asteriskToken),_t(e.expression)}(r);case 213:return function(e){Le(25,e.pos,St,e),ve(e.expression)}(r);case 214:return function(e){tr(e.name),Ve(e)}(r);case 215:return;case 217:return function(e){ve(e.expression),e.type&&(At(),Tt("as"),At(),me(e.type))}(r);case 218:return function(e){ve(e.expression),kt("!")}(r);case 219:return function(e){Ot(e.keywordToken,e.pos,St),St("."),me(e.name)}(r);case 266:return function(e){me(e.openingElement),vt(e,e.children,262144),me(e.closingElement)}(r);case 267:return function(e){St("<"),He(e.tagName),ft(e,e.typeArguments),At(),me(e.attributes),St("/>")}(r);case 270:return function(e){me(e.openingFragment),vt(e,e.children,262144),me(e.closingFragment)}(r);case 325:return function(e){ve(e.expression)}(r);case 326:return function(e){ht(e,e.elements,528)}(r)}}function Te(t,r){e.Debug.assert(b===r||x===r),De(1,t,r)(t,x),e.Debug.assert(b===r||x===r)}function ke(r){var n=!1,i=291===r.kind?r:void 0;if(!i||O!==e.ModuleKind.None){for(var o=i?i.prepends.length:0,s=i?i.sourceFiles.length+o:1,c=0;c'),R&&R.sections.push({pos:i,end:p.getTextPos(),kind:"no-default-lib"}),Pt()}if(a&&a.moduleName&&(Nt('/// '),Pt()),a&&a.amdDependencies)for(var o=0,s=a.amdDependencies;o'):Nt('/// '),Pt()}for(var u=0,l=t;u'),R&&R.sections.push({pos:i,end:p.getTextPos(),kind:"reference",data:_.fileName}),Pt()}for(var d=0,f=r;d'),R&&R.sections.push({pos:i,end:p.getTextPos(),kind:"type",data:_.fileName}),Pt()}for(var g=0,m=n;g'),R&&R.sections.push({pos:i,end:p.getTextPos(),kind:"lib",data:_.fileName}),Pt()}}function tt(t){var r=t.statements;Xt(t),e.forEach(t.statements,$t),ke(t);var n=e.findIndex(r,(function(t){return!e.isPrologueDirective(t)}));!function(e){e.isDeclarationFile&&et(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(t),vt(t,r,1,-1===n?r.length:n),Yt(t)}function rt(t,r,n,i){for(var a=!!r,o=0;o=i.length||0===s;if(u&&32768&a)return N&&N(i),void(A&&A(i));if(15360&a&&(St(function(e){return n[15360&e][0]}(a)),u&&!c&&br(i.pos,!0)),N&&N(i),u)1&a?Pt():256&a&&!(524288&a)&&At();else{var l=0==(262144&a),_=l;zt(r,i,a)?(Pt(),_=!1):256&a&&At(),128&a&&wt();for(var d=void 0,p=void 0,f=!1,g=0;g=0&&Nr(u,i);i=a(r,n,i),c&&(i=c.end);0==(256&s)&&i>=0&&Nr(u,i);return i}(i,t,n,r,Lt)}function Mt(t,r){F&&F(t),r(e.tokenToString(t.kind)),P&&P(t)}function Lt(t,r,n){var i=e.tokenToString(t);return r(i),n<0?n:n+i.length}function Rt(t){1&e.getEmitFlags(t)?At():Pt()}function Bt(t){for(var r=t.split(/\r\n?|\n/g),n=e.guessIndentation(r),i=0,a=r;i0||o>0)&&a!==o&&(c||fr(a,s),(!c||a>=0&&0!=(512&n))&&(V=a),(!u||o>=0&&0!=(1024&n))&&(q=o,243===r.kind&&(W=o))),e.forEach(e.getSyntheticLeadingComments(r),lr),Y();var p=De(2,t,r);2048&n?(G=!0,p(t,r),G=!1):p(t,r),X(),e.forEach(e.getSyntheticTrailingComments(r),_r),(a>0||o>0)&&a!==o&&(V=l,q=_,W=d,!u&&s&&function(e){Sr(e,hr)}(o)),Y(),e.Debug.assert(b===r||x===r)}function lr(e){2===e.kind&&p.writeLine(),dr(e),e.hasTrailingNewLine||2===e.kind?p.writeLine():p.writeSpace(" ")}function _r(e){p.isAtStartOfLine()||p.writeSpace(" "),dr(e),e.hasTrailingNewLine&&p.writeLine()}function dr(t){var r=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(t),n=3===t.kind?e.computeLineStarts(r):void 0;e.writeCommentRange(r,n,p,0,r.length,I)}function pr(t,r,n){X();var i,o,s=r.pos,c=r.end,u=e.getEmitFlags(t),l=G||c<0||0!=(1024&u);s<0||0!=(512&u)||(i=r,(o=e.emitDetachedComments(a.text,ge(),p,Cr,i,I,G))&&(h?h.push(o):h=[o])),Y(),2048&u&&!G?(G=!0,n(t),G=!1):n(t),X(),l||(fr(r.end,!0),H&&!p.isAtStartOfLine()&&p.writeLine()),Y()}function fr(e,t){H=!1,t?Dr(e,yr):0===e&&Dr(e,gr)}function gr(t,r,n,i,o){(function(t,r){return e.isRecognizedTripleSlashComment(a.text,t,r)})(t,r)&&yr(t,r,n,i,o)}function mr(r,n){return!t.onlyPrintJsDocStyle||(e.isJSDocLikeText(r,n)||e.isPinnedComment(r,n))}function yr(t,r,n,i,o){mr(a.text,t)&&(H||(e.emitNewLineBeforeLeadingCommentOfPosition(ge(),p,o,t),H=!0),Er(t),e.writeCommentRange(a.text,ge(),p,t,r,I),Er(r),i?p.writeLine():3===n&&p.writeSpace(" "))}function vr(e){G||-1===e||fr(e,!0)}function hr(t,r,n,i){mr(a.text,t)&&(p.isAtStartOfLine()||p.writeSpace(" "),Er(t),e.writeCommentRange(a.text,ge(),p,t,r,I),Er(r),i&&p.writeLine())}function br(e,t){G||(X(),Sr(e,t?hr:xr),Y())}function xr(t,r,n,i){Er(t),e.writeCommentRange(a.text,ge(),p,t,r,I),Er(r),i?p.writeLine():p.writeSpace(" ")}function Dr(t,r){!a||-1!==V&&t===V||(function(t){return void 0!==h&&e.last(h).nodePos===t}(t)?function(t){var r=e.last(h).detachedCommentEndPos;h.length-1?h.pop():h=void 0;e.forEachLeadingCommentRange(a.text,r,t,r)}(r):e.forEachLeadingCommentRange(a.text,t,r,t))}function Sr(t,r){a&&(-1===q||t!==q&&t!==W)&&e.forEachTrailingCommentRange(a.text,t,r)}function Cr(t,r,n,i,o,s){mr(a.text,i)&&(Er(i),e.writeCommentRange(t,r,n,i,o,s),Er(o))}function Tr(t,r){e.Debug.assert(b===r||x===r);var n=De(3,t,r);if(e.isUnparsedSource(r)||e.isUnparsedPrepend(r))n(t,r);else if(e.isUnparsedNode(r)){var i=function(t){return void 0===t.parsedSourceMap&&void 0!==t.sourceMapText&&(t.parsedSourceMap=e.tryParseRawSourceMap(t.sourceMapText)||!1),t.parsedSourceMap||void 0}(r.parent);i&&m&&m.appendSourceMap(p.getLine(),p.getColumn(),i,r.parent.sourceMapPath,r.parent.getLineAndCharacterOfPosition(r.pos),r.parent.getLineAndCharacterOfPosition(r.end)),n(t,r)}else{var a=e.getSourceMapRange(r),o=a.pos,s=a.end,c=a.source,u=void 0===c?y:c,l=e.getEmitFlags(r);324!==r.kind&&0==(16&l)&&o>=0&&Nr(u,kr(u,o)),64&l?(U=!0,n(t,r),U=!1):n(t,r),324!==r.kind&&0==(32&l)&&s>=0&&Nr(u,s)}e.Debug.assert(b===r||x===r)}function kr(t,r){return t.skipTrivia?t.skipTrivia(r):e.skipTrivia(t.text,r)}function Er(t){if(!(U||e.positionIsSynthesized(t)||Fr(y))){var r=e.getLineAndCharacterOfPosition(y,t),n=r.line,i=r.character;m.addMapping(p.getLine(),p.getColumn(),K,n,i,void 0)}}function Nr(e,t){if(e!==y){var r=y;Ar(e),Er(t),Ar(r)}else Er(t)}function Ar(e){U||(y=e,Fr(e)||(K=m.addSource(e.fileName),t.inlineSources&&m.setSourceContent(K,e.text)))}function Fr(t){return e.fileExtensionIs(t.fileName,".json")}}e.isBuildInfoFile=function(t){return e.fileExtensionIs(t,".tsbuildinfo")},e.forEachEmittedFile=a,e.getTsBuildInfoEmitOutputFilePath=o,e.getOutputPathsForBundle=c,e.getOutputPathsFor=u,e.getOutputExtension=_,e.getOutputDeclarationFileName=p,e.getAllProjectOutputs=function(e,t){var r=g(),n=r.addOutput,i=r.getOutputs;if(e.options.outFile||e.options.out)m(e,n);else{for(var a=0,s=e.fileNames;a=4,y=(p+1+"").length;m&&(y=Math.max("...".length,y));for(var v="",h=c;h<=p;h++){v+=o.getNewLine(),m&&c+10?{diagnostics:a,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}:void 0}}function v(t,r){return void 0===r&&(r=t),{fileExists:function(e){return r.fileExists(e)},readDirectory:function(t,n,i,a,o){return e.Debug.assertDefined(r.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),r.readDirectory(t,n,i,a,o)},readFile:function(e){return r.readFile(e)},useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return t.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:t.trace?function(e){return t.trace(e)}:void 0}}function h(t,r,n){if(!t)return e.emptyArray;for(var i,a=0;a1}))&&Ut(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}F.useDefineForClassFields&&0===l&&Ut(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");F.checkJs&&!F.allowJs&&Z.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));F.emitDeclarationOnly&&(e.getEmitDeclarations(F)||Ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),F.noEmit&&Ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));F.emitDecoratorMetadata&&!F.experimentalDecorators&&Ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");F.jsxFactory?(F.reactNamespace&&Ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(F.jsxFactory,l)||Kt("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,F.jsxFactory)):F.reactNamespace&&!e.isIdentifierText(F.reactNamespace,l)&&Kt("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,F.reactNamespace);if(!F.noEmit&&!F.suppressOutputPathCheck){var y=Ke(),v=e.createMap();e.forEachEmittedFile(y,(function(e){F.emitDeclarationOnly||h(e.jsFilePath,v),h(e.declarationFilePath,v)}))}function h(t,r){if(t){var n=Je(t);if(ge.has(n)){var i=void 0;F.configFilePath||(i=e.chainDiagnosticMessages(void 0,e.Diagnostics.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)),i=e.chainDiagnosticMessages(i,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,t),Gt(t,e.createCompilerDiagnosticFromMessageChain(i))}var a=H.useCaseSensitiveFileNames()?n:e.toFileNameLowerCase(n);r.has(a)?Gt(t,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,t)):r.set(a,!0)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),Be;function je(t){if(e.containsPath(Y,t.fileName,!1)){var r=e.getBaseFileName(t.fileName);if("lib.d.ts"===r||"lib.es6.d.ts"===r)return 0;var n=e.removeSuffix(e.removePrefix(r,"lib."),".d.ts"),i=e.libs.indexOf(n);if(-1!==i)return i+1}return e.libs.length+2}function Je(t){return e.toPath(t,$,It)}function ze(){if(void 0===S){var t=e.filter(f,(function(t){return e.sourceFileMayBeEmitted(t,Be)}));F.rootDir&&Mt(t,F.rootDir)?S=e.getNormalizedAbsolutePath(F.rootDir,$):F.composite&&F.configFilePath?Mt(t,S=e.getDirectoryPath(e.normalizeSlashes(F.configFilePath))):(r=t,S=i(e.mapDefined(r,(function(e){return e.isDeclarationFile?void 0:e.fileName})),$,It)),S&&S[S.length-1]!==e.directorySeparator&&(S+=e.directorySeparator)}var r;return S}function Ue(t,r,n){if(0===_e&&!n.ambientModuleNames.length)return q(t,r,void 0,Dt(n.originalFileName));var i,a,o,s=I&&I.getSourceFile(r);if(s!==n&&n.resolvedModules){for(var c=[],u=0,l=t;u0;){var s=n.text.slice(a[o-1],a[o]),c=r.exec(s);if(!c)return!0;if(c[3])return!1;o--}return!0}function at(e,t){return st(e,t,L,ot)}function ot(t,r){return et((function(){var n=We().getEmitResolver(t,r);return e.getDeclarationDiagnostics(Ke(e.noop),n,t)||e.emptyArray}))}function st(t,r,n,i){var a=t?n.perFile&&n.perFile.get(t.path):n.allDiagnostics;if(a)return a;var o=i(t,r);return t?(n.perFile||(n.perFile=e.createMap()),n.perFile.set(t.path,o)):n.allDiagnostics=o,o}function ct(e,t){return e.isDeclarationFile?[]:at(e,t)}function ut(t,r,n){ft(e.normalizePath(t),r,n,void 0)}function lt(e,t){return e.fileName===t.fileName}function _t(e,t){return 75===e.kind?75===t.kind&&e.escapedText===t.escapedText:10===t.kind&&e.text===t.text}function dt(t){if(!t.imports){var r,n,i,a=e.isSourceFileJS(t),o=e.isExternalModule(t);if(F.importHelpers&&(F.isolatedModules||o)&&!t.isDeclarationFile){var s=e.createLiteral(e.externalHelpersModuleNameText),c=e.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(c,67108864),s.parent=c,c.parent=t,r=[s]}for(var u=0,l=t.statements;u0),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,v,t,r,Je(t),_);return fe.add(b.path,t),vt(x,r,l),pe.set(r,o.name),p.push(x),x}v&&(de.set(h,v),pe.set(r,o.name))}if(vt(v,r,l),v){if(U.set(r,J>0),v.fileName=t,v.path=r,v.resolvedPath=Je(t),v.originalFileName=_,yt(t,v,a),H.useCaseSensitiveFileNames()){var D=e.toFileNameLowerCase(r),S=me.get(D);S?gt(t,S,a):me.set(D,v)}Q=Q||v.hasNoDefaultLib&&!i,F.noResolve||(Nt(v,n),At(v)),F.noLib||Pt(v),Ot(v),n?d.push(v):p.push(v)}return v}function yt(t,r,n){n&&r&&(E||(E=e.createMultiMap())).add(r.path,{referencedFileName:t,kind:n.kind,index:n.index,file:n.file.path})}function vt(e,t,r){r?(ge.set(r,e),ge.set(t,e||!1)):ge.set(t,e)}function ht(e){var t=bt(e);return t&&xt(t,e)}function bt(t){if(se&&se.length&&!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json"))return Dt(t)}function xt(t,r){var n=t.commandLine.options.outFile||t.commandLine.options.out;return n?e.changeExtension(n,".d.ts"):e.getOutputDeclarationFileName(r,t.commandLine,!H.useCaseSensitiveFileNames())}function Dt(t){void 0===ue&&(ue=e.createMap(),St((function(e,t){e&&Je(F.configFilePath)!==t&&e.commandLine.fileNames.forEach((function(e){return ue.set(Je(e),t)}))})));var r=ue.get(Je(t));return r&&Et(r)}function St(e){return kt(w,se,(function(t,r,n){var i=Je(b((n?n.commandLine.projectReferences:w)[r]));return e(t,i)}))}function Ct(t){if(e.isDeclarationFileName(t))return void 0===le&&(le=e.createMap(),St((function(t){if(t){var r=t.commandLine.options.outFile||t.commandLine.options.out;if(r){var n=e.changeExtension(r,".d.ts");le.set(Je(n),!0)}else e.forEach(t.commandLine.fileNames,(function(r){if(!e.fileExtensionIs(r,".d.ts")&&!e.fileExtensionIs(r,".json")){var n=e.getOutputDeclarationFileName(r,t.commandLine,H.useCaseSensitiveFileNames());le.set(Je(n),r)}}))}}))),le.get(Je(t))}function Tt(e){return ye&&!!Dt(e)}function kt(t,r,n,i){var a;return function t(r,n,i,o,s){if(s){var c=s(r,i);if(c)return c}return e.forEach(n,(function(r,n){if(!e.contains(a,r)){var c=o(r,n,i);if(c)return c;if(r)return(a||(a=[])).push(r),t(r.commandLine.projectReferences,r.references,r,o,s)}}))}(t,r,void 0,n,i)}function Et(e){if(ce)return ce.get(e)||void 0}function Nt(t,r){e.forEach(t.referencedFiles,(function(i,a){ft(n(i.fileName,t.originalFileName),r,!1,void 0,{kind:e.RefFileKind.ReferenceFile,index:a,file:t,pos:i.pos,end:i.end})}))}function At(t){var r=e.map(t.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)}));if(r)for(var n=W(r,t.originalFileName,Dt(t.originalFileName)),i=0;ij,_=u&&!x(F,a)&&!F.noResolve&&ir&&(Z.add(e.createDiagnosticForNodeInSourceFile(F.configFile,p.elements[r],n,i,a,o)),s=!1)}}s&&Z.add(e.createCompilerDiagnostic(n,i,a,o))}function Jt(t,r,n,i){for(var a=!0,o=0,s=zt();or?Z.add(e.createDiagnosticForNodeInSourceFile(t||F.configFile,o.elements[r],n,i,a)):Z.add(e.createCompilerDiagnostic(n,i,a))}function qt(t,r,n,i,a,o,s){var c=Wt();(!c||!Ht(c,t,r,n,i,a,o,s))&&Z.add(e.createCompilerDiagnostic(i,a,o,s))}function Wt(){if(void 0===K){K=null;var t=e.getTsConfigObjectLiteralExpression(F.configFile);if(t)for(var r=0,n=e.getPropertyAssignment(t,"compilerOptions");r0)for(var s=t.getTypeChecker(),c=0,u=r.imports;c0)for(var d=0,p=r.referencedFiles;d1&&D(x)}return i;function D(t){for(var n=0,i=t.declarations;n1?f.outputFiles[1]:void 0:f.outputFiles.length>0?f.outputFiles[0]:void 0;g?(e.Debug.assert(e.fileExtensionIs(g.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(g.name)+" for "+g.name+":: All output files: "+JSON.stringify(f.outputFiles.map((function(e){return e.name})))})),_=c(g.text),u&&_!==d&&function(t,r,n){if(!r)return void n.set(t.resolvedPath,!1);var a;r.forEach((function(t){var r;(r=i(t))&&(a||(a=e.createMap()),a.set(r,!0))})),n.set(t.resolvedPath,a||!1)}(a,f.exportedModulesFromDeclarationEmit,u)):_=d}return o.set(a.resolvedPath,_),!d||_!==d}function d(t,r){if(!t.allFileNames){var n=r.getSourceFiles();t.allFileNames=n===e.emptyArray?e.emptyArray:n.map((function(e){return e.fileName}))}return t.allFileNames}function p(t,r){return e.arrayFrom(e.mapDefinedIterator(t.referencedMap.entries(),(function(e){var t=e[0];return e[1].has(r)?t:void 0})))}function f(t){return function(t){return e.some(t.moduleAugmentations,(function(t){return e.isGlobalScopeAugmentation(t.parent)}))}(t)||!e.isExternalModule(t)&&!function(t){for(var r=0,n=t.statements;r0;){var d=l.pop();if(!u.has(d)){var m=r.getSourceFileByPath(d);u.set(d,m),m&&_(t,r,m,i,a,o,s)&&l.push.apply(l,p(t,m.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(u.values(),(function(e){return e})))}n.canReuseOldState=u,n.create=function(t,r,n){for(var i=e.createMap(),a=t.getCompilerOptions().module!==e.ModuleKind.None?e.createMap():void 0,o=a?e.createMap():void 0,c=e.createMap(),l=u(a,n),_=0,d=t.getSourceFiles();_0;){var o=a.pop();if(!i.has(o))if(i.set(o,!0),n(t,o)&&u(t,o)){var s=e.Debug.assertDefined(t.program).getSourceFileByPath(o);a.push.apply(a,e.BuilderState.getReferencedByPaths(t,s.resolvedPath))}}}e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap);var c=e.createMap();if(e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,i){return e&&e.has(r.resolvedPath)&&l(t,i,c,n)})))return;e.forEachEntry(t.exportedModulesMap,(function(e,i){return!t.currentAffectedFilesExportedModulesMap.has(i)&&e.has(r.resolvedPath)&&l(t,i,c,n)}))}(t,r,(function(t,r){return function(t,r,n,i){if(s(t,r),!t.changedFilesSet.has(r)){var a=e.Debug.assertDefined(t.program),o=a.getSourceFileByPath(r);o&&(e.BuilderState.updateShapeSignature(t,a,o,e.Debug.assertDefined(t.currentAffectedFilesSignatures),n,i,t.currentAffectedFilesExportedModulesMap),e.getEmitDeclarations(t.compilerOptions)&&h(t,r,0))}return!1}(t,r,n,i)}));else if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;var a=e.Debug.assertDefined(t.program),o=a.getCompilerOptions();e.forEach(a.getSourceFiles(),(function(r){return a.isSourceFileDefaultLibrary(r)&&!e.skipTypeChecking(r,o,a)&&s(t,r.resolvedPath)}))}}function s(e,t){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size)}function u(t,r){return e.Debug.assertDefined(t.currentAffectedFilesSignatures).get(r)!==e.Debug.assertDefined(t.fileInfos.get(r)).signature}function l(t,r,n,i){return e.forEachEntry(t.referencedMap,(function(a,o){return a.has(r)&&function t(r,n,i,a){if(!e.addToSeen(i,n))return!1;if(a(r,n))return!0;if(e.Debug.assert(!!r.currentAffectedFilesExportedModulesMap),e.forEachEntry(r.currentAffectedFilesExportedModulesMap,(function(e,o){return e&&e.has(n)&&t(r,o,i,a)})))return!0;if(e.forEachEntry(r.exportedModulesMap,(function(e,o){return!r.currentAffectedFilesExportedModulesMap.has(o)&&e.has(n)&&t(r,o,i,a)})))return!0;return!!e.forEachEntry(r.referencedMap,(function(e,t){return e.has(n)&&!i.has(t)&&a(r,t)}))}(t,o,n,i)}))}function _(t,r,n,i,a){a?t.emittedBuildInfo=!0:r===t.program?(t.changedFilesSet.clear(),t.programEmitComplete=!0):(t.seenAffectedFiles.set(r.resolvedPath,!0),void 0!==n&&(t.seenEmittedFiles||(t.seenEmittedFiles=e.createMap())).set(r.resolvedPath,n),i?t.affectedFilesPendingEmitIndex++:t.affectedFilesIndex++)}function d(e,t,r){return _(e,r),{result:t,affected:r}}function p(e,t,r,n,i,a){return _(e,r,n,i,a),{result:t,affected:r}}function f(t,r,n){return e.concatenate(function(t,r,n){var i=r.resolvedPath;if(t.semanticDiagnosticsPerFile){var a=t.semanticDiagnosticsPerFile.get(i);if(a)return a}var o=e.Debug.assertDefined(t.program).getBindAndCheckDiagnostics(r,n);t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(i,o);return o}(t,r,n),e.Debug.assertDefined(t.program).getProgramDiagnostics(r))}function g(t,r){var n={},i=e.getOptionsNameMap().optionsNameMap;for(var a in t)e.hasProperty(t,a)&&(n[a]=m(i.get(a.toLowerCase()),t[a],r));return n.configFilePath&&(n.configFilePath=r(n.configFilePath)),n}function m(e,t,r){if(e)if("list"===e.type){var n=t;if(e.element.isFilePath&&n.length)return n.map(r)}else if(e.isFilePath)return r(t);return t}function y(t,r){return e.Debug.assert(!!t.length),t.map((function(t){var n=v(t,r);n.reportsUnnecessary=t.reportsUnnecessary,n.source=t.source;var i=t.relatedInformation;return n.relatedInformation=i?i.length?i.map((function(e){return v(e,r)})):e.emptyArray:void 0,n}))}function v(e,t){var r=e.file;return c(c({},e),{file:r?t(r.resolvedPath):void 0})}function h(t,r,n){t.affectedFilesPendingEmit||(t.affectedFilesPendingEmit=[]),t.affectedFilesPendingEmitKind||(t.affectedFilesPendingEmitKind=e.createMap());var i=t.affectedFilesPendingEmitKind.get(r);t.affectedFilesPendingEmit.push(r),t.affectedFilesPendingEmitKind.set(r,i||n),void 0===t.affectedFilesPendingEmitIndex&&(t.affectedFilesPendingEmitIndex=0)}function b(t,r){if(t){var n=e.createMap();for(var i in t)e.hasProperty(t,i)&&n.set(r(i),e.arrayToSet(t[i],r));return n}}function x(t,r){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:n,getProgramOrUndefined:function(){return t.program},releaseProgram:function(){return t.program=void 0},getCompilerOptions:function(){return t.compilerOptions},getSourceFile:function(e){return n().getSourceFile(e)},getSourceFiles:function(){return n().getSourceFiles()},getOptionsDiagnostics:function(e){return n().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return n().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return r},getSyntacticDiagnostics:function(e,t){return n().getSyntacticDiagnostics(e,t)},getDeclarationDiagnostics:function(e,t){return n().getDeclarationDiagnostics(e,t)},getSemanticDiagnostics:function(e,t){return n().getSemanticDiagnostics(e,t)},emit:function(e,t,r,i,a){return n().emit(e,t,r,i,a)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return n().getCurrentDirectory()},close:e.noop};function n(){return e.Debug.assertDefined(t.program)}}!function(e){e[e.DtsOnly=0]="DtsOnly",e[e.Full=1]="Full"}(e.BuilderFileEmit||(e.BuilderFileEmit={})),function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(t=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(t,r,n,i,a,o){var s,c,u;return void 0===t?(e.Debug.assert(void 0===r),s=n,u=i,e.Debug.assert(!!u),c=u.getProgram()):e.isArray(t)?(u=i,c=e.createProgram({rootNames:t,options:r,host:n,oldProgram:u&&u.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:o}),s=n):(c=t,s=r,u=n,a=i),{host:s,newProgram:c,oldProgram:u,configFileParsingDiagnostics:a||e.emptyArray}},e.createBuilderProgram=function(n,o){var s=o.newProgram,c=o.host,u=o.oldProgram,l=o.configFileParsingDiagnostics,m=u&&u.getState();if(m&&s===m.program&&l===s.getConfigFileParsingDiagnostics())return s=void 0,m=void 0,u;var v,b=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),D=c.createHash||e.generateDjb2Hash,S=r(s,b,m);s.getProgramBuildInfo=function(){return function(t,r){if(!t.compilerOptions.outFile&&!t.compilerOptions.out){var n=e.Debug.assertDefined(t.program).getCurrentDirectory(),i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.compilerOptions),n)),a={};t.fileInfos.forEach((function(e,r){var n=t.currentAffectedFilesSignatures&&t.currentAffectedFilesSignatures.get(r);a[l(r)]=void 0===n?e:{version:e.version,signature:n}}));var o={fileInfos:a,options:g(t.compilerOptions,(function(t){return l(e.getNormalizedAbsolutePath(t,n))}))};if(t.referencedMap){var s={};t.referencedMap.forEach((function(t,r){s[l(r)]=e.arrayFrom(t.keys(),l)})),o.referencedMap=s}if(t.exportedModulesMap){var c={};t.exportedModulesMap.forEach((function(r,n){var i=t.currentAffectedFilesExportedModulesMap&&t.currentAffectedFilesExportedModulesMap.get(n);void 0===i?c[l(n)]=e.arrayFrom(r.keys(),l):i&&(c[l(n)]=e.arrayFrom(i.keys(),l))})),o.exportedModulesMap=c}if(t.semanticDiagnosticsPerFile){var u=[];t.semanticDiagnosticsPerFile.forEach((function(e,r){return u.push(e.length?[l(r),t.hasReusableDiagnostic?e:y(e,l)]:l(r))})),o.semanticDiagnosticsPerFile=u}return o}function l(t){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(i,t,r))}}(S,b)},s=void 0,u=void 0,m=void 0;var C=x(S,l);return C.getState=function(){return S},C.backupState=function(){e.Debug.assert(void 0===v),v=function(t){var r=e.BuilderState.clone(t);return r.semanticDiagnosticsPerFile=e.cloneMapOrUndefined(t.semanticDiagnosticsPerFile),r.changedFilesSet=e.cloneMap(t.changedFilesSet),r.affectedFiles=t.affectedFiles,r.affectedFilesIndex=t.affectedFilesIndex,r.currentChangedFilePath=t.currentChangedFilePath,r.currentAffectedFilesSignatures=e.cloneMapOrUndefined(t.currentAffectedFilesSignatures),r.currentAffectedFilesExportedModulesMap=e.cloneMapOrUndefined(t.currentAffectedFilesExportedModulesMap),r.seenAffectedFiles=e.cloneMapOrUndefined(t.seenAffectedFiles),r.cleanedDiagnosticsOfLibFiles=t.cleanedDiagnosticsOfLibFiles,r.semanticDiagnosticsFromOldState=e.cloneMapOrUndefined(t.semanticDiagnosticsFromOldState),r.program=t.program,r.compilerOptions=t.compilerOptions,r.affectedFilesPendingEmit=t.affectedFilesPendingEmit&&t.affectedFilesPendingEmit.slice(),r.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(t.affectedFilesPendingEmitKind),r.affectedFilesPendingEmitIndex=t.affectedFilesPendingEmitIndex,r.seenEmittedFiles=e.cloneMapOrUndefined(t.seenEmittedFiles),r.programEmitComplete=t.programEmitComplete,r}(S)},C.restoreState=function(){S=e.Debug.assertDefined(v),v=void 0},C.getAllDependencies=function(t){return e.BuilderState.getAllDependencies(S,e.Debug.assertDefined(S.program),t)},C.getSemanticDiagnostics=function(t,r){i(S,t);var n,a=e.Debug.assertDefined(S.program).getCompilerOptions();if(a.outFile||a.out)return e.Debug.assert(!S.semanticDiagnosticsPerFile),e.Debug.assertDefined(S.program).getSemanticDiagnostics(t,r);if(t)return f(S,t,r);for(;k(r););for(var o=0,s=e.Debug.assertDefined(S.program).getSourceFiles();o1||47!==t.charCodeAt(0);if(a&&0!==t.search(/[a-zA-Z]:/)&&0===i.search(/[a-zA-z]\$\//)){if(-1===(n=t.indexOf(e.directorySeparator,n+1)))return!1;i=t.substring(r+i.length,n+1)}if(a&&0!==i.search(/users\//i))return!0;for(var o=n+1,s=2;s>0;s--)if(0===(o=t.indexOf(e.directorySeparator,o)+1))return!1;return!0}e.removeIgnoredPath=t,e.canWatchDirectory=r,e.maxNumberOfFilesToIterateForInvalidation=256,e.createResolutionCache=function(n,i,a){var o,s,c,u=!1,l=e.createMultiMap(),_=e.memoize((function(){return n.getCurrentDirectory()})),d=n.getCachedDirectoryStructureHost(),p=e.createMap(),f=e.createCacheWithRedirects(),g=e.createCacheWithRedirects(),m=e.createModuleResolutionCacheWithMaps(f,g,_(),n.getCanonicalFileName),y=e.createMap(),v=e.createCacheWithRedirects(),h=[".ts",".tsx",".js",".jsx",".json"],b=e.createMap(),x=e.createMap(),D=i&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(i,_())),S=D&&n.toPath(D),C=void 0!==S?S.split(e.directorySeparator).length:0,T=e.createMap();return{startRecordingFilesWithChangedResolutions:function(){o=[]},finishRecordingFilesWithChangedResolutions:function(){var e=o;return o=void 0,e},startCachingPerDirectoryResolution:F,finishCachingPerDirectoryResolution:function(){u=!1,c=void 0,F(),x.forEach((function(e,t){0===e.refCount&&(x.delete(t),e.watcher.close())}))},resolveModuleNames:function(t,r,n,i){return w(t,r,i,p,f,P,k,(function(t){return!t.resolvedModule||!e.resolutionExtensionIsTSOrJson(t.resolvedModule.extension)}),n,a)},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,t){var r=p.get(n.toPath(t));return r&&r.get(e)},resolveTypeReferenceDirectives:function(t,r,n){return w(t,r,n,y,v,e.resolveTypeReferenceDirective,E,(function(e){return void 0===e.resolvedTypeReferenceDirective}),void 0,!1)},removeResolutionsFromProjectReferenceRedirects:function(t){if(!e.fileExtensionIs(t,".json"))return;var r=n.getCurrentProgram();if(!r)return;var i=r.getResolvedProjectReferenceByPath(t);if(!i)return;i.commandLine.fileNames.forEach((function(e){return H(n.toPath(e))}))},removeResolutionsOfFile:H,invalidateResolutionOfFile:function(e){H(e),Q((function(t,r){var i=r(t);return!!i&&n.toPath(i.resolvedFileName)===e}))},setFilesWithInvalidatedNonRelativeUnresolvedImports:function(t){e.Debug.assert(c===t||void 0===c),c=t},createHasInvalidatedResolution:function(t){if(u||t)return s=void 0,e.returnTrue;var r=s;return s=void 0,function(e){return!!r&&r.has(e)||A(e)}},updateTypeRootsWatch:function(){var t=n.getCompilationSettings();if(t.types)return void Y();var r=e.getEffectiveTypeRoots(t,{directoryExists:$,getCurrentDirectory:_});r?e.mutateMap(T,e.arrayToMap(r,(function(e){return n.toPath(e)})),{createNewValue:Z,onDeleteValue:e.closeFileWatcher}):Y()},closeTypeRootsWatch:Y,clear:function(){e.clearMap(x,e.closeFileWatcherOf),b.clear(),l.clear(),Y(),p.clear(),y.clear(),u=!1,F()}};function k(e){return e.resolvedModule}function E(e){return e.resolvedTypeReferenceDirective}function N(t,r){return!(void 0===t||r.length<=t.length)&&(e.startsWith(r,t)&&r[t.length]===e.directorySeparator)}function A(e){if(!c)return!1;var t=c.get(e);return!!t&&!!t.length}function F(){f.clear(),g.clear(),v.clear(),l.forEach(z),l.clear()}function P(t,r,i,a,o){var s=e.resolveModuleName(t,r,i,a,m,o);if(!n.getGlobalCache)return s;var c=n.getGlobalCache();if(!(void 0===c||e.isExternalModuleNameRelative(t)||s.resolvedModule&&e.extensionIsTS(s.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.assertDefined(n.globalCacheResolutionModuleName)(t),n.projectName,i,a,c),l=u.resolvedModule,_=u.failedLookupLocations;if(l)return{resolvedModule:l,failedLookupLocations:e.addRange(s.failedLookupLocations,_)}}return s}function w(t,r,i,a,s,c,l,_,d,p){var f=n.toPath(r),g=a.get(f)||a.set(f,e.createMap()).get(f),m=e.getDirectoryPath(f),y=s.getOrCreateMapOfCacheRedirects(i),v=y.get(m);v||(v=e.createMap(),y.set(m,v));for(var h=[],b=n.getCompilationSettings(),x=p&&A(f),D=n.getCurrentProgram(),S=D&&D.getResolvedProjectReferenceToRedirect(r),C=S?!i||i.sourceFile.path!==S.sourceFile.path:!!i,T=e.createMap(),k=0,E=t;kC+1?{dir:i.slice(0,C+1).join(e.directorySeparator),dirPath:n.slice(0,C+1).join(e.directorySeparator)}:{dir:D,dirPath:S,nonRecursive:!1}}return L(e.getDirectoryPath(e.getNormalizedAbsolutePath(t,_())),e.getDirectoryPath(r))}function L(t,n){for(;e.pathContainsNodeModules(n);)t=e.getDirectoryPath(t),n=e.getDirectoryPath(n);if(I(n))return r(e.getDirectoryPath(n))?{dir:t,dirPath:n}:void 0;var i,a,o=!0;if(void 0!==S)for(;!N(n,S);){var s=e.getDirectoryPath(n);if(s===n)break;o=!1,i=n,a=t,n=s,t=e.getDirectoryPath(t)}return r(n)?{dir:a||t,dirPath:i||n,nonRecursive:o}:void 0}function R(t){return e.fileExtensionIsOneOf(t,h)}function B(t,r){r.failedLookupLocations&&r.failedLookupLocations.length&&(r.refCount?r.refCount++:(r.refCount=1,e.isExternalModuleNameRelative(t)?j(r):l.add(t,r)))}function j(t){e.Debug.assert(!!t.refCount);for(var r=!1,i=0,a=t.failedLookupLocations;i1),b.set(s,l-1))),u===S?r=!0:V(u)}}r&&V(S)}}function V(e){x.get(e).refCount--}function q(e,t,r){return n.watchDirectoryOfFailedLookupLocation(e,(function(e){var r=n.toPath(e);d&&d.addOrDeleteFileOrDirectory(e,r),!u&&X(r,t===r)&&n.onInvalidatedResolution()}),r?0:1)}function W(e,t){var r=e.get(t);r&&(r.forEach(K),e.delete(t))}function H(e){W(p,e),W(y,e)}function G(t,r,i){var a=e.createMap();t.forEach((function(t,o){var c=e.getDirectoryPath(o),u=a.get(c);u||(u=e.createMap(),a.set(c,u)),t.forEach((function(t,a){u.has(a)||(u.set(a,!0),!t.isInvalidated&&r(t,i)&&(t.isInvalidated=!0,(s||(s=e.createMap())).set(o,!0),o.endsWith(e.inferredTypesContainingFile)&&n.onChangedAutomaticTypeDirectiveNames()))}))}))}function Q(t){var r;(r=n.maxNumberOfFilesToIterateForInvalidation||e.maxNumberOfFilesToIterateForInvalidation,p.size>r||y.size>r)?u=!0:(G(p,t,k),G(y,t,E))}function X(r,i){var a;if(i)a=function(e){return N(r,n.toPath(e))};else{var o=t(r);if(!o)return!1;if(r=o,n.fileIsOpen(r))return!1;var c=e.getDirectoryPath(r);if(O(r)||I(r)||O(c)||I(c))a=function(t){return n.toPath(t)===r||e.startsWith(n.toPath(t),r)};else{if(!R(r)&&!b.has(r))return!1;if(e.isEmittedFileOfProgram(n.getCurrentProgram(),r))return!1;a=function(e){return n.toPath(e)===r}}}var l=s&&s.size;return Q((function(t){return e.some(t.failedLookupLocations,a)})),u||s&&s.size!==l}function Y(){e.clearMap(T,e.closeFileWatcher)}function Z(e,t){return n.watchTypeRootsDirectory(t,(function(r){var i=n.toPath(r);d&&d.addOrDeleteFileOrDirectory(r,i),n.onChangedAutomaticTypeDirectiveNames();var a=function(e,t){if(!u){if(N(S,t))return S;var r=L(e,t);return r&&x.has(r.dirPath)?r.dirPath:void 0}}(t,e);a&&X(i,a===i)&&n.onInvalidatedResolution()}),1)}function $(t){var i=e.getDirectoryPath(e.getDirectoryPath(t)),a=n.toPath(i);return a===S||r(a)}}}(p||(p={})),function(e){!function(t){var r,n;function i(t,r,n){var i=t.importModuleSpecifierPreference,a=t.importModuleSpecifierEnding;return{relativePreference:"relative"===i?0:"non-relative"===i?1:2,ending:function(){switch(a){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(t){var r=t.imports;return e.firstDefined(r,(function(t){var r=t.text;return e.pathIsRelative(r)?e.hasJSFileExtension(r):void 0}))||!1}(n)?2:e.getEmitModuleResolutionKind(r)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function a(t,r,n,i,a,s,u){var l=o(r,i),_=d(a,r,n,l.getCanonicalFileName,i,s);return e.firstDefined(_,(function(e){return f(e,l,i,t)}))||c(n,l,t,u)}function o(t,r){return{getCanonicalFileName:e.createGetCanonicalFileName(!r.useCaseSensitiveFileNames||r.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(t)}}function c(t,r,n,i){var a=r.getCanonicalFileName,o=r.sourceDirectory,s=i.ending,c=i.relativePreference,l=n.baseUrl,_=n.paths,d=n.rootDirs,f=d&&function(t,r,n,i,a,o){var s=g(r,t,i);if(void 0===s)return;var c=g(n,t,i),u=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,i)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?m(u,a,o):e.removeFileExtension(u)}(d,t,o,a,s,n)||m(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,t,a)),s,n);if(!l||0===c)return f;var h=y(t,l,a);if(!h)return f;var b=m(h,s,n),x=_&&p(e.removeFileExtension(h),b,_),D=void 0===x?b:x;return 1===c?D:(2!==c&&e.Debug.assertNever(c),v(D)||u(f)1&&r.sort(_),v.push.apply(v,r));var i=e.getDirectoryPath(t);if(i===t)return m=t,"break";m=t=i},b=e.getDirectoryPath(e.toPath(r,l,i));0!==y.size;){var x=h(b);if(b=m,"break"===x)break}if(y.size){var D=e.arrayFrom(y.values());D.length>1&&D.sort(_),v.push.apply(v,D)}return v}function p(t,r,n){for(var i in n)for(var a=0,o=n[i];a=l.length+_.length&&e.startsWith(r,l)&&e.endsWith(r,_)||!_&&r===e.removeTrailingDirectorySeparator(l)){var d=r.substr(l.length,r.length-_.length);return i.replace("*",d)}}else if(c===r||c===t)return i}}function f(t,r,n,i,a){var o=r.getCanonicalFileName,s=r.sourceDirectory;if(n.fileExists&&n.readFile){var c=function(t){var r,n,i=0,a=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(n||(n={}));var s=0,c=0,u=0;for(;c>=0;)switch(s=c,c=t.indexOf("/",s+1),u){case 0:t.indexOf(e.nodeModulesPathPart,s)===s&&(i=s,a=c,u=1);break;case 1:case 2:1===u&&"@"===t.charAt(s+1)?u=2:(o=c,u=3);break;case 3:u=t.indexOf(e.nodeModulesPathPart,s)===s?1:3}return r=s,u>1?{topLevelNodeModulesIndex:i,topLevelPackageNameIndex:a,packageRootIndex:o,fileNameIndex:r}:void 0}(t);if(c){var u,l=t.substring(0,c.packageRootIndex);if(!a){var _=e.combinePaths(l,"package.json"),d=(u=n.fileExists(_)?JSON.parse(n.readFile(_)):void 0)&&u.typesVersions?e.getPackageJsonTypesVersionsPaths(u.typesVersions):void 0;if(d){var f=t.slice(c.packageRootIndex+1),g=p(e.removeFileExtension(f),m(f,0,i),d.paths);void 0!==g&&(t=e.combinePaths(t.slice(0,c.packageRootIndex),g))}}var y=a?t:function(t){if(u){var r=u.typings||u.types||u.main;if(e.isString(r)){var i=e.toPath(r,l,o);if(e.removeFileExtension(i)===e.removeFileExtension(o(t)))return l}}var a=e.removeFileExtension(t);if("/index"===o(a.substring(c.fileNameIndex))&&!function(t,r){if(!t.fileExists)return;for(var n=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),i=0,a=n;i0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function p(t,r){return void 0===t&&(t=e.sys),{onWatchStatusChange:r||a(t),watchFile:e.maybeBind(t,t.watchFile)||function(){return e.noopFileWatcher},watchDirectory:e.maybeBind(t,t.watchDirectory)||function(){return e.noopFileWatcher},setTimeout:e.maybeBind(t,t.setTimeout)||e.noop,clearTimeout:e.maybeBind(t,t.clearTimeout)||e.noop}}function f(t,r){var n=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(t.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames},getNewLine:function(){return t.newLine},getCurrentDirectory:e.memoize((function(){return t.getCurrentDirectory()})),getDefaultLibLocation:n,getDefaultLibFileName:function(t){return e.combinePaths(n(),e.getDefaultLibFileName(t))},fileExists:function(e){return t.fileExists(e)},readFile:function(e,r){return t.readFile(e,r)},directoryExists:function(e){return t.directoryExists(e)},getDirectories:function(e){return t.getDirectories(e)},readDirectory:function(e,r,n,i,a){return t.readDirectory(e,r,n,i,a)},realpath:e.maybeBind(t,t.realpath),getEnvironmentVariable:e.maybeBind(t,t.getEnvironmentVariable),trace:function(e){return t.write(e+t.newLine)},createDirectory:function(e){return t.createDirectory(e)},writeFile:function(e,r,n){return t.writeFile(e,r,n)},onCachedDirectoryStructureHostCreate:function(e){return e||t},createHash:e.maybeBind(t,t.createHash),createProgram:r||e.createEmitAndSemanticDiagnosticsBuilderProgram}}function g(t,r,n,i){void 0===t&&(t=e.sys);var a=function(e){return t.write(e+t.newLine)},o=f(t,r);return e.copyProperties(o,p(t,i)),o.afterProgramCreate=function(r){var i=r.getCompilerOptions(),s=e.getNewLineCharacter(i,(function(){return t.newLine}));_(r,n,a,(function(t){return o.onWatchStatusChange(e.createCompilerDiagnostic(c(t),t),s,i,t)}))},o}function m(t,r,n){r(n),t.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=r,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=i,e.createWatchStatusReporter=a,e.parseConfigFileWithSystem=function(t,r,n,i,a){var o=i;o.onUnRecoverableConfigFileDiagnostic=function(e){return m(i,a,e)};var s=e.getParsedCommandLineOfConfigFile(t,r,o,void 0,n);return o.onUnRecoverableConfigFileDiagnostic=void 0,s},e.getErrorCountForSummary=o,e.getWatchErrorSummaryDiagnosticMessage=c,e.getErrorSummaryText=u,e.listFiles=l,e.emitFilesAndReportErrors=_,e.emitFilesAndReportErrorsAndGetExitStatus=d,e.noopFileWatcher={close:e.noop},e.createWatchHost=p,e.WatchType={ConfigFile:"Config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots"},e.createWatchFactory=function(t,r){var n=t.trace?r.extendedDiagnostics?e.WatchLogLevel.Verbose:r.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,i=n!==e.WatchLogLevel.None?function(e){return t.trace(e)}:e.noop,a=e.getWatchFactory(n,i);return a.writeLog=i,a},e.createCompilerHostFromProgramHost=function(t,r,n){void 0===n&&(n=t);var i=t.useCaseSensitiveFileNames(),a=e.memoize((function(){return t.getNewLine()}));return{getSourceFile:function(n,i,a){var o;try{e.performance.mark("beforeIORead"),o=t.readFile(n,r().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),o=""}return void 0!==o?e.createSourceFile(n,o,i):void 0},getDefaultLibLocation:e.maybeBind(t,t.getDefaultLibLocation),getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:function(r,n,i,a){try{e.performance.mark("beforeIOWrite"),e.writeFileEnsuringDirectories(r,n,i,(function(e,r,n){return t.writeFile(e,r,n)}),(function(e){return t.createDirectory(e)}),(function(e){return t.directoryExists(e)})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){a&&a(e.message)}},getCurrentDirectory:e.memoize((function(){return t.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return i},getCanonicalFileName:e.createGetCanonicalFileName(i),getNewLine:function(){return e.getNewLineCharacter(r(),a)},fileExists:function(e){return t.fileExists(e)},readFile:function(e){return t.readFile(e)},trace:e.maybeBind(t,t.trace),directoryExists:e.maybeBind(n,n.directoryExists),getDirectories:e.maybeBind(n,n.getDirectories),realpath:e.maybeBind(t,t.realpath),getEnvironmentVariable:e.maybeBind(t,t.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(t,t.createHash),readDirectory:e.maybeBind(t,t.readDirectory)}},e.setGetSourceFileAsHashVersioned=function(t,r){var n=t.getSourceFile,i=r.createHash||e.generateDjb2Hash;t.getSourceFile=function(){for(var e=[],a=0;ae?t:e}function u(t){return e.fileExtensionIs(t,".d.ts")}function l(e){return!!e&&!!e.buildOrder}function _(e){return l(e)?e.buildOrder:e}function d(t,r){return function(n){var i=r?"["+e.formatColorAndReset(e.getLocaleTimeString(t),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(t)+" - ";i+=""+e.flattenDiagnosticMessageText(n.messageText,t.newLine)+(t.newLine+t.newLine),t.write(i)}}function p(t,r,n,i){var a=e.createProgramHost(t,r);return a.getModifiedTime=t.getModifiedTime?function(e){return t.getModifiedTime(e)}:e.returnUndefined,a.setModifiedTime=t.setModifiedTime?function(e,r){return t.setModifiedTime(e,r)}:e.noop,a.deleteFile=t.deleteFile?function(e){return t.deleteFile(e)}:e.noop,a.reportDiagnostic=n||e.createDiagnosticReporter(t),a.reportSolutionBuilderStatus=i||d(t),a.now=e.maybeBind(t,t.now),a}function f(t,r,n,i,o){var s,c,u=r,l=r,_=u.getCurrentDirectory(),d=e.createGetCanonicalFileName(u.useCaseSensitiveFileNames()),p=(s=i,c={},e.commonOptionsWithBuild.forEach((function(t){e.hasProperty(s,t.name)&&(c[t.name]=s[t.name])})),c),f=e.createCompilerHostFromProgramHost(u,(function(){return C.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(f,u),f.getParsedCommandLine=function(e){return v(C,e,m(C,e))},f.resolveModuleNames=e.maybeBind(u,u.resolveModuleNames),f.resolveTypeReferenceDirectives=e.maybeBind(u,u.resolveTypeReferenceDirectives);var g=f.resolveModuleNames?void 0:e.createModuleResolutionCache(_,d);if(!f.resolveModuleNames){var y=function(t,r,n){return e.resolveModuleName(t,r,C.projectCompilerOptions,f,g,n).resolvedModule};f.resolveModuleNames=function(t,r,n,i){return e.loadWithLocalCache(e.Debug.assertEachDefined(t),r,i,y)}}var h=e.createWatchFactory(l,i),b=h.watchFile,x=h.watchFilePath,D=h.watchDirectory,S=h.writeLog,C={host:u,hostWithWatch:l,currentDirectory:_,getCanonicalFileName:d,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(u),writeFileName:u.trace?function(e){return u.trace(e)}:void 0,options:i,baseCompilerOptions:p,rootNames:n,baseWatchOptions:o,resolvedConfigFilePaths:e.createMap(),configFileCache:a(),projectStatus:a(),buildInfoChecked:a(),extendedConfigCache:e.createMap(),builderPrograms:a(),diagnostics:a(),projectPendingBuild:a(),projectErrorsReported:a(),compilerHost:f,moduleResolutionCache:g,buildOrder:void 0,readFileWithCache:function(e){return u.readFile(e)},projectCompilerOptions:p,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:t,currentInvalidatedProject:void 0,watch:t,allWatchedWildcardDirectories:a(),allWatchedInputFiles:a(),allWatchedConfigFiles:a(),timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:b,watchFilePath:x,watchDirectory:D,writeLog:S};return C}function g(t,r){return e.toPath(r,t.currentDirectory,t.getCanonicalFileName)}function m(e,t){var r=e.resolvedConfigFilePaths,n=r.get(t);if(void 0!==n)return n;var i=g(e,t);return r.set(t,i),i}function y(e){return!!e.options}function v(t,r,n){var i,a=t.configFileCache,o=a.get(n);if(o)return y(o)?o:void 0;var s,c=t.parseConfigFileHost,u=t.baseCompilerOptions,l=t.baseWatchOptions,_=t.extendedConfigCache,d=t.host;return d.getParsedCommandLine?(s=d.getParsedCommandLine(r))||(i=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,r)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return i=e},s=e.getParsedCommandLineOfConfigFile(r,u,c,_,l),c.onUnRecoverableConfigFileDiagnostic=e.noop),a.set(n,s||i),s}function h(t,r){return e.resolveConfigFileProjectName(e.resolvePath(t.currentDirectory,r))}function b(t,r){for(var n,i,a=e.createMap(),o=e.createMap(),s=[],c=0,u=r;c0);var o={sourceFile:n.options.configFile,commandLine:n};i.directoryToModuleNameMap.setOwnMap(i.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),i.moduleNameToDirectoryMap.setOwnMap(i.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}i.directoryToModuleNameMap.setOwnOptions(n.options),i.moduleNameToDirectoryMap.setOwnOptions(n.options)}(o,l,p),b=r.createProgram(p.fileNames,p.options,n,function(t,r,n){var i=t.options,a=t.builderPrograms,o=t.compilerHost;if(i.force)return;var s=a.get(r);return s||e.readBuilderProgram(n.options,o)}(o,_,p),e.getConfigFileParsingDiagnostics(p),p.projectReferences),S++}function A(e,t,r){e.length?(x=O(o,_,b,p,e,t,r),S=y.QueueReferencingProjects):S++}function P(r){e.Debug.assertDefined(b),A(s(b.getConfigFileParsingDiagnostics(),b.getOptionsDiagnostics(r),b.getGlobalDiagnostics(r),b.getSyntacticDiagnostics(void 0,r)),t.SyntaxErrors,"Syntactic")}function w(r){A(e.Debug.assertDefined(b).getSemanticDiagnostics(void 0,r),t.TypeErrors,"Semantic")}function M(r,i,a){var s;e.Debug.assertDefined(b),e.Debug.assert(S===y.Emit),b.backupState();var l=[],d=e.emitFilesAndReportErrors(b,(function(e){return(s||(s=[])).push(e)}),void 0,void 0,(function(e,t,r){return l.push({name:e,text:t,writeByteOrderMark:r})}),i,!1,a).emitResult;if(s)return b.restoreState(),x=O(o,_,b,p,s,t.DeclarationEmitErrors,"Declaration file"),S=y.QueueReferencingProjects,{emitSkipped:!0,diagnostics:d.diagnostics};var f=o.host,m=o.compilerHost,v=t.DeclarationOutputUnchanged,h=n,D=!1,C=e.createDiagnosticCollection(),T=e.createMap();return l.forEach((function(n){var i,a=n.name,s=n.text,l=n.writeByteOrderMark;!D&&u(a)&&(f.fileExists(a)&&o.readFileWithCache(a)===s?i=f.getModifiedTime(a):(v&=~t.DeclarationOutputUnchanged,D=!0)),T.set(g(o,a),a),e.writeFile(r?{writeFile:r}:m,C,a,s,l),void 0!==i&&(h=c(i,h))})),L(C,T,h,D,l.length?l[0].name:e.getFirstProjectOutput(p,!f.useCaseSensitiveFileNames()),v),d}function L(r,n,a,s,c,u){var l=r.getDiagnostics();if(l.length)return x=O(o,_,b,p,l,t.EmitErrors,"Emit"),S=y.QueueReferencingProjects,l;o.writeFileName&&(n.forEach((function(e){return t=p,r=e,void((n=o.writeFileName)&&t.options.listEmittedFiles&&n("TSFILE: "+r));var t,r,n})),b&&e.listFiles(b,o.writeFileName));var d=R(o,p,a,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,n);return o.diagnostics.delete(_),o.projectStatus.set(_,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:s?i:d,oldestOutputFileName:c}),I(o,_,b,p),o.projectCompilerOptions=o.baseCompilerOptions,S=y.QueueReferencingProjects,x=u,l}function B(i,s){if(e.Debug.assert(a===r.UpdateBundle),o.options.dry)return Z(o,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,l),x=t.Success,void(S=y.QueueReferencingProjects);o.options.verbose&&Z(o,e.Diagnostics.Updating_output_of_project_0,l);var c=o.compilerHost;o.projectCompilerOptions=p.options;var u=e.emitUsingBuildInfo(p,c,(function(e){var t=h(o,e.path);return v(o,t,m(o,t))}),s);if(e.isString(u))return Z(o,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,l,Y(o,u)),S=y.BuildInvalidatedProjectOfBundle,D=F(r.Build,o,l,_,d,p,f);e.Debug.assert(!!u.length);var b=e.createDiagnosticCollection(),C=e.createMap();return u.forEach((function(t){var r=t.name,n=t.text,a=t.writeByteOrderMark;C.set(g(o,r),r),e.writeFile(i?{writeFile:i}:c,b,r,n,a)})),{emitSkipped:!1,diagnostics:L(b,C,n,!1,u[0].name,t.DeclarationOutputUnchanged)}}function J(t,r,n,i){for(;S<=t&&Sa)}}}function P(t,r,n){var i=t.options;return!(r.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!i.force)||(0===n.fileNames.length||!!e.getConfigFileParsingDiagnostics(n).length||!e.isIncrementalCompilation(n.options))}function w(t,n,i){if(t.projectPendingBuild.size&&!l(n)){if(t.currentInvalidatedProject)return e.arrayIsEqualTo(t.currentInvalidatedProject.buildOrder,n)?t.currentInvalidatedProject:void 0;for(var a=t.options,o=t.projectPendingBuild,s=0;ss&&(o=p,s=f)}if(!r.fileNames.length&&!e.canJsonReportNoInutFiles(r.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var g,y=e.getAllProjectOutputs(r,!l.useCaseSensitiveFileNames()),h="(none)",b=i,x="(none)",D=n,S=n,C=!1,T=0,k=y;TD&&(D=N,x=E),u(E))S=c(S,l.getModifiedTime(E)||e.missingFileModifiedTime)}var A,F=!1,P=!1;if(r.projectReferences){t.projectStatus.set(a,{type:e.UpToDateStatusType.ComputingUpstream});for(var w=0,I=r.projectReferences;w=0},t.findArgument=function(t){var r=e.sys.args.indexOf(t);return r>=0&&r214)return 2;if(46===t.charCodeAt(0))return 3;if(95===t.charCodeAt(0))return 4;if(r){var n=/^@([^/]+)\/([^/]+)$/.exec(t);if(n){var i=e(n[1],!1);if(0!==i)return{name:n[1],isScopeName:!0,result:i};var a=e(n[2],!1);return 0!==a?{name:n[2],isScopeName:!1,result:a}:0}}if(encodeURIComponent(t)!==t)return 5;return 0}(e,!0)},t.renderPackageNameValidationFailure=function(e,t){return"object"==typeof e?i(t,e.result,e.name,e.isScopeName):i(t,e,t,!1)}}(e.JsTyping||(e.JsTyping={}))}(p||(p={})),function(e){var t,r;function n(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:t.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:r.Ignore}}!function(e){var t=function(){function e(e){this.text=e}return e.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new t(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(e){e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),e.emptyOptions={},function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(t=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(r=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=n,e.testFormatSettings=n("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.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"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(p||(p={})),function(e){function t(t){switch(t.kind){case 242:return e.isInJSFile(t)&&e.getJSDocEnumTag(t)?7:1;case 156:case 191:case 159:case 158:case 281:case 282:case 161:case 160:case 162:case 163:case 164:case 244:case 201:case 202:case 280:case 273:return 1;case 155:case 246:case 247:case 173:return 2;case 321:return void 0===t.name?3:2;case 284:case 245:return 3;case 249:return e.isAmbientModule(t)||1===e.getModuleInstanceState(t)?5:4;case 248:case 257:case 258:case 253:case 254:case 259:case 260:return 7;case 290:return 5}return 7}function r(t){for(;153===t.parent.kind;)t=t.parent;return e.isInternalModuleImportEqualsDeclaration(t.parent)&&t.parent.moduleReference===t}function n(e){return e.expression}function i(e){return e.tag}function a(e){return e.tagName}function o(t,r,n,i,a){var o=i?u(t):s(t);return a&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&r(o.parent)&&n(o.parent)===o}function s(e){return d(e)?e.parent:e}function u(e){return d(e)||p(e)?e.parent:e}function l(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isBreakOrContinueStatement))||void 0===r?void 0:r.label)===t}function _(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isLabeledStatement))||void 0===r?void 0:r.label)===t}function d(t){var r;return(null===(r=e.tryCast(t.parent,e.isPropertyAccessExpression))||void 0===r?void 0:r.name)===t}function p(t){var r;return(null===(r=e.tryCast(t.parent,e.isElementAccessExpression))||void 0===r?void 0:r.argumentExpression)===t}e.scanner=e.createScanner(99,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=t,e.getMeaningFromLocation=function(n){return 290===(n=F(n)).kind?1:259===n.parent.kind||265===n.parent.kind?7:r(n)?function(t){var r=153===t.kind?t:e.isQualifiedName(t.parent)&&t.parent.right===t?t.parent:void 0;return r&&253===r.parent.kind?7:4}(n):e.isDeclarationName(n)?t(n.parent):function(t){e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent);switch(t.kind){case 104:return!e.isExpressionNode(t);case 183:return!0}switch(t.parent.kind){case 169:return!0;case 188:return!t.parent.isTypeOf;case 216:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)}return!1}(n)?2:function(e){return function(e){var t=e,r=!0;if(153===t.parent.kind){for(;t.parent&&153===t.parent.kind;)t=t.parent;r=t.right===e}return 169===t.parent.kind&&!r}(e)||function(e){var t=e,r=!0;if(194===t.parent.kind){for(;t.parent&&194===t.parent.kind;)t=t.parent;r=t.name===e}if(!r&&216===t.parent.kind&&279===t.parent.parent.kind){var n=t.parent.parent.parent;return 245===n.kind&&113===t.parent.parent.token||246===n.kind&&90===t.parent.parent.token}return!1}(e)}(n)?4:e.isTypeParameterDeclaration(n.parent)?(e.Debug.assert(e.isJSDocTemplateTag(n.parent.parent)),2):e.isLiteralTypeNode(n.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=r,e.isCallExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),o(t,e.isCallExpression,n,r,i)},e.isNewExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),o(t,e.isNewExpression,n,r,i)},e.isCallOrNewExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),o(t,e.isCallOrNewExpression,n,r,i)},e.isTaggedTemplateTag=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),o(t,e.isTaggedTemplateExpression,i,r,n)},e.isDecoratorTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),o(t,e.isDecorator,n,r,i)},e.isJsxOpeningLikeElementTagName=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),o(t,e.isJsxOpeningLikeElement,a,r,n)},e.climbPastPropertyAccess=s,e.climbPastPropertyOrElementAccess=u,e.getTargetLabel=function(e,t){for(;e;){if(238===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(t,r){return!!e.isPropertyAccessExpression(t.expression)&&t.expression.name.text===r},e.isJumpStatementTarget=l,e.isLabelOfLabeledStatement=_,e.isLabelName=function(e){return _(e)||l(e)},e.isTagName=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isJSDocTag))||void 0===r?void 0:r.tagName)===t},e.isRightSideOfQualifiedName=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isQualifiedName))||void 0===r?void 0:r.right)===t},e.isRightSideOfPropertyAccess=d,e.isArgumentExpressionOfElementAccess=p,e.isNameOfModuleDeclaration=function(t){var r;return(null===(r=e.tryCast(t.parent,e.isModuleDeclaration))||void 0===r?void 0:r.name)===t},e.isNameOfFunctionDeclaration=function(t){var r;return e.isIdentifier(t)&&(null===(r=e.tryCast(t.parent,e.isFunctionLike))||void 0===r?void 0:r.name)===t},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(t){switch(t.parent.kind){case 159:case 158:case 281:case 284:case 161:case 160:case 163:case 164:case 249:return e.getNameOfDeclaration(t.parent)===t;case 195:return t.parent.argumentExpression===t;case 154:return!0;case 187:return 185===t.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(t){return e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t},e.getContainerNode=function(t){for(e.isJSDocTypeAlias(t)&&(t=t.parent.parent);;){if(!(t=t.parent))return;switch(t.kind){case 290:case 161:case 160:case 244:case 201:case 163:case 164:case 245:case 246:case 248:case 249:return t}}},e.getNodeKind=function t(r){switch(r.kind){case 290:return e.isExternalModule(r)?"module":"script";case 249:return"module";case 245:case 214:return"class";case 246:return"interface";case 247:case 314:case 321:return"type";case 248:return"enum";case 242:return c(r);case 191:return c(e.getRootDeclaration(r));case 202:case 244:case 201:return"function";case 163:return"getter";case 164:return"setter";case 161:case 160:return"method";case 281:var n=r.initializer;return e.isFunctionLike(n)?"method":"property";case 159:case 158:case 282:case 283:return"property";case 167:return"index";case 166:return"construct";case 165:return"call";case 162:return"constructor";case 155:return"type parameter";case 284:return"enum member";case 156:return e.hasModifier(r,92)?"property":"parameter";case 253:case 258:case 263:case 256:case 262:return"alias";case 209:var i=e.getAssignmentDeclarationKind(r),a=r.right;switch(i){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=t(a);return""===o?"const":o;case 3:return e.isFunctionExpression(a)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(a)?"method":"property";case 6:return"local class";default:return e.assertType(i),""}case 75:return e.isImportClause(r.parent)?"alias":"";case 259:var s=t(r.expression);return""===s?"const":s;default:return""}function c(t){return e.isVarConst(t)?"const":e.isLet(t)?"let":"var"}},e.isThis=function(t){switch(t.kind){case 104:return!0;case 75:return e.identifierIsThisKeyword(t)&&156===t.parent.kind;default:return!1}};var f=/^\/\/\/\s*=r.end}function v(e,t,r,n){return Math.max(e,r)t)break;var u=c.getEnd();if(tt.end||e.pos===t.end)&&q(e,n)?r(e):void 0}))}(r)}function M(t,r,n,i){var a=function a(o){if(L(o)&&1!==o.kind)return o;for(var s=o.getChildren(r),c=0;c=t||!q(u,r)||j(u)){var l=B(s,c,r);return l&&R(l,r)}return a(u)}}e.Debug.assert(void 0!==n||290===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var _=B(s,s.length,r);return _&&R(_,r)}(n||r);return e.Debug.assert(!(a&&j(a))),a}function L(t){return e.isToken(t)&&!j(t)}function R(e,t){if(L(e))return e;var r=e.getChildren(t),n=B(r,r.length,t);return n&&R(n,t)}function B(t,r,n){for(var i=r-1;i>=0;i--){if(j(t[i]))e.Debug.assert(i>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(q(t[i],n))return t[i]}}function j(t){return e.isJsxText(t)&&t.containsOnlyTriviaWhiteSpaces}function J(e,t,r){for(var n=e.kind,i=0;;){var a=M(e.getFullStart(),r);if(!a)return;if((e=a).kind===t){if(0===i)return e;i--}else e.kind===n&&i++}}function z(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}function U(t,r,n){var i=n.getTypeAtLocation(t);return e.isOptionalChain(t.parent)&&(i=z(i,!!t.parent.questionDotToken,!0)),(e.isNewExpression(t.parent)?i.getConstructSignatures():i.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=r}))}function K(t,r){for(var n=t,i=0,a=0;n;){switch(n.kind){case 29:if((n=M(n.getFullStart(),r))&&28===n.kind&&(n=M(n.getFullStart(),r)),!n||!e.isIdentifier(n))return;if(!i)return e.isDeclarationName(n)?void 0:{called:n,nTypeArguments:a};i--;break;case 49:i=3;break;case 48:i=2;break;case 31:i++;break;case 19:if(!(n=J(n,18,r)))return;break;case 21:if(!(n=J(n,20,r)))return;break;case 23:if(!(n=J(n,22,r)))return;break;case 27:a++;break;case 38:case 75:case 10:case 8:case 9:case 106:case 91:case 108:case 90:case 134:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(n))break;return}n=M(n.getFullStart(),r)}}function V(t,r,n){return e.formatting.getRangeOfEnclosingComment(t,r,void 0,n)}function q(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function W(e,t,r){var n=V(e,t,void 0);return!!n&&r===f.test(e.text.substring(n.pos,n.end))}function H(t,r,n){return e.createTextSpanFromBounds(t.getStart(r),(n||t).getEnd())}function G(e,t){return{span:e,newText:t}}function Q(e){return 145===e.kind}function X(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function Y(t,r,n,i,a){return e.createImportDeclaration(void 0,void 0,t||r?e.createImportClause(t,r&&r.length?e.createNamedImports(r):void 0,a):void 0,"string"==typeof n?Z(n,i):n)}function Z(t,r){return e.createLiteral(t,0===r)}function $(t,r){return e.isStringDoubleQuoted(t,r)?1:0}function ee(t){return"default"!==t.escapedName?t.escapedName:e.firstDefined(t.declarations,(function(t){var r=e.getNameOfDeclaration(t);return r&&75===r.kind?r.escapedText:void 0}))}function te(t,r,n,i){var a=e.createMap();return function t(o){if(!(96&o.flags&&e.addToSeen(a,e.getSymbolId(o))))return;return e.firstDefined(o.declarations,(function(a){return e.firstDefined(e.getAllSuperTypeNodes(a),(function(a){var o=n.getTypeAtLocation(a),s=o&&o.symbol&&n.getPropertyOfType(o,r);return o&&s&&(e.firstDefined(n.getRootSymbols(s),i)||t(o.symbol))}))}))}(t)}function re(t,r,n){return e.textSpanContainsPosition(t,r.getStart(n))&&r.getEnd()<=e.textSpanEnd(t)}function ne(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function ie(e){return e.declarations&&e.declarations.length>0&&156===e.declarations[0].kind}e.getLineStartPositionForPosition=function(t,r){return e.getLineStarts(r)[r.getLineAndCharacterOfPosition(t).line]},e.rangeContainsRange=g,e.rangeContainsRangeExclusive=function(e,t){return m(e,t.pos)&&m(e,t.end)},e.rangeContainsPosition=function(e,t){return e.pos<=t&&t<=e.end},e.rangeContainsPositionExclusive=m,e.startEndContainsRange=y,e.rangeContainsStartEnd=function(e,t,r){return e.pos<=t&&e.end>=r},e.rangeOverlapsWithStartEnd=function(e,t,r){return v(e.pos,e.end,t,r)},e.nodeOverlapsWithStartEnd=function(e,t,r,n){return v(e.getStart(t),e.end,r,n)},e.startEndOverlapsWithStartEnd=v,e.positionBelongsToNode=function(t,r,n){return e.Debug.assert(t.pos<=r),rn.getStart(t)&&rn.getStart(t)},e.isInJSXText=function(t,r){var n=w(t,r);return!!e.isJsxText(n)||(!(18!==n.kind||!e.isJsxExpression(n.parent)||!e.isJsxElement(n.parent.parent))||!(29!==n.kind||!e.isJsxOpeningLikeElement(n.parent)||!e.isJsxElement(n.parent.parent)))},e.findPrecedingMatchingToken=J,e.removeOptionality=z,e.isPossiblyTypeArgumentPosition=function t(r,n,i){var a=K(r,n);return void 0!==a&&(e.isPartOfTypeNode(a.called)||0!==U(a.called,a.nTypeArguments,i).length||t(a.called,n,i))},e.getPossibleGenericSignatures=U,e.getPossibleTypeArgumentsInfo=K,e.isInComment=V,e.hasDocComment=function(t,r){var n=w(t,r);return!!e.findAncestor(n,e.isJSDoc)},e.getNodeModifiers=function(t){var r=e.isDeclaration(t)?e.getCombinedModifierFlags(t):0,n=[];return 8&r&&n.push("private"),16&r&&n.push("protected"),4&r&&n.push("public"),32&r&&n.push("static"),128&r&&n.push("abstract"),1&r&&n.push("export"),8388608&t.flags&&n.push("declare"),259===t.kind&&n.push("export"),n.length>0?n.join(","):""},e.getTypeArgumentOrTypeParameterList=function(t){return 169===t.kind||196===t.kind?t.typeArguments:e.isFunctionLike(t)||245===t.kind||246===t.kind?t.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(t){return!(10!==t&&13!==t&&!e.isTemplateLiteralKind(t))},e.isPunctuation=function(e){return 18<=e&&e<=74},e.isInsideTemplateLiteral=function(t,r,n){return e.isTemplateLiteralKind(t.kind)&&t.getStart(n)=2||!!e.noEmit},e.hostUsesCaseSensitiveFileNames=X,e.hostGetCanonicalFileName=function(t){return e.createGetCanonicalFileName(X(t))},e.makeImportIfNecessary=function(e,t,r,n){return e||t&&t.length?Y(e,t,r,n):void 0},e.makeImport=Y,e.makeStringLiteral=Z,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=$,e.getQuotePreference=function(t,r){if(r.quotePreference&&"auto"!==r.quotePreference)return"single"===r.quotePreference?0:1;var n=t.imports&&e.find(t.imports,e.isStringLiteral);return n?$(n,t):1},e.getQuoteFromPreference=function(t){switch(t){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(t)}},e.symbolNameNoDefault=function(t){var r=ee(t);return void 0===r?void 0:e.unescapeLeadingUnderscores(r)},e.symbolEscapedNameNoDefault=ee,e.isObjectBindingElementWithoutPropertyName=function(t){return e.isBindingElement(t)&&e.isObjectBindingPattern(t.parent)&&e.isIdentifier(t.name)&&!t.propertyName},e.getPropertySymbolFromBindingElement=function(e,t){var r=e.getTypeAtLocation(t.parent);return r&&e.getPropertyOfType(r,t.name.text)},e.getPropertySymbolsFromBaseTypes=te,e.isMemberSymbolInBaseType=function(e,t){return te(e.parent,e.name,t,(function(e){return!0}))||!1},e.getParentNodeInSpan=function(t,r,n){if(t)for(;t.parent;){if(e.isSourceFile(t.parent)||!re(n,t.parent,r))return t;t=t.parent}},e.findModifier=function(t,r){return t.modifiers&&e.find(t.modifiers,(function(e){return e.kind===r}))},e.insertImport=function(t,r,n,i){var a=e.findLast(r.statements,e.isAnyImportSyntax);a?t.insertNodeAfter(r,a,n):t.insertNodeAtTopOfFile(r,n,i)},e.getTypeKeywordOfTypeOnlyImport=function(t,r){return e.Debug.assert(t.isTypeOnly),e.cast(t.getChildAt(0,r),Q)},e.textSpansEqual=ne,e.documentSpansEqual=function(e,t){return e.fileName===t.fileName&&ne(e.textSpan,t.textSpan)},e.forEachUnique=function(e,t){if(e)for(var r=0;ra&&r&&"..."!==r&&(e.isWhiteSpaceLike(r.charCodeAt(r.length-1))||t.push(se(" ",e.SymbolDisplayPartKind.space)),t.push(se("...",e.SymbolDisplayPartKind.punctuation))),t},writeKeyword:function(t){return c(t,e.SymbolDisplayPartKind.keyword)},writeOperator:function(t){return c(t,e.SymbolDisplayPartKind.operator)},writePunctuation:function(t){return c(t,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(t){return c(t,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(t){return c(t,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(t){return c(t,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(t){return c(t,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(t){return c(t,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(t){return c(t,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,r){if(i>a)return;s(),i+=e.length,t.push(oe(e,r))},writeLine:function(){if(i>a)return;i+=1,t.push(le()),r=!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 n},increaseIndent:function(){n++},decreaseIndent:function(){n--},clear:u,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function s(){if(!(i>a)&&r){var o=e.getIndentString(n);o&&(i+=o.length,t.push(se(o,e.SymbolDisplayPartKind.space))),r=!1}}function c(e,r){i>a||(s(),i+=e.length,t.push(se(e,r)))}function u(){t=[],r=!0,n=0,i=0}}();function oe(t,r){return se(t,function(t){var r=t.flags;if(3&r)return ie(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&r)return e.SymbolDisplayPartKind.propertyName;if(32768&r)return e.SymbolDisplayPartKind.propertyName;if(65536&r)return e.SymbolDisplayPartKind.propertyName;if(8&r)return e.SymbolDisplayPartKind.enumMemberName;if(16&r)return e.SymbolDisplayPartKind.functionName;if(32&r)return e.SymbolDisplayPartKind.className;if(64&r)return e.SymbolDisplayPartKind.interfaceName;if(384&r)return e.SymbolDisplayPartKind.enumName;if(1536&r)return e.SymbolDisplayPartKind.moduleName;if(8192&r)return e.SymbolDisplayPartKind.methodName;if(262144&r)return e.SymbolDisplayPartKind.typeParameterName;if(524288&r)return e.SymbolDisplayPartKind.aliasName;if(2097152&r)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(r))}function se(t,r){return{text:t,kind:e.SymbolDisplayPartKind[r]}}function ce(t){return se(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function ue(t){return se(t,e.SymbolDisplayPartKind.text)}e.symbolPart=oe,e.displayPart=se,e.spacePart=function(){return se(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=ce,e.punctuationPart=function(t){return se(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(t){return se(e.tokenToString(t),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(t){var r=e.stringToToken(t);return void 0===r?ue(t):ce(r)},e.textPart=ue;function le(){return se("\n",e.SymbolDisplayPartKind.lineBreak)}function _e(e){try{return e(ae),ae.displayParts()}finally{ae.clear()}}function de(t,r){return e.ensureScriptKind(t,r&&r.getScriptKind&&r.getScriptKind(t))}function pe(e){return 0!=(33554432&e.flags)}function fe(e){return 0!=(2097152&e.flags)}function ge(e,t){void 0===t&&(t=!0);var r=e&&ye(e);return r&&!t&&ve(r),r}function me(t,r,n,i,a){var o;if(void 0===r&&(r=!0),n&&i&&e.isBindingElement(t)&&e.isIdentifier(t.name)&&e.isObjectBindingPattern(t.parent))(c=(s=i.getSymbolAtLocation(t.name))&&n.get(String(e.getSymbolId(s))))&&c.text!==(t.name||t.propertyName).getText()&&(o=e.createBindingElement(t.dotDotDotToken,t.propertyName||t.name,c,t.initializer));else if(n&&i&&e.isIdentifier(t)){var s,c;(c=(s=i.getSymbolAtLocation(t))&&n.get(String(e.getSymbolId(s))))&&(o=e.createIdentifier(c.text))}return o||(o=ye(t,n,i,a)),o&&!r&&ve(o),a&&o&&a(t,o),o}function ye(t,r,n,i){var a=r||n||i?e.visitEachChild(t,(function(e){return me(e,!0,r,n,i)}),e.nullTransformationContext):e.visitEachChild(t,ge,e.nullTransformationContext);if(a===t){var o=e.getSynthesizedClone(t);return e.isStringLiteral(o)?o.textSourceNode=t:e.isNumericLiteral(o)&&(o.numericLiteralFlags=t.numericLiteralFlags),e.setTextRange(o,t)}return a.parent=void 0,a}function ve(e){he(e),be(e)}function he(e){xe(e,512,De)}function be(t){xe(t,1024,e.getLastChild)}function xe(t,r,n){e.addEmitFlags(t,r);var i=n(t);i&&xe(i,r,n)}function De(e){return e.forEachChild((function(e){return e}))}function Se(e,t,r,n,i){return function(a,o,s,c){3===s?(a+=2,o-=2):a+=2,i(e,r||s,t.text.slice(a,o),void 0!==n?n:c)}}function Ce(t,r){if(e.startsWith(t,r))return 0;var n=t.indexOf(" "+r);return-1===n&&(n=t.indexOf("."+r)),-1===n&&(n=t.indexOf('"'+r)),-1===n?-1:n+1}function Te(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function ke(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function Ee(e){return 165===e||166===e||167===e||158===e||160===e}function Ne(e){return 244===e||162===e||161===e||163===e||164===e}function Ae(e){return 249===e}function Fe(e){return 225===e||226===e||228===e||233===e||234===e||235===e||239===e||241===e||159===e||247===e||254===e||253===e||260===e||252===e||259===e}function Pe(e,t){return Ie(e,e.fileExists,t)}function we(e){try{return e()}catch(e){return}}function Ie(e,t){for(var r=[],n=2;n-1&&e.isWhiteSpaceSingleLine(t.charCodeAt(r));)r-=1;return r+1},e.getSynthesizedDeepClone=ge,e.getSynthesizedDeepCloneWithRenames=me,e.getSynthesizedDeepClones=function(t,r){return void 0===r&&(r=!0),t&&e.createNodeArray(t.map((function(e){return ge(e,r)})),t.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=ve,e.suppressLeadingTrivia=he,e.suppressTrailingTrivia=be,e.getUniqueName=function(t,r){for(var n=t,i=1;!e.isFileLevelUniqueName(r,n);i++)n=t+"_"+i;return n},e.getRenameLocation=function(t,r,n,i){for(var a=0,o=-1,s=0,c=t;s=0),o},e.copyLeadingComments=function(t,r,n,i,a){e.forEachLeadingCommentRange(n.text,t.pos,Se(r,n,i,a,e.addSyntheticLeadingComment))},e.copyTrailingComments=function(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.end,Se(r,n,i,a,e.addSyntheticTrailingComment))},e.copyTrailingAsLeadingComments=function(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.pos,Se(r,n,i,a,e.addSyntheticLeadingComment))},e.getContextualTypeFromParent=function(e,t){var r=e.parent;switch(r.kind){case 197:return t.getContextualType(r);case 209:var n=r,i=n.left,a=n.operatorToken,o=n.right;return Te(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e);case 277:return r.expression===e?ke(r,t):void 0;default:return t.getContextualType(e)}},e.quote=function(t,r){if(/^\d+$/.test(t))return t;var n=r.quotePreference||"auto",i=JSON.stringify(t);switch(n){case"auto":case"double":return i;case"single":return"'"+e.stripQuotes(i).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(n)}},e.isEqualityOperatorKind=Te,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 211:case 198:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=ke,e.getTypeNodeIfAccessible=function(e,t,r,n){var i=r.getTypeChecker(),a=!0,o=function(){a=!1},s=i.typeToTypeNode(e,t,void 0,{trackSymbol:function(e,t,r){a=a&&0===i.isSymbolAccessible(e,t,r,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:{readFile:n.readFile,fileExists:n.fileExists,directoryExists:n.directoryExists,getSourceFiles:r.getSourceFiles,getCurrentDirectory:r.getCurrentDirectory,getCommonSourceDirectory:r.getCommonSourceDirectory}});return a?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Ee,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Ne,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Ae,e.syntaxRequiresTrailingSemicolonOrASI=Fe,e.syntaxMayBeASICandidate=e.or(Ee,Ne,Ae,Fe),e.positionIsASICandidate=function(t,r,n){var i=e.findAncestor(r,(function(r){return r.end!==t?"quit":e.syntaxMayBeASICandidate(r.kind)}));return!!i&&function(t,r){var n=t.getLastToken(r);if(n&&26===n.kind)return!1;if(Ee(t.kind)){if(n&&27===n.kind)return!1}else if(Ae(t.kind)){if((i=e.last(t.getChildren(r)))&&e.isModuleBlock(i))return!1}else if(Ne(t.kind)){var i;if((i=e.last(t.getChildren(r)))&&e.isFunctionBlock(i))return!1}else if(!Fe(t.kind))return!1;if(228===t.kind)return!0;var a=O(t,e.findAncestor(t,(function(e){return!e.parent})),r);return!a||19===a.kind||r.getLineAndCharacterOfPosition(t.getEnd()).line!==r.getLineAndCharacterOfPosition(a.getStart(r)).line}(i,n)},e.probablyUsesSemicolons=function(t){var r=0,n=0;return e.forEachChild(t,(function i(a){if(Fe(a.kind)){var o=a.getLastToken(t);o&&26===o.kind?r++:n++}return r+n>=5||e.forEachChild(a,i)})),0===r&&n<=1||r/n>.2},e.tryGetDirectories=function(e,t){return Ie(e,e.getDirectories,t)||[]},e.tryReadDirectory=function(t,r,n,i,a){return Ie(t,t.readDirectory,r,n,i,a)||e.emptyArray},e.tryFileExists=Pe,e.tryDirectoryExists=function(t,r){return we((function(){return e.directoryProbablyExists(r,t)}))||!1},e.tryAndIgnoreErrors=we,e.tryIOAndConsumeErrors=Ie,e.findPackageJsons=function(t,r,n){var i=[];return e.forEachAncestorDirectory(t,(function(t){if(t===n)return!0;var a=e.combinePaths(t,"package.json");Pe(r,a)&&i.push(a)})),i},e.findPackageJson=function(t,r){var n;return e.forEachAncestorDirectory(t,(function(t){return"node_modules"===t||(!!(n=e.findConfigFile(t,(function(e){return Pe(r,e)}),"package.json"))||void 0)})),n},e.getPackageJsonsVisibleToFile=function(t,r){if(!r.fileExists)return[];var n=[];return e.forEachAncestorDirectory(e.getDirectoryPath(t),(function(t){var i=e.combinePaths(t,"package.json");if(r.fileExists(i)){var a=Oe(i,r);a&&n.push(a)}})),n},e.createPackageJsonInfo=Oe,e.consumesNodeCoreModules=function(t){return e.some(t.imports,(function(t){var r=t.text;return e.JsTyping.nodeCoreModules.has(r)}))},e.isInsideNodeModules=function(t){return e.contains(e.getPathComponents(t),"node_modules")},e.isDiagnosticWithLocation=Me,e.findDiagnosticForNode=function(t,r){var n=H(t),i=e.binarySearchKey(r,n,e.identity,e.compareTextSpans);if(i>=0){var a=r[i];return e.Debug.assertEqual(a.file,t.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),e.cast(a,Me)}},e.getDiagnosticsWithinSpan=function(t,r){var n,i=e.binarySearchKey(r,t.start,(function(e){return e.start}),e.compareValues);for(i<0&&(i=~i);(null===(n=r[i-1])||void 0===n?void 0:n.start)===t.start;)i--;for(var a=[],o=e.textSpanEnd(t);;){var s=e.tryCast(r[i],Me);if(!s||s.start>o)break;e.textSpanContainsTextSpan(t,s)&&a.push(s),i++}return a},e.getRefactorContextSpan=function(t){var r=t.startPosition,n=t.endPosition;return e.createTextSpanFromBounds(r,void 0===n?r:n)},e.mapOneOrMany=function(t,r,n){return void 0===n&&(n=e.identity),t?e.isArray(t)?n(e.map(t,r)):r(t,0):void 0},e.firstOrOnly=function(t){return e.isArray(t)?e.first(t):t}}(p||(p={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(i,s,c){var u=0,l=0,_=[],d=function(t){switch(t){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(t)}}(s),p=d.prefix,f=d.pushTemplate;i=p+i;var g=p.length;f&&_.push(15),o.setText(i);var m=0,y=[],v=0;do{u=o.scan(),e.isTrivia(u)||(x(),l=u);var h=o.getTextPos();if(n(o.getTokenPos(),h,g,a(u),y),h>=i.length){var b=r(o,u,e.lastOrUndefined(_));void 0!==b&&(m=b)}}while(1!==u);function x(){switch(u){case 43:case 67:t[l]||13!==o.reScanSlashToken()||(u=13);break;case 29:75===l&&v++;break;case 31:v>0&&v--;break;case 125:case 143:case 140:case 128:case 144:v>0&&!c&&(u=75);break;case 15:_.push(u);break;case 18:_.length>0&&_.push(u);break;case 19:if(_.length>0){var r=e.lastOrUndefined(_);15===r?17===(u=o.reScanTemplateToken())?_.pop():e.Debug.assertEqual(u,16,"Should have been a template middle."):(e.Debug.assertEqual(r,18,"Should have been an open brace"),_.pop())}break;default:if(!e.isKeyword(u))break;(24===l||e.isKeyword(l)&&e.isKeyword(u)&&!function(t,r){if(!e.isAccessibilityModifier(t))return!0;switch(r){case 131:case 142:case 129:case 120:return!0;default:return!1}}(l,u))&&(u=75)}}return{endOfLineState:m,spans:y}}return{getClassificationsForLine:function(t,r,n){return function(t,r){for(var n=[],a=t.spans,o=0,s=0;s=0){var _=c-o;_>0&&n.push({length:_,classification:e.TokenClass.Whitespace})}n.push({length:u,classification:i(l)}),o=c+u}var d=r.length-o;d>0&&n.push({length:d,classification:e.TokenClass.Whitespace});return{entries:n,finalLexState:t.endOfLineState}}(s(t,r,n),t)},getEncodedLexicalClassifications:s}};var t=e.arrayToNumericMap([75,10,8,9,13,104,45,46,21,23,19,106,91],(function(e){return e}),(function(){return!0}));function r(t,r,n){switch(r){case 10:if(!t.isUnterminated())return;for(var i=t.getTokenText(),a=i.length-1,o=0;92===i.charCodeAt(a-o);)o++;if(0==(1&o))return;return 34===i.charCodeAt(0)?3:2;case 3:return t.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(r)){if(!t.isUnterminated())return;switch(r){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+r)}}return 15===n?6:void 0}}function n(e,t,r,n,i){if(8!==n){0===e&&r>0&&(e+=r);var a=t-e;a>0&&i.push(e-r,a,n)}}function i(t){switch(t){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 a(t){if(e.isKeyword(t))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 98:case 97:case 123:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 74:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:return!0;default:return!1}}(t)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(t))return 5;if(t>=18&&t<=74)return 10;switch(t){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 75:default:return e.isTemplateLiteralKind(t)?6:2}}function o(e,t){switch(t){case 249:case 245:case 246:case 244:e.throwIfCancellationRequested()}}function s(t,r,n,i,a){var s=[];return n.forEachChild((function c(u){if(u&&e.textSpanIntersectsWith(a,u.pos,u.getFullWidth())){if(o(r,u.kind),e.isIdentifier(u)&&!e.nodeIsMissing(u)&&i.has(u.escapedText)){var l=t.getSymbolAtLocation(u),_=l&&function t(r,n,i){var a=r.getFlags();return 0==(2885600&a)?void 0:32&a?11:384&a?12:524288&a?16:1536&a?4&n||1&n&&function(t){return e.some(t.declarations,(function(t){return e.isModuleDeclaration(t)&&1===e.getModuleInstanceState(t)}))}(r)?14:void 0:2097152&a?t(i.getAliasedSymbol(r),n,i):2&n?64&a?13:262144&a?15:void 0:void 0}(l,e.getMeaningFromLocation(u),t);_&&function(t,r,n){var i=r-t;e.Debug.assert(i>0,"Classification had non-positive length of "+i),s.push(t),s.push(i),s.push(n)}(u.getStart(n),u.getEnd(),_)}u.forEachChild(c)}})),{spans:s,endOfLineState:0}}function c(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(t){e.Debug.assert(t.spans.length%3==0);for(var r=t.spans,n=[],i=0;i])*)(\/>)?)?/im.exec(a);if(!o)return!1;if(!o[3]||!(o[3]in e.commentPragmas))return!1;var s=t;d(s,o[1].length),l(s+=o[1].length,o[2].length,10),l(s+=o[2].length,o[3].length,21),s+=o[3].length;var c=o[4],u=s;for(;;){var _=i.exec(c);if(!_)break;var p=s+_.index;p>u&&(d(u,p-u),u=p),l(u,_[1].length,22),u+=_[1].length,_[2].length&&(d(u,_[2].length),u+=_[2].length),l(u,_[3].length,5),u+=_[3].length,_[4].length&&(d(u,_[4].length),u+=_[4].length),l(u,_[5].length,24),u+=_[5].length}(s+=o[4].length)>u&&d(u,s-u);o[5]&&(l(s,o[5].length,10),s+=o[5].length);var f=t+n;s=0),a>0){var o=n||y(t.kind,t);o&&l(i,a,o)}return!0}function y(t,r){if(e.isKeyword(t))return 3;if((29===t||31===t)&&r&&e.getTypeArgumentOrTypeParameterList(r.parent))return 10;if(e.isPunctuation(t)){if(r){var n=r.parent;if(62===t&&(242===n.kind||159===n.kind||156===n.kind||273===n.kind))return 5;if(209===n.kind||207===n.kind||208===n.kind||210===n.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 25;if(10===t)return r&&273===r.parent.kind?24:6;if(13===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(11===t)return 23;if(75===t){if(r)switch(r.parent.kind){case 245:return r.parent.name===r?11:void 0;case 155:return r.parent.name===r?15:void 0;case 246:return r.parent.name===r?13:void 0;case 248:return r.parent.name===r?12:void 0;case 249:return r.parent.name===r?14:void 0;case 156:return r.parent.name===r?e.isThisIdentifier(r)?3:17:void 0}return 2}}function v(n){if(n&&e.decodedTextSpanIntersectsWith(i,a,n.pos,n.getFullWidth())){o(t,n.kind);for(var s=0,c=n.getChildren(r);sa.parameters.length)){var o=r.getParameterType(a,t.argumentIndex);return n=n||!!(4&o.flags),u(o,i)}})),isNewIdentifier:n}}(y,i):v()}case 254:case 260:case 265:return{kind:0,paths:p(t,r,a,o,i)};default:return v()}function v(){return{kind:2,types:u(e.getContextualTypeFromParent(r,i)),isNewIdentifier:!1}}}function c(t){return t&&{kind:1,symbols:t.getApparentProperties().filter((function(t){return!e.isPrivateIdentifierPropertyDeclaration(t.valueDeclaration)})),hasIndexSignature:e.hasIndexSignature(t)}}function u(t,r){return void 0===r&&(r=e.createMap()),t?(t=e.skipConstraint(t)).isUnion()?e.flatMap(t.types,(function(e){return u(e,r)})):!t.isStringLiteral()||1024&t.flags||!e.addToSeen(r,t.value)?e.emptyArray:[t]:e.emptyArray}function l(e,t,r){return{name:e,kind:t,extension:r}}function _(e){return l(e,"directory",void 0)}function d(t,r,n){var i=function(t,r){var n=Math.max(t.lastIndexOf(e.directorySeparator),t.lastIndexOf("\\")),i=-1!==n?n+1:0,a=t.length-i;return 0===a||e.isIdentifierText(t.substr(i,a),99)?void 0:e.createTextSpan(r+i,a)}(t,r);return n.map((function(e){return{name:e.name,kind:e.kind,extension:e.extension,span:i}}))}function p(t,r,n,i,a){return d(r.text,r.getStart(t)+1,function(t,r,n,i,a){var o=e.normalizeSlashes(r.text),c=t.path,u=e.getDirectoryPath(c);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,r=e.charCodeAt(t);return 47===r||92===r}return!1}(o)||!n.baseUrl&&(e.isRootedDiskPath(o)||e.isUrl(o))?function(t,r,n,i,a){var o=f(n);return n.rootDirs?function(t,r,n,i,a,o,c){var u=a.project||o.getCurrentDirectory(),l=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames()),_=function(t,r,n,i){t=t.map((function(t){return e.normalizePath(e.isRootedDiskPath(t)?t:e.combinePaths(r,t))}));var a=e.firstDefined(t,(function(t){return e.containsPath(t,n,r,i)?n.substr(t.length):void 0}));return e.deduplicate(s(t.map((function(t){return e.combinePaths(t,a)})),[n]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(t,u,n,l);return e.flatMap(_,(function(e){return m(r,e,i,o,c)}))}(n.rootDirs,t,r,o,n,i,a):m(t,r,o,i,a)}(o,u,n,i,c):function(t,r,n,i,a){var o=n.baseUrl,s=n.paths,c=[],u=f(n);if(o){var _=n.project||i.getCurrentDirectory(),d=e.normalizePath(e.combinePaths(_,o));m(t,d,u,i,void 0,c),s&&y(c,t,d,u.extensions,s,i)}for(var p=v(t),g=0,h=function(t,r,n){var i=n.getAmbientModules().map((function(t){return e.stripQuotes(t.name)})).filter((function(r){return e.startsWith(r,t)}));if(void 0!==r){var a=e.ensureTrailingDirectorySeparator(r);return i.map((function(t){return e.removePrefix(t,a)}))}return i}(t,p,a);g=e.pos&&r<=e.end}));if(!s)return;var c=t.text.slice(s.pos,r),u=x.exec(c);if(!u)return;var l=u[1],_=u[2],p=u[3],g=e.getDirectoryPath(t.path),y="path"===_?m(p,g,f(n,!0),i,t.path):"types"===_?b(i,n,g,v(p),f(n)):e.Debug.fail();return d(p,s.pos+l.length,y)}(r,i,c,u))&&n(p);if(e.isInString(r,i,a)){if(!a||!e.isStringLiteralLike(a))return;var p;return function(r,i,a,o,s){if(void 0===r)return;switch(r.kind){case 0:return n(r.paths);case 1:var c=[];return t.getCompletionEntriesFromSymbols(r.symbols,c,i,i,a,99,o,4,s),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:r.hasIndexSignature,entries:c};case 2:c=r.types.map((function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:"0"}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:r.isNewIdentifier,entries:c};default:return e.Debug.assertNever(r)}}(p=o(r,a,i,s,c,u),r,s,l,_)}},r.getStringLiteralCompletionDetails=function(r,n,a,s,c,u,l,_){if(s&&e.isStringLiteralLike(s)){var d=o(n,s,a,c,u,l);return d&&function(r,n,a,o,s,c){switch(a.kind){case 0:return(u=e.find(a.paths,(function(e){return e.name===r})))&&t.createCompletionDetails(r,i(u.extension),u.kind,[e.textPart(r)]);case 1:var u;return(u=e.find(a.symbols,(function(e){return e.name===r})))&&t.createCompletionDetailsForSymbol(u,s,o,n,c);case 2:return e.find(a.types,(function(e){return e.value===r}))?t.createCompletionDetails(r,"","type",[e.textPart(r)]):void 0;default:return e.Debug.assertNever(a)}}(r,s,d,n,c,_)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(a||(a={}));var x=/^(\/\/\/\s*"),kind:"class",kindModifiers:void 0,sortText:r.LocationPriority}]}}var A=[];if(c(t,i)){var F=m(l,A,g,t,n,i.target,a,_,s,y,D,x,b,C);!function(t,n,i,a,o){e.getNameTable(t).forEach((function(t,s){if(t!==n){var c=e.unescapeLeadingUnderscores(s);e.addToSeen(i,c)&&e.isIdentifierText(c,a)&&o.push({name:c,kind:"warning",kindModifiers:"",sortText:r.JavascriptIdentifiers,isFromUncheckedFile:!0})}}))}(t,g.pos,F,i.target,A)}else{if(!(f||l&&0!==l.length||0!==v))return;m(l,A,g,t,n,i.target,a,_,s,y,D,x,b,C)}if(0!==v)for(var P=e.arrayToSet(A,(function(e){return e.name})),w=0,I=function(t,r){if(!r)return E(t);var n=t+7+1;return T[n]||(T[n]=E(t).filter((function(t){return!function(e){switch(e){case 122:case 125:case 151:case 128:case 130:case 88:case 150:case 113:case 132:case 114:case 133:case 134:case 135:case 136:case 137:case 140:case 141:case 117:case 118:case 119:case 138:case 143:case 144:case 145:case 147:case 148:return!0;default:return!1}}(e.stringToToken(t.name))})))}(v,!S&&e.isSourceFileJS(t));w=t.pos;case 24:return 190===n;case 58:return 191===n;case 22:return 190===n;case 20:return 280===n||oe(n);case 18:return 248===n;case 29:return 245===n||214===n||246===n||247===n||e.isFunctionLikeKind(n);case 120:return 159===n&&!e.isClassLike(r.parent);case 25:return 156===n||!!r.parent&&190===r.parent.kind;case 119:case 117:case 118:return 156===n&&!e.isConstructorDeclaration(r.parent);case 123:return 258===n||263===n||256===n;case 131:case 142:return!O(t);case 80:case 88:case 114:case 94:case 109:case 96:case 115:case 81:case 121:case 145:return!0;case 41:return e.isFunctionLike(t.parent)&&!e.isMethodDeclaration(t.parent)}if(A(P(t))&&O(t))return!1;if(ae(t)&&(!e.isIdentifier(t)||e.isParameterPropertyModifier(P(t))||le(t)))return!1;switch(P(t)){case 122:case 80:case 81:case 130:case 88:case 94:case 114:case 115:case 117:case 118:case 119:case 120:case 109:case 121:return!0;case 126:return e.isPropertyDeclaration(t.parent)}return e.isDeclarationName(t)&&!e.isJsxAttribute(t.parent)&&!(e.isClassLike(t.parent)&&(t!==h||o>h.end))}(t)||function(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(t)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(268===e.parent.kind)return 268!==R.parent.kind;if(269===e.parent.kind||267===e.parent.kind)return!!e.parent.parent&&266===e.parent.parent.kind}return!1}(t);return n("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-r)),a}(b))return void n("Returning an empty list because completion was requested in an invalid position.");var B=b.parent;if(24===b.kind||28===b.kind)switch(T=24===b.kind,k=28===b.kind,B.kind){case 194:if((C=(S=B).expression).end===b.pos&&e.isCallExpression(C)&&C.getChildCount(i)&&21!==e.last(C.getChildren(i)).kind)return;break;case 153:C=B.left;break;case 249:C=B.name;break;case 188:case 219:C=B;break;default:return}else if(1===i.languageVariant){if(B&&194===B.kind&&(b=B,B=B.parent),d.parent===R)switch(d.kind){case 31:266!==d.parent.kind&&268!==d.parent.kind||(R=d);break;case 43:267===d.parent.kind&&(R=d)}switch(B.kind){case 269:43===b.kind&&(F=!0,R=b);break;case 209:if(!M(B))break;case 267:case 266:case 268:29===b.kind&&(E=!0,R=b);break;case 273:switch(h.kind){case 62:L=!0;break;case 75:B!==h.parent&&!B.initializer&&e.findChildOfKind(B,62,i)&&(L=h)}}}}var j=e.timestamp(),J=5,z=!1,U=0,K=[],V=[],q=[],W=u.getImportSuggestionsCache&&u.getImportSuggestionsCache(),H=ne();if(T||k)!function(){J=2;var t=e.isLiteralImportTypeNode(C),r=f||t&&!C.isTypeOf||e.isPartOfTypeNode(C.parent)||e.isPossiblyTypeArgumentPosition(b,i,l),n=e.isInRightSideOfInternalImportEqualsDeclaration(C);if(e.isEntityName(C)||t){var a=e.isModuleDeclaration(C.parent);a&&(z=!0);var o=l.getSymbolAtLocation(C);if(o&&1920&(o=e.skipAlias(o,l)).flags){for(var c=e.Debug.assertEachDefined(l.getExportsOfModule(o),"getExportsOfModule() should all be defined"),u=function(e){return l.isValidPropertyAccess(t?C:C.parent,e.name)},_=function(e){return ie(e)},d=a?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===C.parent}))}:n?function(e){return _(e)||u(e)}:r?_:u,p=0,g=c;p0&&(K=function(t,r){if(0===r.length)return t;for(var n=e.createMap(),i=e.createUnderscoreEscapedMap(),a=0,o=r;a=0&&!u(r,n[a],111);a--);return e.forEach(i(t.statement),(function(e){o(t,e)&&u(r,e.getFirstToken(),77,82)})),r}function _(e){var t=c(e);if(t)switch(t.kind){case 230:case 231:case 232:case 228:case 229:return l(t);case 237:return d(t)}}function d(t){var r=[];return u(r,t.getFirstToken(),103),e.forEach(t.caseBlock.clauses,(function(n){u(r,n.getFirstToken(),78,84),e.forEach(i(n),(function(e){o(t,e)&&u(r,e.getFirstToken(),77)}))})),r}function p(t,r){var n=[];(u(n,t.getFirstToken(),107),t.catchClause&&u(n,t.catchClause.getFirstToken(),79),t.finallyBlock)&&u(n,e.findChildOfKind(t,92,r),92);return n}function f(t,r){var i=function(t){for(var r=t;r.parent;){var n=r.parent;if(e.isFunctionBlock(n)||290===n.kind)return n;if(e.isTryStatement(n)&&n.tryBlock===r&&n.catchClause)return r;r=n}}(t);if(i){var a=[];return e.forEach(n(i),(function(t){a.push(e.findChildOfKind(t,105,r))})),e.isFunctionBlock(i)&&e.forEachReturnStatement(i,(function(t){a.push(e.findChildOfKind(t,101,r))})),a}}function g(t,r){var i=e.getContainingFunction(t);if(i){var a=[];return e.forEachReturnStatement(e.cast(i.body,e.isBlock),(function(t){a.push(e.findChildOfKind(t,101,r))})),e.forEach(n(i.body),(function(t){a.push(e.findChildOfKind(t,105,r))})),a}}function m(t){var r=e.getContainingFunction(t);if(r){var n=[];return r.modifiers&&r.modifiers.forEach((function(e){u(n,e,126)})),e.forEachChild(r,(function(t){y(t,(function(t){e.isAwaitExpression(t)&&u(n,t.getFirstToken(),127)}))})),n}}function y(t,r){r(t),e.isFunctionLike(t)||e.isClassLike(t)||e.isInterfaceDeclaration(t)||e.isModuleDeclaration(t)||e.isTypeAliasDeclaration(t)||e.isTypeNode(t)||e.forEachChild(t,(function(e){return y(e,r)}))}t.getDocumentHighlights=function(t,n,i,a,o){var c=e.getTouchingPropertyName(i,a);if(c.parent&&(e.isJsxOpeningElement(c.parent)&&c.parent.tagName===c||e.isJsxClosingElement(c.parent))){var v=c.parent.parent,h=[v.openingElement,v.closingElement].map((function(e){return r(e.tagName,i)}));return[{fileName:i.fileName,highlightSpans:h}]}return function(t,r,n,i,a){var o=e.arrayToSet(a,(function(e){return e.fileName})),s=e.FindAllReferences.getReferenceEntriesForNode(t,r,n,a,i,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}));return e.arrayFrom(c.entries(),(function(t){var r=t[0],i=t[1];if(!o.has(r)){e.Debug.assert(n.redirectTargetsMap.has(r));var s=n.getSourceFile(r);r=e.find(a,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(r))}return{fileName:r,highlightSpans:i}}))}(a,c,t,n,o)||function(t,n){var i=function(t,n){switch(t.kind){case 95:case 87:return e.isIfStatement(t.parent)?function(t,n){for(var i=function(t,r){var n=[];for(;e.isIfStatement(t.parent)&&t.parent.elseStatement===t;)t=t.parent;for(;;){var i=t.getChildren(r);u(n,i[0],95);for(var a=i.length-1;a>=0&&!u(n,i[a],87);a--);if(!t.elseStatement||!e.isIfStatement(t.elseStatement))break;t=t.elseStatement}return n}(t,n),a=[],o=0;o=s.end;_--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(_))){l=!1;break}if(l){a.push({fileName:n.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),c.end),kind:"reference"}),o++;continue}}a.push(r(i[o],n))}return a}(t.parent,n):void 0;case 101:return c(t.parent,e.isReturnStatement,g);case 105:return c(t.parent,e.isThrowStatement,f);case 107:case 79:case 92:return c(79===t.kind?t.parent.parent:t.parent,e.isTryStatement,p);case 103:return c(t.parent,e.isSwitchStatement,d);case 78:case 84:return e.isDefaultClause(t.parent)||e.isCaseClause(t.parent)?c(t.parent.parent.parent,e.isSwitchStatement,d):void 0;case 77:case 82:return c(t.parent,e.isBreakOrContinueStatement,_);case 93:case 111:case 86:return c(t.parent,(function(t){return e.isIterationStatement(t,!0)}),l);case 129:return o(e.isConstructorDeclaration,[129]);case 131:case 142:return o(e.isAccessor,[131,142]);case 127:return c(t.parent,e.isAwaitExpression,m);case 126:return v(m(t));case 121:return v(function(t){var r=e.getContainingFunction(t);if(!r)return;var n=[];return e.forEachChild(r,(function(t){y(t,(function(t){e.isYieldExpression(t)&&u(n,t.getFirstToken(),121)}))})),n}(t));default:return e.isModifierKind(t.kind)&&(e.isDeclaration(t.parent)||e.isVariableStatement(t.parent))?v((i=t.kind,a=t.parent,e.mapDefined(function(t,r){var n=t.parent;switch(n.kind){case 250:case 290:case 223:case 277:case 278:return 128&r&&e.isClassDeclaration(t)?s(t.members,[t]):n.statements;case 162:case 161:case 244:return s(n.parameters,e.isClassLike(n.parent)?n.parent.members:[]);case 245:case 214:case 246:case 173:var i=n.members;if(92&r){var a=e.find(n.members,e.isConstructorDeclaration);if(a)return s(i,a.parameters)}else if(128&r)return s(i,[n]);return i;default:e.Debug.assertNever(n,"Invalid container kind.")}}(a,e.modifierToFlag(i)),(function(t){return e.findModifier(t,i)})))):void 0}var i,a;function o(r,i){return c(t.parent,r,(function(t){return e.mapDefined(t.symbol.declarations,(function(t){return r(t)?e.find(t.getChildren(n),(function(t){return e.contains(i,t.kind)})):void 0}))}))}function c(e,t,r){return t(e)?v(r(e,n)):void 0}function v(e){return e&&e.map((function(e){return r(e,n)}))}}(t,n);return i&&[{fileName:n.fileName,highlightSpans:i}]}(c,i)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(p||(p={})),function(e){function t(t,n,i){void 0===n&&(n="");var a=e.createMap(),o=e.createGetCanonicalFileName(!!t);function s(e,t,r,n,i,a,o){return u(e,t,r,n,i,a,!0,o)}function c(e,t,r,n,i,a,o){return u(e,t,r,n,i,a,!1,o)}function u(t,r,n,o,s,c,u,l){var _=e.getOrUpdate(a,o,e.createMap),d=_.get(r),p=6===l?100:n.target||1;!d&&i&&((f=i.getDocument(o,r))&&(e.Debug.assert(u),d={sourceFile:f,languageServiceRefCount:0},_.set(r,d)));if(d)d.sourceFile.version!==c&&(d.sourceFile=e.updateLanguageServiceSourceFile(d.sourceFile,s,c,s.getChangeRange(d.sourceFile.scriptSnapshot)),i&&i.setDocument(o,r,d.sourceFile)),u&&d.languageServiceRefCount++;else{var f=e.createLanguageServiceSourceFile(t,s,p,c,!1,l);i&&i.setDocument(o,r,f),d={sourceFile:f,languageServiceRefCount:1},_.set(r,d)}return e.Debug.assert(0!==d.languageServiceRefCount),d.sourceFile}function l(t,r){var n=e.Debug.assertDefined(a.get(r)),i=n.get(t);i.languageServiceRefCount--,e.Debug.assert(i.languageServiceRefCount>=0),0===i.languageServiceRefCount&&n.delete(t)}return{acquireDocument:function(t,i,a,c,u){return s(t,e.toPath(t,n,o),i,r(i),a,c,u)},acquireDocumentWithKey:s,updateDocument:function(t,i,a,s,u){return c(t,e.toPath(t,n,o),i,r(i),a,s,u)},updateDocumentWithKey:c,releaseDocument:function(t,i){return l(e.toPath(t,n,o),r(i))},releaseDocumentWithKey:l,getLanguageServiceRefCounts:function(t){return e.arrayFrom(a.entries(),(function(e){var r=e[0],n=e[1].get(t);return[r,n&&n.languageServiceRefCount]}))},reportStats:function(){var t=e.arrayFrom(a.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var t=a.get(e),r=[];return t.forEach((function(e,t){r.push({name:t,refCount:e.languageServiceRefCount})})),r.sort((function(e,t){return t.refCount-e.refCount})),{bucket:e,sourceFiles:r}}));return JSON.stringify(t,void 0,2)},getKeyForCompilationSettings:r}}function r(t){return e.sourceFileAffectingCompilerOptions.map((function(r){return e.getCompilerOptionValue(t,r)})).join("|")}e.createDocumentRegistry=function(e,r){return t(e,r)},e.createDocumentRegistryInternal=t}(p||(p={})),function(e){!function(t){function r(t,r){return e.forEach(290===t.kind?t.statements:t.body.statements,(function(t){return r(t)||s(t)&&e.forEach(t.body&&t.body.statements,r)}))}function n(t,n){if(t.externalModuleIndicator||void 0!==t.imports)for(var i=0,a=t.imports;i=0&&!(c>n.end);){var u=c+s;0!==c&&e.isIdentifierPart(a.charCodeAt(c-1),99)||u!==o&&e.isIdentifierPart(a.charCodeAt(u),99)||i.push(c),c=a.indexOf(r,c+s+1)}return i}function D(t,r){var i=t.getSourceFile(),a=r.text,o=e.mapDefined(b(i,a,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,a)===r?n(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function S(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),C(e,e,t,r,n)}function C(e,t,r,n,i){if(n.markSearchedSymbols(t,r.allSearchSymbols))for(var a=0,o=x(t,r.text,e);a0;o--){x(t,i=n[o])}return[n.length-1,n[0]]}function x(e,t){var r=y(e,t);f(a,r),c.push(a),u.push(o),a=r}function D(){a.children&&(T(a.children,a),A(a.children)),a=c.pop(),o=u.pop()}function S(e,t,r){x(e,r),C(t),D()}function C(t){var r;if(n.throwIfCancellationRequested(),t&&!e.isToken(t))switch(t.kind){case 162:var i=t;S(i,i.body);for(var a=0,s=i.parameters;a0&&(x(J,M),e.forEachChild(J.right,C),D()):e.isFunctionExpression(J.right)||e.isArrowFunction(J.right)?S(t,J.right,M):(x(J,M),S(t,J.right,w.name),D()),void h(O);case 7:case 9:var L=t,B=(M=7===P?L.arguments[0]:L.arguments[0].expression,L.arguments[1]),j=b(t,M);O=j[0];return x(t,j[1]),x(t,e.setTextRange(e.createIdentifier(B.text),B)),C(t.arguments[2]),D(),D(),void h(O);case 5:var J,z=(w=(J=t).left).expression;if(e.isIdentifier(z)&&"prototype"!==e.getElementOrPropertyAccessName(w)&&o&&o.has(z.text))return void(e.isFunctionExpression(J.right)||e.isArrowFunction(J.right)?S(t,J.right,z):e.isBindableStaticAccessExpression(w)&&(x(J,z),S(J.left,J.right,e.getNameOrArgument(w)),D()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(P)}default:e.hasJSDocNodes(t)&&e.forEach(t.jsDoc,(function(t){e.forEach(t.tags,(function(t){e.isJSDocTypeAlias(t)&&m(t)}))})),e.forEachChild(t,C)}}function T(t,r){var n=e.createMap();e.filterMutate(t,(function(t,i){var a=t.name||e.getNameOfDeclaration(t.node),o=a&&d(a);if(!o)return!0;var s=n.get(o);if(!s)return n.set(o,t),!0;if(s instanceof Array){for(var c=0,u=s;c0)return z(n)}switch(t.kind){case 290:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"";case 259:return e.isExportAssignment(t)&&t.isExportEquals?"export=":"default";case 202:case 244:case 201:case 245:case 214:return 512&e.getModifierFlags(t)?"default":J(t);case 162:return"constructor";case 166:return"new()";case 165:return"()";case 167:return"[]";default:return""}}function I(t){return{text:w(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:j(t.node),spans:M(t),nameSpan:t.name&&B(t.name),childItems:e.map(t.children,I)}}function O(t){return{text:w(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:j(t.node),spans:M(t),childItems:e.map(t.children,(function(t){return{text:w(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:e.getNodeModifiers(t.node),spans:M(t),childItems:l,indent:0,bolded:!1,grayed:!1}}))||l,indent:t.indent,bolded:!1,grayed:!1}}function M(e){var t=[B(e.node)];if(e.additionalNodes)for(var r=0,n=e.additionalNodes;r0)return z(e.declarationNameToString(t.name));if(e.isVariableDeclaration(r))return z(e.declarationNameToString(r.name));if(e.isBinaryExpression(r)&&62===r.operatorToken.kind)return d(r.left).replace(s,"");if(e.isPropertyAssignment(r))return d(r.name);if(512&e.getModifierFlags(t))return"default";if(e.isClassLike(t))return"";if(e.isCallExpression(r)){var n=function t(r){if(e.isIdentifier(r))return r.text;if(e.isPropertyAccessExpression(r)){var n=t(r.expression),i=r.name.text;return void 0===n?i:n+"."+i}return}(r.expression);if(void 0!==n)return(n=z(n)).length>150?n+" callback":n+"("+z(e.mapDefined(r.arguments,(function(t){return e.isStringLiteralLike(t)?t.getText(i):void 0})).join(", "))+") callback"}return""}function z(e){return(e=e.length>150?e.substring(0,150)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(p||(p={})),function(e){!function(t){function r(t,r){var n=e.isStringLiteral(r)&&r.text;return e.isString(n)&&e.some(t.moduleAugmentations,(function(t){return e.isStringLiteral(t)&&t.text===n}))}function n(t){return void 0!==t&&e.isStringLiteralLike(t)?t.text:void 0}function i(t){var r;if(0===t.length)return t;var n=function(t){for(var r,n={defaultImports:[],namespaceImports:[],namedImports:[]},i={defaultImports:[],namespaceImports:[],namedImports:[]},a=0,o=t;a0?g[0]:y[0],E=0===T.length?x?void 0:e.createNamedImports(e.emptyArray):0===y.length?e.createNamedImports(T):e.updateNamedImports(y[0].importClause.namedBindings,T);f&&x&&E?(l.push(o(k,x,void 0)),l.push(o(null!==(r=y[0])&&void 0!==r?r:k,void 0,E))):l.push(o(k,x,E))}}else{var N=g[0];l.push(o(N,N.importClause.name,m[0].importClause.namedBindings))}}return l}function a(t){if(0===t.length)return t;var r=function(e){for(var t,r=[],n=[],i=0,a=e;i...")}(t);case 270:return function(t){var n=e.createTextSpanFromBounds(t.openingFragment.getStart(r),t.closingFragment.getEnd());return c(n,"code",n,!1,"<>...")}(t);case 267:case 268:return function(e){if(0===e.properties.length)return;return a(e.getStart(r),e.getEnd(),"code")}(t.attributes);case 211:case 14:return function(e){if(14===e.kind&&0===e.text.length)return;return a(e.getStart(r),e.getEnd(),"code")}(t)}function s(t,r){return void 0===r&&(r=18),u(t,!1,!e.isArrayLiteralExpression(t.parent)&&!e.isCallExpression(t.parent),r)}function u(n,i,a,s,c){void 0===i&&(i=!1),void 0===a&&(a=!0),void 0===s&&(s=18),void 0===c&&(c=18===s?19:23);var u=e.findChildOfKind(t,s,r),l=e.findChildOfKind(t,c,r);return u&&l&&o(u,l,n,r,i,a)}}(s,t);_&&n.push(_),u--,e.isCallExpression(s)?(u++,g(s.expression),u--,s.arguments.forEach(g),null===(l=s.typeArguments)||void 0===l||l.forEach(g)):e.isIfStatement(s)&&s.elseStatement&&e.isIfStatement(s.elseStatement)?(g(s.expression),g(s.thenStatement),u++,g(s.elseStatement),u--):s.forEachChild(g),u++}}}(t,r,u),function(t,r){for(var i=[],a=t.getLineStarts(),o=0,s=a;o1&&o.push(a(c,u,"comment"))}}function a(t,r,n){return c(e.createTextSpanFromBounds(t,r),n)}function o(t,r,n,i,a,o){return void 0===a&&(a=!1),void 0===o&&(o=!0),c(e.createTextSpanFromBounds(o?t.getFullStart():t.getStart(i),r.getEnd()),"code",e.createTextSpanFromNode(n,i),a)}function c(e,t,r,n,i){return void 0===r&&(r=e),void 0===n&&(n=!1),void 0===i&&(i="..."),{textSpan:e,kind:t,hintSpan:r,bannerText:i,autoCollapse:n}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(p||(p={})),function(e){var t;function r(e,t){return{kind:e,isCaseSensitive:t}}function n(e,t){var r=t.get(e);return r||t.set(e,r=v(e)),r}function i(i,a,o){var s=function(e,t){for(var r=e.length-t.length,n=function(r){if(T(t,(function(t,n){return d(e.charCodeAt(n+r))===t})))return{value:r}},i=0;i<=r;i++){var a=n(i);if("object"==typeof a)return a.value}return-1}(i,a.textLowerCase);if(0===s)return r(a.text.length===i.length?t.exact:t.prefix,e.startsWith(i,a.text));if(a.isLowerCase){if(-1===s)return;for(var _=0,p=n(i,o);_0)return r(t.substring,!0);if(a.characterSpans.length>0){var g=n(i,o),m=!!u(i,g,a,!1)||!u(i,g,a,!0)&&void 0;if(void 0!==m)return r(t.camelCase,m)}}}function a(e,t,r){if(T(t.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var n=i(e,t.totalTextChunk,r);if(n)return n}for(var a,s=0,c=t.subWordTextChunks;s=65&&t<=90)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,99))return!1;var r=String.fromCharCode(t);return r===r.toUpperCase()}function _(t){if(t>=97&&t<=122)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,99))return!1;var r=String.fromCharCode(t);return r===r.toLowerCase()}function d(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function p(e){return e>=48&&e<=57}function f(e){return l(e)||_(e)||p(e)||95===e||36===e}function g(e){for(var t=[],r=0,n=0,i=0;i0&&(t.push(m(e.substr(r,n))),n=0)}return n>0&&t.push(m(e.substr(r,n))),t}function m(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:y(e)}}function y(e){return h(e,!1)}function v(e){return h(e,!0)}function h(t,r){for(var n=[],i=0,a=1;at.length)return;for(var c=n.length-2,u=t.length-1;c>=0;c-=1,u-=1)s=o(s,a(t[u],n[c],i));return s}(t,i,n,r)},getMatchForLastSegmentOfPattern:function(t){return a(t,e.last(n),r)},patternContainsDots:n.length>1}},e.breakIntoCharacterSpans=y,e.breakIntoWordSpans=v}(p||(p={})),function(e){e.preProcessFile=function(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var i,a,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],u=0,l=!1;function _(){return a=o,18===(o=e.scanner.scan())?u++:19===o&&u--,o}function d(){var t=e.scanner.getTokenValue(),r=e.scanner.getTokenPos();return{fileName:t,pos:r,end:r+t.length}}function p(){c.push(d()),f()}function f(){0===u&&(l=!0)}function g(){var t=e.scanner.getToken();return 130===t&&(135===(t=_())&&10===(t=_())&&(i||(i=[]),i.push({ref:d(),depth:u})),!0)}function m(){if(24===a)return!1;var t=e.scanner.getToken();if(96===t){if(20===(t=_())){if(10===(t=_()))return p(),!0}else{if(10===t)return p(),!0;if(75===t||e.isKeyword(t))if(149===(t=_())){if(10===(t=_()))return p(),!0}else if(62===t){if(v(!0))return!0}else{if(27!==t)return!0;t=_()}if(18===t){for(t=_();19!==t&&1!==t;)t=_();19===t&&149===(t=_())&&10===(t=_())&&p()}else 41===t&&123===(t=_())&&(75===(t=_())||e.isKeyword(t))&&149===(t=_())&&10===(t=_())&&p()}return!0}return!1}function y(){var t=e.scanner.getToken();if(89===t){if(f(),18===(t=_())){for(t=_();19!==t&&1!==t;)t=_();19===t&&149===(t=_())&&10===(t=_())&&p()}else if(41===t)149===(t=_())&&10===(t=_())&&p();else if(96===t&&(75===(t=_())||e.isKeyword(t))&&62===(t=_())&&v(!0))return!0;return!0}return!1}function v(t){var r=t?_():e.scanner.getToken();return 139===r&&(20===(r=_())&&10===(r=_())&&p(),!0)}function h(){var t=e.scanner.getToken();if(75===t&&"define"===e.scanner.getTokenValue()){if(20!==(t=_()))return!0;if(10===(t=_())){if(27!==(t=_()))return!0;t=_()}if(22!==t)return!0;for(t=_();23!==t&&1!==t;)10===t&&p(),t=_();return!0}return!1}if(r&&function(){for(e.scanner.setText(t),_();1!==e.scanner.getToken();)g()||m()||y()||n&&(v(!1)||h())||_();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,t),e.processPragmasIntoFields(s,e.noop),l){if(i)for(var b=0,x=i;bt)break e;if(r(n,t,f)){if(e.isBlock(f)||e.isTemplateSpan(f)||e.isTemplateHead(f)||e.isTemplateTail(f)||p&&e.isTemplateHead(p)||e.isVariableDeclarationList(f)&&e.isVariableStatement(l)||e.isSyntaxList(f)&&e.isVariableDeclarationList(l)||e.isVariableDeclaration(f)&&e.isSyntaxList(l)&&1===_.length){l=f;break}if(e.isTemplateSpan(l)&&g&&e.isTemplateMiddleOrTemplateTail(g))b(f.getFullStart()-"${".length,g.getStart()+"}".length);var m=e.isSyntaxList(f)&&(o=void 0,18===(o=(a=p)&&a.kind)||22===o||20===o||268===o)&&u(g)&&!e.positionsAreOnSameLine(p.getStart(),g.getStart(),n),y=e.hasJSDocNodes(f)&&f.jsDoc[0].getStart(),v=m?p.getEnd():f.getStart(),h=m?g.getStart():f.getEnd();e.isNumber(y)&&b(y,h),b(v,h),(e.isStringLiteral(f)||e.isTemplateLiteral(f))&&b(v+1,h-1),l=f;break}if(d===_.length-1)break e}}return s;function b(r,n){if(r!==n){var i=e.createTextSpanFromBounds(r,n);(!s||!e.textSpansEqual(i,s.textSpan)&&e.textSpanIntersectsWithPosition(i,t))&&(s=c({textSpan:i},s&&{parent:s}))}}};var n=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function i(t){if(e.isSourceFile(t))return a(t.getChildAt(0).getChildren(),n);if(e.isMappedTypeNode(t)){var r=t.getChildren(),i=r[0],c=r.slice(1),u=e.Debug.assertDefined(c.pop());e.Debug.assertEqual(i.kind,18),e.Debug.assertEqual(u.kind,19);var l=a(c,(function(e){return e===t.readonlyToken||138===e.kind||e===t.questionToken||57===e.kind}));return[i,s(o(a(l,(function(e){var t=e.kind;return 22===t||155===t||23===t})),(function(e){return 58===e.kind}))),u]}if(e.isPropertySignature(t))return o(c=a(t.getChildren(),(function(r){return r===t.name||e.contains(t.modifiers,r)})),(function(e){return 58===e.kind}));if(e.isParameter(t)){var _=a(t.getChildren(),(function(e){return e===t.dotDotDotToken||e===t.name}));return o(a(_,(function(e){return e===_[0]||e===t.questionToken})),(function(e){return 62===e.kind}))}return e.isBindingElement(t)?o(t.getChildren(),(function(e){return 62===e.kind})):t.getChildren()}function a(e,t){for(var r,n=[],i=0,a=e;i0&&27===e.last(r).kind&&n++;return n}(i);return 0!==a&&e.Debug.assertLessThan(a,o),{list:i,argumentIndex:a,argumentCount:o,argumentsSpan:function(t,r){var n=t.getFullStart(),i=e.skipTrivia(r.text,t.getEnd(),!1);return e.createTextSpan(n,i-n)}(i,r)}}}function o(t,r,n){var i=t.parent;if(e.isCallOrNewExpression(i)){var o=i,s=a(t,n);if(!s)return;var c=s.list,u=s.argumentIndex,l=s.argumentCount,d=s.argumentsSpan;return{isTypeParameterList:!!i.typeArguments&&i.typeArguments.pos===c.pos,invocation:{kind:0,node:o},argumentsSpan:d,argumentIndex:u,argumentCount:l}}if(e.isNoSubstitutionTemplateLiteral(t)&&e.isTaggedTemplateExpression(i))return e.isInsideTemplateLiteral(t,r,n)?_(i,0,n):void 0;if(e.isTemplateHead(t)&&198===i.parent.kind){var p=i,f=p.parent;return e.Debug.assert(211===p.kind),_(f,u=e.isInsideTemplateLiteral(t,r,n)?0:1,n)}if(e.isTemplateSpan(i)&&e.isTaggedTemplateExpression(i.parent.parent)){var g=i;f=i.parent.parent;if(e.isTemplateTail(t)&&!e.isInsideTemplateLiteral(t,r,n))return;return _(f,u=function(t,r,n,i){if(e.Debug.assert(n>=r.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(r))return e.isInsideTemplateLiteral(r,n,i)?0:t+2;return t+1}(g.parent.templateSpans.indexOf(g),t,r,n),n)}if(e.isJsxOpeningLikeElement(i)){var m=i.attributes.pos,y=e.skipTrivia(n.text,i.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:i},argumentsSpan:e.createTextSpan(m,y-m),argumentIndex:0,argumentCount:1}}var v=e.getPossibleTypeArgumentsInfo(t,n);if(v){var h=v.called,b=v.nTypeArguments;return{isTypeParameterList:!0,invocation:o={kind:1,called:h},argumentsSpan:d=e.createTextSpanFromBounds(h.getStart(n),t.end),argumentIndex:b,argumentCount:b+1}}}function c(t){return e.isBinaryExpression(t.left)?c(t.left)+1:2}function u(t){return"__type"===t.name&&e.firstDefined(t.declarations,(function(t){return e.isFunctionTypeNode(t)?t.parent.symbol:void 0}))||t}function l(e,t){for(var r=0,n=0,i=e.getChildren();n=0&&i.length>a+1),i[a+1]}function f(t){return 0===t.kind?e.getInvokedExpression(t.node):t.called}function g(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(r||(r={})),t.getSignatureHelpItems=function(t,r,n,s,l){var _=t.getTypeChecker(),d=e.findTokenOnLeftOfPosition(r,n);if(d){var p=!!s&&"characterTyped"===s.kind;if(!p||!e.isInString(r,n,d)&&!e.isInComment(r,n)){var v=!!s&&"invoked"===s.kind,h=function(t,r,n,i,s){for(var l=function(t){e.Debug.assert(e.rangeContainsRange(t.parent,t),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(t.kind)+", parent: "+e.Debug.formatSyntaxKind(t.parent.kind)}));var s=function(t,r,n,i){return function(t,r,n,i){var o=function(t,r,n){if(20!==t.kind&&27!==t.kind)return;var i=t.parent;switch(i.kind){case 200:case 161:case 201:case 202:var o=a(t,r);if(!o)return;var s=o.argumentIndex,u=o.argumentCount,l=o.argumentsSpan,_=e.isMethodDeclaration(i)?n.getContextualTypeForObjectLiteralElement(i):n.getContextualType(i);return _&&{contextualType:_,argumentIndex:s,argumentCount:u,argumentsSpan:l};case 209:var d=function t(r){return e.isBinaryExpression(r.parent)?t(r.parent):r}(i),p=n.getContextualType(d),f=20===t.kind?0:c(i)-1,g=c(d);return p&&{contextualType:p,argumentIndex:f,argumentCount:g,argumentsSpan:e.createTextSpanFromNode(i)};default:return}}(t,n,i);if(!o)return;var s=o.contextualType,l=o.argumentIndex,_=o.argumentCount,d=o.argumentsSpan,p=s.getCallSignatures();return 1!==p.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(p),node:t,symbol:u(s.symbol)},argumentsSpan:d,argumentIndex:l,argumentCount:_}}(t,0,n,i)||o(t,r,n)}(t,r,n,i);if(s)return{value:s}},_=t;!e.isSourceFile(_)&&(s||!e.isBlock(_));_=_.parent){var d=l(_);if("object"==typeof d)return d.value}return}(d,n,r,_,v);if(h){l.throwIfCancellationRequested();var b=function(t,r,n,a,o){var s=t.invocation,c=t.argumentCount;switch(s.kind){case 0:if(o&&!function(t,r,n){if(!e.isCallOrNewExpression(r))return!1;var a=r.getChildren(n);switch(t.kind){case 20:return e.contains(a,t);case 27:var o=e.findContainingList(t);return!!o&&e.contains(a,o);case 29:return i(t,n,r.expression);default:return!1}}(a,s.node,n))return;var u=[],l=r.getResolvedSignatureForSignatureHelp(s.node,u,c);return 0===u.length?void 0:{kind:0,candidates:u,resolvedSignature:l};case 1:var _=s.called;if(o&&!i(a,n,e.isIdentifier(_)?_.parent:_))return;if(0!==(u=e.getPossibleGenericSignatures(_,c,r)).length)return{kind:0,candidates:u,resolvedSignature:e.first(u)};var d=r.getSymbolAtLocation(_);return d&&{kind:1,symbol:d};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(h,_,r,d,p);return l.throwIfCancellationRequested(),b?_.runWithCancellationToken(l,(function(e){return 0===b.kind?m(b.candidates,b.resolvedSignature,h,r,e):function(e,t,r,n){var i=t.argumentCount,a=t.argumentsSpan,o=t.invocation,s=t.argumentIndex,c=n.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return c?{items:[y(e,c,n,g(o),r)],applicableSpan:a,selectedItemIndex:0,argumentIndex:s,argumentCount:i}:void 0}(b.symbol,h,r,e)})):e.isSourceFileJS(r)?function(t,r,n){if(2===t.invocation.kind)return;var i=f(t.invocation),a=e.isIdentifier(i)?i.text:e.isPropertyAccessExpression(i)?i.name.text:void 0,o=r.getTypeChecker();return void 0===a?void 0:e.firstDefined(r.getSourceFiles(),(function(r){return e.firstDefined(r.getNamedDeclarations().get(a),(function(e){var i=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),a=i&&i.getCallSignatures();if(a&&a.length)return o.runWithCancellationToken(n,(function(e){return m(a,a[0],t,r,e)}))}))}))}(h,t,l):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(n||(n={})),t.getArgumentInfoForCompletions=function(e,t,r){var n=o(e,t,r);return!n||n.isTypeParameterList||0!==n.invocation.kind?void 0:{invocation:n.invocation.node,argumentCount:n.argumentCount,argumentIndex:n.argumentIndex}};function m(t,r,n,i,a){var o=n.isTypeParameterList,c=n.argumentCount,u=n.argumentsSpan,l=n.invocation,_=n.argumentIndex,d=g(l),p=2===l.kind?l.symbol:a.getSymbolAtLocation(f(l)),m=p?e.symbolToDisplayParts(a,p,void 0,void 0):e.emptyArray,y=t.map((function(t){return function(t,r,n,i,a,o){var c=(n?h:b)(t,i,a,o),u=c.isVariadic,l=c.parameters,_=c.prefix,d=c.suffix,p=s(r,_),f=s(d,function(t,r,n){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var i=n.getTypePredicateOfSignature(t);i?n.writeTypePredicate(i,r,void 0,e):n.writeType(n.getReturnTypeOfSignature(t),r,void 0,e)}))}(t,a,i)),g=t.getDocumentationComment(i),m=t.getJsDocTags();return{isVariadic:u,prefixDisplayParts:p,suffixDisplayParts:f,separatorDisplayParts:v,parameters:l,documentation:g,tags:m}}(t,m,o,a,d,i)}));0!==_&&e.Debug.assertLessThan(_,c);var x=t.indexOf(r);return e.Debug.assert(-1!==x),{items:y,applicableSpan:u,selectedItemIndex:x,argumentIndex:_,argumentCount:c}}function y(t,r,n,i,a){var o=e.symbolToDisplayParts(n,t),c=e.createPrinter({removeComments:!0}),u=r.map((function(e){return x(e,n,i,a,c)})),l=t.getDocumentationComment(n),_=t.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:s(o,[e.punctuationPart(29)]),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:v,parameters:u,documentation:l,tags:_}}var v=[e.punctuationPart(27),e.spacePart()];function h(t,r,n,i){var a=(t.target||t).typeParameters,o=e.createPrinter({removeComments:!0}),c=(a||e.emptyArray).map((function(e){return x(e,r,n,i,o)})),u=e.mapToDisplayParts((function(a){var c=t.thisParameter?[r.symbolToParameterDeclaration(t.thisParameter,n,70246400)]:[],u=e.createNodeArray(s(c,r.getExpandedParameters(t).map((function(e){return r.symbolToParameterDeclaration(e,n,70246400)}))));o.writeList(2576,u,i,a)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:s([e.punctuationPart(31)],u)}}function b(t,r,n,i){var a=r.hasEffectiveRestParameter(t),o=e.createPrinter({removeComments:!0}),c=e.mapToDisplayParts((function(a){if(t.typeParameters&&t.typeParameters.length){var s=e.createNodeArray(t.typeParameters.map((function(e){return r.typeParameterToDeclaration(e,n)})));o.writeList(53776,s,i,a)}}));return{isVariadic:a,parameters:r.getExpandedParameters(t).map((function(t){return function(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.symbolToParameterDeclaration(t,n,70246400);a.writeNode(4,o,i,e)})),s=r.isOptionalParameter(t.valueDeclaration);return{name:t.name,documentation:t.getDocumentationComment(r),displayParts:o,isOptional:s}}(t,r,n,i,o)})),prefix:s(c,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}function x(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.typeParameterToDeclaration(t,n);a.writeNode(4,o,i,e)}));return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(r),displayParts:o,isOptional:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(p||(p={})),function(e){var t=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function r(t,r,n){var i=e.tryParseRawSourceMap(r);if(i&&i.sources&&i.file&&i.mappings&&(!i.sourcesContent||!i.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(t,i,n)}e.getSourceMapper=function(t){var r=e.createGetCanonicalFileName(t.useCaseSensitiveFileNames()),n=t.getCurrentDirectory(),i=e.createMap(),a=e.createMap();return{tryGetSourcePosition:function t(r){if(!e.isDeclarationFileName(r.fileName))return;if(!c(r.fileName))return;var n=s(r.fileName).getSourcePosition(r);return n&&n!==r?t(n)||n:void 0},tryGetGeneratedPosition:function(i){if(e.isDeclarationFileName(i.fileName))return;var a=c(i.fileName);if(!a)return;var o=t.getProgram();if(o.isSourceOfProjectReferenceRedirect(a.fileName))return;var u=o.getCompilerOptions(),l=u.outFile||u.out,_=l?e.removeFileExtension(l)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(i.fileName,o.getCompilerOptions(),n,o.getCommonSourceDirectory(),r);if(void 0===_)return;var d=s(_,i.fileName).getGeneratedPosition(i);return d===i?void 0:d},toLineColumnOffset:function(e,t){return l(e).getLineAndCharacterOfPosition(t)},clearCache:function(){i.clear(),a.clear()}};function o(t){return e.toPath(t,n,r)}function s(n,i){var s,c=o(n),u=a.get(c);if(u)return u;if(t.getDocumentPositionMapper)s=t.getDocumentPositionMapper(n,i);else if(t.readFile){var _=l(n);s=_&&e.getDocumentPositionMapper({getSourceFileLike:l,getCanonicalFileName:r,log:function(e){return t.log(e)}},n,e.getLineInfo(_.text,e.getLineStarts(_)),(function(e){return!t.fileExists||t.fileExists(e)?t.readFile(e):void 0}))}return a.set(c,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function c(e){var r=t.getProgram();if(r){var n=o(e),i=r.getSourceFileByPath(n);return i&&i.resolvedPath===n?i:void 0}}function u(r){var n=o(r),a=i.get(n);if(void 0!==a)return a||void 0;if(t.readFile&&(!t.fileExists||t.fileExists(n))){var s=t.readFile(n),c=!!s&&function(t,r){return{text:t,lineMap:r,getLineAndCharacterOfPosition:function(t){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),t)}}}(s);return i.set(n,c),c||void 0}i.set(n,!1)}function l(e){return t.getSourceFileLike?t.getSourceFileLike(e):c(e)||u(e)}},e.getDocumentPositionMapper=function(n,i,a,o){var s=e.tryGetSourceMappingURL(a);if(s){var c=t.exec(s);if(c){if(c[1]){var u=c[1];return r(n,e.base64decode(e.sys,u),i)}s=void 0}}var l=[];s&&l.push(s),l.push(i+".map");for(var _=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(i)),d=0,p=l;d0&&u.push(e.createDiagnosticForNode(e.isVariableDeclaration(a.parent)?a.parent.name:a,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration))}else{if(e.isVariableStatement(a)&&a.parent===i&&2&a.declarationList.flags&&1===a.declarationList.declarations.length){var p=a.declarationList.declarations[0].initializer;p&&e.isRequireCall(p,!0)&&u.push(e.createDiagnosticForNode(p,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(a)&&u.push(e.createDiagnosticForNode(a.name||a,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(a)&&function(r,i,a){(function(t,r){return!e.isAsyncFunction(t)&&t.body&&e.isBlock(t.body)&&(i=t.body,!!e.forEachReturnStatement(i,n))&&function(e,t){var r=t.getTypeAtLocation(e),n=t.getSignaturesOfType(r,0),i=n.length?t.getReturnTypeOfSignature(n[0]):void 0;return!!i&&!!t.getPromisedTypeOfPromise(i)}(t,r);var i})(r,i)&&!t.has(s(r))&&a.push(e.createDiagnosticForNode(!r.name&&e.isVariableDeclaration(r.parent)&&e.isIdentifier(r.parent.name)?r.parent.name:r,e.Diagnostics.This_may_be_converted_to_an_async_function))}(a,l,u);a.forEachChild(r)}(i),e.getAllowSyntheticDefaultImports(a.getCompilerOptions()))for(var d=0,p=i.imports;d0?e.getNodeModifiers(t.declarations[0]):"",n=t&&16777216&t.flags?"optional":"";return r&&n?r+","+n:r||n},t.getSymbolDisplayPartsDocumentationAndSymbolKind=function t(i,a,o,s,c,u,l){void 0===u&&(u=e.getMeaningFromLocation(c));var _,d,p,f,g=[],m=[],y=[],v=e.getCombinedLocalAndExportSymbolFlags(a),h=1&u?n(i,a,c):"",b=!1,x=104===c.kind&&e.isInExpressionContext(c),D=!1;if(104===c.kind&&!x)return{displayParts:[e.keywordPart(104)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==h||32&v||2097152&v){"getter"!==h&&"setter"!==h||(h="property");var S=void 0;if(_=x?i.getTypeAtLocation(c):i.getTypeOfSymbolAtLocation(a.exportSymbol||a,c),c.parent&&194===c.parent.kind){var C=c.parent.name;(C===c||C&&0===C.getFullWidth())&&(c=c.parent)}var T=void 0;if(e.isCallOrNewExpression(c)?T=c:(e.isCallExpressionTarget(c)||e.isNewExpressionTarget(c)||c.parent&&e.isJsxOpeningLikeElement(c.parent)&&e.isFunctionLike(a.valueDeclaration))&&(T=c.parent),T){S=i.getResolvedSignature(T);var k=197===T.kind||e.isCallExpression(T)&&102===T.expression.kind,E=k?_.getConstructSignatures():_.getCallSignatures();if(e.contains(E,S.target)||e.contains(E,S)||(S=E.length?E[0]:void 0),S){switch(k&&32&v?(h="constructor",G(_.symbol,h)):2097152&v?(Q(h="alias"),g.push(e.spacePart()),k&&(g.push(e.keywordPart(99)),g.push(e.spacePart())),H(a)):G(a,h),h){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":g.push(e.punctuationPart(58)),g.push(e.spacePart()),16&e.getObjectFlags(_)||!_.symbol||(e.addRange(g,e.symbolToDisplayParts(i,_.symbol,s,void 0,5)),g.push(e.lineBreakPart())),k&&(g.push(e.keywordPart(99)),g.push(e.spacePart())),X(S,E,262144);break;default:X(S,E)}b=!0,D=E.length>1}}else if(e.isNameOfFunctionDeclaration(c)&&!(98304&v)||129===c.kind&&162===c.parent.kind){var N=c.parent;if(a.declarations&&e.find(a.declarations,(function(e){return e===(129===c.kind?N.parent:N)}))){E=162===N.kind?_.getNonNullableType().getConstructSignatures():_.getNonNullableType().getCallSignatures();S=i.isImplementationOfOverload(N)?E[0]:i.getSignatureFromDeclaration(N),162===N.kind?(h="constructor",G(_.symbol,h)):G(165!==N.kind||2048&_.symbol.flags||4096&_.symbol.flags?a:_.symbol,h),X(S,E),b=!0,D=E.length>1}}}if(32&v&&!b&&!x&&(q(),e.getDeclarationOfKind(a,214)?Q("local class"):g.push(e.keywordPart(80)),g.push(e.spacePart()),H(a),Y(a,o)),64&v&&2&u&&(V(),g.push(e.keywordPart(114)),g.push(e.spacePart()),H(a),Y(a,o)),524288&v&&2&u&&(V(),g.push(e.keywordPart(145)),g.push(e.spacePart()),H(a),Y(a,o),g.push(e.spacePart()),g.push(e.operatorPart(62)),g.push(e.spacePart()),e.addRange(g,e.typeToDisplayParts(i,i.getDeclaredTypeOfSymbol(a),s,8388608))),384&v&&(V(),e.some(a.declarations,(function(t){return e.isEnumDeclaration(t)&&e.isEnumConst(t)}))&&(g.push(e.keywordPart(81)),g.push(e.spacePart())),g.push(e.keywordPart(88)),g.push(e.spacePart()),H(a)),1536&v&&!x){V();var A=(z=e.getDeclarationOfKind(a,249))&&z.name&&75===z.name.kind;g.push(e.keywordPart(A?136:135)),g.push(e.spacePart()),H(a)}if(262144&v&&2&u)if(V(),g.push(e.punctuationPart(20)),g.push(e.textPart("type parameter")),g.push(e.punctuationPart(21)),g.push(e.spacePart()),H(a),a.parent)W(),H(a.parent,s),Y(a.parent,s);else{var F=e.getDeclarationOfKind(a,155);if(void 0===F)return e.Debug.fail();if(z=F.parent)if(e.isFunctionLikeKind(z.kind)){W();S=i.getSignatureFromDeclaration(z);166===z.kind?(g.push(e.keywordPart(99)),g.push(e.spacePart())):165!==z.kind&&z.name&&H(z.symbol),e.addRange(g,e.signatureToDisplayParts(i,S,o,32))}else 247===z.kind&&(W(),g.push(e.keywordPart(145)),g.push(e.spacePart()),H(z.symbol),Y(z.symbol,o))}if(8&v&&(h="enum member",G(a,"enum member"),284===(z=a.declarations[0]).kind)){var P=i.getConstantValue(z);void 0!==P&&(g.push(e.spacePart()),g.push(e.operatorPart(62)),g.push(e.spacePart()),g.push(e.displayPart(e.getTextOfConstantValue(P),"number"==typeof P?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&v){if(V(),!b){var w=i.getAliasedSymbol(a);if(w!==a&&w.declarations&&w.declarations.length>0){var I=w.declarations[0],O=e.getNameOfDeclaration(I);if(O){var M=e.isModuleWithStringLiteralName(I)&&e.hasModifier(I,2),L="default"!==a.name&&!M,R=t(i,w,e.getSourceFileOfNode(I),I,O,u,L?a:w);g.push.apply(g,R.displayParts),g.push(e.lineBreakPart()),p=R.documentation,f=R.tags}}}switch(a.declarations[0].kind){case 252:g.push(e.keywordPart(89)),g.push(e.spacePart()),g.push(e.keywordPart(136));break;case 259:g.push(e.keywordPart(89)),g.push(e.spacePart()),g.push(e.keywordPart(a.declarations[0].isExportEquals?62:84));break;case 263:g.push(e.keywordPart(89));break;default:g.push(e.keywordPart(96))}g.push(e.spacePart()),H(a),e.forEach(a.declarations,(function(t){if(253===t.kind){var r=t;if(e.isExternalModuleImportEqualsDeclaration(r))g.push(e.spacePart()),g.push(e.operatorPart(62)),g.push(e.spacePart()),g.push(e.keywordPart(139)),g.push(e.punctuationPart(20)),g.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),g.push(e.punctuationPart(21));else{var n=i.getSymbolAtLocation(r.moduleReference);n&&(g.push(e.spacePart()),g.push(e.operatorPart(62)),g.push(e.spacePart()),H(n,s))}return!0}}))}if(!b)if(""!==h){if(_)if(x?(V(),g.push(e.keywordPart(104))):G(a,h),"property"===h||"JSX attribute"===h||3&v||"local var"===h||x)if(g.push(e.punctuationPart(58)),g.push(e.spacePart()),_.symbol&&262144&_.symbol.flags){var B=e.mapToDisplayParts((function(t){var r=i.typeParameterToDeclaration(_,s);K().writeNode(4,r,e.getSourceFileOfNode(e.getParseTreeNode(s)),t)}));e.addRange(g,B)}else e.addRange(g,e.typeToDisplayParts(i,_,s));else if(16&v||8192&v||16384&v||131072&v||98304&v||"method"===h){(E=_.getNonNullableType().getCallSignatures()).length&&(X(E[0],E),D=E.length>1)}}else h=r(i,a,c);if(0!==m.length||D||(m=a.getDocumentationComment(i)),0===m.length&&4&v&&a.parent&&e.forEach(a.parent.declarations,(function(e){return 290===e.kind})))for(var j=0,J=a.declarations;j0))break}}return 0!==y.length||D||(y=a.getJsDocTags()),0===m.length&&p&&(m=p),0===y.length&&f&&(y=f),{displayParts:g,documentation:m,symbolKind:h,tags:0===y.length?void 0:y};function K(){return d||(d=e.createPrinter({removeComments:!0})),d}function V(){g.length&&g.push(e.lineBreakPart()),q()}function q(){l&&(Q("alias"),g.push(e.spacePart()))}function W(){g.push(e.spacePart()),g.push(e.keywordPart(97)),g.push(e.spacePart())}function H(t,r){l&&t===a&&(t=l);var n=e.symbolToDisplayParts(i,t,r||o,void 0,7);e.addRange(g,n),16777216&a.flags&&g.push(e.punctuationPart(57))}function G(t,r){V(),r&&(Q(r),t&&!e.some(t.declarations,(function(t){return e.isArrowFunction(t)||(e.isFunctionExpression(t)||e.isClassExpression(t))&&!t.name}))&&(g.push(e.spacePart()),H(t)))}function Q(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":return void g.push(e.textOrKeywordPart(t));default:return g.push(e.punctuationPart(20)),g.push(e.textOrKeywordPart(t)),void g.push(e.punctuationPart(21))}}function X(t,r,n){void 0===n&&(n=0),e.addRange(g,e.signatureToDisplayParts(i,t,s,32|n)),r.length>1&&(g.push(e.spacePart()),g.push(e.punctuationPart(20)),g.push(e.operatorPart(39)),g.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),g.push(e.spacePart()),g.push(e.textPart(2===r.length?"overload":"overloads")),g.push(e.punctuationPart(21))),m=t.getDocumentationComment(i),y=t.getJsDocTags(),r.length>1&&0===m.length&&0===y.length&&(m=r[0].getDocumentationComment(i),y=r[0].getJsDocTags())}function Y(t,r){var n=e.mapToDisplayParts((function(n){var a=i.symbolToTypeParameterDeclarations(t,r);K().writeList(53776,a,e.getSourceFileOfNode(e.getParseTreeNode(r)),n)}));e.addRange(g,n)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(p||(p={})),function(e){function t(t,r){var i=[],a=r.compilerOptions?n(r.compilerOptions,i):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===a[s]&&(a[s]=o[s]);for(var c=0,u=e.transpileOptionValueCompilerOptions;c>=5;return r}(d,_),0,n),a[s]=(l=1+((c=d)>>(u=_)&31),e.Debug.assert((31&l)===l,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),c&~(31<=r.pos?t.pos:a.end:t.pos}(o,r,n),r.end,(function(s){return d(r,o,t.SmartIndenter.getIndentationForNode(o,r,n,i.options),function(e,r,n){for(var i,a=-1;e;){var o=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==a&&o!==a)break;if(t.SmartIndenter.shouldIndentChildNode(r,e,i,n))return r.indentSize;a=o,i=e,e=e.parent}return 0}(o,i.options,n),s,i,a,function(t,r){if(!t.length)return a;var n=t.filter((function(t){return e.rangeOverlapsWithStartEnd(r,t.start,t.start+t.length)})).sort((function(e,t){return e.start-t.start}));if(!n.length)return a;var i=0;return function(t){for(;;){if(i>=n.length)return!1;var r=n[i];if(t.end<=r.start)return!1;if(e.startEndOverlapsWithStartEnd(t.pos,t.end,r.start,r.start+r.length))return!0;i++}};function a(){return!1}}(n.parseDiagnostics,r),n)}))}function d(r,n,i,a,o,s,c,u,l){var _,d,f,g,m=s.options,y=s.getRules,v=new t.FormattingContext(l,c,m),h=-1,b=[];if(o.advance(),o.isOnToken()){var x=l.getLineAndCharacterOfPosition(n.getStart(l)).line,D=x;n.decorators&&(D=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,l)).line),function n(i,a,s,c,p,y){if(!e.rangeOverlapsWithStartEnd(r,i.getStart(l),i.getEnd()))return;var v=C(i,s,p,y),b=a;e.forEachChild(i,(function(e){S(e,-1,i,v,s,c,!1)}),(function(r){!function(r,n,a,s){e.Debug.assert(e.isNodeArray(r));var c=function(e,t){switch(e.kind){case 162:case 244:case 201:case 161:case 160:case 202:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 196:case 197:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 169:if(e.typeArguments===t)return 29;break;case 173:return 18}return 0}(n,r),u=s,_=a;if(0!==c)for(;o.isOnToken();){if((b=o.readTokenInfo(n)).token.end>r.pos)break;if(b.token.kind===c){_=l.getLineAndCharacterOfPosition(b.token.pos).line,P(b,n,s,n);var d=void 0;if(-1!==h)d=h;else{var p=e.getLineStartPositionForPosition(b.token.pos,l);d=t.SmartIndenter.findFirstNonWhitespaceColumn(p,b.token.pos,l,m)}u=C(n,a,d,m.indentSize)}else P(b,n,s,n)}for(var f=-1,g=0;gi.end)break;11!==i.kind?P(x,i,v,i):o.advance()}if(!i.parent&&o.isOnEOF()){var D=o.readEOFTokenRange();D.end<=i.end&&_&&N(D,l.getLineAndCharacterOfPosition(D.pos).line,i,_,f,d,a,v)}function S(a,s,c,u,_,d,p,f){var y=a.getStart(l),v=l.getLineAndCharacterOfPosition(y).line,x=v;a.decorators&&(x=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(a,l)).line);var D=-1;if(p&&e.rangeContainsRange(r,c)&&-1!==(D=function(r,n,i,a,o){if(e.rangeOverlapsWithStartEnd(a,r,n)||e.rangeContainsStartEnd(a,r,n)){if(-1!==o)return o}else{var s=l.getLineAndCharacterOfPosition(r).line,c=e.getLineStartPositionForPosition(r,l),u=t.SmartIndenter.findFirstNonWhitespaceColumn(c,r,l,m);if(s!==i||r===u){var _=t.SmartIndenter.getBaseIndentation(m);return _>u?_:u}}return-1}(y,a.end,_,r,s))&&(s=D),!e.rangeOverlapsWithStartEnd(r,a.pos,a.end))return a.endy)break;P(S,i,u,i)}if(!o.isOnToken())return s;if(e.isToken(a)&&11!==a.kind){var S=o.readTokenInfo(a);return e.Debug.assert(S.token.end===a.end,"Token end is child end"),P(S,i,u,a),s}var C=157===a.kind?v:d,T=function(e,r,n,i,a,o){var s=t.SmartIndenter.shouldIndentChildNode(m,e)?m.indentSize:0;return o===r?{indentation:r===g?h:a.getIndentation(),delta:Math.min(m.indentSize,a.getDelta(e)+s)}:-1===n?20===e.kind&&r===g?{indentation:h,delta:a.getDelta(e)}:t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,r,l)||t.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(i,e,r,l)?{indentation:a.getIndentation(),delta:s}:{indentation:a.getIndentation()+a.getDelta(e),delta:s}:{indentation:n,delta:s}}(a,v,D,i,u,C);if(n(a,b,v,x,T.indentation,T.delta),11===a.kind){var k={pos:a.getStart(),end:a.getEnd()};if(k.pos!==k.end){var E=c.getChildren(l),N=E[e.findIndex(E,(function(e){return e.pos===a.pos}))-1];if(N&&l.getLineAndCharacterOfPosition(k.end).line!==l.getLineAndCharacterOfPosition(N.end).line){var A=l.getLineAndCharacterOfPosition(k.pos).line===l.getLineAndCharacterOfPosition(N.end).line;F(k,T.indentation,A,!1,!0)}}}return b=i,f&&192===c.kind&&-1===s&&(s=T.indentation),s}function P(t,n,i,a,s){e.Debug.assert(e.rangeContainsRange(n,t.token));var c=o.lastTrailingTriviaWasNewLine(),d=!1;t.leadingTrivia&&k(t.leadingTrivia,n,b,i);var p=0,f=e.rangeContainsRange(r,t.token),m=l.getLineAndCharacterOfPosition(t.token.pos);if(f){var y=u(t.token),v=_;if(p=E(t.token,m,n,b,i),!y)if(0===p){var x=v&&l.getLineAndCharacterOfPosition(v.end).line;d=c&&m.line!==x}else d=1===p}if(t.trailingTrivia&&k(t.trailingTrivia,n,b,i),d){var D=f&&!u(t.token)?i.getIndentationForToken(m.line,t.token.kind,a,!!s):-1,S=!0;if(t.leadingTrivia){var C=i.getIndentationForComment(t.token.kind,D,a);S=T(t.leadingTrivia,C,S,(function(e){return A(e.pos,C,!1)}))}-1!==D&&S&&(A(t.token.pos,D,1===p),g=m.line,h=D)}o.advance(),b=n}}(n,n,x,D,i,a)}if(!o.isOnToken()){var S=o.getCurrentLeadingTrivia();S&&(T(S,i,!1,(function(e){return E(e,l.getLineAndCharacterOfPosition(e.pos),n,n,void 0)})),function(){var e=_?_.end:r.pos,t=l.getLineAndCharacterOfPosition(e).line,n=l.getLineAndCharacterOfPosition(r.end).line;P(t,n+1,_)}())}return b;function C(r,n,i,a){return{getIndentationForComment:function(e,t,r){switch(e){case 19:case 23:case 21:return i+o(r)}return-1!==t?t:i},getIndentationForToken:function(t,a,s,c){return!c&&function(t,i,a){switch(i){case 18:case 19:case 21:case 87:case 111:case 59:return!1;case 43:case 31:switch(a.kind){case 268:case 269:case 267:return!1}break;case 22:case 23:if(186!==a.kind)return!1}return n!==t&&!(r.decorators&&i===function(t){if(t.modifiers&&t.modifiers.length)return t.modifiers[0].kind;switch(t.kind){case 245:return 80;case 246:return 114;case 244:return 94;case 248:return 248;case 163:return 131;case 164:return 142;case 161:if(t.asteriskToken)return 41;case 159:case 156:var r=e.getNameOfDeclaration(t);if(r)return r.kind}}(r))}(t,a,s)?i+o(s):i},getIndentation:function(){return i},getDelta:o,recomputeIndentation:function(e){r.parent&&t.SmartIndenter.shouldIndentChildNode(m,r.parent,r,l)&&(i+=e?m.indentSize:-m.indentSize,a=t.SmartIndenter.shouldIndentChildNode(m,r)?m.indentSize:0)}};function o(e){return t.SmartIndenter.nodeWillIndentChild(m,r,e,l,!0)?a:0}}function T(t,n,i,a){for(var o=0,s=t;o0){var C=p(S,m);O(x,D.character,C)}else I(x,D.character)}}}}else i||A(r.pos,n,!1)}function P(t,r,n){for(var i=t;io)){var s=w(a,o);-1!==s&&(e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(l.text.charCodeAt(s-1))),I(s,o+1-s))}}}function w(t,r){for(var n=r;n>=t&&e.isWhiteSpaceSingleLine(l.text.charCodeAt(n));)n--;return n!==r?n+1:-1}function I(t,r){r&&b.push(e.createTextChangeFromStartLength(t,r,""))}function O(t,r,n){(r||n)&&b.push(e.createTextChangeFromStartLength(t,r,n))}}function p(t,r){if((!i||i.tabSize!==r.tabSize||i.indentSize!==r.indentSize)&&(i={tabSize:r.tabSize,indentSize:r.indentSize},a=o=void 0),r.convertTabsToSpaces){var n=void 0,s=Math.floor(t/r.indentSize),c=t%r.indentSize;return o||(o=[]),void 0===o[s]?(n=e.repeatString(" ",r.indentSize*s),o[s]=n):n=o[s],c?n+e.repeatString(" ",c):n}var u=Math.floor(t/r.tabSize),l=t-u*r.tabSize,_=void 0;return a||(a=[]),void 0===a[u]?a[u]=_=e.repeatString("\t",u):_=a[u],l?_+e.repeatString(" ",l):_}t.createTextRangeWithKind=function(t,r,n){var i={pos:t,end:r,kind:n};return e.Debug.isDebugging&&Object.defineProperty(i,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(n)}}),i},function(e){e[e.Unknown=-1]="Unknown"}(r||(r={})),t.formatOnEnter=function(t,r,n){var i=r.getLineAndCharacterOfPosition(t).line;if(0===i)return[];for(var a=e.getEndLinePosition(i,r);e.isWhiteSpaceSingleLine(r.text.charCodeAt(a));)a--;return e.isLineBreak(r.text.charCodeAt(a))&&a--,_({pos:e.getStartPositionOfLine(i-1,r),end:a+1},r,n,2)},t.formatOnSemicolon=function(e,t,r){return l(c(s(e,26,t)),t,r,3)},t.formatOnOpeningCurly=function(t,r,n){var i=s(t,18,r);if(!i)return[];var a=c(i.parent);return _({pos:e.getLineStartPositionForPosition(a.getStart(r),r),end:t},r,n,4)},t.formatOnClosingCurly=function(e,t,r){return l(c(s(e,19,t)),t,r,5)},t.formatDocument=function(e,t){return _({pos:0,end:e.text.length},e,t,0)},t.formatSelection=function(t,r,n,i){return _({pos:e.getLineStartPositionForPosition(t,n),end:r},n,i,1)},t.formatNodeGivenIndentation=function(e,r,n,i,a,o){var s={pos:0,end:r.text.length};return t.getFormattingScanner(r.text,n,s.pos,s.end,(function(t){return d(s,e,i,a,t,o,1,(function(e){return!1}),r)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(n||(n={})),t.getRangeOfEnclosingComment=function(t,r,n,i){void 0===i&&(i=e.getTokenAtPosition(t,r));var a=e.findAncestor(i,e.isJSDoc);if(a&&(i=a.parent),!(i.getStart(t)<=r&&rr.end}var g=s(l,e,i),y=g.line===t.line||d(l,e,t.line,i);if(p){var v=m(e,i,u,!y);if(-1!==v)return v+n;if(-1!==(v=c(e,l,t,y,i,u)))return v+n}D(u,l,e,i,o)&&!y&&(n+=u.indentSize);var h=_(l,e,t.line,i);l=(e=l).parent,t=h?i.getLineAndCharacterOfPosition(e.getStart(i)):g}return n+a(u)}function s(e,t,r){var n=p(t,r),i=n?n.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(i)}function c(t,r,n,i,a,o){return(e.isDeclaration(t)||e.isStatementButNotDeclaration(t))&&(290===r.kind||!i)?v(n,a,o):-1}function u(t,r,n,i){var a=e.findNextToken(t,r,i);return a?18===a.kind?1:19===a.kind&&n===l(a,i).line?2:0:0}function l(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function _(t,r,n,i){if(!e.isCallExpression(t)||!e.contains(t.arguments,r))return!1;var a=t.expression.getEnd();return e.getLineAndCharacterOfPosition(i,a).line===n}function d(t,r,n,i){if(227===t.kind&&t.elseStatement===r){var a=e.findChildOfKind(t,87,i);return e.Debug.assert(void 0!==a),l(a,i).line===n}return!1}function p(e,t){return e.parent&&f(e.getStart(t),e.getEnd(),e.parent,t)}function f(t,r,n,i){switch(n.kind){case 169:return a(n.typeArguments);case 193:return a(n.properties);case 192:return a(n.elements);case 173:return a(n.members);case 244:case 201:case 202:case 161:case 160:case 165:case 162:case 171:case 166:return a(n.typeParameters)||a(n.parameters);case 245:case 214:case 246:case 247:case 320:return a(n.typeParameters);case 197:case 196:return a(n.typeArguments)||a(n.arguments);case 243:return a(n.declarations);case 257:case 261:return a(n.elements);case 189:case 190:return a(n.elements)}function a(a){return a&&e.rangeContainsStartEnd(function(e,t,r){for(var n=e.getChildren(r),i=1;i=0&&r=0;o--)if(27!==t[o].kind){if(n.getLineAndCharacterOfPosition(t[o].end).line!==a.line)return v(a,n,i);a=l(t[o],n)}return-1}function v(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return b(n,n+e.character,t,r)}function h(t,r,n,i){for(var a=0,o=0,s=t;sn.text.length)return a(i);if(i.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(r,n,void 0,!0),_=t.getRangeOfEnclosingComment(n,r,c||null);if(_&&3===_.kind)return function(t,r,n,i){var a=e.getLineAndCharacterOfPosition(t,r).line-1,o=e.getLineAndCharacterOfPosition(t,i.pos).line;if(e.Debug.assert(o>=0),a<=o)return b(e.getStartPositionOfLine(o,t),r,t,n);var s=e.getStartPositionOfLine(a,t),c=h(s,r,t,n),u=c.column,l=c.character;if(0===u)return u;return 42===t.text.charCodeAt(s+l)?u-1:u}(n,r,i,_);if(!c)return a(i);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(n)<=r&&r0;){var a=t.text.charCodeAt(i);if(!e.isWhiteSpaceLike(a))break;i--}return b(e.getLineStartPositionForPosition(i,t),i,t,n)}(n,r,i);if(27===c.kind&&209!==c.parent.kind){var p=function(t,r,n){var i=e.findListItemInfo(t);return i&&i.listItemIndex>0?y(i.list.getChildren(),i.listItemIndex-1,r,n):-1}(c,n,i);if(-1!==p)return p}var v=function(e,t,r){return t&&f(e,e,t,r)}(r,c.parent,n);return v&&!e.rangeContainsRange(v,c)?g(v,n,i)+i.indentSize:function(t,r,n,i,s,c){var _,d=n;for(;d;){if(e.positionBelongsToNode(d,r,t)&&D(c,d,_,t,!0)){var p=l(d,t),f=u(n,d,i,t),g=0!==f?s&&2===f?c.indentSize:0:i!==p.line?c.indentSize:0;return o(d,p,void 0,g,t,!0,c)}var y=m(d,t,c,!0);if(-1!==y)return y;_=d,d=d.parent}return a(c)}(n,r,c,d,s,i)},r.getIndentationForNode=function(e,t,r,n){var i=r.getLineAndCharacterOfPosition(e.getStart(r));return o(e,i,t,0,r,!1,n)},r.getBaseIndentation=a,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(i||(i={})),r.isArgumentAndStartLineOverlapsExpressionBeingCalled=_,r.childStartsOnTheSameLineWithElseInIfStatement=d,r.argumentStartsOnSameLineAsPreviousArgument=function(t,r,n,i){if(e.isCallOrNewExpression(t)){if(!t.arguments)return!1;var a=e.find(t.arguments,(function(e){return e.pos===r.pos}));if(!a)return!1;var o=t.arguments.indexOf(a);if(0===o)return!1;var s=t.arguments[o-1];if(n===e.getLineAndCharacterOfPosition(i,s.getEnd()).line)return!0}return!1},r.getContainingList=p,r.findFirstNonWhitespaceCharacterAndColumn=h,r.findFirstNonWhitespaceColumn=b,r.nodeWillIndentChild=x,r.shouldIndentChildNode=D}(t.SmartIndenter||(t.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(p||(p={})),function(e){!function(t){function r(t){var r=t.__pos;return e.Debug.assert("number"==typeof r),r}function n(t,r){e.Debug.assert("number"==typeof r),t.__pos=r}function i(t){var r=t.__end;return e.Debug.assert("number"==typeof r),r}function a(t,r){e.Debug.assert("number"==typeof r),t.__end=r}var o,u;function l(t,r){return e.skipTrivia(t,r,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll"}(o=t.LeadingTriviaOption||(t.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include"}(u=t.TrailingTriviaOption||(t.TrailingTriviaOption={}));var _,d={leadingTriviaOption:o.Exclude,trailingTriviaOption:u.Exclude};function p(e,t,r,n){return{pos:f(e,t,n),end:g(e,r,n)}}function f(t,r,n){var i=n.leadingTriviaOption;if(i===o.Exclude)return r.getStart(t);var a=r.getFullStart(),s=r.getStart(t);if(a===s)return s;var c=e.getLineStartPositionForPosition(a,t);if(e.getLineStartPositionForPosition(s,t)===c)return i===o.IncludeAll?a:s;var u=a>0?1:0,_=e.getStartPositionOfLine(e.getLineOfLocalPosition(t,c)+u,t);return _=l(t.text,_),e.getStartPositionOfLine(e.getLineOfLocalPosition(t,_),t)}function g(t,r,n){var i=r.end,a=n.trailingTriviaOption;if(a===u.Exclude||e.isExpression(r)&&a!==u.Include)return i;var o=e.skipTrivia(t.text,i,!0);return o===i||a!==u.Include&&!e.isLineBreak(t.text.charCodeAt(o-1))?i:o}function m(e,t){return!!t&&!!e.parent&&(27===t.kind||26===t.kind&&193===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(_||(_={})),t.isThisTypeAnnotatable=function(t){return e.isFunctionExpression(t)||e.isFunctionDeclaration(t)};var y,v,h=function(){function t(t,r){this.newLineCharacter=t,this.formatContext=r,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=e.createMap(),this.deletedNodes=[]}return t.fromContext=function(r){return new t(e.getNewLineOrDefaultFromHost(r.host,r.formatContext.options),r.formatContext)},t.with=function(e,r){var n=t.fromContext(e);return r(n),n.getChanges()},t.prototype.pushRaw=function(t,r){e.Debug.assertEqual(t.fileName,r.fileName);for(var n=0,i=r.textChanges;n=m+2)break}if(t.statements.length){void 0===l&&(l=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line);var y=t.getLineAndCharacterOfPosition(f.end).line;if(l"})},t.prototype.getOptionsForInsertNodeBefore=function(t,r){return e.isStatement(t)||e.isClassElement(t)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(t)?{suffix:", "}:e.isParameter(t)?{}:e.isStringLiteral(t)&&e.isImportDeclaration(t.parent)||e.isNamedImports(t)?{suffix:", "}:e.Debug.failBadSyntaxKind(t)},t.prototype.insertNodeAtConstructorStart=function(t,r,n){var i=e.firstOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeBefore(t,i,n):this.replaceConstructorBody(t,r,s([n],r.body.statements))},t.prototype.insertNodeAtConstructorEnd=function(t,r,n){var i=e.lastOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeAfter(t,i,n):this.replaceConstructorBody(t,r,s(r.body.statements,[n]))},t.prototype.replaceConstructorBody=function(t,r,n){this.replaceNode(t,r.body,e.createBlock(n,!0))},t.prototype.insertNodeAtEndOfScope=function(t,r,n){var i=f(t,r.getLastToken(),{});this.insertNodeAt(t,i,n,{prefix:e.isLineBreak(t.text.charCodeAt(r.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},t.prototype.insertNodeAtClassStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},t.prototype.insertNodeAtObjectStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},t.prototype.insertNodeAtStartWorker=function(e,t,r){var n,i=null!==(n=this.guessIndentationFromExistingMembers(e,t))&&void 0!==n?n:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,x(t).pos,r,this.getInsertNodeAtStartInsertOptions(e,t,i))},t.prototype.guessIndentationFromExistingMembers=function(t,r){for(var n,i=r,a=0,o=x(r);a=0;n--){var i=r[n],a=i.span,o=i.newText;t=""+t.substring(0,a.start)+o+t.substring(e.textSpanEnd(a))}return t}function S(t){var n=e.visitEachChild(t,S,e.nullTransformationContext,C,S),a=e.nodeIsSynthesized(n)?n:Object.create(n);return a.pos=r(t),a.end=i(t),a}function C(t,n,a,o,s){var c=e.visitNodes(t,n,a,o,s);if(!c)return c;var u=c===t?e.createNodeArray(c.slice(0)):c;return u.pos=r(t),u.end=i(t),u}function T(t,r){return!(e.isInComment(t,r)||e.isInString(t,r)||e.isInTemplateString(t,r)||e.isInJSXText(t,r))}function k(e,t,r,n){void 0===n&&(n={leadingTriviaOption:o.IncludeAll});var i=f(t,r,n),a=g(t,r,n);e.deleteRange(t,{pos:i,end:a})}function E(t,r,n,i){var a=e.Debug.assertDefined(e.formatting.SmartIndenter.getContainingList(i,n)),o=e.indexOfNode(a,i);e.Debug.assert(-1!==o),1!==a.length?(e.Debug.assert(!r.has(i),"Deleting a node twice"),r.add(i),t.deleteRange(n,{pos:b(n,i),end:o===a.length-1?g(n,i,{}):b(n,a[o+1])})):k(t,n,i)}t.ChangeTracker=h,t.getNewFileText=function(e,t,r,n){return y.newFileChangesWorker(void 0,t,e,r,n)},function(t){function r(t,r,n,a,o){var s=n.map((function(e){return i(e,t,a).text})).join(a),c=e.createSourceFile("any file name",s,99,!0,r);return D(s,e.formatting.formatDocument(c,o))+a}function i(t,r,i){var o=function(t){var r=0,i=e.createTextWriter(t);function o(t,n){if(n||!function(t){return e.skipTrivia(t,0)===t.length}(t)){r=i.getTextPos();for(var a=0;e.isWhiteSpaceLike(t.charCodeAt(t.length-a-1));)a++;r-=a}}return{onEmitNode:function(e,t,i){t&&n(t,r),i(e,t),t&&a(t,r)},onBeforeEmitNodeArray:function(e){e&&n(e,r)},onAfterEmitNodeArray:function(e){e&&a(e,r)},onBeforeEmitToken:function(e){e&&n(e,r)},onAfterEmitToken:function(e){e&&a(e,r)},write:function(e){i.write(e),o(e,!1)},writeComment:function(e){i.writeComment(e)},writeKeyword:function(e){i.writeKeyword(e),o(e,!1)},writeOperator:function(e){i.writeOperator(e),o(e,!1)},writePunctuation:function(e){i.writePunctuation(e),o(e,!1)},writeTrailingSemicolon:function(e){i.writeTrailingSemicolon(e),o(e,!1)},writeParameter:function(e){i.writeParameter(e),o(e,!1)},writeProperty:function(e){i.writeProperty(e),o(e,!1)},writeSpace:function(e){i.writeSpace(e),o(e,!1)},writeStringLiteral:function(e){i.writeStringLiteral(e),o(e,!1)},writeSymbol:function(e,t){i.writeSymbol(e,t),o(e,!1)},writeLine:function(){i.writeLine()},increaseIndent:function(){i.increaseIndent()},decreaseIndent:function(){i.decreaseIndent()},getText:function(){return i.getText()},rawWrite:function(e){i.rawWrite(e),o(e,!1)},writeLiteral:function(e){i.writeLiteral(e),o(e,!0)},getTextPos:function(){return i.getTextPos()},getLine:function(){return i.getLine()},getColumn:function(){return i.getColumn()},getIndent:function(){return i.getIndent()},isAtStartOfLine:function(){return i.isAtStartOfLine()},hasTrailingComment:function(){return i.hasTrailingComment()},hasTrailingWhitespace:function(){return i.hasTrailingWhitespace()},clear:function(){i.clear(),r=0}}}(i),s="\n"===i?1:0;return e.createPrinter({newLine:s,neverAsciiEscape:!0},o).writeNode(4,t,r,o),{text:o.getText(),node:S(t)}}t.getTextChangesFromChanges=function(t,r,n,a){return e.group(t,(function(e){return e.sourceFile.path})).map((function(t){for(var o=t[0].sourceFile,s=e.stableSort(t,(function(e,t){return e.range.pos-t.range.pos||e.range.end-t.range.end})),u=function(t){e.Debug.assert(s[t].range.end<=s[t+1].range.pos,"Changes overlap",(function(){return JSON.stringify(s[t].range)+" and "+JSON.stringify(s[t+1].range)}))},l=0;l1)break}var u=i<2;return function(e){var t=e.fixId,r=e.fixAllDescription,n=_(e,["fixId","fixAllDescription"]);return u?n:c(c({},n),{fixId:t,fixAllDescription:r})}}(r,n))}))},t.getAllFixes=function(t){return n.get(e.cast(t.fixId,e.isString)).getAllCodeActions(t)},t.createCombinedCodeActions=o,t.createFileTextChanges=function(e,t){return{fileName:e,textChanges:t}},t.codeFixAll=function(t,r,n){var i=[];return o(e.textChanges.ChangeTracker.with(t,(function(e){return s(t,r,(function(t){return n(e,t,i)}))})),0===i.length?void 0:i)},t.eachDiagnostic=s}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){var t,r;t=e.refactor||(e.refactor={}),r=e.createMap(),t.registerRefactor=function(e,t){r.set(e,t)},t.getApplicableRefactors=function(t){return e.arrayFrom(e.flatMapIterator(r.values(),(function(e){return t.cancellationToken&&t.cancellationToken.isCancellationRequested()?void 0:e.getAvailableActions(t)})))},t.getEditsForRefactor=function(e,t,n){var i=r.get(t);return i&&i.getEditsForAction(e,n)}}(p||(p={})),function(e){!function(t){var r="addConvertToUnknownForNonOverlappingTypes",n=[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 i(t,r,n){var i=e.getTokenAtPosition(r,n),a=e.Debug.assertDefined(e.findAncestor(i,(function(t){return e.isAsExpression(t)||e.isTypeAssertion(t)})),"Expected to find an assertion expression"),o=e.isAsExpression(a)?e.createAsExpression(a.expression,e.createKeywordTypeNode(148)):e.createTypeAssertion(e.createKeywordTypeNode(148),a.expression);t.replaceNode(r,a.expression,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,r,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){t.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],getCodeActions:function(r){var n=r.sourceFile,i=e.textChanges.ChangeTracker.with(r,(function(t){var r=e.createExportDeclaration(void 0,void 0,e.createNamedExports([]),void 0,!1);t.insertNodeAtEndOfScope(n,n,r)}));return[t.createCodeFixActionWithoutFixAll("addEmptyExportDeclaration",i,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="addMissingAwait",n=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,i=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],a=s([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.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,n],i);function o(r,n,i,o,s,c){var u=r.sourceFile,d=r.program,p=r.cancellationToken,f=function(t,r,n,i,o){var s=function(t,r){if(e.isPropertyAccessExpression(t.parent)&&e.isIdentifier(t.parent.expression))return{identifiers:[t.parent.expression],isCompleteFix:!0};if(e.isIdentifier(t))return{identifiers:[t],isCompleteFix:!0};if(e.isBinaryExpression(t)){for(var n=void 0,i=!0,a=0,o=[t.left,t.right];ae.textSpanEnd(n)?"quit":e.isExpression(r)&&e.textSpansEqual(n,e.createTextSpanFromNode(r,t))}));return s&&function(t,r,n,i,a){var o=a.getDiagnosticsProducingTypeChecker().getDiagnostics(t,i);return e.some(o,(function(t){var i=t.start,a=t.length,o=t.relatedInformation,s=t.code;return e.isNumber(i)&&e.isNumber(a)&&e.textSpansEqual({start:i,length:a},n)&&s===r&&!!o&&e.some(o,(function(t){return t.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(t,r,n,i,a)&&l(s)?s:void 0}function l(t){return 32768&t.kind||!!e.findAncestor(t,(function(t){return t.parent&&e.isArrowFunction(t.parent)&&t.parent.body===t||e.isBlock(t)&&(244===t.parent.kind||201===t.parent.kind||202===t.parent.kind||161===t.parent.kind)}))}function _(t,r,a,o,s,c){if(e.isBinaryExpression(s))for(var u=0,l=[s.left,s.right];u0)return[t.createCodeFixAction(r,a,e.Diagnostics.Add_const_to_unresolved_variable,r,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[r],getAllCodeActions:function(r){var a=new e.NodeSet;return t.codeFixAll(r,n,(function(e,t){return i(e,t.file,t.start,r.program,a)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="addMissingDeclareProperty",n=[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 i(t,r,n,i){var a=e.getTokenAtPosition(r,n);if(e.isIdentifier(a)){var o=a.parent;159!==o.kind||i&&!i.tryAdd(o)||t.insertModifierBefore(r,130,o)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Prefix_with_declare,r,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[r],getAllCodeActions:function(r){var a=new e.NodeSet;return t.codeFixAll(r,n,(function(e,t){return i(e,t.file,t.start,a)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="addMissingInvocationForDecorator",n=[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 i(t,r,n){var i=e.getTokenAtPosition(r,n),a=e.findAncestor(i,e.isDecorator);e.Debug.assert(!!a,"Expected position to be owned by a decorator.");var o=e.createCall(a.expression,void 0,void 0);t.replaceNode(r,a.expression,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Call_decorator_expression,r,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="addNameToNamelessParameter",n=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n);if(!e.isIdentifier(i))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(i.kind));var a=i.parent;if(!e.isParameter(a))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(i.kind));var o=a.parent.parameters.indexOf(a);e.Debug.assert(!a.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.createParameter(void 0,a.modifiers,a.dotDotDotToken,"arg"+o,a.questionToken,e.createTypeReferenceNode(i,void 0),a.initializer);t.replaceNode(r,i,s)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span.start)}));return[t.createCodeFixAction(r,a,e.Diagnostics.Add_parameter_name,r,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="annotateWithTypeFromJSDoc",n=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function i(t,r){var n=e.getTokenAtPosition(t,r);return e.tryCast(e.isParameter(n.parent)?n.parent.parent:n.parent,a)}function a(t){return function(t){return e.isFunctionLikeDeclaration(t)||242===t.kind||158===t.kind||159===t.kind}(t)&&o(t)}function o(t){return e.isFunctionLikeDeclaration(t)?t.parameters.some(o)||!t.type&&!!e.getJSDocReturnType(t):!t.type&&!!e.getJSDocType(t)}function s(t,r,n){if(e.isFunctionLikeDeclaration(n)&&(e.getJSDocReturnType(n)||n.parameters.some((function(t){return!!e.getJSDocType(t)})))){if(!n.typeParameters){var i=e.getJSDocTypeParameterDeclarations(n);i.length&&t.insertTypeParameters(r,n,i)}var a=e.isArrowFunction(n)&&!e.findChildOfKind(n,20,r);a&&t.insertNodeBefore(r,e.first(n.parameters),e.createToken(20));for(var o=0,s=n.parameters;o0)return k;var E=g(o.checker.getTypeAtLocation(t),o.checker).getReturnType(),N=e.getSynthesizedDeepClone(v),A=o.checker.getPromisedTypeOfPromise(E)?e.createAwait(N):N;if(c)return[e.createReturn(A)];var F=p(r,A,o);return r&&r.types.push(E),F;default:a=!1}return e.emptyArray}function g(t,r){var n=r.getSignaturesOfType(t,0);return e.lastOrUndefined(n)}function m(t,r,n){for(var i=[],a=0,o=r;a0)return}else e.isFunctionLike(a)||e.forEachChild(a,r)}))}return i}function y(t,r){var n,i=[];e.isFunctionLikeDeclaration(t)?t.parameters.length>0&&(n=function t(r){if(e.isIdentifier(r))return a(r);var n=e.flatMap(r.elements,(function(r){return e.isOmittedExpression(r)?[]:[t(r.name)]}));return function(t,r,n){void 0===r&&(r=e.emptyArray);void 0===n&&(n=[]);return{kind:1,bindingPattern:t,elements:r,types:n}}(r,n)}(t.parameters[0].name)):e.isIdentifier(t)&&(n=a(t));if(n&&(!("identifier"in n)||"undefined"!==n.identifier.text))return n;function a(t){var n,a=function(e){return e.symbol?e.symbol:r.checker.getSymbolAtLocation(e)}((n=t).original?n.original:n);return a&&r.synthNamesMap.get(e.getSymbolId(a).toString())||b(t,i,0)}}function v(t){return!t||(x(t)?!t.identifier.text:e.every(t.elements,v))}function h(e){return x(e)?e.identifier:e.bindingPattern}function b(e,t,r){return void 0===t&&(t=[]),void 0===r&&(r=0),{kind:0,identifier:e,types:t,numberOfAssignmentsOriginal:r}}function x(e){return 0===e.kind}t.registerCodeFix({errorCodes:i,getCodeActions:function(r){a=!0;var i=e.textChanges.ChangeTracker.with(r,(function(e){return o(e,r.sourceFile,r.span.start,r.program.getTypeChecker(),r)}));return a?[t.createCodeFixAction(n,i,e.Diagnostics.Convert_to_async_function,n,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[n],getAllCodeActions:function(e){return t.codeFixAll(e,i,(function(t,r){return o(t,r.file,r.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(r||(r={}))}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){function r(t,r,n,i){for(var a=0,o=t.imports;a1?[[a(n),o(n)],!0]:[[o(n)],!0]:[[a(n)],!1]}(l.arguments[0],r):void 0;return _?(i.replaceNodeWithNodes(t,n.parent,_[0]),_[1]):(i.replaceRangeWithText(t,e.createRange(c.getStart(t),l.pos),"export default"),!0)}i.delete(t,n.parent)}else e.isExportsOrModuleExportsOrAlias(t,c.expression)&&function(t,r,n,i){var a=r.left.name.text,o=i.get(a);if(void 0!==o){var s=[d(void 0,o,r.right),p([e.createExportSpecifier(o,a)])];n.replaceNodeWithNodes(t,r.parent,s)}else!function(t,r,n){var i=t.left,a=t.right,o=t.parent,s=i.name.text;if(!(e.isFunctionExpression(a)||e.isArrowFunction(a)||e.isClassExpression(a))||a.name&&a.name.text!==s)n.replaceNodeRangeWithNodes(r,i.expression,e.findChildOfKind(i,24,r),[e.createToken(89),e.createToken(81)],{joiner:" ",suffix:" "});else{n.replaceRange(r,{pos:i.getStart(r),end:a.getStart(r)},e.createToken(89),{suffix:" "}),a.name||n.insertName(r,a,s);var c=e.findChildOfKind(o,26,r);c&&n.delete(r,c)}}(r,t,n)}(t,n,i,s);var f,g;return!1}(r,i,v,c,m)}default:return!1}}function a(e){return p(void 0,e)}function o(t){return p([e.createExportSpecifier(void 0,"default")],t)}function s(e,t){for(;t.original.has(e)||t.additional.has(e);)e="_"+e;return t.additional.set(e,!0),e}function c(t){var r=e.createMultiMap();return function t(r,n){e.isIdentifier(r)&&function(e){var t=e.parent;switch(t.kind){case 194:return t.name!==e;case 191:case 258:return t.propertyName!==e;default:return!0}}(r)&&n(r);r.forEachChild((function(e){return t(e,n)}))}(t,(function(e){return r.add(e.text,e)})),r}function u(t,r,n){return e.createFunctionDeclaration(e.getSynthesizedDeepClones(n.decorators),e.concatenate(r,e.getSynthesizedDeepClones(n.modifiers)),e.getSynthesizedDeepClone(n.asteriskToken),t,e.getSynthesizedDeepClones(n.typeParameters),e.getSynthesizedDeepClones(n.parameters),e.getSynthesizedDeepClone(n.type),e.convertToFunctionBody(e.getSynthesizedDeepClone(n.body)))}function l(t,r,n,i){return"default"===r?e.makeImport(e.createIdentifier(t),void 0,n,i):e.makeImport(void 0,[_(r,t)],n,i)}function _(t,r){return e.createImportSpecifier(void 0!==t&&t!==r?e.createIdentifier(t):void 0,e.createIdentifier(r))}function d(t,r,n){return e.createVariableStatement(t,e.createVariableDeclarationList([e.createVariableDeclaration(r,void 0,n)],2))}function p(t,r){return e.createExportDeclaration(void 0,void 0,t&&e.createNamedExports(t),void 0===r?void 0:e.createLiteral(r))}t.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(a){var o=a.sourceFile,u=a.program,l=a.preferences,_=e.textChanges.ChangeTracker.with(a,(function(t){if(function(t,r,a,o,u){var l={original:c(t),additional:e.createMap()},_=function(t,r,i){var a=e.createMap();return n(t,(function(t){var n=t.name,o=n.text,c=n.originalKeywordKind;!a.has(o)&&(void 0!==c&&e.isNonContextualKeyword(c)||r.resolveName(o,t,111551,!0))&&a.set(o,s("_"+o,i))})),a}(t,r,l);!function(t,r,i){n(t,(function(n,a){if(!a){var o=n.name.text;i.replaceNode(t,n,e.createIdentifier(r.get(o)||o))}}))}(t,_,a);for(var d=!1,p=0,f=t.statements;p=e.ModuleKind.ES2015)return n?1:2;if(e.isInJSFile(t))return e.isExternalModule(t)?1:4;for(var i=0,a=t.statements;i=e.ModuleKind.ES2015&&o99){s=e.textChanges.ChangeTracker.with(r,(function(r){if(e.getTsConfigObjectLiteralExpression(i)){var n=[["target",e.createStringLiteral("es2017")]];o===e.ModuleKind.CommonJS&&n.push(["module",e.createStringLiteral("commonjs")]),t.setJsonCompilerOptionValues(r,i,n)}}));a.push(t.createCodeFixActionWithoutFixAll("fixTargetOption",s,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return a.length?a:void 0}}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="extendsInterfaceBecomesImplements",n=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function i(t,r){var n=e.getTokenAtPosition(t,r),i=e.getContainingClass(n).heritageClauses,a=i[0].getFirstToken();return 90===a.kind?{extendsToken:a,heritageClauses:i}:void 0}function a(t,r,n,i){if(t.replaceNode(r,n,e.createToken(113)),2===i.length&&90===i[0].token&&113===i[1].token){var a=i[1].getFirstToken(),o=a.getFullStart();t.replaceRange(r,{pos:o,end:o},e.createToken(27));for(var s=r.text,c=a.end;c0&&(!e.isIdentifier(n.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(n.name,i,r))?n.modifiers.forEach((function(e){t.deleteModifier(r,e)})):(t.delete(r,n),function(t,r,n,i,a){e.FindAllReferences.Core.eachSignatureCall(n.parent,i,a,(function(e){var i=n.parent.parameters.indexOf(n);e.arguments.length>i&&t.delete(r,e.arguments[i])}))}(t,r,n,a,i)))}t.registerCodeFix({errorCodes:o,getCodeActions:function(i){var o=i.errorCode,g=i.sourceFile,m=i.program,y=m.getTypeChecker(),v=m.getSourceFiles(),h=e.getTokenAtPosition(g,i.span.start);if(e.isJSDocTemplateTag(h))return[c(e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(g,h)})),e.Diagnostics.Remove_template_tag)];if(29===h.kind)return[c(C=e.textChanges.ChangeTracker.with(i,(function(e){return u(e,g,h)})),e.Diagnostics.Remove_type_parameters)];var b=l(h);if(b)return[c(C=e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(g,b)})),[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(b)])];var x=e.textChanges.ChangeTracker.with(i,(function(e){return _(h,e,g,y,v,!1)}));if(x.length)return[c(x,e.Diagnostics.Remove_destructuring)];var D=e.textChanges.ChangeTracker.with(i,(function(e){return d(g,h,e)}));if(D.length)return[c(D,e.Diagnostics.Remove_variable_statement)];var S=[];if(132===h.kind){var C=e.textChanges.ChangeTracker.with(i,(function(e){return s(e,g,h)})),T=e.cast(h.parent,e.isInferTypeNode).typeParameter.name.text;S.push(t.createCodeFixAction(r,C,[e.Diagnostics.Replace_infer_0_with_unknown,T],a,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var k=e.textChanges.ChangeTracker.with(i,(function(e){return f(g,h,e,y,v,!1)}));if(k.length){T=e.isComputedPropertyName(h.parent)?h.parent:h;S.push(c(k,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,T.getText(g)]))}}var E=e.textChanges.ChangeTracker.with(i,(function(e){return p(e,o,g,h)}));return E.length&&S.push(t.createCodeFixAction(r,E,[e.Diagnostics.Prefix_0_with_an_underscore,h.getText(g)],n,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),S},fixIds:[n,i,a],getAllCodeActions:function(r){var c=r.sourceFile,g=r.program,m=g.getTypeChecker(),y=g.getSourceFiles();return t.codeFixAll(r,o,(function(t,o){var g=e.getTokenAtPosition(c,o.start);switch(r.fixId){case n:p(t,o.code,c,g);break;case i:if(132===g.kind)break;var v=l(g);v?t.delete(c,v):e.isJSDocTemplateTag(g)?t.delete(c,g):29===g.kind?u(t,c,g):_(g,t,c,m,y,!0)||d(c,g,t)||f(c,g,t,m,y,!0);break;case a:132===g.kind&&s(t,c,g);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="fixUnreachableCode",n=[e.Diagnostics.Unreachable_code_detected.code];function i(t,r,n,i,a){var o=e.getTokenAtPosition(r,n),s=e.findAncestor(o,e.isStatement);if(s.getStart(r)!==o.getStart(r)){var c=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(s.kind),tokenKind:e.Debug.formatSyntaxKind(o.kind),errorCode:a,start:n,length:i});e.Debug.fail("Token and statement should start at the same point. "+c)}var u=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(u.kind){case 227:if(u.elseStatement){if(e.isBlock(s.parent))break;return void t.replaceNode(r,s,e.createBlock(e.emptyArray))}case 229:case 230:return void t.delete(r,u)}if(e.isBlock(s.parent)){var l=n+i,_=e.Debug.assertDefined(function(e,t){for(var r,n=0,i=e;nE.length)F(l.getSignatureFromDeclaration(u[u.length-1]),f,d,o(s));else e.Debug.assert(u.length===E.length,"Declarations and signatures should match count"),c(function(t,r,n,i,s){for(var c=t[0],u=t[0].minArgumentCount,l=!1,_=0,d=t;_=c.parameters.length&&(!e.signatureHasRestParameter(p)||e.signatureHasRestParameter(c))&&(c=p)}var f=c.parameters.length-(e.signatureHasRestParameter(c)?1:0),g=c.parameters.map((function(e){return e.name})),m=a(f,g,void 0,u,!1);if(l){var y=e.createArrayTypeNode(e.createKeywordTypeNode(125)),v=e.createParameter(void 0,void 0,e.createToken(25),g[f]||"rest",f>=u?e.createToken(57):void 0,y,void 0);m.push(v)}return function(t,r,n,i,a,s,c){return e.createMethod(void 0,t,void 0,r,n?e.createToken(57):void 0,i,a,s,o(c))}(i,r,n,void 0,m,void 0,s)}(E,d,m,f,s))}}function F(t,a,o,s){var u=function(t,r,i,a,o,s,c){var u=t.program.getTypeChecker().signatureToSignatureDeclaration(r,161,i,257,n(t));if(!u)return;return u.decorators=void 0,u.modifiers=a,u.name=o,u.questionToken=s?e.createToken(57):void 0,u.body=c,u}(i,t,r,a,o,m,s);u&&c(u)}}function a(t,r,n,i,a){for(var o=[],s=0;s=i?e.createToken(57):void 0,a?void 0:n&&n[s]||e.createKeywordTypeNode(125),void 0);o.push(c)}return o}function o(t){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.","single"===t.quotePreference)]))],!0)}function s(t,r,n){var i=e.getTsConfigObjectLiteralExpression(r);if(i){var a=u(i,"compilerOptions");if(void 0!==a){var o=a.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,l=n;s0)return[t.createCodeFixAction(r,a,e.Diagnostics.Convert_to_a_bigint_numeric_literal,r,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="fixAddModuleReferTypeMissingTypeof",n=[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 i(t,r){var n=e.getTokenAtPosition(t,r);return e.Debug.assert(96===n.kind,"This token should be an ImportKeyword"),e.Debug.assert(188===n.parent.kind,"Token parent should be an ImportType"),n.parent}function a(t,r,n){var i=e.updateImportTypeNode(n,n.argument,n.qualifier,n.typeArguments,!0);t.replaceNode(r,n,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start),u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,u,e.Diagnostics.Add_missing_typeof,r,e.Diagnostics.Add_missing_typeof)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){return a(t,e.sourceFile,i(r.file,r.start))}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="fixConvertToMappedObjectType",n=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function i(t,r){var n=e.getTokenAtPosition(t,r),i=e.cast(n.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(i.parent))return{indexSignature:i,container:e.isInterfaceDeclaration(i.parent)?i.parent:e.cast(i.parent.parent,e.isTypeAliasDeclaration)}}function a(t,r,n){var i,a,o=n.indexSignature,c=n.container,u=(e.isInterfaceDeclaration(c)?c.members:c.type.members).filter((function(t){return!e.isIndexSignatureDeclaration(t)})),l=e.first(o.parameters),_=e.createTypeParameterDeclaration(e.cast(l.name,e.isIdentifier),l.type),d=e.createMappedTypeNode(e.hasReadonlyModifier(o)?e.createModifier(138):void 0,_,o.questionToken,o.type),p=e.createIntersectionTypeNode(s(e.getAllSuperTypeNodes(c),[d],u.length?[e.createTypeLiteralNode(u)]:e.emptyArray));t.replaceNode(r,c,(i=c,a=p,e.createTypeAliasDeclaration(i.decorators,i.modifiers,i.name,i.typeParameters,a)))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)})),l=e.idText(c.container.name);return[t.createCodeFixAction(r,u,[e.Diagnostics.Convert_0_to_mapped_object_type,l],r,[e.Diagnostics.Convert_0_to_mapped_object_type,l])]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="removeUnnecessaryAwait",n=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function i(t,r,n){var i=e.tryCast(e.getTokenAtPosition(r,n.start),(function(e){return 127===e.kind})),a=i&&e.tryCast(i.parent,e.isAwaitExpression);if(a){var o=a;if(e.isParenthesizedExpression(a.parent)){var s=e.getLeftmostExpression(a.expression,!1);if(e.isIdentifier(s)){var c=e.findPrecedingToken(a.parent.pos,r);c&&99!==c.kind&&(o=a.parent)}}t.replaceNode(r,o,a.expression)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,n.span)}));if(a.length>0)return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unnecessary_await,r,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){return i(e,t.file,t)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],n="splitTypeOnlyImport";function i(t,r){return e.findAncestor(e.getTokenAtPosition(t,r.start),e.isImportDeclaration)}function a(t,r,n){if(r){var i=e.Debug.assertDefined(r.importClause);t.replaceNode(n.sourceFile,r,e.updateImportDeclaration(r,r.decorators,r.modifiers,e.updateImportClause(i,i.name,void 0,i.isTypeOnly),r.moduleSpecifier)),t.insertNodeAfter(n.sourceFile,r,e.createImportDeclaration(void 0,void 0,e.updateImportClause(i,void 0,i.namedBindings,i.isTypeOnly),r.moduleSpecifier))}}t.registerCodeFix({errorCodes:r,fixIds:[n],getCodeActions:function(r){var o=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,i(r.sourceFile,r.span),r)}));if(o.length)return[t.createCodeFixAction(n,o,e.Diagnostics.Split_into_two_separate_import_declarations,n,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(e){return t.codeFixAll(e,r,(function(t,r){a(t,i(e.sourceFile,r),e)}))}})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){var r="fixConvertConstToLet",n=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,a=n.span,o=n.program,s=function(t,r,n){var i=e.getTokenAtPosition(t,r),a=n.getTypeChecker().getSymbolAtLocation(i);if(a)return a.valueDeclaration.parent.parent}(i,a.start,o),c=e.textChanges.ChangeTracker.with(n,(function(e){return function(e,t,r){if(!r)return;var n=r.getStart();e.replaceRangeWithText(t,{pos:n,end:n+5},"let")}(e,i,s)}));return[t.createCodeFixAction(r,c,e.Diagnostics.Convert_const_to_let,r,e.Diagnostics.Convert_const_to_let)]},fixIds:[r]})}(e.codefix||(e.codefix={}))}(p||(p={})),function(e){!function(t){function r(t){var r=t.file,n=e.getRefactorContextSpan(t),i=e.getTokenAtPosition(r,n.start),a=e.getParentNodeInSpan(i,r,n);if(a&&(e.isSourceFile(a.parent)||e.isModuleBlock(a.parent)&&e.isAmbientModule(a.parent.parent))){var o=e.isSourceFile(a.parent)?a.parent.symbol:a.parent.parent.symbol,s=e.getModifierFlags(a),c=!!(512&s);if(1&s&&(c||!o.exports.has("default")))switch(a.kind){case 244:case 245:case 246:case 248:case 247:case 249:var u=a;return u.name&&e.isIdentifier(u.name)?{exportNode:u,exportName:u.name,wasDefault:c,exportingModuleSymbol:o}:void 0;case 225:var l=a;if(!(2&l.declarationList.flags)||1!==l.declarationList.declarations.length)return;var _=e.first(l.declarationList.declarations);if(!_.initializer)return;return e.Debug.assert(!c,"Can't have a default flag here"),e.isIdentifier(_.name)?{exportNode:l,exportName:_.name,wasDefault:c,exportingModuleSymbol:o}:void 0;default:return}}}function n(t,r){return e.createImportSpecifier(t===r?void 0:e.createIdentifier(t),e.createIdentifier(r))}t.registerRefactor("Convert export",{getAvailableActions:function(t){var n=r(t);if(!n)return e.emptyArray;var i=n.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message;return[{name:"Convert export",description:i,actions:[{name:n.wasDefault?"Convert default export to named export":"Convert named export to default export",description:i}]}]},getEditsForAction:function(t,i){return e.Debug.assert("Convert default export to named export"===i||"Convert named export to default export"===i,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(t,(function(i){return a=t.file,o=t.program,s=e.Debug.assertDefined(r(t),"context must have info"),c=i,u=t.cancellationToken,function(t,r,n,i){var a=r.wasDefault,o=r.exportNode,s=r.exportName;if(a)n.delete(t,e.Debug.assertDefined(e.findModifier(o,84),"Should find a default keyword in modifier list"));else{var c=e.Debug.assertDefined(e.findModifier(o,89),"Should find an export keyword in modifier list");switch(o.kind){case 244:case 245:case 246:n.insertNodeAfter(t,c,e.createToken(84));break;case 225:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,i,t)){n.replaceNode(t,o,e.createExportDefault(e.Debug.assertDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 248:case 247:case 249:n.deleteModifier(t,c),n.insertNodeAfter(t,o,e.createExportDefault(e.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}(a,s,c,o.getTypeChecker()),void function(t,r,i,a){var o=r.wasDefault,s=r.exportName,c=r.exportingModuleSymbol,u=t.getTypeChecker(),l=e.Debug.assertDefined(u.getSymbolAtLocation(s),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(t.getSourceFiles(),u,a,l,c,s.text,o,(function(t){var r=t.getSourceFile();o?function(t,r,i,a){var o=r.parent;switch(o.kind){case 194:i.replaceNode(t,r,e.createIdentifier(a));break;case 258:case 263:var s=o;i.replaceNode(t,s,n(a,s.name.text));break;case 255:var c=o;e.Debug.assert(c.name===r,"Import clause name should match provided ref"),s=n(a,r.text);var u=c.namedBindings;if(u)if(256===u.kind){i.deleteRange(t,{pos:r.getStart(t),end:u.getStart(t)});var l=e.isStringLiteral(c.parent.moduleSpecifier)?e.quotePreferenceFromString(c.parent.moduleSpecifier,t):1,_=e.makeImport(void 0,[n(a,r.text)],c.parent.moduleSpecifier,l);i.insertNodeAfter(t,c.parent,_)}else i.delete(t,r),i.insertNodeAtEndOfList(t,u.elements,s);else i.replaceNode(t,r,e.createNamedImports([s]));break;default:e.Debug.failBadSyntaxKind(o)}}(r,t,i,s.text):function(t,r,n){var i,a,o=r.parent;switch(o.kind){case 194:n.replaceNode(t,r,e.createIdentifier("default"));break;case 258:var s=e.createIdentifier(o.name.text);1===o.parent.elements.length?n.replaceNode(t,o.parent,s):(n.delete(t,o),n.insertNodeBefore(t,o.parent,s));break;case 263:n.replaceNode(t,o,(i="default",a=o.name.text,e.createExportSpecifier(i===a?void 0:e.createIdentifier(i),e.createIdentifier(a))));break;default:e.Debug.assertNever(o,"Unexpected parent kind "+o.kind)}}(r,t,i)}))}(o,s,c,u);var a,o,s,c,u})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(p||(p={})),function(e){!function(t){function r(t){var r=t.file,n=e.getRefactorContextSpan(t),i=e.getTokenAtPosition(r,n.start),a=e.getParentNodeInSpan(i,r,n);if(a&&e.isImportDeclaration(a)){var o=a.importClause;return o&&o.namedBindings}}function n(t,r,n){return e.createImportDeclaration(void 0,void 0,e.createImportClause(r,n&&n.length?e.createNamedImports(n):void 0),t.moduleSpecifier)}t.registerRefactor("Convert import",{getAvailableActions:function(t){var n=r(t);if(!n)return e.emptyArray;var i=256===n.kind?e.Diagnostics.Convert_namespace_import_to_named_imports.message:e.Diagnostics.Convert_named_imports_to_namespace_import.message;return[{name:"Convert import",description:i,actions:[{name:256===n.kind?"Convert namespace import to named imports":"Convert named imports to namespace import",description:i}]}]},getEditsForAction:function(t,i){return e.Debug.assert("Convert namespace import to named imports"===i||"Convert named imports to namespace import"===i,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(t,(function(i){return a=t.file,o=t.program,s=i,c=e.Debug.assertDefined(r(t),"Context must provide an import to convert"),u=o.getTypeChecker(),void(256===c.kind?function(t,r,i,a,o){var s=!1,c=[],u=e.createMap();e.FindAllReferences.Core.eachSymbolReferenceInFile(a.name,r,t,(function(t){if(e.isPropertyAccessExpression(t.parent)){var n=e.cast(t.parent,e.isPropertyAccessExpression),i=n.name.text;r.resolveName(i,t,67108863,!0)&&u.set(i,!0),e.Debug.assert(n.expression===t,"Parent expression should match id"),c.push(n)}else s=!0}));for(var l=e.createMap(),_=0,d=c;_0;if(e.isBlock(t)&&!s&&0===i.size)return{body:e.createBlock(t.statements,!0),returnValueProperty:void 0};var c=!1,u=e.createNodeArray(e.isBlock(t)?t.statements.slice(0):[e.isStatement(t)?t:e.createReturn(t)]);if(s||i.size){var l=e.visitNodes(u,(function t(a){if(!c&&235===a.kind&&s){var u=g(r,n);return a.expression&&(o||(o="__return"),u.unshift(e.createPropertyAssignment(o,e.visitNode(a.expression,t)))),1===u.length?e.createReturn(u[0].name):e.createReturn(e.createObjectLiteral(u))}var l=c;c=c||e.isFunctionLikeDeclaration(a)||e.isClassLike(a);var _=i.get(e.getNodeId(a).toString()),d=_?e.getSynthesizedDeepClone(_):e.visitEachChild(a,t,e.nullTransformationContext);return c=l,d})).slice();if(s&&!a&&e.isStatement(t)){var _=g(r,n);1===_.length?l.push(e.createReturn(_[0].name)):l.push(e.createReturn(e.createObjectLiteral(_)))}return{body:e.createBlock(l,!0),returnValueProperty:o}}return{body:e.createBlock(u,!0),returnValueProperty:void 0}}(t,a,u,d,!!(o.facts&i.HasReturn)),F=A.body,P=A.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(F),e.isClassLike(r)){var w=b?[]:[e.createToken(117)];o.facts&i.InStaticRegion&&w.push(e.createToken(120)),o.facts&i.IsAsyncFunction&&w.push(e.createToken(126)),N=e.createMethod(void 0,w.length?w:void 0,o.facts&i.IsGenerator?e.createToken(41):void 0,x,void 0,T,D,c,F)}else N=e.createFunctionDeclaration(void 0,o.facts&i.IsAsyncFunction?[e.createToken(126)]:void 0,o.facts&i.IsGenerator?e.createToken(41):void 0,x,T,D,c,F);var I=e.textChanges.ChangeTracker.fromContext(s),O=function(t,r){return e.find(function(t){if(e.isFunctionLikeDeclaration(t)){var r=t.body;if(e.isBlock(r))return r.statements}else{if(e.isModuleBlock(t)||e.isSourceFile(t))return t.statements;if(e.isClassLike(t))return t.members;e.assertType(t)}return e.emptyArray}(r),(function(r){return r.pos>=t&&e.isFunctionLikeDeclaration(r)&&!e.isConstructorDeclaration(r)}))}((m(o.range)?e.last(o.range):o.range).end,r);O?I.insertNodeBefore(s.file,O,N,!0):I.insertNodeAtEndOfScope(s.file,r,N);var M=[],L=function(t,r,n){var a=e.createIdentifier(n);if(e.isClassLike(t)){var o=r.facts&i.InStaticRegion?e.createIdentifier(t.name.text):e.createThis();return e.createPropertyAccess(o,a)}return a}(r,o,h),R=e.createCall(L,k,S);o.facts&i.IsGenerator&&(R=e.createYield(e.createToken(41),R));o.facts&i.IsAsyncFunction&&(R=e.createAwait(R));if(a.length&&!u)if(e.Debug.assert(!P,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&i.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===a.length){var B=a[0];M.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(B.name),e.getSynthesizedDeepClone(B.type),R)],B.parent.flags)))}else{for(var j=[],J=[],z=a[0].parent.flags,U=!1,K=0,V=a;K0,"Found no members");for(var a=!0,o=0,s=i;ot)return n||i[0];if(a&&!e.isPropertyDeclaration(c)){if(void 0!==n)return c;a=!1}n=c}return void 0===n?e.Debug.fail():n}(t.pos,r);m.insertNodeBefore(o.file,x,h,!0),m.replaceNode(o.file,t,b)}else{var D=e.createVariableDeclaration(d,f,g),S=function(t,r){var n;for(;void 0!==t&&t!==r;){if(e.isVariableDeclaration(t)&&t.initializer===n&&e.isVariableDeclarationList(t.parent)&&t.parent.declarations.length>1)return t;n=t,t=t.parent}}(t,r);if(S){m.insertNodeBefore(o.file,S,D);b=e.createIdentifier(d);m.replaceNode(o.file,t,b)}else if(226===t.parent.kind&&r===e.findAncestor(t,_)){var C=e.createVariableStatement(void 0,e.createVariableDeclarationList([D],2));m.replaceNode(o.file,t.parent,C)}else{C=e.createVariableStatement(void 0,e.createVariableDeclarationList([D],2));if(0===(x=function(t,r){var n;e.Debug.assert(!e.isClassLike(r));for(var i=t;i!==r;i=i.parent)_(i)&&(n=i);for(i=(n||t).parent;;i=i.parent){if(y(i)){for(var a=void 0,o=0,s=i.statements;ot.pos)break;a=c}return!a&&e.isCaseClause(i)?(e.Debug.assert(e.isSwitchStatement(i.parent.parent),"Grandparent isn't a switch statement"),i.parent.parent):e.Debug.assertDefined(a,"prevStatement failed to get set")}e.Debug.assert(i!==r,"Didn't encounter a block-like before encountering scope")}}(t,r)).pos?m.insertNodeAtTopOfFile(o.file,C,!1):m.insertNodeBefore(o.file,x,C,!1),226===t.parent.kind)m.delete(o.file,t.parent);else{b=e.createIdentifier(d);m.replaceNode(o.file,t,b)}}}var T=m.getChanges(),k=t.getSourceFile().fileName,E=e.getRenameLocation(T,k,d,!0);return{renameFilename:k,renameLocation:E,edits:T}}(e.isExpression(c)?c:c.statements[0].expression,o[n],u[n],t.facts,r)}(n,t,o)}e.Debug.fail("Unrecognized action name")}function u(t,r){var a=r.length;if(0===a)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractEmpty)]};var o=e.getParentNodeInSpan(e.getTokenAtPosition(t,r.start),t,r),s=e.getParentNodeInSpan(e.findTokenOnLeftOfPosition(t,e.textSpanEnd(r)),t,r),c=[],u=i.None;if(!o||!s)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};if(o.parent!==s.parent)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};if(o!==s){if(!y(o.parent))return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};for(var _=[],d=0,p=o.parent.statements;d=r.start+r.length)return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractSuper)),!0}else u|=i.UsesThis}if(e.isFunctionLikeDeclaration(a)||e.isClassLike(a)){switch(a.kind){case 244:case 245:e.isSourceFile(a.parent)&&void 0===a.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(a,n.functionWillNotBeVisibleInTheNewScope))}return!1}var p=_;switch(a.kind){case 227:case 240:_=0;break;case 223:a.parent&&240===a.parent.kind&&a.parent.finallyBlock===a&&(_=4);break;case 278:case 277:_|=1;break;default:e.isIterationStatement(a,!1)&&(_|=3)}switch(a.kind){case 183:case 104:u|=i.UsesThis;break;case 238:var f=a.label;(l||(l=[])).push(f.escapedText),e.forEachChild(a,t),l.pop();break;case 234:case 233:(f=a.label)?e.contains(l,f.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):_&(234===a.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 206:u|=i.IsAsyncFunction;break;case 212:u|=i.IsGenerator;break;case 235:4&_?u|=i.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(a,t)}_=p}(t),o}}function l(t){return e.isStatement(t)?[t]:e.isExpressionNode(t)?e.isExpressionStatement(t.parent)?[t.parent]:t:void 0}function _(t){return e.isFunctionLikeDeclaration(t)||e.isSourceFile(t)||e.isModuleBlock(t)||e.isClassLike(t)}function d(t,r){var a=r.file,o=function(t){var r=m(t.range)?e.first(t.range):t.range;if(t.facts&i.UsesThis){var n=e.getContainingClass(r);if(n){var a=e.findAncestor(r,e.isFunctionLikeDeclaration);return a?[a,n]:[n]}}for(var o=[];;)if(156===(r=r.parent).kind&&(r=e.findAncestor(r,(function(t){return e.isFunctionLikeDeclaration(t)})).parent),_(r)&&(o.push(r),290===r.kind))return o}(t);return{scopes:o,readsAndWrites:function(t,r,a,o,s,c){var u,l,_=e.createMap(),d=[],p=[],f=[],g=[],y=[],v=e.createMap(),h=[],b=m(t.range)?1===t.range.length&&e.isExpressionStatement(t.range[0])?t.range[0].expression:void 0:t.range;if(void 0===b){var x=t.range,D=e.first(x).getStart(),S=e.last(x).end;l=e.createFileDiagnostic(o,D,S-D,n.expressionExpected)}else 147456&s.getTypeAtLocation(b).flags&&(l=e.createDiagnosticForNode(b,n.uselessConstantType));for(var C=0,T=r;C=u)return m;if(N.set(m,u),y){for(var v=0,h=d;v0){for(var I=e.createMap(),O=0,M=F;void 0!==M&&O=0)return;var i=e.isIdentifier(n)?V(n):s.getSymbolAtLocation(n);if(i){var a=e.find(y,(function(e){return e.symbol===i}));if(a)if(e.isVariableDeclaration(a)){var o=a.symbol.id.toString();v.has(o)||(h.push(a),v.set(o,!0))}else u=u||a}e.forEachChild(n,r)}))}for(var z=function(r){var i=d[r];if(r>0&&(i.usages.size>0||i.typeParameterUsages.size>0)){var a=m(t.range)?t.range[0]:t.range;g[r].push(e.createDiagnosticForNode(a,n.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(d[r].usages.forEach((function(t){2===t.usage&&(s=!0,106500&t.symbol.flags&&t.symbol.valueDeclaration&&e.hasModifier(t.symbol.valueDeclaration,64)&&(o=t.symbol.valueDeclaration))})),e.Debug.assert(m(t.range)||0===h.length,"No variable declarations expected if something was extracted"),s&&!m(t.range)){var c=e.createDiagnosticForNode(t.range,n.cannotWriteInExpression);f[r].push(c),g[r].push(c)}else if(o&&r>0){c=e.createDiagnosticForNode(o,n.cannotExtractReadonlyPropertyInitializerOutsideConstructor);f[r].push(c),g[r].push(c)}else if(u){c=e.createDiagnosticForNode(u,n.cannotExtractExportedEntity);f[r].push(c),g[r].push(c)}},U=0;Un.pos}));if(-1!==a){var o=i[a];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,n))return{toMove:[i[a]],afterLast:i[a+1]};if(!(n.pos>o.getStart(r))){var s=e.findIndex(i,(function(e){return e.end>n.end}),a);if(-1===s||!(0===s||i[s].getStart(r)=2&&e.every(t,(function(t){return function(t,r){if(e.isRestParameter(t)){var n=r.getTypeAtLocation(t);if(!r.isArrayType(n)&&!r.isTupleType(n))return!1}return!t.modifiers&&!t.decorators&&e.isIdentifier(t.name)}(t,r)}))}(t.parameters,r))return!1;switch(t.kind){case 244:return d(t)&&_(t,r);case 161:return _(t,r);case 162:return e.isClassDeclaration(t.parent)?d(t.parent)&&_(t,r):p(t.parent.parent)&&_(t,r);case 201:case 202:return p(t.parent)}return!1}(a,n)&&e.rangeContainsRange(a,i))||a.body&&e.rangeContainsRange(a.body,i)?void 0:a}function _(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function d(t){return!!t.name||!!e.findModifier(t,84)}function p(t){return e.isVariableDeclaration(t)&&e.isVarConst(t)&&e.isIdentifier(t.name)&&!t.type}function f(t){return t.length>0&&e.isThis(t[0].name)}function g(t){return f(t)&&(t=e.createNodeArray(t.slice(1),t.hasTrailingComma)),t}function m(t,r){var n=g(t.parameters),i=e.isRestParameter(e.last(n)),a=i?r.slice(0,n.length-1):r,o=e.map(a,(function(t,r){var i,a,o=v(n[r]),s=(i=o,a=t,e.isIdentifier(a)&&e.getTextOfIdentifierOrLiteral(a)===i?e.createShorthandPropertyAssignment(i):e.createPropertyAssignment(i,a));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),y(t,s),s}));if(i&&r.length>=n.length){var s=r.slice(n.length-1),c=e.createPropertyAssignment(v(e.last(n)),e.createArrayLiteral(s));o.push(c)}return e.createObjectLiteral(o,!1)}function y(t,r){var n=t.getSourceFile();!function(e,t){for(var r=e.getFullStart(),n=e.getStart(),i=r;i0;){var o=i.shift();e.copyTrailingComments(t[o],a,r,3,!1),n(o,a)}}}(n,r,a),s=l(0,n),c=s[0],u=s[1],d=s[2];if(c===n.length){var p=e.createNoSubstitutionTemplateLiteral(u);return o(d,p),p}var f=[],g=e.createTemplateHead(u);o(d,g);for(var m=c;m322}));return n.kind<153?n:n.getFirstToken(t)}},r.prototype.getLastToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t),n=e.lastOrUndefined(r);if(n)return n.kind<153?n:n.getLastToken(t)},r.prototype.forEachChild=function(t,r){return e.forEachChild(this,t,r)},r}();function n(r,n,i,a){for(e.scanner.setTextPos(n);n=n.length&&(t=this.getEnd()),t||(t=n[r+1]-1);var i=this.getFullText();return"\n"===i[t]&&"\r"===i[t-1]?t-1:t},r.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},r.prototype.computeNamedDeclarations=function(){var t=e.createMultiMap();return this.forEachChild((function i(a){switch(a.kind){case 244:case 201:case 161:case 160:var o=a,s=n(o);if(s){var c=function(e){var r=t.get(e);r||t.set(e,r=[]);return r}(s),u=e.lastOrUndefined(c);u&&o.parent===u.parent&&o.symbol===u.symbol?o.body&&!u.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(a,i);break;case 245:case 214:case 246:case 247:case 248:case 249:case 253:case 263:case 258:case 255:case 256:case 163:case 164:case 173:r(a),e.forEachChild(a,i);break;case 156:if(!e.hasModifier(a,92))break;case 242:case 191:var l=a;if(e.isBindingPattern(l.name)){e.forEachChild(l.name,i);break}l.initializer&&i(l.initializer);case 284:case 159:case 158:r(a);break;case 260:var _=a;_.exportClause&&(e.isNamedExports(_.exportClause)?e.forEach(_.exportClause.elements,i):i(_.exportClause.name));break;case 254:var d=a.importClause;d&&(d.name&&r(d.name),d.namedBindings&&(256===d.namedBindings.kind?r(d.namedBindings):e.forEach(d.namedBindings.elements,i)));break;case 209:0!==e.getAssignmentDeclarationKind(a)&&r(a);default:e.forEachChild(a,i)}})),t;function r(e){var r=n(e);r&&t.add(r,e)}function n(t){var r=e.getNonAssignedNameOfDeclaration(t);return r&&(e.isComputedPropertyName(r)&&e.isPropertyAccessExpression(r.expression)?r.expression.name.text:e.isPropertyName(r)?e.getNameFromPropertyName(r):void 0)}},r}(r),v=function(){function t(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}return t.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},t}();function h(t){var r=!0;for(var n in t)if(e.hasProperty(t,n)&&!b(n)){r=!1;break}if(r)return t;var i={};for(var n in t){if(e.hasProperty(t,n))i[b(n)?n:n.charAt(0).toLowerCase()+n.substr(1)]=t[n]}return i}function b(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function x(){return{target:1,jsx:1}}e.toEditorSettings=h,e.displayPartsToString=function(t){return t?e.map(t,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=x,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var D=function(){function t(t,r){this.host=t,this.currentDirectory=t.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var n=0,i=t.getScriptFileNames();n=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested())},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},t}();function A(t){var r=function(t){switch(t.kind){case 10:case 14:case 8:if(154===t.parent.kind)return e.isObjectLiteralElement(t.parent.parent)?t.parent.parent:void 0;case 75:return!e.isObjectLiteralElement(t.parent)||193!==t.parent.parent.kind&&274!==t.parent.parent.kind||t.parent.name!==t?void 0:t.parent}return}(t);return r&&(e.isObjectLiteralExpression(r.parent)||e.isJsxAttributes(r.parent))?r:void 0}function F(t,r,n,i){var a=e.getNameFromPropertyName(t.name);if(!a)return e.emptyArray;if(!n.isUnion())return(o=n.getProperty(a))?[o]:e.emptyArray;var o,s=e.mapDefined(n.types,(function(n){return e.isObjectLiteralExpression(t.parent)&&r.isTypeInvalidDueToUnionDiscriminant(n,t.parent)?void 0:n.getProperty(a)}));if(i&&(0===s.length||s.length===n.types.length)&&(o=n.getProperty(a)))return[o];return 0===s.length?e.mapDefined(n.types,(function(e){return e.getProperty(a)})):s}e.ThrottledCancellationToken=N,e.createLanguageService=function(t,r,n){var i;void 0===r&&(r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory())),void 0===n&&(n=!1);var a,o,u=new S(t),l=0,_=new E(t.getCancellationToken&&t.getCancellationToken()),d=t.getCurrentDirectory();function p(e){t.log&&t.log(e)}!e.localizedDiagnosticMessages&&t.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(t.getLocalizedDiagnosticMessages());var f=e.hostUsesCaseSensitiveFileNames(t),g=e.createGetCanonicalFileName(f),m=e.getSourceMapper({useCaseSensitiveFileNames:function(){return f},getCurrentDirectory:function(){return d},getProgram:b,fileExists:e.maybeBind(t,t.fileExists),readFile:e.maybeBind(t,t.readFile),getDocumentPositionMapper:e.maybeBind(t,t.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(t,t.getSourceFileLike),log:p});function y(e){var t=a.getSourceFile(e);if(!t){var r=new Error("Could not find source file: '"+e+"'.");throw r.ProgramFiles=a.getSourceFiles().map((function(e){return e.fileName})),r}return t}function v(){if(e.Debug.assert(!n),t.getProjectVersion){var i=t.getProjectVersion();if(i){if(o===i&&!t.hasChangedAutomaticTypeDirectiveNames)return;o=i}}var s=t.getTypeRootsVersion?t.getTypeRootsVersion():0;l!==s&&(p("TypeRoots version has changed; provide new program"),a=void 0,l=s);var c=new D(t,g),u=c.getRootFileNames(),y=t.hasInvalidatedResolution||e.returnFalse,v=c.getProjectReferences();if(!e.isProgramUptoDate(a,u,c.compilationSettings(),(function(e){return c.getVersion(e)}),C,y,!!t.hasChangedAutomaticTypeDirectiveNames,v)){var h=c.compilationSettings(),b={getSourceFile:function(t,r,n,i){return T(t,e.toPath(t,d,g),r,n,i)},getSourceFileByPath:T,getCancellationToken:function(){return _},getCanonicalFileName:g,useCaseSensitiveFileNames:function(){return f},getNewLine:function(){return e.getNewLineCharacter(h,(function(){return e.getNewLineOrDefaultFromHost(t)}))},getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return d},fileExists:C,readFile:function(r){var n=e.toPath(r,d,g),i=c&&c.getEntryByPath(n);if(i)return e.isString(i)?void 0:e.getSnapshotText(i.scriptSnapshot);return t.readFile&&t.readFile(r)},realpath:t.realpath&&function(e){return t.realpath(e)},directoryExists:function(r){return e.directoryProbablyExists(r,t)},getDirectories:function(e){return t.getDirectories?t.getDirectories(e):[]},readDirectory:function(r,n,i,a,o){return e.Debug.assertDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(r,n,i,a,o)},onReleaseOldSourceFile:function(e,t){var n=r.getKeyForCompilationSettings(t);r.releaseDocumentWithKey(e.resolvedPath,n)},hasInvalidatedResolution:y,hasChangedAutomaticTypeDirectiveNames:t.hasChangedAutomaticTypeDirectiveNames};t.trace&&(b.trace=function(e){return t.trace(e)}),t.resolveModuleNames&&(b.resolveModuleNames=function(){for(var e=[],r=0;r0&&(a=n.fileName,!e.stringContains(a,"/node_modules/")))for(var c=function(){var t="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",n="(?:"+e.map(r,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")";return new RegExp(t+"("+n+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),u=void 0;u=c.exec(o);){_.throwIfCancellationRequested();e.Debug.assert(u.length===r.length+3);var l=u[1],d=u.index+l.length;if(e.isInComment(n,d)){for(var p=void 0,f=0;f=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57)){var g=u[2];s.push({descriptor:p,message:g,position:d})}}}return s},getBraceMatchingAtPosition:function(t,r){var n=u.getCurrentSourceFile(t),i=e.getTouchingToken(n,r),a=i.getStart(n)===r?k.get(i.kind.toString()):void 0,o=a&&e.findChildOfKind(i.parent,a,n);return o?[e.createTextSpanFromNode(i,n),e.createTextSpanFromNode(o,n)].sort((function(e,t){return e.start-t.start})):e.emptyArray},getIndentationAtPosition:function(t,r,n){var i=e.timestamp(),a=h(n),o=u.getCurrentSourceFile(t);p("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-i)),i=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(r,o,a);return p("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-i)),s},getFormattingEditsForRange:function(t,r,n,i){var a=u.getCurrentSourceFile(t);return e.formatting.formatSelection(r,n,a,e.formatting.getFormatContext(h(i)))},getFormattingEditsForDocument:function(t,r){return e.formatting.formatDocument(u.getCurrentSourceFile(t),e.formatting.getFormatContext(h(r)))},getFormattingEditsAfterKeystroke:function(t,r,n,i){var a=u.getCurrentSourceFile(t),o=e.formatting.getFormatContext(h(i));if(!e.isInComment(a,r))switch(n){case"{":return e.formatting.formatOnOpeningCurly(r,a,o);case"}":return e.formatting.formatOnClosingCurly(r,a,o);case";":return e.formatting.formatOnSemicolon(r,a,o);case"\n":return e.formatting.formatOnEnter(r,a,o)}return[]},getDocCommentTemplateAtPosition:function(r,n){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(t),u.getCurrentSourceFile(r),n)},isValidBraceCompletionAtPosition:function(t,r,n){if(60===n)return!1;var i=u.getCurrentSourceFile(t);if(e.isInString(i,r))return!1;if(e.isInsideJsxElementOrAttribute(i,r))return 123===n;if(e.isInTemplateString(i,r))return!1;switch(n){case 39:case 34:case 96:return!e.isInComment(i,r)}return!0},getJsxClosingTagAtPosition:function(t,r){var n=u.getCurrentSourceFile(t),i=e.findPrecedingToken(r,n);if(i){var a=31===i.kind&&e.isJsxOpeningElement(i.parent)?i.parent.parent:e.isJsxText(i)?i.parent:void 0;return a&&function t(r){var n=r.openingElement,i=r.closingElement,a=r.parent;return!e.tagNamesAreEquivalent(n.tagName,i.tagName)||e.isJsxElement(a)&&e.tagNamesAreEquivalent(n.tagName,a.openingElement.tagName)&&t(a)}(a)?{newText:""}:void 0}},getSpanOfEnclosingComment:function(t,r,n){var i=u.getCurrentSourceFile(t),a=e.formatting.getRangeOfEnclosingComment(i,r);return!a||n&&3!==a.kind?void 0:e.createTextSpanFromRange(a)},getCodeFixesAtPosition:function(r,n,i,o,s,c){void 0===c&&(c=e.emptyOptions),v();var u=y(r),l=e.createTextSpanFromBounds(n,i),d=e.formatting.getFormatContext(s);return e.flatMap(e.deduplicate(o,e.equateValues,e.compareValues),(function(r){return _.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:r,sourceFile:u,span:l,program:a,host:t,cancellationToken:_,formatContext:d,preferences:c})}))},getCombinedCodeFix:function(r,n,i,o){void 0===o&&(o=e.emptyOptions),v(),e.Debug.assert("file"===r.type);var s=y(r.fileName),c=e.formatting.getFormatContext(i);return e.codefix.getAllFixes({fixId:n,sourceFile:s,program:a,host:t,cancellationToken:_,formatContext:c,preferences:o})},applyCodeActionCommand:function(t,r){var n="string"==typeof t?r:t;return e.isArray(n)?Promise.all(n.map((function(e){return N(e)}))):N(n)},organizeImports:function(r,n,i){void 0===i&&(i=e.emptyOptions),v(),e.Debug.assert("file"===r.type);var o=y(r.fileName),s=e.formatting.getFormatContext(n);return e.OrganizeImports.organizeImports(o,s,t,a,i)},getEditsForFileRename:function(r,n,i,a){return void 0===a&&(a=e.emptyOptions),e.getEditsForFileRename(b(),r,n,t,e.formatting.getFormatContext(i),a,m)},getEmitOutput:function(r,n,i){v();var o=y(r),s=t.getCustomTransformers&&t.getCustomTransformers();return e.getFileEmitOutput(a,o,!!n,_,s,i)},getNonBoundSourceFile:function(e){return u.getCurrentSourceFile(e)},getProgram:b,getApplicableRefactors:function(t,r,n){void 0===n&&(n=e.emptyOptions),v();var i=y(t);return e.refactor.getApplicableRefactors(P(i,r,n))},getEditsForRefactor:function(t,r,n,i,a,o){void 0===o&&(o=e.emptyOptions),v();var s=y(t);return e.refactor.getEditsForRefactor(P(s,n,o,r),i,a)},toLineColumnOffset:m.toLineColumnOffset,getSourceMapper:function(){return m},prepareCallHierarchy:function(t,r){v();var n=e.CallHierarchy.resolveCallHierarchyDeclaration(a,e.getTouchingPropertyName(y(t),r));return n&&e.mapOneOrMany(n,(function(t){return e.CallHierarchy.createCallHierarchyItem(a,t)}))},provideCallHierarchyIncomingCalls:function(t,r){v();var n=y(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(a,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getIncomingCalls(a,i,_):[]},provideCallHierarchyOutgoingCalls:function(t,r){v();var n=y(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(a,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getOutgoingCalls(a,i):[]}}},e.getNameTable=function(t){return t.nameTable||function(t){var r=t.nameTable=e.createUnderscoreEscapedMap();t.forEachChild((function t(n){if(e.isIdentifier(n)&&!e.isTagName(n)&&n.escapedText||e.isStringOrNumericLiteralLike(n)&&function(t){return e.isDeclarationName(t)||265===t.parent.kind||function(e){return e&&e.parent&&195===e.parent.kind&&e.parent.argumentExpression===e}(t)||e.isLiteralComputedPropertyDeclarationName(t)}(n)){var i=e.getEscapedTextOfIdentifierOrLiteral(n);r.set(i,void 0===r.get(i)?n.pos:-1)}else if(e.isPrivateIdentifier(n)){i=n.escapedText;r.set(i,void 0===r.get(i)?n.pos:-1)}if(e.forEachChild(n,t),e.hasJSDocNodes(n))for(var a=0,o=n.jsDoc;ai){var a=e.findPrecedingToken(n.pos,t);if(!a||t.getLineAndCharacterOfPosition(a.getEnd()).line!==i)return;n=a}if(!(8388608&n.flags))return _(n)}function o(r,n){var i=r.decorators?e.skipTrivia(t.text,r.decorators.end):r.getStart(t);return e.createTextSpanFromBounds(i,(n||r).getEnd())}function s(r,n){return o(r,e.findNextToken(n,n.parent,t))}function c(e,r){return e&&i===t.getLineAndCharacterOfPosition(e.getStart(t)).line?_(e):_(r)}function u(r){return _(e.findPrecedingToken(r.pos,t))}function l(r){return _(e.findNextToken(r,r.parent,t))}function _(r){if(r){var n=r.parent;switch(r.kind){case 225:return v(r.declarationList.declarations[0]);case 242:case 159:case 158:return v(r);case 156:return function t(r){if(e.isBindingPattern(r.name))return D(r.name);if(function(t){return!!t.initializer||void 0!==t.dotDotDotToken||e.hasModifier(t,12)}(r))return o(r);var n=r.parent,i=n.parameters.indexOf(r);return e.Debug.assert(-1!==i),0!==i?t(n.parameters[i-1]):_(n.body)}(r);case 244:case 161:case 160:case 163:case 164:case 162:case 201:case 202:return function(e){if(!e.body)return;if(h(e))return o(e);return _(e.body)}(r);case 223:if(e.isFunctionBlock(r))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();if(h(e.parent))return c(e.parent,t);return _(t)}(r);case 250:return b(r);case 280:return b(r.block);case 226:return o(r.expression);case 235:return o(r.getChildAt(0),r.expression);case 229:return s(r,r.expression);case 228:return _(r.statement);case 241:return o(r.getChildAt(0));case 227:return s(r,r.expression);case 238:return _(r.statement);case 234:case 233:return o(r.getChildAt(0),r.label);case 230:return function(e){if(e.initializer)return x(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(r);case 231:return s(r,r.expression);case 232:return x(r);case 237:return s(r,r.expression);case 277:case 278:return _(r.statements[0]);case 240:return b(r.tryBlock);case 239:case 259:return o(r,r.expression);case 253:return o(r,r.moduleReference);case 254:case 260:return o(r,r.moduleSpecifier);case 249:if(1!==e.getModuleInstanceState(r))return;case 245:case 248:case 284:case 191:return o(r);case 236:return _(r.statement);case 157:return m=n.decorators,e.createTextSpanFromBounds(e.skipTrivia(t.text,m.pos),m.end);case 189:case 190:return D(r);case 246:case 247:return;case 26:case 1:return c(e.findPrecedingToken(r.pos,t));case 27:return u(r);case 18:return function(r){switch(r.parent.kind){case 248:var n=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),n.members.length?n.members[0]:n.getLastToken(t));case 245:var i=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),i.members.length?i.members[0]:i.getLastToken(t));case 251:return c(r.parent.parent,r.parent.clauses[0])}return _(r.parent)}(r);case 19:return function(t){switch(t.parent.kind){case 250:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 248:case 245:return o(t);case 223:if(e.isFunctionBlock(t.parent))return o(t);case 280:return _(e.lastOrUndefined(t.parent.statements));case 251:var r=t.parent,n=e.lastOrUndefined(r.clauses);return n?_(e.lastOrUndefined(n.statements)):void 0;case 189:var i=t.parent;return _(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var a=t.parent;return o(e.lastOrUndefined(a.properties)||a)}return _(t.parent)}}(r);case 23:return function(t){switch(t.parent.kind){case 190:var r=t.parent;return o(e.lastOrUndefined(r.elements)||r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var n=t.parent;return o(e.lastOrUndefined(n.elements)||n)}return _(t.parent)}}(r);case 20:return function(e){if(228===e.parent.kind||196===e.parent.kind||197===e.parent.kind)return u(e);if(200===e.parent.kind)return l(e);return _(e.parent)}(r);case 21:return function(e){switch(e.parent.kind){case 201:case 244:case 202:case 161:case 160:case 163:case 164:case 162:case 229:case 228:case 230:case 232:case 196:case 197:case 200:return u(e);default:return _(e.parent)}}(r);case 58:return function(t){if(e.isFunctionLike(t.parent)||281===t.parent.kind||156===t.parent.kind)return u(t);return _(t.parent)}(r);case 31:case 29:return function(e){if(199===e.parent.kind)return l(e);return _(e.parent)}(r);case 111:return function(e){if(228===e.parent.kind)return s(e,e.parent.expression);return _(e.parent)}(r);case 87:case 79:case 92:return l(r);case 152:return function(e){if(232===e.parent.kind)return l(e);return _(e.parent)}(r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return S(r);if((75===r.kind||213===r.kind||281===r.kind||282===r.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return o(r);if(209===r.kind){var i=r,a=i.left,d=i.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a))return S(a);if(62===d.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent))return o(r);if(27===d.kind)return _(a)}if(e.isExpressionNode(r))switch(n.kind){case 228:return u(r);case 157:return _(r.parent);case 230:case 232:return o(r);case 209:if(27===r.parent.operatorToken.kind)return o(r);break;case 202:if(r.parent.body===r)return o(r)}switch(r.parent.kind){case 281:if(r.parent.name===r&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent.parent))return _(r.parent.initializer);break;case 199:if(r.parent.type===r)return l(r.parent.type);break;case 242:case 156:var p=r.parent,f=p.initializer,g=p.type;if(f===r||g===r||e.isAssignmentOperator(r.kind))return u(r);break;case 209:a=r.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a)&&r!==a)return u(r);break;default:if(e.isFunctionLike(r.parent)&&r.parent.type===r)return u(r)}return _(r.parent)}}var m;function y(r){return e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]===r?o(e.findPrecedingToken(r.pos,t,r.parent),r):o(r)}function v(r){if(231===r.parent.parent.kind)return _(r.parent.parent);var n=r.parent;return e.isBindingPattern(r.name)?D(r.name):r.initializer||e.hasModifier(r,1)||232===n.parent.kind?y(r):e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]!==r?_(e.findPrecedingToken(r.pos,t,r.parent)):void 0}function h(t){return e.hasModifier(t,1)||245===t.parent.kind&&162!==t.kind}function b(r){switch(r.parent.kind){case 249:if(1!==e.getModuleInstanceState(r.parent))return;case 229:case 227:case 231:return c(r.parent,r.statements[0]);case 230:case 232:return c(e.findPrecedingToken(r.pos,t,r.parent),r.statements[0])}return _(r.statements[0])}function x(e){if(243!==e.initializer.kind)return _(e.initializer);var t=e.initializer;return t.declarations.length>0?_(t.declarations[0]):void 0}function D(t){var r=e.forEach(t.elements,(function(e){return 215!==e.kind?e:void 0}));return r?_(r):191===t.parent.kind?o(t.parent):y(t.parent)}function S(t){e.Debug.assert(190!==t.kind&&189!==t.kind);var r=192===t.kind?t.elements:t.properties,n=e.forEach(r,(function(e){return 215!==e.kind?e:void 0}));return n?_(n):o(209===t.parent.kind?t.parent:t)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(p||(p={})),function(e){e.transform=function(t,r,n){var i=[];n=e.fixupCompilerOptions(n,i);var a=e.isArray(t)?t:[t],o=e.transformNodes(void 0,void 0,n,a,r,!0);return o.diagnostics=e.concatenate(o.diagnostics,i),o}}(p||(p={}));var p,f=function(){return this}();!function(e){function t(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}var r=function(){function t(e){this.scriptSnapshotShim=e}return t.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},t.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},t.prototype.getChangeRange=function(t){var r=t,n=this.scriptSnapshotShim.getChangeRange(r.scriptSnapshotShim);if(null===n)return null;var i=JSON.parse(n);return e.createTextChangeRange(e.createTextSpan(i.span.start,i.span.length),i.newLength)},t.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},t}(),n=function(){function t(t){var r=this;this.shimHost=t,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(t,n){var i=JSON.parse(r.shimHost.getModuleResolutionsForFile(n));return e.map(t,(function(t){var r=e.getProperty(i,t);return r?{resolvedFileName:r,extension:e.extensionFromPath(r),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return r.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(t,n){var i=JSON.parse(r.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return e.map(t,(function(t){return e.getProperty(i,t)}))})}return t.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},t.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},t.prototype.error=function(e){this.shimHost.error(e)},t.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},t.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},t.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},t.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var t=JSON.parse(e);return t.allowNonTsExtensions=!0,t},t.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},t.prototype.getScriptSnapshot=function(e){var t=this.shimHost.getScriptSnapshot(e);return t&&new r(t)},t.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},t.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},t.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}},t.prototype.getCancellationToken=function(){var t=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(t)},t.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},t.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},t.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},t.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},t.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},t.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},t}();e.LanguageServiceShimHostAdapter=n;var i=function(){function t(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return t.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return t.shimHost.realpath(e)}:this.realpath=void 0}return t.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},t.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},t.prototype.readFile=function(e){return this.shimHost.readFile(e)},t.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},t}();function a(e,t,r,n){return o(e,t,!0,r,n)}function o(r,n,i,a,o){try{var s=function(t,r,n,i){var a;i&&(t.log(r),a=e.timestamp());var o=n();if(i){var s=e.timestamp();if(t.log(r+" completed in "+(s-a)+" msec"),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),t.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}(r,n,a,o);return i?JSON.stringify({result:s}):s}catch(i){return i instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(t(r,i),i.description=n,JSON.stringify({error:i}))}}e.CoreServicesShimHostAdapter=i;var c=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function u(t,r){return t.map((function(t){return function(t,r){return{message:e.flattenDiagnosticMessageText(t.messageText,r),start:t.start,length:t.length,category:e.diagnosticCategoryName(t),code:t.code,reportsUnnecessary:t.reportsUnnecessary}}(t,r)}))}e.realizeDiagnostics=u;var l=function(t){function r(e,r,n){var i=t.call(this,e)||this;return i.host=r,i.languageService=n,i.logPerformance=!1,i.logger=i.host,i}return d(r,t),r.prototype.forwardJSONCall=function(e,t){return a(this.logger,e,t,this.logPerformance)},r.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,f&&f.CollectGarbage&&(f.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,t.prototype.dispose.call(this,e)},r.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},r.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},r.prototype.realizeDiagnostics=function(t){return u(t,e.getNewLineOrDefaultFromHost(this.host))},r.prototype.getSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSyntacticClassifications(t,e.createTextSpan(r,n))}))},r.prototype.getSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSemanticClassifications(t,e.createTextSpan(r,n))}))},r.prototype.getEncodedSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return _(i.languageService.getEncodedSyntacticClassifications(t,e.createTextSpan(r,n)))}))},r.prototype.getEncodedSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return _(i.languageService.getEncodedSemanticClassifications(t,e.createTextSpan(r,n)))}))},r.prototype.getSyntacticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSyntacticDiagnostics(e);return t.realizeDiagnostics(r)}))},r.prototype.getSemanticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSemanticDiagnostics(e);return t.realizeDiagnostics(r)}))},r.prototype.getSuggestionDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return t.realizeDiagnostics(t.languageService.getSuggestionDiagnostics(e))}))},r.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var t=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(t)}))},r.prototype.getQuickInfoAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getQuickInfoAtPosition(e,t)}))},r.prototype.getNameOrDottedNameSpan=function(e,t,r){var n=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNameOrDottedNameSpan(e,t,r)}))},r.prototype.getBreakpointStatementAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBreakpointStatementAtPosition(e,t)}))},r.prototype.getSignatureHelpItems=function(e,t,r){var n=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+t+")",(function(){return n.languageService.getSignatureHelpItems(e,t,r)}))},r.prototype.getDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAtPosition(e,t)}))},r.prototype.getDefinitionAndBoundSpan=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAndBoundSpan(e,t)}))},r.prototype.getTypeDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getTypeDefinitionAtPosition(e,t)}))},r.prototype.getImplementationAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getImplementationAtPosition(e,t)}))},r.prototype.getRenameInfo=function(e,t,r){var n=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+t+")",(function(){return n.languageService.getRenameInfo(e,t,r)}))},r.prototype.getSmartSelectionRange=function(e,t){var r=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+t+")",(function(){return r.languageService.getSmartSelectionRange(e,t)}))},r.prototype.findRenameLocations=function(e,t,r,n,i){var a=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+t+", "+r+", "+n+", "+i+")",(function(){return a.languageService.findRenameLocations(e,t,r,n,i)}))},r.prototype.getBraceMatchingAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBraceMatchingAtPosition(e,t)}))},r.prototype.isValidBraceCompletionAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.isValidBraceCompletionAtPosition(e,t,r)}))},r.prototype.getSpanOfEnclosingComment=function(e,t,r){var n=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+t+")",(function(){return n.languageService.getSpanOfEnclosingComment(e,t,r)}))},r.prototype.getIndentationAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+t+")",(function(){var i=JSON.parse(r);return n.languageService.getIndentationAtPosition(e,t,i)}))},r.prototype.getReferencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getReferencesAtPosition(e,t)}))},r.prototype.findReferences=function(e,t){var r=this;return this.forwardJSONCall("findReferences('"+e+"', "+t+")",(function(){return r.languageService.findReferences(e,t)}))},r.prototype.getOccurrencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getOccurrencesAtPosition(e,t)}))},r.prototype.getDocumentHighlights=function(t,r,n){var i=this;return this.forwardJSONCall("getDocumentHighlights('"+t+"', "+r+")",(function(){var a=i.languageService.getDocumentHighlights(t,r,JSON.parse(n)),o=e.toFileNameLowerCase(e.normalizeSlashes(t));return e.filter(a,(function(t){return e.toFileNameLowerCase(e.normalizeSlashes(t.fileName))===o}))}))},r.prototype.getCompletionsAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getCompletionsAtPosition(e,t,r)}))},r.prototype.getCompletionEntryDetails=function(e,t,r,n,i,a){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+t+", '"+r+"')",(function(){var s=void 0===n?void 0:JSON.parse(n);return o.languageService.getCompletionEntryDetails(e,t,r,s,i,a)}))},r.prototype.getFormattingEditsForRange=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+t+", "+r+")",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsForRange(e,t,r,a)}))},r.prototype.getFormattingEditsForDocument=function(e,t){var r=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var n=JSON.parse(t);return r.languageService.getFormattingEditsForDocument(e,n)}))},r.prototype.getFormattingEditsAfterKeystroke=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+t+", '"+r+"')",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsAfterKeystroke(e,t,r,a)}))},r.prototype.getDocCommentTemplateAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getDocCommentTemplateAtPosition(e,t)}))},r.prototype.getNavigateToItems=function(e,t,r){var n=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNavigateToItems(e,t,r)}))},r.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return t.languageService.getNavigationBarItems(e)}))},r.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return t.languageService.getNavigationTree(e)}))},r.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return t.languageService.getOutliningSpans(e)}))},r.prototype.getTodoComments=function(e,t){var r=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return r.languageService.getTodoComments(e,JSON.parse(t))}))},r.prototype.prepareCallHierarchy=function(e,t){var r=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+t+")",(function(){return r.languageService.prepareCallHierarchy(e,t)}))},r.prototype.provideCallHierarchyIncomingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyIncomingCalls(e,t)}))},r.prototype.provideCallHierarchyOutgoingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyOutgoingCalls(e,t)}))},r.prototype.getEmitOutput=function(e){var t=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){return t.languageService.getEmitOutput(e)}))},r.prototype.getEmitOutputObject=function(e){var t=this;return o(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return t.languageService.getEmitOutput(e)}),this.logPerformance)},r}(c);function _(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var p=function(t){function r(r,n){var i=t.call(this,r)||this;return i.logger=n,i.logPerformance=!1,i.classifier=e.createClassifier(),i}return d(r,t),r.prototype.getEncodedLexicalClassifications=function(e,t,r){var n=this;return void 0===r&&(r=!1),a(this.logger,"getEncodedLexicalClassifications",(function(){return _(n.classifier.getEncodedLexicalClassifications(e,t,r))}),this.logPerformance)},r.prototype.getClassificationsForLine=function(e,t,r){void 0===r&&(r=!1);for(var n=this.classifier.getClassificationsForLine(e,t,r),i="",a=0,o=n.entries;a1)for(var r=1;r Date: Fri, 1 May 2020 21:32:36 -0400 Subject: [PATCH 08/10] + chai --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ba07f5..897209c 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,12 @@ "yargs": "^15.3.1" }, "devDependencies": { - "chai": "^4.2.0", "@types/chai": "^4.2.11", "@types/mocha": "latest", "@types/node": "^12.0.0", "@types/parse-git-config": "^1.1.0", "@types/yargs": "^15.0.4", + "chai": "^4.2.0", "ecurve": "1.0.6", "jquery": "latest", "lodash": "latest", From 0e9caa731d4aa979a414b4dd65f9c9e2ae7dad99 Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 21:32:46 -0400 Subject: [PATCH 09/10] Revert "Add node as a devDependency to keep baseline typings consistent" This reverts commit 99e48abab356c3376ce0bbe6176214aab3b8234d. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 897209c..2a04a3a 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/chai": "^4.2.11", "@types/mocha": "latest", - "@types/node": "^12.0.0", + "@types/node": "latest", "@types/parse-git-config": "^1.1.0", "@types/yargs": "^15.0.4", "chai": "^4.2.0", @@ -23,7 +23,6 @@ "jquery": "latest", "lodash": "latest", "mocha": "^7.1.2", - "node": "12.16.3", "react": "latest", "tslint": "^5.1.0", "webpack": "^4.43.0", From 6564c86e478e913a21f4c566f8332250662dc00b Mon Sep 17 00:00:00 2001 From: Peter Kazazes Date: Fri, 1 May 2020 21:39:37 -0400 Subject: [PATCH 10/10] Don't compile tests Removed reference from bin in 6cb25c5. --- baselines/module-fs.d.ts | 1564 ++++++++++++++++++++++++++++++++++- baselines/module-yargs.d.ts | 2 + package.json | 2 +- tests/generator.spec.ts | 2 +- tsconfig.json | 3 +- 5 files changed, 1563 insertions(+), 10 deletions(-) diff --git a/baselines/module-fs.d.ts b/baselines/module-fs.d.ts index 8edd0e4..b1fc9e2 100644 --- a/baselines/module-fs.d.ts +++ b/baselines/module-fs.d.ts @@ -37,7 +37,7 @@ export class FileReadStream { close(cb: any): void; - open(): void; + open(args: any): any; static ReadableState(options: any, stream: any, isDuplex: any): void; @@ -47,6 +47,8 @@ export class FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -72,7 +74,7 @@ export class FileWriteStream { destroySoon(chunk: any, encoding: any, cb: any): any; - open(): void; + open(args: any): any; static captureRejectionSymbol: any; @@ -80,6 +82,8 @@ export class FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -101,7 +105,7 @@ export class ReadStream { close(cb: any): void; - open(): void; + open(args: any): any; static ReadableState(options: any, stream: any, isDuplex: any): void; @@ -111,6 +115,8 @@ export class ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -143,7 +149,7 @@ export class WriteStream { destroySoon(chunk: any, encoding: any, cb: any): any; - open(): void; + open(args: any): any; static captureRejectionSymbol: any; @@ -151,6 +157,8 @@ export class WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -311,7 +319,7 @@ export function lstatSync(path: any, options: any): any; export function mkdir(path: any, options: any, callback: any): void; -export function mkdirSync(path: any, options: any): void; +export function mkdirSync(path: any, options: any): any; export function mkdtemp(prefix: any, options: any, callback: any): void; @@ -325,7 +333,7 @@ export function opendir(path: any, options: any, callback: any): void; export function opendirSync(path: any, options: any): any; -export function read(fd: any, buffer: any, offset: any, length: any, position: any, callback: any): any; +export function read(fd: any, buffer: any, offset: any, length: any, position: any, callback: any, ...args: any[]): any; export function readFile(path: any, options: any, callback: any): void; @@ -415,6 +423,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -474,6 +484,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -499,6 +511,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -562,6 +576,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -593,6 +609,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -624,6 +642,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -667,6 +687,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -725,6 +747,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -752,6 +776,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -817,6 +843,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -850,6 +878,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -883,6 +913,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -928,6 +960,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -986,6 +1020,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -1055,6 +1091,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1098,6 +1136,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1141,6 +1181,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1198,6 +1240,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1258,6 +1302,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -1295,6 +1341,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1338,6 +1386,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1381,6 +1431,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1438,6 +1490,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1498,6 +1552,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -1535,6 +1591,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1610,6 +1668,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1655,6 +1715,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1712,6 +1774,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1772,6 +1836,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -1809,6 +1875,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1884,6 +1952,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -1927,6 +1997,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -1982,6 +2054,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -2042,6 +2116,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -2079,6 +2155,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2154,6 +2232,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2197,6 +2277,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -2240,6 +2322,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2295,6 +2379,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -2354,6 +2440,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -2413,6 +2501,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -2446,6 +2536,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -2479,6 +2571,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -2524,6 +2618,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -2582,6 +2678,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -2651,6 +2749,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2694,6 +2794,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -2737,6 +2839,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2794,6 +2898,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -2848,6 +2954,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -2907,6 +3015,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -2944,6 +3054,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -2987,6 +3099,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3044,6 +3158,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -3098,6 +3214,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3157,6 +3275,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -3226,6 +3346,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3271,6 +3393,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3328,6 +3452,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -3382,6 +3508,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3441,6 +3569,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -3510,6 +3640,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3553,6 +3685,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -3608,6 +3742,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -3662,6 +3798,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3721,6 +3859,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -3790,6 +3930,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3833,6 +3975,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -3876,6 +4020,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -3931,6 +4077,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -3990,6 +4138,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -4017,6 +4167,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -4050,6 +4202,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -4083,6 +4237,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -4128,6 +4284,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -4186,6 +4344,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -4223,6 +4383,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4266,6 +4428,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -4309,6 +4473,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4366,6 +4532,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -4420,6 +4588,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4479,6 +4649,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -4516,6 +4688,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -4559,6 +4733,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4616,6 +4792,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -4670,6 +4848,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4729,6 +4909,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -4766,6 +4948,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4811,6 +4995,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4868,6 +5054,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -4922,6 +5110,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -4981,6 +5171,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -5018,6 +5210,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5061,6 +5255,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -5116,6 +5312,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -5170,6 +5368,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5229,6 +5429,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -5266,6 +5468,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5309,6 +5513,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -5352,6 +5558,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5407,6 +5615,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -5466,6 +5676,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -5493,6 +5705,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -5558,6 +5772,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -5593,6 +5809,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -5638,6 +5856,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -5696,6 +5916,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -5733,6 +5955,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5808,6 +6032,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5853,6 +6079,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -5910,6 +6138,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -5964,6 +6194,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6023,6 +6255,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -6092,6 +6326,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6137,6 +6373,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6194,6 +6432,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -6248,6 +6488,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6307,6 +6549,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -6344,6 +6588,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6389,6 +6635,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6446,6 +6694,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -6500,6 +6750,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6559,6 +6811,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -6596,6 +6850,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6671,6 +6927,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6728,6 +6986,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -6782,6 +7042,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6841,6 +7103,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -6878,6 +7142,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6953,6 +7219,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -6998,6 +7266,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7053,6 +7323,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -7112,6 +7384,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -7139,6 +7413,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -7204,6 +7480,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -7237,6 +7515,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -7280,6 +7560,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -7338,6 +7620,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -7375,6 +7659,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7450,6 +7736,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7493,6 +7781,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -7548,6 +7838,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -7602,6 +7894,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7661,6 +7955,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -7730,6 +8026,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7773,6 +8071,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -7828,6 +8128,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -7882,6 +8184,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -7941,6 +8245,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -7978,6 +8284,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8021,6 +8329,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -8076,6 +8386,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -8130,6 +8442,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8189,6 +8503,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -8226,6 +8542,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8301,6 +8619,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8358,6 +8678,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -8412,6 +8734,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8471,6 +8795,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -8508,6 +8834,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8583,6 +8911,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -8626,6 +8956,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -8679,6 +9011,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -8738,6 +9072,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -8765,6 +9101,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -8830,6 +9168,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -8863,6 +9203,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -8896,6 +9238,8 @@ export namespace FileReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -8963,6 +9307,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -9000,6 +9346,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9075,6 +9423,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9118,6 +9468,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -9161,6 +9513,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9217,6 +9571,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9276,6 +9632,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -9345,6 +9703,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9388,6 +9748,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -9431,6 +9793,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9487,6 +9851,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9546,6 +9912,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -9583,6 +9951,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9626,6 +9996,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -9669,6 +10041,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9725,6 +10099,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9784,6 +10160,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -9821,6 +10199,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9896,6 +10276,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9941,6 +10323,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -9997,6 +10381,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -10056,6 +10442,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -10093,6 +10481,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -10168,6 +10558,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -10211,6 +10603,8 @@ export namespace FileReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -10257,6 +10651,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10316,6 +10712,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -10341,6 +10739,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10404,6 +10804,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10435,6 +10837,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -10466,6 +10870,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10509,6 +10915,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -10574,6 +10982,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -10601,6 +11011,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10666,6 +11078,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10699,6 +11113,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -10732,6 +11148,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -10777,6 +11195,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -10835,6 +11255,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -10904,6 +11326,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -10947,6 +11371,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -10990,6 +11416,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11047,6 +11475,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11107,6 +11537,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -11144,6 +11576,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11187,6 +11621,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11230,6 +11666,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11287,6 +11725,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11347,6 +11787,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -11384,6 +11826,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11459,6 +11903,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11504,6 +11950,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11561,6 +12009,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11621,6 +12071,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -11658,6 +12110,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11733,6 +12187,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -11776,6 +12232,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11831,6 +12289,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -11891,6 +12351,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -11928,6 +12390,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12003,6 +12467,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12046,6 +12512,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -12089,6 +12557,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12144,6 +12614,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -12203,6 +12675,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -12262,6 +12736,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -12295,6 +12771,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -12328,6 +12806,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -12373,6 +12853,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -12431,6 +12913,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -12500,6 +12984,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12543,6 +13029,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -12586,6 +13074,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12643,6 +13133,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -12697,6 +13189,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12756,6 +13250,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -12793,6 +13289,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -12836,6 +13334,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -12893,6 +13393,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -12947,6 +13449,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13006,6 +13510,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -13075,6 +13581,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13120,6 +13628,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13177,6 +13687,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -13231,6 +13743,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13290,6 +13804,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -13359,6 +13875,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13402,6 +13920,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -13457,6 +13977,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -13511,6 +14033,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13570,6 +14094,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -13639,6 +14165,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13682,6 +14210,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -13725,6 +14255,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -13780,6 +14312,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -13839,6 +14373,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -13866,6 +14402,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -13899,6 +14437,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -13932,6 +14472,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -13977,6 +14519,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -14035,6 +14579,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -14072,6 +14618,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14115,6 +14663,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14158,6 +14708,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14215,6 +14767,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14269,6 +14823,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14328,6 +14884,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -14365,6 +14923,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14408,6 +14968,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14465,6 +15027,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14519,6 +15083,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14578,6 +15144,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -14615,6 +15183,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14660,6 +15230,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14717,6 +15289,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14771,6 +15345,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14830,6 +15406,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -14867,6 +15445,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -14910,6 +15490,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -14965,6 +15547,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -15019,6 +15603,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15078,6 +15664,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -15115,6 +15703,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15158,6 +15748,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -15201,6 +15793,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15256,6 +15850,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -15315,6 +15911,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -15342,6 +15940,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -15407,6 +16007,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -15442,6 +16044,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -15487,6 +16091,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -15545,6 +16151,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -15582,6 +16190,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15657,6 +16267,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15702,6 +16314,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15759,6 +16373,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -15813,6 +16429,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15872,6 +16490,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -15941,6 +16561,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -15986,6 +16608,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16043,6 +16667,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -16097,6 +16723,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16156,6 +16784,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -16193,6 +16823,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16238,6 +16870,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16295,6 +16929,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -16349,6 +16985,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16408,6 +17046,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -16445,6 +17085,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16520,6 +17162,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16577,6 +17221,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -16631,6 +17277,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16690,6 +17338,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -16727,6 +17377,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16802,6 +17454,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16847,6 +17501,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -16902,6 +17558,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -16961,6 +17619,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -16988,6 +17648,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -17053,6 +17715,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -17086,6 +17750,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -17129,6 +17795,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -17187,6 +17855,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -17224,6 +17894,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17299,6 +17971,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17342,6 +18016,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17397,6 +18073,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17451,6 +18129,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17510,6 +18190,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -17579,6 +18261,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17622,6 +18306,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17677,6 +18363,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17731,6 +18419,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17790,6 +18480,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -17827,6 +18519,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -17870,6 +18564,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17925,6 +18621,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -17979,6 +18677,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18038,6 +18738,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -18075,6 +18777,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18150,6 +18854,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18207,6 +18913,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -18261,6 +18969,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18320,6 +19030,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -18357,6 +19069,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18432,6 +19146,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18475,6 +19191,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -18528,6 +19246,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -18587,6 +19307,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -18614,6 +19336,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -18679,6 +19403,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -18712,6 +19438,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -18745,6 +19473,8 @@ export namespace FileWriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -18812,6 +19542,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -18849,6 +19581,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18924,6 +19658,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -18967,6 +19703,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -19010,6 +19748,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19066,6 +19806,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19125,6 +19867,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -19194,6 +19938,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19237,6 +19983,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -19280,6 +20028,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19336,6 +20086,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19395,6 +20147,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -19432,6 +20186,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19475,6 +20231,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -19518,6 +20276,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19574,6 +20334,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19633,6 +20395,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -19670,6 +20434,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19745,6 +20511,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19790,6 +20558,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19846,6 +20616,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -19905,6 +20677,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -19942,6 +20716,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -20017,6 +20793,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -20060,6 +20838,8 @@ export namespace FileWriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -20106,6 +20886,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20165,6 +20947,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -20190,6 +20974,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20253,6 +21039,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20284,6 +21072,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -20315,6 +21105,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20358,6 +21150,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -20416,6 +21210,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -20443,6 +21239,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20508,6 +21306,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20541,6 +21341,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -20574,6 +21376,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -20619,6 +21423,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -20677,6 +21483,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -20746,6 +21554,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -20789,6 +21599,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -20832,6 +21644,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -20889,6 +21703,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -20949,6 +21765,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -20986,6 +21804,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21029,6 +21849,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21072,6 +21894,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21129,6 +21953,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21189,6 +22015,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -21226,6 +22054,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21301,6 +22131,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21346,6 +22178,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21403,6 +22237,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21463,6 +22299,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -21500,6 +22338,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21575,6 +22415,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21618,6 +22460,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21673,6 +22517,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21733,6 +22579,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -21770,6 +22618,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21845,6 +22695,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21888,6 +22740,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -21931,6 +22785,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -21986,6 +22842,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -22045,6 +22903,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -22104,6 +22964,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -22137,6 +22999,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -22170,6 +23034,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -22215,6 +23081,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -22273,6 +23141,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -22342,6 +23212,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22385,6 +23257,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -22428,6 +23302,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22485,6 +23361,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -22539,6 +23417,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22598,6 +23478,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -22635,6 +23517,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -22678,6 +23562,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22735,6 +23621,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -22789,6 +23677,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22848,6 +23738,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -22917,6 +23809,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -22962,6 +23856,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23019,6 +23915,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -23073,6 +23971,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23132,6 +24032,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -23201,6 +24103,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23244,6 +24148,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -23299,6 +24205,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -23353,6 +24261,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23412,6 +24322,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -23481,6 +24393,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23524,6 +24438,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -23567,6 +24483,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23622,6 +24540,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -23681,6 +24601,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -23708,6 +24630,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -23741,6 +24665,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -23774,6 +24700,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -23819,6 +24747,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -23877,6 +24807,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -23914,6 +24846,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -23957,6 +24891,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24000,6 +24936,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24057,6 +24995,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24111,6 +25051,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24170,6 +25112,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -24207,6 +25151,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24250,6 +25196,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24307,6 +25255,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24361,6 +25311,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24420,6 +25372,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -24457,6 +25411,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24502,6 +25458,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24559,6 +25517,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24613,6 +25573,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24672,6 +25634,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -24709,6 +25673,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24752,6 +25718,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24807,6 +25775,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -24861,6 +25831,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -24920,6 +25892,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -24957,6 +25931,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25000,6 +25976,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -25043,6 +26021,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25098,6 +26078,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -25157,6 +26139,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -25184,6 +26168,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -25249,6 +26235,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -25284,6 +26272,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -25329,6 +26319,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -25387,6 +26379,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -25424,6 +26418,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25499,6 +26495,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25544,6 +26542,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25601,6 +26601,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -25655,6 +26657,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25714,6 +26718,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -25783,6 +26789,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25828,6 +26836,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25885,6 +26895,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -25939,6 +26951,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -25998,6 +27012,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -26035,6 +27051,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26080,6 +27098,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26137,6 +27157,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -26191,6 +27213,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26250,6 +27274,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -26287,6 +27313,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26362,6 +27390,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26419,6 +27449,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -26473,6 +27505,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26532,6 +27566,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -26569,6 +27605,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26644,6 +27682,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26689,6 +27729,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -26744,6 +27786,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -26803,6 +27847,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -26830,6 +27876,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -26895,6 +27943,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -26928,6 +27978,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -26971,6 +28023,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -27029,6 +28083,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -27066,6 +28122,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27141,6 +28199,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27184,6 +28244,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27239,6 +28301,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27293,6 +28357,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27352,6 +28418,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -27421,6 +28489,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27464,6 +28534,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27519,6 +28591,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27573,6 +28647,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27632,6 +28708,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -27669,6 +28747,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27712,6 +28792,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27767,6 +28849,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -27821,6 +28905,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27880,6 +28966,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -27917,6 +29005,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -27992,6 +29082,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28049,6 +29141,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -28103,6 +29197,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28162,6 +29258,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -28199,6 +29297,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28274,6 +29374,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28317,6 +29419,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -28370,6 +29474,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -28429,6 +29535,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -28456,6 +29564,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -28521,6 +29631,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -28554,6 +29666,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -28587,6 +29701,8 @@ export namespace ReadStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -28654,6 +29770,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -28691,6 +29809,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28766,6 +29886,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28809,6 +29931,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -28852,6 +29976,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28908,6 +30034,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -28967,6 +30095,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -29036,6 +30166,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29079,6 +30211,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -29122,6 +30256,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29178,6 +30314,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29237,6 +30375,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -29274,6 +30414,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29317,6 +30459,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -29360,6 +30504,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29416,6 +30562,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29475,6 +30623,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -29512,6 +30662,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29587,6 +30739,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29632,6 +30786,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29688,6 +30844,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29747,6 +30905,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -29784,6 +30944,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29859,6 +31021,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -29902,6 +31066,8 @@ export namespace ReadStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -29948,6 +31114,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30007,6 +31175,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -30032,6 +31202,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30095,6 +31267,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30126,6 +31300,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -30157,6 +31333,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30200,6 +31378,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -30265,6 +31445,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -30292,6 +31474,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30357,6 +31541,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30390,6 +31576,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -30423,6 +31611,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -30468,6 +31658,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -30526,6 +31718,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -30595,6 +31789,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -30638,6 +31834,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -30681,6 +31879,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -30738,6 +31938,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -30798,6 +32000,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -30835,6 +32039,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -30878,6 +32084,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -30921,6 +32129,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -30978,6 +32188,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -31038,6 +32250,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -31075,6 +32289,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31150,6 +32366,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31195,6 +32413,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31252,6 +32472,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -31312,6 +32534,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -31349,6 +32573,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31424,6 +32650,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31467,6 +32695,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -31522,6 +32752,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -31582,6 +32814,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -31619,6 +32853,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31694,6 +32930,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31737,6 +32975,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -31780,6 +33020,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -31835,6 +33077,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -31894,6 +33138,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -31953,6 +33199,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -31986,6 +33234,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -32019,6 +33269,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -32064,6 +33316,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -32122,6 +33376,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -32191,6 +33447,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32234,6 +33492,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -32277,6 +33537,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32334,6 +33596,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -32388,6 +33652,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32447,6 +33713,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -32484,6 +33752,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -32527,6 +33797,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32584,6 +33856,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -32638,6 +33912,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32697,6 +33973,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -32766,6 +34044,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32811,6 +34091,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32868,6 +34150,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -32922,6 +34206,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -32981,6 +34267,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -33050,6 +34338,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33093,6 +34383,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -33148,6 +34440,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -33202,6 +34496,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33261,6 +34557,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -33330,6 +34628,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33373,6 +34673,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -33416,6 +34718,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33471,6 +34775,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -33530,6 +34836,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -33557,6 +34865,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -33590,6 +34900,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -33623,6 +34935,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -33668,6 +34982,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -33726,6 +35042,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -33763,6 +35081,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33806,6 +35126,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -33849,6 +35171,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -33906,6 +35230,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -33960,6 +35286,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34019,6 +35347,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -34056,6 +35386,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34099,6 +35431,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34156,6 +35490,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34210,6 +35546,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34269,6 +35607,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -34306,6 +35646,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34351,6 +35693,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34408,6 +35752,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34462,6 +35808,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34521,6 +35869,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -34558,6 +35908,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34601,6 +35953,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34656,6 +36010,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34710,6 +36066,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34769,6 +36127,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -34806,6 +36166,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34849,6 +36211,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -34892,6 +36256,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -34947,6 +36313,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -35006,6 +36374,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -35033,6 +36403,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -35098,6 +36470,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -35133,6 +36507,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -35178,6 +36554,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -35236,6 +36614,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -35273,6 +36653,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35348,6 +36730,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35393,6 +36777,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35450,6 +36836,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -35504,6 +36892,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35563,6 +36953,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -35632,6 +37024,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35677,6 +37071,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35734,6 +37130,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -35788,6 +37186,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35847,6 +37247,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -35884,6 +37286,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35929,6 +37333,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -35986,6 +37392,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -36040,6 +37448,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36099,6 +37509,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -36136,6 +37548,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36211,6 +37625,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36268,6 +37684,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -36322,6 +37740,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36381,6 +37801,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -36418,6 +37840,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36493,6 +37917,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36538,6 +37964,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36593,6 +38021,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -36652,6 +38082,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -36679,6 +38111,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -36744,6 +38178,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -36777,6 +38213,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -36820,6 +38258,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -36878,6 +38318,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -36915,6 +38357,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -36990,6 +38434,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37033,6 +38479,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37088,6 +38536,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37142,6 +38592,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37201,6 +38653,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -37270,6 +38724,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37313,6 +38769,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37368,6 +38826,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37422,6 +38882,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37481,6 +38943,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -37518,6 +38982,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37561,6 +39027,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37616,6 +39084,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37670,6 +39140,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37729,6 +39201,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -37766,6 +39240,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37841,6 +39317,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -37898,6 +39376,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -37952,6 +39432,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38011,6 +39493,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -38048,6 +39532,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38123,6 +39609,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38166,6 +39654,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -38219,6 +39709,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -38278,6 +39770,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static init(opts: any): void; static listenerCount(emitter: any, type: any): any; @@ -38305,6 +39799,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -38370,6 +39866,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -38403,6 +39901,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static init(opts: any): void; @@ -38436,6 +39936,8 @@ export namespace WriteStream { static defaultMaxListeners: number; + static errorMonitor: any; + static finished(stream: any, opts: any, callback: any, ...args: any[]): any; static from(iterable: any, opts: any): any; @@ -38503,6 +40005,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -38540,6 +40044,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38615,6 +40121,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38658,6 +40166,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -38701,6 +40211,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38757,6 +40269,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38816,6 +40330,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -38885,6 +40401,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -38928,6 +40446,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -38971,6 +40491,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39027,6 +40549,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39086,6 +40610,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -39123,6 +40649,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39166,6 +40694,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; @@ -39209,6 +40739,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39265,6 +40797,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39324,6 +40858,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -39361,6 +40897,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39436,6 +40974,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39481,6 +41021,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39537,6 +41079,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39596,6 +41140,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static init: any; static listenerCount: any; @@ -39633,6 +41179,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39708,6 +41256,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static from: any; @@ -39751,6 +41301,8 @@ export namespace WriteStream { static defaultMaxListeners: any; + static errorMonitor: any; + static finished: any; static init: any; diff --git a/baselines/module-yargs.d.ts b/baselines/module-yargs.d.ts index f5bb99a..c7ba55f 100644 --- a/baselines/module-yargs.d.ts +++ b/baselines/module-yargs.d.ts @@ -7,6 +7,7 @@ declare namespace yargs { const argv: { $0: string; + r: string; }; const parsed: { @@ -16,6 +17,7 @@ declare namespace yargs { }; argv: { $0: string; + r: string; }; configuration: { "boolean-negation": boolean; diff --git a/package.json b/package.json index 2a04a3a..da12ad7 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ ], "preferGlobal": true, "scripts": { - "test": "mocha bin/tests/", + "test": "ts-mocha tests/*.spec.ts", "build": "tsc", "build-browser": "tsc -p browser && webpack", "lint": "tslint --project tsconfig.json --format stylish" diff --git a/tests/generator.spec.ts b/tests/generator.spec.ts index cf30ef1..14d7cdb 100644 --- a/tests/generator.spec.ts +++ b/tests/generator.spec.ts @@ -38,7 +38,7 @@ const expressions: { [s: string]: any } = { }; function checkDeclarationBaseline(name: string, content: string) { - const filename = path.join(__dirname, `../../baselines/${name}`); + const filename = path.join(__dirname, `../baselines/${name}`); const existing = fs.existsSync(filename) ? fs.readFileSync(filename, 'utf-8') : ''; if (existing !== content) { fs.writeFileSync(filename, content, 'utf-8'); diff --git a/tsconfig.json b/tsconfig.json index 90d6146..602aea7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,6 @@ { "include": [ - "lib", - "tests" + "lib" ], "compilerOptions": { "lib": [