From 793d7c02a56838982ca3fbe42e549f3dadcaac57 Mon Sep 17 00:00:00 2001 From: Clark McCauley Date: Thu, 20 May 2021 16:38:18 -0600 Subject: [PATCH] Evaluator with amd module support (#5) * Added AMD-based almond module loader and evaluator that can evaluate scripts and transpile them if needed * Allow transpiler to not use context cancellation (handle cancellation in the runtime) * Added transpiler option for custom typescript source * Removed examples directory and updated readme * Added support for Typescript v4.2.4 * Added support for pre-evaluation script modifier hooks and custom evaluation runtimes Co-authored-by: Clark McCauley --- README.md | 69 ++++++++++------ config.go | 52 ++++++++++-- config_test.go | 58 ++++++++------ evaluate.go | 164 ++++++++++++++++++++++++++++++++++++++ evaluate_test.go | 91 +++++++++++++++++++++ examples/main.go | 38 --------- examples/script.ts | 12 --- packages/almond.js | 2 + packages/packages.go | 6 ++ transpiler.go | 55 +++++++------ transpiler_test.go | 32 ++++---- versions/v4.2.4/loader.go | 13 +++ versions/v4.2.4/v4.2.4.js | 1 + 13 files changed, 444 insertions(+), 149 deletions(-) create mode 100644 evaluate.go create mode 100644 evaluate_test.go delete mode 100644 examples/main.go delete mode 100644 examples/script.ts create mode 100644 packages/almond.js create mode 100644 packages/packages.go create mode 100644 versions/v4.2.4/loader.go create mode 100644 versions/v4.2.4/v4.2.4.js diff --git a/README.md b/README.md index 71c2610..c00ab25 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ -# Goja Typescript Transpiler -This package provides a simple interface using [github.com/dop251/goja](github.com/dop251/goja) under the hood to allow you to transpile Typescript to Javascript in Go. This package has no direct dependencies besides testing utilities and has a 95% test coverage rate. +# Goja Typescript Transpiler and Evaluator (with AMD module support) +This package provides a simple interface using [github.com/dop251/goja](github.com/dop251/goja) under the hood to allow you to transpile Typescript to Javascript in Go. In addition it provides an evaluator with a built-in AMD module loader which allows you to run Typescript code against a compiled typescript bundle. This package has no direct dependencies besides testing utilities and has a 95% test coverage rate. Feel free to contribute. This package is fresh and may experience some changes before it's first tagged release. -## Example -For more examples, see the `examples/` directory of this repository +## Transpiling Examples ### Transpile Strings ```go output, err := typescript.TranspileString("let a: number = 10;", nil) @@ -19,47 +18,67 @@ output, err := typescript.Transpile(reader, nil) ### Custom Typescript Compile Options You can optionally specify alternative compiler options that are used by Typescript. Any of the options [https://www.typescriptlang.org/docs/handbook/compiler-options.html](https://www.typescriptlang.org/docs/handbook/compiler-options.html) can be added. ```go -output, err = typescript.TranspileString(script, nil, typescript.WithCompileOptions(map[string]interface{}{ +output, err = typescript.TranspileString(script, typescript.WithCompileOptions(map[string]interface{}{ "module": "none", "strict": true, })) ``` ### Custom Typescript Version -#### Default Registry You can optionally specify which typescript version you want to compile using. These versions are based on the Git tags from the Typescript repository. If you're using a version that is supported in this package, you'll need to import the version package as a side-effect and will automatically be registered to the default registry. ```go import _ "github.com/clarkmcc/go-typescript/versions/v4.2.2" func main() { - output, err := typescript.Transpile(reader, nil, typescript.WithVersion("v4.2.2")) + output, err := typescript.Transpile(reader, typescript.WithVersion("v4.2.2")) } ``` -#### Custom Registry -You may want to use a custom version registry rather than the default registry. +### Custom Typescript Source +You may want to use a custom typescript version. ```go -import version "github.com/clarkmcc/go-typescript/versions/v4.2.2" - func main() { - registry := versions.NewRegistry() - registry.MustRegister("v4.2.3", version.Source) - - output, err := typescript.TranspileString("let a:number = 10;", &typescript.Config{ - TypescriptSource: program, - }) + output, err := typescript.TranspileString("let a:number = 10;", + WithTypescriptSource("/* source code for typescript*/")) } ``` -#### Custom Version -Need a different typescript version than the tags we support in this repo? No problem, you can load your own: +## Evaluate Examples +### Basic Evaluation +You can evaluate pure Javascript code with: + +```go +result, err := Evaluate(strings.NewReader('var a = 10;')) // returns 10; +``` + +### Transpile and Evaluate +Or you can transpile first: ```go -program, err := goja.Compile("typescript", "", true) -output, err := typescript.Transpile(reader, &typescript.Config{ - CompileOptions: map[string]interface{}{}, - TypescriptSource: program, - Runtime: goja.New(), -}) +result, err := Evaluate(strings.NewReader('let a: number = 10;'), WithTranspile()) // returns 10; +``` + +### Run Script with AMD Modules +You can load in an AMD module bundle, then execute a Typescript script with access to the modules. + +```go +// This is the module we're going to import +modules := strings.TrimSpace(` + define("myModule", ["exports"], function (exports, core_1) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.multiply = void 0; + var multiply = function (a, b) { return a * b; }; + exports.multiply = multiply; + }); +`) + +// This is the script we're going to transpile and evaluate +script := "import { multiply } from 'myModule'; multiply(5, 5)" + +// Returns 25 +result, err := EvaluateCtx(context.Background(), strings.NewReader(script), + WithAlmondModuleLoader(), + WithTranspile(), + WithEvaluateBefore(strings.NewReader(amdModuleScript))) ``` diff --git a/config.go b/config.go index 803571a..3b20b25 100644 --- a/config.go +++ b/config.go @@ -5,18 +5,29 @@ import ( "fmt" "github.com/clarkmcc/go-typescript/utils" "github.com/clarkmcc/go-typescript/versions" - _ "github.com/clarkmcc/go-typescript/versions/v4.2.3" + _ "github.com/clarkmcc/go-typescript/versions/v4.2.4" "github.com/dop251/goja" ) -// OptionFunc allows for easy chaining of pre-built config modifiers such as WithVersion. -type OptionFunc func(*Config) +// TranspileOptionFunc allows for easy chaining of pre-built config modifiers such as WithVersion. +type TranspileOptionFunc func(*Config) // Config defines the behavior of the typescript compiler. type Config struct { CompileOptions map[string]interface{} TypescriptSource *goja.Program Runtime *goja.Runtime + + // If a module is exported by the typescript compiler, this is the name the module will be called + ModuleName string + + // Verbose enables built-in verbose logging for debugging purposes. + Verbose bool + + // PreventCancellation indicates that the transpiler should not handle context cancellation. This + // should be used when external runtimes are configured AND cancellation is handled by those runtimes. + PreventCancellation bool + // decoderName refers to a random generated string assigned to a function in the runtimes // global scope which is analogous to atob(), or a base64 decoding function. This function // is needed in the transpile process to ensure that we don't have any issues with string @@ -49,34 +60,59 @@ func NewDefaultConfig() *Config { return &Config{ Runtime: goja.New(), CompileOptions: nil, - TypescriptSource: versions.DefaultRegistry.MustGet("v4.2.3"), + TypescriptSource: versions.DefaultRegistry.MustGet("v4.2.4"), + ModuleName: "default", } } // WithVersion loads the provided tagged typescript source from the default registry -func WithVersion(tag string) OptionFunc { +func WithVersion(tag string) TranspileOptionFunc { return func(config *Config) { config.TypescriptSource = versions.DefaultRegistry.MustGet(tag) } } +// WithTypescriptSource configures a Typescript source from the provided typescript source string which +// is compiled by goja when the config is initialized. This function will panic if the Typescript source +// is invalid. +func WithTypescriptSource(src string) TranspileOptionFunc { + return func(config *Config) { + config.TypescriptSource = goja.MustCompile("", src, true) + } +} + // WithCompileOptions sets the compile options that will be passed to the typescript compiler. -func WithCompileOptions(options map[string]interface{}) OptionFunc { +func WithCompileOptions(options map[string]interface{}) TranspileOptionFunc { return func(config *Config) { config.CompileOptions = options } } // WithRuntime allows you to over-ride the default runtime -func WithRuntime(runtime *goja.Runtime) OptionFunc { +func WithRuntime(runtime *goja.Runtime) TranspileOptionFunc { return func(config *Config) { config.Runtime = runtime } } +// WithModuleName determines the module name applied to the typescript module if applicable. This is only needed to +// customize the module name if the typescript module mode is AMD or SystemJS. +func WithModuleName(name string) TranspileOptionFunc { + return func(config *Config) { + config.ModuleName = name + } +} + +// WithPreventCancellation prevents the transpiler runtime from handling its own context cancellation. +func WithPreventCancellation() TranspileOptionFunc { + return func(config *Config) { + config.PreventCancellation = true + } +} + // withFailOnInitialize used to test a config initialization failure. This is not exported because // it's used only for testing. -func withFailOnInitialize() OptionFunc { +func withFailOnInitialize() TranspileOptionFunc { return func(config *Config) { config.failOnInitialize = true } diff --git a/config_test.go b/config_test.go index b4d068e..def38e9 100644 --- a/config_test.go +++ b/config_test.go @@ -25,58 +25,47 @@ func TestConfig_Initialize(t *testing.T) { func TestVersionLoading(t *testing.T) { t.Run("v3.8.3", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v3.8.3"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v3.8.3")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v3.9.9", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v3.9.9"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v3.9.9")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.1.2", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.1.2"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.1.2")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.1.3", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.1.3"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.1.3")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.1.4", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.1.4"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.1.4")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.1.5", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.1.5"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.1.5")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.2.2", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.2.2"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.2.2")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) t.Run("v4.2.3", func(t *testing.T) { - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: versions.DefaultRegistry.MustGet("v4.2.3"), - }) + output, err := TranspileString("let a: number = 10;", WithVersion("v4.2.3")) + require.NoError(t, err) + require.Equal(t, "var a = 10;", output) + }) + t.Run("v4.2.4", func(t *testing.T) { + output, err := TranspileString("let a: number = 10;", WithVersion("v4.2.4")) require.NoError(t, err) require.Equal(t, "var a = 10;", output) }) @@ -86,9 +75,26 @@ func TestCustomRegistry(t *testing.T) { registry := versions.NewRegistry() registry.MustRegister("v4.2.3", v423.Source) - output, err := TranspileString("let a: number = 10;", &Config{ - TypescriptSource: registry.MustGet("v4.2.3"), + output, err := TranspileString("let a: number = 10;", func(config *Config) { + config.TypescriptSource = registry.MustGet("v4.2.3") }) require.NoError(t, err) require.Equal(t, "var a = 10;", output) } + +func TestWithModuleName(t *testing.T) { + output, err := TranspileString("let a: number = 10;", + WithModuleName("myModuleName"), + WithCompileOptions(map[string]interface{}{ + "module": "amd", + })) + require.NoError(t, err) + require.Contains(t, output, "define(\"myModuleName\"") +} + +func TestWithTypescriptSource(t *testing.T) { + output, err := TranspileString("let a: number = 10;", + WithTypescriptSource(v423.Source)) + require.NoError(t, err) + require.Equal(t, "var a = 10;", output) +} diff --git a/evaluate.go b/evaluate.go new file mode 100644 index 0000000..8d4922f --- /dev/null +++ b/evaluate.go @@ -0,0 +1,164 @@ +package typescript + +import ( + "context" + "fmt" + "github.com/clarkmcc/go-typescript/packages" + _ "github.com/clarkmcc/go-typescript/versions/v4.2.3" + "github.com/dop251/goja" + "io" + "io/ioutil" + "strings" +) + +type EvaluateOptionFunc func(cfg *EvaluateConfig) + +type EvaluateConfig struct { + // EvaluateBefore are sequentially evaluated in the Javascript runtime before evaluating the provided script. + EvaluateBefore []io.Reader + // ScriptHooks are called after transpiling (if applicable) with the script that will be evaluated immediately + // before evaluation. If an error is returned from any of these functions, the evaluation process is aborted. + // The script hook can make modifications and return them to the script if necessary. + ScriptHooks []func(string) (string, error) + // Transpile indicates whether the script should be transpiled before its evaluated in the runtime. + Transpile bool + // TranspileOptions are options passed directly to the transpiler if applicable + TranspileOptions []TranspileOptionFunc + // Runtime is the goja runtime used for script execution. If not specified, it defaults to an empty runtime + Runtime *goja.Runtime +} + +// ApplyDefaults applies defaults to the configuration and is called automatically before the config is used +func (cfg *EvaluateConfig) ApplyDefaults() { + if cfg.Runtime == nil { + cfg.Runtime = goja.New() + } +} + +func (cfg *EvaluateConfig) HasEvaluateBefore() bool { + return len(cfg.EvaluateBefore) > 0 +} + +// WithEvaluationRuntime allows callers to use their own runtimes with the evaluator. +func WithEvaluationRuntime(runtime *goja.Runtime) EvaluateOptionFunc { + return func(cfg *EvaluateConfig) { + cfg.Runtime = runtime + } +} + +// WithEvaluateBefore adds scripts that should be evaluated before evaluating the provided script. Each provided script +// is evaluated in the order that it's provided. +func WithEvaluateBefore(sources ...io.Reader) EvaluateOptionFunc { + return func(cfg *EvaluateConfig) { + cfg.EvaluateBefore = append(cfg.EvaluateBefore, sources...) + } +} + +// WithAlmondModuleLoader adds the almond module loader to the list of scripts that should be evaluated first +func WithAlmondModuleLoader() EvaluateOptionFunc { + return WithEvaluateBefore(strings.NewReader(packages.Almond)) +} + +// WithTranspile indicates whether the provided script should be transpiled before it is evaluated. This does not +// mean that all the evaluate before's will be transpiled as well, only the src provided to EvaluateCtx will be transpiled +func WithTranspile() EvaluateOptionFunc { + return func(cfg *EvaluateConfig) { + cfg.Transpile = true + } +} + +// WithTranspileOptions adds options to be passed to the transpiler if the transpiler is applicable +func WithTranspileOptions(opts ...TranspileOptionFunc) EvaluateOptionFunc { + return func(cfg *EvaluateConfig) { + cfg.TranspileOptions = append(cfg.TranspileOptions, opts...) + } +} + +// WithScriptHook adds a script hook that should be evaluated immediately before the actual script evaluation +func WithScriptHook(hook func(script string) (string, error)) EvaluateOptionFunc { + return func(cfg *EvaluateConfig) { + cfg.ScriptHooks = append(cfg.ScriptHooks, hook) + } +} + +// Evaluate calls EvaluateCtx using the default background context +func Evaluate(src io.Reader, opts ...EvaluateOptionFunc) (goja.Value, error) { + return EvaluateCtx(context.Background(), src, opts...) +} + +// EvaluateCtx evaluates the provided src using the specified options and returns the goja value result or an error. +func EvaluateCtx(ctx context.Context, src io.Reader, opts ...EvaluateOptionFunc) (result goja.Value, err error) { + cfg := &EvaluateConfig{} + cfg.ApplyDefaults() + for _, fn := range opts { + fn(cfg) + } + done := make(chan struct{}) + started := make(chan struct{}) + defer close(done) + go func() { + // Inform the parent go-routine that we've started, this prevents a race condition where the + // runtime would beat the context cancellation in unit tests even though the context started + // out in a 'cancelled' state. + close(started) + select { + case <-ctx.Done(): + cfg.Runtime.Interrupt("context halt") + case <-done: + return + } + }() + <-started + if cfg.HasEvaluateBefore() { + for _, s := range cfg.EvaluateBefore { + b, err := ioutil.ReadAll(s) + if err != nil { + return nil, fmt.Errorf("reading evaluate befores: %w", err) + } + _, err = cfg.Runtime.RunString(string(b)) + if err != nil { + return nil, fmt.Errorf("evaluating evaluate befores: %w", err) + } + } + } + b, err := ioutil.ReadAll(src) + if err != nil { + return nil, fmt.Errorf("reading src: %w", err) + } + script := string(b) + if cfg.Transpile { + // This is needed in case the script being transpiled imports other modules. Check if it already exists in case + // the caller has their own implementation and use of the global exports object. + if cfg.Runtime.Get("exports") == nil { + err = cfg.Runtime.Set("exports", cfg.Runtime.NewObject()) + if err != nil { + return nil, fmt.Errorf("setting exports object: %w", err) + } + } + opts := []TranspileOptionFunc{ + // We handle our own runtime with our own cancellation + WithRuntime(cfg.Runtime), + WithPreventCancellation(), + } + for _, opt := range cfg.TranspileOptions { + opts = append(opts, opt) + } + script, err = TranspileCtx(ctx, strings.NewReader(script), opts...) + if err != nil { + return nil, fmt.Errorf("transpiling script: %w", err) + } + } + for _, h := range cfg.ScriptHooks { + script, err = h(script) + if err != nil { + return nil, fmt.Errorf("running script hook: %w", err) + } + } + result, err = cfg.Runtime.RunString(script) + if err != nil { + if strings.Contains(err.Error(), "context halt") { + err = context.Canceled + } + } + return +} diff --git a/evaluate_test.go b/evaluate_test.go new file mode 100644 index 0000000..a1f1a8e --- /dev/null +++ b/evaluate_test.go @@ -0,0 +1,91 @@ +package typescript + +import ( + "context" + "errors" + "fmt" + "github.com/dop251/goja" + "github.com/stretchr/testify/require" + "io" + "strings" + "testing" +) + +var ( + amdModuleScript = strings.TrimSpace(` + define("myModule", ["exports"], function (exports, core_1) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.multiply = void 0; + var multiply = function (a, b) { return a * b; }; + exports.multiply = multiply; + }); + `) +) + +func TestEvaluateCtx(t *testing.T) { + // This test hits a lot of things: + // #1 - We test that we can load the almond AMD module loader + // #2 - We test that we can load our own 'evaluate before' script that declares an AMD module + // #3 - We test that we can import the AMD module in a type script script and use a function from the module + t.Run("evaluate with custom AMD module", func(t *testing.T) { + script := "import { multiply } from 'myModule'; multiply(5, 5)" + result, err := EvaluateCtx(context.Background(), strings.NewReader(script), + WithAlmondModuleLoader(), + WithTranspile(), + WithEvaluateBefore(strings.NewReader(amdModuleScript)), + WithTranspileOptions(func(config *Config) { + config.Verbose = true + })) + require.NoError(t, err) + require.Equal(t, int64(25), result.ToInteger()) + }) + + // Ensures the context cancellation works correctly with the goja runtime + t.Run("context cancellation", func(t *testing.T) { + ctx, cancel := context.WithCancel(context.Background()) + cancel() + result, err := EvaluateCtx(ctx, strings.NewReader("var a = 10;")) + fmt.Println(err) + require.True(t, errors.Is(err, context.Canceled)) + require.Nil(t, result) + }) + + // A syntax error in the evaluate befores should return an error + t.Run("evaluate 'evaluate before' error", func(t *testing.T) { + _, err := Evaluate(strings.NewReader("var a = 10;"), + WithEvaluateBefore(strings.NewReader("let a: number = 10;"))) + require.Error(t, err) + require.Contains(t, err.Error(), "evaluating evaluate befores: SyntaxError") + }) + + t.Run("unreadable 'evaluate before'", func(t *testing.T) { + _, err := Evaluate(strings.NewReader("var a = 10;"), + WithEvaluateBefore(&failingReader{})) + require.Error(t, err) + require.Contains(t, err.Error(), "reading evaluate befores") + }) + + t.Run("custom runtime", func(t *testing.T) { + runtime := goja.New() + result, err := Evaluate(strings.NewReader("var a = 10; a;"), + WithEvaluationRuntime(runtime)) + require.NoError(t, err) + require.Equal(t, int64(10), result.ToInteger()) + }) + + t.Run("script hook", func(t *testing.T) { + script := "var a = 10;" + _, err := Evaluate(strings.NewReader(script), + WithScriptHook(func(s string) (string, error) { + require.Equal(t, script, s) + return script, nil + })) + require.NoError(t, err) + }) +} + +var _ io.Reader = &failingReader{} + +type failingReader struct{} + +func (f *failingReader) Read(p []byte) (n int, err error) { return 0, fmt.Errorf("intentional error") } diff --git a/examples/main.go b/examples/main.go deleted file mode 100644 index 20682ec..0000000 --- a/examples/main.go +++ /dev/null @@ -1,38 +0,0 @@ -package main - -import ( - _ "embed" - typescript "github.com/clarkmcc/go-typescript" - _ "github.com/clarkmcc/go-typescript/versions/v4.2.2" - "log" -) - -// This is a typescript script that we'll transpile to javascript -//go:embed script.ts -var script string - -func main() { - // The most basic implementation of the transpiler - output, err := typescript.TranspileString(script, nil) - if err != nil { - log.Fatal(err) - } - log.Println(output) - - // You can specify a custom typescript version - output, err = typescript.TranspileString(script, nil, typescript.WithVersion("v4.2.2")) - if err != nil { - log.Fatal(err) - } - log.Println(output) - - // Or provide some typescript compiler options using any of the options here https://www.typescriptlang.org/docs/handbook/compiler-options.html - output, err = typescript.TranspileString(script, nil, typescript.WithCompileOptions(map[string]interface{}{ - "module": "none", - "strict": true, - })) - if err != nil { - log.Fatal(err) - } - log.Println(output) -} diff --git a/examples/script.ts b/examples/script.ts deleted file mode 100644 index 86d3455..0000000 --- a/examples/script.ts +++ /dev/null @@ -1,12 +0,0 @@ -interface Person { - firstName: string; - lastName: string; -} - -function greeter(person: Person) { - return "Hello, " + person.firstName + " " + person.lastName; -} - -let user = { firstName: "Foo", lastName: "Bar" }; - -greeter(user); \ No newline at end of file diff --git a/packages/almond.js b/packages/almond.js new file mode 100644 index 0000000..e4f01c3 --- /dev/null +++ b/packages/almond.js @@ -0,0 +1,2 @@ +// Sourced from https://github.com/requirejs/almond/blob/master/almond.js, minified using https://go.tacodewolff.nl/minify +var requirejs,require,define;(function(d){var h,e,l,f,a={},g={},b={},k={},t=Object.prototype.hasOwnProperty,q=[].slice,n=/\.js$/;function c(a,b){return t.call(a,b)}function j(a,s){var g,h,e,f,i,p,l,q,c,k,o,r,d=s&&s.split("/"),j=b.map,m=j&&j['*']||{};if(a){a=a.split('/'),i=a.length-1,b.nodeIdCompat&&n.test(a[i])&&(a[i]=a[i].replace(n,'')),a[0].charAt(0)==='.'&&d&&(r=d.slice(0,d.length-1),a=r.concat(a));for(c=0;c0&&(a.splice(c-1,2),c-=2)}a=a.join('/')}if((d||m)&&j){g=a.split('/');for(c=g.length;c>0;c-=1){if(h=g.slice(0,c).join("/"),d)for(k=d.length;k>0;k-=1)if(e=j[d.slice(0,k).join('/')],e)if(e=e[h],e){f=e,p=c;break}if(f)break;!l&&m&&m[h]&&(l=m[h],q=c)}!f&&l&&(f=l,p=q),f&&(g.splice(0,p,f),a=g.join('/'))}return a}function p(a,b){return function(){var c=q.call(arguments,0);return typeof c[0]!='string'&&c.length===1&&c.push(null),e.apply(d,c.concat([a,b]))}}function s(a){return function(b){return j(b,a)}}function r(b){return function(c){a[b]=c}}function i(b){if(c(g,b)){var e=g[b];delete g[b],k[b]=!0,h.apply(d,e)}if(!c(a,b)&&!c(k,b))throw new Error('No '+b);return a[b]}function m(a){var c,b=a?a.indexOf('!'):-1;return b>-1&&(c=a.substring(0,b),a=a.substring(b+1,a.length)),[c,a]}function o(a){return a?m(a):[]}l=function(a,f){var c,d=m(a),b=d[0],e=f[1];return a=d[1],b&&(b=j(b,e),c=i(b)),b?c&&c.normalize?a=c.normalize(a,s(e)):a=j(a,e):(a=j(a,e),d=m(a),b=d[0],a=d[1],b&&(c=i(b))),{f:b?b+'!'+a:a,n:a,pr:b,p:c}};function u(a){return function(){return b&&b.config&&b.config[a]||{}}}f={require:function(a){return p(a)},exports:function(b){var c=a[b];return typeof c!='undefined'?c:a[b]={}},module:function(b){return{id:b,uri:'',exports:a[b],config:u(b)}}},h=function(b,m,s,t){var n,e,u,q,h,v,j=[],w=typeof s,x;if(t=t||b,v=o(t),w==='undefined'||w==='function'){m=!m.length&&s.length?['require','exports','module']:m;for(h=0;h 10)()", nil, WithCompileOptions(map[string]interface{}{ + compiled, err := TranspileString("((): number => 10)()", WithCompileOptions(map[string]interface{}{ "module": "none", }), WithVersion("v4.2.3"), WithRuntime(runtime)) require.NoError(t, err) @@ -28,28 +28,28 @@ func TestCompileVariousScripts(t *testing.T) { }) } -func TestCompileErrors(t *testing.T) { - t.Run("bad syntax", func(t *testing.T) { - program, err := goja.Compile("", "", true) - require.NoError(t, err) - _, err = TranspileString("asdjaksdhkjasd", &Config{ - CompileOptions: map[string]interface{}{}, - TypescriptSource: program, - Runtime: goja.New(), - }) - require.Error(t, err) - }) -} +//func TestCompileErrors(t *testing.T) { +// t.Run("bad syntax", func(t *testing.T) { +// _, err := TranspileString("asdjaksdhkjasd") +// require.Error(t, err) +// }) +//} func TestCancelContext(t *testing.T) { runtime := goja.New() ctx, cancel := context.WithCancel(context.Background()) cancel() - _, err := TranspileCtx(ctx, strings.NewReader("let a: number = 10;"), nil, WithRuntime(runtime)) + _, err := TranspileCtx(ctx, strings.NewReader("let a: number = 10;"), WithRuntime(runtime)) require.Error(t, err) } func TestBadConfig(t *testing.T) { - _, err := TranspileString("let a: number = 10;", nil, withFailOnInitialize()) + _, err := TranspileString("let a: number = 10;", withFailOnInitialize()) require.Error(t, err) } + +func TestTranspile(t *testing.T) { + output, err := Transpile(strings.NewReader("let a: number = 10;")) + require.NoError(t, err) + require.Equal(t, "var a = 10;", output) +} diff --git a/versions/v4.2.4/loader.go b/versions/v4.2.4/loader.go new file mode 100644 index 0000000..9fc0b80 --- /dev/null +++ b/versions/v4.2.4/loader.go @@ -0,0 +1,13 @@ +package v4_2_4 + +import ( + _ "embed" + "github.com/clarkmcc/go-typescript/versions" +) + +//go:embed v4.2.4.js +var Source string + +func init() { + versions.DefaultRegistry.MustRegister("v4.2.4", Source) +} diff --git a/versions/v4.2.4/v4.2.4.js b/versions/v4.2.4/v4.2.4.js new file mode 100644 index 0000000..f7f56ec --- /dev/null +++ b/versions/v4.2.4/v4.2.4.js @@ -0,0 +1 @@ +"use strict";var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;ro[0]&&t[1]>1);switch(n(r(e[s],s),t)){case-1:a=s+1;break;case 0:return s;case 1:o=s-1}}return~a}function y(e,t,r,n,i){if(e&&0=r.length+e.length&&$(t,r)&&X(t,e)}l.getUILocale=function(){return V},l.setUILocale=function(e){V!==e&&(V=e,U=void 0)},l.compareStringsCaseSensitiveUI=function(e,t){return(U=U||K(V))(e,t)},l.compareProperties=function(e,t,r,n){return e===t?0:void 0===e?-1:void 0===t?1:n(e[r],t[r])},l.compareBooleans=function(e,t){return L(e?1:0,t?1:0)},l.getSpellingSuggestion=function(e,t,r){for(var n,i=Math.min(2,Math.floor(.34*e.length)),a=Math.floor(.4*e.length)+1,o=0,s=t;or+o?r+o:t.length),l=i[0]=o,_=1;_i&&(i=c.prefix.length,n=s)}return n},l.startsWith=$,l.removePrefix=function(e,t){return $(e,t)?e.substr(t.length):e},l.tryRemovePrefix=function(e,t,r){return void 0===r&&(r=A),$(r(e),r(t))?e.substring(t.length):void 0},l.and=function(t,r){return function(e){return t(e)&&r(e)}},l.or=function(){for(var i=[],e=0;e=i.level&&(a[n]=i,s[n]=void 0)}},a.shouldAssert=i,a.fail=u,a.failBadSyntaxKind=function e(t,r,n){return u((r||"Unexpected node.")+"\r\nNode "+v(t.kind)+" was unexpected.",n||e)},a.assert=l,a.assertEqual=function e(t,r,n,i,a){t!==r&&u("Expected "+t+" === "+r+". "+(n?i?n+" "+i:n:""),a||e)},a.assertLessThan=function e(t,r,n,i){r<=t&&u("Expected "+t+" < "+r+". "+(n||""),i||e)},a.assertLessThanOrEqual=function e(t,r,n){r= "+r,n||e)},a.assertIsDefined=_,a.checkDefined=d,a.assertDefined=d,a.assertEachIsDefined=p,a.checkEachDefined=f,a.assertEachDefined=f,a.assertNever=function e(t,r,n){return void 0===r&&(r="Illegal value:"),u(r+" "+("object"==typeof t&&j.hasProperty(t,"kind")&&j.hasProperty(t,"pos")&&v?"SyntaxKind: "+v(t.kind):JSON.stringify(t)),n||e)},a.assertEachNode=function e(t,r,n,i){c(1,"assertEachNode")&&l(void 0===r||j.every(t,r),n||"Unexpected node.",function(){return"Node array did not pass test '"+y(r)+"'."},i||e)},a.assertNode=function e(t,r,n,i){c(1,"assertNode")&&l(void 0!==t&&(void 0===r||r(t)),n||"Unexpected node.",function(){return"Node "+v(t.kind)+" did not pass test '"+y(r)+"'."},i||e)},a.assertNotNode=function e(t,r,n,i){c(1,"assertNotNode")&&l(void 0===t||void 0===r||!r(t),n||"Unexpected node.",function(){return"Node "+v(t.kind)+" should not have passed test '"+y(r)+"'."},i||e)},a.assertOptionalNode=function e(t,r,n,i){c(1,"assertOptionalNode")&&l(void 0===r||void 0===t||r(t),n||"Unexpected node.",function(){return"Node "+v(t.kind)+" did not pass test '"+y(r)+"'."},i||e)},a.assertOptionalToken=function e(t,r,n,i){c(1,"assertOptionalToken")&&l(void 0===r||void 0===t||t.kind===r,n||"Unexpected node.",function(){return"Node "+v(t.kind)+" was not a '"+v(r)+"' token."},i||e)},a.assertMissingNode=function e(t,r,n){c(1,"assertMissingNode")&&l(void 0===t,r||"Unexpected node.",function(){return"Node "+v(t.kind)+" was unexpected'."},n||e)},a.getFunctionName=y,a.formatSymbol=function(e){return"{ name: "+j.unescapeLeadingUnderscores(e.escapedName)+"; flags: "+T(e.flags)+"; declarations: "+j.map(e.declarations,function(e){return v(e.kind)})+" }"},a.formatEnum=h,a.formatSyntaxKind=v,a.formatNodeFlags=b,a.formatModifierFlags=x,a.formatTransformFlags=D,a.formatEmitFlags=S,a.formatSymbolFlags=T,a.formatTypeFlags=C,a.formatSignatureFlags=E,a.formatObjectFlags=k,a.formatFlowFlags=N;var A,F,P,w=!1;function I(e){return function(){if(L(),!A)throw new Error("Debugging helpers could not be loaded.");return A}().formatControlFlowGraph(e)}function O(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(){var e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return e+(t?" ("+N(t)+")":"")}},__debugFlowFlags:{get:function(){return h(this.flags,j.FlowFlags,!0)}},__debugToString:{value:function(){return I(this)}}})}function M(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return"NodeArray "+(e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"))}}})}function L(){if(!w){var r,a;Object.defineProperties(j.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return e+" '"+j.symbolName(this)+"'"+(t?" ("+T(t)+")":"")}},__debugFlags:{get:function(){return T(this.flags)}}}),Object.defineProperties(j.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=98304&this.flags?"NullableType":384&this.flags?"LiteralType "+JSON.stringify(this.value):2048&this.flags?"LiteralType "+(this.value.negative?"-":"")+this.value.base10Value+"n":8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType "+this.intrinsicName:1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":2048&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-2368&this.objectFlags:0;return e+(this.symbol?" '"+j.symbolName(this.symbol)+"'":"")+(t?" ("+k(t)+")":"")}},__debugFlags:{get:function(){return C(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?k(this.objectFlags):""}},__debugTypeToString:{value:function(){var e=(void 0===r&&"function"==typeof WeakMap&&(r=new WeakMap),r),t=null==e?void 0:e.get(this);return void 0===t&&(t=this.checker.typeToString(this),null!=e&&e.set(this,t)),t}}}),Object.defineProperties(j.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return E(this.flags)}},__debugSignatureToString:{value:function(){var e;return null===(e=this.checker)||void 0===e?void 0:e.signatureToString(this)}}});for(var e,t=0,n=[j.objectAllocator.getNodeConstructor(),j.objectAllocator.getIdentifierConstructor(),j.objectAllocator.getTokenConstructor(),j.objectAllocator.getSourceFileConstructor()];t":return 0=":return 0<=n;case"=":return 0===n;default:return u.Debug.assertNever(t)}}(e,i.operator,i.operand))return!1}return!0}(e,i))return!0}return!1}(e,this._alternatives)},r.prototype.toString=function(){return e=this._alternatives,u.map(e,i).join(" || ")||"*";var e},r);function r(e){this._alternatives=e?u.Debug.checkDefined(n(e),"Invalid range spec."):u.emptyArray}u.VersionRange=e;var d=/\s*\|\|\s*/g,p=/\s+/g,f=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,g=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,m=/^\s*(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function n(e){for(var t=[],r=0,n=e.trim().split(d);r=",e.version));h(t.major)||r.push(h(t.minor)?v("<",t.version.increment("major")):h(t.patch)?v("<",t.version.increment("minor")):v("<=",t.version));return!0}(o[1],o[2],a))return}else for(var s=0,c=i.split(p);s"!==e||r.push(v("<",_.zero));else switch(e){case"~":r.push(v(">=",i)),r.push(v("<",i.increment(h(a)?"major":"minor")));break;case"^":r.push(v(">=",i)),r.push(v("<",i.increment(0=":r.push(v(e,i));break;case"<=":case">":r.push(h(a)?v("<="===e?"<":">=",i.increment("major")):h(o)?v("<="===e?"<":">=",i.increment("minor")):v(e,i));break;case"=":case void 0:h(a)||h(o)?(r.push(v(">=",i)),r.push(v("<",i.increment(h(a)?"major":"minor")))):r.push(v("=",i));break;default:return!1}return!0}(u[1],u[2],a))return}t.push(a)}}return t}function y(e){var t=f.exec(e);if(t){var r=t[1],n=t[2],i=void 0===n?"*":n,e=t[3],n=void 0===e?"*":e,e=t[4],t=t[5];return{version:new _(h(r)?0:parseInt(r,10),h(r)||h(i)?0:parseInt(i,10),h(r)||h(i)||h(n)?0:parseInt(n,10),e,t),major:r,minor:i,patch:n}}}function h(e){return"*"===e||"x"===e||"X"===e}function v(e,t){return{operator:e,operand:t}}function i(e){return u.map(e,b).join(" ")}function b(e){return""+e.operator+e.operand}}(ts=ts||{}),function(i){function a(e,t){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof t}var e=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&a(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}}()||function(){if("undefined"!=typeof process&&process.nextTick&&!process.browser&&"object"==typeof module&&"function"==typeof require)try{var e,t=require("perf_hooks"),n=t.performance,r=t.PerformanceObserver;if(a(n,r)){e=n;t=new i.Version(process.versions.node);return new i.VersionRange("<12.16.3 || 13 <13.13").test(t)&&(e={get timeOrigin(){return n.timeOrigin},now:function(){return n.now()},mark:function(e){return n.mark(e)},measure:function(e,t,r){void 0===t&&(t="nodeStart"),void 0===r&&(r="__performance.measure-fix__",n.mark(r)),n.measure(e,t,r),"__performance.measure-fix__"===r&&n.clearMarks("__performance.measure-fix__")}}),{shouldWriteNativeEvents:!1,performance:e,PerformanceObserver:r}}}catch(e){}}(),t=null==e?void 0:e.performance;i.tryGetNativePerformanceHooks=function(){return e},i.timestamp=t?function(){return t.now()}:Date.now||function(){return+new Date}}(ts=ts||{}),function(p){!function(i){var r,o;function a(e,t,r){var n=0;return{enter:function(){1==++n&&_(t)},exit:function(){0==--n?(_(r),d(e,t,r)):n<0&&p.Debug.fail("enter/exit count does not match.")}}}i.createTimerIf=function(e,t,r,n){return e?a(t,r,n):i.nullTimer},i.createTimer=a;var s=!(i.nullTimer={enter:p.noop,exit:p.noop}),c=p.timestamp(),u=new p.Map,n=new p.Map,l=new p.Map;function _(e){var t;s&&(t=null!==(t=n.get(e))&&void 0!==t?t:0,n.set(e,t+1),u.set(e,p.timestamp()),null!=o&&o.mark(e))}function d(e,t,r){var n,i,a;s&&(n=null!==(i=void 0!==r?u.get(r):void 0)&&void 0!==i?i:p.timestamp(),i=null!==(a=void 0!==t?u.get(t):void 0)&&void 0!==a?a:c,a=l.get(e)||0,l.set(e,a+(n-i)),null!=o&&o.measure(e,t,r))}i.mark=_,i.measure=d,i.getCount=function(e){return n.get(e)||0},i.getDuration=function(e){return l.get(e)||0},i.forEachMeasure=function(r){l.forEach(function(e,t){return r(t,e)})},i.isEnabled=function(){return s},i.enable=function(e){var t;return void 0===e&&(e=p.sys),s||(s=!0,(r=r||p.tryGetNativePerformanceHooks())&&(c=r.performance.timeOrigin,(r.shouldWriteNativeEvents||null!==(t=null==e?void 0:e.cpuProfilingEnabled)&&void 0!==t&&t.call(e)||null!=e&&e.debugMode)&&(o=r.performance))),!0},i.disable=function(){s&&(u.clear(),n.clear(),l.clear(),o=void 0,s=!1)}}(p.performance||(p.performance={}))}(ts=ts||{}),function(e){var t={logEvent:e.noop,logErrEvent:e.noop,logPerfEvent:e.noop,logInfoEvent:e.noop,logStartCommand:e.noop,logStopCommand:e.noop,logStartUpdateProgram:e.noop,logStopUpdateProgram:e.noop,logStartUpdateGraph:e.noop,logStopUpdateGraph:e.noop,logStartResolveModule:e.noop,logStopResolveModule:e.noop,logStartParseSourceFile:e.noop,logStopParseSourceFile:e.noop,logStartReadFile:e.noop,logStopReadFile:e.noop,logStartBindFile:e.noop,logStopBindFile:e.noop,logStartScheduledOperation:e.noop,logStopScheduledOperation:e.noop};try{var r=null!==(r=process.env.TS_ETW_MODULE_PATH)&&void 0!==r?r:"./node_modules/@microsoft/typescript-etw",n=require(r)}catch(e){n=void 0}e.perfLogger=n&&n.logEvent?n:t}(ts=ts||{}),function(S){!function(i){var b;(e=i.Mode||(i.Mode={}))[e.Project=0]="Project",e[e.Build=1]="Build",e[e.Server=2]="Server";var o,a,e,s=0,c=0,x=[];i.startTracing=function(e,t,r){if(S.Debug.assert(!S.tracing,"Tracing already started"),void 0===b)try{b=require("fs")}catch(e){throw new Error("tracing requires having fs\n(original error: "+(e.message||e)+")")}o=e,void 0===a&&(a=S.combinePaths(t,"legend.json")),b.existsSync(t)||b.mkdirSync(t,{recursive:!0});var n=1===o?"."+process.pid+"-"+ ++s:2===o?"."+process.pid:"",e=S.combinePaths(t,"trace"+n+".json"),n=S.combinePaths(t,"types"+n+".json");x.push({configFilePath:r,tracePath:e,typesPath:n}),c=b.openSync(e,"w"),S.tracing=i,e={cat:"__metadata",ph:"M",ts:1e3*S.timestamp(),pid:1,tid:1},b.writeSync(c,"[\n"+[__assign({name:"process_name",args:{name:"tsc"}},e),__assign({name:"thread_name",args:{name:"Main"}},e),__assign(__assign({name:"TracingStartedInBrowser"},e),{cat:"disabled-by-default-devtools.timeline"})].map(function(e){return JSON.stringify(e)}).join(",\n"))},i.stopTracing=function(e){S.Debug.assert(S.tracing,"Tracing is not in progress"),S.Debug.assert(!!e==(2!==o)),b.writeSync(c,"\n]\n"),b.closeSync(c),S.tracing=void 0,e?function(e){var t,r,n;S.performance.mark("beginDumpTypes");var i=x[x.length-1].typesPath,a=b.openSync(i,"w"),o=new S.Map;b.writeSync(a,"[");for(var s=e.length,c=0;ct.length&&_.endsWith(e,t)}function c(e){return 0=t.length&&46===e.charCodeAt(e.length-t.length)){e=e.slice(e.length-t.length);if(r(e,t))return e}}function m(e,t,r){if(t)return function(e,t,r){if("string"==typeof t)return g(e,t,r)||"";for(var n=0,i=t;n type. Did you mean to write 'Promise<{0}>'?"),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."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(1103,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: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."),export_Asterisk_does_not_re_export_a_default:t(1195,e.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:t(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer: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."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:t(1208,e.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),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_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."),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."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:t(1262,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t(1263,e.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:t(1264,e.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:t(1265,e.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:t(1266,e.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),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."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:t(1312,e.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement: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_es2020_esnext_or_system:t(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', '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}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:t(1371,e.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import: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'."),Unexpected_token_Did_you_mean_or_rbrace:t(1381,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:t(1382,e.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:t(1383,e.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:t(1384,e.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1385,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1386,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1387,e.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1388,e.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:t(1389,e.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),Provides_a_root_package_name_when_using_outFile_with_declarations:t(1390,e.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:t(1391,e.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit."),An_import_alias_cannot_use_import_type:t(1392,e.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:t(1393,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:t(1394,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:t(1395,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:t(1396,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:t(1397,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:t(1398,e.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:t(1399,e.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:t(1400,e.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:t(1401,e.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:t(1402,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:t(1403,e.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:t(1404,e.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:t(1405,e.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:t(1406,e.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:t(1407,e.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:t(1408,e.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:t(1409,e.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:t(1410,e.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:t(1411,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:t(1412,e.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:t(1413,e.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:t(1414,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:t(1415,e.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:t(1416,e.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:t(1417,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:t(1418,e.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:t(1419,e.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:t(1420,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:t(1421,e.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:t(1422,e.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:t(1423,e.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:t(1424,e.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:t(1425,e.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:t(1426,e.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:t(1427,e.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:t(1428,e.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:t(1429,e.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:t(1430,e.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(1431,e.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:t(1432,e.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),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_or_its_corresponding_type_declarations:t(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: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_not_be_a_primitive:t(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: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_reference_itself:t(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,e.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","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}'."),constructor_cannot_be_used_as_a_parameter_property_name:t(2398,e.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: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}'."),Types_of_construct_signatures_are_incompatible:t(2419,e.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),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[]'."),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_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:t(2550,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the `lib` compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2: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_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:t(2576,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:t(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:t(2578,e.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:t(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:t(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:t(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later: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 '{1}' 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_save_dev_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_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:t(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:t(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: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."),_0_can_only_be_imported_by_using_a_default_import:t(2595,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2596,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:t(2597,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2598,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_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?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:t(2615,e.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:t(2616,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2617,e.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:t(2618,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:t(2619,e.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:t(2620,e.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:t(2621,e.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:t(2623,e.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:t(2624,e.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:t(2625,e.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:t(2626,e.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:t(2627,e.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_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'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:t(2690,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead: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'."),_0_has_no_exported_member_named_1_Did_you_mean_2:t(2724,e.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: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."),Are_you_missing_a_semicolon:t(2734,e.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1: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_Did_you_mean_typeof_0:t(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here: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."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:t(2783,e.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:t(2784,e.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:t(2785,e.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:t(2786,e.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:t(2787,e.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:t(2788,e.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:t(2789,e.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:t(2790,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:t(2791,e.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:t(2792,e.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:t(2793,e.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:t(2794,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:t(2795,e.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:t(2796,e.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:t(2797,e.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:t(2798,e.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:t(2799,e.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:t(2800,e.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),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_class_has_or_is_using_private_name_0:t(4021,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: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}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:t(4084,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict: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."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:t(4111,e.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),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."),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}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:t(5082,e.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:t(5083,e.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:t(5084,e.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:t(5085,e.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:t(5086,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:t(5087,e.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a `...` before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:t(5088,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:t(5089,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:t(5090,e.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:t(5091,e.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),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_react_react_jsx_or_react_jsxdev:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_react_react_jsx_or_react_jsxdev_6080","Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'."),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."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:t(6229,e.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line: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."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:t(6231,e.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:t(6232,e.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:t(6233,e.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:t(6234,e.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:t(6235,e.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:t(6236,e.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:t(6237,e.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:t(6238,e.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react"),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"),Referenced_project_0_may_not_disable_emit:t(6310,e.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2: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."),_0_is_deprecated:t(6385,e.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:t(6386,e.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:t(6387,e.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),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?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:t(6505,e.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:t(6803,e.DiagnosticCategory.Error,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6803","Require undeclared properties from index signatures to use element accesses."),Include_undefined_in_index_signature_results:t(6800,e.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6800","Include 'undefined' in index signature results"),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_i_save_dev_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_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: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."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:t(7056,e.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:t(7057,e.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),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}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:t(8033,e.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:t(8034,e.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),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."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:t(17016,e.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:t(17017,e.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1: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_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_private_property_0:t(90035,e.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:t(90036,e.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:t(90037,e.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:t(90038,e.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:t(90039,e.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:t(90041,e.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),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"),Convert_0_to_1_in_0:t(95003,e.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),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}'"),Convert_all_type_literals_to_mapped_type:t(95021,e.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),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_missing_call_parentheses:t(95067,e.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:t(95068,e.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),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}'"),Convert_invalid_character_to_its_html_entity_code:t(95100,e.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:t(95101,e.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:t(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:t(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:t(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:t(95105,e.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:t(95106,e.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:t(95107,e.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:t(95108,e.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:t(95109,e.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:t(95110,e.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:t(95111,e.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:t(95112,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:t(95113,e.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:t(95114,e.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:t(95115,e.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:t(95116,e.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:t(95117,e.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:t(95118,e.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:t(95119,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:t(95120,e.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:t(95121,e.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:t(95122,e.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:t(95123,e.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:t(95124,e.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:t(95125,e.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:t(95126,e.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:t(95127,e.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:t(95128,e.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:t(95129,e.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:t(95130,e.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:t(95131,e.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:t(95132,e.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:t(95133,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:t(95134,e.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:t(95135,e.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:t(95136,e.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:t(95137,e.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:t(95138,e.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:t(95139,e.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:t(95140,e.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:t(95141,e.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:t(95142,e.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:t(95143,e.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:t(95144,e.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:t(95145,e.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:t(95146,e.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:t(95147,e.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:t(95148,e.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:t(95149,e.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:t(95150,e.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:t(95151,e.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:t(95152,e.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:t(95153,e.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:t(95154,e.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:t(95155,e.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:t(95156,e.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:t(95157,e.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:t(95158,e.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:t(95159,e.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),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."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:t(18031,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:t(18032,e.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:t(18033,e.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:t(18034,e.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:t(18035,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.")}}(ts=ts||{}),function(K){function e(e){return 78<=e}K.tokenIsIdentifierOrKeyword=e,K.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||78<=e};var t=((t={abstract:125,any:128,as:126,asserts:127,bigint:155,boolean:131,break:80,case:81,catch:82,class:83,continue:85,const:84}).constructor=132,t.debugger=86,t.declare=133,t.default=87,t.delete=88,t.do=89,t.else=90,t.enum=91,t.export=92,t.extends=93,t.false=94,t.finally=95,t.for=96,t.from=153,t.function=97,t.get=134,t.if=98,t.implements=116,t.import=99,t.in=100,t.infer=135,t.instanceof=101,t.interface=117,t.intrinsic=136,t.is=137,t.keyof=138,t.let=118,t.module=139,t.namespace=140,t.never=141,t.new=102,t.null=103,t.number=144,t.object=145,t.package=119,t.private=120,t.protected=121,t.public=122,t.readonly=142,t.require=143,t.global=154,t.return=104,t.set=146,t.static=123,t.string=147,t.super=105,t.switch=106,t.symbol=148,t.this=107,t.throw=108,t.true=109,t.try=110,t.type=149,t.typeof=111,t.undefined=150,t.unique=151,t.unknown=152,t.var=112,t.void=113,t.while=114,t.with=115,t.yield=124,t.async=129,t.await=130,t.of=156,t),q=new K.Map(K.getEntries(t)),r=new K.Map(K.getEntries(__assign(__assign({},t),{"{":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,"^=":77,"||=":74,"&&=":75,"??=":76,"@":59,"`":61}))),n=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],i=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,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],a=[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],o=[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],s=[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],c=[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],W=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/,H=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function u(e,t){if(e=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:K.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+e.length+" , line map is correct? "+(void 0!==n?K.arraysEqual(e,p(n)):"unknown")));r=e[t]+r;return i?r>e[t+1]?e[t+1]:"string"==typeof n&&r>n.length?n.length:r:(t=e.start&&t=e.pos&&t<=e.end},_.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&d(t)<=d(e)},_.textSpanOverlapsWith=function(e,t){return void 0!==r(e,t)},_.textSpanOverlap=r,_.textSpanIntersectsWithTextSpan=function(e,t){return n(e.start,e.length,t.start,t.length)},_.textSpanIntersectsWith=function(e,t,r){return n(e.start,e.length,t,r)},_.decodedTextSpanIntersectsWith=n,_.textSpanIntersectsWithPosition=function(e,t){return t<=d(e)&&t>=e.start},_.textSpanIntersection=i,_.createTextSpan=a,_.createTextSpanFromBounds=p,_.textChangeRangeNewSpan=function(e){return a(e.span.start,e.newLength)},_.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},_.createTextChangeRange=f,_.unchangedTextChangeRange=f(a(0,0),0),_.collapseTextChangeRangesAcrossMultipleVersions=function(e){if(0===e.length)return _.unchangedTextChangeRange;if(1===e.length)return e[0];for(var t=e[0],r=t.span.start,n=d(t.span),i=r+t.newLength,a=1;a=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),S.Debug.assert(o<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),S.createTextSpanFromBounds(o,r.end)}function J(e){return 6===e.scriptKind}function z(e){return!!(2&S.getCombinedNodeFlags(e))}function U(e){return 203===e.kind&&99===e.expression.kind}function V(e){return S.isImportTypeNode(e)&&S.isLiteralTypeNode(e.argument)&&S.isStringLiteral(e.argument.literal)}function K(e){return 233===e.kind&&10===e.expression.kind}function q(e){return!!(1048576&b(e))}function W(e){return S.isIdentifier(e.name)&&!e.initializer}S.changesAffectModuleResolution=function(e,t){return e.configFilePath!==t.configFilePath||i(e,t)},S.optionsHaveModuleResolutionChanges=i,S.forEachAncestor=function(e,t){for(;;){var r=t(e);if("quit"===r)return;if(void 0!==r)return r;if(S.isSourceFile(e))return;e=e.parent}},S.forEachEntry=function(e,t){for(var r=e.entries(),n=r.next();!n.done;n=r.next()){var i=n.value,a=i[0],a=t(i[1],a);if(a)return a}},S.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}},S.copyEntries=function(e,r){e.forEach(function(e,t){r.set(t,e)})},S.usingSingleLineStringWriter=function(e){var t=r.getText();try{return e(r),r.getText()}finally{r.clear(),r.writeKeyword(t)}},S.getFullWidth=a,S.getResolvedModule=function(e,t){return e&&e.resolvedModules&&e.resolvedModules.get(t)},S.setResolvedModule=function(e,t,r){e.resolvedModules||(e.resolvedModules=new S.Map),e.resolvedModules.set(t,r)},S.setResolvedTypeReferenceDirective=function(e,t,r){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=new S.Map),e.resolvedTypeReferenceDirectiveNames.set(t,r)},S.projectReferenceIsEqualTo=function(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular},S.moduleResolutionIsEqualTo=function(e,t){return e.isExternalLibraryImport===t.isExternalLibraryImport&&e.extension===t.extension&&e.resolvedFileName===t.resolvedFileName&&e.originalPath===t.originalPath&&(e=e.packageId,t=t.packageId,e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version)},S.packageIdToString=function(e){var t=e.name,r=e.subModuleName;return(r?t+"/"+r:t)+"@"+e.version},S.typeDirectiveIsEqualTo=function(e,t){return e.resolvedFileName===t.resolvedFileName&&e.primary===t.primary},S.hasChangesInResolutions=function(e,t,r,n){S.Debug.assert(e.length===t.length);for(var i=0;i=S.ModuleKind.ES2015||!t.noImplicitUseStrict)))},S.isBlockScope=N,S.isDeclarationWithTypeParameters=function(e){switch(e.kind){case 324:case 331:case 313:return!0;default:return S.assertType(e),A(e)}},S.isDeclarationWithTypeParameterChildren=A,S.isAnyImportSyntax=F,S.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 261:case 260:case 232:case 252:case 251:case 256:case 254:case 253:case 255:return!0;default:return!1}},S.hasPossibleExternalModuleReference=function(e){return P(e)||S.isModuleDeclaration(e)||S.isImportTypeNode(e)||U(e)},S.isAnyImportOrReExport=P,S.getEnclosingBlockScopeContainer=function(e){return S.findAncestor(e.parent,function(e){return N(e,e.parent)})},S.declarationNameToString=w,S.getNameFromIndexInfo=function(e){return e.declaration?w(e.declaration.parameters[0].name):void 0},S.isComputedNonLiteralName=function(e){return 158===e.kind&&!lt(e.expression)},S.getTextOfPropertyName=I,S.entityNameToString=O,S.createDiagnosticForNode=function(e,t,r,n,i,a){return M(s(e),e,t,r,n,i,a)},S.createDiagnosticForNodeArray=function(e,t,r,n,i,a,o){var s=S.skipTrivia(e.text,t.pos);return en(e,s,t.end-s,r,n,i,a,o)},S.createDiagnosticForNodeInSourceFile=M,S.createDiagnosticForNodeFromMessageChain=function(e,t,r){var n=s(e),e=j(n,e);return R(n,e.start,e.length,t,r)},S.createFileDiagnosticFromMessageChain=R,S.createDiagnosticForFileFromMessageChain=function(e,t,r){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}},S.createDiagnosticForRange=function(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}},S.getSpanOfTokenAtPosition=B,S.getErrorSpanForNode=j,S.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},S.isJsonSourceFile=J,S.isEnumConst=function(e){return!!(2048&S.getCombinedModifierFlags(e))},S.isDeclarationReadonly=function(e){return!(!(64&S.getCombinedModifierFlags(e))||S.isParameterPropertyDeclaration(e,e.parent))},S.isVarConst=z,S.isLet=function(e){return!!(1&S.getCombinedNodeFlags(e))},S.isSuperCall=function(e){return 203===e.kind&&105===e.expression.kind},S.isImportCall=U,S.isImportMeta=function(e){return S.isMetaProperty(e)&&99===e.keywordToken&&"meta"===e.name.escapedText},S.isLiteralImportTypeNode=V,S.isPrologueDirective=K,S.isCustomPrologue=q,S.isHoistedFunction=function(e){return q(e)&&S.isFunctionDeclaration(e)},S.isHoistedVariableStatement=function(e){return q(e)&&S.isVariableStatement(e)&&S.every(e.declarationList.declarations,W)},S.getLeadingCommentRangesOfNode=function(e,t){return 11!==e.kind?S.getLeadingCommentRanges(t.text,e.pos):void 0},S.getJSDocCommentRanges=function(e,t){return e=160===e.kind||159===e.kind||208===e.kind||209===e.kind||207===e.kind?S.concatenate(S.getTrailingCommentRanges(t,e.pos),S.getLeadingCommentRanges(t,e.pos)):S.getLeadingCommentRanges(t,e.pos),S.filter(e,function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)})},S.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var H=/^(\/\/\/\s*/;S.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var G=/^(\/\/\/\s*/;function X(e){if(172<=e.kind&&e.kind<=195)return!0;switch(e.kind){case 128:case 152:case 144:case 155:case 147:case 131:case 148:case 145:case 150:case 141:return!0;case 113:return 212!==e.parent.kind;case 223:return!kr(e);case 159:return 190===e.parent.kind||185===e.parent.kind;case 78:(157===e.parent.kind&&e.parent.right===e||201===e.parent.kind&&e.parent.name===e)&&(e=e.parent),S.Debug.assert(78===e.kind||157===e.kind||201===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 157:case 201:case 107:var t=e.parent;if(176===t.kind)return!1;if(195===t.kind)return!t.isTypeOf;if(172<=t.kind&&t.kind<=195)return!0;switch(t.kind){case 223:return!kr(t);case 159:case 330:return e===t.constraint;case 163:case 162:case 160:case 249:return e===t.type;case 251:case 208:case 209:case 166:case 165:case 164:case 167:case 168:return e===t.type;case 169:case 170:case 171:case 206:return e===t.type;case 203:case 204:return S.contains(t.typeArguments,e);case 205:return!1}}return!1}function Q(e){if(e)switch(e.kind){case 198:case 291:case 160:case 288:case 163:case 162:case 289:case 249:return!0}return!1}function Y(e){return 250===e.parent.kind&&232===e.parent.parent.kind}function Z(e,t,r){return e.properties.filter(function(e){if(288!==e.kind)return!1;e=I(e.name);return t===e||!!r&&r===e})}function $(e){if(e&&e.statements.length){e=e.statements[0].expression;return S.tryCast(e,S.isObjectLiteralExpression)}}function ee(e,t){e=$(e);return e?Z(e,t):S.emptyArray}function te(e,t){for(S.Debug.assert(297!==e.kind);;){if(!(e=e.parent))return S.Debug.fail();switch(e.kind){case 158:if(S.isClassLike(e.parent.parent))return e;e=e.parent;break;case 161:160===e.parent.kind&&S.isClassElement(e.parent.parent)?e=e.parent.parent:S.isClassElement(e.parent)&&(e=e.parent);break;case 209:if(!t)continue;case 251:case 208:case 256:case 163:case 162:case 165:case 164:case 166:case 167:case 168:case 169:case 170:case 171:case 255:case 297:return e}}}function re(e){var t=e.kind;return(201===t||202===t)&&105===e.expression.kind}function ne(e,t,r){if(S.isNamedDeclaration(e)&&S.isPrivateIdentifier(e.name))return!1;switch(e.kind){case 252:return!0;case 163:return 252===t.kind;case 167:case 168:case 165:return void 0!==e.body&&252===t.kind;case 160:return void 0!==t.body&&(166===t.kind||165===t.kind||168===t.kind)&&252===r.kind}return!1}function ie(e,t,r){return void 0!==e.decorators&&ne(e,t,r)}function ae(e,t,r){return ie(e,t,r)||oe(e,t)}function oe(t,r){switch(t.kind){case 252:return S.some(t.members,function(e){return ae(e,t,r)});case 165:case 168:return S.some(t.parameters,function(e){return ie(e,t,r)});default:return!1}}function se(e){var t=e.parent;return(275===t.kind||274===t.kind||276===t.kind)&&t.tagName===e}function ce(e){switch(e.kind){case 105:case 103:case 109:case 94:case 13:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 224:case 206:case 225:case 207:case 208:case 221:case 209:case 212:case 210:case 211:case 214:case 215:case 216:case 217:case 220:case 218:case 222:case 273:case 274:case 277:case 219:case 213:case 226:return!0;case 157:for(;157===e.parent.kind;)e=e.parent;return 176===e.parent.kind||se(e);case 78:if(176===e.parent.kind||se(e))return!0;case 8:case 9:case 10:case 14:case 107:return ue(e);default:return!1}}function ue(e){var t=e.parent;switch(t.kind){case 249:case 160:case 163:case 162:case 291:case 288:case 198:return t.initializer===e;case 233:case 234:case 235:case 236:case 242:case 243:case 244:case 284:case 246:return t.expression===e;case 237:return t.initializer===e&&250!==t.initializer.kind||t.condition===e||t.incrementor===e;case 238:case 239:return t.initializer===e&&250!==t.initializer.kind||t.expression===e;case 206:case 224:case 228:case 158:return e===t.expression;case 161:case 283:case 282:case 290:return!0;case 223:return t.expression===e&&kr(t);case 289:return t.objectAssignmentInitializer===e;default:return ce(t)}}function le(e){for(;157===e.kind||78===e.kind;)e=e.parent;return 176===e.kind}function _e(e){return 260===e.kind&&272===e.moduleReference.kind}function de(e){return pe(e)}function pe(e){return!!e&&!!(131072&e.flags)}function fe(e,t){if(203!==e.kind)return!1;var r=e.expression,e=e.arguments;if(78!==r.kind||"require"!==r.escapedText)return!1;if(1!==e.length)return!1;e=e[0];return!t||S.isStringLiteralLike(e)}function ge(e,t){return 198===e.kind&&(e=e.parent.parent),S.isVariableDeclaration(e)&&!!e.initializer&&fe(qr(e.initializer),t)}function me(e){return S.isBinaryExpression(e)||Kr(e)||S.isIdentifier(e)||S.isCallExpression(e)}function ye(e){return pe(e)&&e.initializer&&S.isBinaryExpression(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&Nr(e.name)&&ve(e.name,e.initializer.left)?e.initializer.right:e.initializer}function he(e,t){if(S.isCallExpression(e)){var r=Ze(e.expression);return 208===r.kind||209===r.kind?e:void 0}return 208===e.kind||221===e.kind||209===e.kind||S.isObjectLiteralExpression(e)&&(0===e.properties.length||t)?e:void 0}function ve(e,t){if(mt(e)&&mt(t))return yt(e)===yt(t);if(S.isIdentifier(e)&&Ee(t)&&(107===t.expression.kind||S.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))){var r=Pe(t);return S.isPrivateIdentifier(r)&&S.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),ve(e,r)}return!(!Ee(e)||!Ee(t))&&(Ie(e)===Ie(t)&&ve(e.expression,t.expression))}function be(e){for(;Er(e,!0);)e=e.right;return e}function xe(e){return S.isIdentifier(e)&&"exports"===e.escapedText}function De(e){return S.isIdentifier(e)&&"module"===e.escapedText}function Se(e){return(S.isPropertyAccessExpression(e)||ke(e))&&De(e.expression)&&"exports"===Ie(e)}function Te(e){var t=function(e){if(S.isCallExpression(e)){if(!Ce(e))return 0;var t=e.arguments[0];return xe(t)||Se(t)?8:Ne(t)&&"prototype"===Ie(t)?9:7}if(62!==e.operatorToken.kind||!Kr(e.left)||function(e){return S.isVoidExpression(e)&&S.isNumericLiteral(e.expression)&&"0"===e.expression.text}(be(e)))return 0;if(Fe(e.left.expression,!0)&&"prototype"===Ie(e.left)&&S.isObjectLiteralExpression(Me(e)))return 6;return Oe(e.left)}(e);return 5===t||pe(e)?t:0}function Ce(e){return 3===S.length(e.arguments)&&S.isPropertyAccessExpression(e.expression)&&S.isIdentifier(e.expression.expression)&&"Object"===S.idText(e.expression.expression)&&"defineProperty"===S.idText(e.expression.name)&<(e.arguments[1])&&Fe(e.arguments[0],!0)}function Ee(e){return S.isPropertyAccessExpression(e)||ke(e)}function ke(e){return S.isElementAccessExpression(e)&&(lt(e.argumentExpression)||ft(e.argumentExpression))}function Ne(e,t){return S.isPropertyAccessExpression(e)&&(!t&&107===e.expression.kind||S.isIdentifier(e.name)&&Fe(e.expression,!0))||Ae(e,t)}function Ae(e,t){return ke(e)&&(!t&&107===e.expression.kind||Nr(e.expression)||Ne(e.expression,!0))}function Fe(e,t){return Nr(e)||Ne(e,t)}function Pe(e){return S.isPropertyAccessExpression(e)?e.name:e.argumentExpression}function we(e){if(S.isPropertyAccessExpression(e))return e.name;var t=Ze(e.argumentExpression);return S.isNumericLiteral(t)||S.isStringLiteralLike(t)?t:e}function Ie(e){var t=we(e);if(t){if(S.isIdentifier(t))return t.escapedText;if(S.isStringLiteralLike(t)||S.isNumericLiteral(t))return S.escapeLeadingUnderscores(t.text)}if(S.isElementAccessExpression(e)&&ft(e.argumentExpression))return ht(S.idText(e.argumentExpression.name))}function Oe(e){if(107===e.expression.kind)return 4;if(Se(e))return 2;if(Fe(e.expression,!0)){if(Fr(e.expression))return 3;for(var t=e;!S.isIdentifier(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===Ie(t))&&Ne(e))return 1;if(Fe(e,!0)||S.isElementAccessExpression(e)&&pt(e))return 5}return 0}function Me(e){for(;S.isBinaryExpression(e.right);)e=e.right;return e.right}function Le(e){switch(e.parent.kind){case 261:case 267:return e.parent;case 272:return e.parent.parent;case 203:return U(e.parent)||fe(e.parent,!1)?e.parent:void 0;case 191:return S.Debug.assert(S.isStringLiteral(e)),S.tryCast(e.parent.parent,S.isImportTypeNode);default:return}}function Re(e){switch(e.kind){case 261:case 267:return e.moduleSpecifier;case 260:return 272===e.moduleReference.kind?e.moduleReference.expression:void 0;case 195:return V(e)?e.argument.literal:void 0;case 203:return e.arguments[0];case 256:return 10===e.name.kind?e.name:void 0;default:return S.Debug.assertNever(e)}}function Be(e){return 331===e.kind||324===e.kind||325===e.kind}function je(e){return S.isExpressionStatement(e)&&S.isBinaryExpression(e.expression)&&0!==Te(e.expression)&&S.isBinaryExpression(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Je(e){switch(e.kind){case 232:var t=ze(e);return t&&t.initializer;case 163:case 288:return e.initializer}}function ze(e){return S.isVariableStatement(e)?S.firstOrUndefined(e.declarationList.declarations):void 0}function Ue(e){return S.isModuleDeclaration(e)&&e.body&&256===e.body.kind?e.body:void 0}function Ve(e){var t=e.parent;return 288===t.kind||266===t.kind||163===t.kind||233===t.kind&&201===e.kind||Ue(t)||S.isBinaryExpression(e)&&62===e.operatorToken.kind?t:t.parent&&(ze(t.parent)===e||S.isBinaryExpression(t)&&62===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(ze(t.parent.parent)||Je(t.parent.parent)===e||je(t.parent.parent))?t.parent.parent:void 0}function Ke(e){e=qe(e);return e&&S.isFunctionLike(e)?e:void 0}function qe(e){var t=We(e);if(t)return je(t)||(e=t,S.isExpressionStatement(e)&&S.isBinaryExpression(e.expression)&&62===e.expression.operatorToken.kind?be(e.expression):void 0)||Je(t)||ze(t)||Ue(t)||t}function We(e){var t=He(e);if(t){e=t.parent;return e&&e.jsDoc&&t===S.lastOrUndefined(e.jsDoc)?e:void 0}}function He(e){return S.findAncestor(e.parent,S.isJSDoc)}function Ge(e){var t=S.isJSDocParameterTag(e)?e.typeExpression&&e.typeExpression.type:e.type;return void 0!==e.dotDotDotToken||!!t&&309===t.kind}function Xe(e){for(var t=e.parent;;){switch(t.kind){case 216:var r=t.operatorToken.kind;return Sr(r)&&t.left===e?62===r||Dr(r)?1:2:0;case 214:case 215:r=t.operator;return 45===r||46===r?2:0;case 238:case 239:return t.initializer===e?1:0;case 207:case 199:case 220:case 225:e=t;break;case 289:if(t.name!==e)return 0;e=t.parent;break;case 288:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function Qe(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function Ye(e){return Qe(e,207)}function Ze(e){return S.skipOuterExpressions(e,1)}function $e(e){return Nr(e)||S.isClassExpression(e)}function et(e){return $e(tt(e))}function tt(e){return S.isExportAssignment(e)?e.expression:e.right}function rt(e){var t=nt(e);if(t&&pe(e)){e=S.getJSDocAugmentsTag(e);if(e)return e.class}return t}function nt(e){e=ot(e.heritageClauses,93);return e&&0S.getRootLength(t)&&!n(t)&&(e(S.getDirectoryPath(t),r,n),r(t))}(S.getDirectoryPath(S.normalizePath(t)),a,o),i(t,r,n)}},S.getLineOfLocalPosition=function(e,t){return e=S.getLineStarts(e),S.computeLineOfPosition(e,t)},S.getLineOfLocalPositionFromLineMap=$t,S.getFirstConstructorWithBody=function(e){return S.find(e.members,function(e){return S.isConstructorDeclaration(e)&&l(e.body)})},S.getSetAccessorValueParameter=er,S.getSetAccessorTypeAnnotationNode=function(e){return(e=er(e))&&e.type},S.getThisParameter=function(e){if(e.parameters.length&&!S.isJSDocSignature(e)){e=e.parameters[0];if(tr(e))return e}},S.parameterIsThisKeyword=tr,S.isThisIdentifier=rr,S.identifierIsThisKeyword=nr,S.getAllAccessorDeclarations=function(e,t){var r,n,i,a;return dt(t)?167===(r=t).kind?i=t:168===t.kind?a=t:S.Debug.fail("Accessor has wrong kind"):S.forEach(e,function(e){S.isAccessor(e)&&lr(e,32)===lr(t,32)&>(e.name)===gt(t.name)&&(r?n=n||e:r=e,167!==e.kind||i||(i=e),168!==e.kind||a||(a=e))}),{firstAccessor:r,secondAccessor:n,getAccessor:i,setAccessor:a}},S.getEffectiveTypeAnnotationNode=ir,S.getTypeAnnotationNode=function(e){return e.type},S.getEffectiveReturnTypeNode=function(e){return S.isJSDocSignature(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(pe(e)?S.getJSDocReturnType(e):void 0)},S.getJSDocTypeParameterDeclarations=function(e){return S.flatMap(S.getJSDocTags(e),function(e){return t=e,!S.isJSDocTemplateTag(t)||311===t.parent.kind&&t.parent.tags.some(Be)?void 0:e.typeParameters;var t})},S.getEffectiveSetAccessorTypeAnnotationNode=function(e){return(e=er(e))&&ir(e)},S.emitNewLineBeforeLeadingComments=ar,S.emitNewLineBeforeLeadingCommentsOfPosition=or,S.emitNewLineBeforeLeadingCommentOfPosition=function(e,t,r,n){r!==n&&$t(e,r)!==$t(e,n)&&t.writeLine()},S.emitComments=sr,S.emitDetachedComments=function(t,e,r,n,i,a,o){var s,c;if(o?0===i.pos&&(s=S.filter(S.getLeadingCommentRanges(t,i.pos),function(e){return f(t,e.pos)})):s=S.getLeadingCommentRanges(t,i.pos),s){for(var u=[],l=void 0,_=0,d=s;_>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):S.Debug.assert(!1,"Unexpected code point")}return t}(e),s=0,c=o.length;s>2,r=(3&o[s])<<4|o[s+1]>>4,n=(15&o[s+1])<<2|o[s+2]>>6,i=63&o[s+2],c<=s+1?n=i=64:c<=s+2&&(i=64),a+=Pr.charAt(t)+Pr.charAt(r)+Pr.charAt(n)+Pr.charAt(i),s+=3;return a}function Ir(e,t){return void 0===t&&(t=e),S.Debug.assert(e<=t||-1===t),{pos:e,end:t}}function Or(e,t){return Ir(t,e.end)}function Mr(e){return e.decorators&&0r.next.length)return 1}return 0}(e.messageText,t.messageText)||0}function on(e){return e.target||0}function sn(e){return"number"==typeof e.module?e.module:2<=on(e)?S.ModuleKind.ES2015:S.ModuleKind.CommonJS}function cn(e){return!(!e.declaration&&!e.composite)}function un(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function ln(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function _n(e,t){return t.strictFlag?un(e,t.name):e[t.name]}function dn(e){for(var t=!1,r=0;r>4&3,a=(15&o)<<4|s>>2&15,o=(3&s)<<6|63&c;0==a&&0!==s?n.push(u):0==o&&0!==c?n.push(u,a):n.push(u,a,o),i+=4}return function(e){for(var t="",r=0,n=e.length;rt;)if(!S.isWhiteSpaceLike(r.text.charCodeAt(e)))return e}(e,t,r),S.getLinesBetweenPositions(r,null!=n?n:t,e)},S.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(e,t,r,n){return n=S.skipTrivia(r.text,e,!1,n),S.getLinesBetweenPositions(r,e,Math.min(t,n))},S.isDeclarationNameOfEnumOrNamespace=function(e){var t=S.getParseTreeNode(e);if(t)switch(t.parent.kind){case 255:case 256:return t===t.parent.name}return!1},S.getInitializedVariables=function(e){return S.filter(e.declarations,jr)},S.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},S.closeFileWatcher=function(e){e.close()},S.getCheckFlags=Jr,S.getDeclarationModifierFlagsFromSymbol=function(e){if(e.valueDeclaration){var t=S.getCombinedModifierFlags(e.valueDeclaration);return e.parent&&32&e.parent.flags?t:-29&t}if(6&Jr(e)){t=e.checkFlags;return(1024&t?8:256&t?4:16)|(2048&t?32:0)}return 4194304&e.flags?36:0},S.skipAlias=function(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e},S.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},S.isWriteOnlyAccess=function(e){return 1===zr(e)},S.isWriteAccess=function(e){return 0!==zr(e)},(Pn={})[Pn.Read=0]="Read",Pn[Pn.Write=1]="Write",Pn[Pn.ReadWrite=2]="ReadWrite",S.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},S.clearMap=function(e,t){e.forEach(t),e.clear()},S.mutateMapSkippingNewValues=Ur,S.mutateMap=function(r,e,t){Ur(r,e,t);var n=t.createNewValue;e.forEach(function(e,t){r.has(t)||r.set(t,n(t,e))})},S.isAbstractConstructorSymbol=function(e){if(32&e.flags){e=Vr(e);return!!e&&lr(e,128)}return!1},S.getClassLikeDeclarationOfSymbol=Vr,S.getObjectFlags=function(e){return 3899393&e.flags?e.objectFlags:0},S.typeHasCallOrConstructSignatures=function(e,t){return 0!==t.getSignaturesOfType(e,0).length||0!==t.getSignaturesOfType(e,1).length},S.forSomeAncestorDirectory=function(e,t){return!!S.forEachAncestorDirectory(e,function(e){return!!t(e)||void 0})},S.isUMDExportSymbol=function(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&S.isNamespaceExportDeclaration(e.declarations[0])},S.showModuleSpecifier=function(e){return e=e.moduleSpecifier,S.isStringLiteral(e)?e.text:h(e)},S.getLastChild=function(e){var r;return S.forEachChild(e,function(e){l(e)&&(r=e)},function(e){for(var t=e.length-1;0<=t;t--)if(l(e[t])){r=e[t];break}}),r},S.addToSeen=function(e,t,r){return void 0===r&&(r=!0),t=String(t),!e.has(t)&&(e.set(t,r),!0)},S.isObjectTypeDeclaration=function(e){return S.isClassLike(e)||S.isInterfaceDeclaration(e)||S.isTypeLiteralNode(e)},S.isTypeNodeKind=function(e){return 172<=e&&e<=195||128===e||152===e||144===e||155===e||145===e||131===e||147===e||148===e||113===e||150===e||141===e||223===e||303===e||304===e||305===e||306===e||307===e||308===e||309===e},S.isAccessExpression=Kr,S.getNameOfAccessExpression=function(e){return 201===e.kind?e.name:(S.Debug.assert(202===e.kind),e.argumentExpression)},S.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},S.isNamedImportsOrExports=function(e){return 264===e.kind||268===e.kind},S.getLeftmostAccessExpression=qr,S.getLeftmostExpression=function(e,t){for(;;){switch(e.kind){case 215:e=e.operand;continue;case 216:e=e.left;continue;case 217:e=e.condition;continue;case 205:e=e.tag;continue;case 203:if(t)return e;case 224:case 202:case 201:case 225:case 336:e=e.expression;continue}return e}},S.objectAllocator={getNodeConstructor:function(){return Gr},getTokenConstructor:function(){return Xr},getIdentifierConstructor:function(){return Qr},getPrivateIdentifierConstructor:function(){return Gr},getSourceFileConstructor:function(){return Gr},getSymbolConstructor:function(){return e},getTypeConstructor:function(){return Wr},getSignatureConstructor:function(){return Hr},getSourceMapSourceConstructor:function(){return Yr}},S.setObjectAllocator=function(e){S.objectAllocator=e},S.formatStringFromArgs=Zr,S.setLocalizedDiagnosticMessages=function(e){S.localizedDiagnosticMessages=e},S.getLocaleSpecificMessage=$r,S.createDetachedDiagnostic=function(e,t,r,n){L(void 0,t,r);var i=$r(n);return 4>>4)+(15&a?1:0)),s=i-1,c=0;2<=s;s--,c+=t){var u=c>>>4,l=e.charCodeAt(s),l=(l<=57?l-48:10+l-(l<=70?65:97))<<(15&c);o[u]|=l;l=l>>>16;l&&(o[u+1]|=l)}for(var _="",d=o.length-1,p=!0;p;){for(var f=0,p=!1,u=d;0<=u;u--){var g=f<<16|o[u],m=g/10|0,f=g-10*(o[u]=m);m&&!p&&(d=u,p=!0)}_=f+_}return _},S.pseudoBigIntToString=function(e){var t=e.negative,e=e.base10Value;return(t&&"0"!==e?"-":"")+e},S.isValidTypeOnlyAliasUseSite=function(e){return!!(8388608&e.flags)||le(e)||function(e){if(78!==e.kind)return!1;e=S.findAncestor(e.parent,function(e){switch(e.kind){case 286:return!0;case 201:case 223:return!1;default:return"quit"}});return 116===(null==e?void 0:e.token)||253===(null==e?void 0:e.parent.kind)}(e)||function(e){for(;78===e.kind||201===e.kind;)e=e.parent;if(158!==e.kind)return!1;if(lr(e.parent,128))return!0;var t=e.parent.parent.kind;return 253===t||177===t}(e)||!ce(e)},S.typeOnlyDeclarationIsExport=function(e){return 270===e.kind},S.isIdentifierTypeReference=function(e){return S.isTypeReferenceNode(e)&&S.isIdentifier(e.typeName)},S.arrayIsHomogeneous=function(e,t){if(void 0===t&&(t=S.equateValues),e.length<2)return!0;for(var r=e[0],n=1,i=e.length;n= 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 };'},d.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 };'},d.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 };"},d.assignHelper={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},d.awaitHelper={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},d.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[d.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},d.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[d.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},d.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 };'},d.restHelper={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},d.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 };'},d.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},d.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},d.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 };'},d.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from) {\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\n to[j] = from[i];\n return to;\n };"},d.valuesHelper={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},d.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},d.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"},d.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'},d.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[d.createBindingHelper,d.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'},d.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},d.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[d.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},d.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__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 };'},d.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__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 };'},d.getAllUnscopedEmitHelpers=function(){return t=t||d.arrayToMap([d.decorateHelper,d.metadataHelper,d.paramHelper,d.assignHelper,d.awaitHelper,d.asyncGeneratorHelper,d.asyncDelegator,d.asyncValues,d.restHelper,d.awaiterHelper,d.extendsHelper,d.templateObjectHelper,d.spreadArrayHelper,d.valuesHelper,d.readHelper,d.generatorHelper,d.importStarHelper,d.importDefaultHelper,d.exportStarHelper,d.classPrivateFieldGetHelper,d.classPrivateFieldSetHelper,d.createBindingHelper,d.setModuleDefaultHelper],function(e){return e.name})},d.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e(__makeTemplateObject(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},d.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e(__makeTemplateObject(["\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")},d.isCallToHelper=function(e,t){return d.isCallExpression(e)&&d.isIdentifier(e.expression)&&4096&d.getEmitFlags(e.expression)&&e.expression.escapedText===t}}(ts=ts||{}),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isIdentifier=function(e){return 78===e.kind},e.isQualifiedName=function(e){return 157===e.kind},e.isComputedPropertyName=function(e){return 158===e.kind},e.isPrivateIdentifier=function(e){return 79===e.kind},e.isSuperKeyword=function(e){return 105===e.kind},e.isImportKeyword=function(e){return 99===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isTypeParameterDeclaration=function(e){return 159===e.kind},e.isParameter=function(e){return 160===e.kind},e.isDecorator=function(e){return 161===e.kind},e.isPropertySignature=function(e){return 162===e.kind},e.isPropertyDeclaration=function(e){return 163===e.kind},e.isMethodSignature=function(e){return 164===e.kind},e.isMethodDeclaration=function(e){return 165===e.kind},e.isConstructorDeclaration=function(e){return 166===e.kind},e.isGetAccessorDeclaration=function(e){return 167===e.kind},e.isSetAccessorDeclaration=function(e){return 168===e.kind},e.isCallSignatureDeclaration=function(e){return 169===e.kind},e.isConstructSignatureDeclaration=function(e){return 170===e.kind},e.isIndexSignatureDeclaration=function(e){return 171===e.kind},e.isTypePredicateNode=function(e){return 172===e.kind},e.isTypeReferenceNode=function(e){return 173===e.kind},e.isFunctionTypeNode=function(e){return 174===e.kind},e.isConstructorTypeNode=function(e){return 175===e.kind},e.isTypeQueryNode=function(e){return 176===e.kind},e.isTypeLiteralNode=function(e){return 177===e.kind},e.isArrayTypeNode=function(e){return 178===e.kind},e.isTupleTypeNode=function(e){return 179===e.kind},e.isNamedTupleMember=function(e){return 192===e.kind},e.isOptionalTypeNode=function(e){return 180===e.kind},e.isRestTypeNode=function(e){return 181===e.kind},e.isUnionTypeNode=function(e){return 182===e.kind},e.isIntersectionTypeNode=function(e){return 183===e.kind},e.isConditionalTypeNode=function(e){return 184===e.kind},e.isInferTypeNode=function(e){return 185===e.kind},e.isParenthesizedTypeNode=function(e){return 186===e.kind},e.isThisTypeNode=function(e){return 187===e.kind},e.isTypeOperatorNode=function(e){return 188===e.kind},e.isIndexedAccessTypeNode=function(e){return 189===e.kind},e.isMappedTypeNode=function(e){return 190===e.kind},e.isLiteralTypeNode=function(e){return 191===e.kind},e.isImportTypeNode=function(e){return 195===e.kind},e.isTemplateLiteralTypeSpan=function(e){return 194===e.kind},e.isTemplateLiteralTypeNode=function(e){return 193===e.kind},e.isObjectBindingPattern=function(e){return 196===e.kind},e.isArrayBindingPattern=function(e){return 197===e.kind},e.isBindingElement=function(e){return 198===e.kind},e.isArrayLiteralExpression=function(e){return 199===e.kind},e.isObjectLiteralExpression=function(e){return 200===e.kind},e.isPropertyAccessExpression=function(e){return 201===e.kind},e.isElementAccessExpression=function(e){return 202===e.kind},e.isCallExpression=function(e){return 203===e.kind},e.isNewExpression=function(e){return 204===e.kind},e.isTaggedTemplateExpression=function(e){return 205===e.kind},e.isTypeAssertionExpression=function(e){return 206===e.kind},e.isParenthesizedExpression=function(e){return 207===e.kind},e.isFunctionExpression=function(e){return 208===e.kind},e.isArrowFunction=function(e){return 209===e.kind},e.isDeleteExpression=function(e){return 210===e.kind},e.isTypeOfExpression=function(e){return 211===e.kind},e.isVoidExpression=function(e){return 212===e.kind},e.isAwaitExpression=function(e){return 213===e.kind},e.isPrefixUnaryExpression=function(e){return 214===e.kind},e.isPostfixUnaryExpression=function(e){return 215===e.kind},e.isBinaryExpression=function(e){return 216===e.kind},e.isConditionalExpression=function(e){return 217===e.kind},e.isTemplateExpression=function(e){return 218===e.kind},e.isYieldExpression=function(e){return 219===e.kind},e.isSpreadElement=function(e){return 220===e.kind},e.isClassExpression=function(e){return 221===e.kind},e.isOmittedExpression=function(e){return 222===e.kind},e.isExpressionWithTypeArguments=function(e){return 223===e.kind},e.isAsExpression=function(e){return 224===e.kind},e.isNonNullExpression=function(e){return 225===e.kind},e.isMetaProperty=function(e){return 226===e.kind},e.isSyntheticExpression=function(e){return 227===e.kind},e.isPartiallyEmittedExpression=function(e){return 336===e.kind},e.isCommaListExpression=function(e){return 337===e.kind},e.isTemplateSpan=function(e){return 228===e.kind},e.isSemicolonClassElement=function(e){return 229===e.kind},e.isBlock=function(e){return 230===e.kind},e.isVariableStatement=function(e){return 232===e.kind},e.isEmptyStatement=function(e){return 231===e.kind},e.isExpressionStatement=function(e){return 233===e.kind},e.isIfStatement=function(e){return 234===e.kind},e.isDoStatement=function(e){return 235===e.kind},e.isWhileStatement=function(e){return 236===e.kind},e.isForStatement=function(e){return 237===e.kind},e.isForInStatement=function(e){return 238===e.kind},e.isForOfStatement=function(e){return 239===e.kind},e.isContinueStatement=function(e){return 240===e.kind},e.isBreakStatement=function(e){return 241===e.kind},e.isReturnStatement=function(e){return 242===e.kind},e.isWithStatement=function(e){return 243===e.kind},e.isSwitchStatement=function(e){return 244===e.kind},e.isLabeledStatement=function(e){return 245===e.kind},e.isThrowStatement=function(e){return 246===e.kind},e.isTryStatement=function(e){return 247===e.kind},e.isDebuggerStatement=function(e){return 248===e.kind},e.isVariableDeclaration=function(e){return 249===e.kind},e.isVariableDeclarationList=function(e){return 250===e.kind},e.isFunctionDeclaration=function(e){return 251===e.kind},e.isClassDeclaration=function(e){return 252===e.kind},e.isInterfaceDeclaration=function(e){return 253===e.kind},e.isTypeAliasDeclaration=function(e){return 254===e.kind},e.isEnumDeclaration=function(e){return 255===e.kind},e.isModuleDeclaration=function(e){return 256===e.kind},e.isModuleBlock=function(e){return 257===e.kind},e.isCaseBlock=function(e){return 258===e.kind},e.isNamespaceExportDeclaration=function(e){return 259===e.kind},e.isImportEqualsDeclaration=function(e){return 260===e.kind},e.isImportDeclaration=function(e){return 261===e.kind},e.isImportClause=function(e){return 262===e.kind},e.isNamespaceImport=function(e){return 263===e.kind},e.isNamespaceExport=function(e){return 269===e.kind},e.isNamedImports=function(e){return 264===e.kind},e.isImportSpecifier=function(e){return 265===e.kind},e.isExportAssignment=function(e){return 266===e.kind},e.isExportDeclaration=function(e){return 267===e.kind},e.isNamedExports=function(e){return 268===e.kind},e.isExportSpecifier=function(e){return 270===e.kind},e.isMissingDeclaration=function(e){return 271===e.kind},e.isNotEmittedStatement=function(e){return 335===e.kind},e.isSyntheticReference=function(e){return 340===e.kind},e.isMergeDeclarationMarker=function(e){return 338===e.kind},e.isEndOfDeclarationMarker=function(e){return 339===e.kind},e.isExternalModuleReference=function(e){return 272===e.kind},e.isJsxElement=function(e){return 273===e.kind},e.isJsxSelfClosingElement=function(e){return 274===e.kind},e.isJsxOpeningElement=function(e){return 275===e.kind},e.isJsxClosingElement=function(e){return 276===e.kind},e.isJsxFragment=function(e){return 277===e.kind},e.isJsxOpeningFragment=function(e){return 278===e.kind},e.isJsxClosingFragment=function(e){return 279===e.kind},e.isJsxAttribute=function(e){return 280===e.kind},e.isJsxAttributes=function(e){return 281===e.kind},e.isJsxSpreadAttribute=function(e){return 282===e.kind},e.isJsxExpression=function(e){return 283===e.kind},e.isCaseClause=function(e){return 284===e.kind},e.isDefaultClause=function(e){return 285===e.kind},e.isHeritageClause=function(e){return 286===e.kind},e.isCatchClause=function(e){return 287===e.kind},e.isPropertyAssignment=function(e){return 288===e.kind},e.isShorthandPropertyAssignment=function(e){return 289===e.kind},e.isSpreadAssignment=function(e){return 290===e.kind},e.isEnumMember=function(e){return 291===e.kind},e.isUnparsedPrepend=function(e){return 293===e.kind},e.isSourceFile=function(e){return 297===e.kind},e.isBundle=function(e){return 298===e.kind},e.isUnparsedSource=function(e){return 299===e.kind},e.isJSDocTypeExpression=function(e){return 301===e.kind},e.isJSDocNameReference=function(e){return 302===e.kind},e.isJSDocAllType=function(e){return 303===e.kind},e.isJSDocUnknownType=function(e){return 304===e.kind},e.isJSDocNullableType=function(e){return 305===e.kind},e.isJSDocNonNullableType=function(e){return 306===e.kind},e.isJSDocOptionalType=function(e){return 307===e.kind},e.isJSDocFunctionType=function(e){return 308===e.kind},e.isJSDocVariadicType=function(e){return 309===e.kind},e.isJSDocNamepathType=function(e){return 310===e.kind},e.isJSDoc=function(e){return 311===e.kind},e.isJSDocTypeLiteral=function(e){return 312===e.kind},e.isJSDocSignature=function(e){return 313===e.kind},e.isJSDocAugmentsTag=function(e){return 315===e.kind},e.isJSDocAuthorTag=function(e){return 317===e.kind},e.isJSDocClassTag=function(e){return 319===e.kind},e.isJSDocCallbackTag=function(e){return 324===e.kind},e.isJSDocPublicTag=function(e){return 320===e.kind},e.isJSDocPrivateTag=function(e){return 321===e.kind},e.isJSDocProtectedTag=function(e){return 322===e.kind},e.isJSDocReadonlyTag=function(e){return 323===e.kind},e.isJSDocDeprecatedTag=function(e){return 318===e.kind},e.isJSDocSeeTag=function(e){return 332===e.kind},e.isJSDocEnumTag=function(e){return 325===e.kind},e.isJSDocParameterTag=function(e){return 326===e.kind},e.isJSDocReturnTag=function(e){return 327===e.kind},e.isJSDocThisTag=function(e){return 328===e.kind},e.isJSDocTypeTag=function(e){return 329===e.kind},e.isJSDocTemplateTag=function(e){return 330===e.kind},e.isJSDocTypedefTag=function(e){return 331===e.kind},e.isJSDocUnknownTag=function(e){return 314===e.kind},e.isJSDocPropertyTag=function(e){return 333===e.kind},e.isJSDocImplementsTag=function(e){return 316===e.kind},e.isSyntaxList=function(e){return 334===e.kind}}(ts=ts||{}),function(f){function l(e,t,r,n){if(f.isComputedPropertyName(r))return f.setTextRange(e.createElementAccessExpression(t,r.expression),n);r=f.setTextRange(f.isIdentifierOrPrivateIdentifier(r)?e.createPropertyAccessExpression(t,r):e.createElementAccessExpression(t,r),r);return f.getOrCreateEmitNode(r).flags|=64,r}function g(e,t){e=f.parseNodeFactory.createIdentifier(e||"React");return f.setParent(e,f.getParseTreeNode(t)),e}function m(e,t,r){if(f.isQualifiedName(t)){var n=m(e,t.left,r),i=e.createIdentifier(f.idText(t.right));return i.escapedText=t.right.escapedText,e.createPropertyAccessExpression(n,i)}return g(f.idText(t),r)}function y(e,t,r,n){return t?m(e,t,n):e.createPropertyAccessExpression(g(r,n),"createElement")}function _(e,t){return f.isIdentifier(t)?e.createStringLiteralFromNode(t):f.isComputedPropertyName(t)?f.setParent(f.setTextRange(e.cloneNode(t.expression),t.expression),t.expression.parent):f.setParent(f.setTextRange(e.cloneNode(t),t),t.parent)}function i(e){return f.isStringLiteral(e.expression)&&"use strict"===e.expression.text}function r(e,t){switch(void 0===t&&(t=15),e.kind){case 207:return 0!=(1&t);case 206:case 224:return 0!=(2&t);case 225:return 0!=(4&t);case 336:return 0!=(8&t)}return!1}function t(e,t){for(void 0===t&&(t=15);r(e,t);)e=e.expression;return e}function h(e){return f.setStartsOnNewLine(e,!0)}function u(e){e=f.getOriginalNode(e,f.isSourceFile),e=e&&e.emitNode;return e&&e.externalHelpersModuleName}function p(e,t,r,n,i){if(r.importHelpers&&f.isEffectiveExternalModule(t,r)){var a=u(t);if(a)return a;var a=f.getEmitModuleKind(r),o=(n||r.esModuleInterop&&i)&&a!==f.ModuleKind.System&&a=f.ModuleKind.ES2015&&c<=f.ModuleKind.ESNext){c=f.getEmitHelpers(n);if(c){for(var u=[],l=0,_=c;l<_.length;l++){var d=_[l];d.scoped||(d=d.importName)&&f.pushIfUnique(u,d)}f.some(u)&&(u.sort(f.compareStringsCaseSensitive),s=t.createNamedImports(f.map(u,function(e){return f.isFileLevelUniqueName(n,e)?t.createImportSpecifier(void 0,t.createIdentifier(e)):t.createImportSpecifier(t.createIdentifier(e),r.getUnscopedHelperName(e))})),c=f.getOriginalNode(n,f.isSourceFile),f.getOrCreateEmitNode(c).externalHelpers=!0)}}else{o=p(t,n,e,i,a||o);o&&(s=t.createNamespaceImport(o))}if(s){s=t.createImportDeclaration(void 0,void 0,t.createImportClause(!1,void 0,s),t.createStringLiteral(f.externalHelpersModuleNameText));return f.addEmitFlags(s,67108864),s}}},f.getOrCreateExternalHelpersModuleNameIfNeeded=p,f.getLocalNameForExternalImport=function(e,t,r){var n=f.getNamespaceDeclarationNode(t);return!n||f.isDefaultImport(t)||f.isExportNamespaceAsDefaultDeclaration(t)?261===t.kind&&t.importClause||267===t.kind&&t.moduleSpecifier?e.getGeneratedNameForNode(t):void 0:(n=n.name,f.isGeneratedIdentifier(n)?n:e.createIdentifier(f.getSourceTextOfNodeFromSourceFile(r,n)||f.idText(n)))},f.getExternalModuleNameLiteral=function(e,t,r,n,i,a){var o=f.getExternalModuleName(t);if(o&&f.isStringLiteral(o))return t=t,n=n,a=a,s(e,i.getExternalModuleFileFromDeclaration(t),n,a)||function(e,t,r){t=r.renamedDependencies&&r.renamedDependencies.get(t.text);return t?e.createStringLiteral(t):void 0}(e,o,r)||e.cloneNode(o)},f.tryGetModuleNameFromFile=s,f.getInitializerOfBindingOrAssignmentElement=function e(t){if(f.isDeclarationBindingElement(t))return t.initializer;if(f.isPropertyAssignment(t)){var r=t.initializer;return f.isAssignmentExpression(r,!0)?r.right:void 0}return f.isShorthandPropertyAssignment(t)?t.objectAssignmentInitializer:f.isAssignmentExpression(t,!0)?t.right:f.isSpreadElement(t)?e(t.expression):void 0},f.getTargetOfBindingOrAssignmentElement=n,f.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 160:case 198:return e.dotDotDotToken;case 220:case 290:return e}},f.getPropertyNameOfBindingOrAssignmentElement=function(e){var t=a(e);return f.Debug.assert(!!t||f.isSpreadAssignment(e),"Invalid property name for binding element."),t},f.tryGetPropertyNameOfBindingOrAssignmentElement=a,f.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 196:case 197:case 199:return e.elements;case 200:return e.properties}},f.getJSDocTypeAliasName=function(e){if(e)for(var t=e;;){if(f.isIdentifier(t)||!t.body)return f.isIdentifier(t)?t:t.name;t=t.body}},f.canHaveModifiers=function(e){return 160===(e=e.kind)||162===e||163===e||164===e||165===e||166===e||167===e||168===e||171===e||208===e||209===e||221===e||232===e||251===e||252===e||253===e||254===e||255===e||256===e||260===e||261===e||266===e||267===e},f.isExportModifier=function(e){return 92===e.kind},f.isAsyncModifier=function(e){return 129===e.kind},f.isStaticModifier=function(e){return 123===e.kind}}(ts=ts||{}),function(r){r.setTextRange=function(e,t){return t?r.setTextRangePosEnd(e,t.pos,t.end):e}}(ts=ts||{}),function(Di){var t,r,n,i,a,y,Si,e;function o(e,t){return t&&e(t)}function s(e,t,r){if(r){if(t)return t(r);for(var n=0,i=r;n=t,"Adjusting an element that was entirely before the change range"),Di.Debug.assert(e.pos<=r,"Adjusting an element that was entirely after the change range"),Di.Debug.assert(e.pos<=e.end);t=Math.min(e.pos,n),n=e.end>=r?e.end+i:Math.min(e.end,n);Di.Debug.assert(t<=n),e.parent&&(Di.Debug.assertGreaterThanOrEqual(t,e.parent.pos),Di.Debug.assertLessThanOrEqual(n,e.parent.end)),Di.setTextRangePosEnd(e,t,n)}function b(e,t){if(t){var r=e.pos,n=function(e){Di.Debug.assert(e.pos>=r),r=e.end};if(Di.hasJSDocNodes(e))for(var i=0,a=e.jsDoc;i=e.pos&&a=e.pos&&ac.checkJsDirective.pos)&&(c.checkJsDirective={enabled:"ts-check"===t,end:e.range.end,pos:e.range.pos})});break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:Di.Debug.fail("Unhandled pragma kind")}})}(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",(e={})[e.TryParse=0]="TryParse",e[e.Lookahead=1]="Lookahead",e[e.Reparse=2]="Reparse",Di.parseBaseNodeFactory={createBaseSourceFileNode:function(e){return new(a=a||Di.objectAllocator.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(n=n||Di.objectAllocator.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(i=i||Di.objectAllocator.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(r=r||Di.objectAllocator.getTokenConstructor())(e,-1,-1)},createBaseNode:function(e){return new(t=t||Di.objectAllocator.getNodeConstructor())(e,-1,-1)}},Di.parseNodeFactory=Di.createNodeFactory(1,Di.parseBaseNodeFactory),Di.isJSDocLikeText=Ti,Di.forEachChild=Ci,Di.forEachChildRecursively=function(e,t,r){for(var n=d(e),i=[];i.length=t.pos}),r=0<=e?Di.findIndex(o,function(e){return e.start>=n.pos},e):-1;0<=e&&Di.addRange(U,o,e,0<=r?r:void 0),me(function(){var e=D;for(D|=32768,J.setTextPos(n.pos),ue();1!==V;){var t=J.getStartPos(),r=at(0,En);if(a.push(r),t===J.getStartPos()&&ue(),0<=s){t=i.statements[s];if(r.end===t.pos)break;r.end>t.pos&&(s=_(i.statements,s+1))}}D=e},2),c=0<=s?l(i.statements,s):-1}();return 0<=s&&(r=i.statements[s],Di.addRange(a,i.statements,s),0<=(n=Di.findIndex(o,function(e){return e.start>=r.pos}))&&Di.addRange(U,o,n)),g=e,K.updateSourceFile(i,Di.setTextRange(K.createNodeArray(a),i.statements));function u(e){return!(32768&e.flags)&&8388608&e.transformFlags}function l(e,t){for(var r=t;r");var n=K.createParameterDeclaration(void 0,void 0,void 0,t,void 0,void 0,void 0);Pe(n,t.pos);var i=Fe([n],n.pos,n.end),t=Ee(38),n=Pr(!!r);return F(Pe(K.createArrowFunction(r,void 0,i,void 0,t,n),e))}function kr(){if(129===V){if(ue(),J.hasPrecedingLineBreak())return 0;if(20!==V&&29!==V)return 0}var e=V,t=ue();if(20!==e)return Di.Debug.assert(29===e),be()?1!==p?2:ye(function(){var e=ue();if(93===e)switch(ue()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1})?1:0:0;if(21===t)switch(ue()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(Di.isModifierKind(t)&&129!==t&&ye(Ye))return 1;if(!be()&&107!==t)return 0;switch(ue()){case 58:return 1;case 57:return ue(),58===V||27===V||62===V||21===V?1:0;case 27:case 62:case 21:return 2}return 0}function Nr(){var e=J.getTokenPos();if(null==r||!r.has(e)){var t=Fr(!1);return t||(r=r||new Di.Set).add(e),t}}function Ar(){if(129===V){if(ue(),J.hasPrecedingLineBreak()||38===V)return 0;var e=wr(0);if(!J.hasPrecedingLineBreak()&&78===e.kind&&38===V)return 1}return 0}function Fr(e){var t,r=ae(),n=oe(),i=Zn(),a=Di.some(i,Di.isAsyncModifier)?2:0,o=Nt();if(xe(20)){if(t=Ot(a),!xe(21)&&!e)return}else{if(!e)return;t=lt()}var s=It(58,!1);if(!s||e||!function e(t){switch(t.kind){case 173:return Di.nodeIsMissing(t.typeName);case 174:case 175:var r=t.parameters,n=t.type;return!!r.isMissingList||e(n);case 186:return e(t.type);default:return!1}}(s)){a=s&&Di.isJSDocFunctionType(s);if(e||38===V||!a&&18===V){e=V,a=Ee(38),e=38===e||18===e?Pr(Di.some(i,Di.isAsyncModifier)):Le();return N(Pe(K.createArrowFunction(i,o,t,s,a,e),r),n)}}}function Pr(e){if(18===V)return dn(e?2:0);if(26!==V&&97!==V&&83!==V&&Tn()&&(18===V||97===V||83===V||59===V||!Dr()))return dn(16|(e?2:0));var t=S;S=!1;e=e?G(Cr):j(32768,Cr);return S=t,e}function wr(e){var t=ae();return Or(e,Rr(),t)}function Ir(e){return 100===e||156===e}function Or(e,t,r){for(;;){_e();var n=Di.getBinaryOperatorPrecedence(V);if(!(42===V?e<=n:et&&d.push(s.slice(t-a)),a+=s.length;break;case 1:break e;default:i=2,o(J.getTokenText())}le()}return p(d),f(d),r=d.length?d.join(""):void 0,n=T&&Fe(T,l,_),Pe(K.createJSDocComment(r,n),c,S)})}function p(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function f(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function n(){for(;;){if(le(),1===V)return!0;if(5!==V&&4!==V)return!1}}function C(){if(5!==V&&4!==V||!ye(n))for(;5===V||4===V;)le()}function E(){if((5===V||4===V)&&ye(n))return"";for(var e=J.hasPrecedingLineBreak(),t=!1,r="";e&&41===V||5===V||4===V;)r+=J.getTokenText(),4===V?(t=e=!0,r=""):41===V&&(e=!1),le();return t?r:""}function k(e){Di.Debug.assert(59===V);var t=J.getTokenPos();le();var r,n,i,a,o,s,c,u,l,_,d,p,f,g,m,y,h,v,b,x=j(void 0),D=E();switch(x.escapedText){case"author":r=function(e,t,r,n){n=function(){var e=[],t=!1,r=J.getToken();for(;1!==r&&4!==r;){if(29===r)t=!0;else{if(59===r&&!t)break;if(31===r&&t){e.push(J.getTokenText()),J.setTextPos(J.getTokenPos()+1);break}}e.push(J.getTokenText()),r=le()}return e.join("")}()+(N(e,S,r,n)||"");return Pe(K.createJSDocAuthorTag(t,n||void 0),e)}(t,x,e,D);break;case"implements":g=t,m=x,y=e,h=D,v=O(),b=ae(),r=Pe(K.createJSDocImplementsTag(m,v,N(g,b,y,h)),g,b);break;case"augments":case"extends":u=t,l=x,_=e,d=D,p=O(),f=ae(),r=Pe(K.createJSDocAugmentsTag(l,p,N(u,f,_,d)),u,f);break;case"class":case"constructor":r=M(t,K.createJSDocClassTag,x,e,D);break;case"public":r=M(t,K.createJSDocPublicTag,x,e,D);break;case"private":r=M(t,K.createJSDocPrivateTag,x,e,D);break;case"protected":r=M(t,K.createJSDocProtectedTag,x,e,D);break;case"readonly":r=M(t,K.createJSDocReadonlyTag,x,e,D);break;case"deprecated":q=!0,r=M(t,K.createJSDocDeprecatedTag,x,e,D);break;case"this":r=function(e,t,r,n){var i=vi(!0);C();var a=ae();return Pe(K.createJSDocThisTag(t,i,N(e,a,r,n)),e,a)}(t,x,e,D);break;case"enum":r=function(e,t,r,n){var i=vi(!0);C();var a=ae();return Pe(K.createJSDocEnumTag(t,i,N(e,a,r,n)),e,a)}(t,x,e,D);break;case"arg":case"argument":case"param":return w(t,x,2,e);case"return":case"returns":r=function(e,t,r,n){Di.some(T,Di.isJSDocReturnTag)&&re(t.pos,J.getTokenPos(),Di.Diagnostics._0_tag_already_specified,t.escapedText);var i=F(),a=ae();return Pe(K.createJSDocReturnTag(t,i,N(e,a,r,n)),e,a)}(t,x,e,D);break;case"template":l=t,p=x,_=e,d=D,u=18===V?vi():void 0,f=function(){var e=ae(),t=[];for(;C(),t.push(function(){var e=ae(),t=j(Di.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);return Pe(K.createTypeParameterDeclaration(t,void 0,void 0),e)}()),E(),B(27););return Fe(t,e)}(),c=ae(),r=Pe(K.createJSDocTemplateTag(p,u,f,N(l,c,_,d)),l,c);break;case"type":r=I(t,x,e,D);break;case"typedef":r=function(e,t,r,n){var i=F();E();var a=L();C();var o=A(r);if(!i||P(i.type)){for(var s,c,u=void 0,l=void 0,_=void 0,d=!1;u=he(function(){return R(1,r)});)if(d=!0,329===u.kind){if(l){ee(Di.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var p=Di.lastOrUndefined(U);p&&Di.addRelatedInfo(p,Di.createDetachedDiagnostic(z,0,0,Di.Diagnostics.The_tag_was_first_specified_here));break}l=u}else _=Di.append(_,u);d&&(s=i&&178===i.type.kind,c=K.createJSDocTypeLiteral(_,s),i=l&&l.typeExpression&&!P(l.typeExpression.type)?l.typeExpression:Pe(c,e),s=i.end)}s=s||void 0!==o?ae():(null!==(c=null!=a?a:i)&&void 0!==c?c:t).end,o=o||N(e,s,r,n);return Pe(K.createJSDocTypedefTag(t,i,a,o),e,s)}(t,x,e,D);break;case"callback":r=function(e,t,r,n){var i=L();C();var a=A(r),o=function(e){var t,r,n=ae();for(;t=he(function(){return R(4,e)});)r=Di.append(r,t);return Fe(r||[],n)}(r),s=he(function(){if(B(59)){var e=k(r);if(e&&327===e.kind)return e}}),o=Pe(K.createJSDocSignature(void 0,o,s),e),s=ae();a=a||N(e,s,r,n);return Pe(K.createJSDocCallbackTag(t,o,i,a),e,s)}(t,x,e,D);break;case"see":n=t,i=x,c=e,a=D,o=bi(),s=ae(),a=void 0!==c&&void 0!==a?N(n,s,c,a):void 0,r=Pe(K.createJSDocSeeTag(i,o,a),n,s);break;default:i=t,o=x,a=e,n=D,s=ae(),r=Pe(K.createJSDocUnknownTag(o,N(i,s,a,n)),i,s)}return r}function N(e,t,r,n){return n||(r+=t-e),A(r,n.slice(r))}function A(t,e){var r,n=[],i=0,a=!0;function o(e){r=r||t,n.push(e),t+=e.length}void 0!==e&&(""!==e&&o(e),i=1);var s,c=V;e:for(;;){switch(c){case 4:i=0,n.push(J.getTokenText()),t=0;break;case 59:if(3===i||!a&&2===i){n.push(J.getTokenText());break}J.setTextPos(J.getTextPos()-1);case 1:break e;case 5:2===i||3===i?o(J.getTokenText()):(s=J.getTokenText(),void 0!==r&&t+s.length>r&&n.push(s.slice(r-t)),t+=s.length);break;case 18:i=2,ye(function(){return 59===le()&&Di.tokenIsIdentifierOrKeyword(le())&&"link"===J.getTokenText()})&&(o(J.getTokenText()),le(),o(J.getTokenText()),le()),o(J.getTokenText());break;case 61:i=3===i?2:3,o(J.getTokenText());break;case 41:if(0===i){t+=i=1;break}default:3!==i&&(i=2),o(J.getTokenText())}a=5===V,c=le()}return p(n),f(n),0===n.length?void 0:n.join("")}function F(){return E(),18===V?vi():void 0}function g(){var e=B(22);e&&C();var t=B(61),r=function(){var e=j();Se(22)&&xe(23);for(;Se(24);){var t=j();Se(22)&&xe(23),e=function(e,t){return Pe(K.createQualifiedName(e,t),e.pos)}(e,t)}return e}();return t&&(Ce(t=61)||we(t,!1,Di.Diagnostics._0_expected,Di.tokenToString(t))),e&&(C(),Te(62)&&Sr(),xe(23)),{name:r,isBracketed:e}}function P(e){switch(e.kind){case 145:return!0;case 178:return P(e.elementType);default:return Di.isTypeReferenceNode(e)&&Di.isIdentifier(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function w(e,t,r,n){var i=F(),a=!i;E();var o=g(),s=o.name,c=o.isBracketed,o=E();a&&(i=F());o=N(e,ae(),n,o),n=4!==r&&function(e,t,r,n){if(e&&P(e.type)){for(var i=ae(),a=void 0,o=void 0;a=he(function(){return R(r,n,t)});)326!==a.kind&&333!==a.kind||(o=Di.append(o,a));if(o){e=Pe(K.createJSDocTypeLiteral(o,178===e.type.kind),i);return Pe(K.createJSDocTypeExpression(e),i)}}}(i,s,r,n);return n&&(i=n,a=!0),Pe(1===r?K.createJSDocPropertyTag(t,s,c,i,a,o):K.createJSDocParameterTag(t,s,c,i,a,o),e)}function I(e,t,r,n){Di.some(T,Di.isJSDocTypeTag)&&re(t.pos,J.getTokenPos(),Di.Diagnostics._0_tag_already_specified,t.escapedText);var i=vi(!0),a=ae(),n=void 0!==r&&void 0!==n?N(e,a,r,n):void 0;return Pe(K.createJSDocTypeTag(t,i,n),e,a)}function O(){var e=Se(18),t=ae(),r=function(){var e=ae(),t=j();for(;Se(24);){var r=j();t=Pe(K.createPropertyAccessExpression(t,r),e)}return t}(),n=ai(),t=Pe(K.createExpressionWithTypeArguments(r,n),t);return e&&xe(19),t}function M(e,t,r,n,i){var a=ae();return Pe(t(r,N(e,a,n,i)),e,a)}function L(e){var t=J.getTokenPos();if(Di.tokenIsIdentifierOrKeyword(V)){var r=j();if(Se(24)){var n=L(!0);return Pe(K.createModuleDeclaration(void 0,void 0,r,n,e?4:void 0),t)}return e&&(r.isInJSDocNamespace=!0),r}}function R(e,t,r){for(var n=!0,i=!1;;)switch(le()){case 59:if(n){var a=function(e,t){Di.Debug.assert(59===V);var r=J.getStartPos();le();var n,i=j();switch(C(),i.escapedText){case"type":return 1===e&&I(r,i);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;default:return!1}return!!(e&n)&&w(r,i,e,t)}(e,t);return!a||326!==a.kind&&333!==a.kind||4===e||!r||!Di.isIdentifier(a.name)&&function(e,t){for(;!Di.isIdentifier(e)||!Di.isIdentifier(t);){if(Di.isIdentifier(e)||Di.isIdentifier(t)||e.right.escapedText!==t.right.escapedText)return;e=e.left,t=t.left}return e.escapedText===t.escapedText}(r,a.name.left)?a:!1}i=!1;break;case 4:i=!(n=!0);break;case 41:i&&(n=!1),i=!0;break;case 78:n=!1;break;case 1:return!1}}function B(e){return V===e&&(le(),!0)}function j(e){if(!Di.tokenIsIdentifierOrKeyword(V))return we(78,!e,e||Di.Diagnostics.Identifier_expected);b++;var t=J.getTokenPos(),r=J.getTextPos(),n=V,e=Ie(J.getTokenValue()),r=Pe(K.createIdentifier(e,void 0,n),t,r);return le(),r}}e.fixupParentReferences=w,(i={})[i.SourceElements=0]="SourceElements",i[i.BlockStatements=1]="BlockStatements",i[i.SwitchClauses=2]="SwitchClauses",i[i.SwitchClauseStatements=3]="SwitchClauseStatements",i[i.TypeMembers=4]="TypeMembers",i[i.ClassMembers=5]="ClassMembers",i[i.EnumMembers=6]="EnumMembers",i[i.HeritageClauseElement=7]="HeritageClauseElement",i[i.VariableDeclarations=8]="VariableDeclarations",i[i.ObjectBindingElements=9]="ObjectBindingElements",i[i.ArrayBindingElements=10]="ArrayBindingElements",i[i.ArgumentExpressions=11]="ArgumentExpressions",i[i.ObjectLiteralMembers=12]="ObjectLiteralMembers",i[i.JsxAttributes=13]="JsxAttributes",i[i.JsxChildren=14]="JsxChildren",i[i.ArrayLiteralMembers=15]="ArrayLiteralMembers",i[i.Parameters=16]="Parameters",i[i.JSDocParameters=17]="JSDocParameters",i[i.RestProperties=18]="RestProperties",i[i.TypeParameters=19]="TypeParameters",i[i.TypeArguments=20]="TypeArguments",i[i.TupleElementTypes=21]="TupleElementTypes",i[i.HeritageClauses=22]="HeritageClauses",i[i.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",i[i.Count=24]="Count",(i={})[i.False=0]="False",i[i.True=1]="True",i[i.Unknown=2]="Unknown",(e=A=e.JSDocParser||(e.JSDocParser={})).parseJSDocTypeExpressionForTests=function(e,t,r){return E("file.js",e,99,void 0,1),J.setText(e,t,r),V=J.scan(),e=vi(),t=I("file.js",99,1,!1,[],K.createToken(1),0),r=Di.attachFileToDiagnostics(U,t),f&&(t.jsDocDiagnostics=Di.attachFileToDiagnostics(f,t)),k(),e?{jsDocTypeExpression:e,diagnostics:r}:void 0},e.parseJSDocTypeExpression=vi,e.parseJSDocNameReference=bi,e.parseIsolatedJSDocComment=function(e,t,r){E("",e,99,void 0,1);var n=W(4194304,function(){return xi(t,r)}),e={languageVariant:0,text:e},e=Di.attachFileToDiagnostics(U,e);return k(),n?{jsDoc:n,diagnostics:e}:void 0},e.parseJSDocComment=function(e,t,r){var n=V,i=U.length,a=T,o=W(4194304,function(){return xi(t,r)});return Di.setParent(o,e),131072&D&&(f=f||[]).push.apply(f,U),V=n,U.length=i,T=a,o},(e={})[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks",(e={})[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(y=y||{}),(e=Si=Si||{}).updateSourceFile=function(e,t,r,n){if(x(e,t,r,n=n||Di.Debug.shouldAssert(2)),Di.textChangeRangeIsUnchanged(r))return e;if(0===e.statements.length)return y.parseSourceFile(e.fileName,t,e.languageVersion,void 0,!0,e.scriptKind);var i=e;Di.Debug.assert(!i.hasBeenIncrementallyParsed),i.hasBeenIncrementallyParsed=!0,y.fixupParentReferences(i);var a=e.text,o=D(e),s=function(e,t){for(var r=t.span.start,n=0;0r),!0;if(t.pos>=i.pos&&(i=t),ri.pos&&(i=t)}return i}(e,r);Di.Debug.assert(i.pos<=r);i=i.pos;r=Math.max(0,i-1)}var a=Di.createTextSpanFromBounds(r,Di.textSpanEnd(t.span)),t=t.newLength+(t.span.start-r);return Di.createTextChangeRange(a,t)}(e,r);x(e,t,s,n),Di.Debug.assert(s.span.start<=r.span.start),Di.Debug.assert(Di.textSpanEnd(s.span)===Di.textSpanEnd(r.span)),Di.Debug.assert(Di.textSpanEnd(Di.textChangeRangeNewSpan(s))===Di.textSpanEnd(Di.textChangeRangeNewSpan(r)));var c,u,l,_,d,p,f,r=Di.textChangeRangeNewSpan(s).length-s.span.length;function g(e){if(Di.Debug.assert(e.pos<=e.end),e.pos>u)h(e,!1,_,d,p,f);else{var t=e.end;if(c<=t){if(e.intersectsChange=!0,e._children=void 0,v(e,c,u,l,_),Ci(e,g,m),Di.hasJSDocNodes(e))for(var r=0,n=e.jsDoc;ru)h(e,!0,_,d,p,f);else{var t=e.end;if(c<=t){e.intersectsChange=!0,e._children=void 0,v(e,c,u,l,_);for(var r=0,n=e;rn&&(g(),f={range:{pos:p.pos+i,end:p.end+i},type:f},c=Di.append(c,f),s&&Di.Debug.assert(a.substring(p.pos,p.end)===o.substring(f.range.pos,f.range.end)))}return g(),c;function g(){u||(u=!0,c?t&&c.push.apply(c,t):c=t)}}(e.commentDirectives,o.commentDirectives,s.span.start,Di.textSpanEnd(s.span),r,a,t,n),o},e.createSyntaxCursor=D,(e={})[e.Value=-1]="Value",Di.isDeclarationFileName=ki,Di.processCommentPragmas=Ni,Di.processPragmasIntoFields=Ai;var p=new Di.Map,f=/^\/\/\/\s*<(\S+)\s.*?\/>/im,g=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function m(e,t,r,n){var i,a;n&&(i=n[1].toLowerCase(),(a=Di.commentPragmas[i])&&a.kind&r&&("fail"!==(n=function(e,t){if(!t)return{};if(!e.args)return{};for(var r=t.split(/\s+/),n={},i=0;i=t.length)break;var i=n;if(34===t.charCodeAt(i)){for(n++;n "))),{raw:e||O(t,o)};var u,l,_,d=e?function(e,t,r,n,i){b.hasProperty(e,"excludes")&&i.push(b.createCompilerDiagnostic(b.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var a=$(e.compilerOptions,r,i,n),o=te(e.typeAcquisition||e.typingOptions,r,i,n),s=function(e,t,r){return re(w(),e,t,void 0,F,r)}(e.watchOptions,r,i);{var c;e.compileOnSave=function(e,t,r){if(!b.hasProperty(e,b.compileOnSaveCommandLineOption.name))return!1;r=ne(b.compileOnSaveCommandLineOption,e.compileOnSave,t,r);return"boolean"==typeof r&&r}(e,r,i),e.extends&&(b.isString(e.extends)?(c=n?q(n,r):r,c=Y(e.extends,t,c,i,b.createCompilerDiagnostic)):i.push(b.createCompilerDiagnostic(b.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string")))}return{raw:e,options:a,watchOptions:s,typeAcquisition:o,extendedConfigPath:c}}(e,r,n,i,o):function(i,a,o,s,c){var u,l,_,d,p=Z(s),e={onSetValidOptionKeyValueInParent:function(e,t,r){var n;switch(e){case"compilerOptions":n=p;break;case"watchOptions":n=_=_||{};break;case"typeAcquisition":n=u=u||ee(s);break;case"typingOptions":n=l=l||ee(s);break;default:b.Debug.fail("Unknown option")}n[t.name]=function t(e,r,n){if(K(n))return;{if("list"===e.type){var i=e;return i.element.isFilePath||!b.isString(i.element.type)?b.filter(b.map(n,function(e){return t(i.element,r,e)}),function(e){return!!e}):n}if(!b.isString(e.type))return e.type.get(b.isString(n)?n.toLowerCase():n)}return ie(e,r,n)}(t,o,r)},onSetValidOptionKeyValueInRoot:function(e,t,r,n){if("extends"===e){e=s?q(s,o):o;d=Y(r,a,e,c,function(e,t){return b.createDiagnosticForNodeInSourceFile(i,n,e,t)})}},onSetUnknownOptionKeyValueInRoot:function(e,t,r,n){"excludes"===e&&c.push(b.createDiagnosticForNodeInSourceFile(i,t,b.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},e=M(i,c,!0,(void 0===A&&(A={name:void 0,type:"object",elementOptions:D([{name:"compilerOptions",type:"object",elementOptions:P(),extraKeyDiagnostics:b.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:w(),extraKeyDiagnostics:F},{name:"typingOptions",type:"object",elementOptions:I(),extraKeyDiagnostics:T},{name:"typeAcquisition",type:"object",elementOptions:I(),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"}},b.compileOnSaveCommandLineOption])}),A),e);u=u||(l?void 0!==l.enableAutoDiscovery?{enable:l.enableAutoDiscovery,include:l.include,exclude:l.exclude}:l:ee(s));return{raw:e,options:p,watchOptions:_,typeAcquisition:u,extendedConfigPath:d}}(t,r,n,i,o);return null!==(i=d.options)&&void 0!==i&&i.paths&&(d.options.pathsBasePath=n),d.extendedConfigPath&&(a=a.concat([c]),(o=function(e,t,r,n,i,a){var o,s,c,u=r.useCaseSensitiveFileNames?t:b.toFileNameLowerCase(t);a&&(o=a.get(u))?(s=o.extendedResult,c=o.extendedConfig):((s=v(t,function(e){return r.readFile(e)})).parseDiagnostics.length||(c=Q(void 0,s,r,b.getDirectoryPath(t),b.getBaseFileName(t),n,i,a)),a&&a.set(u,{extendedResult:s,extendedConfig:c}));e&&(e.extendedSourceFiles=[s.fileName],s.extendedSourceFiles&&(e=e.extendedSourceFiles).push.apply(e,s.extendedSourceFiles));if(s.parseDiagnostics.length)return void i.push.apply(i,s.parseDiagnostics);return c}(t,d.extendedConfigPath,r,a,o,s))&&o.options&&(u=o.raw,l=d.raw,(s=function(e){!l[e]&&u[e]&&(l[e]=b.map(u[e],function(e){return b.isRootedDiskPath(e)?e:b.combinePaths(_=_||b.convertToRelativePath(b.getDirectoryPath(d.extendedConfigPath),n,b.createGetCanonicalFileName(r.useCaseSensitiveFileNames)),e)}))})("include"),s("exclude"),s("files"),void 0===l.compileOnSave&&(l.compileOnSave=u.compileOnSave),d.options=b.assign({},o.options,d.options),d.watchOptions=d.watchOptions&&o.watchOptions?b.assign({},o.watchOptions,d.watchOptions):d.watchOptions||o.watchOptions)),d}function Y(e,t,r,n,i){if(e=b.normalizeSlashes(e),b.isRootedDiskPath(e)||b.startsWith(e,"./")||b.startsWith(e,"../")){var a=b.getNormalizedAbsolutePath(e,r);return t.fileExists(a)||b.endsWith(a,".json")||(a+=".json",t.fileExists(a))?a:void n.push(i(b.Diagnostics.File_0_not_found,e))}t=b.nodeModuleNameResolver(e,b.combinePaths(r,"tsconfig.json"),{moduleResolution:b.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(t.resolvedModule)return t.resolvedModule.resolvedFileName;n.push(i(b.Diagnostics.File_0_not_found,e))}function Z(e){return e&&"jsconfig.json"===b.getBaseFileName(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function $(e,t,r,n){var i=Z(n);return re(P(),e,t,i,b.compilerOptionsDidYouMeanDiagnostics,r),n&&(i.configFilePath=b.normalizeSlashes(n)),i}function ee(e){return{enable:!!e&&"jsconfig.json"===b.getBaseFileName(e),include:[],exclude:[]}}function te(e,t,r,n){n=ee(n),e=o(e);return re(I(),e,t,n,T,r),n}function re(e,t,r,n,i,a){if(t){for(var o in t){var s=e.get(o);s?(n=n||{})[s.name]=ne(s,t[o],r,a):a.push(m(o,i,b.createCompilerDiagnostic))}return n}}function ne(e,t,r,n){if(R(e,t)){var i=e.type;if("list"===i&&b.isArray(t))return a=e,o=t,s=r,c=n,b.filter(b.map(o,function(e){return ne(a.element,e,s,c)}),function(e){return!!e});if(!b.isString(i))return oe(e,t,n);t=ae(e,t,n);return K(t)?t:ie(e,r,t)}var a,o,s,c;n.push(b.createCompilerDiagnostic(b.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,e.name,L(e)))}function ie(e,t,r){return e.isFilePath&&""===(r=b.getNormalizedAbsolutePath(r,t))&&(r="."),r}function ae(e,t,r){var n;if(!K(t)){e=null===(n=e.extraValidation)||void 0===n?void 0:n.call(e,t);if(!e)return t;r.push(b.createCompilerDiagnostic.apply(void 0,e))}}function oe(e,t,r){if(!K(t)){t=t.toLowerCase(),t=e.type.get(t);if(void 0!==t)return ae(e,t,r);r.push(s(e))}}function se(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}b.convertToObject=O,b.convertToObjectWorker=M,b.convertToTSConfig=function(e,t,r){var n=b.createGetCanonicalFileName(r.useCaseSensitiveFileNames),i=b.map(b.filter(e.fileNames,null!==(o=null===(a=e.options.configFile)||void 0===a?void 0:a.configFileSpecs)&&void 0!==o&&o.validatedIncludeSpecs?function(e,t,r,n){if(!t)return b.returnTrue;var t=b.getFileMatcherPatterns(e,r,t,n.useCaseSensitiveFileNames,n.getCurrentDirectory()),i=t.excludePattern&&b.getRegexFromPattern(t.excludePattern,n.useCaseSensitiveFileNames),a=t.includeFilePattern&&b.getRegexFromPattern(t.includeFilePattern,n.useCaseSensitiveFileNames);if(a)return i?function(e){return!(a.test(e)&&!i.test(e))}:function(e){return!a.test(e)};if(i)return function(e){return i.test(e)};return b.returnTrue}(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,r):b.returnTrue),function(e){return b.getRelativePathFromFile(b.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),b.getNormalizedAbsolutePath(e,r.getCurrentDirectory()),n)}),a=J(e.options,{configFilePath:b.getNormalizedAbsolutePath(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames}),o=e.watchOptions&&z(e.watchOptions,C());return __assign(__assign({compilerOptions:__assign(__assign({},B(a)),{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:o&&B(o),references:b.map(e.projectReferences,function(e){return __assign(__assign({},e),{path:e.originalPath||"",originalPath:void 0})}),files:b.length(i)?i:void 0},null!==(i=e.options.configFile)&&void 0!==i&&i.configFileSpecs?{include:(i=e.options.configFile.configFileSpecs.validatedIncludeSpecs,!b.length(i)||1===b.length(i)&&"**/*"===i[0]?void 0:i),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!e.compileOnSave||void 0})},b.generateTSConfig=function(e,g,m){var y=J(b.extend(e,b.defaultInitCompilerOptions));return function(){for(var e=b.createMultiMap(),t=0,r=b.optionDeclarations;t"+e.moduleSpecifier.text:">"});if(t.length!==r.length)for(var n=0,i=t;n(1&e.flags?yS.noTruncationMaximumTruncationLength:yS.defaultMaximumTruncationLength))}function B(e,g){x&&x.throwIfCancellationRequested&&x.throwIfCancellationRequested();var t=8388608&g.flags;if(g.flags&=-8388609,!e)return 262144&g.flags?(g.approximateLength+=3,yS.factory.createKeywordTypeNode(128)):void(g.encounteredError=!0);if(536870912&g.flags||(e=oc(e)),1&e.flags)return g.approximateLength+=3,yS.factory.createKeywordTypeNode(e===Me?136:128);if(2&e.flags)return yS.factory.createKeywordTypeNode(152);if(4&e.flags)return g.approximateLength+=6,yS.factory.createKeywordTypeNode(147);if(8&e.flags)return g.approximateLength+=6,yS.factory.createKeywordTypeNode(144);if(64&e.flags)return g.approximateLength+=6,yS.factory.createKeywordTypeNode(155);if(16&e.flags)return g.approximateLength+=7,yS.factory.createKeywordTypeNode(131);if(1024&e.flags&&!(1048576&e.flags)){var r=wi(e.symbol),n=H(r,g,788968);if(Jo(r)===e)return n;r=yS.symbolName(e.symbol);return yS.isIdentifierText(r,0)?v(n,yS.factory.createTypeReferenceNode(r,void 0)):yS.isImportTypeNode(n)?(n.isTypeOf=!0,yS.factory.createIndexedAccessTypeNode(n,yS.factory.createLiteralTypeNode(yS.factory.createStringLiteral(r)))):yS.isTypeReferenceNode(n)?yS.factory.createIndexedAccessTypeNode(yS.factory.createTypeQueryNode(n.typeName),yS.factory.createLiteralTypeNode(yS.factory.createStringLiteral(r))):yS.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(1056&e.flags)return H(e.symbol,g,788968);if(128&e.flags)return g.approximateLength+=e.value.length+2,yS.factory.createLiteralTypeNode(yS.setEmitFlags(yS.factory.createStringLiteral(e.value,!!(268435456&g.flags)),16777216));if(256&e.flags){r=e.value;return g.approximateLength+=(""+r).length,yS.factory.createLiteralTypeNode(r<0?yS.factory.createPrefixUnaryExpression(40,yS.factory.createNumericLiteral(-r)):yS.factory.createNumericLiteral(r))}if(2048&e.flags)return g.approximateLength+=yS.pseudoBigIntToString(e.value).length+1,yS.factory.createLiteralTypeNode(yS.factory.createBigIntLiteral(e.value));if(512&e.flags)return g.approximateLength+=e.intrinsicName.length,yS.factory.createLiteralTypeNode("true"===e.intrinsicName?yS.factory.createTrue():yS.factory.createFalse());if(8192&e.flags){if(!(1048576&g.flags)){if(ta(e.symbol,g.enclosingDeclaration))return g.approximateLength+=6,H(e.symbol,g,111551);g.tracker.reportInaccessibleUniqueSymbolError&&g.tracker.reportInaccessibleUniqueSymbolError()}return g.approximateLength+=13,yS.factory.createTypeOperatorNode(151,yS.factory.createKeywordTypeNode(148))}if(16384&e.flags)return g.approximateLength+=4,yS.factory.createKeywordTypeNode(113);if(32768&e.flags)return g.approximateLength+=9,yS.factory.createKeywordTypeNode(150);if(65536&e.flags)return g.approximateLength+=4,yS.factory.createLiteralTypeNode(yS.factory.createNull());if(131072&e.flags)return g.approximateLength+=5,yS.factory.createKeywordTypeNode(141);if(4096&e.flags)return g.approximateLength+=6,yS.factory.createKeywordTypeNode(148);if(67108864&e.flags)return g.approximateLength+=6,yS.factory.createKeywordTypeNode(145);if(kl(e))return 4194304&g.flags&&(g.encounteredError||32768&g.flags||(g.encounteredError=!0),g.tracker.reportInaccessibleThisError&&g.tracker.reportInaccessibleThisError()),g.approximateLength+=4,yS.factory.createThisTypeNode();if(!t&&e.aliasSymbol&&(16384&g.flags||ea(e.aliasSymbol,g.enclosingDeclaration))){var i=A(e.aliasTypeArguments,g);return!Wi(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?H(e.aliasSymbol,g,788968,i):yS.factory.createTypeReferenceNode(yS.factory.createIdentifier(""),i)}i=yS.getObjectFlags(e);if(4&i)return yS.Debug.assert(!!(524288&e.flags)),e.node?f(e,h):h(e);if(262144&e.flags||3&i){if(262144&e.flags&&yS.contains(g.inferTypeParameters,e))return g.approximateLength+=yS.symbolName(e.symbol).length+6,yS.factory.createInferTypeNode(P(e,g,void 0));if(4&g.flags&&262144&e.flags&&!ea(e.symbol,g.enclosingDeclaration)){var a=G(e,g);return g.approximateLength+=yS.idText(a).length,yS.factory.createTypeReferenceNode(yS.factory.createIdentifier(yS.idText(a)),void 0)}return e.symbol?H(e.symbol,g,788968):yS.factory.createTypeReferenceNode(yS.factory.createIdentifier("?"),void 0)}if(1048576&e.flags&&e.origin&&(e=e.origin),3145728&e.flags){a=1048576&e.flags?function(e){for(var t=[],r=0,n=0;n=Ec(t.target.typeParameters)}function se(t,e,r,n,i,a){if(e!==Ie&&n){n=ae(r,n);if(n&&!yS.isFunctionLikeDeclaration(n)){n=yS.getEffectiveTypeAnnotationNode(n);if(__(n)===e&&oe(n,e)){var o=ue(t,n,i,a);if(o)return o}}}o=t.flags;8192&e.flags&&e.symbol===r&&(!t.enclosingDeclaration||yS.some(r.declarations,function(e){return yS.getSourceFileOfNode(e)===yS.getSourceFileOfNode(t.enclosingDeclaration)}))&&(t.flags|=1048576);e=B(e,t);return t.flags=o,e}function ce(e,t,r){var n,i=!1,a=yS.getFirstIdentifier(e);if(yS.isInJSFile(e)&&(yS.isExportsIdentifier(a)||yS.isModuleExportsAccessExpression(a.parent)||yS.isQualifiedName(a.parent)&&yS.isModuleIdentifier(a.parent.left)&&yS.isExportsIdentifier(a.parent.right)))return{introducesError:i=!0,node:e};var o=gi(a,67108863,!0,!0);if(o&&(0!==na(o,t.enclosingDeclaration,67108863,!1).accessibility?i=!0:(null!==(a=null===(n=t.tracker)||void 0===n?void 0:n.trackSymbol)&&void 0!==a&&a.call(n,o,t.enclosingDeclaration,67108863),null!=r&&r(o)),yS.isIdentifier(e))){t=262144&o.flags?G(Jo(o),t):yS.factory.cloneNode(e);return t.symbol=o,{introducesError:i,node:yS.setEmitFlags(yS.setOriginalNode(t,e),16777216)}}return{introducesError:i,node:e}}function ue(c,e,u,l){x&&x.throwIfCancellationRequested&&x.throwIfCancellationRequested();var _=!1,d=yS.getSourceFileOfNode(e),t=yS.visitNode(e,function n(i){if(yS.isJSDocAllType(i)||310===i.kind)return yS.factory.createKeywordTypeNode(128);if(yS.isJSDocUnknownType(i))return yS.factory.createKeywordTypeNode(152);if(yS.isJSDocNullableType(i))return yS.factory.createUnionTypeNode([yS.visitNode(i.type,n),yS.factory.createLiteralTypeNode(yS.factory.createNull())]);if(yS.isJSDocOptionalType(i))return yS.factory.createUnionTypeNode([yS.visitNode(i.type,n),yS.factory.createKeywordTypeNode(150)]);if(yS.isJSDocNonNullableType(i))return yS.visitNode(i.type,n);if(yS.isJSDocVariadicType(i))return yS.factory.createArrayTypeNode(yS.visitNode(i.type,n));if(yS.isJSDocTypeLiteral(i))return yS.factory.createTypeLiteralNode(yS.map(i.jsDocPropertyTags,function(e){var t=yS.isIdentifier(e.name)?e.name:e.name.right,r=Fa(__(i),t.escapedText),r=r&&e.typeExpression&&__(e.typeExpression.type)!==r?B(r,c):void 0;return yS.factory.createPropertySignature(void 0,t,e.isBracketed||e.typeExpression&&yS.isJSDocOptionalType(e.typeExpression.type)?yS.factory.createToken(57):void 0,r||e.typeExpression&&yS.visitNode(e.typeExpression.type,n)||yS.factory.createKeywordTypeNode(128))}));if(yS.isTypeReferenceNode(i)&&yS.isIdentifier(i.typeName)&&""===i.typeName.escapedText)return yS.setOriginalNode(yS.factory.createKeywordTypeNode(128),i);if((yS.isExpressionWithTypeArguments(i)||yS.isTypeReferenceNode(i))&&yS.isJSDocIndexSignature(i))return yS.factory.createTypeLiteralNode([yS.factory.createIndexSignature(void 0,void 0,[yS.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,yS.visitNode(i.typeArguments[0],n))],yS.visitNode(i.typeArguments[1],n))]);if(yS.isJSDocFunctionType(i)){var r;return yS.isJSDocConstructSignature(i)?yS.factory.createConstructorTypeNode(i.modifiers,yS.visitNodes(i.typeParameters,n),yS.mapDefined(i.parameters,function(e,t){return e.name&&yS.isIdentifier(e.name)&&"new"===e.name.escapedText?void(r=e.type):yS.factory.createParameterDeclaration(void 0,void 0,a(e),o(e,t),e.questionToken,yS.visitNode(e.type,n),void 0)}),yS.visitNode(r||i.type,n)||yS.factory.createKeywordTypeNode(128)):yS.factory.createFunctionTypeNode(yS.visitNodes(i.typeParameters,n),yS.map(i.parameters,function(e,t){return yS.factory.createParameterDeclaration(void 0,void 0,a(e),o(e,t),e.questionToken,yS.visitNode(e.type,n),void 0)}),yS.visitNode(i.type,n)||yS.factory.createKeywordTypeNode(128))}if(yS.isTypeReferenceNode(i)&&yS.isInJSDoc(i)&&(!oe(i,__(i))||mu(i)||Ne===uu(cu(i),788968,!0)))return yS.setOriginalNode(B(__(i),c),i);if(yS.isLiteralImportTypeNode(i)){var e=On(i).resolvedSymbol;return!yS.isInJSDoc(i)||!e||(i.isTypeOf||788968&e.flags)&&yS.length(i.typeArguments)>=Ec(Do(e))?yS.factory.updateImportTypeNode(i,yS.factory.updateLiteralTypeNode(i.argument,s(i,i.argument.literal)),i.qualifier,yS.visitNodes(i.typeArguments,n,yS.isTypeNode),i.isTypeOf):yS.setOriginalNode(B(__(i),c),i)}if(yS.isEntityName(i)||yS.isEntityNameExpression(i)){var t=ce(i,c,u),e=t.introducesError,t=t.node;if(_=_||e,t!==i)return t}d&&yS.isTupleTypeNode(i)&&yS.getLineAndCharacterOfPosition(d,i.pos).line===yS.getLineAndCharacterOfPosition(d,i.end).line&&yS.setEmitFlags(i,1);return yS.visitEachChild(i,n,yS.nullTransformationContext);function a(e){return e.dotDotDotToken||(e.type&&yS.isJSDocVariadicType(e.type)?yS.factory.createToken(25):void 0)}function o(e,t){return e.name&&yS.isIdentifier(e.name)&&"this"===e.name.escapedText?"this":a(e)?"args":"arg"+t}function s(e,t){if(l){if(c.tracker&&c.tracker.moduleResolverHost){var e=JD(e);if(e){var r=yS.createGetCanonicalFileName(!!b.useCaseSensitiveFileNames),r={getCanonicalFileName:r,getCurrentDirectory:function(){return c.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return c.tracker.moduleResolverHost.getCommonSourceDirectory()}},r=yS.getResolvedExternalModuleName(r,e);return yS.factory.createStringLiteral(r)}}}else c.tracker&&c.tracker.trackExternalModuleSymbolOfImportTypeNode&&((r=hi(t,t,void 0))&&c.tracker.trackExternalModuleSymbolOfImportTypeNode(r));return t}});if(!_)return t===e?yS.setTextRange(yS.factory.cloneNode(e),e):t}var le=yS.createSymbolTable(),_e=Tn(4,"undefined");_e.declarations=[];var de=Tn(1536,"globalThis",8);de.exports=le,de.declarations=[],le.set(de.escapedName,de);var pe,fe=Tn(4,"arguments"),ge=Tn(4,"require"),me={getNodeCount:function(){return yS.sum(b.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return yS.sum(b.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return yS.sum(b.getSourceFiles(),"symbolCount")+i},getTypeCatalog:function(){return p},getTypeCount:function(){return r},getInstantiationCount:function(){return a},getRelationCacheSizes:function(){return{assignable:_n.size,identity:pn.size,subtype:un.size,strictSubtype:ln.size}},isUndefinedSymbol:function(e){return e===_e},isArgumentsSymbol:function(e){return e===fe},isUnknownSymbol:function(e){return e===Ne},getMergedSymbol:Fi,getDiagnostics:Wx,getGlobalDiagnostics:function(){return Hx(),an.getGlobalDiagnostics()},getRecursionIdentity:Bd,getTypeOfSymbolAtLocation:function(e,t){t=yS.getParseTreeNode(t);return t?function(e,t){if(e=e.exportSymbol||e,78===t.kind&&(yS.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),yS.isExpressionNode(t)&&!yS.isAssignmentTarget(t))){var r=Ev(t);if(Ri(On(t).resolvedSymbol)===e)return r}return go(e)}(e,t):Ie},getSymbolsOfParameterPropertyDeclaration:function(e,t){e=yS.getParseTreeNode(e,yS.isParameter);return void 0===e?yS.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(e,t){var r=e.parent,e=e.parent.parent,r=Ln(r.locals,t,111551),t=Ln(is(e.symbol),t,111551);if(r&&t)return[r,t];return yS.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(e,yS.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:Jo,getPropertiesOfType:zs,getPropertyOfType:function(e,t){return _c(e,yS.escapeLeadingUnderscores(t))},getPrivateIdentifierPropertyOfType:function(e,t,r){r=yS.getParseTreeNode(r);if(r){r=$m(yS.escapeLeadingUnderscores(t),r);return r?ey(e,r):void 0}},getTypeOfPropertyOfType:function(e,t){return Fa(e,yS.escapeLeadingUnderscores(t))},getIndexInfoOfType:mc,getSignaturesOfType:pc,getIndexTypeOfType:yc,getBaseTypes:Fo,getBaseTypeOfLiteralType:ep,getWidenedType:Ap,getTypeFromTypeNode:function(e){e=yS.getParseTreeNode(e,yS.isTypeNode);return e?__(e):Ie},getParameterType:Th,getPromisedTypeOfPromise:Yv,getAwaitedType:function(e){return $v(e)},getReturnTypeOfSignature:Mc,isNullableType:Vm,getNullableType:gp,getNonNullableType:yp,getNonOptionalType:bp,getTypeArguments:iu,typeToTypeNode:v.typeToTypeNode,indexInfoToIndexSignatureDeclaration:v.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:v.signatureToSignatureDeclaration,symbolToEntityName:v.symbolToEntityName,symbolToExpression:v.symbolToExpression,symbolToTypeParameterDeclarations:v.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:v.symbolToParameterDeclaration,typeParameterToDeclaration:v.typeParameterToDeclaration,getSymbolsInScope:function(e,t){e=yS.getParseTreeNode(e);return e?function(e,t){if(16777216&e.flags)return[];var r=yS.createSymbolTable(),n=!1;return function(){for(;e;){switch(e.locals&&!Mn(e)&&a(e.locals,t),e.kind){case 297:if(!yS.isExternalOrCommonJsModule(e))break;case 256:a(Pi(e).exports,2623475&t);break;case 255:a(Pi(e).exports,8&t);break;case 221:e.name&&i(e.symbol,t);case 252:case 253:n||a(is(Pi(e)),788968&t);break;case 208:e.name&&i(e.symbol,t)}yS.introducesArgumentsExoticObject(e)&&i(fe,t),n=yS.hasSyntacticModifier(e,32),e=e.parent}a(le,t)}(),r.delete("this"),bc(r);function i(e,t){yS.getCombinedLocalAndExportSymbolFlags(e)&t&&(t=e.escapedName,r.has(t)||r.set(t,e))}function a(e,t){t&&e.forEach(function(e){i(e,t)})}}(e,t):[]},getSymbolAtLocation:function(e){e=yS.getParseTreeNode(e);return e?eD(e,!0):void 0},getShorthandAssignmentValueSymbol:function(e){e=yS.getParseTreeNode(e);return e?function(e){if(e&&289===e.kind)return gi(e.name,2208703);return}(e):void 0},getExportSpecifierLocalTargetSymbol:function(e){e=yS.getParseTreeNode(e,yS.isExportSpecifier);return e?(e=e,yS.isExportSpecifier(e)?e.parent.parent.moduleSpecifier?ei(e.parent.parent,e):gi(e.propertyName||e.name,2998271):gi(e,2998271)):void 0},getExportSymbolOfSymbol:function(e){return Fi(e.exportSymbol||e)},getTypeAtLocation:function(e){e=yS.getParseTreeNode(e);return e?tD(e):Ie},getTypeOfAssignmentPattern:function(e){e=yS.getParseTreeNode(e,yS.isAssignmentPattern);return e&&rD(e)||Ie},getPropertySymbolOfDestructuringAssignment:function(e){var t=yS.getParseTreeNode(e,yS.isIdentifier);return t?(e=t,(t=rD(yS.cast(e.parent.parent,yS.isAssignmentPattern)))&&_c(t,e.escapedText)):void 0},signatureToString:function(e,t,r,n){return _a(e,yS.getParseTreeNode(t),r,n)},typeToString:function(e,t,r){return da(e,yS.getParseTreeNode(t),r)},symbolToString:function(e,t,r,n){return la(e,yS.getParseTreeNode(t),r,n)},typePredicateToString:function(e,t,r){return ha(e,yS.getParseTreeNode(t),r)},writeSignature:function(e,t,r,n,i){return _a(e,yS.getParseTreeNode(t),r,n,i)},writeType:function(e,t,r,n){return da(e,yS.getParseTreeNode(t),r,n)},writeSymbol:function(e,t,r,n,i){return la(e,yS.getParseTreeNode(t),r,n,i)},writeTypePredicate:function(e,t,r,n){return ha(e,yS.getParseTreeNode(t),r,n)},getAugmentedPropertiesOfType:iD,getRootSymbols:function e(t){var r=oD(t);return r?yS.flatMap(r,e):[t]},getSymbolOfExpando:uh,getContextualType:function(e,t){var r=yS.getParseTreeNode(e,yS.isExpression);if(r){var n=yS.findAncestor(r,yS.isCallLikeExpression),i=n&&On(n).resolvedSignature;if(4&t&&n){for(var a=r;On(a).skipDirectInference=!0,a=a.parent,a&&a!==n;);On(n).resolvedSignature=void 0}e=Zg(r,t);if(4&t&&n){for(a=r;On(a).skipDirectInference=void 0,a=a.parent,a&&a!==n;);On(n).resolvedSignature=i}return e}},getContextualTypeForObjectLiteralElement:function(e){e=yS.getParseTreeNode(e,yS.isObjectLiteralElementLike);return e?Kg(e):void 0},getContextualTypeForArgumentAtIndex:function(e,t){e=yS.getParseTreeNode(e,yS.isCallLikeExpression);return e&&Bg(e,t)},getContextualTypeForJsxAttribute:function(e){e=yS.getParseTreeNode(e,yS.isJsxAttributeLike);return e&&Hg(e)},isContextSensitive:z_,getFullyQualifiedName:fi,getResolvedSignature:function(e,t,r){return ye(e,t,r,0)},getResolvedSignatureForSignatureHelp:function(e,t,r){return ye(e,t,r,16)},getExpandedParameters:ds,hasEffectiveRestParameter:Ah,getConstantValue:function(e){e=yS.getParseTreeNode(e,ED);return e?kD(e):void 0},isValidPropertyAccess:function(e,t){e=yS.getParseTreeNode(e,yS.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!e&&function(e,t){switch(e.kind){case 201:return dy(e,105===e.expression.kind,t,Ap(Av(e.expression)));case 157:return dy(e,!1,t,Ap(Av(e.left)));case 195:return dy(e,!1,t,__(e))}}(e,yS.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(e,t,r){e=yS.getParseTreeNode(e,yS.isPropertyAccessExpression);return!!e&&(t=t,r=r,dy(e=e,201===e.kind&&105===e.expression.kind,r.escapedName,t))},getSignatureFromDeclaration:function(e){e=yS.getParseTreeNode(e,yS.isFunctionLike);return e?Nc(e):void 0},isImplementationOfOverload:function(e){e=yS.getParseTreeNode(e,yS.isFunctionLike);return e?vD(e):void 0},getImmediateAliasedSymbol:fm,getAliasedSymbol:si,getEmitResolver:function(e,t){return Wx(e,t),h},getExportsOfModule:Ti,getExportsAndPropertiesOfModule:function(e){var t=Ti(e),r=xi(e);r!==e&&yS.addRange(t,zs(go(r)));return t},getSymbolWalker:yS.createGetSymbolWalker(function(e){return Bc(e)||Fe},Oc,Mc,Fo,Rs,go,pf,gc,Vs,yS.getFirstIdentifier,iu),getAmbientModules:function(){xt||(xt=[],le.forEach(function(e,t){hS.test(t)&&xt.push(e)}));return xt},getJsxIntrinsicTagNamesAt:function(e){e=Sm(CS.IntrinsicElements,e);return e?zs(e):yS.emptyArray},isOptionalParameter:function(e){e=yS.getParseTreeNode(e,yS.isParameter);return!!e&&Sc(e)},tryGetMemberInModuleExports:function(e,t){return Ci(yS.escapeLeadingUnderscores(e),t)},tryGetMemberInModuleExportsAndProperties:function(e,t){return function(e,t){var r=Ci(e,t);if(r)return r;r=xi(t);if(r===t)return;r=go(r);return 131068&r.flags||1&yS.getObjectFlags(r)||Qd(r)?void 0:_c(r,e)}(yS.escapeLeadingUnderscores(e),t)},tryFindAmbientModuleWithoutAugmentations:function(e){return Dc(e,!1)},getApparentType:tc,getUnionType:Yu,isTypeAssignableTo:Y_,createAnonymousType:Xi,createSignature:cs,createSymbol:Tn,createIndexInfo:Hc,getAnyType:function(){return Fe},getStringType:function(){return Ue},getNumberType:function(){return Ve},createPromiseType:Lh,createArrayType:wu,getElementTypeOfArrayType:Wd,getBooleanType:function(){return Xe},getFalseType:function(e){return e?qe:We},getTrueType:function(e){return e?He:Ge},getVoidType:function(){return Ye},getUndefinedType:function(){return Re},getNullType:function(){return Je},getESSymbolType:function(){return Qe},getNeverType:function(){return Ze},getOptionalType:function(){return je},isSymbolAccessible:na,isArrayType:Vd,isTupleType:ap,isArrayLikeType:Hd,isTypeInvalidDueToUnionDiscriminant:function(r,e){return e.properties.some(function(e){var t=e.name&&ul(e.name),t=t&&Qo(t)?ts(t):void 0,t=void 0===t?void 0:Fa(r,t);return!!t&&$d(t)&&!Y_(tD(e),t)})},getAllPossiblePropertiesOfTypes:function(e){var t=Yu(e);if(!(1048576&t.flags))return iD(t);for(var r=yS.createSymbolTable(),n=0,i=e;n>",0,Fe),gr=cs(void 0,void 0,void 0,yS.emptyArray,Fe,void 0,0,0),mr=cs(void 0,void 0,void 0,yS.emptyArray,Ie,void 0,0,0),yr=cs(void 0,void 0,void 0,yS.emptyArray,Fe,void 0,0,0),hr=cs(void 0,void 0,void 0,yS.emptyArray,$e,void 0,0,0),vr=Hc(Ue,!0),br=new yS.Map,xr={get yieldType(){return yS.Debug.fail("Not supported")},get returnType(){return yS.Debug.fail("Not supported")},get nextType(){return yS.Debug.fail("Not supported")}},Dr=Kb(Fe,Fe,Fe),Sr=Kb(Fe,Fe,Le),Tr=Kb(Ze,Fe,Re),Cr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return($t=$t||Su("AsyncIterator",3,e))||pt},getGlobalIterableType:function(e){return(Zt=Zt||Su("AsyncIterable",1,e))||pt},getGlobalIterableIteratorType:function(e){return(er=er||Su("AsyncIterableIterator",1,e))||pt},getGlobalGeneratorType:function(e){return(tr=tr||Su("AsyncGenerator",3,e))||pt},resolveIterationType:$v,mustHaveANextMethodDiagnostic:yS.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:yS.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:yS.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Er={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return(Ht=Ht||Su("Iterator",3,e))||pt},getGlobalIterableType:Nu,getGlobalIterableIteratorType:function(e){return(Gt=Gt||Su("IterableIterator",1,e))||pt},getGlobalGeneratorType:function(e){return(Xt=Xt||Su("Generator",3,e))||pt},resolveIterationType:function(e,t){return e},mustHaveANextMethodDiagnostic:yS.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:yS.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:yS.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},kr=new yS.Map,Nr=!1,Ar=new yS.Map,Fr=0,Pr=0,wr=0,Ir=!1,Or=0,Mr=o_(""),Lr=o_(0),Rr=o_({negative:!1,base10Value:"0"}),Br=[],jr=[],Jr=[],zr=0,Ur=10,Vr=[],Kr=[],qr=[],Wr=[],Hr=[],Gr=[],Xr=[],Qr=[],Yr=[],Zr=[],$r=[],en=[],tn=[],rn=[],nn=[],an=yS.createDiagnosticCollection(),on=yS.createDiagnosticCollection(),sn=new yS.Map(yS.getEntries({string:Ue,number:Ve,bigint:Ke,boolean:Xe,symbol:Qe,undefined:Re})),cn=Yu(yS.arrayFrom(DS.keys(),o_)),un=new yS.Map,ln=new yS.Map,_n=new yS.Map,dn=new yS.Map,pn=new yS.Map,fn=new yS.Map,gn=yS.createSymbolTable();return gn.set(_e.escapedName,_e),function(){for(var e,t=0,r=b.getSourceFiles();tt.end)&&void 0===yS.findAncestor(e,function(e){if(e===t)return"quit";switch(e.kind){case 209:return!0;case 163:return!r||!(yS.isPropertyDeclaration(t)&&e.parent===t.parent||yS.isParameterPropertyDeclaration(t,t.parent)&&e.parent===t.parent.parent)||"quit";case 230:switch(e.parent.kind){case 167:case 165:case 168:return!0;default:return!1}default:return!1}})}}function Bn(e,t,r){var n=yS.getEmitScriptTarget(Y),t=t;if(yS.isParameter(r)&&t.body&&e.valueDeclaration.pos>=t.body.pos&&e.valueDeclaration.end<=t.body.end&&2<=n){e=On(t);return void 0===e.declarationRequiresScopeChange&&(e.declarationRequiresScopeChange=yS.forEach(t.parameters,function(e){return i(e.name)||!!e.initializer&&i(e.initializer)})||!1),!e.declarationRequiresScopeChange}function i(e){switch(e.kind){case 209:case 208:case 251:case 166:return!1;case 165:case 167:case 168:case 288:return i(e.name);case 163:return yS.hasStaticModifier(e)?n<99||!Y.useDefineForClassFields:i(e.name);default:return yS.isNullishCoalesce(e)||yS.isOptionalChain(e)?n<7:yS.isBindingElement(e)&&e.dotDotDotToken&&yS.isObjectBindingPattern(e.parent)?n<4:!yS.isTypeNode(e)&&yS.forEachChild(e,i)||!1}}}function jn(e,t,r,n,i,a,o,s){return void 0===o&&(o=!1),Jn(e,t,r,n,i,a,o,Ln,s)}function Jn(e,t,r,n,i,a,o,s,c){var u,l,_,d,p,f,g,m,y,h,v=e,b=!1,x=e,D=!1;e:for(;e;){if(e.locals&&!Mn(e)&&(u=s(e.locals,t,r))){var S=!0;if(yS.isFunctionLike(e)&&l&&l!==e.body?(r&u.flags&788968&&311!==l.kind&&(S=!!(262144&u.flags)&&(l===e.type||160===l.kind||159===l.kind)),r&u.flags&3&&(Bn(u,e,l)?S=!1:1&u.flags&&(S=160===l.kind||l===e.type&&!!yS.findAncestor(u.valueDeclaration,yS.isParameter)))):184===e.kind&&(S=l===e.trueType),S)break e;u=void 0}switch(b=b||function(e,t){if(209!==e.kind&&208!==e.kind)return yS.isTypeQueryNode(e)||(yS.isFunctionLikeDeclaration(e)||163===e.kind&&!yS.hasSyntacticModifier(e,32))&&(!t||t!==e.name);if(t&&t===e.name)return!1;if(e.asteriskToken||yS.hasSyntacticModifier(e,256))return!0;return!yS.getImmediatelyInvokedFunctionExpression(e)}(e,l),e.kind){case 297:if(!yS.isExternalOrCommonJsModule(e))break;D=!0;case 256:var T=Pi(e).exports||F;if(297===e.kind||yS.isModuleDeclaration(e)&&8388608&e.flags&&!yS.isGlobalScopeAugmentation(e)){if(u=T.get("default")){var C=yS.getLocalSymbolForExportDefault(u);if(C&&u.flags&r&&C.escapedName===t)break e;u=void 0}C=T.get(t);if(C&&2097152===C.flags&&(yS.getDeclarationOfKind(C,270)||yS.getDeclarationOfKind(C,269)))break}if("default"!==t&&(u=s(T,t,2623475&r))){if(!yS.isSourceFile(e)||!e.commonJsModuleIndicator||u.declarations.some(yS.isJSDocTypeAlias))break e;u=void 0}break;case 255:if(u=s(Pi(e).exports,t,8&r))break e;break;case 163:yS.hasSyntacticModifier(e,32)||(E=ji(e.parent))&&E.locals&&s(E.locals,t,111551&r)&&(d=e);break;case 252:case 221:case 253:if(u=s(Pi(e).members||F,t,788968&r)){if(!function(e,t){for(var r=0,n=e.declarations;rp.pos&&f.parent.locals&&s(f.parent.locals,y.escapedName,r)===y&&hn(x,yS.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,yS.declarationNameToString(p.name),yS.declarationNameToString(x))),u&&x&&111551&r&&2097152&u.flags&&(A=u,h=t,g=x,yS.isValidTypeOnlyAliasUseSite(g)||(m=li(A))&&(y=yS.typeOnlyDeclarationIsExport(m),A=y?yS.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:yS.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,y=y?yS.Diagnostics._0_was_exported_here:yS.Diagnostics._0_was_imported_here,h=yS.unescapeLeadingUnderscores(h),yS.addRelatedInfo(hn(g,A,h),yS.createDiagnosticForNode(m,y,h))))}return u}n&&(x&&(function(e,t,r){if(!yS.isIdentifier(e)||e.escapedText!==t||Xx(e)||ff(e))return!1;var n=yS.getThisContainer(e,!1),i=n;for(;i;){if(yS.isClassLike(i.parent)){var a=Pi(i.parent);if(!a)break;if(_c(go(a),t))return hn(e,yS.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,zn(r),la(a)),!0;if(i===n&&!yS.hasSyntacticModifier(i,32))if(_c(Jo(a).thisType,t))return hn(e,yS.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,zn(r)),!0}i=i.parent}return!1}(x,t,i)||Un(x)||function(e,t,r){var n=1920|(yS.isInJSFile(e)?111551:0);if(r===n){var i=oi(jn(e,t,788968&~n,void 0,void 0,!1)),r=e.parent;if(i){if(yS.isQualifiedName(r)){yS.Debug.assert(r.left===e,"Should only be resolving left side of qualified name as a namespace");n=r.right.escapedText;if(_c(Jo(i),n))return hn(r,yS.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,yS.unescapeLeadingUnderscores(t),yS.unescapeLeadingUnderscores(n)),!0}return hn(e,yS.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,yS.unescapeLeadingUnderscores(t)),!0}}return!1}(x,t,r)||function(e,t){if(Vn(t)&&270===e.parent.kind)return hn(e,yS.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(x,t)||function(e,t,r){if(111551&r){if(Vn(t))return hn(e,yS.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,yS.unescapeLeadingUnderscores(t)),!0;var n=oi(jn(e,t,788544,void 0,void 0,!1));if(n&&!(1024&n.flags)){r=yS.unescapeLeadingUnderscores(t);return!function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?!function(e,t){e=yS.findAncestor(e.parent,function(e){return!yS.isComputedPropertyName(e)&&!yS.isPropertySignature(e)&&(yS.isTypeLiteralNode(e)||"quit")});if(e&&1===e.members.length){t=Jo(t);return!!(1048576&t.flags)&&nv(t,384,!0)}return!1}(e,n)?hn(e,yS.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r):hn(e,yS.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,r,"K"===r?"P":"K"):hn(e,yS.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,r),!0}}return!1}(x,t,r)||function(e,t,r){if(111127&r){if(oi(jn(e,t,1024,void 0,void 0,!1)))return hn(e,yS.Diagnostics.Cannot_use_namespace_0_as_a_value,yS.unescapeLeadingUnderscores(t)),!0}else if(788544&r)if(oi(jn(e,t,1536,void 0,void 0,!1)))return hn(e,yS.Diagnostics.Cannot_use_namespace_0_as_a_type,yS.unescapeLeadingUnderscores(t)),!0;return!1}(x,t,r)||function(e,t,r){if(788584&r){r=oi(jn(e,t,111127,void 0,void 0,!1));if(r&&!(1920&r.flags))return hn(e,yS.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,yS.unescapeLeadingUnderscores(t)),!0}return!1}(x,t,r))||(h=void 0,c&&zr=yS.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",i=r.exports.get("export=").valueDeclaration,s=hn(e.name,yS.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,la(r),n),yS.addRelatedInfo(s,yS.createDiagnosticForNode(i,yS.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,n))):(i=e,null!==(r=(n=r).exports)&&void 0!==r&&r.has(i.symbol.escapedName)?hn(i.name,yS.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,la(n),la(i.symbol)):(i=hn(i.name,yS.Diagnostics.Module_0_has_no_default_export,la(n)),!(n=null===(n=n.exports)||void 0===n?void 0:n.get("__export"))||(n=yS.find(n.declarations,function(e){var t;return!!(yS.isExportDeclaration(e)&&e.moduleSpecifier&&null!==(t=null===(t=yi(e,e.moduleSpecifier))||void 0===t?void 0:t.exports)&&void 0!==t&&t.has("default"))}))&&yS.addRelatedInfo(i,yS.createDiagnosticForNode(n,yS.Diagnostics.export_Asterisk_does_not_re_export_a_default))));return ci(e,a,void 0,!1),a}}function ei(e,t,r){void 0===r&&(r=!1);var n=yS.getExternalModuleRequireArgument(e)||e.moduleSpecifier,i=yi(e,n),a=!yS.isPropertyAccessExpression(t)&&t.propertyName||t.name;if(yS.isIdentifier(a)){var o,s,c=Di(i,n,r,"default"===a.escapedText&&!(!Y.allowSyntheticDefaultImports&&!Y.esModuleInterop));if(c&&a.escapedText){if(yS.isShorthandAmbientModuleSymbol(i))return i;var u=void 0,u=i&&i.exports&&i.exports.get("export=")?_c(go(c),a.escapedText,!0):function(e,t){if(3&e.flags){e=e.valueDeclaration.type;if(e)return oi(_c(__(e),t))}}(c,a.escapedText);u=oi(u,r);var n=function(e,t,r,n){if(1536&e.flags){t=Ei(e).get(t.escapedText),n=oi(t,n);return ci(r,t,n,!1),n}}(c,a,t,r);void 0===n&&"default"===a.escapedText&&Zn(yS.find(i.declarations,yS.isSourceFile),i,r)&&(n=xi(i,r)||oi(i,r));var l,t=n&&u&&n!==u?function(e,t){if(e===Ne&&t===Ne)return Ne;if(790504&e.flags)return e;var r=Tn(e.flags|t.flags,e.escapedName);return r.declarations=yS.deduplicate(yS.concatenate(e.declarations,t.declarations),yS.equateValues),r.parent=e.parent||t.parent,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),t.members&&(r.members=new yS.Map(t.members)),e.exports&&(r.exports=new yS.Map(e.exports)),r}(u,n):n||u;return t||(r=fi(i,e),n=yS.declarationNameToString(a),void 0!==(u=uy(a,c))?(l=la(u),c=hn(a,yS.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,r,n,l),u.valueDeclaration&&yS.addRelatedInfo(c,yS.createDiagnosticForNode(u.valueDeclaration,yS.Diagnostics._0_is_declared_here,l))):null!==(l=i.exports)&&void 0!==l&&l.has("default")?hn(a,yS.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,r,n):(e=e,a=a,o=n,n=r,s=null===(i=(r=i).valueDeclaration.locals)||void 0===i?void 0:i.get(a.escapedText),i=r.exports,s?(r=null==i?void 0:i.get("export="))?Li(r,s)?function(e,t,r,n){var i;D>=yS.ModuleKind.ES2015?(i=Y.esModuleInterop?yS.Diagnostics._0_can_only_be_imported_by_using_a_default_import:yS.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,hn(t,i,r)):yS.isInJSFile(e)?(i=Y.esModuleInterop?yS.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:yS.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,hn(t,i,r)):(i=Y.esModuleInterop?yS.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:yS.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,hn(t,i,r,r,n))}(e,a,o,n):hn(a,yS.Diagnostics.Module_0_has_no_exported_member_1,n,o):(i=(i=i?yS.find(bc(i),function(e){return!!Li(e,s)}):void 0)?hn(a,yS.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,n,o,la(i)):hn(a,yS.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,n,o),yS.addRelatedInfo.apply(void 0,__spreadArray([i],yS.map(s.declarations,function(e,t){return yS.createDiagnosticForNode(e,0===t?yS.Diagnostics._0_is_declared_here:yS.Diagnostics.and_here,o)})))):hn(a,yS.Diagnostics.Module_0_has_no_exported_member_1,n,o))),t}}}function ti(e){if(yS.isVariableDeclaration(e)&&e.initializer&&yS.isPropertyAccessExpression(e.initializer))return e.initializer}function ri(e,t,r){r=e.parent.parent.moduleSpecifier?ei(e.parent.parent,e,r):gi(e.propertyName||e.name,t,!1,r);return ci(e,void 0,r,!1),r}function ni(e,t){if(yS.isClassExpression(e))return pv(e).symbol;if(yS.isEntityName(e)||yS.isEntityNameExpression(e)){t=gi(e,901119,!0,t);return t?t:(pv(e),On(e).resolvedSymbol)}}function ii(e,t){switch(void 0===t&&(t=!1),e.kind){case 260:case 249:return Xn(e,t);case 262:return $n(e,t);case 263:return l=t,_=(u=e).parent.parent.moduleSpecifier,d=yi(u,_),l=Di(d,_,l,!1),ci(u,d,l,!1),l;case 269:return o=t,s=(a=e).parent.moduleSpecifier,c=s&&yi(a,s),o=s&&Di(c,s,o,!1),ci(a,c,o,!1),o;case 265:case 198:return s=e,a=t,o=ti(c=yS.isBindingElement(s)?yS.getRootDeclaration(s):s.parent.parent.parent),i=ei(c,o||s,a),c=s.propertyName||s.name,o&&i&&yS.isIdentifier(c)?oi(_c(go(i),c.escapedText),a):(ci(s,void 0,i,!1),i);case 270:return ri(e,901119,t);case 266:case 216:return i=e,n=t,n=ni(yS.isExportAssignment(i)?i.expression:i.right,n),ci(i,void 0,n,!1),n;case 259:return r=t,r=xi((n=e).parent.symbol,r),ci(n,void 0,r,!1),r;case 289:return gi(e.name,901119,!0,t);case 288:return r=t,ni(e.initializer,r);case 202:case 201:return function(e,t){if(yS.isBinaryExpression(e.parent)&&e.parent.left===e&&62===e.parent.operatorToken.kind)return ni(e.parent.right,t)}(e,t);default:return yS.Debug.fail()}var r,n,i,a,o,s,c,u,l,_,d}function ai(e,t){return void 0===t&&(t=901119),e&&(2097152==(e.flags&(2097152|t))||2097152&e.flags&&67108864&e.flags)}function oi(e,t){return!t&&ai(e)?si(e):e}function si(e){yS.Debug.assert(0!=(2097152&e.flags),"Should only get Alias here.");var t=In(e);if(t.target)t.target===Ae&&(t.target=Ne);else{t.target=Ae;var r=Wn(e);if(!r)return yS.Debug.fail();var n=ii(r);t.target===Ae?t.target=n||Ne:hn(r,yS.Diagnostics.Circular_definition_of_import_alias_0,la(e))}return t.target}function ci(e,t,r,n){if(e&&!yS.isPropertyAccessExpression(e)){var i=Pi(e);if(yS.isTypeOnlyImportOrExportDeclaration(e))return In(i).typeOnlyDeclaration=e,1;i=In(i);return ui(i,t,n)||ui(i,r,n)}}function ui(e,t,r){return t&&(void 0===e.typeOnlyDeclaration||r&&!1===e.typeOnlyDeclaration)&&(t=(r=null!==(r=null===(r=t.exports)||void 0===r?void 0:r.get("export="))&&void 0!==r?r:t).declarations&&yS.find(r.declarations,yS.isTypeOnlyImportOrExportDeclaration),e.typeOnlyDeclaration=null!==(r=null!=t?t:In(r).typeOnlyDeclaration)&&void 0!==r&&r),!!e.typeOnlyDeclaration}function li(e){if(2097152&e.flags)return In(e).typeOnlyDeclaration||void 0}function _i(e){var t=Pi(e),e=si(t);e&&(e===Ne||111551&e.flags&&!yD(e)&&!li(t))&&di(t)}function di(e){var t=In(e);if(!t.referenced){t.referenced=!0;t=Wn(e);if(!t)return yS.Debug.fail();!yS.isInternalModuleImportEqualsDeclaration(t)||((e=oi(e))===Ne||111551&e.flags)&&pv(t.moduleReference)}}function pi(e,t){return 78===e.kind&&yS.isRightSideOfQualifiedNameOrPropertyAccess(e)&&(e=e.parent),78===e.kind||157===e.parent.kind?gi(e,1920,!1,t):(yS.Debug.assert(260===e.parent.kind),gi(e,901119,!1,t))}function fi(e,t){return e.parent?fi(e.parent,t)+"."+la(e):la(e,t,void 0,20)}function gi(e,t,r,n,i){if(!yS.nodeIsMissing(e)){var a=1920|(yS.isInJSFile(e)?111551&t:0);if(78===e.kind){var o,s=t===a||yS.nodeIsSynthesized(e)?yS.Diagnostics.Cannot_find_namespace_0:df(yS.getFirstIdentifier(e)),c=yS.isInJSFile(e)&&!yS.nodeIsSynthesized(e)?function(e,t){if(fu(e.parent)){var r=function(e){if(yS.findAncestor(e,function(e){return yS.isJSDocNode(e)||4194304&e.flags?yS.isJSDocTypeAlias(e):"quit"}))return;var t=yS.getJSDocHost(e);if(t&&yS.isExpressionStatement(t)&&yS.isBinaryExpression(t.expression)&&3===yS.getAssignmentDeclarationKind(t.expression))if(r=Pi(t.expression.left))return mi(r);if(t&&(yS.isObjectLiteralMethod(t)||yS.isPropertyAssignment(t))&&yS.isBinaryExpression(t.parent.parent)&&6===yS.getAssignmentDeclarationKind(t.parent.parent))if(r=Pi(t.parent.parent.left))return mi(r);e=yS.getEffectiveJSDocHost(e);if(e&&yS.isFunctionLike(e)){var r;return(r=Pi(e))&&r.valueDeclaration}}(e.parent);if(r)return jn(r,e.escapedText,t,void 0,e,!0)}}(e,t):void 0;if(!(o=Fi(jn(i||e,e.escapedText,t,r||c?void 0:s,e,!0))))return Fi(c)}else{if(157!==e.kind&&201!==e.kind)throw yS.Debug.assertNever(e,"Unknown entity name kind.");var u,s=157===e.kind?e.left:e.expression,c=157===e.kind?e.right:e.name,a=gi(s,a,r,!1,i);if(!a||yS.nodeIsMissing(c))return;if(a===Ne)return a;if(yS.isInJSFile(e)&&a.valueDeclaration&&yS.isVariableDeclaration(a.valueDeclaration)&&a.valueDeclaration.initializer&&gh(a.valueDeclaration.initializer)&&(!(i=yi(i=a.valueDeclaration.initializer.arguments[0],i))||(u=xi(i))&&(a=u)),o=Fi(Ln(Ei(a),c.escapedText,t)),!o)return void(r||(u=fi(a),r=yS.declarationNameToString(c),(a=uy(c,a))?hn(c,yS.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,u,r,la(a)):hn(c,yS.Diagnostics.Namespace_0_has_no_exported_member_1,u,r)))}return yS.Debug.assert(0==(1&yS.getCheckFlags(o)),"Should never get an instantiated symbol here."),!yS.nodeIsSynthesized(e)&&yS.isEntityName(e)&&(2097152&o.flags||266===e.parent.kind)&&ci(yS.getAliasDeclarationFromName(e),o,void 0,!0),o.flags&t||n?o:si(o)}}function mi(e){e=e.parent.valueDeclaration;if(e)return(yS.isAssignmentDeclaration(e)?yS.getAssignedExpandoInitializer(e):yS.hasOnlyExpressionInitializer(e)?yS.getDeclaredExpandoInitializer(e):void 0)||e}function yi(e,t,r){var n=yS.getEmitModuleResolutionKind(Y)===yS.ModuleResolutionKind.Classic?yS.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:yS.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return hi(e,t,r?void 0:n)}function hi(e,t,r,n){return void 0===n&&(n=!1),yS.isStringLiteralLike(t)?vi(e,t.text,r,t,n):void 0}function vi(e,t,r,n,i){void 0===i&&(i=!1),yS.startsWith(t,"@types/")&&hn(n,o=yS.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,yS.removePrefix(t,"@types/"),t);var a=Dc(t,!0);if(a)return a;var o,s=yS.getSourceFileOfNode(e),c=yS.getResolvedModule(s,t),a=c&&yS.getResolutionDiagnostic(Y,c),e=c&&!a&&b.getSourceFile(c.resolvedFileName);if(e)return e.symbol?(c.isExternalLibraryImport&&!yS.resolutionExtensionIsTSOrJson(c.extension)&&bi(!1,n,c,t),Fi(e.symbol)):void(r&&hn(n,yS.Diagnostics.File_0_is_not_a_module,e.fileName));if(Dt){s=yS.findBestPatternMatch(Dt,function(e){return e.pattern},t);if(s){e=St&&St.get(t);return e?Fi(e):Fi(s.symbol)}}if(c&&!yS.resolutionExtensionIsTSOrJson(c.extension)&&void 0===a||a===yS.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)i?hn(n,o=yS.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,t,c.resolvedFileName):bi($&&!!r,n,c,t);else if(r){if(c){i=b.getProjectReferenceRedirect(c.resolvedFileName);if(i)return void hn(n,yS.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,i,c.resolvedFileName)}a?hn(n,a,t,c.resolvedFileName):(a=yS.tryExtractTSExtension(t))?(o=yS.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,c=yS.removeExtension(t,a),yS.getEmitModuleKind(Y)>=yS.ModuleKind.ES2015&&(c+=".js"),hn(n,o,a,c)):!Y.resolveJsonModule&&yS.fileExtensionIs(t,".json")&&yS.getEmitModuleResolutionKind(Y)===yS.ModuleResolutionKind.NodeJs&&yS.hasJsonModuleEmitEnabled(Y)?hn(n,yS.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t):hn(n,r,t)}}function bi(e,t,r,n){var i=r.packageId,a=r.resolvedFileName,i=!yS.isExternalModuleNameRelative(n)&&i?(r=i.name,o().has(yS.getTypesPackageName(r))?yS.chainDiagnosticMessages(void 0,yS.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,i.name,yS.mangleScopedPackageName(i.name)):yS.chainDiagnosticMessages(void 0,yS.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,n,yS.mangleScopedPackageName(i.name))):void 0;bn(e,t,yS.chainDiagnosticMessages(i,yS.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,n,a))}function xi(e,t){if(null!=e&&e.exports){t=function(e,t){if(!e||e===Ne||e===t||1===t.exports.size||2097152&e.flags)return e;var r=In(e);if(r.cjsExportMerged)return r.cjsExportMerged;var n=33554432&e.flags?e:kn(e);n.flags=512|n.flags,void 0===n.exports&&(n.exports=yS.createSymbolTable());return t.exports.forEach(function(e,t){"export="!==t&&n.exports.set(t,n.exports.has(t)?Nn(n.exports.get(t),e):e)}),In(n).cjsExportMerged=n,r.cjsExportMerged=n}(Fi(oi(e.exports.get("export="),t)),Fi(e));return Fi(t)||e}}function Di(e,t,r,n){var i=xi(e,r);if(!r&&i){if(!(n||1539&i.flags||yS.getDeclarationOfKind(i,297))){var a=D>=yS.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return hn(t,yS.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,a),i}if(Y.esModuleInterop){n=t.parent;if(yS.isImportDeclaration(n)&&yS.getNamespaceDeclarationNode(n)||yS.isImportCall(n)){a=go(i),t=dc(a,0);if(t&&t.length||(t=dc(a,1)),t&&t.length){a=fh(a,i,e),e=Tn(i.flags,i.escapedName);e.declarations=i.declarations?i.declarations.slice():[],e.parent=i.parent,e.target=i,e.originatingImport=n,i.valueDeclaration&&(e.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(e.constEnumOnlyModule=!0),i.members&&(e.members=new yS.Map(i.members)),i.exports&&(e.exports=new yS.Map(i.exports));a=Rs(a);return e.type=Xi(e,a.members,yS.emptyArray,yS.emptyArray,a.stringIndexInfo,a.numberIndexInfo),e}}}}return i}function Si(e){return void 0!==e.exports.get("export=")}function Ti(e){return bc(ki(e))}function Ci(e,t){t=ki(t);if(t)return t.get(e)}function Ei(e){return 6256&e.flags?ns(e,"resolvedExports"):1536&e.flags?ki(e):e.exports||F}function ki(e){var t=In(e);return t.resolvedExports||(t.resolvedExports=Ai(e))}function Ni(n,e,i,a){e&&e.forEach(function(e,t){var r;"default"!==t&&((r=n.get(t))?i&&a&&r&&oi(r)!==oi(e)&&((r=i.get(t)).exportsWithDuplicate?r.exportsWithDuplicate.push(a):r.exportsWithDuplicate=[a]):(n.set(t,e),i&&a&&i.set(t,{specifierText:yS.getTextOfNode(a.moduleSpecifier)})))})}function Ai(e){var u=[];return function e(t){if(!(t&&t.exports&&yS.pushIfUnique(u,t)))return;var a=new yS.Map(t.exports);var t=t.exports.get("__export");if(t){for(var r=yS.createSymbolTable(),o=new yS.Map,n=0,i=t.declarations;n=i?n.substr(0,i-"...".length)+"...":n}function pa(e,t){var r=ga(e.symbol)?da(e,e.symbol.valueDeclaration):da(e),n=ga(t.symbol)?da(t,t.symbol.valueDeclaration):da(t);return r===n&&(r=fa(e),n=fa(t)),[r,n]}function fa(e){return da(e,void 0,64)}function ga(e){return e&&e.valueDeclaration&&yS.isExpression(e.valueDeclaration)&&!z_(e.valueDeclaration)}function ma(e){return void 0===e&&(e=0),814775659&e}function ya(e){return e.symbol&&32&e.symbol.flags&&(e===wo(e.symbol)||1073741824&yS.getObjectFlags(e))}function ha(i,a,o,e){return void 0===o&&(o=16384),e?t(e).getText():yS.usingSingleLineStringWriter(t);function t(e){var t=yS.factory.createTypePredicateNode(2===i.kind||3===i.kind?yS.factory.createToken(127):void 0,1===i.kind||3===i.kind?yS.factory.createIdentifier(i.parameterName):yS.factory.createThisTypeNode(),i.type&&v.typeToTypeNode(i.type,a,70222336|ma(o))),r=yS.createPrinter({removeComments:!0}),n=a&&yS.getSourceFileOfNode(a);return r.writeNode(4,t,n,e),e}}function va(e){return 8===e?"private":16===e?"protected":"public"}function ba(e){return e&&e.parent&&257===e.parent.kind&&yS.isExternalModuleAugmentation(e.parent.parent)}function xa(e){return 297===e.kind||yS.isAmbientModule(e)}function Da(e,t){var r=In(e).nameType;if(r){if(384&r.flags){e=""+r.value;return yS.isIdentifierText(e,Y.target)||_m(e)?_m(e)&&yS.startsWith(e,"-")?"["+e+"]":e:'"'+yS.escapeString(e,34)+'"'}if(8192&r.flags)return"["+Sa(r.symbol,t)+"]"}}function Sa(e,t){if(t&&"default"===e.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!e.declarations||t.enclosingDeclaration&&yS.findAncestor(e.declarations[0],xa)!==yS.findAncestor(t.enclosingDeclaration,xa)))return"default";if(e.declarations&&e.declarations.length){var r=yS.firstDefined(e.declarations,function(e){return yS.getNameOfDeclaration(e)?e:void 0}),n=r&&yS.getNameOfDeclaration(r);if(r&&n){if(yS.isCallExpression(r)&&yS.isBindableObjectDefinePropertyCall(r))return yS.symbolName(e);if(yS.isComputedPropertyName(n)&&!(4096&yS.getCheckFlags(e))){var i=In(e).nameType;if(i&&384&i.flags){i=Da(e,t);if(void 0!==i)return i}}return yS.declarationNameToString(n)}if((r=r||e.declarations[0]).parent&&249===r.parent.kind)return yS.declarationNameToString(r.parent.name);switch(r.kind){case 221:case 208:case 209:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),221===r.kind?"(Anonymous class)":"(Anonymous function)"}}n=Da(e,t);return void 0!==n?n:yS.symbolName(e)}function Ta(t){if(t){var e=On(t);return void 0===e.isVisible&&(e.isVisible=!!function(){switch(t.kind){case 324:case 331:case 325:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&yS.isSourceFile(t.parent.parent.parent));case 198:return Ta(t.parent.parent);case 249:if(yS.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 256:case 252:case 253:case 254:case 251:case 255:case 260:if(yS.isExternalModuleAugmentation(t))return!0;var e=Aa(t);return 1&yS.getCombinedModifierFlags(t)||260!==t.kind&&297!==e.kind&&8388608&e.flags?Ta(e):Mn(e);case 163:case 162:case 167:case 168:case 165:case 164:if(yS.hasEffectiveModifier(t,24))return!1;case 166:case 170:case 169:case 171:case 160:case 257:case 174:case 175:case 177:case 173:case 178:case 179:case 182:case 183:case 186:case 192:return Ta(t.parent);case 262:case 263:case 265:return!1;case 159:case 297:case 259:return!0;case 266:default:return!1}}()),e.isVisible}return!1}function Ca(e,n){var t,i,a;return e.parent&&266===e.parent.kind?t=jn(e,e.escapedText,2998271,void 0,e,!1):270===e.parent.kind&&(t=ri(e.parent,2998271)),t&&((a=new yS.Set).add(FS(t)),function r(e){yS.forEach(e,function(e){var t=qn(e)||e;n?On(e).isVisible=!0:(i=i||[],yS.pushIfUnique(i,t)),yS.isInternalModuleImportEqualsDeclaration(e)&&(t=e.moduleReference,t=yS.getFirstIdentifier(t),(t=jn(e,t.escapedText,901119,void 0,void 0,!1))&&a&&yS.tryAddToSet(a,FS(t))&&r(t.declarations))})}(t.declarations)),i}function Ea(e,t){var r=ka(e,t);if(!(0<=r))return Br.push(e),jr.push(!0),Jr.push(t),1;for(var n=Br.length,i=r;i=Ec(e.typeParameters))&&n<=yS.length(e.typeParameters)})}function ko(e,t,r){var e=Eo(e,t,r),n=yS.map(t,__);return yS.sameMap(e,function(e){return yS.some(e.typeParameters)?jc(e,n,yS.isInJSFile(r)):e})}function No(e){if(!e.resolvedBaseConstructorType){var t=e.symbol.valueDeclaration,r=yS.getEffectiveBaseTypeNode(t),n=Co(e);if(!n)return e.resolvedBaseConstructorType=Re;if(!Ea(e,1))return Ie;var i=Av(n.expression);if(r&&n!==r&&(yS.Debug.assert(!r.typeArguments),Av(r.expression)),2621440&i.flags&&Rs(i),!Na())return hn(e.symbol.valueDeclaration,yS.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,la(e.symbol)),e.resolvedBaseConstructorType=Ie;if(!(1&i.flags||i===ze||To(i))){t=hn(n.expression,yS.Diagnostics.Type_0_is_not_a_constructor_function_type,da(i));return 262144&i.flags&&(r=Qc(i),n=Le,!r||(r=pc(r,1))[0]&&(n=Mc(r[0])),yS.addRelatedInfo(t,yS.createDiagnosticForNode(i.symbol.declarations[0],yS.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,la(i.symbol),da(n)))),e.resolvedBaseConstructorType=Ie}e.resolvedBaseConstructorType=i}return e.resolvedBaseConstructorType}function Ao(e,t){hn(e,yS.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,da(t,void 0,2))}function Fo(e){if(!e.baseTypesResolved){if(Ea(e,7)&&(8&e.objectFlags?e.resolvedBaseTypes=[(i=e,wu(Yu(yS.sameMap(i.typeParameters,function(e,t){return 8&i.elementFlags[t]?wl(e,Ve):e})||yS.emptyArray),i.readonly))]:96&e.symbol.flags?(32&e.symbol.flags&&function(e){e.resolvedBaseTypes=yS.resolvingEmptyArray;var t=tc(No(e));if(!(2621441&t.flags))return e.resolvedBaseTypes=yS.emptyArray;var r=Co(e),n=t.symbol?Jo(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,e=iu(e);return t[r].symbol!==e[r].symbol}return!0}(n))a=ou(r,t.symbol);else if(1&t.flags)a=t;else{var i=ko(t,r.typeArguments,r);if(!i.length)return hn(r.expression,yS.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=yS.emptyArray;a=Mc(i[0])}if(a===Ie)return e.resolvedBaseTypes=yS.emptyArray;if(!Po(i=oc(a))){var a=lc(void 0,a),a=yS.chainDiagnosticMessages(a,yS.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,da(i));return an.add(yS.createDiagnosticForNodeFromMessageChain(r.expression,a)),e.resolvedBaseTypes=yS.emptyArray}if(e===i||ho(i,e))return hn(e.symbol.valueDeclaration,yS.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,da(e,void 0,2)),e.resolvedBaseTypes=yS.emptyArray;e.resolvedBaseTypes===yS.resolvingEmptyArray&&(e.members=void 0),e.resolvedBaseTypes=[i]}(e),64&e.symbol.flags&&function(e){e.resolvedBaseTypes=e.resolvedBaseTypes||yS.emptyArray;for(var t=0,r=e.symbol.declarations;t=Nh(a)&&_>=Nh(o),d=n<=_?void 0:Dh(e,_),p=i<=_?void 0:Dh(t,_),p=Tn(1|(m&&!g?16777216:0),(d===p?d:d?p?void 0:d:p)||"arg"+_);p.type=g?wu(f):f,l[_]=p}{var y;u&&((y=Tn(1,"args")).type=wu(Th(o,s)),o===t&&(y.type=L_(y.type,r)),l[s]=y)}return l}(e,t,r),o=function(e,t,r){if(!e||!t)return e||t;r=nl([go(e),L_(go(t),r)]);return Tp(e,r)}(e.thisParameter,t.thisParameter,r),s=Math.max(e.minArgumentCount,t.minArgumentCount),s=cs(i,n,o,a,void 0,void 0,s,39&(e.flags|t.flags));s.unionSignatures=yS.concatenate(e.unionSignatures||[e],[t]),r&&(s.mapper=e.mapper&&e.unionSignatures?D_(e.mapper,r):r);return s}(e,t)})))return"break"}},f=0,g=e;f=Nh(t,3)}t=yS.getImmediatelyInvokedFunctionExpression(e.parent);return!!t&&(!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=t.arguments.length)}function Tc(e){if(!yS.isJSDocPropertyLikeTag(e))return!1;var t=e.isBracketed,e=e.typeExpression;return t||!!e&&307===e.type.kind}function Cc(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function Ec(e){var t,r=0;if(e)for(var n=0;ns.arguments.length&&!d||xc(l)||(i=r.length)}167!==e.kind&&168!==e.kind||!es(e)||o&&a||(c=167===e.kind?168:167,(c=yS.getDeclarationOfKind(Pi(e),c))&&(a=(p=nS(p=c))&&p.symbol));var p=166===e.kind?wo(Fi(e.parent.symbol)):void 0,p=p?p.localTypeParameters:vc(e);(yS.hasRestParameter(e)||yS.isInJSFile(e)&&function(e,t){if(yS.isJSDocSignature(e)||!Fc(e))return!1;var r=yS.lastOrUndefined(e.parameters),r=r?yS.getJSDocParameterTags(r):yS.getJSDocTags(e).filter(yS.isJSDocParameterTag),e=yS.firstDefined(r,function(e){return e.typeExpression&&yS.isJSDocVariadicType(e.typeExpression.type)?e.typeExpression.type:void 0}),r=Tn(3,"args",32768);r.type=e?wu(__(e.type)):Mt,e&&t.pop();return t.push(r),!0}(e,r))&&(n|=1),(yS.isConstructorTypeNode(e)&&yS.hasSyntacticModifier(e,128)||yS.isConstructorDeclaration(e)&&yS.hasSyntacticModifier(e.parent,128))&&(n|=4),t.resolvedSignature=cs(e,p,a,r,void 0,void 0,i,n)}return t.resolvedSignature}function Ac(e){if(yS.isInJSFile(e)&&yS.isFunctionLikeDeclaration(e)){e=yS.getJSDocTypeTag(e),e=e&&e.typeExpression&&Ey(__(e.typeExpression));return e&&Uc(e)}}function Fc(e){var t=On(e);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function e(t){if(!t)return!1;switch(t.kind){case 78:return t.escapedText===fe.escapedName&&pf(t)===fe;case 163:case 165:case 167:case 168:return 158===t.name.kind&&e(t.name);case 201:case 202:return e(t.expression);default:return!yS.nodeStartsNewLexicalEnvironment(t)&&!yS.isPartOfTypeNode(t)&&!!yS.forEachChild(t,e)}}(e.body)),t.containsArgumentsReference}function Pc(e){if(!e)return yS.emptyArray;for(var t=[],r=0;rn.length)){i=o&&yS.isExpressionWithTypeArguments(e)&&!yS.isJSDocAugmentsTag(e.parent);if(hn(e,a===n.length?i?yS.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:yS.Diagnostics.Generic_type_0_requires_1_type_argument_s:i?yS.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:yS.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,da(r,void 0,2),a,n.length),!o)return Ie}return 173===e.kind&&Lu(e,yS.length(e.typeArguments)!==n.length)?nu(r,e,void 0):tu(r,yS.concatenate(r.outerTypeParameters,kc(hu(e),n,a,o)))}return gu(e,t)?r:Ie}function su(e,t,r,n){var i=Jo(e);if(i===Me&&ES.has(e.escapedName)&&t&&1===t.length)return yl(e,t[0]);var a=In(e),o=a.typeParameters,s=Zc(t)+$c(r,n),c=a.instantiations.get(s);return c||a.instantiations.set(s,c=R_(i,m_(o,kc(t,o,Ec(o),yS.isInJSFile(e.valueDeclaration))),r,n)),c}function cu(e){switch(e.kind){case 173:return e.typeName;case 223:var t=e.expression;if(yS.isEntityNameExpression(t))return t}}function uu(e,t,r){return e&&gi(e,t,r)||Ne}function lu(e,t){if(t===Ne)return Ie;if(96&(t=function(e){var t=e.valueDeclaration;if(t&&yS.isInJSFile(t)&&!(524288&e.flags)&&!yS.getExpandoInitializer(t,!1)){t=yS.isVariableDeclaration(t)?yS.getDeclaredExpandoInitializer(t):yS.getAssignedExpandoInitializer(t);if(t){t=Pi(t);if(t)return ch(t,e)}}}(t)||t).flags)return ou(e,t);if(524288&t.flags)return function(e,t){var r=Jo(t),n=In(t).typeParameters;if(n){var i=yS.length(e.typeArguments),a=Ec(n);if(in.length)return hn(e,a===n.length?yS.Diagnostics.Generic_type_0_requires_1_type_argument_s:yS.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,la(t),a,n.length),Ie;n=Hl(e);return su(t,hu(e),n,Gl(n))}return gu(e,t)?r:Ie}(e,t);var r=zo(t);if(r)return gu(e,t)?i_(r):Ie;if(111551&t.flags&&fu(e)){r=function(e,t){var r=On(e);{var n,i,a;r.resolvedJSDocType||(n=go(t),i=n,t.valueDeclaration&&(a=195===e.kind&&e.qualifier,n.symbol&&n.symbol!==t&&a&&(i=lu(e,n.symbol))),r.resolvedJSDocType=i)}return r.resolvedJSDocType}(e,t);return r||(uu(cu(e),788968),go(t))}return Ie}function _u(e,t){if(3&t.flags||t===e)return e;var r=e.id+">"+t.id,n=Ce.get(r);if(n)return n;n=Ji(33554432);return n.baseType=e,n.substitute=t,Ce.set(r,n),n}function du(e){return 179===e.kind&&1===e.elements.length}function pu(e,t){for(var r;t&&!yS.isStatement(t)&&311!==t.kind;){var n,i=t.parent;184!==i.kind||t!==i.trueType||(n=function e(t,r,n){return du(r)&&du(n)?e(t,r.elements[0],n.elements[0]):Rl(__(r))===t?__(n):void 0}(e,i.checkType,i.extendsType))&&(r=yS.append(r,n)),t=i}return r?_u(e,nl(yS.append(r,e))):e}function fu(e){return!!(4194304&e.flags)&&(173===e.kind||195===e.kind)}function gu(e,t){if(!e.typeArguments)return 1;hn(e,yS.Diagnostics.Type_0_is_not_generic,t?la(t):e.typeName?yS.declarationNameToString(e.typeName):vS)}function mu(e){if(yS.isIdentifier(e.typeName)){var t=e.typeArguments;switch(e.typeName.escapedText){case"String":return gu(e),Ue;case"Number":return gu(e),Ve;case"Boolean":return gu(e),Xe;case"Void":return gu(e),Ye;case"Undefined":return gu(e),Re;case"Null":return gu(e),Je;case"Function":case"function":return gu(e),Ct;case"array":return t&&t.length||$?void 0:Mt;case"promise":return t&&t.length||$?void 0:Lh(Fe);case"Object":if(t&&2===t.length){if(yS.isJSDocIndexSignature(e)){var r=__(t[0]),n=Hc(__(t[1]),!1);return Xi(void 0,F,yS.emptyArray,yS.emptyArray,r===Ue?n:void 0,r===Ve?n:void 0)}return Fe}return gu(e),$?void 0:Fe}}}function yu(e){var t=On(e);if(!t.resolvedType){if(yS.isConstTypeReference(e)&&yS.isAssertionExpression(e.parent))return t.resolvedSymbol=Ne,t.resolvedType=pv(e.parent.expression);var r=void 0,n=void 0,i=788968;fu(e)&&((n=mu(e))||((r=uu(cu(e),i,!0))===Ne?r=uu(cu(e),900095):uu(cu(e),i),n=lu(e,r))),n=n||lu(e,r=uu(cu(e),i)),t.resolvedSymbol=r,t.resolvedType=n}return t.resolvedType}function hu(e){return yS.map(e.typeArguments,__)}function vu(e){var t=On(e);return t.resolvedType||(t.resolvedType=i_(Ap(Av(e.exprName)))),t.resolvedType}function bu(e,t){function r(e){for(var t=0,r=e.declarations;tn.fixedLength?function(e){e=cp(e);return e&&wu(e)}(e)||Bu(yS.emptyArray):Bu(iu(e).slice(t,r),n.elementFlags.slice(t,r),!1,n.labeledElementDeclarations&&n.labeledElementDeclarations.slice(t,r))}function Uu(e){return Yu(yS.append(yS.arrayOf(e.target.fixedLength,function(e){return o_(""+e)}),pl(e.target.readonly?At:Nt)))}function Vu(e,t){var r=yS.findIndex(e.elementFlags,function(e){return!(e&t)});return 0<=r?r:e.elementFlags.length}function Ku(e,t){return e.elementFlags.length-yS.findLastIndex(e.elementFlags,function(e){return!(e&t)})-1}function qu(e){return e.id}function Wu(e,t){return 0<=yS.binarySearch(e,t,qu,yS.compareValues)}function Hu(e,t){var r=yS.binarySearch(e,t,qu,yS.compareValues);return r<0&&(e.splice(~r,0,t),1)}function Gu(e,t,r){for(var n,i,a,o,s=0,c=r;sn[o-1].id?~o:yS.binarySearch(n,u,qu,yS.compareValues))<0&&n.splice(~o,0,u)),i)}return t}function Xu(e){var r=yS.filter(e,Tl);if(r.length)for(var n=e.length;0c:Nh(e)>c))return 0;e.typeParameters&&e.typeParameters!==t.typeParameters&&(e=Ay(e,t=Vc(t),void 0,o));var u=kh(e),l=Ph(e),_=Ph(t);if((l||_)&&L_(l||_,s),l&&_&&u!==c)return 0;var d=t.declaration?t.declaration.kind:0,p=!(3&r)&&I&&165!==d&&164!==d&&166!==d,f=-1,g=Ic(e);if(g&&g!==Ye){d=Ic(t);if(d){if(!(x=!p&&o(g,d,!1)||o(d,g,n)))return n&&i(yS.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;f&=x}}for(var m=l||_?Math.min(u,c):Math.max(u,c),y=l||_?m-1:-1,h=0;h=Nh(e)&&h=s.types.length&&o.length%s.types.length==0){var l=M(u,s.types[c%s.types.length],!1,void 0,n);if(l){a&=l;continue}}u=M(u,t,r,void 0,n);if(!u)return 0;a&=u}return a}function R(e,t,r,n){if(h)return 0;var i=Id(e,t,n|(x?16:0),w),a=w.get(i);if(void 0!==a&&(!(r&&2&a)||4&a))return dr&&(8&(s=24&a)&&L_(e,v_(j)),16&s&&L_(e,v_(J))),1&a?-1:0;if(l){for(var o=0;o":n+="-"+s.id}return n}function Id(e,t,r,n){n===pn&&e.id>t.id&&(i=e,e=t,t=i);var i=r?":"+r:"";if(Pd(e)&&Pd(t)){r=[];return wd(e,r)+","+wd(t,r)+i}return e.id+","+t.id+i}function Od(e,t){if(!(6&yS.getCheckFlags(e)))return t(e);for(var r=0,n=e.containingType.types;ra.target.minLength||!o.target.hasRestElement&&(a.target.hasRestElement||o.target.fixedLength=o?Le:t})),(a=e).nonFixingMapper)))):n=Qp(s),s.inferredType=n||lf(!!(2&e.flags)),(t=Vs(s.typeParameter))&&(t=L_(t,e.nonFixingMapper),n&&e.compareTypes(n,os(t,n))||(s.inferredType=n=t))),s.inferredType}function lf(e){return e?Fe:Le}function _f(e){for(var t=[],r=0;r=Nh(r)&&(Ah(r)||t=e&&t.length<=r}function Ey(e){return Ny(e,0,!1)}function ky(e){return Ny(e,0,!1)||Ny(e,1,!1)}function Ny(e,t,r){if(524288&e.flags){e=Rs(e);if(r||0===e.properties.length&&!e.stringIndexInfo&&!e.numberIndexInfo){if(0===t&&1===e.callSignatures.length&&0===e.constructSignatures.length)return e.callSignatures[0];if(1===t&&1===e.constructSignatures.length&&0===e.callSignatures.length)return e.constructSignatures[0]}}}function Ay(e,t,r,n){var i=Mp(e.typeParameters,e,0,n),n=Fh(t),n=r&&(n&&262144&n.flags?r.nonFixingMapper:r.mapper);return Ip(n?k_(t,n):t,e,function(e,t){tf(i.inferences,e,t)}),r||Op(t,e,function(e,t){tf(i.inferences,e,t,64)}),jc(e,_f(i),yS.isInJSFile(t.declaration))}function Fy(e){if(!e)return Ye;var t=Av(e);return yS.isOptionalChainRoot(e.parent)?yp(t):yS.isOptionalChain(e.parent)?bp(t):t}function Py(e,t,r,n,i){if(yS.isJsxOpeningLikeElement(e))return o=n,s=i,c=em(c=t,a=e),o=dv(a.attributes,c,s,o),tf(s.inferences,o,c),_f(s);var a,o,s,c;161===e.kind||(a=Zg(e,yS.every(t.typeParameters,function(e){return!!$s(e)})?8:0))&&(o=$g(e),s=(s=Ey(c=L_(a,zp((void 0===(c=1)&&(c=0),(s=o)&&Lp(yS.map(s.inferences,Jp),s.signature,s.flags|c,s.compareTypes))))))&&s.typeParameters?Kc(Jc(s,s.typeParameters)):c,c=Mc(t),tf(i.inferences,s,c,64),s=Mp(t.typeParameters,t,i.flags),o=L_(a,o&&o.returnMapper),tf(s.inferences,o,c),i.returnMapper=yS.some(s.inferences,Sv)?zp((c=s,(s=yS.filter(c.inferences,Sv)).length?Lp(yS.map(s,Jp),c.signature,c.flags,c.compareTypes):void 0)):void 0);var u=Ph(t),l=u?Math.min(kh(t)-1,r.length):r.length;u&&262144&u.flags&&((_=yS.find(i.inferences,function(e){return e.typeParameter===u}))&&(_.impliedArity=yS.findIndex(r,by,l)<0?r.length-l:void 0));var _=Ic(t);_&&(e=By(e),tf(i.inferences,Fy(e),_));for(var d=0;dc&&n.declaration&&((v=n.declaration.parameters[n.thisParameter?c+1:c])&&(f=yS.createDiagnosticForNode(v,yS.isBindingPattern(v.name)?yS.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:yS.isRestParameter(v)?yS.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:yS.Diagnostics.An_argument_for_0_was_not_provided,v.name?yS.isBindingPattern(v.name)?void 0:yS.idText(yS.getFirstIdentifier(v.name)):c))),it.length;)n.pop();for(;n.length=yS.ModuleKind.ES2015||(Db(e,t,"require")||Db(e,t,"exports"))&&(yS.isModuleDeclaration(e)&&1!==yS.getModuleInstanceState(e)||297===(e=Aa(e)).kind&&yS.isExternalOrCommonJsModule(e)&&yn("noEmit",t,yS.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,yS.declarationNameToString(t),yS.declarationNameToString(t)))}function kb(e,t){4<=R||!Db(e,t,"Promise")||yS.isModuleDeclaration(e)&&1!==yS.getModuleInstanceState(e)||297===(e=Aa(e)).kind&&yS.isExternalOrCommonJsModule(e)&&2048&e.flags&&yn("noEmit",t,yS.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,yS.declarationNameToString(t),yS.declarationNameToString(t))}function Nb(e){return e===Pe?Fe:e===Lt?Mt:e}function Ab(t){var e,r,n,i,a,o,s,c;sb(t),yS.isBindingElement(t)||jx(t.type),t.name&&(158===t.name.kind&&(dm(t.name),t.initializer&&pv(t.initializer)),198===t.kind&&(196===t.parent.kind&&R<99&&zD(t,4),t.propertyName&&158===t.propertyName.kind&&dm(t.propertyName),r=wa(e=t.parent.parent),n=t.propertyName||t.name,r&&!yS.isBindingPattern(n)&&(!Qo(n=ul(n))||(i=_c(r,ts(n)))&&(_y(i,void 0,!1),Jm(e,!!e.initializer&&105===e.initializer.kind,r,i)))),yS.isBindingPattern(t.name)&&(197===t.name.kind&&R<2&&Y.downlevelIteration&&zD(t,512),yS.forEach(t.name.elements,jx)),t.initializer&&yS.isParameterDeclaration(t)&&yS.nodeIsMissing(yS.getContainingFunction(t).body)?hn(t,yS.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation):yS.isBindingPattern(t.name)?(i=t.initializer&&238!==t.parent.parent.kind,s=0===t.name.elements.length,(i||s)&&(a=eo(t),i&&(o=pv(t.initializer),Z&&s?Xm(o,t):rd(o,eo(t),t,t.initializer)),s&&(yS.isArrayBindingPattern(t.name)?zb(65,a,Re,t):Z&&Xm(a,t)))):2097152&(o=Pi(t)).flags&&yS.isRequireVariableDeclaration(t,!0)?Fx(t):(s=Nb(go(o)),t===o.valueDeclaration?((c=yS.getEffectiveInitializer(t))&&(yS.isInJSFile(t)&&yS.isObjectLiteralExpression(c)&&(0===c.properties.length||yS.isPrototypeAccess(t.name))&&!(null===(a=o.exports)||void 0===a||!a.size)||238===t.parent.parent.kind||rd(pv(c),s,t,c,void 0)),1>i;case 49:return n>>>i;case 47:return n<=yS.ModuleKind.ES2015)||e.isTypeOnly||8388608&e.flags||pS(e,yS.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)))}(e);case 267:return Ix(e);case 266:return function(e){var t,r,n;Ox(e,yS.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)||(256!==(t=(297===e.parent.kind?e:e.parent).parent).kind||yS.isAmbientModule(t)?(!UD(e)&&yS.hasEffectiveModifiers(e)&&lS(e,yS.Diagnostics.An_export_assignment_cannot_have_modifiers),78===e.expression.kind?((n=gi(r=e.expression,67108863,!0,!0,e))?(bg(n,r),((n=2097152&n.flags?si(n):n)===Ne||111551&n.flags)&&pv(e.expression)):pv(e.expression),yS.getEmitDeclarations(Y)&&Ca(e.expression,!0)):pv(e.expression),Bx(t),8388608&e.flags&&!yS.isEntityNameExpression(e.expression)&&pS(e.expression,yS.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!e.isExportEquals||8388608&e.flags||(D>=yS.ModuleKind.ES2015?pS(e,yS.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):D===yS.ModuleKind.System&&pS(e,yS.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))):e.isExportEquals?hn(e,yS.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):hn(e,yS.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module))}(e);case 231:case 248:return fS(e);case 271:(function(e){sb(e)})(e)}}(Q=e),Q=t)}function Jx(e){yS.isInJSFile(e)||pS(e,yS.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function zx(e){var t,r=On(yS.getSourceFileOfNode(e));1&r.flags||(r.deferredNodes=r.deferredNodes||new yS.Map,t=AS(e),r.deferredNodes.set(t,e))}function Ux(e){null!==yS.tracing&&void 0!==yS.tracing&&yS.tracing.push("check","checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end});var t,r=Q;switch(l=0,(Q=e).kind){case 203:case 204:case 205:case 161:case 275:hy(e);break;case 208:case 209:case 165:case 164:!function(e){yS.Debug.assert(165!==e.kind||yS.isObjectLiteralMethod(e));var t,r=yS.getFunctionFlags(e),n=Lc(e);Wh(e,n),e.body&&(yS.getEffectiveReturnTypeNode(e)||Mc(Nc(e)),230===e.body.kind?jx(e.body):(t=Av(e.body),(n=n&&dx(n,r))&&rd(2==(3&r)?Zv(t,e.body,yS.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):t,n,e.body,e.body)))}(e);break;case 167:case 168:Bv(e);break;case 221:t=e,yS.forEach(t.members,jx),lb(t);break;case 274:Om(e);break;case 273:Om((t=e).openingElement),hm(t.closingElement.tagName)?Tm(t.closingElement):Av(t.closingElement.tagName),bm(t)}Q=r,null!==yS.tracing&&void 0!==yS.tracing&&yS.tracing.pop()}function Vx(e){var t;null!==yS.tracing&&void 0!==yS.tracing&&yS.tracing.push("check","checkSourceFile",{path:e.path},!0),yS.performance.mark("beforeCheck"),1&(e=On(t=e)).flags||yS.skipTypeChecking(t,Y,b)||(function(n){8388608&n.flags&&function(){for(var e=0,t=n.statements;e".length-r,yS.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function WD(e){if(3<=R){var t=e.body&&yS.isBlock(e.body)&&yS.findUseStrictPrologue(e.body.statements);if(t){e=(e=e.parameters,yS.filter(e,function(e){return!!e.initializer||yS.isBindingPattern(e.name)||yS.isRestParameter(e)}));if(yS.length(e)){yS.forEach(e,function(e){yS.addRelatedInfo(hn(e,yS.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),yS.createDiagnosticForNode(t,yS.Diagnostics.use_strict_directive_used_here))});e=e.map(function(e,t){return 0===t?yS.createDiagnosticForNode(e,yS.Diagnostics.Non_simple_parameter_declared_here):yS.createDiagnosticForNode(e,yS.Diagnostics.and_here)});return yS.addRelatedInfo.apply(void 0,__spreadArray([hn(t,yS.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],e)),!0}}}return!1}function HD(e){var t=yS.getSourceFileOfNode(e);return UD(e)||qD(e.typeParameters,t)||function(e){for(var t=!1,r=e.length,n=0;n".length-e,yS.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(e,t)}function XD(e){return function(e){if(e)for(var t=0,r=e;ta.line||m.generatedLine===a.line&&m.generatedCharacter>a.character))break;i&&(m.generatedLine=i.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var n=65<=(n=i.charCodeAt(a))&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1==n)return p("Invalid character in VLQ"),-1;e=0!=(32&n),r|=(31&n)<>=1:r=-(r>>=1),r}}function p(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function B(e){e<0?e=1+(-e<<1):e<<=1;var t="";do{var r=31&e;0<(e>>=5)&&(r|=32),t+=String.fromCharCode(0<=(r=r)&&r<26?65+r:26<=r&&r<52?97+r-26:52<=r&&r<62?48+r-52:62===r?43:63===r?47:L.Debug.fail(r+": not a base64 value"))}while(0=je.ModuleKind.ES2015)&&!je.isJsonSourceFile(e);return m.updateSourceFile(e,je.visitLexicalEnvironment(e.statements,i,c,0,t))}function B(e){return void 0!==e.decorators&&0=e.end)return!1;var n=De.getEnclosingBlockScopeContainer(e);for(;r;){if(r===n||r===e)return!1;if(De.isClassElement(r)&&r.parent===e)return!0;r=r.parent}return!1}(t,e)))return De.setTextRange(f.getGeneratedNameForNode(De.getNameOfDeclaration(t)),e)}return e}(e);case 107:return function(e){if(1&o&&16&_)return De.setTextRange(f.createUniqueName("_this",48),e);return e}(e)}return e}(t);if(De.isIdentifier(t))return function(e){if(2&o&&!De.isInternalName(e)){var t=De.getParseTreeNode(e,De.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 198:case 252:case 255:case 249:return e.parent.name===e&&b.isDeclarationWithCollidingName(e.parent)}return!1}(t))return De.setTextRange(f.getGeneratedNameForNode(t),e)}return e}(t);return t},De.chainBundle(u,function(e){if(e.isDeclarationFile)return e;i=(l=e).text;e=function(e){var t=D(8064,64),r=[],n=[];g();var i=f.copyPrologue(e.statements,r,!1,C);De.addRange(n,De.visitNodes(e.statements,C,De.isStatement,i)),a&&n.push(f.createVariableStatement(void 0,f.createVariableDeclarationList(a)));return f.mergeLexicalEnvironment(r,y()),M(r,e),S(t,0,0),f.updateSourceFile(e,De.setTextRange(f.createNodeArray(De.concatenate(r,n)),e.statements))}(e);return De.addEmitHelpers(e,u.readEmitHelpers()),a=i=l=void 0,_=0,e});function D(e,t){var r=_;return _=16383&(_&~e|t),r}function S(e,t,r){_=-16384&(_&~t|r)|e}function T(e){return 0!=(8192&_)&&242===e.kind&&!e.expression}function t(e){return 0!=(256&e.transformFlags)||void 0!==p||8192&_&&(1048576&(t=e).transformFlags&&(De.isReturnStatement(t)||De.isIfStatement(t)||De.isWithStatement(t)||De.isSwitchStatement(t)||De.isCaseBlock(t)||De.isCaseClause(t)||De.isDefaultClause(t)||De.isTryStatement(t)||De.isCatchClause(t)||De.isLabeledStatement(t)||De.isIterationStatement(t,!1)||De.isBlock(t)))||De.isIterationStatement(e,!1)&&ie(e)||0!=(33554432&De.getEmitFlags(e));var t}function C(e){return t(e)?n(e,!1):e}function E(e){return t(e)?n(e,!0):e}function k(e){return 105===e.kind?he(!0):C(e)}function n(e,t){switch(e.kind){case 123:return;case 252:return function(e){var t=f.createVariableDeclaration(f.getLocalName(e,!0),void 0,void 0,F(e));De.setOriginalNode(t,e);var r=[],t=f.createVariableStatement(void 0,f.createVariableDeclarationList([t]));De.setOriginalNode(t,e),De.setTextRange(t,e),De.startOnNewLine(t),r.push(t),De.hasSyntacticModifier(e,1)&&(n=De.hasSyntacticModifier(e,512)?f.createExportDefault(f.getLocalName(e)):f.createExternalModuleExport(f.getLocalName(e)),De.setOriginalNode(n,t),r.push(n));var n=De.getEmitFlags(e);0==(4194304&n)&&(r.push(f.createEndOfDeclarationMarker(e)),De.setEmitFlags(t,4194304|n));return De.singleOrMany(r)}(e);case 221:return F(e);case 160:return function(e){if(!e.dotDotDotToken)return De.isBindingPattern(e.name)?De.setOriginalNode(De.setTextRange(f.createParameterDeclaration(void 0,void 0,void 0,f.getGeneratedNameForNode(e),void 0,void 0,void 0),e),e):e.initializer?De.setOriginalNode(De.setTextRange(f.createParameterDeclaration(void 0,void 0,void 0,e.name,void 0,void 0,void 0),e),e):e}(e);case 251:return function(e){var t=p;p=void 0;var r=D(16286,65),n=De.visitParameterList(e.parameters,C,u),i=J(e),a=16384&_?f.getLocalName(e):e.name;return S(r,49152,0),p=t,f.updateFunctionDeclaration(e,void 0,De.visitNodes(e.modifiers,C,De.isModifier),e.asteriskToken,a,void 0,n,void 0,i)}(e);case 209:return function(e){4096&e.transformFlags&&(_|=32768);var t=p;p=void 0;var r=D(15232,66),n=f.createFunctionExpression(void 0,void 0,void 0,void 0,De.visitParameterList(e.parameters,C,u),void 0,J(e));De.setTextRange(n,e),De.setOriginalNode(n,e),De.setEmitFlags(n,8),32768&_&&be();return S(r,0,0),p=t,n}(e);case 208:return function(e){var t=262144&De.getEmitFlags(e)?D(16278,69):D(16286,65),r=p;p=void 0;var n=De.visitParameterList(e.parameters,C,u),i=J(e),a=16384&_?f.getLocalName(e):e.name;return S(t,49152,0),p=r,f.updateFunctionExpression(e,void 0,e.asteriskToken,a,void 0,n,void 0,i)}(e);case 249:return V(e);case 78:return A(e);case 250:return function(e){if(3&e.flags||131072&e.transformFlags){3&e.flags&&ve();var t=De.flatMap(e.declarations,1&e.flags?U:V),r=f.createVariableDeclarationList(t);return De.setOriginalNode(r,e),De.setTextRange(r,e),De.setCommentRange(r,e),131072&e.transformFlags&&(De.isBindingPattern(e.declarations[0].name)||De.isBindingPattern(De.last(e.declarations).name))&&De.setSourceMapRange(r,function(e){for(var t=-1,r=-1,n=0,i=e;n(H.isExportName(t)?1:0);return!1}(e.left))return H.flattenDestructuringAssignment(e,A,d,0,!1,O);return H.visitEachChild(e,A,d)}(e):H.visitEachChild(e,A,d):e}function F(e,t){var r=p.createUniqueName("resolve"),n=p.createUniqueName("reject"),i=[p.createParameterDeclaration(void 0,void 0,void 0,r),p.createParameterDeclaration(void 0,void 0,void 0,n)],n=p.createBlock([p.createExpressionStatement(p.createCallExpression(p.createIdentifier("require"),void 0,[p.createArrayLiteralExpression([e||p.createOmittedExpression()]),r,n]))]);2<=c?a=p.createArrowFunction(void 0,void 0,i,void 0,void 0,n):(a=p.createFunctionExpression(void 0,void 0,void 0,void 0,i,void 0,n),t&&H.setEmitFlags(a,8));var a=p.createNewExpression(p.createIdentifier("Promise"),void 0,[a]);return f.esModuleInterop?p.createCallExpression(p.createPropertyAccessExpression(a,p.createIdentifier("then")),void 0,[s().createImportStarCallbackHelper()]):a}function P(e,t){var r,n=p.createCallExpression(p.createPropertyAccessExpression(p.createIdentifier("Promise"),"resolve"),void 0,[]),e=p.createCallExpression(p.createIdentifier("require"),void 0,e?[e]:[]);return f.esModuleInterop&&(e=s().createImportStarHelper(e)),2<=c?r=p.createArrowFunction(void 0,void 0,[],void 0,void 0,e):(r=p.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,p.createBlock([p.createReturnStatement(e)])),t&&H.setEmitFlags(r,8)),p.createCallExpression(p.createPropertyAccessExpression(n,"then"),void 0,[r])}function w(e,t){return!f.esModuleInterop||67108864&H.getEmitFlags(e)?t:H.getImportNeedsImportStarHelper(e)?s().createImportStarHelper(t):H.getImportNeedsImportDefaultHelper(e)?s().createImportDefaultHelper(t):t}function I(e){var t=H.getExternalModuleNameLiteral(p,e,y,m,g,f),e=[];return t&&e.push(t),p.createCallExpression(p.createIdentifier("require"),void 0,e)}function O(e,t,r){var n=W(e);if(n){for(var i=H.isExportName(e)?t:p.createAssignment(e,t),a=0,o=n;al.ModuleKind.ES2015)return e;if(!e.exportClause||!l.isNamespaceExport(e.exportClause)||!e.moduleSpecifier)return e;var t=e.exportClause.name,r=a.getGeneratedNameForNode(t),n=a.createImportDeclaration(void 0,void 0,a.createImportClause(!1,void 0,a.createNamespaceImport(r)),e.moduleSpecifier);l.setOriginalNode(n,e.exportClause);t=l.isExportNamespaceAsDefaultDeclaration(e)?a.createExportDefault(r):a.createExportDeclaration(void 0,void 0,!1,a.createNamedExports([a.createExportSpecifier(r,t)]));return l.setOriginalNode(t,e),[n,t]}(e)}var t;return e}}}(ts=ts||{}),function(n){function e(r){return n.isVariableDeclaration(r)||n.isPropertyDeclaration(r)||n.isPropertySignature(r)||n.isPropertyAccessExpression(r)||n.isBindingElement(r)||n.isConstructorDeclaration(r)?e:n.isSetAccessor(r)||n.isGetAccessor(r)?function(e){e=168===r.kind?n.hasSyntacticModifier(r,32)?e.errorModuleName?n.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?n.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n.hasSyntacticModifier(r,32)?e.errorModuleName?2===e.accessibility?n.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:n.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?2===e.accessibility?n.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:r.name,typeName:r.name}}:n.isConstructSignatureDeclaration(r)||n.isCallSignatureDeclaration(r)||n.isMethodDeclaration(r)||n.isMethodSignature(r)||n.isFunctionDeclaration(r)||n.isIndexSignatureDeclaration(r)?function(e){var t;switch(r.kind){case 170:t=e.errorModuleName?n.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 169:t=e.errorModuleName?n.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 171:t=e.errorModuleName?n.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 165:case 164:t=n.hasSyntacticModifier(r,32)?e.errorModuleName?2===e.accessibility?n.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:252===r.parent.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:e.errorModuleName?n.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 251:t=e.errorModuleName?2===e.accessibility?n.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return n.Debug.fail("This is unknown kind for signature: "+r.kind)}return{diagnosticMessage:t,errorNode:r.name||r}}:n.isParameter(r)?n.isParameterPropertyDeclaration(r,r.parent)&&n.hasSyntacticModifier(r.parent,8)?e:function(e){e=function(e){switch(r.parent.kind){case 166:return e.errorModuleName?2===e.accessibility?n.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 170:case 175:return e.errorModuleName?n.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 169:return e.errorModuleName?n.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 171:return e.errorModuleName?n.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 165:case 164:return n.hasSyntacticModifier(r.parent,32)?e.errorModuleName?2===e.accessibility?n.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:252===r.parent.parent.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?n.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 251:case 174:return e.errorModuleName?2===e.accessibility?n.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 168:case 167:return e.errorModuleName?2===e.accessibility?n.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return n.Debug.fail("Unknown parent for parameter: "+n.SyntaxKind[r.parent.kind])}}(e);return void 0!==e?{diagnosticMessage:e,errorNode:r,typeName:r.name}:void 0}:n.isTypeParameterDeclaration(r)?function(){var e;switch(r.parent.kind){case 252:e=n.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 253:e=n.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 190:e=n.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 175:case 170:e=n.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 169:e=n.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 165:case 164:e=n.hasSyntacticModifier(r.parent,32)?n.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:252===r.parent.parent.kind?n.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 251:e=n.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 254:e=n.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return n.Debug.fail("This is unknown parent for type parameter: "+r.parent.kind)}return{diagnosticMessage:e,errorNode:r,typeName:r.name}}:n.isExpressionWithTypeArguments(r)?function(){var e;e=n.isClassDeclaration(r.parent.parent)?n.isHeritageClause(r.parent)&&116===r.parent.token?n.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:r.parent.parent.name?n.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:n.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:r,typeName:n.getNameOfDeclaration(r.parent.parent)}}:n.isImportEqualsDeclaration(r)?function(){return{diagnosticMessage:n.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:r,typeName:r.name}}:n.isTypeAliasDeclaration(r)||n.isJSDocTypeAlias(r)?function(e){return{diagnosticMessage:e.errorModuleName?n.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:n.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:n.isJSDocTypeAlias(r)?n.Debug.checkDefined(r.typeExpression):r.type,typeName:n.isJSDocTypeAlias(r)?n.getNameOfDeclaration(r):r.name}}:n.Debug.assertNever(r,"Attempted to set a declaration diagnostic context for unhandled node kind: "+n.SyntaxKind[r.kind]);function e(e){e=e,e=249===r.kind||198===r.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:163===r.kind||201===r.kind||162===r.kind||160===r.kind&&n.hasSyntacticModifier(r.parent,8)?n.hasSyntacticModifier(r,32)?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:252===r.parent.kind||160===r.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?n.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0;return void 0!==e?{diagnosticMessage:e,errorNode:r,typeName:r.name}:void 0}}n.canProduceDiagnostics=function(e){return n.isVariableDeclaration(e)||n.isPropertyDeclaration(e)||n.isPropertySignature(e)||n.isBindingElement(e)||n.isSetAccessor(e)||n.isGetAccessor(e)||n.isConstructSignatureDeclaration(e)||n.isCallSignatureDeclaration(e)||n.isMethodDeclaration(e)||n.isMethodSignature(e)||n.isFunctionDeclaration(e)||n.isParameter(e)||n.isTypeParameterDeclaration(e)||n.isExpressionWithTypeArguments(e)||n.isImportEqualsDeclaration(e)||n.isTypeAliasDeclaration(e)||n.isConstructorDeclaration(e)||n.isIndexSignatureDeclaration(e)||n.isPropertyAccessExpression(e)||n.isJSDocTypeAlias(e)},n.createGetSymbolAccessibilityDiagnosticForNodeName=function(t){return n.isSetAccessor(t)||n.isGetAccessor(t)?function(e){e=function(e){return n.hasSyntacticModifier(t,32)?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:252===t.parent.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?n.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:n.isMethodSignature(t)||n.isMethodDeclaration(t)?function(e){e=function(e){return n.hasSyntacticModifier(t,32)?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:252===t.parent.kind?e.errorModuleName?2===e.accessibility?n.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?n.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:e(t)},n.createGetSymbolAccessibilityDiagnosticForNode=e}(ts=ts||{}),function(se){function a(e,t){e=t.text.substring(e.pos,e.end);return se.stringContains(e,"@internal")}function t(e,t){var r=se.getParseTreeNode(e);if(r&&160===r.kind){var n=r.parent.parameters.indexOf(r),i=0"],e[8192]=["[","]"],e),Lr={pos:-1,end:-1};function n(e,t,r,n,i,a){void 0===n&&(n=!1);var o=Or.isArray(r)?r:Or.getSourceFilesToEmit(e,r,n),s=e.getCompilerOptions();if(Or.outFile(s)){r=e.getPrependNodes();if(o.length||r.length){r=Or.factory.createBundle(o,r);if(l=t(p(r,e,n),r))return l}}else{if(!i)for(var c=0,u=o;c"),Et(),Se(R.type),void Yt(R);case 308:return R=t,Dt("function"),pt(R,R.parameters),bt(":"),void Se(R.type);case 175:return Qt(L=t),it(L,L.modifiers),Dt("new"),Et(),dt(L,L.typeParameters),pt(L,L.parameters),Et(),bt("=>"),Et(),Se(L.type),void Yt(L);case 176:return L=t,Dt("typeof"),Et(),void Se(L.exprName);case 177:return function(e){bt("{");var t=1&Or.getEmitFlags(e)?768:32897;gt(e,e.members,524288|t),bt("}")}(t);case 178:return Se(t.elementType),bt("["),void bt("]");case 179:return function(e){Re(22,e.pos,bt,e);var t=1&Or.getEmitFlags(e)?528:657;gt(e,e.elements,524288|t),Re(23,e.elements.end,bt,e)}(t);case 180:return Se(t.type),void bt("?");case 182:return void gt(M=t,M.types,516);case 183:return void gt(M=t,M.types,520);case 184:return Se((O=t).checkType),Et(),Dt("extends"),Et(),Se(O.extendsType),Et(),bt("?"),Et(),Se(O.trueType),Et(),bt(":"),Et(),void Se(O.falseType);case 185:return O=t,Dt("infer"),Et(),void Se(O.typeParameter);case 186:return I=t,bt("("),Se(I.type),void bt(")");case 223:return Te((I=t).expression),void _t(I,I.typeArguments);case 187:return void Dt("this");case 188:return It((w=t).operator,Dt),Et(),void Se(w.type);case 189:return Se((w=t).objectType),bt("["),Se(w.indexType),void bt("]");case 190:return function(e){var t=Or.getEmitFlags(e);bt("{"),1&t?Et():(Nt(),At());e.readonlyToken&&(Se(e.readonlyToken),142!==e.readonlyToken.kind&&Dt("readonly"),Et());bt("["),Ee(3,e.typeParameter),e.nameType&&(Et(),Dt("as"),Et(),Se(e.nameType));bt("]"),e.questionToken&&(Se(e.questionToken),57!==e.questionToken.kind&&bt("?"));bt(":"),Et(),Se(e.type),xt(),1&t?Et():(Nt(),Ft());bt("}")}(t);case 191:return void Te(t.literal);case 193:return Se((P=t).head),void gt(P,P.templateSpans,262144);case 195:return function(e){e.isTypeOf&&(Dt("typeof"),Et());Dt("import"),bt("("),Se(e.argument),bt(")"),e.qualifier&&(bt("."),Se(e.qualifier));_t(e,e.typeArguments)}(t);case 303:return void bt("*");case 304:return void bt("?");case 305:return P=t,bt("?"),void Se(P.type);case 306:return F=t,bt("!"),void Se(F.type);case 307:return Se(t.type),void bt("=");case 181:case 309:return F=t,bt("..."),void Se(F.type);case 192:return Se((A=t).dotDotDotToken),Se(A.name),Se(A.questionToken),Re(58,A.name.end,bt,A),Et(),void Se(A.type);case 196:return A=t,bt("{"),gt(A,A.elements,525136),void bt("}");case 197:return N=t,bt("["),gt(N,N.elements,524880),void bt("]");case 198:return function(e){Se(e.dotDotDotToken),e.propertyName&&(Se(e.propertyName),bt(":"),Et());Se(e.name),ot(e.initializer,e.name.end,e)}(t);case 228:return Te((N=t).expression),void Se(N.literal);case 229:return void xt();case 230:return void Ie(k=t,!k.multiLine&&Wt(k));case 232:return it(k=t,k.modifiers),Se(k.declarationList),void xt();case 231:return Oe(!1);case 233:return Te((E=t).expression),void(Or.isJsonSourceFile(de)&&!Or.nodeIsSynthesized(E.expression)||xt());case 234:return E=Re(98,(C=t).pos,Dt,C),Et(),Re(20,E,bt,C),Te(C.expression),Re(21,C.expression.end,bt,C),ut(C,C.thenStatement),void(C.elseStatement&&(Ot(C,C.thenStatement,C.elseStatement),Re(90,C.thenStatement.end,Dt,C),234===C.elseStatement.kind?(Et(),Se(C.elseStatement)):ut(C,C.elseStatement)));case 235:return function(e){Re(89,e.pos,Dt,e),ut(e,e.statement),Or.isBlock(e.statement)&&!ye?Et():Ot(e,e.statement,e.expression);Me(e,e.statement.end),xt()}(t);case 236:return Me(C=t,C.pos),void ut(C,C.statement);case 237:return function(e){var t=Re(96,e.pos,Dt,e);Et();t=Re(20,t,bt,e);Le(e.initializer),t=Re(26,e.initializer?e.initializer.end:t,bt,e),ct(e.condition),t=Re(26,e.condition?e.condition.end:t,bt,e),ct(e.incrementor),Re(21,e.incrementor?e.incrementor.end:t,bt,e),ut(e,e.statement)}(t);case 238:return T=Re(96,(S=t).pos,Dt,S),Et(),Re(20,T,bt,S),Le(S.initializer),Et(),Re(100,S.initializer.end,Dt,S),Et(),Te(S.expression),Re(21,S.expression.end,bt,S),void ut(S,S.statement);case 239:return S=Re(96,(T=t).pos,Dt,T),Et(),function(e){e&&(Se(e),Et())}(T.awaitModifier),Re(20,S,bt,T),Le(T.initializer),Et(),Re(156,T.initializer.end,Dt,T),Et(),Te(T.expression),Re(21,T.expression.end,bt,T),void ut(T,T.statement);case 240:return Re(85,(D=t).pos,Dt,D),st(D.label),void xt();case 241:return Re(80,(D=t).pos,Dt,D),st(D.label),void xt();case 242:return Re(104,(x=t).pos,Dt,x),ct(x.expression),void xt();case 243:return x=Re(115,(b=t).pos,Dt,b),Et(),Re(20,x,bt,b),Te(b.expression),Re(21,b.expression.end,bt,b),void ut(b,b.statement);case 244:return b=Re(106,(v=t).pos,Dt,v),Et(),Re(20,b,bt,v),Te(v.expression),Re(21,v.expression.end,bt,v),Et(),void Se(v.caseBlock);case 245:return Se((v=t).label),Re(58,v.label.end,bt,v),Et(),void Se(v.statement);case 246:return Re(108,(h=t).pos,Dt,h),ct(h.expression),void xt();case 247:return function(e){Re(110,e.pos,Dt,e),Et(),Se(e.tryBlock),e.catchClause&&(Ot(e,e.tryBlock,e.catchClause),Se(e.catchClause));e.finallyBlock&&(Ot(e,e.catchClause||e.tryBlock,e.finallyBlock),Re(95,(e.catchClause||e.tryBlock).end,Dt,e),Et(),Se(e.finallyBlock))}(t);case 248:return Pt(86,t.pos,Dt),void xt();case 249:return Se((h=t).name),Se(h.exclamationToken),at(h.type),void ot(h.initializer,(h.type||h.name).end,h);case 250:return y=t,Dt(Or.isLet(y)?"let":Or.isVarConst(y)?"const":"var"),Et(),void gt(y,y.declarations,528);case 251:return void Be(t);case 252:return void Ue(t);case 253:return lt(y=t,y.decorators),it(y,y.modifiers),Dt("interface"),Et(),Se(y.name),dt(y,y.typeParameters),gt(y,y.heritageClauses,512),Et(),bt("{"),gt(y,y.members,129),void bt("}");case 254:return lt(m=t,m.decorators),it(m,m.modifiers),Dt("type"),Et(),Se(m.name),dt(m,m.typeParameters),Et(),bt("="),Et(),Se(m.type),void xt();case 255:return it(m=t,m.modifiers),Dt("enum"),Et(),Se(m.name),Et(),bt("{"),gt(m,m.members,145),void bt("}");case 256:return function(e){it(e,e.modifiers),1024&~e.flags&&(Dt(16&e.flags?"namespace":"module"),Et());Se(e.name);var t=e.body;if(!t)return xt();for(;256===t.kind;)bt("."),Se(t.name),t=t.body;Et(),Se(t)}(t);case 257:return Qt(g=t),Or.forEach(g.statements,$t),Ie(g,Wt(g)),void Yt(g);case 258:return Re(18,(f=t).pos,bt,f),gt(f,f.clauses,129),void Re(19,f.clauses.end,bt,f,!0);case 259:return f=Re(92,(g=t).pos,Dt,g),Et(),f=Re(126,f,Dt,g),Et(),f=Re(140,f,Dt,g),Et(),Se(g.name),void xt();case 260:return function(e){it(e,e.modifiers),Re(99,e.modifiers?e.modifiers.end:e.pos,Dt,e),Et(),e.isTypeOnly&&(Re(149,e.pos,Dt,e),Et());Se(e.name),Et(),Re(62,e.name.end,bt,e),Et(),function(e){(78===e.kind?Te:Se)(e)}(e.moduleReference),xt()}(t);case 261:return function(e){it(e,e.modifiers),Re(99,e.modifiers?e.modifiers.end:e.pos,Dt,e),Et(),e.importClause&&(Se(e.importClause),Et(),Re(153,e.importClause.end,Dt,e),Et());Te(e.moduleSpecifier),xt()}(t);case 262:return function(e){e.isTypeOnly&&(Re(149,e.pos,Dt,e),Et());Se(e.name),e.name&&e.namedBindings&&(Re(27,e.name.end,bt,e),Et());Se(e.namedBindings)}(t);case 263:return p=Re(41,(d=t).pos,bt,d),Et(),Re(126,p,Dt,d),Et(),void Se(d.name);case 269:return d=Re(41,(p=t).pos,bt,p),Et(),Re(126,d,Dt,p),Et(),void Se(p.name);case 264:return void Ve(t);case 265:return void Ke(t);case 266:return function(e){var t=Re(92,e.pos,Dt,e);Et(),e.isExportEquals?Re(62,t,St,e):Re(87,t,Dt,e);Et(),Te(e.expression),xt()}(t);case 267:return function(e){var t=Re(92,e.pos,Dt,e);Et(),e.isTypeOnly&&(t=Re(149,t,Dt,e),Et());e.exportClause?Se(e.exportClause):t=Re(41,t,bt,e);e.moduleSpecifier&&(Et(),Re(153,e.exportClause?e.exportClause.end:t,Dt,e),Et(),Te(e.moduleSpecifier));xt()}(t);case 268:return void Ve(t);case 270:return void Ke(t);case 271:return;case 272:return _=t,Dt("require"),bt("("),Te(_.expression),void bt(")");case 11:return _=t,void pe.writeLiteral(_.text);case 275:case 278:return function(e){{var t;bt("<"),Or.isJsxOpeningElement(e)&&(t=Ut(e.tagName,e),qe(e.tagName),_t(e,e.typeArguments),e.attributes.properties&&0")}(t);case 276:case 279:return function(e){bt("")}(t);case 280:return Se((l=t).name),void function(e,t,r,n){r&&(t(e),n(r))}("=",bt,l.initializer,Ce);case 281:return void gt(l=t,l.properties,262656);case 282:return u=t,bt("{..."),Te(u.expression),void bt("}");case 283:return function(e){var t;{var r,n;(e.expression||!be&&!Or.nodeIsSynthesized(e)&&function(e){return function(e){var t=!1;return Or.forEachTrailingCommentRange((null==de?void 0:de.text)||"",e+1,function(){return t=!0}),t}(e)||function(e){var t=!1;return Or.forEachLeadingCommentRange((null==de?void 0:de.text)||"",e+1,function(){return t=!0}),t}(e)}(e.pos))&&((r=de&&!Or.nodeIsSynthesized(e)&&Or.getLineAndCharacterOfPosition(de,e.pos).line!==Or.getLineAndCharacterOfPosition(de,e.end).line)&&pe.increaseIndent(),n=Re(18,e.pos,bt,e),Se(e.dotDotDotToken),Te(e.expression),Re(19,(null===(t=e.expression)||void 0===t?void 0:t.end)||n,bt,e),r&&pe.decreaseIndent())}}(t);case 284:return Re(81,(c=t).pos,Dt,c),Et(),Te(c.expression),void We(c,c.statements,c.expression.end);case 285:return c=Re(87,(u=t).pos,Dt,u),void We(u,u.statements,c);case 286:return s=t,Et(),It(s.token,Dt),Et(),void gt(s,s.types,528);case 287:return function(e){var t=Re(82,e.pos,Dt,e);Et(),e.variableDeclaration&&(Re(20,t,bt,e),Se(e.variableDeclaration),Re(21,e.variableDeclaration.end,bt,e),Et());Se(e.block)}(t);case 288:return function(e){Se(e.name),bt(":"),Et();e=e.initializer;0==(512&Or.getEmitFlags(e))&&xr(Or.getCommentRange(e).pos);Te(e)}(t);case 289:return Se((s=t).name),void(s.objectAssignmentInitializer&&(Et(),bt("="),Et(),Te(s.objectAssignmentInitializer)));case 290:return void((o=t).expression&&(Re(25,o.pos,bt,o),Te(o.expression)));case 291:return Se((o=t).name),void ot(o.initializer,o.name.end,o);case 326:case 333:return function(e){Xe(e.tagName),Ye(e.typeExpression),Et(),e.isBracketed&&bt("[");Se(e.name),e.isBracketed&&bt("]");Qe(e.comment)}(t);case 327:case 329:case 328:case 325:return Xe((a=t).tagName),Ye(a.typeExpression),void Qe(a.comment);case 316:case 315:return Xe((a=t).tagName),Et(),bt("{"),Se(a.class),bt("}"),void Qe(a.comment);case 330:return Xe((i=t).tagName),Ye(i.constraint),Et(),gt(i,i.typeParameters,528),void Qe(i.comment);case 331:return function(e){Xe(e.tagName),e.typeExpression&&(301===e.typeExpression.kind?Ye(e.typeExpression):(Et(),bt("{"),he("Object"),e.typeExpression.isArrayType&&(bt("["),bt("]")),bt("}")));e.fullName&&(Et(),Se(e.fullName));Qe(e.comment),e.typeExpression&&312===e.typeExpression.kind&&He(e.typeExpression)}(t);case 324:return function(e){Xe(e.tagName),e.name&&(Et(),Se(e.name));Qe(e.comment),Ge(e.typeExpression)}(t);case 313:return Ge(t);case 312:return He(t);case 319:case 314:return Xe((i=t).tagName),void Qe(i.comment);case 332:return Xe((n=t).tagName),Se(n.name),void Qe(n.comment);case 302:return n=t,Et(),bt("{"),Se(n.name),void bt("}");case 311:return function(e){if(he("/**"),e.comment)for(var t=e.comment.split(/\r\n?|\n/g),r=0,n=t;r"),void Te(ae.expression);case 207:return oe=Re(20,(se=t).pos,bt,se),ae=Ut(se.expression,se),Te(se.expression),Vt(se.expression,se),Rt(ae),void Re(21,se.expression?se.expression.end:oe,bt,se);case 208:return tr((ie=t).name),void Be(ie);case 209:return lt(ie=t,ie.decorators),it(ie,ie.modifiers),void je(ie,we);case 210:return Re(88,(ne=t).pos,Dt,ne),Et(),void Te(ne.expression);case 211:return Re(111,(re=t).pos,Dt,re),Et(),void Te(re.expression);case 212:return Re(113,(te=t).pos,Dt,te),Et(),void Te(te.expression);case 213:return Re(130,(ee=t).pos,Dt,ee),Et(),void Te(ee.expression);case 214:return function(e){It(e.operator,St),function(e){var t=e.operand;return 214===t.kind&&(39===e.operator&&(39===t.operator||45===t.operator)||40===e.operator&&(40===t.operator||46===t.operator))}(e)&&Et();Te(e.operand)}(t);case 215:return Te(($=t).operand),void It($.operator,St);case 216:return function(e){var i=[e],a=[0],o=0;for(;0<=o;)switch(e=i[o],a[o]){case 0:s(e.left);break;case 1:var t=27!==e.operatorToken.kind,r=qt(e,e.left,e.operatorToken),n=qt(e,e.operatorToken,e.right);Lt(r,t),vr(e.operatorToken.pos),wt(e.operatorToken,100===e.operatorToken.kind?Dt:St),xr(e.operatorToken.end,!0),Lt(n,!0),s(e.right);break;case 2:r=qt(e,e.left,e.operatorToken),n=qt(e,e.operatorToken,e.right);Rt(r,n),o--;break;default:return Or.Debug.fail("Invalid state "+a[o]+" for emitBinaryExpressionWorker")}function s(e){a[o]++;var t=fe,r=ge;ge=void 0;var n=ke(0,1,fe=e);n===Ne&&Or.isBinaryExpression(e)?(a[++o]=0,i[o]=e):n(1,e),Or.Debug.assert(fe===e),fe=t,ge=r}}(t);case 217:return re=qt(ne=t,ne.condition,ne.questionToken),te=qt(ne,ne.questionToken,ne.whenTrue),ee=qt(ne,ne.whenTrue,ne.colonToken),$=qt(ne,ne.colonToken,ne.whenFalse),Te(ne.condition),Lt(re,!0),Se(ne.questionToken),Lt(te,!0),Te(ne.whenTrue),Rt(re,te),Lt(ee,!0),Se(ne.colonToken),Lt($,!0),Te(ne.whenFalse),void Rt(ee,$);case 218:return Se((Z=t).head),void gt(Z,Z.templateSpans,262144);case 219:return Re(124,(Z=t).pos,Dt,Z),Se(Z.asteriskToken),void ct(Z.expression);case 220:return Re(25,(Y=t).pos,bt,Y),void Te(Y.expression);case 221:return tr((Y=t).name),void Ue(Y);case 222:return;case 224:return Te((Q=t).expression),void(Q.type&&(Et(),Dt("as"),Et(),Se(Q.type)));case 225:return Te(t.expression),void St("!");case 226:return Pt((Q=t).keywordToken,Q.pos,bt),bt("."),void Se(Q.name);case 273:return Se((X=t).openingElement),gt(X,X.children,262144),void Se(X.closingElement);case 274:return X=t,bt("<"),qe(X.tagName),_t(X,X.typeArguments),Et(),Se(X.attributes),void bt("/>");case 277:return Se((G=t).openingFragment),gt(G,G.children,262144),void Se(G.closingFragment);case 336:return void Te(t.expression);case 337:return void mt(G=t,G.elements,528)}}function oe(e,t){Or.Debug.assert(fe===t||ge===t),ie(1,e,t)(e,ge),Or.Debug.assert(fe===t||ge===t)}function se(e){var t=!1,r=298===e.kind?e:void 0;if(!r||E!==Or.ModuleKind.None){for(var n=r?r.prepends.length:0,i=r?r.sourceFiles.length+n:1,a=0;a'),ve&&ve.sections.push({pos:l,end:pe.getTextPos(),kind:"no-default-lib"}),Nt()),de&&de.moduleName&&(Ct('/// '),Nt()),de&&de.amdDependencies)for(var i=0,a=de.amdDependencies;i'):Ct('/// '),Nt()}for(var s=0,c=t;s'),ve&&ve.sections.push({pos:l,end:pe.getTextPos(),kind:"reference",data:u.fileName}),Nt()}for(var _=0,d=r;_'),ve&&ve.sections.push({pos:l,end:pe.getTextPos(),kind:"type",data:u.fileName}),Nt()}for(var p=0,f=n;p'),ve&&ve.sections.push({pos:l,end:pe.getTextPos(),kind:"lib",data:u.fileName}),Nt()}}function $e(e){var t=e.statements;Qt(e),Or.forEach(e.statements,$t),se(e);var r,n=Or.findIndex(t,function(e){return!Or.isPrologueDirective(e)});(r=e).isDeclarationFile&&Ze(r.hasNoDefaultLib,r.referencedFiles,r.typeReferenceDirectives,r.libReferenceDirectives),gt(e,t,1,-1===n?t.length:n),Yt(e)}function et(e,t,r,n){for(var i=!!t,a=0;a=r.length||0===a;if(s&&32768&n)return x&&x(r),void(D&&D(r));if(15360&n&&(bt(Mr[15360&n][0]),s&&!o&&xr(r.pos,!0)),x&&x(r),s)!(1&n)||ye&&Or.rangeIsOnSingleLine(t,de)?256&n&&!(524288&n)&&Et():Nt();else{var c=0==(262144&n),u=c,l=Bt(t,r,n);l?(Nt(l),u=!1):256&n&&Et(),128&n&&At();for(var _=void 0,d=void 0,p=!1,f=0;fu?It.createDiagnosticForNodeInSourceFile(s,a.elements[u],e.kind===It.FileIncludeKind.OutputFromProjectReference?It.Diagnostics.File_is_output_from_referenced_project_specified_here:It.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0;case It.FileIncludeKind.AutomaticTypeDirectiveFile:if(!A.types)return;n=St("types",e.typeReference),i=It.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case It.FileIncludeKind.LibFile:if(void 0!==e.index){n=St("lib",A.lib[e.index]),i=It.Diagnostics.File_is_library_specified_here;break}u=It.forEachEntry(It.targetOptionDeclaration.type,function(e,t){return e===A.target?t:void 0});n=u?function(e,t){e=xt(e);return e&&It.firstDefined(e,function(e){return It.isStringLiteral(e.initializer)&&e.initializer.text===t?e.initializer:void 0})}("target",u):void 0,i=It.Diagnostics.File_is_default_library_for_target_specified_here;break;default:It.Debug.assertNever(e)}return n&&It.createDiagnosticForNodeInSourceFile(A.configFile,n,i)}(e))),e===t&&(t=void 0)}}function yt(e,t,r,n){(k=k||[]).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:r,args:n})}function ht(e,t,r){J.add(mt(e,void 0,t,r))}function vt(e,t,r,n,i,a){for(var o=!0,s=0,c=Dt();st&&(J.add(It.createDiagnosticForNodeInSourceFile(A.configFile,d.elements[t],r,n,i,a)),o=!1)}}o&&J.add(It.createCompilerDiagnostic(r,n,i,a))}function bt(e,t,r,n){for(var i=!0,a=0,o=Dt();at?J.add(It.createDiagnosticForNodeInSourceFile(e||A.configFile,a.elements[t],r,n,i)):J.add(It.createCompilerDiagnostic(r,n,i))}function kt(e,t,r,n,i,a,o){var s=Nt();s&&At(s,e,t,r,n,i,a,o)||J.add(It.createCompilerDiagnostic(n,i,a,o))}function Nt(){if(void 0===v){v=!1;var e=It.getTsConfigObjectLiteralExpression(A.configFile);if(e)for(var t=0,r=It.getPropertyAssignment(e,"compilerOptions");tD+1?{dir:n.slice(0,D+1).join($.directorySeparator),dirPath:r.slice(0,D+1).join($.directorySeparator)}:{dir:b,dirPath:x,nonRecursive:!1}}return R($.getDirectoryPath($.getNormalizedAbsolutePath(e,o())),$.getDirectoryPath(t))}function R(e,t){for(;$.pathContainsNodeModules(t);)e=$.getDirectoryPath(e),t=$.getDirectoryPath(t);if($.isNodeModulesDirectory(t))return te($.getDirectoryPath(t))?{dir:e,dirPath:t}:void 0;var r,n,i=!0;if(void 0!==x)for(;!E(t,x);){var a=$.getDirectoryPath(t);if(a===t)break;i=!1,r=t,n=e,t=a,e=$.getDirectoryPath(e)}return te(t)?{dir:n||e,dirPath:r||t,nonRecursive:i}:void 0}function B(e){return $.fileExtensionIsOneOf(e,y)}function j(e){$.Debug.assert(!!e.refCount);var t=e.failedLookupLocations;if(t.length){l.push(e);for(var r=!1,n=0,i=t;n=o.length+c.length&&m.startsWith(t,o)&&m.endsWith(t,c)||!c&&t===m.removeTrailingDirectorySeparator(o)){c=t.substr(o.length,t.length-c.length);return n.replace("*",c)}}else if(s===t||s===e)return n}}function x(e,t,a,o,r){var s=e.path,e=e.isRedirect,c=t.getCanonicalFileName,t=t.sourceDirectory;if(a.fileExists&&a.readFile){var n=function(e){var t=0,r=0,n=0,i=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}({});var a=0,o=0,s=0;for(;0<=o;)switch(a=o,o=e.indexOf("/",a+1),s){case 0:e.indexOf(m.nodeModulesPathPart,a)===a&&(t=a,r=o,s=1);break;case 1:case 2:s=1===s&&"@"===e.charAt(a+1)?2:(n=o,3);break;case 3:s=e.indexOf(m.nodeModulesPathPart,a)===a?1:3}return i=a,1a)return 2;if(46===t.charCodeAt(0))return 3;if(95===t.charCodeAt(0))return 4;if(r){var n=/^@([^/]+)\/([^/]+)$/.exec(t);if(n){r=e(n[1],!1);if(0!==r)return{name:n[1],isScopeName:!0,result:r};var r=e(n[2],!1);return 0!==r?{name:n[2],isScopeName:!1,result:r}:0}}if(encodeURIComponent(t)!==t)return 5;return 0}(e,!0)},t.renderPackageNameValidationFailure=function(e,t){return"object"==typeof e?r(t,e.result,e.name,e.isScopeName):r(t,e,t,!1)}}(T.JsTyping||(T.JsTyping={}))}(ts=ts||{}),function(e){var t,r,n,i;function a(e){this.text=e}function o(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:r.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:n.Ignore,trimTrailingWhitespace:!0}}i=e.ScriptSnapshot||(e.ScriptSnapshot={}),a.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},a.prototype.getLength=function(){return this.text.length},a.prototype.getChangeRange=function(){},t=a,i.fromString=function(e){return new t(e)},(i=e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={}))[i.Dependencies=1]="Dependencies",i[i.DevDependencies=2]="DevDependencies",i[i.PeerDependencies=4]="PeerDependencies",i[i.OptionalDependencies=8]="OptionalDependencies",i[i.All=15]="All",(i=e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={}))[i.Off=0]="Off",i[i.On=1]="On",i[i.Auto=2]="Auto",(i=e.LanguageServiceMode||(e.LanguageServiceMode={}))[i.Semantic=0]="Semantic",i[i.PartialSemantic=1]="PartialSemantic",i[i.Syntactic=2]="Syntactic",e.emptyOptions={},(i=e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})).Original="original",i.TwentyTwenty="2020",(i=e.HighlightSpanKind||(e.HighlightSpanKind={})).none="none",i.definition="definition",i.reference="reference",i.writtenReference="writtenReference",(i=r=e.IndentStyle||(e.IndentStyle={}))[i.None=0]="None",i[i.Block=1]="Block",i[i.Smart=2]="Smart",(i=n=e.SemicolonPreference||(e.SemicolonPreference={})).Ignore="ignore",i.Insert="insert",i.Remove="remove",e.getDefaultFormatCodeSettings=o,e.testFormatSettings=o("\n"),(i=e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={}))[i.aliasName=0]="aliasName",i[i.className=1]="className",i[i.enumName=2]="enumName",i[i.fieldName=3]="fieldName",i[i.interfaceName=4]="interfaceName",i[i.keyword=5]="keyword",i[i.lineBreak=6]="lineBreak",i[i.numericLiteral=7]="numericLiteral",i[i.stringLiteral=8]="stringLiteral",i[i.localName=9]="localName",i[i.methodName=10]="methodName",i[i.moduleName=11]="moduleName",i[i.operator=12]="operator",i[i.parameterName=13]="parameterName",i[i.propertyName=14]="propertyName",i[i.punctuation=15]="punctuation",i[i.space=16]="space",i[i.text=17]="text",i[i.typeParameterName=18]="typeParameterName",i[i.enumMemberName=19]="enumMemberName",i[i.functionName=20]="functionName",i[i.regularExpressionLiteral=21]="regularExpressionLiteral",(i=e.OutliningSpanKind||(e.OutliningSpanKind={})).Comment="comment",i.Region="region",i.Code="code",i.Imports="imports",(i=e.OutputFileType||(e.OutputFileType={}))[i.JavaScript=0]="JavaScript",i[i.SourceMap=1]="SourceMap",i[i.Declaration=2]="Declaration",(i=e.EndOfLineState||(e.EndOfLineState={}))[i.None=0]="None",i[i.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",i[i.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",i[i.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",i[i.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",i[i.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",i[i.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",(i=e.TokenClass||(e.TokenClass={}))[i.Punctuation=0]="Punctuation",i[i.Keyword=1]="Keyword",i[i.Operator=2]="Operator",i[i.Comment=3]="Comment",i[i.Whitespace=4]="Whitespace",i[i.Identifier=5]="Identifier",i[i.NumberLiteral=6]="NumberLiteral",i[i.BigIntLiteral=7]="BigIntLiteral",i[i.StringLiteral=8]="StringLiteral",i[i.RegExpLiteral=9]="RegExpLiteral",(i=e.ScriptElementKind||(e.ScriptElementKind={})).unknown="",i.warning="warning",i.keyword="keyword",i.scriptElement="script",i.moduleElement="module",i.classElement="class",i.localClassElement="local class",i.interfaceElement="interface",i.typeElement="type",i.enumElement="enum",i.enumMemberElement="enum member",i.variableElement="var",i.localVariableElement="local var",i.functionElement="function",i.localFunctionElement="local function",i.memberFunctionElement="method",i.memberGetAccessorElement="getter",i.memberSetAccessorElement="setter",i.memberVariableElement="property",i.constructorImplementationElement="constructor",i.callSignatureElement="call",i.indexSignatureElement="index",i.constructSignatureElement="construct",i.parameterElement="parameter",i.typeParameterElement="type parameter",i.primitiveType="primitive type",i.label="label",i.alias="alias",i.constElement="const",i.letElement="let",i.directory="directory",i.externalModuleName="external module name",i.jsxAttribute="JSX attribute",i.string="string",(i=e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})).none="",i.publicMemberModifier="public",i.privateMemberModifier="private",i.protectedMemberModifier="protected",i.exportedModifier="export",i.ambientModifier="declare",i.staticModifier="static",i.abstractModifier="abstract",i.optionalModifier="optional",i.deprecatedModifier="deprecated",i.dtsModifier=".d.ts",i.tsModifier=".ts",i.tsxModifier=".tsx",i.jsModifier=".js",i.jsxModifier=".jsx",i.jsonModifier=".json",(i=e.ClassificationTypeNames||(e.ClassificationTypeNames={})).comment="comment",i.identifier="identifier",i.keyword="keyword",i.numericLiteral="number",i.bigintLiteral="bigint",i.operator="operator",i.stringLiteral="string",i.whiteSpace="whitespace",i.text="text",i.punctuation="punctuation",i.className="class name",i.enumName="enum name",i.interfaceName="interface name",i.moduleName="module name",i.typeParameterName="type parameter name",i.typeAliasName="type alias name",i.parameterName="parameter name",i.docCommentTagName="doc comment tag name",i.jsxOpenTagName="jsx open tag name",i.jsxCloseTagName="jsx close tag name",i.jsxSelfClosingTagName="jsx self closing tag name",i.jsxAttribute="jsx attribute",i.jsxText="jsx text",i.jsxAttributeStringLiteralValue="jsx attribute string literal value",(e=e.ClassificationType||(e.ClassificationType={}))[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"}(ts=ts||{}),function(g){function r(e){switch(e.kind){case 249:return g.isInJSFile(e)&&g.getJSDocEnumTag(e)?7:1;case 160:case 198:case 163:case 162:case 288:case 289:case 165:case 164:case 166:case 167:case 168:case 251:case 208:case 209:case 287:case 280:return 1;case 159:case 253:case 254:case 177:return 2;case 331:return void 0===e.name?3:2;case 291:case 252:return 3;case 256:return g.isAmbientModule(e)||1===g.getModuleInstanceState(e)?5:4;case 255:case 264:case 265:case 260:case 261:case 266:case 267:return 7;case 297:return 5}return 7}function n(e){for(;157===e.parent.kind;)e=e.parent;return g.isInternalModuleImportEqualsDeclaration(e.parent)&&e.parent.moduleReference===e}function i(e){return e.expression}function a(e){return e.tag}function o(e){return e.tagName}function s(e,t,r,n,i){e=(n?u:c)(e);return i&&(e=g.skipOuterExpressions(e)),!!e&&!!e.parent&&t(e.parent)&&r(e.parent)===e}function c(e){return _(e)?e.parent:e}function u(e){return _(e)||d(e)?e.parent:e}function t(e){var t;return g.isIdentifier(e)&&(null===(t=g.tryCast(e.parent,g.isBreakOrContinueStatement))||void 0===t?void 0:t.label)===e}function l(e){var t;return g.isIdentifier(e)&&(null===(t=g.tryCast(e.parent,g.isLabeledStatement))||void 0===t?void 0:t.label)===e}function _(e){var t;return(null===(t=g.tryCast(e.parent,g.isPropertyAccessExpression))||void 0===t?void 0:t.name)===e}function d(e){var t;return(null===(t=g.tryCast(e.parent,g.isElementAccessExpression))||void 0===t?void 0:t.argumentExpression)===e}g.scanner=g.createScanner(99,!0),(e=g.SemanticMeaning||(g.SemanticMeaning={}))[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All",g.getMeaningFromDeclaration=r,g.getMeaningFromLocation=function(e){return 297===(e=F(e)).kind?1:266===e.parent.kind||272===e.parent.kind||265===e.parent.kind||262===e.parent.kind||g.isImportEqualsDeclaration(e.parent)&&e===e.parent.name?7:n(e)?function(e){e=157===e.kind?e:g.isQualifiedName(e.parent)&&e.parent.right===e?e.parent:void 0;return e&&260===e.parent.kind?7:4}(e):g.isDeclarationName(e)?r(e.parent):g.isEntityName(e)&&g.isJSDocNameReference(e.parent)?7:function(e){g.isRightSideOfQualifiedNameOrPropertyAccess(e)&&(e=e.parent);switch(e.kind){case 107:return!g.isExpressionNode(e);case 187:return!0}switch(e.parent.kind){case 173:return!0;case 195:return!e.parent.isTypeOf;case 223:return!g.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent)}return!1}(e)?2:function(e){var t=e,r=!0;if(157===t.parent.kind){for(;t.parent&&157===t.parent.kind;)t=t.parent;r=t.right===e}return 173===t.parent.kind&&!r}(t=e)||function(e){var t=e,r=!0;if(201===t.parent.kind){for(;t.parent&&201===t.parent.kind;)t=t.parent;r=t.name===e}if(r||223!==t.parent.kind||286!==t.parent.parent.kind)return!1;r=t.parent.parent.parent;return 252===r.kind&&116===t.parent.parent.token||253===r.kind&&93===t.parent.parent.token}(t)?4:g.isTypeParameterDeclaration(e.parent)?(g.Debug.assert(g.isJSDocTemplateTag(e.parent.parent)),2):g.isLiteralTypeNode(e.parent)?3:1;var t},g.isInRightSideOfInternalImportEqualsDeclaration=n,g.isCallExpressionTarget=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isCallExpression,i,t,r)},g.isNewExpressionTarget=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isNewExpression,i,t,r)},g.isCallOrNewExpressionTarget=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isCallOrNewExpression,i,t,r)},g.isTaggedTemplateTag=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isTaggedTemplateExpression,a,t,r)},g.isDecoratorTarget=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isDecorator,i,t,r)},g.isJsxOpeningLikeElementTagName=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),s(e,g.isJsxOpeningLikeElement,o,t,r)},g.climbPastPropertyAccess=c,g.climbPastPropertyOrElementAccess=u,g.getTargetLabel=function(e,t){for(;e;){if(245===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}},g.hasPropertyAccessExpressionWithName=function(e,t){return!!g.isPropertyAccessExpression(e.expression)&&e.expression.name.text===t},g.isJumpStatementTarget=t,g.isLabelOfLabeledStatement=l,g.isLabelName=function(e){return l(e)||t(e)},g.isTagName=function(e){var t;return(null===(t=g.tryCast(e.parent,g.isJSDocTag))||void 0===t?void 0:t.tagName)===e},g.isRightSideOfQualifiedName=function(e){var t;return(null===(t=g.tryCast(e.parent,g.isQualifiedName))||void 0===t?void 0:t.right)===e},g.isRightSideOfPropertyAccess=_,g.isArgumentExpressionOfElementAccess=d,g.isNameOfModuleDeclaration=function(e){var t;return(null===(t=g.tryCast(e.parent,g.isModuleDeclaration))||void 0===t?void 0:t.name)===e},g.isNameOfFunctionDeclaration=function(e){var t;return g.isIdentifier(e)&&(null===(t=g.tryCast(e.parent,g.isFunctionLike))||void 0===t?void 0:t.name)===e},g.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(e){switch(e.parent.kind){case 163:case 162:case 288:case 291:case 165:case 164:case 167:case 168:case 256:return g.getNameOfDeclaration(e.parent)===e;case 202:return e.parent.argumentExpression===e;case 158:return!0;case 191:return 189===e.parent.parent.kind;default:return!1}},g.isExpressionOfExternalModuleImportEqualsDeclaration=function(e){return g.isExternalModuleImportEqualsDeclaration(e.parent.parent)&&g.getExternalModuleImportEqualsDeclarationExpression(e.parent.parent)===e},g.getContainerNode=function(e){for(g.isJSDocTypeAlias(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 297:case 165:case 164:case 251:case 208:case 167:case 168:case 252:case 253:case 255:case 256:return e}}},g.getNodeKind=function e(t){switch(t.kind){case 297:return g.isExternalModule(t)?"module":"script";case 256:return"module";case 252:case 221:return"class";case 253:return"interface";case 254:case 324:case 331:return"type";case 255:return"enum";case 249:return o(t);case 198:return o(g.getRootDeclaration(t));case 209:case 251:case 208:return"function";case 167:return"getter";case 168:return"setter";case 165:case 164:return"method";case 288:var r=t.initializer;return g.isFunctionLike(r)?"method":"property";case 163:case 162:case 289:case 290:return"property";case 171:return"index";case 170:return"construct";case 169:return"call";case 166:return"constructor";case 159:return"type parameter";case 291:return"enum member";case 160:return g.hasSyntacticModifier(t,92)?"property":"parameter";case 260:case 265:case 270:case 263:case 269:return"alias";case 216:var n=g.getAssignmentDeclarationKind(t),i=t.right;switch(n){case 7:case 8:case 9:case 0:return"";case 1:case 2:var a=e(i);return""===a?"const":a;case 3:return g.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return g.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:return g.assertType(n),""}case 78:return g.isImportClause(t.parent)?"alias":"";case 266:return""===(r=e(t.expression))?"const":r;default:return""}function o(e){return g.isVarConst(e)?"const":g.isLet(e)?"let":"var"}},g.isThis=function(e){switch(e.kind){case 107:return!0;case 78:return g.identifierIsThisKeyword(e)&&160===e.parent.kind;default:return!1}};var e,p=/^\/\/\/\s*=r.end}function h(e,t,r,n){return Math.max(e,r)n.end||e.pos===n.end;return t&&q(e,i)?r(e):void 0})}(e)}function M(o,s,c,u){var e=function e(t){if(L(t)&&1!==t.kind)return t;var r=t.getChildren(s);var n=g.binarySearchKey(r,o,function(e,t){return t},function(e,t){return o=r[e-1].end?0:1:-1});if(0<=n&&r[n]){var i=r[n];if(o=t})}function V(e,t){if(-1!==t.text.lastIndexOf("<",e?e.pos:t.text.length))for(var r=e,n=0,i=0;r;){switch(r.kind){case 29:if((r=M(r.getFullStart(),t))&&28===r.kind&&(r=M(r.getFullStart(),t)),!r||!g.isIdentifier(r))return;if(!n)return g.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};n--;break;case 49:n=3;break;case 48:n=2;break;case 31:n++;break;case 19:if(!(r=J(r,18,t)))return;break;case 21:if(!(r=J(r,20,t)))return;break;case 23:if(!(r=J(r,22,t)))return;break;case 27:i++;break;case 38:case 78:case 10:case 8:case 9:case 109:case 94:case 111:case 93:case 138:case 24:case 51:case 57:case 58:break;default:if(g.isTypeNode(r))break;return}r=M(r.getFullStart(),t)}}function K(e,t,r){return g.formatting.getRangeOfEnclosingComment(e,t,void 0,r)}function q(e,t){return 1===e.kind?e.jsDoc:0!==e.getWidth(t)}function W(e,t,r){t=K(e,t,void 0);return!!t&&r===p.test(e.text.substring(t.pos,t.end))}function H(e,t,r){return g.createTextSpanFromBounds(e.getStart(t),(r||e).getEnd())}function G(e){if(!e.isUnterminated)return g.createTextSpanFromBounds(e.getStart()+1,e.getEnd()-1)}function X(e,t){return{span:e,newText:t}}function Q(e){return 149===e.kind}function Y(t,e){return{fileExists:function(e){return t.fileExists(e)},getCurrentDirectory:function(){return e.getCurrentDirectory()},readFile:g.maybeBind(e,e.readFile),useCaseSensitiveFileNames:g.maybeBind(e,e.useCaseSensitiveFileNames),getSymlinkCache:g.maybeBind(e,e.getSymlinkCache)||t.getSymlinkCache,getGlobalTypingsCacheLocation:g.maybeBind(e,e.getGlobalTypingsCacheLocation),getSourceFiles:function(){return t.getSourceFiles()},redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:function(e){return t.getProjectReferenceRedirect(e)},isSourceOfProjectReferenceRedirect:function(e){return t.isSourceOfProjectReferenceRedirect(e)},getNearestAncestorDirectoryWithPackageJson:g.maybeBind(e,e.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return t.getFileIncludeReasons()}}}function Z(e,t){return __assign(__assign({},Y(e,t)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function $(e,t,r,n,i){return g.factory.createImportDeclaration(void 0,void 0,e||t?g.factory.createImportClause(!!i,e,t&&t.length?g.factory.createNamedImports(t):void 0):void 0,"string"==typeof r?ee(r,n):r)}function ee(e,t){return g.factory.createStringLiteral(e,0===t)}function te(e,t){return g.isStringDoubleQuoted(e,t)?1:0}function re(e,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;t=e.imports&&g.find(e.imports,function(e){return g.isStringLiteral(e)&&!g.nodeIsSynthesized(e.parent)});return t?te(t,e):1}function ne(e){return"default"!==e.escapedName?e.escapedName:g.firstDefined(e.declarations,function(e){e=g.getNameOfDeclaration(e);return e&&78===e.kind?e.escapedText:void 0})}function ie(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function ae(e){return e.declarations&&0=r},g.rangeOverlapsWithStartEnd=function(e,t,r){return h(e.pos,e.end,t,r)},g.nodeOverlapsWithStartEnd=function(e,t,r,n){return h(e.getStart(t),e.end,r,n)},g.startEndOverlapsWithStartEnd=h,g.positionBelongsToNode=function(e,t,r){return g.Debug.assert(e.pos<=t),tr.getStart(e)&&tr.getStart(e)},g.isInJSXText=function(e,t){return t=w(e,t),!!g.isJsxText(t)||(!(18!==t.kind||!g.isJsxExpression(t.parent)||!g.isJsxElement(t.parent.parent))||!(29!==t.kind||!g.isJsxOpeningLikeElement(t.parent)||!g.isJsxElement(t.parent.parent)))},g.isInsideJsxElement=function(t,r){return function(e){for(;e;)if(274<=e.kind&&e.kind<=283||11===e.kind||29===e.kind||31===e.kind||78===e.kind||19===e.kind||18===e.kind||43===e.kind)e=e.parent;else{if(273!==e.kind)return!1;if(r>e.getStart(t))return!0;e=e.parent}return!1}(w(t,r))},g.findPrecedingMatchingToken=J,g.removeOptionality=z,g.isPossiblyTypeArgumentPosition=function e(t,r,n){t=V(t,r);return void 0!==t&&(g.isPartOfTypeNode(t.called)||0!==U(t.called,t.nTypeArguments,n).length||e(t.called,r,n))},g.getPossibleGenericSignatures=U,g.getPossibleTypeArgumentsInfo=V,g.isInComment=K,g.hasDocComment=function(e,t){return t=w(e,t),!!g.findAncestor(t,g.isJSDoc)},g.getNodeModifiers=function(e,t){void 0===t&&(t=0);var r=[];return 8&(t=g.isDeclaration(e)?g.getCombinedNodeFlagsAlwaysIncludeJSDoc(e)&~t:0)&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),8192&t&&r.push("deprecated"),8388608&e.flags&&r.push("declare"),266===e.kind&&r.push("export"),0a)break;g.textSpanContainsTextSpan(e,o)&&i.push(o),n++}return i},g.getRefactorContextSpan=function(e){var t=e.startPosition,e=e.endPosition;return g.createTextSpanFromBounds(t,void 0===e?t:e)},g.mapOneOrMany=function(e,t,r){return void 0===r&&(r=g.identity),e?g.isArray(e)?r(g.map(e,t)):t(e,0):void 0},g.firstOrOnly=function(e){return g.isArray(e)?g.first(e):e},g.getNameForExportedSymbol=function(e,t){return 33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName?e.name:g.firstDefined(e.declarations,function(e){var t;return!g.isExportAssignment(e)||null===(t=g.tryCast(g.skipOuterExpressions(e.expression),g.isIdentifier))||void 0===t?void 0:t.text})||g.codefix.moduleSymbolToValidIdentifier((e=e,g.Debug.checkDefined(e.parent,"Symbol parent was undefined. Flags: "+g.Debug.formatSymbolFlags(e.flags)+". Declarations: "+(null===(e=e.declarations)||void 0===e?void 0:e.map(function(e){var t=g.Debug.formatSyntaxKind(e.kind),r=g.isInJSFile(e),e=e.expression;return(r?"[JS]":"")+t+(e?" (expression: "+g.Debug.formatSyntaxKind(e.kind)+")":"")}).join(", "))+".")),t)},g.stringContainsAt=function(e,t,r){var n=t.length;if(n+r>e.length)return!1;for(var i=0;i=e.length&&(void 0!==(m=function(e,t,r){switch(t){case 10:if(!e.isUnterminated())return;for(var n=e.getTokenText(),i=n.length-1,a=0;92===n.charCodeAt(i-a);)a++;return 0==(1&a)?void 0:34===n.charCodeAt(0)?3:2;case 3:return e.isUnterminated()?1:void 0;default:if(h.isTemplateLiteralKind(t)){if(!e.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return h.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}(y,n,h.lastOrUndefined(a)))&&(p=m))}while(1!==n);return{endOfLineState:p,spans:f}}return{getClassificationsForLine:function(e,t,r){return function(e,t){for(var r=[],n=e.spans,i=0,a=0;a])*)(\/>)?)?/im.exec(n);if(!n)return!1;if(!(n[3]&&n[3]in h.commentPragmas))return!1;var i=e;d(i,n[1].length),l(i+=n[1].length,n[2].length,10),l(i+=n[2].length,n[3].length,21),i+=n[3].length;var a=n[4],o=i;for(;;){var s=r.exec(a);if(!s)break;var c=i+s.index;oo&&d(o,i-o);n[5]&&(l(i,n[5].length,10),i+=n[5].length);t=e+t;ie.parameters.length)){e=s.getParameterType(e,o.argumentIndex);return c=c||!!(4&e.flags),D(e,u)}}),isNewIdentifier:c}):v()}case 261:case 267:case 272:return{kind:0,paths:S(e,t,i,a,n)};default:return v()}function v(){return{kind:2,types:D(N.getContextualTypeFromParent(t,n)),isNewIdentifier:!1}}}function b(e){switch(e.kind){case 186:return N.walkUpParenthesizedTypes(e);case 207:return N.walkUpParenthesizedExpressions(e);default:return e}}function x(e){return e&&{kind:1,symbols:N.filter(e.getApparentProperties(),function(e){return!(e.valueDeclaration&&N.isPrivateIdentifierPropertyDeclaration(e.valueDeclaration))}),hasIndexSignature:N.hasIndexSignature(e)}}function D(e,t){return void 0===t&&(t=new N.Map),e?(e=N.skipConstraint(e)).isUnion()?N.flatMap(e.types,function(e){return D(e,t)}):!e.isStringLiteral()||1024&e.flags||!N.addToSeen(t,e.value)?N.emptyArray:[e]:N.emptyArray}function h(e,t,r){return{name:e,kind:t,extension:r}}function v(e){return h(e,"directory",void 0)}function _(e,t,r){var n,i,a,o,s=(n=e,i=t,a=Math.max(n.lastIndexOf(N.directorySeparator),n.lastIndexOf(N.altDirectorySeparator)),o=-1!==a?a+1:0,0==(a=n.length-o)||N.isIdentifierText(n.substr(o,a),99)?void 0:N.createTextSpan(i+o,a)),c=0===e.length?void 0:N.createTextSpan(t,e.length);return r.map(function(e){var t=e.name,r=e.kind,e=e.extension;return-1!==Math.max(t.indexOf(N.directorySeparator),t.indexOf(N.altDirectorySeparator))?{name:t,kind:r,extension:e,span:c}:{name:t,kind:r,extension:e,span:s}})}function S(e,t,r,n,i){return _(t.text,t.getStart(e)+1,(a=e,e=t,t=r,r=n,n=i,i=N.normalizeSlashes(e.text),e=a.path,a=N.getDirectoryPath(e),function(e){if(e&&2<=e.length&&46===e.charCodeAt(0)){var t=3<=e.length&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(t);return 47===t||92===t}return!1}(i)||!t.baseUrl&&(N.isRootedDiskPath(i)||N.isUrl(i))?function(e,t,r,n,i){var a=m(r);return r.rootDirs?function(e,t,r,n,i,a,o){var s=i.project||a.getCurrentDirectory(),i=!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames()),i=function(e,t,r,n){e=e.map(function(e){return N.normalizePath(N.isRootedDiskPath(e)?e:N.combinePaths(t,e))});var i=N.firstDefined(e,function(e){return N.containsPath(e,r,t,n)?r.substr(e.length):void 0});return N.deduplicate(__spreadArray(__spreadArray([],e.map(function(e){return N.combinePaths(e,i)})),[r]),N.equateStringsCaseSensitive,N.compareStringsCaseSensitive)}(e,s,r,i);return N.flatMap(i,function(e){return y(t,e,n,a,o)})}(r.rootDirs,e,t,a,r,n,i):y(e,t,a,n,i)}(i,a,t,r,e):function(t,e,r,n,i){var a=r.baseUrl,o=r.paths,s=[],c=m(r);{var u;a&&(u=r.project||n.getCurrentDirectory(),a=N.normalizePath(N.combinePaths(u,a)),y(t,a,c,n,void 0,s),o&&T(s,t,a,c.extensions,o,n))}for(var o=C(t),l=0,_=function(t,e,r){r=r.getAmbientModules().map(function(e){return N.stripQuotes(e.name)}).filter(function(e){return N.startsWith(e,t)});if(void 0===e)return r;var n=N.ensureTrailingDirectorySeparator(e);return r.map(function(e){return N.removePrefix(e,n)})}(t,o,i);l<_.length;l++){var d=_[l];s.push(h(d,"external module name",void 0))}if(E(n,r,e,o,c,s),N.getEmitModuleResolutionKind(r)===N.ModuleResolutionKind.NodeJs){var p=!1;if(void 0===o)for(var f=0,g=function(e,t){if(!e.readFile||!e.fileExists)return N.emptyArray;for(var r=[],n=0,i=N.findPackageJsons(t,e);n=e.pos&&t<=e.end});if(!o)return;var s=e.text.slice(o.pos,t),c=d.exec(s);if(!c)return;i=c[1],a=c[2],s=c[3],c=N.getDirectoryPath(e.path),r="path"===a?y(s,c,m(r,!0),n,e.path):"types"===a?E(n,r,c,C(s),m(r)):N.Debug.fail();return _(s,o.pos+i.length,r)}(e,t,i,a))&&u(c);if(N.isInString(e,t,r)&&r&&N.isStringLiteralLike(r))return function(e,t,r,n,i,a){if(void 0===e)return;var o=N.createTextSpanFromStringLiteralLikeContent(t);switch(e.kind){case 0:return u(e.paths);case 1:var s=[];return A.getCompletionEntriesFromSymbols(e.symbols,s,t,r,r,n,99,i,4,a),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:o,entries:s};case 2:s=e.types.map(function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:A.SortText.LocationPriority,replacementSpan:N.getReplacementSpanForContextToken(t)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:o,entries:s};default:return N.Debug.assertNever(e)}}(c=l(e,r,t,n,i,a),r,e,n,o,s)},e.getStringLiteralCompletionDetails=function(e,t,r,n,i,a,o,s){if(n&&N.isStringLiteralLike(n)){o=l(t,n,r,i,a,o);return o&&function(t,e,r,n,i,a){switch(r.kind){case 0:return(o=N.find(r.paths,function(e){return e.name===t}))&&A.createCompletionDetails(t,c(o.extension),o.kind,[N.textPart(t)]);case 1:var o;return(o=N.find(r.symbols,function(e){return e.name===t}))&&A.createCompletionDetailsForSymbol(o,i,n,e,a);case 2:return N.find(r.types,function(e){return e.value===t})?A.createCompletionDetails(t,"","type",[N.textPart(t)]):void 0;default:return N.Debug.assertNever(r)}}(e,n,o,t,i,s)}},(e={})[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types";var d=/^(\/\/\/\s*=e.pos;case 24:return 197===r;case 58:return 198===r;case 22:return 197===r;case 20:return 287===r||Q(r);case 18:return 255===r;case 29:return 252===r||221===r||253===r||254===r||le.isFunctionLikeKind(r);case 123:return 163===r&&!le.isClassLike(t.parent);case 25:return 160===r||!!t.parent&&197===t.parent.kind;case 122:case 120:case 121:return 160===r&&!le.isConstructorDeclaration(t.parent);case 126:return 265===r||270===r||263===r;case 134:case 146:return!ce(e);case 83:case 91:case 117:case 97:case 112:case 99:case 118:case 84:case 135:case 149:return!0;case 41:return le.isFunctionLike(e.parent)&&!le.isMethodDeclaration(e.parent)}if(ie(ae(e))&&ce(e))return!1;if(X(e)&&(!le.isIdentifier(e)||le.isParameterPropertyModifier(ae(e))||ee(e)))return!1;switch(ae(e)){case 125:case 83:case 84:case 133:case 91:case 97:case 117:case 118:case 120:case 121:case 122:case 123:case 112:return!0;case 129:return le.isPropertyDeclaration(e.parent)}return le.isDeclarationName(e)&&!le.isShorthandPropertyAssignment(e.parent)&&!le.isJsxAttribute(e.parent)&&!(le.isClassLike(e.parent)&&(e!==x||d>x.end))}(a)||function(e){if(8!==e.kind)return!1;e=e.getFullText();return"."===e.charAt(e.length-1)}(a)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(275===e.parent.kind)return 275!==N.parent.kind;if(276===e.parent.kind||274===e.parent.kind)return!!e.parent.parent&&273===e.parent.parent.kind}return!1}(a),l("getCompletionsAtPosition: isCompletionListBlocker: "+(le.timestamp()-o)),a)return void l("Returning an empty list because completion was requested in an invalid position.");var A=D.parent;if(24===D.kind||28===D.kind)switch(T=24===D.kind,C=28===D.kind,A.kind){case 201:if(S=(i=A).expression,(le.isCallExpression(S)||le.isFunctionLike(S))&&S.end===D.pos&&S.getChildCount(y)&&21!==le.last(S.getChildren(y)).kind)return;break;case 157:S=A.left;break;case 256:S=A.name;break;case 195:case 226:S=A;break;default:return}else if(1===y.languageVariant){if(A&&201===A.kind&&(A=(D=A).parent),t.parent===N)switch(t.kind){case 31:273!==t.parent.kind&&275!==t.parent.kind||(N=t);break;case 43:274===t.parent.kind&&(N=t)}switch(A.kind){case 276:43===D.kind&&(c=!0,N=D);break;case 216:if(!ue(A))break;case 274:case 273:case 275:k=!0,29===D.kind&&(s=!0,N=D);break;case 283:19===x.kind&&31===t.kind&&(k=!0);break;case 280:if(A.initializer===x&&x.end"),kind:"class",kindModifiers:void 0,sortText:te.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:A(l),entries:[b]}}var x=[];if(F(e,r)){b=w(o,x,void 0,l,e,t,r.target,n,s,a,_,i.isJsxIdentifierExpected,m,g,f,h);!function(r,n,i,a){le.getNameTable(e).forEach(function(e,t){e!==r&&(t=le.unescapeLeadingUnderscores(t),!n.has(t)&&le.isIdentifierText(t,i)&&(n.add(t),a.push({name:t,kind:"warning",kindModifiers:"",sortText:te.JavascriptIdentifiers,isFromUncheckedFile:!0})))})}(l.pos,b,r.target,x)}else{if(!(u||o&&0!==o.length||0!==d))return;w(o,x,void 0,l,e,t,r.target,n,s,a,_,i.isJsxIdentifierExpected,m,g,f,h)}if(0!==d)for(var D=new le.Set(x.map(function(e){return e.name})),S=0,T=function(e,t){if(!t)return O(e);t=e+7+1;return I[t]||(I[t]=O(e).filter(function(e){return!function(e){switch(e){case 125:case 128:case 155:case 131:case 133:case 91:case 154:case 116:case 135:case 117:case 137:case 138:case 139:case 140:case 141:case 144:case 145:case 120:case 121:case 122:case 142:case 147:case 148:case 149:case 151:case 152:return!0;default:return!1}}(le.stringToToken(e.name))}))}(d,!y&&le.isSourceFileJS(e));S=a.end;c--)if(!u.isWhiteSpaceSingleLine(t.text.charCodeAt(c))){s=!1;break}if(s){n.push({fileName:t.fileName,textSpan:u.createTextSpanFromBounds(a.getStart(),o.end),kind:"reference"}),i++;continue}}n.push(l(r[i],t))}return n}(e.parent,n):void 0;case 104:return i(e.parent,u.isReturnStatement,g);case 108:return i(e.parent,u.isThrowStatement,f);case 110:case 82:case 95:return i((82===e.kind?e.parent:e).parent,u.isTryStatement,p);case 106:return i(e.parent,u.isSwitchStatement,d);case 81:case 87:return u.isDefaultClause(e.parent)||u.isCaseClause(e.parent)?i(e.parent.parent.parent,u.isSwitchStatement,d):void 0;case 80:case 85:return i(e.parent,u.isBreakOrContinueStatement,c);case 96:case 114:case 89:return i(e.parent,function(e){return u.isIterationStatement(e,!0)},s);case 132:return t(u.isConstructorDeclaration,[132]);case 134:case 146:return t(u.isAccessor,[134,146]);case 130:return i(e.parent,u.isAwaitExpression,m);case 129:return a(m(e));case 124:return a(function(e){e=u.getContainingFunction(e);if(!e)return;var t=[];return u.forEachChild(e,function(e){y(e,function(e){u.isYieldExpression(e)&&_(t,e.getFirstToken(),124)})}),t}(e));default:return u.isModifierKind(e.kind)&&(u.isDeclaration(e.parent)||u.isVariableStatement(e.parent))?a(function(t,e){return u.mapDefined(function(e,t){var r=e.parent;switch(r.kind){case 257:case 297:case 230:case 284:case 285:return 128&t&&u.isClassDeclaration(e)?__spreadArray(__spreadArray([],e.members),[e]):r.statements;case 166:case 165:case 251:return __spreadArray(__spreadArray([],r.parameters),u.isClassLike(r.parent)?r.parent.members:[]);case 252:case 221:case 253:case 177:var n=r.members;if(92&t){var i=u.find(r.members,u.isConstructorDeclaration);if(i)return __spreadArray(__spreadArray([],n),i.parameters)}else if(128&t)return __spreadArray(__spreadArray([],n),[r]);return n;case 200:return;default:u.Debug.assertNever(r,"Invalid container kind.")}}(e,u.modifierToFlag(t)),function(e){return u.findModifier(e,t)})}(e.kind,e.parent)):void 0}function t(t,r){return i(e.parent,t,function(e){return u.mapDefined(e.symbol.declarations,function(e){return t(e)?u.find(e.getChildren(n),function(e){return u.contains(r,e.kind)}):void 0})})}function i(e,t,r){return t(e)?a(r(e,n)):void 0}function a(e){return e&&e.map(function(e){return l(e,n)})}}(e,t);return e&&[{fileName:t.fileName,highlightSpans:e}]}(a,r)}}(ts=ts||{}),function(p){function r(e,a,_){void 0===a&&(a="");var d=new p.Map,o=p.createGetCanonicalFileName(!!e);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(e,t,r,n,i,a,o,s){var c,u=p.getOrUpdate(d,n,function(){return new p.Map}),l=u.get(t),r=6===s?100:r.target||1;return!l&&_&&(c=_.getDocument(n,t))&&(p.Debug.assert(o),l={sourceFile:c,languageServiceRefCount:0},u.set(t,l)),l?(l.sourceFile.version!==a&&(l.sourceFile=p.updateLanguageServiceSourceFile(l.sourceFile,i,a,i.getChangeRange(l.sourceFile.scriptSnapshot)),_&&_.setDocument(n,t,l.sourceFile)),o&&l.languageServiceRefCount++):(c=p.createLanguageServiceSourceFile(e,i,r,a,!1,s),_&&_.setDocument(n,t,c),l={sourceFile:c,languageServiceRefCount:1},u.set(t,l)),p.Debug.assert(0!==l.languageServiceRefCount),l.sourceFile}function r(e,t){var r=p.Debug.checkDefined(d.get(t)),t=r.get(e);t.languageServiceRefCount--,p.Debug.assert(0<=t.languageServiceRefCount),0===t.languageServiceRefCount&&r.delete(e)}return{acquireDocument:function(e,t,r,n,i){return s(e,p.toPath(e,a,o),t,l(t),r,n,i)},acquireDocumentWithKey:s,updateDocument:function(e,t,r,n,i){return c(e,p.toPath(e,a,o),t,l(t),r,n,i)},updateDocumentWithKey:c,releaseDocument:function(e,t){return r(p.toPath(e,a,o),l(t))},releaseDocumentWithKey:r,getLanguageServiceRefCounts:function(r){return p.arrayFrom(d.entries(),function(e){var t=e[0],e=e[1].get(r);return[t,e&&e.languageServiceRefCount]})},reportStats:function(){var e=p.arrayFrom(d.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=d.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(e,void 0,2)},getKeyForCompilationSettings:l}}function l(t){return p.sourceFileAffectingCompilerOptions.map(function(e){return p.getCompilerOptionValue(t,e)}).join("|")}p.createDocumentRegistry=function(e,t){return r(e,t)},p.createDocumentRegistryInternal=r}(ts=ts||{}),function(E){var e,t;function k(e,t){return E.forEach((297===e.kind?e:e.body).statements,function(e){return t(e)||F(e)&&E.forEach(e.body&&e.body.statements,t)})}function g(e,r){if(e.externalModuleIndicator||void 0!==e.imports)for(var t=0,n=e.imports;tr.end);){var c=s+o;0!==s&&R.isIdentifierPart(i.charCodeAt(s-1),99)||c!==a&&R.isIdentifierPart(i.charCodeAt(c),99)||n.push(s),s=i.indexOf(t,s+o+1)}return n}function E(e,t){var r=e.getSourceFile(),n=t.text,e=R.mapDefined(C(r,n,e),function(e){return e===t||R.isJumpStatementTarget(e)&&R.getTargetLabel(e,n)===t?j(e):void 0});return[{definition:{type:1,node:t},references:e}]}function k(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),o(e,e,t,r,n),0}function o(e,t,r,n,i){if(n.markSearchedSymbols(t,r.allSearchSymbols))for(var a=0,o=s(t,r.text,e);a";case 266:return U.isExportAssignment(e)&&e.isExportEquals?"export=":"default";case 209:case 251:case 208:case 252:case 221:return 512&U.getSyntacticModifierFlags(e)?"default":J(e);case 166:return"constructor";case 170:return"new()";case 169:return"()";case 171:return"[]";default:return""}}function O(e){return{text:D(e.node,e.name),kind:U.getNodeKind(e.node),kindModifiers:j(e.node),spans:L(e),nameSpan:e.name&&B(e.name),childItems:U.map(e.children,O)}}function M(e){return{text:D(e.node,e.name),kind:U.getNodeKind(e.node),kindModifiers:j(e.node),spans:L(e),childItems:U.map(e.children,function(e){return{text:D(e.node,e.name),kind:U.getNodeKind(e.node),kindModifiers:U.getNodeModifiers(e.node),spans:L(e),childItems:t,indent:0,bolded:!1,grayed:!1}})||t,indent:e.indent,bolded:!1,grayed:!1}}function L(e){var t=[B(e.node)];if(e.additionalNodes)for(var r=0,n=e.additionalNodes;r";if(U.isCallExpression(t)){e=function e(t){{if(U.isIdentifier(t))return t.text;if(U.isPropertyAccessExpression(t)){var r=e(t.expression),t=t.name.text;return void 0===r?t:r+"."+t}}}(t.expression);if(void 0!==e)return(e=z(e)).length>a?e+" callback":e+"("+z(U.mapDefined(t.arguments,function(e){return U.isStringLiteralLike(e)?e.getText(n):void 0}).join(", "))+") callback"}return""}function z(e){return(e=e.length>a?e.substring(0,a)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(U.NavigationBar||(U.NavigationBar={}))}(ts=ts||{}),function(b){var e;function _(e){return void 0!==e&&b.isStringLiteralLike(e)?e.text:void 0}function d(e){if(0===e.length)return e;var t=function(e){for(var t,r={defaultImports:[],namespaceImports:[],namedImports:[]},n={defaultImports:[],namespaceImports:[],namedImports:[]},i=0,a=e;i...")}(a);case 277:return function(e){e=y.createTextSpanFromBounds(e.openingFragment.getStart(o),e.closingFragment.getEnd());return d(e,"code",e,!1,"<>...")}(a);case 274:case 275:return function(e){return 0!==e.properties.length?m(e.getStart(o),e.getEnd(),"code"):void 0}(a.attributes);case 218:case 14:return function(e){return 14!==e.kind||0!==e.text.length?m(e.getStart(o),e.getEnd(),"code"):void 0}(a);case 197:return r(a,!1,!y.isBindingElement(a.parent),22);case 209:return function(e){if(y.isBlock(e.body)||y.positionsAreOnSameLine(e.body.getFullStart(),e.body.getEnd(),o))return;return d(y.createTextSpanFromBounds(e.body.getFullStart(),e.body.getEnd()),"code",y.createTextSpanFromNode(e))}(a);case 203:return function(e){if(!e.arguments.length)return;var t=y.findChildOfKind(e,20,o),r=y.findChildOfKind(e,21,o);return t&&r&&!y.positionsAreOnSameLine(t.pos,r.pos,o)?_(t,r,e,o,!1,!0):void 0}(a)}function t(e,t){return void 0===t&&(t=18),r(e,!1,!y.isArrayLiteralExpression(e.parent)&&!y.isCallExpression(e.parent),t)}function r(e,t,r,n,i){void 0===t&&(t=!1),void 0===r&&(r=!0),void 0===n&&(n=18),void 0===i&&(i=18===n?19:23);n=y.findChildOfKind(a,n,o),i=y.findChildOfKind(a,i,o);return n&&i&&_(n,i,e,o,t,r)}}(e,r))&&i.push(t),a--,y.isCallExpression(e)?(a++,u(e.expression),a--,e.arguments.forEach(u),null!==(t=e.typeArguments)&&void 0!==t&&t.forEach(u)):y.isIfStatement(e)&&e.elseStatement&&y.isIfStatement(e.elseStatement)?(u(e.expression),u(e.thenStatement),a++,u(e.elseStatement),a--):e.forEachChild(u),a++)}}(e,t,r),function(e,t){for(var r=[],n=e.getLineStarts(),i=0,a=n;ie.length)return;for(var a=r.length-2,o=e.length-1;0<=a;--a,--o)i=p(i,_(e[o],r[a],n));return i}(e,t,n,r)},getMatchForLastSegmentOfPattern:function(e){return _(e,d.last(n),r)},patternContainsDots:1r)break e;if(function(e,t,r){if(m.Debug.assert(r.pos<=t),tt+1),r[t+1]}(e.parent,e,t),argumentIndex:0};t=k.findContainingList(e);return t&&{list:t,argumentIndex:function(e,t){for(var r=0,n=0,i=e.getChildren();n=t.getStart(),"Assumed 'position' could not occur before node."),k.isTemplateLiteralToken(t))return k.isInsideTemplateLiteral(t,r,n)?0:e+2;return e+1}(c.parent.templateSpans.indexOf(c),e,t,r),r)}else{if(k.isJsxOpeningLikeElement(n)){var _=n.attributes.pos,d=k.skipTrivia(r.text,n.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:n},argumentsSpan:k.createTextSpan(_,d-_),argumentIndex:0,argumentCount:1}}d=k.getPossibleTypeArgumentsInfo(e,r);if(d){_=d.called,d=d.nTypeArguments;return{isTypeParameterList:!0,invocation:i={kind:1,called:_},argumentsSpan:u=k.createTextSpanFromBounds(_.getStart(r),e.end),argumentIndex:d,argumentCount:d+1}}}}}function f(e){return k.isBinaryExpression(e.left)?f(e.left)+1:2}function g(e,t,r){var n=k.isNoSubstitutionTemplateLiteral(e.template)?1:e.template.templateSpans.length+1;return 0!==t&&k.Debug.assertLessThan(t,n),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:function(e,t){var r=e.template,n=r.getStart(),e=r.getEnd();218===r.kind&&0===k.last(r.templateSpans).literal.getFullWidth()&&(e=k.skipTrivia(t.text,e,!1));return k.createTextSpan(n,e-n)}(e,r),argumentIndex:t,argumentCount:n}}function D(e){return 0===e.kind?k.getInvokedExpression(e.node):e.called}function S(e){return 0!==e.kind&&1===e.kind?e.called:e.node}(t={})[t.Call=0]="Call",t[t.TypeArgs=1]="TypeArgs",t[t.Contextual=2]="Contextual",e.getSignatureHelpItems=function(e,c,t,r,n){var i=e.getTypeChecker(),a=k.findTokenOnLeftOfPosition(c,t);if(a){var o=!!r&&"characterTyped"===r.kind;if(!o||!k.isInString(c,t,a)&&!k.isInComment(c,t)){var r=!!r&&"invoked"===r.kind,u=function(e,i,a,o,t){for(var r=function(e){k.Debug.assert(k.rangeContainsRange(e.parent,e),"Not a subspan",function(){return"Child: "+k.Debug.formatSyntaxKind(e.kind)+", parent: "+k.Debug.formatSyntaxKind(e.parent.kind)});var t,r,n,n=(r=i,function(e,t,r){var n=function(e,t,r){if(20!==e.kind&&27!==e.kind)return;var n=e.parent;switch(n.kind){case 207:case 165:case 208:case 209:var i=p(e,t);if(!i)return;var a=i.argumentIndex,o=i.argumentCount,s=i.argumentsSpan,i=k.isMethodDeclaration(n)?r.getContextualTypeForObjectLiteralElement(n):r.getContextualType(n);return i&&{contextualType:i,argumentIndex:a,argumentCount:o,argumentsSpan:s};case 216:a=function e(t){return k.isBinaryExpression(t.parent)?e(t.parent):t}(n),o=r.getContextualType(a),s=20===e.kind?0:f(n)-1,a=f(a);return o&&{contextualType:o,argumentIndex:s,argumentCount:a,argumentsSpan:k.createTextSpanFromNode(n)};default:return}}(e,t,r);if(!n)return;var i=n.contextualType,a=n.argumentIndex,t=n.argumentCount,r=n.argumentsSpan,n=i.getNonNullableType(),i=n.getCallSignatures();return 1!==i.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:k.first(i),node:e,symbol:function(e){return"__type"===e.name&&k.firstDefined(e.declarations,function(e){return k.isFunctionTypeNode(e)?e.parent.symbol:void 0})||e}(n.symbol)},argumentsSpan:r,argumentIndex:a,argumentCount:t}}(t=e,n=a,o)||d(t,r,n));if(n)return{value:n}},n=e;!k.isSourceFile(n)&&(t||!k.isBlock(n));n=n.parent){var s=r(n);if("object"==typeof s)return s.value}return}(a,t,c,i,r);if(u){n.throwIfCancellationRequested();var l=function(e,t,r,n,i){var a=e.invocation,o=e.argumentCount;switch(a.kind){case 0:if(i&&!function(e,t,r){if(!k.isCallOrNewExpression(t))return!1;var n=t.getChildren(r);switch(e.kind){case 20:return k.contains(n,e);case 27:var i=k.findContainingList(e);return!!i&&k.contains(n,i);case 29:return _(e,r,t.expression);default:return!1}}(n,a.node,r))return;var s=[],c=t.getResolvedSignatureForSignatureHelp(a.node,s,o);return 0===s.length?void 0:{kind:0,candidates:s,resolvedSignature:c};case 1:c=a.called;if(i&&!_(n,r,k.isIdentifier(c)?c.parent:c))return;if(0!==(s=k.getPossibleGenericSignatures(c,o,t)).length)return{kind:0,candidates:s,resolvedSignature:k.first(s)};c=t.getSymbolAtLocation(c);return c&&{kind:1,symbol:c};case 2:return{kind:0,candidates:[a.signature],resolvedSignature:a.signature};default:return k.Debug.assertNever(a)}}(u,i,c,a,o);return n.throwIfCancellationRequested(),l?i.runWithCancellationToken(n,function(e){return 0===l.kind?m(l.candidates,l.resolvedSignature,u,c,e):(t=l.symbol,n=c,i=e,a=(r=u).argumentCount,o=r.argumentsSpan,s=r.invocation,e=r.argumentIndex,(r=i.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(t))?{items:[function(e,t,r,n,i){var a=k.symbolToDisplayParts(r,e),o=k.createPrinter({removeComments:!0}),s=t.map(function(e){return E(e,r,n,i,o)}),t=e.getDocumentationComment(r),e=e.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:__spreadArray(__spreadArray([],a),[k.punctuationPart(29)]),suffixDisplayParts:[k.punctuationPart(31)],separatorDisplayParts:C,parameters:s,documentation:t,tags:e}}(t,r,i,S(s),n)],applicableSpan:o,selectedItemIndex:0,argumentIndex:e,argumentCount:a}:void 0);var t,r,n,i,a,o,s}):k.isSourceFileJS(c)?function(n,e,i){if(2===n.invocation.kind)return;var t=D(n.invocation),a=k.isPropertyAccessExpression(t)?t.name.text:void 0,o=e.getTypeChecker();return void 0===a?void 0:k.firstDefined(e.getSourceFiles(),function(r){return k.firstDefined(r.getNamedDeclarations().get(a),function(e){var e=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),t=e&&e.getCallSignatures();if(t&&t.length)return o.runWithCancellationToken(i,function(e){return m(t,t[0],n,r,e,!0)})})})}(u,e,n):void 0}}}},(t={})[t.Candidate=0]="Candidate",t[t.Type=1]="Type",e.getArgumentInfoForCompletions=function(e,t,r){return!(r=d(e,t,r))||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};var T=70246400;function m(e,t,r,n,i,a){var o=r.isTypeParameterList,s=r.argumentCount,c=r.argumentsSpan,u=r.invocation,r=r.argumentIndex,l=S(u),_=2===u.kind?u.symbol:i.getSymbolAtLocation(D(u))||a&&(null===(_=t.declaration)||void 0===_?void 0:_.symbol),d=_?k.symbolToDisplayParts(i,_,a?n:void 0,void 0):k.emptyArray,p=k.map(e,function(e){return function(u,l,e,_,d,t){t=(e?function(e,r,n,i){var t=(e.target||e).typeParameters,a=k.createPrinter({removeComments:!0}),o=(t||k.emptyArray).map(function(e){return E(e,r,n,i,a)}),s=e.thisParameter?[r.symbolToParameterDeclaration(e.thisParameter,n,T)]:[];return r.getExpandedParameters(e).map(function(e){var t=k.factory.createNodeArray(__spreadArray(__spreadArray([],s),k.map(e,function(e){return r.symbolToParameterDeclaration(e,n,T)}))),e=k.mapToDisplayParts(function(e){a.writeList(2576,t,i,e)});return{isVariadic:!1,parameters:o,prefix:[k.punctuationPart(29)],suffix:__spreadArray([k.punctuationPart(31)],e)}})}:function(r,c,u,l){var t=c.hasEffectiveRestParameter(r),_=k.createPrinter({removeComments:!0}),n=k.mapToDisplayParts(function(e){var t;r.typeParameters&&r.typeParameters.length&&(t=k.factory.createNodeArray(r.typeParameters.map(function(e){return c.typeParameterToDeclaration(e,u,T)})),_.writeList(53776,t,l,e))}),i=c.getExpandedParameters(r);return i.map(function(e){return{isVariadic:t&&(1===i.length||!!(32768&e[e.length-1].checkFlags)),parameters:e.map(function(e){return r=e,n=c,i=u,a=l,o=_,t=k.mapToDisplayParts(function(e){var t=n.symbolToParameterDeclaration(r,i,T);o.writeNode(4,t,a,e)}),s=n.isOptionalParameter(r.valueDeclaration),e=!!(32768&r.checkFlags),{name:r.name,documentation:r.getDocumentationComment(n),displayParts:t,isOptional:s,isRest:e};var r,n,i,a,o,t,s}),prefix:__spreadArray(__spreadArray([],n),[k.punctuationPart(20)]),suffix:[k.punctuationPart(21)]}})})(u,_,d,t);return k.map(t,function(e){var r,n,i,t=e.isVariadic,a=e.parameters,o=e.prefix,s=e.suffix,c=__spreadArray(__spreadArray([],l),o),e=__spreadArray(__spreadArray([],s),(r=u,n=d,i=_,k.mapToDisplayParts(function(e){e.writePunctuation(":"),e.writeSpace(" ");var t=i.getTypePredicateOfSignature(r);t?i.writeTypePredicate(t,n,void 0,e):i.writeType(i.getReturnTypeOfSignature(r),n,void 0,e)}))),o=u.getDocumentationComment(_),s=u.getJsDocTags();return{isVariadic:t,prefixDisplayParts:c,suffixDisplayParts:e,separatorDisplayParts:C,parameters:a,documentation:o,tags:s}})}(e,d,o,i,l,n)});0!==r&&k.Debug.assertLessThan(r,s);for(var f=0,g=0,m=0;m=s){f=g+h;break}h++}g+=y.length}k.Debug.assert(-1!==f);a={items:k.flatMapToMutable(p,k.identity),applicableSpan:c,selectedItemIndex:f,argumentIndex:r,argumentCount:s},c=a.items[f];return c.isVariadic&&(-1<(r=k.findIndex(c.parameters,function(e){return!!e.isRest}))&&r>=y;return r}(t,i),0,e),r[n]=function(e,t){var r=1+(e>>t&h);return b.Debug.assert((r&h)==r,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(h<=a.pos?e.pos:o.end),t.end,function(e){return _(t,c,R.SmartIndenter.getIndentationForNode(c,t,r,n.options),function(e,t,r){for(var n,i=-1;e;){var a=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&a!==i)break;if(R.SmartIndenter.shouldIndentChildNode(t,e,n,r))return t.indentSize;i=a,e=(n=e).parent}return 0}(c,n.options,r),e,n,i,function(e,t){if(!e.length)return i;var r=e.filter(function(e){return L.rangeOverlapsWithStartEnd(t,e.start,e.start+e.length)}).sort(function(e,t){return e.start-t.start});if(!r.length)return i;var n=0;return function(e){for(;;){if(n>=r.length)return!1;var t=r[n];if(e.end<=t.start)return!1;if(L.startEndOverlapsWithStartEnd(e.pos,e.end,t.start,t.start+t.length))return!0;n++}};function i(){return!1}}(r.parseDiagnostics,t),r)})}function _(h,t,e,r,v,n,i,b,x){var D,c,u,S,a,o,T=n.options,l=n.getRules,_=n.host,d=new R.FormattingContext(x,i,T),C=-1,p=[];return v.advance(),v.isOnToken()&&(i=n=x.getLineAndCharacterOfPosition(t.getStart(x)).line,t.decorators&&(i=x.getLineAndCharacterOfPosition(L.getNonDecoratorTokenPosOfNode(t,x)).line),function p(g,e,t,r,n,i){if(!L.rangeOverlapsWithStartEnd(h,g.getStart(x),g.getEnd()))return;var a=N(g,t,n,i);var f=e;L.forEachChild(g,function(e){m(e,-1,g,a,t,r,!1)},function(e){s(e,g,t,a)});for(;v.isOnToken();){var o=v.readTokenInfo(g);if(o.token.end>g.end)break;11!==g.kind?y(o,g,a,g):v.advance()}g.parent||!v.isOnEOF()||(i=v.readEOFTokenRange()).end<=g.end&&D&&w(i,x.getLineAndCharacterOfPosition(i.pos).line,g,D,u,c,e,a);function m(t,e,r,n,i,a,o,s){var c=t.getStart(x),u=x.getLineAndCharacterOfPosition(c).line,l=u;t.decorators&&(l=x.getLineAndCharacterOfPosition(L.getNonDecoratorTokenPosOfNode(t,x)).line);var _=-1;if(o&&L.rangeContainsRange(h,r)&&-1!==(_=E(c,t.end,i,h,e))&&(e=_),!L.rangeOverlapsWithStartEnd(h,t.pos,t.end))return t.endc){d.token.pos>c&&v.skipToStartOf(t);break}y(d,g,n,g)}if(!v.isOnToken())return e;if(L.isToken(t)){var d=v.readTokenInfo(t);if(11!==t.kind)return L.Debug.assert(d.token.end===t.end,"Token end is child end"),y(d,g,n,t),e}var a=161===t.kind?u:a,_=k(t,u,_,g,n,a);return p(t,f,u,l,_.indentation,_.delta),11!==t.kind||(a={pos:t.getStart(),end:t.getEnd()}).pos!==a.end&&(u=r.getChildren(x),l=L.findIndex(u,function(e){return e.pos===t.pos}),(l=u[l-1])&&x.getLineAndCharacterOfPosition(a.end).line!==x.getLineAndCharacterOfPosition(l.end).line&&(l=x.getLineAndCharacterOfPosition(a.pos).line===x.getLineAndCharacterOfPosition(l.end).line,O(a,_.indentation,l,!1,!0))),f=g,s&&199===r.kind&&-1===e&&(e=_.indentation),e}function s(e,t,r,n){L.Debug.assert(L.isNodeArray(e));var i=B(t,e),a=n,o=r;if(0!==i)for(;v.isOnToken();){var s,c,u=v.readTokenInfo(t);if(u.token.end>e.pos)break;u.token.kind===i?(o=x.getLineAndCharacterOfPosition(u.token.pos).line,y(u,t,n,t),s=void 0,s=-1!==C?C:(c=L.getLineStartPositionForPosition(u.token.pos,x),R.SmartIndenter.findFirstNonWhitespaceColumn(c,u.token.pos,x,T)),a=N(t,r,s,T.indentSize)):y(u,t,n,t)}for(var l=-1,_=0;_o||-1!==(i=function(e,t){var r=t;for(;e<=r&&L.isWhiteSpaceSingleLine(x.text.charCodeAt(r));)r--;return r===t?-1:r+1}(a,o))&&(L.Debug.assert(i===a||!L.isWhiteSpaceSingleLine(x.text.charCodeAt(i-1))),y(i,o+1-i))}}function y(e,t){t&&p.push(L.createTextChangeFromStartLength(e,t,""))}function M(e,t,r){(t||r)&&p.push(L.createTextChangeFromStartLength(e,t,r))}}function B(e,t){switch(e.kind){case 166:case 251:case 208:case 165:case 164:case 209:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 203:case 204:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 173:if(e.typeArguments===t)return 29;break;case 177:return 18}return 0}function j(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}function J(e,t){if((!a||a.tabSize!==t.tabSize||a.indentSize!==t.indentSize)&&(a={tabSize:t.tabSize,indentSize:t.indentSize},o=s=void 0),t.convertTabsToSpaces){var r=void 0,n=Math.floor(e/t.indentSize),i=e%t.indentSize;return void 0===(s=s||[])[n]?(r=L.repeatString(" ",t.indentSize*n),s[n]=r):r=s[n],i?r+L.repeatString(" ",i):r}r=Math.floor(e/t.tabSize),e-=r*t.tabSize,t=void 0;return void 0===(o=o||[])[r]?o[r]=t=L.repeatString("\t",r):t=o[r],e?t+L.repeatString(" ",e):t}(R=L.formatting||(L.formatting={})).createTextRangeWithKind=function(e,t,r){return t={pos:e,end:t,kind:r},L.Debug.isDebugging&&Object.defineProperty(t,"__debugKind",{get:function(){return L.Debug.formatSyntaxKind(r)}}),t},(e={})[e.Unknown=-1]="Unknown",R.formatOnEnter=function(e,t,r){if(0===(e=t.getLineAndCharacterOfPosition(e).line))return[];for(var n=L.getEndLinePosition(e,t);L.isWhiteSpaceSingleLine(t.text.charCodeAt(n));)n--;return L.isLineBreak(t.text.charCodeAt(n))&&n--,l({pos:L.getStartPositionOfLine(e-1,t),end:n+1},t,r,2)},R.formatOnSemicolon=function(e,t,r){return n(c(i(e,26,t)),t,r,3)},R.formatOnOpeningCurly=function(e,t,r){var n=i(e,18,t);return n?(n=c(n.parent),l({pos:L.getLineStartPositionForPosition(n.getStart(t),t),end:e},t,r,4)):[]},R.formatOnClosingCurly=function(e,t,r){return n(c(i(e,19,t)),t,r,5)},R.formatDocument=function(e,t){return l({pos:0,end:e.text.length},e,t,0)},R.formatSelection=function(e,t,r,n){return l({pos:L.getLineStartPositionForPosition(e,r),end:t},r,n,1)},R.formatNodeGivenIndentation=function(t,r,e,n,i,a){var o={pos:0,end:r.text.length};return R.getFormattingScanner(r.text,e,o.pos,o.end,function(e){return _(o,t,n,i,e,a,1,function(e){return!1},r)})},(e={})[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved",R.getRangeOfEnclosingComment=function(t,r,e,n){void 0===n&&(n=L.getTokenAtPosition(t,r));var i=L.findAncestor(n,L.isJSDoc);if(i&&(n=i.parent),!(n.getStart(t)<=r&&rr.end);var p=function(e,t,r){t=D(t,r),e=t?t.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(e)}(l,e,i),f=p.line===t.line||x(l,e,t.line,i);if(d){var g=null===(u=D(e,i))||void 0===u?void 0:u[0],m=S(e,i,o,!!g&&v(g,i).line>p.line);if(-1!==m)return m+n;if(s=e,c=l,_=t,d=f,u=i,g=o,-1!==(m=!y.isDeclaration(s)&&!y.isStatementButNotDeclaration(s)||297!==c.kind&&d?-1:T(_,u,g)))return m+n}C(o,l,e,i,a)&&!f&&(n+=o.indentSize);f=b(l,e,t.line,i),l=(e=l).parent;t=f?i.getLineAndCharacterOfPosition(e.getStart(i)):p}return n+h(o)}function v(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function b(e,t,r,n){if(!y.isCallExpression(e)||!y.contains(e.arguments,t))return!1;e=e.expression.getEnd();return y.getLineAndCharacterOfPosition(n,e).line===r}function x(e,t,r,n){if(234!==e.kind||e.elseStatement!==t)return!1;e=y.findChildOfKind(e,90,n);return y.Debug.assert(void 0!==e),v(e,n).line===r}function D(e,t){return e.parent&&_(e.getStart(t),e.getEnd(),e.parent,t)}function _(t,r,n,i){switch(n.kind){case 173:return e(n.typeArguments);case 200:return e(n.properties);case 199:return e(n.elements);case 177:return e(n.members);case 251:case 208:case 209:case 165:case 164:case 169:case 166:case 175:case 170:return e(n.typeParameters)||e(n.parameters);case 252:case 221:case 253:case 254:case 330:return e(n.typeParameters);case 204:case 203:return e(n.typeArguments)||e(n.arguments);case 250:return e(n.declarations);case 264:case 268:return e(n.elements);case 196:case 197:return e(n.elements)}function e(e){return e&&y.rangeContainsStartEnd(function(e,t,r){for(var n=e.getChildren(r),i=1;it.text.length)return h(r);if(r.indentStyle===y.IndentStyle.None)return 0;var i,a=y.findPrecedingToken(e,t,void 0,!0);if((i=u.getRangeOfEnclosingComment(t,e,a||null))&&3===i.kind)return function(e,t,r,n){var i=y.getLineAndCharacterOfPosition(e,t).line-1,n=y.getLineAndCharacterOfPosition(e,n.pos).line;if(y.Debug.assert(0<=n),i<=n)return g(y.getStartPositionOfLine(n,e),t,e,r);i=y.getStartPositionOfLine(i,e),t=f(i,t,e,r),r=t.column,t=t.character;return 0!==r&&42===e.text.charCodeAt(i+t)?r-1:r}(t,e,r,i);if(!a)return h(r);if(y.isStringOrRegularExpressionOrTemplateLiteral(a.kind)&&a.getStart(t)<=e&&e",joiner:", "})},r.prototype.getOptionsForInsertNodeBefore=function(e,t,r){return F.isStatement(e)||F.isClassElement(e)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:F.isVariableDeclaration(e)?{suffix:", "}:F.isParameter(e)?F.isParameter(t)?{suffix:", "}:{}:F.isStringLiteral(e)&&F.isImportDeclaration(e.parent)||F.isNamedImports(e)?{suffix:", "}:F.isImportSpecifier(e)?{suffix:","+(r?this.newLineCharacter:" ")}:F.Debug.failBadSyntaxKind(e)},r.prototype.insertNodeAtConstructorStart=function(e,t,r){var n=F.firstOrUndefined(t.body.statements);n&&t.body.multiLine?this.insertNodeBefore(e,n,r):this.replaceConstructorBody(e,t,__spreadArray([r],t.body.statements))},r.prototype.insertNodeAtConstructorEnd=function(e,t,r){var n=F.lastOrUndefined(t.body.statements);n&&t.body.multiLine?this.insertNodeAfter(e,n,r):this.replaceConstructorBody(e,t,__spreadArray(__spreadArray([],t.body.statements),[r]))},r.prototype.replaceConstructorBody=function(e,t,r){this.replaceNode(e,t.body,F.factory.createBlock(r,!0))},r.prototype.insertNodeAtEndOfScope=function(e,t,r){var n=g(e,t.getLastToken(),{});this.insertNodeAt(e,n,r,{prefix:F.isLineBreak(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},r.prototype.insertNodeAtClassStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},r.prototype.insertNodeAtObjectStart=function(e,t,r){this.insertNodeAtStartWorker(e,t,r)},r.prototype.insertNodeAtStartWorker=function(e,t,r){var n=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,n))},r.prototype.guessIndentationFromExistingMembers=function(e,t){for(var r,n=t,i=0,a=x(t);ic.textSpanEnd(r)?"quit":(c.isArrowFunction(e)||c.isMethodDeclaration(e)||c.isFunctionExpression(e)||c.isFunctionDeclaration(e))&&c.textSpansEqual(r,c.createTextSpanFromNode(e,t))})}}a=c.codefix||(c.codefix={}),i="addMissingAsync",e=[c.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,c.Diagnostics.Type_0_is_not_assignable_to_type_1.code,c.Diagnostics.Type_0_is_not_comparable_to_type_1.code],a.registerCodeFix({fixIds:[i],errorCodes:e,getCodeActions:function(t){var i,a,e=t.sourceFile,r=t.errorCode,n=t.cancellationToken,o=t.program,s=t.span,r=c.find(o.getDiagnosticsProducingTypeChecker().getDiagnostics(e,n),(i=s,a=r,function(e){var t=e.start,r=e.length,n=e.relatedInformation,e=e.code;return c.isNumber(t)&&c.isNumber(r)&&c.textSpansEqual({start:t,length:r},i)&&e===a&&!!n&&c.some(n,function(e){return e.code===c.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})})),r=l(e,r&&r.relatedInformation&&c.find(r.relatedInformation,function(e){return e.code===c.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}));if(r)return[u(t,r,function(e){return c.textChanges.ChangeTracker.with(t,e)})]},getAllCodeActions:function(r){var n=r.sourceFile,i=new c.Set;return a.codeFixAll(r,e,function(t,e){e=e.relatedInformation&&c.find(e.relatedInformation,function(e){return e.code===c.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}),e=l(n,e);if(e)return u(r,e,function(e){return e(t),[]},i)})}})}(ts=ts||{}),function(d){var l,o,_,p,f;function g(e,r,n,i,t,a){var o=e.sourceFile,s=e.program,e=e.cancellationToken,c=function(e,s,i,c,u){e=function(e,t){if(d.isPropertyAccessExpression(e.parent)&&d.isIdentifier(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(d.isIdentifier(e))return{identifiers:[e],isCompleteFix:!0};if(d.isBinaryExpression(e)){for(var r=void 0,n=!0,i=0,a=[e.left,e.right];id.textSpanEnd(r)?"quit":d.isExpression(e)&&d.textSpansEqual(r,d.createTextSpanFromNode(e,t))});return c&&(s=t,a=e,o=r,n=n,n=i.getDiagnosticsProducingTypeChecker().getDiagnostics(s,n),d.some(n,function(e){var t=e.start,r=e.length,n=e.relatedInformation,e=e.code;return d.isNumber(t)&&d.isNumber(r)&&d.textSpansEqual({start:t,length:r},o)&&e===a&&!!n&&d.some(n,function(e){return e.code===d.Diagnostics.Did_you_forget_to_use_await.code})}))&&h(c)?c:void 0}function h(e){return 32768&e.kind||d.findAncestor(e,function(e){return e.parent&&d.isArrowFunction(e.parent)&&e.parent.body===e||d.isBlock(e)&&(251===e.parent.kind||208===e.parent.kind||209===e.parent.kind||165===e.parent.kind)})}function u(e,t,r,n,i,a){if(d.isBinaryExpression(i))for(var o=0,s=[i.left,i.right];o=P.ModuleKind.ES2015)return r?1:2;if(P.isInJSFile(e))return P.isExternalModule(e)?1:3;for(var n=0,i=e.statements;n"),[s.Diagnostics.Convert_function_expression_0_to_arrow_function,r?r.text:s.ANONYMOUS]):(e.replaceNode(t,o,s.factory.createToken(84)),e.insertText(t,r.end," = "),e.insertText(t,i.pos," =>"),[s.Diagnostics.Convert_function_declaration_0_to_arrow_function,r.text])}}a=s.codefix||(s.codefix={}),o="fixImplicitThis",e=[s.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],a.registerCodeFix({errorCodes:e,getCodeActions:function(e){var t,r=e.sourceFile,n=e.program,i=e.span,e=s.textChanges.ChangeTracker.with(e,function(e){t=c(e,r,i.start,n.getTypeChecker())});return t?[a.createCodeFixAction(o,e,t,o,s.Diagnostics.Fix_all_implicit_this_errors)]:s.emptyArray},fixIds:[o],getAllCodeActions:function(r){return a.codeFixAll(r,e,function(e,t){c(e,t.file,t.start,r.program.getTypeChecker())})}})}(ts=ts||{}),function(s){var i,a,e;i=s.codefix||(s.codefix={}),a="fixIncorrectNamedTupleSyntax",e=[s.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,s.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],i.registerCodeFix({errorCodes:e,getCodeActions:function(e){var t=e.sourceFile,r=e.span,n=function(e,t){t=s.getTokenAtPosition(e,t);return s.findAncestor(t,function(e){return 192===e.kind})}(t,r.start),e=s.textChanges.ChangeTracker.with(e,function(e){return function(e,t,r){if(!r)return;var n=r.type,i=!1,a=!1;for(;180===n.kind||181===n.kind||186===n.kind;)180===n.kind?i=!0:181===n.kind&&(a=!0),n=n.type;var o=s.factory.updateNamedTupleMember(r,r.dotDotDotToken||(a?s.factory.createToken(25):void 0),r.name,r.questionToken||(i?s.factory.createToken(57):void 0),n);if(o===r)return;e.replaceNode(t,r,o)}(e,t,n)});return[i.createCodeFixAction(a,e,s.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,a,s.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[a]})}(ts=ts||{}),function(u){var o,s,e;function c(e,t,r,n){var i=u.getTokenAtPosition(e,t),t=i.parent;if(n!==u.Diagnostics.No_overload_matches_this_call.code&&n!==u.Diagnostics.Type_0_is_not_assignable_to_type_1.code||u.isJsxAttribute(t)){var a,o,s,c,n=r.program.getTypeChecker();return u.isPropertyAccessExpression(t)&&t.name===i?(u.Debug.assert(u.isIdentifierOrPrivateIdentifier(i),"Expected an identifier for spelling (property access)"),a=n.getTypeAtLocation(t.expression),32&t.flags&&(a=n.getNonNullableType(a)),o=n.getSuggestedSymbolForNonexistentProperty(i,a)):u.isQualifiedName(t)&&t.right===i?(a=n.getSymbolAtLocation(t.left))&&1536&a.flags&&(o=n.getSuggestedSymbolForNonexistentModule(t.right,a)):u.isImportSpecifier(t)&&t.name===i?(u.Debug.assertNode(i,u.isIdentifier,"Expected an identifier for spelling (import)"),(r=function(e,t,r){if(!r||!u.isStringLiteralLike(r.moduleSpecifier))return;r=u.getResolvedModule(e,r.moduleSpecifier.text);return r?t.program.getSourceFile(r.resolvedFileName):void 0}(e,r,u.findAncestor(i,u.isImportDeclaration)))&&r.symbol&&(o=n.getSuggestedSymbolForNonexistentModule(i,r.symbol))):o=u.isJsxAttribute(t)&&t.name===i?(u.Debug.assertNode(i,u.isIdentifier,"Expected an identifier for JSX attribute"),s=u.findAncestor(i,u.isJsxOpeningLikeElement),c=n.getContextualTypeForArgumentAtIndex(s,0),n.getSuggestedSymbolForNonexistentJSXAttribute(i,c)):(s=u.getMeaningFromLocation(i),c=u.getTextOfNode(i),u.Debug.assert(void 0!==c,"name should be defined"),n.getSuggestedSymbolForNonexistentSymbol(i,c,function(e){var t=0;4&e&&(t|=1920);2&e&&(t|=788968);1&e&&(t|=111551);return t}(s))),void 0===o?void 0:{node:i,suggestedSymbol:o}}}function l(e,t,r,n,i){var a=u.symbolName(n);!u.isIdentifierText(a,i)&&u.isPropertyAccessExpression(r.parent)?(n=n.valueDeclaration,u.isNamedDeclaration(n)&&u.isPrivateIdentifier(n.name)?e.replaceNode(t,r,u.factory.createIdentifier(a)):e.replaceNode(t,r.parent,u.factory.createElementAccessExpression(r.parent.expression,u.factory.createStringLiteral(a)))):e.replaceNode(t,r,u.factory.createIdentifier(a))}o=u.codefix||(u.codefix={}),s="fixSpelling",e=[u.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,u.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,u.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,u.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,u.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,u.Diagnostics.No_overload_matches_this_call.code,u.Diagnostics.Type_0_is_not_assignable_to_type_1.code],o.registerCodeFix({errorCodes:e,getCodeActions:function(e){var t=e.sourceFile,r=e.errorCode,r=c(t,e.span.start,e,r);if(r){var n=r.node,i=r.suggestedSymbol,a=e.host.getCompilationSettings().target,e=u.textChanges.ChangeTracker.with(e,function(e){return l(e,t,n,i,a)});return[o.createCodeFixAction("spelling",e,[u.Diagnostics.Change_spelling_to_0,u.symbolName(i)],s,u.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[s],getAllCodeActions:function(n){return o.codeFixAll(n,e,function(e,t){var r=c(t.file,t.start,n,t.code),t=n.host.getCompilationSettings().target;r&&l(e,n.sourceFile,r.node,r.suggestedSymbol,t)})}})}(ts=ts||{}),function(g){var m,y,e,h,v,b,x,t;function s(e,t,r){t=e.createSymbol(4,t.escapedText);t.type=e.getTypeAtLocation(r);t=g.createSymbolTable([t]);return e.createAnonymousType(void 0,t,[],[],void 0,void 0)}function c(e,t,r,n){if(t.body&&g.isBlock(t.body)&&1===g.length(t.body.statements)){var i=g.first(t.body.statements);if(g.isExpressionStatement(i)&&u(e,t,e.getTypeAtLocation(i.expression),r,n))return{declaration:t,kind:y.MissingReturnStatement,expression:i.expression,statement:i,commentSource:i.expression};if(g.isLabeledStatement(i)&&g.isExpressionStatement(i.statement)){var a=g.factory.createObjectLiteralExpression([g.factory.createPropertyAssignment(i.label,i.statement.expression)]);if(u(e,t,s(e,i.label,i.statement.expression),r,n))return g.isArrowFunction(t)?{declaration:t,kind:y.MissingParentheses,expression:a,statement:i,commentSource:i.statement.expression}:{declaration:t,kind:y.MissingReturnStatement,expression:a,statement:i,commentSource:i.statement.expression}}else if(g.isBlock(i)&&1===g.length(i.statements)){var o=g.first(i.statements);if(g.isLabeledStatement(o)&&g.isExpressionStatement(o.statement)){a=g.factory.createObjectLiteralExpression([g.factory.createPropertyAssignment(o.label,o.statement.expression)]);if(u(e,t,s(e,o.label,o.statement.expression),r,n))return{declaration:t,kind:y.MissingReturnStatement,expression:a,statement:i,commentSource:o}}}}}function u(e,t,r,n,i){return i&&(r=(i=e.getSignatureFromDeclaration(t))?(g.hasSyntacticModifier(t,256)&&(r=e.createPromiseType(r)),i=e.createSignature(t,i.typeParameters,i.thisParameter,i.parameters,r,void 0,i.minArgumentCount,i.flags),e.createAnonymousType(void 0,g.createSymbolTable(),[i],[],void 0,void 0)):e.getAnyType()),e.isTypeAssignableTo(r,n)}function D(e,t,r,n){var i=g.getTokenAtPosition(t,r);if(i.parent){var a=g.findAncestor(i.parent,g.isFunctionLikeDeclaration);switch(n){case g.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return a&&a.body&&a.type&&g.rangeContainsRange(a.type,i)?c(e,a,e.getTypeFromTypeNode(a.type),!1):void 0;case g.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!a||!g.isCallExpression(a.parent)||!a.body)return;var o=a.parent.arguments.indexOf(a),o=e.getContextualTypeForArgumentAtIndex(a.parent,o);return o?c(e,a,o,!0):void 0;case g.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!g.isDeclarationName(i)||!g.isVariableLike(i.parent)&&!g.isJsxAttribute(i.parent))return;o=function(e){switch(e.kind){case 249:case 160:case 198:case 163:case 288:return e.initializer;case 280:return e.initializer&&(g.isJsxExpression(e.initializer)?e.initializer.expression:void 0);case 289:case 162:case 291:case 333:case 326:return}}(i.parent);return o&&g.isFunctionLikeDeclaration(o)&&o.body?c(e,o,e.getTypeAtLocation(i.parent),!0):void 0}}}function S(e,t,r,n){g.suppressLeadingAndTrailingTrivia(r);var i=g.probablyUsesSemicolons(t);e.replaceNode(t,n,g.factory.createReturnStatement(r),{leadingTriviaOption:g.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:g.textChanges.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function T(e,t,r,n,i,a){n=a||g.needsParentheses(n)?g.factory.createParenthesizedExpression(n):n;g.suppressLeadingAndTrailingTrivia(i),g.copyComments(i,n),e.replaceNode(t,r.body,n)}function C(e,t,r,n){e.replaceNode(t,r.body,g.factory.createParenthesizedExpression(n))}m=g.codefix||(g.codefix={}),h="returnValueCorrect",v="fixAddReturnStatement",b="fixRemoveBracesFromArrowFunctionBody",x="fixWrapTheBlockWithParen",t=[g.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,g.Diagnostics.Type_0_is_not_assignable_to_type_1.code,g.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],(e=y=y||{})[e.MissingReturnStatement=0]="MissingReturnStatement",e[e.MissingParentheses=1]="MissingParentheses",m.registerCodeFix({errorCodes:t,fixIds:[v,b,x],getCodeActions:function(e){var t,r,n,i,a,o,s,c,u,l,_=e.program,d=e.sourceFile,p=e.span.start,f=e.errorCode,p=D(_.getTypeChecker(),d,p,f);if(p)return p.kind===y.MissingReturnStatement?g.append([(c=e,u=p.expression,l=p.statement,f=g.textChanges.ChangeTracker.with(c,function(e){return S(e,c.sourceFile,u,l)}),m.createCodeFixAction(h,f,g.Diagnostics.Add_a_return_statement,v,g.Diagnostics.Add_all_missing_return_statement))],g.isArrowFunction(p.declaration)?(i=e,a=p.declaration,o=p.expression,s=p.commentSource,f=g.textChanges.ChangeTracker.with(i,function(e){return T(e,i.sourceFile,a,o,s,!1)}),m.createCodeFixAction(h,f,g.Diagnostics.Remove_braces_from_arrow_function_body,b,g.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)):void 0):[(t=e,r=p.declaration,n=p.expression,p=g.textChanges.ChangeTracker.with(t,function(e){return C(e,t.sourceFile,r,n)}),m.createCodeFixAction(h,p,g.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,x,g.Diagnostics.Wrap_all_object_literal_with_parentheses))]},getAllCodeActions:function(n){return m.codeFixAll(n,t,function(e,t){var r=D(n.program.getTypeChecker(),t.file,t.start,t.code);if(r)switch(n.fixId){case v:S(e,t.file,r.expression,r.statement);break;case b:if(!g.isArrowFunction(r.declaration))return;T(e,t.file,r.declaration,r.expression,r.commentSource,!1);break;case x:if(!g.isArrowFunction(r.declaration))return;C(e,t.file,r.declaration,r.expression);break;default:g.Debug.fail(JSON.stringify(n.fixId))}})}})}(ts=ts||{}),function(d){var p,e,l,o,t;function s(e,t,r,n){var i=d.getTokenAtPosition(e,t);if(d.isIdentifier(i)||d.isPrivateIdentifier(i)){var a=i.parent;if(d.isIdentifier(i)&&d.isCallExpression(a))return{kind:2,token:i,call:a,sourceFile:e,modifierFlags:0,parentDeclaration:e};if(d.isPropertyAccessExpression(a)){var o=d.skipConstraint(r.getTypeAtLocation(a.expression)),s=o.symbol;if(s&&s.declarations){if(d.isIdentifier(i)&&d.isCallExpression(a.parent)){var c=d.find(s.declarations,d.isModuleDeclaration),t=null==c?void 0:c.getSourceFile();if(c&&t&&!n.isSourceFileFromExternalLibrary(t))return{kind:2,token:i,call:a.parent,sourceFile:e,modifierFlags:1,parentDeclaration:c};c=d.find(s.declarations,d.isSourceFile);if(e.commonJsModuleIndicator)return;if(c&&!n.isSourceFileFromExternalLibrary(c))return{kind:2,token:i,call:a.parent,sourceFile:c,modifierFlags:1,parentDeclaration:c}}e=d.find(s.declarations,d.isClassLike);if(e||!d.isPrivateIdentifier(i)){c=e||d.find(s.declarations,d.isInterfaceDeclaration);if(c&&!n.isSourceFileFromExternalLibrary(c.getSourceFile())){e=(o.target||o)!==r.getDeclaredTypeOfSymbol(s);if(e&&(d.isPrivateIdentifier(i)||d.isInterfaceDeclaration(c)))return;o=c.getSourceFile(),r=(e?32:0)|(d.startsWithUnderscore(i.text)?8:0),e=d.isSourceFileJS(o);return{kind:1,token:i,call:d.tryCast(a.parent,d.isCallExpression),modifierFlags:r,parentDeclaration:c,declSourceFile:o,isJSFile:e}}s=d.find(s.declarations,d.isEnumDeclaration);return!s||d.isPrivateIdentifier(i)||n.isSourceFileFromExternalLibrary(s.getSourceFile())?void 0:{kind:0,token:i,parentDeclaration:s}}}}}}function f(e,t,r,n,i){var a,o=n.text;i?221!==r.kind&&(a=r.name.getText(),a=c(d.factory.createIdentifier(a),o),e.insertNodeAfter(t,r,a)):d.isPrivateIdentifier(n)?(a=d.factory.createPropertyDeclaration(void 0,void 0,o,void 0,void 0,void 0),(n=u(r))?e.insertNodeAfter(t,n,a):e.insertNodeAtClassStart(t,r,a)):(r=d.getFirstConstructorWithBody(r))&&(o=c(d.factory.createThis(),o),e.insertNodeAtConstructorEnd(t,r,o))}function c(e,t){return d.factory.createExpressionStatement(d.factory.createAssignment(d.factory.createPropertyAccessExpression(e,t),d.factory.createIdentifier("undefined")))}function g(e,t,r){var n;return(216===r.parent.parent.kind?(n=r.parent.parent,n=r.parent===n.left?n.right:n.left,n=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(n))),e.typeToTypeNode(n,t,void 0)):(r=e.getContextualType(r.parent))?e.typeToTypeNode(r,void 0,void 0):void 0)||d.factory.createKeywordTypeNode(128)}function m(e,t,r,n,i,a){n=d.factory.createPropertyDeclaration(void 0,a?d.factory.createNodeArray(d.factory.createModifiersFromModifierFlags(a)):void 0,n,void 0,i,void 0),i=u(r);i?e.insertNodeAfter(t,i,n):e.insertNodeAtClassStart(t,r,n)}function u(e){for(var t,r=0,n=e.members;r=o.ModuleKind.ES2015&&i":">","}":"}"};function u(e,t,r,n,i){var a,o=r.getText()[n];a=o,l.hasProperty(c,a)&&(o=i?c[o]:"{"+l.quote(r,t,o)+"}",e.replaceRangeWithText(r,{pos:n,end:n+1},o))}}(l.codefix||(l.codefix={}))}(ts=ts||{}),function(h){var p,f,g,l,m,y,e;function v(e,t,r){e.replaceNode(t,r.parent,h.factory.createKeywordTypeNode(152))}function b(e,t){return p.createCodeFixAction(f,e,t,l,h.Diagnostics.Delete_all_unused_declarations)}function x(e,t,r){e.delete(t,h.Debug.checkDefined(h.cast(r.parent,h.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function D(e){return 99===e.kind||78===e.kind&&(265===e.parent.kind||262===e.parent.kind)}function S(e){return 99===e.kind?h.tryCast(e.parent,h.isImportDeclaration):void 0}function T(e,t){return h.isVariableDeclarationList(t.parent)&&h.first(t.parent.getChildren(e))===t}function C(e,t,r){e.delete(t,232===r.parent.kind?r.parent:r)}function E(t,e,r,n){e!==h.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(135===n.kind&&(n=h.cast(n.parent,h.isInferTypeNode).typeParameter.name),h.isIdentifier(n)&&function(e){switch(e.parent.kind){case 160:case 159:return!0;case 249:switch(e.parent.parent.parent.kind){case 239:case 238:return!0}}return!1}(n)&&(t.replaceNode(r,n,h.factory.createIdentifier("_"+n.text)),h.isParameter(n.parent)&&h.getJSDocParameterTags(n.parent).forEach(function(e){h.isIdentifier(e.name)&&t.replaceNode(r,e.name,h.factory.createIdentifier("_"+e.name.text))})))}function k(r,e,n,t,i,a,o,s){var c,u,l,_,d,p;c=n,u=r,l=t,_=i,d=a,p=o,i=s,o=(a=e).parent,h.isParameter(o)?function(t,r,e,n,i,a){void 0===a&&(a=!1),function(e,t,r,n,i,a,o){var s=r.parent;switch(s.kind){case 165:case 166:var c=s.parameters.indexOf(r),u=h.isMethodDeclaration(s)?s.name:s,u=h.FindAllReferences.Core.getReferencedSymbolsForNode(s.pos,u,i,n,a);if(u)for(var l=0,_=u;l<_.length;l++)for(var d=_[l],p=0,f=d.references;pc,y=h.isPropertyAccessExpression(g.node.parent)&&h.isSuperKeyword(g.node.parent.expression)&&h.isCallExpression(g.node.parent.parent)&&g.node.parent.parent.arguments.length>c,g=(h.isMethodDeclaration(g.node.parent)||h.isMethodSignature(g.node.parent))&&g.node.parent!==r.parent&&g.node.parent.parameters.length>c;if(m||y||g)return!1}}return!0;case 251:return!s.name||!function(e,t,r){return!!h.FindAllReferences.Core.eachSymbolReferenceInFile(r,e,t,function(e){return h.isIdentifier(e)&&h.isCallExpression(e.parent)&&0<=e.parent.arguments.indexOf(e)})}(e,t,s.name)||A(s,r,o);case 208:case 209:return A(s,r,o);case 168:return!1;default:return h.Debug.failBadSyntaxKind(s)}}(n,r,e,i,d,p,a)&&(e.modifiers&&0n})}function A(e,t,r){e=e.parameters,t=e.indexOf(t);return h.Debug.assert(-1!==t,"The parameter should already be in the list"),r?e.slice(t+1).every(function(e){return h.isIdentifier(e.name)&&!e.symbol.isReferenced}):t===e.length-1}p=h.codefix||(h.codefix={}),f="unusedIdentifier",g="unusedIdentifier_prefix",l="unusedIdentifier_delete",m="unusedIdentifier_deleteImports",y="unusedIdentifier_infer",e=[h.Diagnostics._0_is_declared_but_its_value_is_never_read.code,h.Diagnostics._0_is_declared_but_never_used.code,h.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,h.Diagnostics.All_imports_in_import_declaration_are_unused.code,h.Diagnostics.All_destructured_elements_are_unused.code,h.Diagnostics.All_variables_are_unused.code,h.Diagnostics.All_type_parameters_are_unused.code],p.registerCodeFix({errorCodes:e,getCodeActions:function(e){var t=e.errorCode,n=e.sourceFile,r=e.program,i=e.cancellationToken,a=r.getTypeChecker(),o=r.getSourceFiles(),s=h.getTokenAtPosition(n,e.span.start);if(h.isJSDocTemplateTag(s))return[b(h.textChanges.ChangeTracker.with(e,function(e){return e.delete(n,s)}),h.Diagnostics.Remove_template_tag)];if(29===s.kind)return[b(u=h.textChanges.ChangeTracker.with(e,function(e){return x(e,n,s)}),h.Diagnostics.Remove_type_parameters)];var c=S(s);if(c){var u=h.textChanges.ChangeTracker.with(e,function(e){return e.delete(n,c)});return[p.createCodeFixAction(f,u,[h.Diagnostics.Remove_import_from_0,h.showModuleSpecifier(c)],m,h.Diagnostics.Delete_all_unused_imports)]}if(D(s)&&(_=h.textChanges.ChangeTracker.with(e,function(e){return k(n,s,e,a,o,r,i,!1)})).length)return[p.createCodeFixAction(f,_,[h.Diagnostics.Remove_unused_declaration_for_Colon_0,s.getText(n)],m,h.Diagnostics.Delete_all_unused_imports)];if(h.isObjectBindingPattern(s.parent)||h.isArrayBindingPattern(s.parent)){if(h.isParameter(s.parent.parent)){var l=s.parent.elements,l=[1x.length?(C=i.getSignatureFromDeclaration(n[n.length-1]),N(y,C,p,_,w(y))):(A.Debug.assert(n.length===x.length,"Declarations and signatures should match count"),c(function(e,t,r,n,i){for(var a=e[0],o=e[0].minArgumentCount,s=!1,c=0,u=e;c=a.parameters.length&&(!A.signatureHasRestParameter(l)||A.signatureHasRestParameter(a))&&(a=l)}var _=a.parameters.length-(A.signatureHasRestParameter(a)?1:0),d=a.parameters.map(function(e){return e.name}),p=P(_,d,void 0,o,!1);s&&(e=A.factory.createArrayTypeNode(A.factory.createKeywordTypeNode(128)),e=A.factory.createParameterDeclaration(void 0,void 0,A.factory.createToken(25),d[_]||"rest",o<=_?A.factory.createToken(57):void 0,e,void 0),p.push(e));return function(e,t,r,n,i,a,o){return A.factory.createMethodDeclaration(void 0,e,void 0,t,r?A.factory.createToken(57):void 0,n,i,a,w(o))}(n,t,r,void 0,p,void 0,i)}(x,_,g,p,y))))}}function N(e,t,r,n,i){i=function(e,t,r,n,i,a,o,s,c){var u=e.program,l=u.getTypeChecker(),_=A.getEmitScriptTarget(u.getCompilerOptions()),t=1073742081|(0===t?268435456:0),r=l.signatureToSignatureDeclaration(r,165,n,t,F(e));if(!r)return;n=r.typeParameters,t=r.parameters,e=r.type;{var d;c&&(n&&(d=A.sameMap(n,function(e){var t,r=e.constraint,n=e.default;return r&&(t=I(r,_))&&(r=t.typeNode,O(c,t.symbols)),n&&(t=I(n,_))&&(n=t.typeNode,O(c,t.symbols)),A.factory.updateTypeParameterDeclaration(e,e.name,r,n)}),n!==d&&(n=A.setTextRange(A.factory.createNodeArray(d,n.hasTrailingComma),n))),d=A.sameMap(t,function(e){var t=I(e.type,_),r=e.type;return t&&(r=t.typeNode,O(c,t.symbols)),A.factory.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,r,e.initializer)}),t!==d&&(t=A.setTextRange(A.factory.createNodeArray(d,t.hasTrailingComma),t)),!e||(d=I(e,_))&&(e=d.typeNode,O(c,d.symbols)))}return A.factory.updateMethodDeclaration(r,void 0,i,r.asteriskToken,a,o?A.factory.createToken(57):void 0,n,t,e,s)}(o,e,t,a,r,n,g,i,s);i&&c(i)}}(l,e,r,n,i,a,o)}},e.getNoopSymbolTrackerWithResolver=F,e.createSignatureDeclarationFromCallExpression=function(e,t,r,n,i,a,o){var s=A.getQuotePreference(t.sourceFile,t.preferences),c=A.getEmitScriptTarget(t.program.getCompilerOptions()),u=F(t),l=t.program.getTypeChecker(),_=A.isInJSFile(o),d=n.typeArguments,p=n.arguments,f=n.parent,g=_?void 0:l.getContextualType(n),m=A.map(p,function(e){return A.isIdentifier(e)?e.text:A.isPropertyAccessExpression(e)&&A.isIdentifier(e.name)?e.name.text:void 0}),t=_?[]:A.map(p,function(e){return y(l,r,l.getBaseTypeOfLiteralType(l.getTypeAtLocation(e)),o,c,void 0,u)}),n=a?A.factory.createNodeArray(A.factory.createModifiersFromModifierFlags(a)):void 0,a=A.isYieldExpression(f)?A.factory.createToken(41):void 0,f=_||void 0===d?void 0:A.map(d,function(e,t){return A.factory.createTypeParameterDeclaration(84+d.length-1<=90?String.fromCharCode(84+t):"T"+t)}),t=P(p.length,m,t,void 0,_),g=_||void 0===g?void 0:l.typeToTypeNode(g,o,void 0,u);return 165===e?A.factory.createMethodDeclaration(void 0,n,a,i,void 0,f,t,g,A.isInterfaceDeclaration(o)?void 0:w(s)):A.factory.createFunctionDeclaration(void 0,n,a,i,f,t,g,h(A.Diagnostics.Function_not_implemented.message,s))},e.typeToAutoImportableTypeNode=y,e.createStubbedBody=h,e.setJsonCompilerOptionValues=i,e.setJsonCompilerOptionValue=function(e,t,r,n){i(e,t,[[r,n]])},e.createJsonPropertyAssignment=_,e.findJsonProperty=d,e.tryGetAutoImportableReferenceFromTypeNode=I,e.importSymbols=O}(ts=ts||{}),function(C){var e;function o(e){return C.isParameterPropertyDeclaration(e,e.parent)||C.isPropertyDeclaration(e)||C.isPropertyAssignment(e)}function s(e,t){return C.isIdentifier(t)?C.factory.createIdentifier(e):C.factory.createStringLiteral(e)}function E(e,t,r){r=t?r.name:C.factory.createThis();return C.isIdentifier(e)?C.factory.createPropertyAccessExpression(r,e):C.factory.createElementAccessExpression(r,C.factory.createStringLiteralFromNode(e))}function k(e){return e?C.factory.createNodeArray(C.factory.createModifiersFromModifierFlags(e)):void 0}function N(e,t,r,n,i){void 0===i&&(i=!0);var a=C.getTokenAtPosition(e,r),i=r===n&&i,a=C.findAncestor(a.parent,o);if(!a||!C.nodeOverlapsWithStartEnd(a.name,e,r,n)&&!i)return{error:C.getLocaleSpecificMessage(C.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)};if(r=a.name,!C.isIdentifier(r)&&!C.isStringLiteral(r))return{error:C.getLocaleSpecificMessage(C.Diagnostics.Name_is_not_valid)};if(124!=(124|C.getEffectiveModifierFlags(a)))return{error:C.getLocaleSpecificMessage(C.Diagnostics.Can_only_convert_property_with_modifier)};n=a.name.text,i=C.startsWithUnderscore(n),r=s(i?n:C.getUniqueName("_"+n,e),a.name),n=s(i?C.getUniqueName(n.substring(1),e):n,a.name);return{isStatic:C.hasStaticModifier(a),isReadonly:C.hasEffectiveReadonlyModifier(a),type:function(e,t){var r=C.getTypeAnnotationNode(e);if(C.isPropertyDeclaration(e)&&r&&e.questionToken){e=t.getTypeChecker(),t=e.getTypeFromTypeNode(r);if(!e.isTypeAssignableTo(e.getUndefinedType(),t)){t=C.isUnionTypeNode(r)?r.types:[r];return C.factory.createUnionTypeNode(__spreadArray(__spreadArray([],t),[C.factory.createKeywordTypeNode(150)]))}}return r}(a,t),container:(160===a.kind?a.parent:a).parent,originalName:a.name.text,declaration:a,fieldName:r,accessorName:n,renameAccessor:i}}function A(e,t,r,n,i){C.isParameterPropertyDeclaration(n,n.parent)?e.insertNodeAtClassStart(t,i,r):C.isPropertyAssignment(n)?e.insertNodeAfterComma(t,n,r):e.insertNodeAfter(t,n,r)}(e=C.codefix||(C.codefix={})).generateAccessorFromProperty=function(e,t,r,n,i,a){if((T=N(e,t,r,n))&&!C.refactor.isRefactorErrorInfo(T)){var o,s,c=C.textChanges.ChangeTracker.fromContext(i),u=T.isStatic,l=T.isReadonly,_=T.fieldName,d=T.accessorName,p=T.originalName,f=T.type,t=T.container,r=T.declaration;C.suppressLeadingAndTrailingTrivia(_),C.suppressLeadingAndTrailingTrivia(d),C.suppressLeadingAndTrailingTrivia(r),C.suppressLeadingAndTrailingTrivia(t),C.isClassLike(t)&&(y=C.getEffectiveModifierFlags(r),m=C.isSourceFileJS(e)?h=k(y):(h=k(function(e){e&=-65,16&(e&=-9)||(e|=4);return e}(y)),k((g=y,g&=-5,g&=-17,g|=8)))),n=c,i=e,T=r,y=f,o=_,s=m,C.isPropertyDeclaration(T)?function(e,t,r,n){n=C.factory.updatePropertyDeclaration(r,r.decorators,s,o,r.questionToken||r.exclamationToken,n,r.initializer),e.replaceNode(t,r,n)}(n,i,T,y):C.isPropertyAssignment(T)?function(e,t,r,n){n=C.factory.updatePropertyAssignment(r,n,r.initializer),e.replacePropertyAssignment(t,r,n)}(n,i,T,o):n.replaceNode(i,T,C.factory.updateParameterDeclaration(T,T.decorators,s,T.dotDotDotToken,C.cast(o,C.isIdentifier),T.questionToken,T.type,T.initializer));var g,m,y,h,v,b,x,D,S,T=(g=_,m=d,y=f,n=h,i=u,T=t,C.factory.createGetAccessorDeclaration(void 0,n,m,void 0,y,C.factory.createBlock([C.factory.createReturnStatement(E(g,i,T))],!0)));return C.suppressLeadingAndTrailingTrivia(T),A(c,e,T,r,t),l?(l=C.getFirstConstructorWithBody(t))&&(v=c,b=e,x=l,D=_.text,S=p,x.body&&x.body.forEachChild(function e(t){C.isElementAccessExpression(t)&&107===t.expression.kind&&C.isStringLiteral(t.argumentExpression)&&t.argumentExpression.text===S&&C.isWriteAccess(t)&&v.replaceNode(b,t.argumentExpression,C.factory.createStringLiteral(D)),C.isPropertyAccessExpression(t)&&107===t.expression.kind&&t.name.text===S&&C.isWriteAccess(t)&&v.replaceNode(b,t.name,C.factory.createIdentifier(D)),C.isFunctionLike(t)||C.isClassLike(t)||t.forEachChild(e)})):(x=_,_=d,d=f,f=h,h=u,u=t,u=C.factory.createSetAccessorDeclaration(void 0,f,_,[C.factory.createParameterDeclaration(void 0,void 0,void 0,C.factory.createIdentifier("value"),void 0,d)],C.factory.createBlock([C.factory.createExpressionStatement(C.factory.createAssignment(E(x,h,u),C.factory.createIdentifier("value")))],!0)),C.suppressLeadingAndTrailingTrivia(u),A(c,e,u,r,t)),c.getChanges()}},e.getAccessorConvertiblePropertyAtPosition=N,e.getAllSupers=function(e,t){for(var r=[];e;){var n=C.getClassExtendsHeritageElement(e),n=n&&t.getSymbolAtLocation(n.expression);if(!n)break;n=2097152&n.flags?t.getAliasedSymbol(n):n,n=C.find(n.declarations,C.isClassLike);if(!n)break;r.push(n),e=n}return r}}(ts=ts||{}),function(l){var _,d;function p(e,t,r,n){e=l.textChanges.ChangeTracker.with(e,function(e){return e.replaceNode(t,r,n)});return _.createCodeFixActionWithoutFixAll(d,e,[l.Diagnostics.Replace_import_with_0,e[0].textChanges[0].newText])}function n(e,t){var r=e.program.getTypeChecker().getTypeAtLocation(t);if(!r.symbol||!r.symbol.originatingImport)return[];var n,i,a,o,s,c=[],u=r.symbol.originatingImport;return l.isImportCall(u)||l.addRange(c,(n=e,i=u,a=l.getSourceFileOfNode(i),o=l.getNamespaceDeclarationNode(i),r=n.program.getCompilerOptions(),(u=[]).push(p(n,a,i,l.makeImport(o.name,void 0,i.moduleSpecifier,l.getQuotePreference(a,n.preferences)))),l.getEmitModuleKind(r)===l.ModuleKind.CommonJS&&u.push(p(n,a,i,l.factory.createImportEqualsDeclaration(void 0,void 0,!1,o.name,l.factory.createExternalModuleReference(i.moduleSpecifier)))),u)),!l.isExpression(t)||l.isNamedDeclaration(t.parent)&&t.parent.name===t||(s=e.sourceFile,e=l.textChanges.ChangeTracker.with(e,function(e){return e.replaceNode(s,t,l.factory.createPropertyAccessExpression(t,"default"),{})}),c.push(_.createCodeFixActionWithoutFixAll(d,e,l.Diagnostics.Use_synthetic_default_member))),c}_=l.codefix||(l.codefix={}),d="invalidImportSyntax",_.registerCodeFix({errorCodes:[l.Diagnostics.This_expression_is_not_callable.code,l.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:function(e){var t=e.sourceFile,r=l.Diagnostics.This_expression_is_not_callable.code===e.errorCode?203:204,t=l.findAncestor(l.getTokenAtPosition(t,e.span.start),function(e){return e.kind===r});if(!t)return[];t=t.expression;return n(e,t)}}),_.registerCodeFix({errorCodes:[l.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,l.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,l.Diagnostics.Type_0_is_not_assignable_to_type_1.code,l.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,l.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,l.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2.code,l.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2.code,l.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1.code,l.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,l.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,l.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,l.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:function(t){var e=t.sourceFile,e=l.findAncestor(l.getTokenAtPosition(e,t.span.start),function(e){return e.getStart()===t.span.start&&e.getEnd()===t.span.start+t.span.length});return e?n(t,e):[]}})}(ts=ts||{}),function(s){var c,u,l,_,d,e;function p(e,t){t=s.getTokenAtPosition(e,t);return s.isIdentifier(t)?s.cast(t.parent,s.isPropertyDeclaration):void 0}function f(e,t,r){var n=s.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,s.factory.createToken(53),r.type,r.initializer);e.replaceNode(t,r,n)}function g(e,t,r){var n=s.factory.createKeywordTypeNode(150),r=r.type,n=s.isUnionTypeNode(r)?r.types.concat(n):[r,n];e.replaceNode(t,r,s.factory.createUnionTypeNode(n))}function m(e,t,r,n){n=s.factory.updatePropertyDeclaration(r,r.decorators,r.modifiers,r.name,r.questionToken,r.type,n);e.replaceNode(t,r,n)}function y(e,t){return function t(r,e){{if(512&e.flags)return e===r.getFalseType()||e===r.getFalseType(!0)?s.factory.createFalse():s.factory.createTrue();if(e.isStringLiteral())return s.factory.createStringLiteral(e.value);if(e.isNumberLiteral())return s.factory.createNumericLiteral(e.value);if(2048&e.flags)return s.factory.createBigIntLiteral(e.value);if(e.isUnion())return s.firstDefined(e.types,function(e){return t(r,e)});if(e.isClass()){var n=s.getClassLikeDeclarationOfSymbol(e.symbol);if(!n||s.hasSyntacticModifier(n,128))return;var n=s.getFirstConstructorWithBody(n);return n&&n.parameters.length?void 0:s.factory.createNewExpression(s.factory.createIdentifier(e.symbol.name),void 0,void 0)}if(r.isArrayLikeType(e))return s.factory.createArrayLiteralExpression()}return}(e,e.getTypeFromTypeNode(t.type))}c=s.codefix||(s.codefix={}),u="strictClassInitialization",l="addMissingPropertyDefiniteAssignmentAssertions",_="addMissingPropertyUndefinedType",d="addMissingPropertyInitializer",e=[s.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],c.registerCodeFix({errorCodes:e,getCodeActions:function(e){var t=p(e.sourceFile,e.span.start);if(t){var r,n,i,a,o,o=[(i=e,a=t,o=s.textChanges.ChangeTracker.with(i,function(e){return g(e,i.sourceFile,a)}),c.createCodeFixAction(u,o,[s.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],_,s.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)),(r=e,n=t,o=s.textChanges.ChangeTracker.with(r,function(e){return f(e,r.sourceFile,n)}),c.createCodeFixAction(u,o,[s.Diagnostics.Add_definite_assignment_assertion_to_property_0,n.getText()],l,s.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties))];return s.append(o,function(t,r){var n=y(t.program.getTypeChecker(),r);if(!n)return;var e=s.textChanges.ChangeTracker.with(t,function(e){return m(e,t.sourceFile,r,n)});return c.createCodeFixAction(u,e,[s.Diagnostics.Add_initializer_to_property_0,r.name.getText()],d,s.Diagnostics.Add_initializers_to_all_uninitialized_properties)}(e,t)),o}},fixIds:[l,_,d],getAllCodeActions:function(i){return c.codeFixAll(i,e,function(e,t){var r=p(t.file,t.start);if(r)switch(i.fixId){case l:f(e,t.file,r);break;case _:g(e,t.file,r);break;case d:var n=y(i.program.getTypeChecker(),r);if(!n)return;m(e,t.file,r,n);break;default:s.Debug.fail(JSON.stringify(i.fixId))}})}})}(ts=ts||{}),function(s){var n,i,e;function a(e,t,r){var n=r.allowSyntheticDefaults,i=r.defaultImportName,a=r.namedImports,o=r.statement,r=r.required;e.replaceNode(t,o,i&&!n?s.factory.createImportEqualsDeclaration(void 0,void 0,!1,i,s.factory.createExternalModuleReference(r)):s.factory.createImportDeclaration(void 0,void 0,s.factory.createImportClause(!1,i,a),r))}function o(e,t,r){var n=s.getTokenAtPosition(e,r).parent;if(!s.isRequireCall(n,!0))throw s.Debug.failBadSyntaxKind(n);var i=s.cast(n.parent,s.isVariableDeclaration),e=s.tryCast(i.name,s.isIdentifier),r=s.isObjectBindingPattern(i.name)?function(e){for(var t=[],r=0,n=e.elements;r} */(")):(!o||2&o.flags)&&e.insertText(t,n.parent.parent.expression.end,"")))))}n=s.codefix||(s.codefix={}),r="addVoidToPromise",e=[s.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],n.registerCodeFix({errorCodes:e,fixIds:[r],getCodeActions:function(t){var e=s.textChanges.ChangeTracker.with(t,function(e){return i(e,t.sourceFile,t.span,t.program)});if(0=t.pos?i:t).getEnd()),i=e?function(e){for(;e.parent;){if(s(e)&&!s(e.parent))return e;e=e.parent}return}(t):function(e,t){for(;e.parent;){if(s(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}return}(t,i),i=i&&s(i)?function(e){if(o(e))return e;if(u.isVariableStatement(e)){var t=u.getSingleVariableOfVariableStatement(e),t=null==t?void 0:t.initializer;return t&&o(t)?t:void 0}return e.expression&&o(e.expression)?e.expression:void 0}(i):void 0;if(!i)return{error:u.getLocaleSpecificMessage(u.Diagnostics.Could_not_find_convertible_access_expression)};n=n.getTypeChecker();return u.isConditionalExpression(i)?function(e,t){var r=e.condition,n=p(e.whenTrue);if(!n||t.isNullableType(t.getTypeAtLocation(n)))return{error:u.getLocaleSpecificMessage(u.Diagnostics.Could_not_find_convertible_access_expression)};{if((u.isPropertyAccessExpression(r)||u.isIdentifier(r))&&_(r,n.expression))return{finalExpression:n,occurrences:[r],expression:e};if(u.isBinaryExpression(r)){r=c(n.expression,r);return r?{finalExpression:n,occurrences:r,expression:e}:{error:u.getLocaleSpecificMessage(u.Diagnostics.Could_not_find_matching_access_expressions)}}}}(i,n):function(e){if(55!==e.operatorToken.kind)return{error:u.getLocaleSpecificMessage(u.Diagnostics.Can_only_convert_logical_AND_access_chains)};var t=p(e.right);if(!t)return{error:u.getLocaleSpecificMessage(u.Diagnostics.Could_not_find_convertible_access_expression)};var r=c(t.expression,e.left);return r?{finalExpression:t,occurrences:r,expression:e}:{error:u.getLocaleSpecificMessage(u.Diagnostics.Could_not_find_matching_access_expressions)}}(i)}}function c(e,t){for(var r=[];u.isBinaryExpression(t)&&55===t.operatorToken.kind;){var n=_(u.skipParentheses(e),u.skipParentheses(t.right));if(!n)break;r.push(n),e=n,t=t.left}var i=_(e,t);return i&&r.push(i),0=t&&M.isFunctionLikeDeclaration(e)&&!M.isConstructorDeclaration(e)})}((B(i.range)?M.last(i.range):i.range).end,n);v?c.insertNodeBefore(a.file,v,t,!0):c.insertNodeAtEndOfScope(a.file,n,t);p.writeFixes(c);var b=[],t=function(e,t,r){r=M.factory.createIdentifier(r);{if(M.isClassLike(e)){e=t.facts&R.InStaticRegion?M.factory.createIdentifier(e.name.text):M.factory.createThis();return M.factory.createPropertyAccessExpression(e,r)}return r}}(n,i,g),u=M.factory.createCallExpression(t,u,h);i.facts&R.IsGenerator&&(u=M.factory.createYieldExpression(M.factory.createToken(41),u));i.facts&R.IsAsyncFunction&&(u=M.factory.createAwaitExpression(u));j(e)&&(u=M.factory.createJsxExpression(void 0,u));if(r.length&&!s)if(M.Debug.assert(!l,"Expected no returnValueProperty"),M.Debug.assert(!(i.facts&R.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===r.length){var x=r[0];b.push(M.factory.createVariableStatement(void 0,M.factory.createVariableDeclarationList([M.factory.createVariableDeclaration(M.getSynthesizedDeepClone(x.name),void 0,M.getSynthesizedDeepClone(x.type),u)],x.parent.flags)))}else{for(var D=[],S=[],T=r[0].parent.flags,C=!1,E=0,k=r;Ee)return r||n[0];if(i&&!M.isPropertyDeclaration(s)){if(void 0!==r)return s;i=!1}r=s}return void 0===r?M.Debug.fail():r}(l.pos,_),n.insertNodeBefore(r.file,c,o,!0),n.replaceNode(r.file,l,u)):(e=M.factory.createVariableDeclaration(a,void 0,e,i),(i=function(e,t){var r;for(;void 0!==e&&e!==t;){if(M.isVariableDeclaration(e)&&e.initializer===r&&M.isVariableDeclarationList(e.parent)&&1e.pos)break;i=s}return!i&&M.isCaseClause(n)?(M.Debug.assert(M.isSwitchStatement(n.parent.parent),"Grandparent isn't a switch statement"),n.parent.parent):M.Debug.checkDefined(i,"prevStatement failed to get set")}M.Debug.assert(n!==t,"Didn't encounter a block-like before encountering scope")}}(l,_)).pos?n.insertNodeAtTopOfFile(r.file,s,!1):n.insertNodeBefore(r.file,c,s,!1),233===l.parent.kind?n.delete(r.file,l.parent):(u=M.factory.createIdentifier(a),j(l)&&(u=M.factory.createJsxExpression(void 0,u)),n.replaceNode(r.file,l,u))))}var u=n.getChanges(),n=l.getSourceFile().fileName,a=M.getRenameLocation(u,n,a,!0);return{renameFilename:n,renameLocation:a,edits:u}}(M.isExpression(a)?a:a.statements[0].expression,_[l],e[l],c.facts,u)}M.Debug.fail("Unrecognized action name")}function i(e){return{message:e,code:0,category:M.DiagnosticCategory.Message,key:e}}function T(e,c,t){void 0===t&&(t=!0);var r=c.length;if(0===r&&!t)return{errors:[M.createFileDiagnostic(e,c.start,r,L.cannotExtractEmpty)]};var n=0===r&&t,i=M.getTokenAtPosition(e,c.start),a=n?(t=i,M.findAncestor(t,function(e){return e.parent&&m(e)&&!M.isBinaryExpression(e.parent)})):M.getParentNodeInSpan(i,e,c),i=M.findTokenOnLeftOfPosition(e,M.textSpanEnd(c)),o=n?a:M.getParentNodeInSpan(i,e,c),u=[],l=R.None;if(!a||!o)return{errors:[M.createFileDiagnostic(e,c.start,r,L.cannotExtractRange)]};if(a.parent!==o.parent)return{errors:[M.createFileDiagnostic(e,c.start,r,L.cannotExtractRange)]};if(a!==o){if(!y(a.parent))return{errors:[M.createFileDiagnostic(e,c.start,r,L.cannotExtractRange)]};for(var s=[],_=0,d=a.parent.statements;_=c.start+c.length)return(a=a||[]).push(M.createDiagnosticForNode(t,L.cannotExtractSuper)),!0}else l|=R.UsesThis;break;case 209:M.forEachChild(t,function e(t){if(M.isThis(t))l|=R.UsesThis;else{if(M.isClassLike(t)||M.isFunctionLike(t)&&!M.isArrowFunction(t))return!1;M.forEachChild(t,e)}});case 252:case 251:M.isSourceFile(t.parent)&&void 0===t.parent.externalModuleIndicator&&(a=a||[]).push(M.createDiagnosticForNode(t,L.functionWillNotBeVisibleInTheNewScope));case 221:case 208:case 165:case 166:case 167:case 168:return!1}var r=s;switch(t.kind){case 234:case 247:s=0;break;case 230:t.parent&&247===t.parent.kind&&t.parent.finallyBlock===t&&(s=4);break;case 285:case 284:s|=1;break;default:M.isIterationStatement(t,!1)&&(s|=3)}switch(t.kind){case 187:case 107:l|=R.UsesThis;break;case 245:var i=t.label;(o=o||[]).push(i.escapedText),M.forEachChild(t,e),o.pop();break;case 241:case 240:var i=t.label;i?M.contains(o,i.escapedText)||(a=a||[]).push(M.createDiagnosticForNode(t,L.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(241===t.kind?1:2)||(a=a||[]).push(M.createDiagnosticForNode(t,L.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 213:l|=R.IsAsyncFunction;break;case 219:l|=R.IsGenerator;break;case 242:4&s?l|=R.HasReturn:(a=a||[]).push(M.createDiagnosticForNode(t,L.cannotExtractRangeContainingConditionalReturnStatement));break;default:M.forEachChild(t,e)}s=r}(r),a}}function p(e){return M.isFunctionLikeDeclaration(e)||M.isSourceFile(e)||M.isModuleBlock(e)||M.isClassLike(e)}function C(e,t){var r=t.file,n=function(e){var t=B(e.range)?M.first(e.range):e.range;if(e.facts&R.UsesThis){var r=M.getContainingClass(t);if(r){e=M.findAncestor(t,M.isFunctionLikeDeclaration);return e?[e,r]:[r]}}for(var n=[];;)if(t=t.parent,160===t.kind&&(t=M.findAncestor(t,function(e){return M.isFunctionLikeDeclaration(e)}).parent),p(t)&&(n.push(t),297===t.kind))return n}(e);return{scopes:n,readsAndWrites:function(m,y,h,v,b,i){var a,e,o=new M.Map,x=[],D=[],S=[],T=[],s=[],c=new M.Map,u=[],t=B(m.range)?1===m.range.length&&M.isExpressionStatement(m.range[0])?m.range[0].expression:void 0:m.range;{var r;void 0===t?(r=m.range,p=M.first(r).getStart(),r=M.last(r).end,e=M.createFileDiagnostic(v,p,r-p,L.expressionExpected)):147456&b.getTypeAtLocation(t).flags&&(e=M.createDiagnosticForNode(t,L.uselessConstantType))}for(var n=0,l=y;nr.pos});if(-1!==i){e=n[i];if(N.isNamedDeclaration(e)&&e.name&&N.rangeContainsRange(e.name,r))return{toMove:[n[i]],afterLast:n[i+1]};if(!(r.pos>e.getStart(t))){e=N.findIndex(n,function(e){return e.end>r.end},i);if(-1===e||!(0===e||n[e].getStart(t)=n&&h.every(e,function(e){return function(e,t){if(h.isRestParameter(e)){var r=t.getTypeAtLocation(e);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!e.modifiers&&!e.decorators&&h.isIdentifier(e.name)}(e,t)})}(e.parameters,t))return!1;switch(e.kind){case 251:return s(e)&&o(e,t);case 165:if(h.isObjectLiteralExpression(e.parent)){var r=v(e.name,t);return 1===(null==r?void 0:r.declarations.length)&&o(e,t)}return o(e,t);case 166:return h.isClassDeclaration(e.parent)?s(e.parent)&&o(e,t):l(e.parent.parent)&&o(e,t);case 208:case 209:return l(e.parent)}return!1}(t,r)&&h.rangeContainsRange(t,e))||t.body&&h.rangeContainsRange(t.body,e)?void 0:t}function o(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function s(e){return!!e.name||!!h.findModifier(e,87)}function l(e){return h.isVariableDeclaration(e)&&h.isVarConst(e)&&h.isIdentifier(e.name)&&!e.type}function _(e){return 0=r.length&&(t=t.slice(r.length-1),t=h.factory.createPropertyAssignment(g(h.last(r)),h.factory.createArrayLiteralExpression(t)),e.push(t));return h.factory.createObjectLiteralExpression(e,!1)}(i,_.arguments),!0),n.replaceNodeRange(h.getSourceFileOfNode(_),h.first(_.arguments),h.last(_.arguments),l,{leadingTriviaOption:h.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:h.textChanges.TrailingTriviaOption.Include}))}function d(e,t){n.replaceNodeRangeWithNodes(r,h.first(e.parameters),h.last(e.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:h.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:h.textChanges.TrailingTriviaOption.Include})}}(r,i,a,e,o,s)})};return{edits:[]}},getAvailableActions:function(e){var t=e.file,r=e.startPosition;return!h.isSourceFileJS(t)&&u(t,r,e.program.getTypeChecker())?[{name:c,description:i,actions:[a]}]:h.emptyArray}})}(ts=ts||{}),function(m){var e;!function(){var n="Convert to template string",i=m.getLocaleSpecificMessage(m.Diagnostics.Convert_to_template_string),a={name:n,description:i,kind:"refactor.rewrite.string"};function o(e,t){e=m.getTokenAtPosition(e,t),t=s(e);return!c(t)&&m.isParenthesizedExpression(t.parent)&&m.isBinaryExpression(t.parent.parent)?t.parent.parent:e}function s(e){return m.findAncestor(e.parent,function(e){switch(e.kind){case 201:case 202:return!1;case 218:case 216:return!(m.isBinaryExpression(e.parent)&&62!==e.parent.operatorToken.kind);default:return"quit"}})||e}function c(e){var t=u(e),e=t.containsString,t=t.areOperatorsValid;return e&&t}function u(e){if(m.isBinaryExpression(e)){var t=u(e.left),r=t.nodes,n=t.operators,i=t.containsString,t=t.areOperatorsValid;if(!i&&!m.isStringLiteral(e.right)&&!m.isTemplateExpression(e.right))return{nodes:[e],operators:[],containsString:!1,areOperatorsValid:!0};i=39===e.operatorToken.kind,i=t&&i;return r.push(e.right),n.push(e.operatorToken),{nodes:r,operators:n,containsString:!0,areOperatorsValid:i}}return{nodes:[e],operators:[],containsString:m.isStringLiteral(e),areOperatorsValid:!0}}e.registerRefactor(n,{kinds:[a.kind],getEditsForAction:function(e,t){var r=e.file,n=e.startPosition,n=o(r,n);return t!==i?m.Debug.fail("invalid action"):{edits:function(e,t){var r=s(t),n=e.file,i=function(e,t){var s=e.nodes,r=e.operators,c=d(r,t),u=p(s,t,c),n=f(0,s),e=n[0],r=n[1],t=n[2];if(e===s.length){n=m.factory.createNoSubstitutionTemplateLiteral(r);return u(t,n),n}var l=[],r=m.factory.createTemplateHead(r);u(t,r);for(var _,i=function(e){var r=function(e){m.isParenthesizedExpression(e)&&(g(e),e=e.expression);return e}(s[e]);c(e,r);var t,n=f(e+1,s),i=n[0],a=n[1],n=n[2],o=(e=i-1)===s.length-1;m.isTemplateExpression(r)?(t=m.map(r.templateSpans,function(e,t){g(e);t=r.templateSpans[t+1],t=e.literal.text+(t?"":a);return m.factory.createTemplateSpan(e.expression,o?m.factory.createTemplateTail(t):m.factory.createTemplateMiddle(t))}),l.push.apply(l,t)):(t=o?m.factory.createTemplateTail(a):m.factory.createTemplateMiddle(a),u(n,t),l.push(m.factory.createTemplateSpan(r,t))),_=e},a=e;a=e.length&&(t=this.getEnd()),t=t||e[r+1]-1;r=this.getFullText();return"\n"===r[t]&&"\r"===r[t-1]?t-1:t},N.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},N.prototype.computeNamedDeclarations=function(){var r=k.createMultiMap();return this.forEachChild(function e(t){switch(t.kind){case 251:case 208:case 165:case 164:var r,n=t,i=c(n);i&&(r=s(i),(i=k.lastOrUndefined(r))&&n.parent===i.parent&&n.symbol===i.symbol?n.body&&!i.body&&(r[r.length-1]=n):r.push(n)),k.forEachChild(t,e);break;case 252:case 221:case 253:case 254:case 255:case 256:case 260:case 270:case 265:case 262:case 263:case 167:case 168:case 177:o(t),k.forEachChild(t,e);break;case 160:if(!k.hasSyntacticModifier(t,92))break;case 249:case 198:var n=t;if(k.isBindingPattern(n.name)){k.forEachChild(n.name,e);break}n.initializer&&e(n.initializer);case 291:case 163:case 162:o(t);break;case 267:var a=t;a.exportClause&&(k.isNamedExports(a.exportClause)?k.forEach(a.exportClause.elements,e):e(a.exportClause.name));break;case 261:var a=t.importClause;a&&(a.name&&o(a.name),a.namedBindings&&(263===a.namedBindings.kind?o(a.namedBindings):k.forEach(a.namedBindings.elements,e)));break;case 216:0!==k.getAssignmentDeclarationKind(t)&&o(t);default:k.forEachChild(t,e)}}),r;function o(e){var t=c(e);t&&r.add(t,e)}function s(e){var t=r.get(e);return t||r.set(e,t=[]),t}function c(e){e=k.getNonAssignedNameOfDeclaration(e);return e&&(k.isComputedPropertyName(e)&&k.isPropertyAccessExpression(e.expression)?e.expression.name.text:k.isPropertyName(e)?k.getNameFromPropertyName(e):void 0)}},N);function N(e,t,r){r=C.call(this,e,t,r)||this;return r.kind=297,r}var A=(F.prototype.getLineAndCharacterOfPosition=function(e){return k.getLineAndCharacterOfPosition(this,e)},F);function F(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}function P(e){var t=!0;for(r in e)if(k.hasProperty(e,r)&&!w(r)){t=!1;break}if(t)return e;var r,n={};for(r in e)k.hasProperty(e,r)&&(n[w(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=e[r]);return n}function w(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function I(){return{target:1,jsx:1}}k.toEditorSettings=P,k.displayPartsToString=function(e){return e?k.map(e,function(e){return e.text}).join(""):""},k.getDefaultCompilerOptions=I,k.getSupportedCodeFixes=function(){return k.codefix.getSupportedErrorCodes()};var O=(M.prototype.compilationSettings=function(){return this._compilationSettings},M.prototype.getProjectReferences=function(){return this.host.getProjectReferences&&this.host.getProjectReferences()},M.prototype.createEntry=function(e,t){var r=this.host.getScriptSnapshot(e),e=r?{hostFileName:e,version:this.host.getScriptVersion(e),scriptSnapshot:r,scriptKind:k.getScriptKind(e,this.host)}:e;return this.fileNameToEntry.set(t,e),e},M.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},M.prototype.getHostFileInformation=function(e){e=this.fileNameToEntry.get(e);return k.isString(e)?void 0:e},M.prototype.getOrCreateEntryByPath=function(e,t){t=this.getEntryByPath(t)||this.createEntry(e,t);return k.isString(t)?void 0:t},M.prototype.getRootFileNames=function(){var t=[];return this.fileNameToEntry.forEach(function(e){k.isString(e)?t.push(e):t.push(e.hostFileName)}),t},M.prototype.getScriptSnapshot=function(e){e=this.getHostFileInformation(e);return e&&e.scriptSnapshot},M);function M(e,t){this.host=e,this.currentDirectory=e.getCurrentDirectory(),this.fileNameToEntry=new k.Map;for(var r=0,n=e.getScriptFileNames();r=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},K.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!==k.tracing&&void 0!==k.tracing&&k.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new k.OperationCanceledException},t=K,k.ThrottledCancellationToken=t;var q=["getSyntacticDiagnostics","getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls"],W=__spreadArray(__spreadArray([],q),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"]);function H(e){e=function(e){switch(e.kind){case 10:case 14:case 8:if(158===e.parent.kind)return k.isObjectLiteralElement(e.parent.parent)?e.parent.parent:void 0;case 78:return!k.isObjectLiteralElement(e.parent)||200!==e.parent.parent.kind&&281!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}return}(e);return e&&(k.isObjectLiteralExpression(e.parent)||k.isJsxAttributes(e.parent))?e:void 0}function G(t,r,e,n){var i=k.getNameFromPropertyName(t.name);if(!i)return k.emptyArray;if(!e.isUnion())return(a=e.getProperty(i))?[a]:k.emptyArray;var a,o=k.mapDefined(e.types,function(e){return(k.isObjectLiteralExpression(t.parent)||k.isJsxAttributes(t.parent))&&r.isTypeInvalidDueToUnionDiscriminant(e,t.parent)?void 0:e.getProperty(i)});if(n&&(0===o.length||o.length===e.types.length)&&(a=e.getProperty(i)))return[a];return 0===o.length?k.mapDefined(e.types,function(e){return e.getProperty(i)}):o}k.createLanguageService=function(u,l,e){var _;void 0===l&&(l=k.createDocumentRegistry(u.useCaseSensitiveFileNames&&u.useCaseSensitiveFileNames(),u.getCurrentDirectory())),_=void 0===e?k.LanguageServiceMode.Semantic:"boolean"==typeof e?e?k.LanguageServiceMode.Syntactic:k.LanguageServiceMode.Semantic:e;var d,p,S=new L(u),f=0,g=u.getCancellationToken?new U(u.getCancellationToken()):z,m=u.getCurrentDirectory();function y(e){u.log&&u.log(e)}!k.localizedDiagnosticMessages&&u.getLocalizedDiagnosticMessages&&k.setLocalizedDiagnosticMessages(u.getLocalizedDiagnosticMessages());var h=k.hostUsesCaseSensitiveFileNames(u),v=k.createGetCanonicalFileName(h),b=k.getSourceMapper({useCaseSensitiveFileNames:function(){return h},getCurrentDirectory:function(){return m},getProgram:o,fileExists:k.maybeBind(u,u.fileExists),readFile:k.maybeBind(u,u.readFile),getDocumentPositionMapper:k.maybeBind(u,u.getDocumentPositionMapper),getSourceFileLike:k.maybeBind(u,u.getSourceFileLike),log:y});function x(e){var t=d.getSourceFile(e);if(t)return t;e=new Error("Could not find source file: '"+e+"'.");throw e.ProgramFiles=d.getSourceFiles().map(function(e){return e.fileName}),e}function D(){if(k.Debug.assert(_!==k.LanguageServiceMode.Syntactic),u.getProjectVersion){var e=u.getProjectVersion();if(e){if(p===e&&(null===(n=u.hasChangedAutomaticTypeDirectiveNames)||void 0===n||!n.call(u)))return;p=e}}var t=u.getTypeRootsVersion?u.getTypeRootsVersion():0;f!==t&&(y("TypeRoots version has changed; provide new program"),d=void 0,f=t);var o,s,c=new O(u,v),r=c.getRootFileNames(),n=u.hasInvalidatedResolution||k.returnFalse,e=k.maybeBind(u,u.hasChangedAutomaticTypeDirectiveNames),t=c.getProjectReferences();function i(e){var t=k.toPath(e,m,v),t=c&&c.getEntryByPath(t);return t?!k.isString(t):!!u.fileExists&&u.fileExists(e)}function a(e,t,r,n,i){k.Debug.assert(void 0!==c,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var a=c&&c.getOrCreateEntryByPath(e,t);if(a){if(!i){i=d&&d.getSourceFileByPath(t);if(i)return k.Debug.assertEqual(a.scriptKind,i.scriptKind,"Registered script kind should match new script kind."),l.updateDocumentWithKey(e,t,o,s,a.scriptSnapshot,a.version,a.scriptKind)}return l.acquireDocumentWithKey(e,t,o,s,a.scriptSnapshot,a.version,a.scriptKind)}}k.isProgramUptoDate(d,r,c.compilationSettings(),function(e,t){return u.getScriptVersion(t)},i,n,e,t)||(o=c.compilationSettings(),n={getSourceFile:function(e,t,r,n){return a(e,k.toPath(e,m,v),0,0,n)},getSourceFileByPath:a,getCancellationToken:function(){return g},getCanonicalFileName:v,useCaseSensitiveFileNames:function(){return h},getNewLine:function(){return k.getNewLineCharacter(o,function(){return k.getNewLineOrDefaultFromHost(u)})},getDefaultLibFileName:function(e){return u.getDefaultLibFileName(e)},writeFile:k.noop,getCurrentDirectory:function(){return m},fileExists:i,readFile:function(e){var t=k.toPath(e,m,v),t=c&&c.getEntryByPath(t);if(t)return k.isString(t)?void 0:k.getSnapshotText(t.scriptSnapshot);return u.readFile&&u.readFile(e)},getSymlinkCache:k.maybeBind(u,u.getSymlinkCache),realpath:k.maybeBind(u,u.realpath),directoryExists:function(e){return k.directoryProbablyExists(e,u)},getDirectories:function(e){return u.getDirectories?u.getDirectories(e):[]},readDirectory:function(e,t,r,n,i){return k.Debug.checkDefined(u.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),u.readDirectory(e,t,r,n,i)},onReleaseOldSourceFile:function(e,t){t=l.getKeyForCompilationSettings(t);l.releaseDocumentWithKey(e.resolvedPath,t)},hasInvalidatedResolution:n,hasChangedAutomaticTypeDirectiveNames:e,trace:k.maybeBind(u,u.trace),resolveModuleNames:k.maybeBind(u,u.resolveModuleNames),resolveTypeReferenceDirectives:k.maybeBind(u,u.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:k.maybeBind(u,u.useSourceOfProjectReferenceRedirect)},null!==(e=u.setCompilerHost)&&void 0!==e&&e.call(u,n),s=l.getKeyForCompilationSettings(o),t={rootNames:r,options:o,host:n,oldProgram:d,projectReferences:t},d=k.createProgram(t),c=void 0,b.clearCache(),d.getTypeChecker())}function o(){if(_!==k.LanguageServiceMode.Syntactic)return D(),d;k.Debug.assert(void 0===d)}function r(e,t,r){var n=k.normalizePath(e);k.Debug.assert(r.some(function(e){return k.normalizePath(e)===n})),D();r=k.mapDefined(r,function(e){return d.getSourceFile(e)}),e=x(e);return k.DocumentHighlights.getDocumentHighlights(d,g,e,t,r)}function s(e,t,r,n){D();var i=r&&2===r.use?d.getSourceFiles().filter(function(e){return!d.isSourceFileDefaultLibrary(e)}):d.getSourceFiles();return k.FindAllReferences.findReferenceOrRenameEntries(d,g,i,e,t,r,n)}function n(e){e=k.getScriptKind(e,u);return 3===e||4===e}var i=new k.Map(k.getEntries(((e={})[18]=19,e[20]=21,e[22]=23,e[31]=29,e)));function a(e){var t;return k.Debug.assertEqual(e.type,"install package"),u.installPackage?u.installPackage({fileName:(t=e.file,k.toPath(t,m,v)),packageName:e.packageName}):Promise.reject("Host does not implement `installPackage`")}function T(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function c(e,t,r){for(var n=S.getCurrentSourceFile(e),i=[],a=T(n,t),o=a.lineStarts,s=a.firstLine,c=a.lastLine,u=r||!1,l=Number.MAX_VALUE,_=new k.Map,d=new RegExp(/\S/),p=k.isInsideJsxElement(n,o[s]),f=p?"{/*":"//",g=s;g<=c;g++){var m=n.text.substring(o[g],n.getLineEndOfPosition(o[g])),y=d.exec(m);y&&(l=Math.min(l,y.index),_.set(g.toString(),y.index),m.substr(y.index,f.length)!==f&&(u=void 0===r||r))}for(var h,g=s;g<=c;g++)s!==c&&o[g]===t.end||void 0!==(h=_.get(g.toString()))&&(p?i.push.apply(i,C(e,{pos:o[g]+l,end:n.getLineEndOfPosition(o[g])},u,p)):u?i.push({newText:f,span:{length:0,start:o[g]+l}}):n.text.substr(o[g]+h,f.length)===f&&i.push({newText:"",span:{length:f.length,start:o[g]+h}}));return i}function C(e,t,r,n){for(var i=S.getCurrentSourceFile(e),a=[],o=i.text,s=!1,c=r||!1,u=[],l=t.pos,_=void 0!==n?n:k.isInsideJsxElement(i,l),d=_?"{/*":"/*",p=_?"*/}":"*/",f=_?"\\{\\/\\*":"\\/\\*",g=_?"\\*\\/\\}":"\\*\\/";l<=t.end;){var m=o.substr(l,d.length)===d?d.length:0,y=k.isInComment(i,l+m);l=y?(_&&(y.pos--,y.end++),u.push(y.pos),3===y.kind&&u.push(y.end),s=!0,y.end+1):(y=o.substring(l,t.end).search("("+f+")|("+g+")"),c=void 0!==r?r:c||!k.isTextWhiteSpaceLike(o,l,-1===y?t.end:l+y),-1===y?t.end+1:l+y+p.length)}if(c||!s){2!==(null===(n=k.isInComment(i,t.pos))||void 0===n?void 0:n.kind)&&k.insertSorted(u,t.pos,k.compareValues),k.insertSorted(u,t.end,k.compareValues);n=u[0];o.substr(n,d.length)!==d&&a.push({newText:d,span:{length:0,start:n}});for(var h=1;h"}:void 0}},getSpanOfEnclosingComment:function(e,t,r){return e=S.getCurrentSourceFile(e),!(t=k.formatting.getRangeOfEnclosingComment(e,t))||r&&3!==t.kind?void 0:k.createTextSpanFromRange(t)},getCodeFixesAtPosition:function(e,t,r,n,i,a){void 0===a&&(a=k.emptyOptions),D();var o=x(e),s=k.createTextSpanFromBounds(t,r),c=k.formatting.getFormatContext(i,u);return k.flatMap(k.deduplicate(n,k.equateValues,k.compareValues),function(e){return g.throwIfCancellationRequested(),k.codefix.getFixes({errorCode:e,sourceFile:o,span:s,program:d,host:u,cancellationToken:g,formatContext:c,preferences:a})})},getCombinedCodeFix:function(e,t,r,n){return void 0===n&&(n=k.emptyOptions),D(),k.Debug.assert("file"===e.type),e=x(e.fileName),r=k.formatting.getFormatContext(r,u),k.codefix.getAllFixes({fixId:t,sourceFile:e,program:d,host:u,cancellationToken:g,formatContext:r,preferences:n})},applyCodeActionCommand:function(e,t){return e="string"==typeof e?t:e,k.isArray(e)?Promise.all(e.map(a)):a(e)},organizeImports:function(e,t,r){return void 0===r&&(r=k.emptyOptions),D(),k.Debug.assert("file"===e.type),e=x(e.fileName),t=k.formatting.getFormatContext(t,u),k.OrganizeImports.organizeImports(e,t,u,d,r)},getEditsForFileRename:function(e,t,r,n){return void 0===n&&(n=k.emptyOptions),k.getEditsForFileRename(o(),e,t,u,k.formatting.getFormatContext(r,u),n,b)},getEmitOutput:function(e,t,r){D();var n=x(e),e=u.getCustomTransformers&&u.getCustomTransformers();return k.getFileEmitOutput(d,n,!!t,g,e,r)},getNonBoundSourceFile:function(e){return S.getCurrentSourceFile(e)},getProgram:o,getAutoImportProvider:function(){var e;return null===(e=u.getPackageJsonAutoImportProvider)||void 0===e?void 0:e.call(u)},getApplicableRefactors:function(e,t,r,n,i){return void 0===r&&(r=k.emptyOptions),D(),e=x(e),k.refactor.getApplicableRefactors(E(e,t,r,k.emptyOptions,n,i))},getEditsForRefactor:function(e,t,r,n,i,a){return void 0===a&&(a=k.emptyOptions),D(),e=x(e),k.refactor.getEditsForRefactor(E(e,r,a,t),n,i)},toLineColumnOffset:b.toLineColumnOffset,getSourceMapper:function(){return b},clearSourceMapperCache:function(){return b.clearCache()},prepareCallHierarchy:function(e,t){return D(),(t=k.CallHierarchy.resolveCallHierarchyDeclaration(d,k.getTouchingPropertyName(x(e),t)))&&k.mapOneOrMany(t,function(e){return k.CallHierarchy.createCallHierarchyItem(d,e)})},provideCallHierarchyIncomingCalls:function(e,t){return D(),e=x(e),(t=k.firstOrOnly(k.CallHierarchy.resolveCallHierarchyDeclaration(d,0===t?e:k.getTouchingPropertyName(e,t))))?k.CallHierarchy.getIncomingCalls(d,t,g):[]},provideCallHierarchyOutgoingCalls:function(e,t){return D(),e=x(e),(t=k.firstOrOnly(k.CallHierarchy.resolveCallHierarchyDeclaration(d,0===t?e:k.getTouchingPropertyName(e,t))))?k.CallHierarchy.getOutgoingCalls(d,t):[]},toggleLineComment:c,toggleMultilineComment:C,commentSelection:function(e,t){var r=T(S.getCurrentSourceFile(e),t);return(r.firstLine===r.lastLine&&t.pos!==t.end?C:c)(e,t,!0)},uncommentSelection:function(e,t){var r=S.getCurrentSourceFile(e),n=[],i=t.pos,a=t.end;i===a&&(a+=k.isInsideJsxElement(r,i)?2:1);for(var o=i;o<=a;o++){var s=k.isInComment(r,o);if(s){switch(s.kind){case 2:n.push.apply(n,c(e,{end:s.end,pos:s.pos+1},!1));break;case 3:n.push.apply(n,C(e,{end:s.end,pos:s.pos+1},!1))}o=s.end+1}}return n}};switch(_){case k.LanguageServiceMode.Semantic:break;case k.LanguageServiceMode.PartialSemantic:q.forEach(function(e){return t[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}});break;case k.LanguageServiceMode.Syntactic:W.forEach(function(e){return t[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}});break;default:k.Debug.assertNever(_)}return t},k.getNameTable=function(e){var t,s;return e.nameTable||(s=(t=e).nameTable=new k.Map,t.forEachChild(function e(t){var r,n;if(k.isIdentifier(t)&&!k.isTagName(t)&&t.escapedText||k.isStringOrNumericLiteralLike(t)&&(n=t,k.isDeclarationName(n)||272===n.parent.kind||function(e){return e&&e.parent&&202===e.parent.kind&&e.parent.argumentExpression===e}(n)||k.isLiteralComputedPropertyDeclarationName(n))?(r=k.getEscapedTextOfIdentifierOrLiteral(t),s.set(r,void 0===s.get(r)?t.pos:-1)):k.isPrivateIdentifier(t)&&(r=t.escapedText,s.set(r,void 0===s.get(r)?t.pos:-1)),k.forEachChild(t,e),k.hasJSDocNodes(t))for(var i=0,a=t.jsDoc;ir){e=C.findPrecedingToken(t.pos,h);if(!e||h.getLineAndCharacterOfPosition(e.getEnd()).line!==r)return;t=e}if(!(8388608&t.flags))return T(t)}function v(e,t){var r=e.decorators?C.skipTrivia(h.text,e.decorators.end):e.getStart(h);return C.createTextSpanFromBounds(r,(t||e).getEnd())}function b(e,t){return v(e,C.findNextToken(t,t.parent,h))}function x(e,t){return e&&r===h.getLineAndCharacterOfPosition(e.getStart(h)).line?T(e):T(t)}function D(e){return T(C.findPrecedingToken(e.pos,h))}function S(e){return T(C.findNextToken(e,e.parent,h))}function T(e){if(e){var t=e.parent;switch(e.kind){case 232:return _(e.declarationList.declarations[0]);case 249:case 163:case 162:return _(e);case 160:return function e(t){{if(C.isBindingPattern(t.name))return m(t.name);if(d(t))return v(t);var r=t.parent,t=r.parameters.indexOf(t);return C.Debug.assert(-1!==t),0!==t?e(r.parameters[t-1]):T(r.body)}}(e);case 251:case 165:case 164:case 167:case 168:case 166:case 208:case 209:return function(e){if(!e.body)return;if(p(e))return v(e);return T(e.body)}(e);case 230:if(C.isFunctionBlock(e))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();if(p(e.parent))return x(e.parent,t);return T(t)}(e);case 257:return f(e);case 287:return f(e.block);case 233:return v(e.expression);case 242:return v(e.getChildAt(0),e.expression);case 236:return b(e,e.expression);case 235:return T(e.statement);case 248:return v(e.getChildAt(0));case 234:return b(e,e.expression);case 245:return T(e.statement);case 241:case 240:return v(e.getChildAt(0),e.label);case 237:return function(e){if(e.initializer)return g(e);if(e.condition)return v(e.condition);if(e.incrementor)return v(e.incrementor)}(e);case 238:return b(e,e.expression);case 239:return g(e);case 244:return b(e,e.expression);case 284:case 285:return T(e.statements[0]);case 247:return f(e.tryBlock);case 246:case 266:return v(e,e.expression);case 260:return v(e,e.moduleReference);case 261:case 267:return v(e,e.moduleSpecifier);case 256:if(1!==C.getModuleInstanceState(e))return;case 252:case 255:case 291:case 198:return v(e);case 243:return T(e.statement);case 161:return n=t.decorators,C.createTextSpanFromBounds(C.skipTrivia(h.text,n.pos),n.end);case 196:case 197:return m(e);case 253:case 254:return;case 26:case 1:return x(C.findPrecedingToken(e.pos,h));case 27:return D(e);case 18:return function(e){switch(e.parent.kind){case 255:var t=e.parent;return x(C.findPrecedingToken(e.pos,h,e.parent),t.members.length?t.members[0]:t.getLastToken(h));case 252:t=e.parent;return x(C.findPrecedingToken(e.pos,h,e.parent),t.members.length?t.members[0]:t.getLastToken(h));case 258:return x(e.parent.parent,e.parent.clauses[0])}return T(e.parent)}(e);case 19:return function(e){switch(e.parent.kind){case 257:if(1!==C.getModuleInstanceState(e.parent.parent))return;case 255:case 252:return v(e);case 230:if(C.isFunctionBlock(e.parent))return v(e);case 287:return T(C.lastOrUndefined(e.parent.statements));case 258:var t=e.parent,t=C.lastOrUndefined(t.clauses);return t?T(C.lastOrUndefined(t.statements)):void 0;case 196:var r=e.parent;return T(C.lastOrUndefined(r.elements)||r);default:if(C.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent)){r=e.parent;return v(C.lastOrUndefined(r.properties)||r)}return T(e.parent)}}(e);case 23:return function(e){{if(197===e.parent.kind){var t=e.parent;return v(C.lastOrUndefined(t.elements)||t)}if(C.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent)){t=e.parent;return v(C.lastOrUndefined(t.elements)||t)}return T(e.parent)}}(e);case 20:return 235!==(u=e).parent.kind&&203!==u.parent.kind&&204!==u.parent.kind?207!==u.parent.kind?T(u.parent):S(u):D(u);case 21:return function(e){switch(e.parent.kind){case 208:case 251:case 209:case 165:case 164:case 167:case 168:case 166:case 236:case 235:case 237:case 239:case 203:case 204:case 207:return D(e);default:return T(e.parent)}}(e);case 58:return function(e){if(C.isFunctionLike(e.parent)||288===e.parent.kind||160===e.parent.kind)return D(e);return T(e.parent)}(e);case 31:case 29:return 206!==(c=e).parent.kind?T(c.parent):S(c);case 114:return 235!==(s=e).parent.kind?T(s.parent):b(s,s.parent.expression);case 90:case 82:case 95:return S(e);case 156:return 239!==(o=e).parent.kind?T(o.parent):S(o);default:if(C.isArrayLiteralOrObjectLiteralDestructuringPattern(e))return y(e);if((78===e.kind||220===e.kind||288===e.kind||289===e.kind)&&C.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return v(e);if(216===e.kind){var r=e.left,n=e.operatorToken;if(C.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return y(r);if(62===n.kind&&C.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent))return v(e);if(27===n.kind)return T(r)}if(C.isExpressionNode(e))switch(t.kind){case 235:return D(e);case 161:return T(e.parent);case 237:case 239:return v(e);case 216:if(27===e.parent.operatorToken.kind)return v(e);break;case 209:if(e.parent.body===e)return v(e)}switch(e.parent.kind){case 288:if(e.parent.name===e&&!C.isArrayLiteralOrObjectLiteralDestructuringPattern(e.parent.parent))return T(e.parent.initializer);break;case 206:if(e.parent.type===e)return S(e.parent.type);break;case 249:case 160:var i=e.parent,a=i.initializer,i=i.type;if(a===e||i===e||C.isAssignmentOperator(e.kind))return D(e);break;case 216:r=e.parent.left;if(C.isArrayLiteralOrObjectLiteralDestructuringPattern(r)&&e!==r)return D(e);break;default:if(C.isFunctionLike(e.parent)&&e.parent.type===e)return D(e)}return T(e.parent)}}var o,s,c,u,n;function l(e){return C.isVariableDeclarationList(e.parent)&&e.parent.declarations[0]===e?v(C.findPrecedingToken(e.pos,h,e.parent),e):v(e)}function _(e){if(238===e.parent.parent.kind)return T(e.parent.parent);var t=e.parent;return C.isBindingPattern(e.name)?m(e.name):e.initializer||C.hasSyntacticModifier(e,1)||239===t.parent.kind?l(e):C.isVariableDeclarationList(e.parent)&&e.parent.declarations[0]!==e?T(C.findPrecedingToken(e.pos,h,e.parent)):void 0}function d(e){return e.initializer||void 0!==e.dotDotDotToken||C.hasSyntacticModifier(e,12)}function p(e){return C.hasSyntacticModifier(e,1)||252===e.parent.kind&&166!==e.kind}function f(e){switch(e.parent.kind){case 256:if(1!==C.getModuleInstanceState(e.parent))return;case 236:case 234:case 238:return x(e.parent,e.statements[0]);case 237:case 239:return x(C.findPrecedingToken(e.pos,h,e.parent),e.statements[0])}return T(e.statements[0])}function g(e){if(250!==e.initializer.kind)return T(e.initializer);e=e.initializer;return 0